Combined Code
frame 1 {
function battleIt() {
if (_root.char1Alive != true || _root.order1 != 'Order: 1') {
if (_root.char2Alive == true) {
_root.guy2 = 1;
gotoAndPlay(17);
} else {
gotoAndPlay(2);
}
} else {
gotoAndPlay(2);
}
}
function missRateEnemy() {
eneMiss = random(16 - _root.darknessInfect) + 1;
switch (eneMiss) {
case 3:
_root.enemy.damage = 'MISS!';
_root.enemy.damage2 = 'MISS!';
_root.enemy.damage3 = 'MISS!';
break;
default:
}
}
function missRate() {
missHah = random(13) + 1;
switch (missHah) {
case 2:
_root.missyNow = 1;
break;
default:
}
if (missHah == 2) {
_root.enemy1attacked._x -= 15;
}
}
function genItemGer() {
attack = random(4) + 1;
attack = random(4) + 1;
if (_root.genItem == 1) {
attack = 1;
} else {
if (_root.genItem == 2) {
attack = 2;
} else {
if (_root.genItem == 3) {
attack = 3;
} else {
if (_root.genItem == 4) {
attack = 4;
}
}
}
}
_root.genItem = 0;
switch (attack) {
case 1:
messy = 'You got a weapon!';
weaponDrop = 1;
break;
case 2:
messy = 'You got armor!';
armorDrop = 1;
break;
case 3:
messy = 'You got sunglasses!';
glassesDrop = 1;
break;
case 4:
messy = 'You got a belt!';
beltDrop = 1;
}
switch (attack) {
case 1:
mess4 = 'Enemy dropped a weapon!';
weaponDrop = 1;
break;
case 2:
mess4 = 'Enemy dropped armor!';
armorDrop = 1;
break;
case 3:
mess4 = 'Enemy dropped sunglasses!';
glassesDrop = 1;
break;
case 4:
mess4 = 'Enemy dropped a belt!';
beltDrop = 1;
break;
default:
mess4 = 'Enemy dropped no equipment.';
}
if (weaponDrop == 1) {
weaponDrop = 0;
if (_root.armor5 != 1 && _root.weapon5 != 1 && _root.belt5 != 1 && _root.glasses5 != 1) {
_root.weapon5 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.weaponName5 = 'Superman';
break;
case 2:
_root.weaponName5 = 'the Wolf';
break;
case 3:
_root.weaponName5 = 'the Mouse';
break;
case 4:
_root.weaponName5 = 'the Lion';
break;
case 5:
_root.weaponName5 = 'the Hulk';
break;
case 6:
_root.weaponName5 = 'the moon';
break;
case 7:
_root.weaponName5 = 'Tyson';
break;
case 8:
_root.weaponName5 = 'the Jackel';
break;
case 9:
_root.weaponName5 = 'the Strongman';
break;
case 10:
_root.weaponName5 = 'the Fly';
break;
case 11:
_root.weaponName5 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.weaponSkill13 = 'OK damage';
break;
case 2:
_root.weaponSkill13 = 'Speed Plus';
break;
case 3:
_root.weaponSkill13 = 'Defense Plus';
break;
case 4:
_root.weaponSkill13 = 'HP Plus';
break;
case 5:
_root.weaponSkill13 = 'Skills Plus';
break;
case 6:
_root.weaponSkill13 = 'Speedy';
break;
case 7:
_root.weaponSkill13 = 'Skilled';
}
attack = random(12) + 1;
switch (attack) {
case 1:
_root.weaponSkill14 = 'Double Strength';
break;
case 2:
_root.weaponSkill14 = 'More HP';
break;
case 3:
_root.weaponSkill14 = 'Super MP';
break;
case 4:
_root.weaponSkill14 = 'Strong';
break;
case 5:
_root.weaponSkill14 = 'Money Maker';
break;
case 6:
_root.weaponSkill14 = 'More Skills';
break;
case 7:
_root.weaponSkill14 = 'More MP';
break;
case 8:
_root.weaponSkill14 = 'Life Leech';
break;
case 9:
_root.weaponSkill14 = 'Mana Leech';
break;
default:
_root.weaponSkill14 = '';
}
if (_root.weaponSkill14 != '') {
attack = random(17) + 1;
switch (attack) {
case 1:
_root.weaponSkill15 = 'Super HP';
break;
case 2:
_root.weaponSkill15 = 'Super Speed';
break;
case 3:
_root.weaponSkill15 = 'EXP More';
break;
case 4:
_root.weaponSkill15 = 'Super Strength';
break;
case 5:
_root.weaponSkill15 = 'Super Skills';
break;
case 6:
_root.weaponSkill15 = 'Super Defense';
break;
case 7:
_root.weaponSkill15 = 'Invincible';
break;
case 8:
_root.weaponSkill15 = 'Immortal';
break;
case 9:
_root.weaponSkill15 = 'God';
break;
case 10:
_root.weaponSkill15 = 'Super Life Leech';
break;
case 11:
_root.weaponSkill15 = 'Super Mana Leech';
break;
default:
_root.weaponSkill15 = '';
}
}
} else {
if (_root.armor6 != 1 && _root.weapon6 != 1 && _root.belt6 != 1 && _root.glasses6 != 1) {
_root.weapon6 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.weaponName6 = 'Superman';
break;
case 2:
_root.weaponName6 = 'the Wolf';
break;
case 3:
_root.weaponName6 = 'the Mouse';
break;
case 4:
_root.weaponName6 = 'the Lion';
break;
case 5:
_root.weaponName6 = 'the Hulk';
break;
case 6:
_root.weaponName6 = 'the moon';
break;
case 7:
_root.weaponName6 = 'Tyson';
break;
case 8:
_root.weaponName6 = 'the Jackel';
break;
case 9:
_root.weaponName6 = 'the Strongman';
break;
case 10:
_root.weaponName6 = 'the Fly';
break;
case 11:
_root.weaponName6 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.weaponSkill16 = 'OK damage';
break;
case 2:
_root.weaponSkill16 = 'Speed Plus';
break;
case 3:
_root.weaponSkill16 = 'Defense Plus';
break;
case 4:
_root.weaponSkill16 = 'HP Plus';
break;
case 5:
_root.weaponSkill16 = 'Skills Plus';
break;
case 6:
_root.weaponSkill16 = 'Speedy';
break;
case 7:
_root.weaponSkill16 = 'Skilled';
}
attack = random(12) + 1;
switch (attack) {
case 1:
_root.weaponSkill17 = 'Double Strength';
break;
case 2:
_root.weaponSkill17 = 'More HP';
break;
case 3:
_root.weaponSkill17 = 'Super MP';
break;
case 4:
_root.weaponSkill17 = 'Strong';
break;
case 5:
_root.weaponSkill17 = 'Money Maker';
break;
case 6:
_root.weaponSkill17 = 'More Skills';
break;
case 7:
_root.weaponSkill17 = 'More MP';
break;
case 8:
_root.weaponSkill17 = 'Life Leech';
break;
case 9:
_root.weaponSkill17 = 'Mana Leech';
break;
default:
_root.weaponSkill17 = '';
}
if (_root.weaponSkill17 != '') {
attack = random(17) + 1;
switch (attack) {
case 1:
_root.weaponSkill18 = 'Super HP';
break;
case 2:
_root.weaponSkill18 = 'Super Speed';
break;
case 3:
_root.weaponSkill18 = 'EXP More';
break;
case 4:
_root.weaponSkill18 = 'Super Strength';
break;
case 5:
_root.weaponSkill18 = 'Super Skills';
break;
case 6:
_root.weaponSkill18 = 'Super Defense';
break;
case 7:
_root.weaponSkill18 = 'Invincible';
break;
case 8:
_root.weaponSkill18 = 'Immortal';
break;
case 9:
_root.weaponSkill18 = 'God';
break;
case 10:
_root.weaponSkill18 = 'Super Life Leech';
break;
case 11:
_root.weaponSkill18 = 'Super Mana Leech';
break;
default:
_root.weaponSkill18 = '';
}
}
} else {
if (_root.armor7 != 1 && _root.weapon7 != 1 && _root.belt7 != 1 && _root.glasses7 != 1) {
_root.weapon7 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.weaponName7 = 'Superman';
break;
case 2:
_root.weaponName7 = 'the Wolf';
break;
case 3:
_root.weaponName7 = 'the Mouse';
break;
case 4:
_root.weaponName7 = 'the Lion';
break;
case 5:
_root.weaponName7 = 'the Hulk';
break;
case 6:
_root.weaponName7 = 'the moon';
break;
case 7:
_root.weaponName7 = 'Tyson';
break;
case 8:
_root.weaponName7 = 'the Jackel';
break;
case 9:
_root.weaponName7 = 'the Strongman';
break;
case 10:
_root.weaponName7 = 'the Fly';
break;
case 11:
_root.weaponName7 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.weaponSkill19 = 'OK damage';
break;
case 2:
_root.weaponSkill19 = 'Speed Plus';
break;
case 3:
_root.weaponSkill19 = 'Defense Plus';
break;
case 4:
_root.weaponSkill19 = 'HP Plus';
break;
case 5:
_root.weaponSkill19 = 'Skills Plus';
break;
case 6:
_root.weaponSkill19 = 'Speedy';
break;
case 7:
_root.weaponSkill19 = 'Skilled';
}
attack = random(12) + 1;
switch (attack) {
case 1:
_root.weaponSkill20 = 'Double Strength';
break;
case 2:
_root.weaponSkill20 = 'More HP';
break;
case 3:
_root.weaponSkill20 = 'Super MP';
break;
case 4:
_root.weaponSkill20 = 'Strong';
break;
case 5:
_root.weaponSkill20 = 'Money Maker';
break;
case 6:
_root.weaponSkill20 = 'More Skills';
break;
case 7:
_root.weaponSkill20 = 'More MP';
break;
case 8:
_root.weaponSkill20 = 'Life Leech';
break;
case 9:
_root.weaponSkill20 = 'Mana Leech';
break;
default:
_root.weaponSkill20 = '';
}
if (_root.weaponSkill20 != '') {
attack = random(17) + 1;
switch (attack) {
case 1:
_root.weaponSkill21 = 'Super HP';
break;
case 2:
_root.weaponSkill21 = 'Super Speed';
break;
case 3:
_root.weaponSkill21 = 'EXP More';
break;
case 4:
_root.weaponSkill21 = 'Super Strength';
break;
case 5:
_root.weaponSkill21 = 'Super Skills';
break;
case 6:
_root.weaponSkill21 = 'Super Defense';
break;
case 7:
_root.weaponSkill21 = 'Invincible';
break;
case 8:
_root.weaponSkill21 = 'Immortal';
break;
case 9:
_root.weaponSkill21 = 'God';
break;
case 10:
_root.weaponSkill21 = 'Super Life Leech';
break;
case 11:
_root.weaponSkill21 = 'Super Mana Leech';
break;
default:
_root.weaponSkill21 = '';
}
}
} else {
if (_root.armor8 != 1 && _root.weapon8 != 1 && _root.belt8 != 1 && _root.glasses8 != 1) {
_root.weapon8 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.weaponName8 = 'Superman';
break;
case 2:
_root.weaponName8 = 'the Wolf';
break;
case 3:
_root.weaponName8 = 'the Mouse';
break;
case 4:
_root.weaponName8 = 'the Lion';
break;
case 5:
_root.weaponName8 = 'the Hulk';
break;
case 6:
_root.weaponName8 = 'the moon';
break;
case 7:
_root.weaponName8 = 'Tyson';
break;
case 8:
_root.weaponName8 = 'the Jackel';
break;
case 9:
_root.weaponName8 = 'the Strongman';
break;
case 10:
_root.weaponName8 = 'the Fly';
break;
case 11:
_root.weaponName8 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.weaponSkill22 = 'OK damage';
break;
case 2:
_root.weaponSkill22 = 'Speed Plus';
break;
case 3:
_root.weaponSkill22 = 'Defense Plus';
break;
case 4:
_root.weaponSkill22 = 'HP Plus';
break;
case 5:
_root.weaponSkill22 = 'Skills Plus';
break;
case 6:
_root.weaponSkill22 = 'Speedy';
break;
case 7:
_root.weaponSkill22 = 'Skilled';
}
attack = random(12) + 1;
switch (attack) {
case 1:
_root.weaponSkill23 = 'Double Strength';
break;
case 2:
_root.weaponSkill23 = 'More HP';
break;
case 3:
_root.weaponSkill23 = 'Super MP';
break;
case 4:
_root.weaponSkill23 = 'Strong';
break;
case 5:
_root.weaponSkill23 = 'Money Maker';
break;
case 6:
_root.weaponSkill23 = 'More Skills';
break;
case 7:
_root.weaponSkill23 = 'More MP';
break;
case 8:
_root.weaponSkill23 = 'Life Leech';
break;
case 9:
_root.weaponSkill23 = 'Mana Leech';
break;
default:
_root.weaponSkill23 = '';
}
if (_root.weaponSkill23 != '') {
attack = random(17) + 1;
switch (attack) {
case 1:
_root.weaponSkill24 = 'Super HP';
break;
case 2:
_root.weaponSkill24 = 'Super Speed';
break;
case 3:
_root.weaponSkill24 = 'EXP More';
break;
case 4:
_root.weaponSkill24 = 'Super Strength';
break;
case 5:
_root.weaponSkill24 = 'Super Skills';
break;
case 6:
_root.weaponSkill24 = 'Super Defense';
break;
case 7:
_root.weaponSkill24 = 'Invincible';
break;
case 8:
_root.weaponSkill24 = 'Immortal';
break;
case 9:
_root.weaponSkill24 = 'God';
break;
case 10:
_root.weaponSkill24 = 'Super Life Leech';
break;
case 11:
_root.weaponSkill24 = 'Super Mana Leech';
break;
default:
_root.weaponSkill24 = '';
}
}
}
}
}
}
} else {
if (armorDrop == 1) {
armorDrop = 0;
if (_root.armor5 != 1 && _root.weapon5 != 1 && _root.belt5 != 1 && _root.glasses5 != 1) {
_root.armor5 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.armorName5 = 'Superman';
break;
case 2:
_root.armorName5 = 'the Wolf';
break;
case 3:
_root.armorName5 = 'the Mouse';
break;
case 4:
_root.armorName5 = 'the Lion';
break;
case 5:
_root.armorName5 = 'the Hulk';
break;
case 6:
_root.armorName5 = 'the moon';
break;
case 7:
_root.armorName5 = 'Tyson';
break;
case 8:
_root.armorName5 = 'the Jackel';
break;
case 9:
_root.armorName5 = 'the Strongman';
break;
case 10:
_root.armorName5 = 'the Fly';
break;
case 11:
_root.armorName5 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.armorSkill13 = 'OK defense';
break;
case 2:
_root.armorSkill13 = 'Extra Fast';
break;
case 3:
_root.armorSkill13 = 'More MP';
break;
case 4:
_root.armorSkill13 = 'Skills Plus';
break;
case 5:
_root.armorSkill13 = 'Speed Plus';
break;
case 6:
_root.armorSkill13 = 'HP Plus';
break;
case 7:
_root.armorSkill13 = 'Defense Plus';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.armorSkill14 = 'Double Defense';
break;
case 2:
_root.armorSkill14 = 'Extra Strength';
break;
case 3:
_root.armorSkill14 = 'More Defense';
break;
case 4:
_root.armorSkill14 = 'More Strength';
break;
case 5:
_root.armorSkill14 = 'More HP';
break;
case 6:
_root.armorSkill14 = 'MP Plus';
break;
case 7:
_root.armorSkill14 = 'More HP Plus';
break;
case 8:
_root.armorSkill14 = 'Giant Strength';
break;
case 9:
_root.armorSkill14 = 'Invulnerable';
break;
default:
_root.armorSkill14 = '';
}
if (_root.armorSkill14 != '') {
attack = random(18) + 1;
switch (attack) {
case 1:
_root.armorSkill15 = 'Ultra HP';
break;
case 2:
_root.armorSkill15 = 'Ultra MP';
break;
case 3:
_root.armorSkill15 = 'Super Speed';
break;
case 4:
_root.armorSkill15 = 'Ultra Defense';
break;
case 5:
_root.armorSkill15 = 'Ultra Strength';
break;
case 6:
_root.armorSkill15 = 'Speed of light';
break;
case 7:
_root.armorSkill15 = 'Ultra Skills';
break;
case 8:
_root.armorSkill15 = 'MP times two';
break;
case 9:
_root.armorSkill15 = 'HP times two';
break;
case 10:
_root.armorSkill15 = 'Super Skilled';
break;
case 11:
_root.armorSkill15 = 'Superman Speed';
break;
case 12:
_root.armorSkill15 = 'SuperMan';
break;
default:
_root.armorSkill15 = '';
}
}
} else {
if (_root.armor6 != 1 && _root.weapon6 != 1 && _root.belt6 != 1 && _root.glasses6 != 1) {
_root.armor6 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.armorName6 = 'Superman';
break;
case 2:
_root.armorName6 = 'the Wolf';
break;
case 3:
_root.armorName6 = 'the Mouse';
break;
case 4:
_root.armorName6 = 'the Lion';
break;
case 5:
_root.armorName6 = 'the Hulk';
break;
case 6:
_root.armorName6 = 'the moon';
break;
case 7:
_root.armorName6 = 'Tyson';
break;
case 8:
_root.armorName6 = 'the Jackel';
break;
case 9:
_root.armorName6 = 'the Strongman';
break;
case 10:
_root.armorName6 = 'the Fly';
break;
case 11:
_root.armorName6 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.armorSkill16 = 'OK defense';
break;
case 2:
_root.armorSkill16 = 'Extra Fast';
break;
case 3:
_root.armorSkill16 = 'More MP';
break;
case 4:
_root.armorSkill16 = 'Skills Plus';
break;
case 5:
_root.armorSkill16 = 'Speed Plus';
break;
case 6:
_root.armorSkill16 = 'HP Plus';
break;
case 7:
_root.armorSkill16 = 'Defense Plus';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.armorSkill17 = 'Double Defense';
break;
case 2:
_root.armorSkill17 = 'Extra Strength';
break;
case 3:
_root.armorSkill17 = 'More Defense';
break;
case 4:
_root.armorSkill17 = 'More Strength';
break;
case 5:
_root.armorSkill17 = 'More HP';
break;
case 6:
_root.armorSkill17 = 'MP Plus';
break;
case 7:
_root.armorSkill17 = 'More HP Plus';
break;
case 8:
_root.armorSkill17 = 'Giant Strength';
break;
case 9:
_root.armorSkill17 = 'Invulnerable';
break;
default:
_root.armorSkill17 = '';
}
if (_root.armorSkill17 != '') {
attack = random(18) + 1;
switch (attack) {
case 1:
_root.armorSkill18 = 'Ultra HP';
break;
case 2:
_root.armorSkill18 = 'Ultra MP';
break;
case 3:
_root.armorSkill18 = 'Super Speed';
break;
case 4:
_root.armorSkill18 = 'Ultra Defense';
break;
case 5:
_root.armorSkill18 = 'Ultra Strength';
break;
case 6:
_root.armorSkill18 = 'Speed of light';
break;
case 7:
_root.armorSkill18 = 'Ultra Skills';
break;
case 8:
_root.armorSkill18 = 'MP times two';
break;
case 9:
_root.armorSkill18 = 'HP times two';
break;
case 10:
_root.armorSkill18 = 'Super Skilled';
break;
case 11:
_root.armorSkill18 = 'Superman Speed';
break;
case 12:
_root.armorSkill18 = 'SuperMan';
break;
default:
_root.armorSkill18 = '';
}
}
} else {
if (_root.armor7 != 1 && _root.weapon7 != 1 && _root.belt7 != 1 && _root.glasses7 != 1) {
_root.armor7 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.armorName7 = 'Superman';
break;
case 2:
_root.armorName7 = 'the Wolf';
break;
case 3:
_root.armorName7 = 'the Mouse';
break;
case 4:
_root.armorName7 = 'the Lion';
break;
case 5:
_root.armorName7 = 'the Hulk';
break;
case 6:
_root.armorName7 = 'the moon';
break;
case 7:
_root.armorName7 = 'Tyson';
break;
case 8:
_root.armorName7 = 'the Jackel';
break;
case 9:
_root.armorName7 = 'the Strongman';
break;
case 10:
_root.armorName7 = 'the Fly';
break;
case 11:
_root.armorName7 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.armorSkill19 = 'OK defense';
break;
case 2:
_root.armorSkill19 = 'Extra Fast';
break;
case 3:
_root.armorSkill19 = 'More MP';
break;
case 4:
_root.armorSkill19 = 'Skills Plus';
break;
case 5:
_root.armorSkill19 = 'Speed Plus';
break;
case 6:
_root.armorSkill19 = 'HP Plus';
break;
case 7:
_root.armorSkill19 = 'Defense Plus';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.armorSkill20 = 'Double Defense';
break;
case 2:
_root.armorSkill20 = 'Extra Strength';
break;
case 3:
_root.armorSkill20 = 'More Defense';
break;
case 4:
_root.armorSkill20 = 'More Strength';
break;
case 5:
_root.armorSkill20 = 'More HP';
break;
case 6:
_root.armorSkill20 = 'MP Plus';
break;
case 7:
_root.armorSkill20 = 'More HP Plus';
break;
case 8:
_root.armorSkill20 = 'Giant Strength';
break;
case 9:
_root.armorSkill20 = 'Invulnerable';
break;
default:
_root.armorSkill20 = '';
}
if (_root.armorSkill20 != '') {
attack = random(18) + 1;
switch (attack) {
case 1:
_root.armorSkill21 = 'Ultra HP';
break;
case 2:
_root.armorSkill21 = 'Ultra MP';
break;
case 3:
_root.armorSkill21 = 'Super Speed';
break;
case 4:
_root.armorSkill21 = 'Ultra Defense';
break;
case 5:
_root.armorSkill21 = 'Ultra Strength';
break;
case 6:
_root.armorSkill21 = 'Speed of light';
break;
case 7:
_root.armorSkill21 = 'Ultra Skills';
break;
case 8:
_root.armorSkill21 = 'MP times two';
break;
case 9:
_root.armorSkill21 = 'HP times two';
break;
case 10:
_root.armorSkill21 = 'Super Skilled';
break;
case 11:
_root.armorSkill21 = 'Superman Speed';
break;
case 12:
_root.armorSkill21 = 'SuperMan';
break;
default:
_root.armorSkill21 = '';
}
}
} else {
if (_root.armor8 != 1 && _root.weapon8 != 1 && _root.belt8 != 1 && _root.glasses8 != 1) {
_root.armor8 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.armorName8 = 'Superman';
break;
case 2:
_root.armorName8 = 'the Wolf';
break;
case 3:
_root.armorName8 = 'the Mouse';
break;
case 4:
_root.armorName8 = 'the Lion';
break;
case 5:
_root.armorName8 = 'the Hulk';
break;
case 6:
_root.armorName8 = 'the moon';
break;
case 7:
_root.armorName8 = 'Tyson';
break;
case 8:
_root.armorName8 = 'the Jackel';
break;
case 9:
_root.armorName8 = 'the Strongman';
break;
case 10:
_root.armorName8 = 'the Fly';
break;
case 11:
_root.armorName8 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.armorSkill22 = 'OK defense';
break;
case 2:
_root.armorSkill22 = 'Extra Fast';
break;
case 3:
_root.armorSkill22 = 'More MP';
break;
case 4:
_root.armorSkill22 = 'Skills Plus';
break;
case 5:
_root.armorSkill22 = 'Speed Plus';
break;
case 6:
_root.armorSkill22 = 'HP Plus';
break;
case 7:
_root.armorSkill22 = 'Defense Plus';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.armorSkill23 = 'Double Defense';
break;
case 2:
_root.armorSkill23 = 'Extra Strength';
break;
case 3:
_root.armorSkill23 = 'More Defense';
break;
case 4:
_root.armorSkill23 = 'More Strength';
break;
case 5:
_root.armorSkill23 = 'More HP';
break;
case 6:
_root.armorSkill23 = 'MP Plus';
break;
case 7:
_root.armorSkill23 = 'More HP Plus';
break;
case 8:
_root.armorSkill23 = 'Giant Strength';
break;
case 9:
_root.armorSkill23 = 'Invulnerable';
break;
default:
_root.armorSkill23 = '';
}
if (_root.armorSkill23 != '') {
attack = random(18) + 1;
switch (attack) {
case 1:
_root.armorSkill24 = 'Ultra HP';
break;
case 2:
_root.armorSkill24 = 'Ultra MP';
break;
case 3:
_root.armorSkill24 = 'Super Speed';
break;
case 4:
_root.armorSkill24 = 'Ultra Defense';
break;
case 5:
_root.armorSkill24 = 'Ultra Strength';
break;
case 6:
_root.armorSkill24 = 'Speed of light';
break;
case 7:
_root.armorSkill24 = 'Ultra Skills';
break;
case 8:
_root.armorSkill24 = 'MP times two';
break;
case 9:
_root.armorSkill24 = 'HP times two';
break;
case 10:
_root.armorSkill24 = 'Super Skilled';
break;
case 11:
_root.armorSkill24 = 'Superman Speed';
break;
case 12:
_root.armorSkill24 = 'SuperMan';
break;
default:
_root.armorSkill24 = '';
}
}
}
}
}
}
} else {
if (glassesDrop == 1) {
glassesDrop = 0;
if (_root.armor5 != 1 && _root.weapon5 != 1 && _root.belt5 != 1 && _root.glasses5 != 1) {
_root.glasses5 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.glassesName5 = 'Superman';
break;
case 2:
_root.glassesName5 = 'the Wolf';
break;
case 3:
_root.glassesName5 = 'the Mouse';
break;
case 4:
_root.glassesName5 = 'the Lion';
break;
case 5:
_root.glassesName5 = 'the Hulk';
break;
case 6:
_root.glassesName5 = 'the moon';
break;
case 7:
_root.glassesName5 = 'Tyson';
break;
case 8:
_root.glassesName5 = 'the Jackel';
break;
case 9:
_root.glassesName5 = 'the Strongman';
break;
case 10:
_root.glassesName5 = 'the Fly';
break;
case 11:
_root.glassesName5 = 'the Tiger';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.glassesSkill5 = 'More MP';
break;
case 2:
_root.glassesSkill5 = 'Defense';
break;
case 3:
_root.glassesSkill5 = 'Speedy';
break;
case 4:
_root.glassesSkill5 = 'Stronger';
break;
case 5:
_root.glassesSkill5 = 'Master';
break;
case 6:
_root.glassesSkill5 = 'Skillful';
break;
case 7:
_root.glassesSkill5 = 'Invincible';
break;
case 8:
_root.glassesSkill5 = 'More HP';
break;
case 9:
_root.glassesSkill5 = 'HP Plus';
break;
case 10:
_root.glassesSkill5 = 'Speedy Plus';
break;
case 11:
_root.glassesSkill5 = 'Double Strong';
break;
case 12:
_root.glassesSkill5 = 'MP Plus';
break;
case 13:
_root.glassesSkill5 = 'More Defense';
}
} else {
if (_root.armor6 != 1 && _root.weapon6 != 1 && _root.belt6 != 1 && _root.glasses6 != 1) {
_root.glasses6 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.glassesName6 = 'Superman';
break;
case 2:
_root.glassesName6 = 'the Wolf';
break;
case 3:
_root.glassesName6 = 'the Mouse';
break;
case 4:
_root.glassesName6 = 'the Lion';
break;
case 5:
_root.glassesName6 = 'the Hulk';
break;
case 6:
_root.glassesName6 = 'the moon';
break;
case 7:
_root.glassesName6 = 'Tyson';
break;
case 8:
_root.glassesName6 = 'the Jackel';
break;
case 9:
_root.glassesName6 = 'the Strongman';
break;
case 10:
_root.glassesName6 = 'the Fly';
break;
case 11:
_root.glassesName6 = 'the Tiger';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.glassesSkill6 = 'More MP';
break;
case 2:
_root.glassesSkill6 = 'Defense';
break;
case 3:
_root.glassesSkill6 = 'Speedy';
break;
case 4:
_root.glassesSkill6 = 'Stronger';
break;
case 5:
_root.glassesSkill6 = 'Master';
break;
case 6:
_root.glassesSkill6 = 'Skillful';
break;
case 7:
_root.glassesSkill6 = 'Invincible';
break;
case 8:
_root.glassesSkill6 = 'More HP';
break;
case 9:
_root.glassesSkill6 = 'HP Plus';
break;
case 10:
_root.glassesSkill6 = 'Speedy Plus';
break;
case 11:
_root.glassesSkill6 = 'Double Strong';
break;
case 12:
_root.glassesSkill6 = 'MP Plus';
break;
case 13:
_root.glassesSkill6 = 'More Defense';
}
} else {
if (_root.armor7 != 1 && _root.weapon7 != 1 && _root.belt7 != 1 && _root.glasses7 != 1) {
_root.glasses7 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.glassesName7 = 'Superman';
break;
case 2:
_root.glassesName7 = 'the Wolf';
break;
case 3:
_root.glassesName7 = 'the Mouse';
break;
case 4:
_root.glassesName7 = 'the Lion';
break;
case 5:
_root.glassesName7 = 'the Hulk';
break;
case 6:
_root.glassesName7 = 'the moon';
break;
case 7:
_root.glassesName7 = 'Tyson';
break;
case 8:
_root.glassesName7 = 'the Jackel';
break;
case 9:
_root.glassesName7 = 'the Strongman';
break;
case 10:
_root.glassesName7 = 'the Fly';
break;
case 11:
_root.glassesName7 = 'the Tiger';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.glassesSkill7 = 'More MP';
break;
case 2:
_root.glassesSkill7 = 'Defense';
break;
case 3:
_root.glassesSkill7 = 'Speedy';
break;
case 4:
_root.glassesSkill7 = 'Stronger';
break;
case 5:
_root.glassesSkill7 = 'Master';
break;
case 6:
_root.glassesSkill7 = 'Skillful';
break;
case 7:
_root.glassesSkill7 = 'Invincible';
break;
case 8:
_root.glassesSkill7 = 'More HP';
break;
case 9:
_root.glassesSkill7 = 'HP Plus';
break;
case 10:
_root.glassesSkill7 = 'Speedy Plus';
break;
case 11:
_root.glassesSkill7 = 'Double Strong';
break;
case 12:
_root.glassesSkill7 = 'MP Plus';
break;
case 13:
_root.glassesSkill7 = 'More Defense';
}
} else {
if (_root.armor8 != 1 && _root.weapon8 != 1 && _root.belt8 != 1 && _root.glasses8 != 1) {
_root.glasses8 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.glassesName8 = 'Superman';
break;
case 2:
_root.glassesName8 = 'the Wolf';
break;
case 3:
_root.glassesName8 = 'the Mouse';
break;
case 4:
_root.glassesName8 = 'the Lion';
break;
case 5:
_root.glassesName8 = 'the Hulk';
break;
case 6:
_root.glassesName8 = 'the moon';
break;
case 7:
_root.glassesName8 = 'Tyson';
break;
case 8:
_root.glassesName8 = 'the Jackel';
break;
case 9:
_root.glassesName8 = 'the Strongman';
break;
case 10:
_root.glassesName8 = 'the Fly';
break;
case 11:
_root.glassesName8 = 'the Tiger';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.glassesSkill8 = 'More MP';
break;
case 2:
_root.glassesSkill8 = 'Defense';
break;
case 3:
_root.glassesSkill8 = 'Speedy';
break;
case 4:
_root.glassesSkill8 = 'Stronger';
break;
case 5:
_root.glassesSkill8 = 'Master';
break;
case 6:
_root.glassesSkill8 = 'Skillful';
break;
case 7:
_root.glassesSkill8 = 'Invincible';
break;
case 8:
_root.glassesSkill8 = 'More HP';
break;
case 9:
_root.glassesSkill8 = 'HP Plus';
break;
case 10:
_root.glassesSkill8 = 'Speedy Plus';
break;
case 11:
_root.glassesSkill8 = 'Double Strong';
break;
case 12:
_root.glassesSkill8 = 'MP Plus';
break;
case 13:
_root.glassesSkill8 = 'More Defense';
}
}
}
}
}
} else {
if (beltDrop == 1) {
beltDrop = 0;
if (_root.armor5 != 1 && _root.weapon5 != 1 && _root.belt5 != 1 && _root.glasses5 != 1) {
_root.belt5 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.beltName5 = 'Superman';
break;
case 2:
_root.beltName5 = 'the Wolf';
break;
case 3:
_root.beltName5 = 'the Mouse';
break;
case 4:
_root.beltName5 = 'the Lion';
break;
case 5:
_root.beltName5 = 'the Hulk';
break;
case 6:
_root.beltName5 = 'the moon';
break;
case 7:
_root.beltName5 = 'Tyson';
break;
case 8:
_root.beltName5 = 'the Jackel';
break;
case 9:
_root.beltName5 = 'the Strongman';
break;
case 10:
_root.beltName5 = 'the Fly';
break;
case 11:
_root.beltName5 = 'the Tiger';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.beltSkill5 = 'More MP';
break;
case 2:
_root.beltSkill5 = 'Defense';
break;
case 3:
_root.beltSkill5 = 'Speedy';
break;
case 4:
_root.beltSkill5 = 'Stronger';
break;
case 5:
_root.beltSkill5 = 'Master';
break;
case 6:
_root.beltSkill5 = 'Skillful';
break;
case 7:
_root.beltSkill5 = 'Invincible';
break;
case 8:
_root.beltSkill5 = 'More HP';
break;
case 9:
_root.beltSkill5 = 'HP Plus';
break;
case 10:
_root.beltSkill5 = 'Speedy Plus';
break;
case 11:
_root.beltSkill5 = 'Double Strong';
break;
case 12:
_root.beltSkill5 = 'MP Plus';
break;
case 13:
_root.beltSkill5 = 'More Defense';
}
} else {
if (_root.armor6 != 1 && _root.weapon6 != 1 && _root.belt6 != 1 && _root.glasses6 != 1) {
_root.belt6 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.beltName6 = 'Superman';
break;
case 2:
_root.beltName6 = 'the Wolf';
break;
case 3:
_root.beltName6 = 'the Mouse';
break;
case 4:
_root.beltName6 = 'the Lion';
break;
case 5:
_root.beltName6 = 'the Hulk';
break;
case 6:
_root.beltName6 = 'the moon';
break;
case 7:
_root.beltName6 = 'Tyson';
break;
case 8:
_root.beltName6 = 'the Jackel';
break;
case 9:
_root.beltName6 = 'the Strongman';
break;
case 10:
_root.beltName6 = 'the Fly';
break;
case 11:
_root.beltName6 = 'the Tiger';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.beltSkill6 = 'More MP';
break;
case 2:
_root.beltSkill6 = 'Defense';
break;
case 3:
_root.beltSkill6 = 'Speedy';
break;
case 4:
_root.beltSkill6 = 'Stronger';
break;
case 5:
_root.beltSkill6 = 'Master';
break;
case 6:
_root.beltSkill6 = 'Skillful';
break;
case 7:
_root.beltSkill6 = 'Invincible';
break;
case 8:
_root.beltSkill6 = 'More HP';
break;
case 9:
_root.beltSkill6 = 'HP Plus';
break;
case 10:
_root.beltSkill6 = 'Speedy Plus';
break;
case 11:
_root.beltSkill6 = 'Double Strong';
break;
case 12:
_root.beltSkill6 = 'MP Plus';
break;
case 13:
_root.beltSkill6 = 'More Defense';
}
} else {
if (_root.armor7 != 1 && _root.weapon7 != 1 && _root.belt7 != 1 && _root.glasses7 != 1) {
_root.belt7 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.beltName7 = 'Superman';
break;
case 2:
_root.beltName7 = 'the Wolf';
break;
case 3:
_root.beltName7 = 'the Mouse';
break;
case 4:
_root.beltName7 = 'the Lion';
break;
case 5:
_root.beltName7 = 'the Hulk';
break;
case 6:
_root.beltName7 = 'the moon';
break;
case 7:
_root.beltName7 = 'Tyson';
break;
case 8:
_root.beltName7 = 'the Jackel';
break;
case 9:
_root.beltName7 = 'the Strongman';
break;
case 10:
_root.beltName7 = 'the Fly';
break;
case 11:
_root.beltName7 = 'the Tiger';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.beltSkill7 = 'More MP';
break;
case 2:
_root.beltSkill7 = 'Defense';
break;
case 3:
_root.beltSkill7 = 'Speedy';
break;
case 4:
_root.beltSkill7 = 'Stronger';
break;
case 5:
_root.beltSkill7 = 'Master';
break;
case 6:
_root.beltSkill7 = 'Skillful';
break;
case 7:
_root.beltSkill7 = 'Invincible';
break;
case 8:
_root.beltSkill7 = 'More HP';
break;
case 9:
_root.beltSkill7 = 'HP Plus';
break;
case 10:
_root.beltSkill7 = 'Speedy Plus';
break;
case 11:
_root.beltSkill7 = 'Double Strong';
break;
case 12:
_root.beltSkill7 = 'MP Plus';
break;
case 13:
_root.beltSkill7 = 'More Defense';
}
} else {
if (_root.armor8 != 1 && _root.weapon8 != 1 && _root.belt8 != 1 && _root.glasses8 != 1) {
_root.belt8 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.beltName8 = 'Superman';
break;
case 2:
_root.beltName8 = 'the Wolf';
break;
case 3:
_root.beltName8 = 'the Mouse';
break;
case 4:
_root.beltName8 = 'the Lion';
break;
case 5:
_root.beltName8 = 'the Hulk';
break;
case 6:
_root.beltName8 = 'the moon';
break;
case 7:
_root.beltName8 = 'Tyson';
break;
case 8:
_root.beltName8 = 'the Jackel';
break;
case 9:
_root.beltName8 = 'the Strongman';
break;
case 10:
_root.beltName8 = 'the Fly';
break;
case 11:
_root.beltName8 = 'the Tiger';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.beltSkill8 = 'More MP';
break;
case 2:
_root.beltSkill8 = 'Defense';
break;
case 3:
_root.beltSkill8 = 'Speedy';
break;
case 4:
_root.beltSkill8 = 'Stronger';
break;
case 5:
_root.beltSkill8 = 'Master';
break;
case 6:
_root.beltSkill8 = 'Skillful';
break;
case 7:
_root.beltSkill8 = 'Invincible';
break;
case 8:
_root.beltSkill8 = 'More HP';
break;
case 9:
_root.beltSkill8 = 'HP Plus';
break;
case 10:
_root.beltSkill8 = 'Speedy Plus';
break;
case 11:
_root.beltSkill8 = 'Double Strong';
break;
case 12:
_root.beltSkill8 = 'MP Plus';
break;
case 13:
_root.beltSkill8 = 'More Defense';
}
}
}
}
}
}
}
}
}
}
function defended() {
_root.enemy.damage -= _root.powerDown;
if (_root.PercentLoaded <= 50 || _root.PercentLoaded2 <= 50) {
_root.enemy.damage -= _root.stickCourage * 25;
}
if (_root.smokeHatItem == 1) {
_root.enemy.damage -= Math.ceil(_root.enemy.damage * 0.25);
}
if (_root.enemy.damage < 0) {
_root.enemy.damage = 0;
}
if (_root.guy2 == 1) {
if (_root.sheildo > 0) {
_root.sheildo -= 1;
_root.enemy.damage = Math.ceil(_root.enemy.damage * 0.5);
}
}
if (_root.defendy1 == 1) {
_root.enemy.damage = Math.ceil(_root.enemy.damage / 4);
}
_root.missRateEnemy();
}
function genItemNar() {
attack = random(4) + 1;
if (_root.genItem == 1) {
attack = 1;
} else {
if (_root.genItem == 2) {
attack = 2;
} else {
if (_root.genItem == 3) {
attack = 3;
} else {
if (_root.genItem == 4) {
attack = 4;
}
}
}
}
_root.genItem = 0;
switch (attack) {
case 1:
messy = 'You got a weapon!';
weaponDrop = 1;
break;
case 2:
messy = 'You got armor!';
armorDrop = 1;
break;
case 3:
messy = 'You got sunglasses!';
glassesDrop = 1;
break;
case 4:
messy = 'You got a belt!';
beltDrop = 1;
}
if (weaponDrop == 1) {
weaponDrop = 0;
if (_root.armor1 != 1 && _root.weapon1 != 1 && _root.belt1 != 1 && _root.glasses1 != 1) {
_root.weapon1 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.weaponName1 = 'Superman';
break;
case 2:
_root.weaponName1 = 'the Wolf';
break;
case 3:
_root.weaponName1 = 'the Mouse';
break;
case 4:
_root.weaponName1 = 'the Lion';
break;
case 5:
_root.weaponName1 = 'the Hulk';
break;
case 6:
_root.weaponName1 = 'the moon';
break;
case 7:
_root.weaponName1 = 'Tyson';
break;
case 8:
_root.weaponName1 = 'the Jackel';
break;
case 9:
_root.weaponName1 = 'the Strongman';
break;
case 10:
_root.weaponName1 = 'the Fly';
break;
case 11:
_root.weaponName1 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.weaponSkill1 = 'OK damage';
break;
case 2:
_root.weaponSkill1 = 'Speed Plus';
break;
case 3:
_root.weaponSkill1 = 'Defense Plus';
break;
case 4:
_root.weaponSkill1 = 'HP Plus';
break;
case 5:
_root.weaponSkill1 = 'Skills Plus';
break;
case 6:
_root.weaponSkill1 = 'Speedy';
break;
case 7:
_root.weaponSkill1 == 'Skilled';
}
attack = random(12) + 1;
switch (attack) {
case 1:
_root.weaponSkill2 = 'Double Strength';
break;
case 2:
_root.weaponSkill2 = 'More HP';
break;
case 3:
_root.weaponSkill2 = 'Super MP';
break;
case 4:
_root.weaponSkill2 = 'Strong';
break;
case 5:
_root.weaponSkill2 = 'Money Maker';
break;
case 6:
_root.weaponSkill2 = 'More Skills';
break;
case 7:
_root.weaponSkill2 = 'More MP';
break;
case 8:
_root.weaponSkill2 = 'Life Leech';
break;
case 9:
_root.weaponSkill2 = 'Mana Leech';
break;
default:
_root.weaponSkill2 = '';
}
if (_root.weaponSkill2 != '') {
attack = random(17) + 1;
switch (attack) {
case 1:
_root.weaponSkill3 = 'Super HP';
break;
case 2:
_root.weaponSkill3 = 'Super Speed';
break;
case 3:
_root.weaponSkill3 = 'EXP More';
break;
case 4:
_root.weaponSkill3 = 'Super Strength';
break;
case 5:
_root.weaponSkill3 = 'Super Skills';
break;
case 6:
_root.weaponSkill3 = 'Super Defense';
break;
case 7:
_root.weaponSkill3 = 'Invincible';
break;
case 8:
_root.weaponSkill3 = 'Immortal';
break;
case 9:
_root.weaponSkill3 = 'God';
break;
case 10:
_root.weaponSkill3 = 'Super Life Leech';
break;
case 11:
_root.weaponSkill3 = 'Super Mana Leech';
break;
default:
_root.weaponSkill3 = '';
}
}
} else {
if (_root.armor2 != 1 && _root.weapon2 != 1 && _root.belt2 != 1 && _root.glasses2 != 1) {
_root.weapon2 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.weaponName2 = 'Superman';
break;
case 2:
_root.weaponName2 = 'the Wolf';
break;
case 3:
_root.weaponName2 = 'the Mouse';
break;
case 4:
_root.weaponName2 = 'the Lion';
break;
case 5:
_root.weaponName2 = 'the Hulk';
break;
case 6:
_root.weaponName2 = 'the moon';
break;
case 7:
_root.weaponName2 = 'Tyson';
break;
case 8:
_root.weaponName2 = 'the Jackel';
break;
case 9:
_root.weaponName2 = 'the Strongman';
break;
case 10:
_root.weaponName2 = 'the Fly';
break;
case 11:
_root.weaponName2 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.weaponSkill4 = 'OK damage';
break;
case 2:
_root.weaponSkill4 = 'Speed Plus';
break;
case 3:
_root.weaponSkill4 = 'Defense Plus';
break;
case 4:
_root.weaponSkill4 = 'HP Plus';
break;
case 5:
_root.weaponSkill4 = 'Skills Plus';
break;
case 6:
_root.weaponSkill4 = 'Speedy';
break;
case 7:
_root.weaponSkill4 == 'Skilled';
}
attack = random(12) + 1;
switch (attack) {
case 1:
_root.weaponSkill5 = 'Double Strength';
break;
case 2:
_root.weaponSkill5 = 'More HP';
break;
case 3:
_root.weaponSkill5 = 'Super MP';
break;
case 4:
_root.weaponSkill5 = 'Strong';
break;
case 5:
_root.weaponSkill5 = 'Money Maker';
break;
case 6:
_root.weaponSkill5 = 'More Skills';
break;
case 7:
_root.weaponSkill5 = 'More MP';
break;
case 8:
_root.weaponSkill5 = 'Life Leech';
break;
case 9:
_root.weaponSkill5 = 'Mana Leech';
break;
default:
_root.weaponSkill5 = '';
}
if (_root.weaponSkill5 != '') {
attack = random(15) + 1;
switch (attack) {
case 1:
_root.weaponSkill6 = 'Super HP';
break;
case 2:
_root.weaponSkill6 = 'Super Speed';
break;
case 3:
_root.weaponSkill6 = 'EXP More';
break;
case 4:
_root.weaponSkill6 = 'Super Strength';
break;
case 5:
_root.weaponSkill6 = 'Super Skills';
break;
case 6:
_root.weaponSkill6 = 'Super Defense';
break;
case 7:
_root.weaponSkill6 = 'Invincible';
break;
case 8:
_root.weaponSkill6 = 'Immortal';
break;
case 9:
_root.weaponSkill6 = 'God';
break;
case 10:
_root.weaponSkill6 = 'Super Life Leech';
break;
case 11:
_root.weaponSkill6 = 'Super Mana Leech';
break;
default:
_root.weaponSkill6 = '';
}
}
} else {
if (_root.armor3 != 1 && _root.weapon3 != 1 && _root.belt3 != 1 && _root.glasses3 != 1) {
_root.weapon3 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.weaponName3 = 'Superman';
break;
case 2:
_root.weaponName3 = 'the Wolf';
break;
case 3:
_root.weaponName3 = 'the Mouse';
break;
case 4:
_root.weaponName3 = 'the Lion';
break;
case 5:
_root.weaponName3 = 'the Hulk';
break;
case 6:
_root.weaponName3 = 'the moon';
break;
case 7:
_root.weaponName3 = 'Tyson';
break;
case 8:
_root.weaponName3 = 'the Jackel';
break;
case 9:
_root.weaponName3 = 'the Strongman';
break;
case 10:
_root.weaponName3 = 'the Fly';
break;
case 11:
_root.weaponName3 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.weaponSkill7 = 'OK damage';
break;
case 2:
_root.weaponSkill7 = 'Speed Plus';
break;
case 3:
_root.weaponSkill7 = 'Defense Plus';
break;
case 4:
_root.weaponSkill7 = 'HP Plus';
break;
case 5:
_root.weaponSkill7 = 'Skills Plus';
break;
case 6:
_root.weaponSkill7 = 'Speedy';
break;
case 7:
_root.weaponSkill7 == 'Skilled';
}
attack = random(12) + 1;
switch (attack) {
case 1:
_root.weaponSkill8 = 'Double Strength';
break;
case 2:
_root.weaponSkill8 = 'More HP';
break;
case 3:
_root.weaponSkill8 = 'Super MP';
break;
case 4:
_root.weaponSkill8 = 'Strong';
break;
case 5:
_root.weaponSkill8 = 'Money Maker';
break;
case 6:
_root.weaponSkill8 = 'More Skills';
break;
case 7:
_root.weaponSkill8 = 'More MP';
break;
case 8:
_root.weaponSkill8 = 'Life Leech';
break;
case 9:
_root.weaponSkill8 = 'Mana Leech';
break;
default:
_root.weaponSkill8 = '';
}
if (_root.weaponSkill8 != '') {
attack = random(17) + 1;
switch (attack) {
case 1:
_root.weaponSkill9 = 'Super HP';
break;
case 2:
_root.weaponSkill9 = 'Super Speed';
break;
case 3:
_root.weaponSkill9 = 'EXP More';
break;
case 4:
_root.weaponSkill9 = 'Super Strength';
break;
case 5:
_root.weaponSkill9 = 'Super Skills';
break;
case 6:
_root.weaponSkill9 = 'Super Defense';
break;
case 7:
_root.weaponSkill9 = 'Invincible';
break;
case 8:
_root.weaponSkill9 = 'Immortal';
break;
case 9:
_root.weaponSkill9 = 'God';
break;
case 10:
_root.weaponSkill9 = 'Super Life Leech';
break;
case 11:
_root.weaponSkill9 = 'Super Mana Leech';
break;
default:
_root.weaponSkill9 = '';
}
}
} else {
if (_root.armor4 != 1 && _root.weapon4 != 1 && _root.belt4 != 1 && _root.glasses4 != 1) {
_root.weapon4 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.weaponName4 = 'Superman';
break;
case 2:
_root.weaponName4 = 'the Wolf';
break;
case 3:
_root.weaponName4 = 'the Mouse';
break;
case 4:
_root.weaponName4 = 'the Lion';
break;
case 5:
_root.weaponName4 = 'the Hulk';
break;
case 6:
_root.weaponName4 = 'the moon';
break;
case 7:
_root.weaponName4 = 'Tyson';
break;
case 8:
_root.weaponName4 = 'the Jackel';
break;
case 9:
_root.weaponName4 = 'the Strongman';
break;
case 10:
_root.weaponName4 = 'the Fly';
break;
case 11:
_root.weaponName4 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.weaponSkill10 = 'OK damage';
break;
case 2:
_root.weaponSkill10 = 'Speed Plus';
break;
case 3:
_root.weaponSkill10 = 'Defense Plus';
break;
case 4:
_root.weaponSkill10 = 'HP Plus';
break;
case 5:
_root.weaponSkill10 = 'Skills Plus';
break;
case 6:
_root.weaponSkill10 = 'Speedy';
break;
case 7:
_root.weaponSkill10 == 'Skilled';
}
attack = random(12) + 1;
switch (attack) {
case 1:
_root.weaponSkill11 = 'Double Strength';
break;
case 2:
_root.weaponSkill11 = 'More HP';
break;
case 3:
_root.weaponSkill11 = 'Super MP';
break;
case 4:
_root.weaponSkill11 = 'Strong';
break;
case 5:
_root.weaponSkill11 = 'Money Maker';
break;
case 6:
_root.weaponSkill11 = 'More Skills';
break;
case 7:
_root.weaponSkill11 = 'More MP';
break;
case 8:
_root.weaponSkill11 = 'Life Leech';
break;
case 9:
_root.weaponSkill11 = 'Mana Leech';
break;
default:
_root.weaponSkill11 = '';
}
if (_root.weaponSkill11 != '') {
attack = random(17) + 1;
switch (attack) {
case 1:
_root.weaponSkill12 = 'Super HP';
break;
case 2:
_root.weaponSkill12 = 'Super Speed';
break;
case 3:
_root.weaponSkill12 = 'EXP More';
break;
case 4:
_root.weaponSkill12 = 'Super Strength';
break;
case 5:
_root.weaponSkill12 = 'Super Skills';
break;
case 6:
_root.weaponSkill12 = 'Super Defense';
break;
case 7:
_root.weaponSkill12 = 'Invincible';
break;
case 8:
_root.weaponSkill12 = 'Immortal';
break;
case 9:
_root.weaponSkill12 = 'God';
break;
case 10:
_root.weaponSkill12 = 'Super Life Leech';
break;
case 11:
_root.weaponSkill12 = 'Super Mana Leech';
break;
default:
_root.weaponSkill12 = '';
}
}
}
}
}
}
} else {
if (armorDrop == 1) {
armorDrop = 0;
if (_root.armor1 != 1 && _root.weapon1 != 1 && _root.belt1 != 1 && _root.glasses1 != 1) {
_root.armor1 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.armorName1 = 'Superman';
break;
case 2:
_root.armorName1 = 'the Wolf';
break;
case 3:
_root.armorName1 = 'the Mouse';
break;
case 4:
_root.armorName1 = 'the Lion';
break;
case 5:
_root.armorName1 = 'the Hulk';
break;
case 6:
_root.armorName1 = 'the moon';
break;
case 7:
_root.armorName1 = 'Tyson';
break;
case 8:
_root.armorName1 = 'the Jackel';
break;
case 9:
_root.armorName1 = 'the Strongman';
break;
case 10:
_root.armorName1 = 'the Fly';
break;
case 11:
_root.armorName1 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.armorSkill1 = 'OK defense';
break;
case 2:
_root.armorSkill1 = 'Extra Fast';
break;
case 3:
_root.armorSkill1 = 'More MP';
break;
case 4:
_root.armorSkill1 = 'Skills Plus';
break;
case 5:
_root.armorSkill1 = 'Speed Plus';
break;
case 6:
_root.armorSkill1 = 'HP Plus';
break;
case 7:
_root.armorSkill1 = 'Defense Plus';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.armorSkill2 = 'Double Defense';
break;
case 2:
_root.armorSkill2 = 'Extra Strength';
break;
case 3:
_root.armorSkill2 = 'More Defense';
break;
case 4:
_root.armorSkill2 = 'More Strength';
break;
case 5:
_root.armorSkill2 = 'More HP';
break;
case 6:
_root.armorSkill2 = 'MP Plus';
break;
case 7:
_root.armorSkill2 = 'More HP Plus';
break;
case 8:
_root.armorSkill2 = 'Auto-Shell';
break;
case 9:
_root.armorSkill2 = 'Auto-Protect';
break;
default:
_root.armorSkill2 = '';
}
if (_root.armorSkill2 != '') {
attack = random(17) + 1;
switch (attack) {
case 1:
_root.armorSkill3 = 'Ultra HP';
break;
case 2:
_root.armorSkill3 = 'Ultra MP';
break;
case 3:
_root.armorSkill3 = 'Super Speed';
break;
case 4:
_root.armorSkill3 = 'Ultra Defense';
break;
case 5:
_root.armorSkill3 = 'Ultra Strength';
break;
case 6:
_root.armorSkill3 = 'Speed of light';
break;
case 7:
_root.armorSkill3 = 'Ultra Skills';
break;
case 8:
_root.armorSkill3 = 'MP times two';
break;
case 9:
_root.armorSkill3 = 'HP times two';
break;
case 10:
_root.armorSkill3 = 'Auto-Haste';
break;
case 11:
_root.armorSkill3 = 'Auto-Recover';
break;
default:
_root.armorSkill3 = '';
}
}
} else {
if (_root.armor2 != 1 && _root.weapon2 != 1 && _root.belt2 != 1 && _root.glasses2 != 1) {
_root.armor2 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.armorName2 = 'Superman';
break;
case 2:
_root.armorName2 = 'the Wolf';
break;
case 3:
_root.armorName2 = 'the Mouse';
break;
case 4:
_root.armorName2 = 'the Lion';
break;
case 5:
_root.armorName2 = 'the Hulk';
break;
case 6:
_root.armorName2 = 'the moon';
break;
case 7:
_root.armorName2 = 'Tyson';
break;
case 8:
_root.armorName2 = 'the Jackel';
break;
case 9:
_root.armorName2 = 'the Strongman';
break;
case 10:
_root.armorName2 = 'the Fly';
break;
case 11:
_root.armorName2 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.armorSkill4 = 'OK defense';
break;
case 2:
_root.armorSkill4 = 'Extra Fast';
break;
case 3:
_root.armorSkill4 = 'More MP';
break;
case 4:
_root.armorSkill4 = 'Skills Plus';
break;
case 5:
_root.armorSkill4 = 'Speed Plus';
break;
case 6:
_root.armorSkill4 = 'HP Plus';
break;
case 7:
_root.armorSkill4 = 'Defense Plus';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.armorSkill5 = 'Double Defense';
break;
case 2:
_root.armorSkill5 = 'Extra Strength';
break;
case 3:
_root.armorSkill5 = 'More Defense';
break;
case 4:
_root.armorSkill5 = 'More Strength';
break;
case 5:
_root.armorSkill5 = 'More HP';
break;
case 6:
_root.armorSkill5 = 'MP Plus';
break;
case 7:
_root.armorSkill5 = 'More HP Plus';
break;
case 8:
_root.armorSkill5 = 'Auto-Shell';
break;
case 9:
_root.armorSkill5 = 'Auto-Protect';
break;
default:
_root.armorSkill5 = '';
}
if (_root.armorSkill5 != '') {
attack = random(17) + 1;
switch (attack) {
case 1:
_root.armorSkill6 = 'Ultra HP';
break;
case 2:
_root.armorSkill6 = 'Ultra MP';
break;
case 3:
_root.armorSkill6 = 'Super Speed';
break;
case 4:
_root.armorSkill6 = 'Ultra Defense';
break;
case 5:
_root.armorSkill6 = 'Ultra Strength';
break;
case 6:
_root.armorSkill6 = 'Speed of light';
break;
case 7:
_root.armorSkill6 = 'Ultra Skills';
break;
case 8:
_root.armorSkill6 = 'MP times two';
break;
case 9:
_root.armorSkill6 = 'HP times two';
break;
case 10:
_root.armorSkill6 = 'Auto-Haste';
break;
case 11:
_root.armorSkill6 = 'Auto-Recover';
break;
default:
_root.armorSkill6 = '';
}
}
} else {
if (_root.armor3 != 1 && _root.weapon3 != 1 && _root.belt3 != 1 && _root.glasses3 != 1) {
_root.armor3 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.armorName3 = 'Superman';
break;
case 2:
_root.armorName3 = 'the Wolf';
break;
case 3:
_root.armorName3 = 'the Mouse';
break;
case 4:
_root.armorName3 = 'the Lion';
break;
case 5:
_root.armorName3 = 'the Hulk';
break;
case 6:
_root.armorName3 = 'the moon';
break;
case 7:
_root.armorName3 = 'Tyson';
break;
case 8:
_root.armorName3 = 'the Jackel';
break;
case 9:
_root.armorName3 = 'the Strongman';
break;
case 10:
_root.armorName3 = 'the Fly';
break;
case 11:
_root.armorName3 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.armorSkill7 = 'OK defense';
break;
case 2:
_root.armorSkill7 = 'Extra Fast';
break;
case 3:
_root.armorSkill7 = 'More MP';
break;
case 4:
_root.armorSkill7 = 'Skills Plus';
break;
case 5:
_root.armorSkill7 = 'Speed Plus';
break;
case 6:
_root.armorSkill7 = 'HP Plus';
break;
case 7:
_root.armorSkill7 = 'Defense Plus';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.armorSkill8 = 'Double Defense';
break;
case 2:
_root.armorSkill8 = 'Extra Strength';
break;
case 3:
_root.armorSkill8 = 'More Defense';
break;
case 4:
_root.armorSkill8 = 'More Strength';
break;
case 5:
_root.armorSkill8 = 'More HP';
break;
case 6:
_root.armorSkill8 = 'MP Plus';
break;
case 7:
_root.armorSkill8 = 'More HP Plus';
break;
case 8:
_root.armorSkill8 = 'Auto-Shell';
break;
case 9:
_root.armorSkill8 = 'Auto-Protect';
break;
default:
_root.armorSkill8 = '';
}
if (_root.armorSkill8 != '') {
attack = random(17) + 1;
switch (attack) {
case 1:
_root.armorSkill9 = 'Ultra HP';
break;
case 2:
_root.armorSkill9 = 'Ultra MP';
break;
case 3:
_root.armorSkill9 = 'Super Speed';
break;
case 4:
_root.armorSkill9 = 'Ultra Defense';
break;
case 5:
_root.armorSkill9 = 'Ultra Strength';
break;
case 6:
_root.armorSkill9 = 'Speed of light';
break;
case 7:
_root.armorSkill9 = 'Ultra Skills';
break;
case 8:
_root.armorSkill9 = 'MP times two';
break;
case 9:
_root.armorSkill9 = 'HP times two';
break;
case 10:
_root.armorSkill9 = 'Auto-Haste';
break;
case 11:
_root.armorSkill9 = 'Auto-Recover';
break;
default:
_root.armorSkill9 = '';
}
}
} else {
if (_root.armor4 != 1 && _root.weapon4 != 1 && _root.belt4 != 1 && _root.glasses4 != 1) {
_root.armor4 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.armorName4 = 'Superman';
break;
case 2:
_root.armorName4 = 'the Wolf';
break;
case 3:
_root.armorName4 = 'the Mouse';
break;
case 4:
_root.armorName4 = 'the Lion';
break;
case 5:
_root.armorName4 = 'the Hulk';
break;
case 6:
_root.armorName4 = 'the moon';
break;
case 7:
_root.armorName4 = 'Tyson';
break;
case 8:
_root.armorName4 = 'the Jackel';
break;
case 9:
_root.armorName4 = 'the Strongman';
break;
case 10:
_root.armorName4 = 'the Fly';
break;
case 11:
_root.armorName4 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.armorSkill10 = 'OK defense';
break;
case 2:
_root.armorSkill10 = 'Extra Fast';
break;
case 3:
_root.armorSkill10 = 'More MP';
break;
case 4:
_root.armorSkill10 = 'Skills Plus';
break;
case 5:
_root.armorSkill10 = 'Speed Plus';
break;
case 6:
_root.armorSkill10 = 'HP Plus';
break;
case 7:
_root.armorSkill10 = 'Defense Plus';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.armorSkill11 = 'Double Defense';
break;
case 2:
_root.armorSkill11 = 'Extra Strength';
break;
case 3:
_root.armorSkill11 = 'More Defense';
break;
case 4:
_root.armorSkill11 = 'More Strength';
break;
case 5:
_root.armorSkill11 = 'More HP';
break;
case 6:
_root.armorSkill11 = 'MP Plus';
break;
case 7:
_root.armorSkill11 = 'More HP Plus';
break;
case 8:
_root.armorSkill11 = 'Auto-Shell';
break;
case 9:
_root.armorSkill11 = 'Auto-Protect';
break;
default:
_root.armorSkill11 = '';
}
if (_root.armorSkill11 != '') {
attack = random(17) + 1;
switch (attack) {
case 1:
_root.armorSkill12 = 'Ultra HP';
break;
case 2:
_root.armorSkill12 = 'Ultra MP';
break;
case 3:
_root.armorSkill12 = 'Super Speed';
break;
case 4:
_root.armorSkill12 = 'Ultra Defense';
break;
case 5:
_root.armorSkill12 = 'Ultra Strength';
break;
case 6:
_root.armorSkill12 = 'Speed of light';
break;
case 7:
_root.armorSkill12 = 'Ultra Skills';
break;
case 8:
_root.armorSkill12 = 'MP times two';
break;
case 9:
_root.armorSkill12 = 'HP times two';
break;
case 10:
_root.armorSkill12 = 'Auto-Haste';
break;
case 11:
_root.armorSkill12 = 'Auto-Recover';
break;
default:
_root.armorSkill12 = '';
}
}
}
}
}
}
} else {
if (glassesDrop == 1) {
glassesDrop = 0;
if (_root.armor1 != 1 && _root.weapon1 != 1 && _root.belt1 != 1 && _root.glasses1 != 1) {
_root.glasses1 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.glassesName1 = 'Superman';
break;
case 2:
_root.glassesName1 = 'the Wolf';
break;
case 3:
_root.glassesName1 = 'the Mouse';
break;
case 4:
_root.glassesName1 = 'the Lion';
break;
case 5:
_root.glassesName1 = 'the Hulk';
break;
case 6:
_root.glassesName1 = 'the moon';
break;
case 7:
_root.glassesName1 = 'Tyson';
break;
case 8:
_root.glassesName1 = 'the Jackel';
break;
case 9:
_root.glassesName1 = 'the Strongman';
break;
case 10:
_root.glassesName1 = 'the Fly';
break;
case 11:
_root.glassesName1 = 'the Tiger';
}
attack = random(15) + 1;
switch (attack) {
case 1:
_root.glassesSkill1 = 'More MP';
break;
case 2:
_root.glassesSkill1 = 'Defense';
break;
case 3:
_root.glassesSkill1 = 'Speedy';
break;
case 4:
_root.glassesSkill1 = 'Stronger';
break;
case 5:
_root.glassesSkill1 = 'Master';
break;
case 6:
_root.glassesSkill1 = 'Skillful';
break;
case 7:
_root.glassesSkill1 = 'Invincible';
break;
case 8:
_root.glassesSkill1 = 'More HP';
break;
case 9:
_root.glassesSkill1 = 'HP Plus';
break;
case 10:
_root.glassesSkill1 = 'Speedy Plus';
break;
case 11:
_root.glassesSkill1 = 'Double Strong';
break;
case 12:
_root.glassesSkill1 = 'MP Plus';
break;
case 13:
_root.glassesSkill1 = 'More Defense';
break;
case 14:
_root.glassesSkill1 = 'Auto-Shell';
break;
case 15:
_root.glassesSkill1 = 'Auto-Protect';
}
} else {
if (_root.armor2 != 1 && _root.weapon2 != 1 && _root.belt2 != 1 && _root.glasses2 != 1) {
_root.glasses2 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.glassesName2 = 'Superman';
break;
case 2:
_root.glassesName2 = 'the Wolf';
break;
case 3:
_root.glassesName2 = 'the Mouse';
break;
case 4:
_root.glassesName2 = 'the Lion';
break;
case 5:
_root.glassesName2 = 'the Hulk';
break;
case 6:
_root.glassesName2 = 'the moon';
break;
case 7:
_root.glassesName2 = 'Tyson';
break;
case 8:
_root.glassesName2 = 'the Jackel';
break;
case 9:
_root.glassesName2 = 'the Strongman';
break;
case 10:
_root.glassesName2 = 'the Fly';
break;
case 11:
_root.glassesName2 = 'the Tiger';
}
attack = random(15) + 1;
switch (attack) {
case 1:
_root.glassesSkill2 = 'More MP';
break;
case 2:
_root.glassesSkill2 = 'Defense';
break;
case 3:
_root.glassesSkill2 = 'Speedy';
break;
case 4:
_root.glassesSkill2 = 'Stronger';
break;
case 5:
_root.glassesSkill2 = 'Master';
break;
case 6:
_root.glassesSkill2 = 'Skillful';
break;
case 7:
_root.glassesSkill2 = 'Invincible';
break;
case 8:
_root.glassesSkill2 = 'More HP';
break;
case 9:
_root.glassesSkill2 = 'HP Plus';
break;
case 10:
_root.glassesSkill2 = 'Speedy Plus';
break;
case 11:
_root.glassesSkill2 = 'Double Strong';
break;
case 12:
_root.glassesSkill2 = 'MP Plus';
break;
case 13:
_root.glassesSkill2 = 'More Defense';
break;
case 14:
_root.glassesSkill2 = 'Auto-Shell';
break;
case 15:
_root.glassesSkill2 = 'Auto-Protect';
}
} else {
if (_root.armor3 != 1 && _root.weapon3 != 1 && _root.belt3 != 1 && _root.glasses3 != 1) {
_root.glasses3 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.glassesName3 = 'Superman';
break;
case 2:
_root.glassesName3 = 'the Wolf';
break;
case 3:
_root.glassesName3 = 'the Mouse';
break;
case 4:
_root.glassesName3 = 'the Lion';
break;
case 5:
_root.glassesName3 = 'the Hulk';
break;
case 6:
_root.glassesName3 = 'the moon';
break;
case 7:
_root.glassesName3 = 'Tyson';
break;
case 8:
_root.glassesName3 = 'the Jackel';
break;
case 9:
_root.glassesName3 = 'the Strongman';
break;
case 10:
_root.glassesName3 = 'the Fly';
break;
case 11:
_root.glassesName3 = 'the Tiger';
}
attack = random(15) + 1;
switch (attack) {
case 1:
_root.glassesSkill3 = 'More MP';
break;
case 2:
_root.glassesSkill3 = 'Defense';
break;
case 3:
_root.glassesSkill3 = 'Speedy';
break;
case 4:
_root.glassesSkill3 = 'Stronger';
break;
case 5:
_root.glassesSkill3 = 'Master';
break;
case 6:
_root.glassesSkill3 = 'Skillful';
break;
case 7:
_root.glassesSkill3 = 'Invincible';
break;
case 8:
_root.glassesSkill3 = 'More HP';
break;
case 9:
_root.glassesSkill3 = 'HP Plus';
break;
case 10:
_root.glassesSkill3 = 'Speedy Plus';
break;
case 11:
_root.glassesSkill3 = 'Double Strong';
break;
case 12:
_root.glassesSkill3 = 'MP Plus';
break;
case 13:
_root.glassesSkill3 = 'More Defense';
break;
case 14:
_root.glassesSkill3 = 'Auto-Shell';
break;
case 15:
_root.glassesSkill3 = 'Auto-Protect';
}
} else {
if (_root.armor4 != 1 && _root.weapon4 != 1 && _root.belt4 != 1 && _root.glasses4 != 1) {
_root.glasses4 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.glassesName4 = 'Superman';
break;
case 2:
_root.glassesName4 = 'the Wolf';
break;
case 3:
_root.glassesName4 = 'the Mouse';
break;
case 4:
_root.glassesName4 = 'the Lion';
break;
case 5:
_root.glassesName4 = 'the Hulk';
break;
case 6:
_root.glassesName4 = 'the moon';
break;
case 7:
_root.glassesName4 = 'Tyson';
break;
case 8:
_root.glassesName4 = 'the Jackel';
break;
case 9:
_root.glassesName4 = 'the Strongman';
break;
case 10:
_root.glassesName4 = 'the Fly';
break;
case 11:
_root.glassesName4 = 'the Tiger';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.glassesSkill4 = 'More MP';
break;
case 2:
_root.glassesSkill4 = 'Defense';
break;
case 3:
_root.glassesSkill4 = 'Speedy';
break;
case 4:
_root.glassesSkill4 = 'Stronger';
break;
case 5:
_root.glassesSkill4 = 'Master';
break;
case 6:
_root.glassesSkill4 = 'Skillful';
break;
case 7:
_root.glassesSkill4 = 'Invincible';
break;
case 8:
_root.glassesSkill4 = 'More HP';
break;
case 9:
_root.glassesSkill4 = 'HP Plus';
break;
case 10:
_root.glassesSkill4 = 'Speedy Plus';
break;
case 11:
_root.glassesSkill4 = 'Double Strong';
break;
case 12:
_root.glassesSkill4 = 'MP Plus';
break;
case 13:
_root.glassesSkill4 = 'More Defense';
break;
case 14:
_root.glassesSkill4 = 'Auto-Shell';
break;
case 15:
_root.glassesSkill4 = 'Auto-Protect';
}
}
}
}
}
} else {
if (beltDrop == 1) {
beltDrop = 0;
if (_root.armor1 != 1 && _root.weapon1 != 1 && _root.belt1 != 1 && _root.glasses1 != 1) {
_root.belt1 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.beltName1 = 'Superman';
break;
case 2:
_root.beltName1 = 'the Wolf';
break;
case 3:
_root.beltName1 = 'the Mouse';
break;
case 4:
_root.beltName1 = 'the Lion';
break;
case 5:
_root.beltName1 = 'the Hulk';
break;
case 6:
_root.beltName1 = 'the moon';
break;
case 7:
_root.beltName1 = 'Tyson';
break;
case 8:
_root.beltName1 = 'the Jackel';
break;
case 9:
_root.beltName1 = 'the Strongman';
break;
case 10:
_root.beltName1 = 'the Fly';
break;
case 11:
_root.beltName1 = 'the Tiger';
}
attack = random(16) + 1;
switch (attack) {
case 1:
_root.beltSkill1 = 'More MP';
break;
case 2:
_root.beltSkill1 = 'Defense';
break;
case 3:
_root.beltSkill1 = 'Speedy';
break;
case 4:
_root.beltSkill1 = 'Stronger';
break;
case 5:
_root.beltSkill1 = 'Master';
break;
case 6:
_root.beltSkill1 = 'Skillful';
break;
case 7:
_root.beltSkill1 = 'Invincible';
break;
case 8:
_root.beltSkill1 = 'More HP';
break;
case 9:
_root.beltSkill1 = 'HP Plus';
break;
case 10:
_root.beltSkill1 = 'Speedy Plus';
break;
case 11:
_root.beltSkill1 = 'Double Strong';
break;
case 12:
_root.beltSkill1 = 'MP Plus';
break;
case 13:
_root.beltSkill1 = 'More Defense';
break;
case 14:
_root.beltSkill1 = 'Defense Plus';
break;
case 15:
_root.beltSkill1 = 'Strength Plus';
break;
case 16:
_root.beltSkill1 = 'Powerful';
}
} else {
if (_root.armor2 != 1 && _root.weapon2 != 1 && _root.belt2 != 1 && _root.glasses2 != 1) {
_root.belt2 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.beltName2 = 'Superman';
break;
case 2:
_root.beltName2 = 'the Wolf';
break;
case 3:
_root.beltName2 = 'the Mouse';
break;
case 4:
_root.beltName2 = 'the Lion';
break;
case 5:
_root.beltName2 = 'the Hulk';
break;
case 6:
_root.beltName2 = 'the moon';
break;
case 7:
_root.beltName2 = 'Tyson';
break;
case 8:
_root.beltName2 = 'the Jackel';
break;
case 9:
_root.beltName2 = 'the Strongman';
break;
case 10:
_root.beltName2 = 'the Fly';
break;
case 11:
_root.beltName2 = 'the Tiger';
}
attack = random(16) + 1;
switch (attack) {
case 1:
_root.beltSkill2 = 'More MP';
break;
case 2:
_root.beltSkill2 = 'Defense';
break;
case 3:
_root.beltSkill2 = 'Speedy';
break;
case 4:
_root.beltSkill2 = 'Stronger';
break;
case 5:
_root.beltSkill2 = 'Master';
break;
case 6:
_root.beltSkill2 = 'Skillful';
break;
case 7:
_root.beltSkill2 = 'Invincible';
break;
case 8:
_root.beltSkill2 = 'More HP';
break;
case 9:
_root.beltSkill2 = 'HP Plus';
break;
case 10:
_root.beltSkill2 = 'Speedy Plus';
break;
case 11:
_root.beltSkill2 = 'Double Strong';
break;
case 12:
_root.beltSkill2 = 'MP Plus';
break;
case 13:
_root.beltSkill2 = 'More Defense';
break;
case 14:
_root.beltSkill2 = 'Defense Plus';
break;
case 15:
_root.beltSkill2 = 'Strength Plus';
break;
case 16:
_root.beltSkill2 = 'Powerful';
}
} else {
if (_root.armor3 != 1 && _root.weapon3 != 1 && _root.belt3 != 1 && _root.glasses3 != 1) {
_root.belt3 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.beltName3 = 'Superman';
break;
case 2:
_root.beltName3 = 'the Wolf';
break;
case 3:
_root.beltName3 = 'the Mouse';
break;
case 4:
_root.beltName3 = 'the Lion';
break;
case 5:
_root.beltName3 = 'the Hulk';
break;
case 6:
_root.beltName3 = 'the moon';
break;
case 7:
_root.beltName3 = 'Tyson';
break;
case 8:
_root.beltName3 = 'the Jackel';
break;
case 9:
_root.beltName3 = 'the Strongman';
break;
case 10:
_root.beltName3 = 'the Fly';
break;
case 11:
_root.beltName3 = 'the Tiger';
}
attack = random(16) + 1;
switch (attack) {
case 1:
_root.beltSkill3 = 'More MP';
break;
case 2:
_root.beltSkill3 = 'Defense';
break;
case 3:
_root.beltSkill3 = 'Speedy';
break;
case 4:
_root.beltSkill3 = 'Stronger';
break;
case 5:
_root.beltSkill3 = 'Master';
break;
case 6:
_root.beltSkill3 = 'Skillful';
break;
case 7:
_root.beltSkill3 = 'Invincible';
break;
case 8:
_root.beltSkill3 = 'More HP';
break;
case 9:
_root.beltSkill3 = 'HP Plus';
break;
case 10:
_root.beltSkill3 = 'Speedy Plus';
break;
case 11:
_root.beltSkill3 = 'Double Strong';
break;
case 12:
_root.beltSkill3 = 'MP Plus';
break;
case 13:
_root.beltSkill3 = 'More Defense';
break;
case 14:
_root.beltSkill3 = 'Defense Plus';
break;
case 15:
_root.beltSkill3 = 'Strength Plus';
break;
case 16:
_root.beltSkill3 = 'Powerful';
}
} else {
if (_root.armor4 != 1 && _root.weapon4 != 1 && _root.belt4 != 1 && _root.glasses4 != 1) {
_root.belt4 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.beltName4 = 'Superman';
break;
case 2:
_root.beltName4 = 'the Wolf';
break;
case 3:
_root.beltName4 = 'the Mouse';
break;
case 4:
_root.beltName4 = 'the Lion';
break;
case 5:
_root.beltName4 = 'the Hulk';
break;
case 6:
_root.beltName4 = 'the moon';
break;
case 7:
_root.beltName4 = 'Tyson';
break;
case 8:
_root.beltName4 = 'the Jackel';
break;
case 9:
_root.beltName4 = 'the Strongman';
break;
case 10:
_root.beltName4 = 'the Fly';
break;
case 11:
_root.beltName4 = 'the Tiger';
}
attack = random(16) + 1;
switch (attack) {
case 1:
_root.beltSkill4 = 'More MP';
break;
case 2:
_root.beltSkill4 = 'Defense';
break;
case 3:
_root.beltSkill4 = 'Speedy';
break;
case 4:
_root.beltSkill4 = 'Stronger';
break;
case 5:
_root.beltSkill4 = 'Master';
break;
case 6:
_root.beltSkill4 = 'Skillful';
break;
case 7:
_root.beltSkill4 = 'Invincible';
break;
case 8:
_root.beltSkill4 = 'More HP';
break;
case 9:
_root.beltSkill4 = 'HP Plus';
break;
case 10:
_root.beltSkill4 = 'Speedy Plus';
break;
case 11:
_root.beltSkill4 = 'Double Strong';
break;
case 12:
_root.beltSkill4 = 'MP Plus';
break;
case 13:
_root.beltSkill4 = 'More Defense';
break;
case 14:
_root.beltSkill4 = 'Defense Plus';
break;
case 15:
_root.beltSkill4 = 'Strength Plus';
break;
case 16:
_root.beltSkill4 = 'Powerful';
}
}
}
}
}
}
}
}
}
}
function enemyPower() {
_root.hah22 = 0;
whoo = random(30) + 1;
switch (whoo) {
case 1:
_root.hah22 = 1;
_root.hlevel += _root.hah22;
break;
case 2:
_root.hah22 = 2;
_root.hlevel += _root.hah22;
break;
case 3:
_root.hah22 = 3;
_root.hlevel += _root.hah22;
break;
case 7:
_root.hah22 = 4;
_root.hlevel += _root.hah22;
break;
case 11:
_root.hah22 = 5;
_root.hlevel += _root.hah22;
break;
case 13:
_root.hah22 = random(7) + 1;
_root.hlevel += _root.hah22;
break;
default:
}
}
function enemyAttackYou() {
if (damage == 'MISS!') {
} else {
_level0.limit += (damage / 100) * 100;
_level0.char1 -= damage;
}
_level0.enemydone = 0;
_root.attackname = '';
if (_root.char1 <= 0) {
_root.gotoAndPlay(13);
} else {
_root.gotoAndPlay(2);
}
}
function doubTurnFunc() {
if (_root.guy2 == 1) {
if (_root.doubleTurn2 == 1) {
_root.doubleTurn2 = 0;
_root.attack2 = 100;
}
} else {
if (_root.doubleTurn == 1) {
_root.doubleTurn = 0;
_root.attack = 100;
}
}
}
function qualFun() {
if (_root._quality == 'BEST') {
qual1 = 'High';
_root._quality = 'HIGH';
} else {
if (_root._quality == 'HIGH') {
qual1 = 'Medium';
_root._quality = 'MEDIUM';
} else {
if (_root._quality == 'MEDIUM') {
qual1 = 'Low';
_root._quality = 'LOW';
} else {
qual1 = 'Best';
_root._quality = 'BEST';
}
}
}
}
_root.tomb1Activate = 1;
sound1 = new Sound();
quickthrowskilled = 0;
moneyskilled = 0;
skillpointsskilled = 0;
energyskilled = 0;
vitalityskilled = 0;
statusskilled = 0;
expskilled = 0;
shockwaveskilled = 0;
powerbreakskilled = 0;
multileechskilled = 0;
multislashskilled = 0;
counterskilled = 0;
healskilled2 = 0;
_root.attackStrength = 0;
holyskilled = 0;
fireswodskilled = 0;
lightswodskilled = 0;
enchantskilled = 0;
demiskilled = 0;
confuseskilled = 0;
ballLightskilled = 0;
berserkskilled = 0;
sheildskilled = 0;
frogskilled = 0;
flareskilled = 0;
cometskilled = 0;
skillpoint3 = 20;
_root.powerDown = 0;
_root.lightAttacko = 0;
_root.darknessInfect = 0;
_root.speedShoes = 0;
_root.enchant = 0;
_root.lifePotion = 0;
_root.strengthPotion = 0;
_root.magLeech = 0;
_root.lifeLeech = 0;
_root.fadeOut = 1;
order1 = 'Order: 1';
order2 = 'Order: 2';
goy = 0;
firemanskilled = 0;
lighthorseskilled = 0;
dragonskilled = 0;
hypnotistskilled = 0;
_root.hah22 = 0;
_level0.limit2 = 0;
_root.defaultPower = 0;
_root.enemyEncounter = 0;
helpModeOn = 1;
_root.critical2 = 0;
_root.ap2 = 30;
_root.exp2 = 0;
_root.EXPNeeded2 = 15;
_root.clockSeconds = 0;
_root.clockMinutes = 0;
_root.clockHours = 0;
qattackskilled = 0;
dattackskilled = 0;
nightmareskilled = 0;
hpdrainskilled = 0;
mpdrainskilled = 0;
deathskilled = 0;
hlevel = 0;
_root.energy2 = 0;
_root.comebackskilled = 0;
protectDefense = 0;
shellDefense = 0;
level2 = 1;
defense2 = 3;
vitality2 = 1;
skills2 = 1;
strength2 = 3;
mp2 = 25;
maxmp2 = 25;
activeMode = 1;
_root.charSwitchOn = true;
_root.defense2 = 0;
_root.char2 = 180;
_root.maxhp2 = 180;
_root.char2Alive = true;
_root.hptwo2 = 1;
_root.mptwo2 = 1;
_root.char1Alive = true;
revive = 0;
_root.stealOn = 1;
_root.money = 200;
_root.phoneDone = 0;
notAnother = 0;
_root.ap = 60;
_root.moHp = 0;
ultimaskilled = 0;
furystormskilled = 0;
slowskilled = 0;
stopskilled = 0;
shellskilled = 0;
protectskilled = 0;
hasteskilled = 0;
bioskilled = 0;
sleepskilled = 0;
reviveskilled = 0;
replenishskilled = 0;
leechskilled = 0;
healskilled = 0;
fireskilled = 0;
lightskilled = 0;
iceskilled = 0;
skillpoint2 = 0;
_root.attackname = '';
_root.pois = 0;
_level0.attack2 = 0;
_root.speedEx2 = 0;
_level0.speed2 = 4;
_root.moneyPlus = 1;
_root.EXPMore = 1;
_root.hptwo = 1;
_root.mptwo = 1;
_level0.walkSide4 = 0;
_root.equipWeapon1 = 0;
_root.equipWeapon2 = 0;
_root.equipWeapon3 = 0;
skills = 0;
moEXP = 0;
exp1 = 0;
fight2 = 0;
worldmap = 1;
level = 1;
speedEx = 1;
defense = 4;
energy = 0;
vitality = 1;
_root.strength = 5;
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
hair = 0;
potion = 2;
ether = 2;
hpotion = 2;
xpotion = 2;
elixir = 2;
haste = 0;
useHaste = 0;
techAttack = 0;
_level0.useSlow = 0;
slow = 0;
critical1 = 0;
limit = 0;
mp1 = 25;
maxmp1 = 25;
char1 = 150;
maxhp = 150;
attack = 0;
speed = 5;
timeyou = 70;
turn = 0;
done = 1;
enemyattack = 0;
enemyspeed = 4;
enemytime = 70;
enemydone = 0;
enemyhp = 80;
wait1 = 0;
wait2 = 0;
walkSide = 0;
walkSide2 = 0;
walkside3 = 0;
dataForSave = new Array(char1, maxhp, money, reviveskilled, replenishskilled, leechskilled, healskilled, fireskilled, lightskilled, iceskilled, limit, skillpoint2, ap, hptwo, mptwo, equipWeapon1, equipWeapon2, equipWeapon3, equipWeapon4, moneyPlus, EXPMore, skills, moEXP, level, speedEx, defense, energy, maxmp1, vitality);
Object.prototype.setCookie = function (c, n, v) {
var v1 = SharedObject.getLocal(c);
v1.data[n] = v;
v1.flush();
};
Object.prototype.getCookie = function (c, n) {
var v1 = SharedObject.getLocal(c);
return v1.data[n];
};
Stage.showMenu = false;
_root.moEXP = 0;
_root.EXPNeeded = 20 + _root.moEXP;
antidote = 4;
_root.pois2 = 0;
skillpoint2 = 0;
activeMode = 0;
waitMode = 1;
revive = 3;
_root._quality = 'HIGH';
_root.diff = 'Normal';
_root.spamItem = 1;
_root.docStickItem = 0;
_root.smokeHatItem = 0;
_root.stickCourage = 0;
_root.supeSpeed = 0;
_root.doubleTurn = 0;
_root.doubleTurn2 = 0;
_root.saveyYo = getCookie('database0', 'itum273');
_root.saveyYo2 = getCookie('database1', 'itum326');
_root.saveyYo3 = getCookie('database2', 'itum326');
_root.noMouse = 1;
_root.herosItem = 0;
_root.heroRing = 1;
skillpoint3 = 0;
_root.keyMe = 0;
_root.fluteItem = 0;
_root.powerBoss = 0;
_root.defensePotion = 0;
_root.skillPotion = 0;
_root.magicPotion = 0;
_root.strengthPotion = 0;
_root.lifePotion = 0;
stop();
}
movieClip 28 {
}
movieClip 32 {
}
button 39 {
on (press) {
getURL('http://www.geocities.com/gjlcards2', '_blank');
}
}
button 48 {
on (release) {
_root.playYoHah = 1;
_root.gotoAndPlay(16);
}
}
movieClip 49 {
frame 1 {
PercentLoaded2 = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded2 != 100) {
eval(barr3)._xscale = PercentLoaded2;
} else {
gotoAndStop(3);
}
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
eval(barr3)._xscale = PercentLoaded2;
stop();
}
}
frame 2 {
_root.char1Parted = 1;
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
if (_root.soundOn != 1 && _root.musicOff != 1) {
_root.soundOn = 1;
if (_root.boss2 == 1 || _root.boss3 == 1) {
_root.sound1.attachSound('bossy1');
_root.sound1.start(0, 65000);
} else {
attack = random(2) + 1;
if (attack == 1) {
_root.sound1.attachSound('battle1');
_root.sound1.start(0, 65000);
} else {
_root.sound1.attachSound('battle2');
_root.sound1.start(0, 65000);
}
}
}
if (_root.supesCape == 1) {
_root.berzerko2 = 3;
}
if (_root.autoShell1 == 1 || _root.autoShell2 == 1) {
_root.shellDefense = 10 + 10 * _root.shellskilled;
}
if (_root.autoProtect1 == 1 || _root.autoProtect2 == 1) {
_root.protectDefense = 10 + 10 * _root.protectskilled;
}
if (_root.autoHaste == 1) {
if (_level0.useHaste != 1) {
_level0.useHaste = 1;
_level0.speed += 3;
}
_level0.hasteturn = 2 + _root.hasteskilled;
}
if (_root.autoRegen == 1) {
_root.replenish = 1;
}
stop();
}
movieClip 60 {
frame 1 {
if (_root.story >= 9 && _root.story < 11) {
this.gotoAndPlay(2);
} else {
stop();
}
}
frame 6 {
randHah = random(4) + 1;
switch (randHah) {
case 1:
gotoAndPlay(7);
break;
case 2:
gotoAndPlay(8);
break;
case 3:
gotoAndPlay(9);
break;
case 4:
gotoAndPlay(10);
}
}
frame 11 {
gotoAndPlay(2);
}
}
movieClip 84 {
frame 1 {
if (_root.boss3 == 1) {
gotoAndStop(15);
} else {
if (_root.groundo == 1) {
_root.groundo = 0;
gotoAndStop(14);
} else {
if (_root.snowy == 1) {
_root.snowy = 0;
backy = random(2) + 1;
if (backy == 1) {
gotoAndStop(12);
} else {
gotoAndStop(13);
}
} else {
if (_root.boss2 == 1) {
gotoAndStop(3);
} else {
if (_root.grave == 1) {
_root.grave = 0;
hi = random(2) + 1;
switch (hi) {
case 1:
gotoAndStop(8);
break;
case 2:
gotoAndStop(9);
}
} else {
if (_root.beach != 1) {
hi = random(7) + 1;
switch (hi) {
case 1:
gotoAndStop(5);
break;
case 2:
gotoAndStop(6);
break;
case 3:
gotoAndStop(7);
break;
case 4:
gotoAndStop(10);
break;
case 5:
gotoAndStop(11);
break;
case 6:
stop();
break;
case 7:
gotoAndStop(2);
}
}
}
}
}
}
}
}
frame 2 {
stop();
}
frame 4 {
gotoAndPlay(1);
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
}
movieClip 91 {
}
movieClip 100 {
frame 1 {
if (_root.yes >= 9) {
gotoAndPlay(2);
} else {
stop();
}
}
}
movieClip 102 {
frame 1 {
if (_root.leechOn > 0) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 7 {
_root.yes += 1;
if (_root.yes >= 6) {
_root.yes = 0;
dam = random(12) + 7 + (_root.leechskilled * 3 + 2);
_level0.enemyhp -= dam;
if (_level0.enemyhp <= 0) {
_level0.enemyhp = 1;
}
_root.char1 += dam;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
gotoAndPlay(2);
}
frame 9 {
if (_root.yes >= 6) {
_root.yes = 0;
dam = random(12) + 7 + (_root.leechskilled * 3 + 2);
_level0.enemyhp -= dam;
if (_level0.enemyhp <= 0) {
_level0.enemyhp = 1;
}
_root.char1 += dam;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
gotoAndPlay(2);
}
}
movieClip 103 {
frame 1 {
if (_root.stopIt == 1) {
tellTarget ('_root.enemy1attacked') {
stop();
}
gotoAndPlay(2);
} else {
stop();
}
}
frame 10 {
hah = random(30 + stopskilled * 3) + 1;
switch (hah) {
case 6:
case 10:
case 13:
case 18:
case 26:
tellTarget ('_root.enemy1attacked') {
gotoAndPlay(1);
}
_root.stopIt = 0;
break;
default:
}
gotoAndPlay(1);
}
}
movieClip 109 {
frame 1 {
if (_root.pOn == 1) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 2 {
if (_root.deadEnemy == 1 || _root.deadd == 1) {
_root.pOn = 0;
gotoAndPlay(1);
}
if (_root.pois2 >= 24) {
_root.pois2 = 0;
_root.enemyhp -= random(15 + _root.bioskilled * 2) + 5 + _root.bioskilled * 2;
if (_root.enemyhp < 0) {
_root.enemyhp = 1;
}
}
}
frame 7 {
_root.pois2 += 3;
gotoAndPlay(1);
}
}
movieClip 111 {
frame 1 {
if (_root.enemySleepy == 1) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 11 {
chance = random(28 + _root.sleepskilled * 2) + 1;
switch (chance) {
case 3:
case 10:
case 4:
_root.enemySleepy = 0;
gotoAndPlay(1);
break;
default:
gotoAndPlay(2);
}
}
}
movieClip 115 {
frame 1 {
if (_root.confused > 0) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 6 {
if (_root.attackSelf == 1) {
_root.attackSelf = 0;
_root.enemy1attacked.attacky.gotoAndPlay(2);
}
_root.confused -= 1;
}
}
movieClip 125 {
frame 1 {
stop();
}
frame 2 {
damage = random(20 + _root.hlevel * 4) + (18 + _root.hlevel * 5);
damage2 = '- ' + damage + ' HP!';
}
frame 8 {
_root.enemyhp -= damage;
_level0.enemydone = 0;
if (_level0.enemyhp <= 0) {
if (_root.guy2 == 1) {
_root.gotoAndStop(26);
} else {
_root.gotoAndPlay(10);
}
}
}
}
movieClip 129 {
frame 1 {
if (_level0.infectedDarkness > 0) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 2 {
}
frame 7 {
_root.infectedDarkness -= 1;
if (_root.infectedDarkness <= 0) {
_root.darknessInfect = 0;
}
}
}
movieClip 140 {
frame 1 {
if (_root.ballLight > 0) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 6 {
_root.lightAttacko += 2;
if (_level0.enemydone != 1 && _root.waitOn != 1) {
if (_root.lightAttacko >= 50) {
_root.lightAttacko = 0;
_root.waitOn = 1;
_level0.enemydone = 1;
gotoAndPlay(7);
} else {
gotoAndPlay(1);
}
} else {
gotoAndPlay(1);
}
}
frame 8 {
damage = random(20 + _root.skills2 + _root.ballLightskilled * 2) + 20 + _root.skills2 + _root.ballLightskilled;
damage2 = '- ' + damage + ' HP!';
}
frame 14 {
_root.enemyhp -= damage;
_root.waitOn = 0;
_level0.enemydone = 0;
_root.ballLight -= 1;
if (_level0.enemyhp <= 0) {
if (_root.guy2 == 1) {
_root.gotoAndStop(26);
} else {
_root.gotoAndPlay(10);
}
} else {
gotoAndPlay(1);
}
}
}
movieClip 167 {
frame 1 {
attack = random(5) + 1;
switch (attack) {
case 1:
gotoAndPlay(2);
break;
case 2:
gotoAndPlay(3);
break;
case 3:
gotoAndPlay(4);
break;
case 4:
gotoAndPlay(5);
break;
case 5:
gotoAndPlay(6);
}
}
}
movieClip 188 {
}
movieClip 215 {
}
movieClip 227 {
frame 1 {
if (_root.enemySleepy == 1) {
gotoAndStop(26);
}
}
frame 25 {
gotoAndPlay(1);
}
frame 26 {
stop();
}
}
movieClip 353 {
}
movieClip 452 {
frame 1 {
colorin = new Color(this);
if (_root.enemyColor == 1) {
myColorTransform = {'ra': '100', 'rb': '111', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '100'};
colorin.setTransform(myColorTransform);
} else {
if (_root.enemyColor == 2) {
myColorTransform = {'ra': '100', 'rb': '111', 'ga': '100', 'gb': '96', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '100'};
colorin.setTransform(myColorTransform);
} else {
if (_root.enemyColor == 3) {
myColorTransform = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '61', 'aa': '100', 'ab': '100'};
colorin.setTransform(myColorTransform);
} else {
if (_root.enemyColor == 4) {
myColorTransform = {'ra': '100', 'rb': '86', 'ga': '100', 'gb': '35', 'ba': '100', 'bb': '51', 'aa': '100', 'ab': '100'};
colorin.setTransform(myColorTransform);
} else {
if (_root.enemyColor == 5) {
myColorTransform = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '45', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '100'};
colorin.setTransform(myColorTransform);
}
}
}
}
}
if (_root.ghostEnemy == 5 || _root.ghostEnemy == 12) {
this._alpha = 50;
}
if (_root.goFrog == 1) {
_root.goFrog = 0;
_root.turnedFrog = 0;
gotoAndPlay(224);
} else {
if (_root.turnedFrog == 1) {
gotoAndPlay(219);
} else {
if (_level0.enemy2 == 1) {
gotoAndPlay(23);
} else {
if (_level0.enemy3 == 1) {
gotoAndPlay(40);
} else {
if (_level0.enemy4 == 1) {
gotoAndPlay(53);
} else {
if (_level0.enemy5 == 1) {
gotoAndPlay(68);
} else {
if (_level0.enemy6 == 1) {
gotoAndPlay(94);
} else {
if (_level0.enemy7 == 1) {
gotoAndPlay(107);
} else {
if (_root.enemy8 == 1) {
gotoAndPlay(120);
} else {
if (_root.enemy9 == 1) {
gotoAndPlay(136);
} else {
if (_root.enemy10 == 1) {
gotoAndPlay(151);
} else {
if (_root.enemy11 == 1) {
gotoAndPlay(165);
} else {
if (_root.enemy12 == 1) {
gotoAndPlay(179);
} else {
if (_root.enemy13 == 1) {
gotoAndPlay(280);
} else {
if (_root.enemy14 == 1) {
gotoAndPlay(191);
} else {
if (_root.enemy15 == 1) {
gotoAndPlay(203);
} else {
if (_root.enemy16 == 1) {
gotoAndPlay(212);
} else {
if (_root.enemy17 == 1) {
gotoAndPlay(226);
} else {
if (_root.enemy18 == 1) {
gotoAndPlay(235);
} else {
if (_root.enemy19 == 1) {
gotoAndPlay(246);
} else {
if (_root.enemy20 == 1) {
gotoAndPlay(257);
} else {
if (_root.boss1 == 1) {
gotoAndPlay(266);
} else {
if (_root.enemy21 == 1) {
gotoAndPlay(273);
} else {
if (_root.boss2 == 1) {
gotoAndPlay(294);
} else {
if (_root.boss3 == 1) {
gotoAndPlay(306);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
frame 2 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(8);
}
}
frame 3 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(8);
}
}
frame 4 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(8);
}
}
frame 5 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(8);
}
}
frame 6 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(8);
}
}
frame 7 {
gotoAndPlay(1);
}
frame 12 {
gotoAndPlay(1);
}
frame 22 {
gotoAndPlay(1);
}
frame 23 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(30);
}
}
frame 24 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(30);
}
}
frame 25 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(30);
}
}
frame 26 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(30);
}
}
frame 27 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(30);
}
}
frame 28 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(30);
}
}
frame 29 {
gotoAndPlay(23);
}
frame 39 {
gotoAndPlay(23);
}
frame 40 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(45);
}
}
frame 41 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(45);
}
}
frame 42 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(45);
}
}
frame 43 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(45);
}
}
frame 44 {
gotoAndPlay(40);
}
frame 52 {
gotoAndPlay(40);
}
frame 53 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(61);
}
}
frame 54 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(61);
}
}
frame 55 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(61);
}
}
frame 56 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(61);
}
}
frame 57 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(61);
}
}
frame 58 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(61);
}
}
frame 59 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(61);
}
}
frame 60 {
gotoAndPlay(53);
}
frame 67 {
gotoAndPlay(53);
}
frame 93 {
gotoAndPlay(68);
}
frame 94 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(101);
}
}
frame 95 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(101);
}
}
frame 96 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(101);
}
}
frame 97 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(101);
}
}
frame 98 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(101);
}
}
frame 99 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(101);
}
}
frame 100 {
gotoAndPlay(94);
}
frame 106 {
gotoAndPlay(94);
}
frame 107 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(115);
}
}
frame 108 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(115);
}
}
frame 109 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(115);
}
}
frame 110 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(115);
}
}
frame 111 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(115);
}
}
frame 112 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(115);
}
}
frame 113 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(115);
}
}
frame 114 {
gotoAndPlay(107);
}
frame 119 {
gotoAndPlay(107);
}
frame 120 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(131);
}
}
frame 121 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(131);
}
}
frame 122 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(131);
}
}
frame 123 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(131);
}
}
frame 124 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(131);
}
}
frame 125 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(131);
}
}
frame 126 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(131);
}
}
frame 127 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(131);
}
}
frame 128 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(131);
}
}
frame 129 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(131);
}
}
frame 130 {
gotoAndPlay(120);
}
frame 135 {
gotoAndPlay(120);
}
frame 136 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(145);
}
}
frame 137 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(145);
}
}
frame 138 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(145);
}
}
frame 139 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(145);
}
}
frame 140 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(145);
}
}
frame 141 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(145);
}
}
frame 142 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(145);
}
}
frame 143 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(145);
}
}
frame 144 {
gotoAndPlay(136);
}
frame 150 {
gotoAndPlay(136);
}
frame 151 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(160);
}
}
frame 152 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(160);
}
}
frame 153 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(160);
}
}
frame 154 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(160);
}
}
frame 155 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(160);
}
}
frame 156 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(160);
}
}
frame 157 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(160);
}
}
frame 158 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(160);
}
}
frame 159 {
gotoAndPlay(151);
}
frame 164 {
gotoAndPlay(151);
}
frame 165 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(174);
}
}
frame 166 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(174);
}
}
frame 167 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(174);
}
}
frame 168 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(174);
}
}
frame 169 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(174);
}
}
frame 170 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(174);
}
}
frame 171 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(174);
}
}
frame 172 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(174);
}
}
frame 173 {
gotoAndPlay(165);
}
frame 178 {
gotoAndPlay(165);
}
frame 179 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(186);
}
}
frame 180 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(186);
}
}
frame 181 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(186);
}
}
frame 182 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(186);
}
}
frame 183 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(186);
}
}
frame 184 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(186);
}
}
frame 185 {
gotoAndPlay(179);
}
frame 190 {
gotoAndPlay(179);
}
frame 191 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(198);
}
}
frame 192 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(198);
}
}
frame 193 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(198);
}
}
frame 194 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(198);
}
}
frame 195 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(198);
}
}
frame 196 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(198);
}
}
frame 197 {
gotoAndPlay(191);
}
frame 202 {
gotoAndPlay(191);
}
frame 203 {
if (_level0.attacked.hitTest(_level0.enemy1attacked)) {
gotoAndPlay(208);
}
}
frame 204 {
if (_level0.attacked.hitTest(_level0.enemy1attacked)) {
gotoAndPlay(208);
}
}
frame 205 {
if (_level0.attacked.hitTest(_level0.enemy1attacked)) {
gotoAndPlay(208);
}
}
frame 206 {
if (_level0.attacked.hitTest(_level0.enemy1attacked)) {
gotoAndPlay(208);
}
}
frame 207 {
gotoAndPlay(203);
}
frame 211 {
gotoAndPlay(203);
}
frame 218 {
gotoAndPlay(212);
}
frame 223 {
gotoAndPlay(219);
}
frame 225 {
gotoAndPlay(1);
}
frame 226 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(231);
}
}
frame 227 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(231);
}
}
frame 228 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(231);
}
}
frame 229 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(231);
}
}
frame 230 {
gotoAndPlay(226);
}
frame 234 {
gotoAndPlay(226);
}
frame 235 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(242);
}
}
frame 236 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(242);
}
}
frame 237 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(242);
}
}
frame 238 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(242);
}
}
frame 239 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(242);
}
}
frame 240 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(242);
}
}
frame 241 {
gotoAndPlay(235);
}
frame 245 {
gotoAndPlay(235);
}
frame 246 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(253);
}
}
frame 247 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(253);
}
}
frame 248 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(253);
}
}
frame 249 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(253);
}
}
frame 250 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(253);
}
}
frame 251 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(253);
}
}
frame 252 {
gotoAndPlay(246);
}
frame 256 {
gotoAndPlay(246);
}
frame 257 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(262);
}
}
frame 258 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(262);
}
}
frame 259 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(262);
}
}
frame 260 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(262);
}
}
frame 261 {
gotoAndPlay(257);
}
frame 265 {
gotoAndPlay(257);
}
frame 272 {
gotoAndPlay(266);
}
frame 279 {
gotoAndPlay(273);
}
frame 280 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(289);
}
}
frame 281 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(289);
}
}
frame 282 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(289);
}
}
frame 283 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(289);
}
}
frame 284 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(289);
}
}
frame 285 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(289);
}
}
frame 286 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(289);
}
}
frame 287 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(289);
}
}
frame 288 {
gotoAndPlay(280);
}
frame 293 {
gotoAndPlay(280);
}
frame 294 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(301);
}
}
frame 295 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(301);
}
}
frame 296 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(301);
}
}
frame 297 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(301);
}
}
frame 298 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(301);
}
}
frame 299 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(301);
}
}
frame 300 {
gotoAndPlay(294);
}
frame 305 {
gotoAndPlay(294);
}
frame 306 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(313);
}
}
frame 307 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(313);
}
}
frame 308 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(313);
}
}
frame 309 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(313);
}
}
frame 310 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(313);
}
}
frame 311 {
if (_level0.attacked.damage > 0) {
gotoAndPlay(313);
}
}
frame 312 {
gotoAndPlay(306);
}
frame 317 {
gotoAndPlay(306);
}
}
movieClip 460 {
frame 1 {
if (_root.beltLook == 1) {
gotoAndStop(2);
} else {
if (_root.beltLook == 2) {
gotoAndStop(3);
} else {
if (_root.beltLook == 3) {
gotoAndStop(4);
} else {
if (_root.beltLook == 4) {
gotoAndStop(5);
} else {
stop();
}
}
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 469 {
frame 1 {
if (_root.armorLook1 == 1) {
gotoAndStop(2);
} else {
if (_root.armorLook1 == 2) {
gotoAndStop(3);
} else {
if (_root.armorLook1 == 3) {
gotoAndStop(4);
} else {
if (_root.armorLook1 == 4) {
gotoAndStop(5);
} else {
if (_root.armorLook1 == 5) {
gotoAndStop(6);
} else {
if (_root.armorLook1 == 6) {
gotoAndStop(7);
} else {
if (_root.armorLook1 == 7) {
gotoAndStop(8);
} else {
if (_root.armorLook1 == 8) {
gotoAndStop(9);
} else {
if (_root.armorLook1 == 9) {
gotoAndStop(10);
} else {
if (_root.armorLook1 == 10) {
gotoAndStop(11);
} else {
stop();
}
}
}
}
}
}
}
}
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
}
movieClip 480 {
frame 1 {
if (_root.weaponLook == 1) {
gotoAndPlay(16);
} else {
if (_root.weaponLook == 2) {
gotoAndPlay(17);
} else {
if (_root.weaponLook == 3) {
gotoAndPlay(18);
} else {
if (_root.weaponLook == 4) {
gotoAndPlay(19);
} else {
if (_root.weaponLook == 5) {
gotoAndPlay(20);
} else {
if (_root.weaponLook == 6) {
gotoAndPlay(21);
} else {
if (_root.weaponLook == 7) {
gotoAndPlay(22);
} else {
stop();
}
}
}
}
}
}
}
}
frame 15 {
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
}
movieClip 489 {
frame 1 {
if (_root.ZombieInfected == 1) {
gotoAndPlay(7);
} else {
if (_level0.PercentLoaded < 80 && _level0.PercentLoaded > 70) {
gotoAndStop(2);
} else {
if (_level0.PercentLoaded < 70 && _level0.PercentLoaded > 50) {
gotoAndStop(3);
} else {
if (_level0.PercentLoaded < 50 && _level0.PercentLoaded > 40) {
gotoAndPlay(4);
} else {
if (_level0.PercentLoaded < 40 && _level0.PercentLoaded > 20) {
gotoAndPlay(5);
} else {
if (_level0.PercentLoaded < 20) {
gotoAndPlay(6);
} else {
stop();
}
}
}
}
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
if (_root.ZombieInfected != 1) {
gotoAndPlay(1);
}
}
frame 8 {
gotoAndPlay(7);
}
}
movieClip 503 {
frame 1 {
if (_level0.glassesLook1 == 1) {
gotoAndStop(26);
} else {
if (_level0.glassesLook1 == 2) {
gotoAndStop(27);
} else {
if (_level0.glassesLook1 == 3) {
gotoAndStop(28);
} else {
if (_root.sleepEl == 1) {
gotoAndPlay(96);
}
}
}
}
}
frame 25 {
gotoAndPlay(1);
}
frame 96 {
if (_root.sleepEl == 0) {
gotoAndPlay(1);
}
}
frame 97 {
gotoAndPlay(96);
}
}
movieClip 505 {
}
movieClip 524 {
frame 1 {
colorin = new Color(this);
if (_root.cowBoy == 1) {
gotoAndStop(39);
} else {
if (_root.hairStyle == 1) {
gotoAndStop(38);
} else {
if (_root.hairStyle == 2) {
gotoAndStop(37);
} else {
if (_root.hairStyle == 3) {
gotoAndStop(40);
} else {
if (_root.hairStyle == 4) {
gotoAndStop(41);
} else {
if (_root.hairStyle == 5) {
gotoAndStop(42);
} else {
if (_root.hairStyle == 6) {
gotoAndStop(43);
} else {
if (_root.hairStyle == 7) {
gotoAndStop(44);
} else {
if (_root.hairStyle == 8) {
gotoAndStop(45);
} else {
if (_root.hairStyle == 9) {
gotoAndStop(46);
} else {
if (_root.hairStyle == 10) {
gotoAndStop(47);
} else {
if (_root.hairStyle == 11) {
gotoAndStop(48);
} else {
if (_level0.hair == 1) {
gotoAndStop(2);
} else {
if (_level0.hair == 2) {
gotoAndStop(3);
} else {
if (_level0.hair == 3) {
gotoAndStop(4);
} else {
if (_level0.hair == 4) {
gotoAndStop(5);
} else {
if (_level0.hair == 5) {
gotoAndStop(6);
} else {
stop();
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
frame 37 {
stop();
}
frame 38 {
stop();
}
frame 39 {
stop();
}
frame 40 {
stop();
}
frame 41 {
stop();
}
frame 42 {
stop();
}
frame 43 {
stop();
}
frame 44 {
stop();
}
frame 45 {
stop();
}
frame 46 {
stop();
}
frame 47 {
stop();
}
frame 48 {
stop();
}
}
movieClip 525 {
frame 1 {
if (_root.playerpoison == 1) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 2 {
if (_root.deadEnemy == 1 || _root.deadd == 1) {
_root.playerpoison = 0;
gotoAndPlay(1);
}
if (_root.pois >= 24) {
_root.pois = 0;
_root.char1 = _root.char1 - random(15) - 5;
if (_root.char1 < 0) {
_root.char1 = 1;
}
}
}
frame 7 {
_root.pois += 3;
gotoAndPlay(1);
}
}
movieClip 526 {
frame 1 {
if (_root.sleepEl == 1) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 11 {
chance = random(28) + 1;
switch (chance) {
case 3:
case 10:
case 4:
_root.sleepEl = 0;
gotoAndPlay(1);
break;
default:
gotoAndPlay(2);
}
}
}
movieClip 528 {
frame 1 {
if (_root.replenish == 1) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 15 {
if (_root.waitOn != 1) {
_root.moHp += 4;
if (_root.moHp >= 18) {
_root.char1 = _root.char1 + random(10 + 2 * _root.replenishskilled) + 11 + 5 * _root.replenishskilled;
_root.moHp = 0;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
}
gotoAndPlay(1);
}
}
movieClip 531 {
frame 1 {
if (_root.blind1 == 1) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 10 {
gotoAndPlay(1);
}
}
movieClip 537 {
}
movieClip 538 {
frame 1 {
if (_root.berzerko2 > 0) {
gotoAndPlay(2);
} else {
stop();
}
}
}
movieClip 561 {
}
movieClip 619 {
frame 1 {
if (_root.defendy1 == 1) {
gotoAndPlay(34);
} else {
if (_level0.char1 <= 25) {
gotoAndPlay(9);
}
}
if (_root.miniYou == 2) {
gotoAndPlay(31);
}
if (_level0.enemy.damage == 'MISS!' || _level0.enemy.damage3 == 'MISS!') {
gotoAndPlay(20);
} else {
if (_level0.enemy.damage3 > 0) {
gotoAndPlay(25);
} else {
if (_level0.enemy.damage > 0) {
gotoAndPlay(14);
}
}
}
}
frame 2 {
if (_root.miniYou == 2) {
gotoAndPlay(31);
}
if (_level0.enemy.damage == 'MISS!' || _level0.enemy.damage3 == 'MISS!') {
gotoAndPlay(20);
} else {
if (_level0.enemy.damage3 > 0) {
gotoAndPlay(25);
} else {
if (_level0.enemy.damage > 0) {
gotoAndPlay(14);
}
}
}
}
frame 3 {
if (_root.miniYou == 2) {
gotoAndPlay(31);
}
if (_level0.enemy.damage == 'MISS!' || _level0.enemy.damage3 == 'MISS!') {
gotoAndPlay(20);
} else {
if (_level0.enemy.damage3 > 0) {
gotoAndPlay(25);
} else {
if (_level0.enemy.damage > 0) {
gotoAndPlay(14);
}
}
}
}
frame 4 {
if (_root.miniYou == 2) {
gotoAndPlay(31);
}
if (_level0.enemy.damage == 'MISS!' || _level0.enemy.damage3 == 'MISS!') {
gotoAndPlay(20);
} else {
if (_level0.enemy.damage3 > 0) {
gotoAndPlay(25);
} else {
if (_level0.enemy.damage > 0) {
gotoAndPlay(14);
}
}
}
}
frame 5 {
if (_root.miniYou == 2) {
gotoAndPlay(31);
}
if (_level0.enemy.damage == 'MISS!' || _level0.enemy.damage3 == 'MISS!') {
gotoAndPlay(20);
} else {
if (_level0.enemy.damage3 > 0) {
gotoAndPlay(25);
} else {
if (_level0.enemy.damage > 0) {
gotoAndPlay(14);
}
}
}
}
frame 6 {
if (_root.miniYou == 2) {
gotoAndPlay(31);
}
if (_level0.enemy.damage == 'MISS!' || _level0.enemy.damage3 == 'MISS!') {
gotoAndPlay(20);
} else {
if (_level0.enemy.damage3 > 0) {
gotoAndPlay(25);
} else {
if (_level0.enemy.damage > 0) {
gotoAndPlay(14);
}
}
}
}
frame 7 {
if (_root.miniYou == 2) {
gotoAndPlay(31);
}
if (_level0.enemy.damage == 'MISS!' || _level0.enemy.damage3 == 'MISS!') {
gotoAndPlay(20);
} else {
if (_level0.enemy.damage3 > 0) {
gotoAndPlay(25);
} else {
if (_level0.enemy.damage > 0) {
gotoAndPlay(14);
}
}
}
}
frame 8 {
gotoAndPlay(1);
}
frame 10 {
if (_level0.char1 > 25) {
gotoAndPlay(1);
}
if (_level0.enemy.hittest(_level0.you)) {
gotoAndPlay(14);
}
}
frame 11 {
if (_level0.enemy.hittest(_level0.you)) {
gotoAndPlay(14);
}
}
frame 12 {
if (_level0.enemy.hittest(_level0.you)) {
gotoAndPlay(14);
}
}
frame 13 {
gotoAndPlay(10);
}
frame 19 {
gotoAndPlay(1);
}
frame 24 {
if (_level0.enemy.damage == 'MISS!') {
gotoAndPlay(23);
} else {
gotoAndPlay(1);
}
}
frame 30 {
gotoAndPlay(1);
}
frame 33 {
_root.turn = 1;
_root.attack = 0;
_root.done = 1;
gotoAndPlay(34);
}
frame 38 {
if (_root.defendy1 == 0) {
gotoAndPlay(38);
} else {
gotoAndPlay(34);
}
}
frame 41 {
gotoAndPlay(1);
}
}
movieClip 623 {
}
movieClip 627 {
frame 1 {
if (_root.stopIt != 1) {
if (_root.enemyhp <= 0 || _root.deaddy == 1 || _root.waitOn == 1 || _root.enemySleepy == 1 || _root.counterOn == 1) {
} else {
_level0.enemyattack += (_level0.enemyspeed / _level0.enemytime) * 100;
}
if (_level0.enemyattack != 100) {
eval(bar)._xscale = _level0.enemyattack;
}
if (_level0.enemyattack >= 100) {
_level0.wait1 = 1;
gotoAndPlay(6);
}
}
}
frame 5 {
gotoAndPlay(1);
}
frame 6 {
if (_level0.done == 1) {
_level0.wait1 = 0;
gotoAndPlay(8);
} else {
if (_level0.enemyattack > 100) {
gotoAndPlay(2);
}
}
}
frame 7 {
gotoAndPlay(6);
}
frame 9 {
if (_level0.slowturn > 0) {
_level0.slowturn -= 1;
if (_level0.slowturn == 0) {
_level0.enemyspeed += 2;
_level0.slowturn = -1;
_level0.useSlow = 0;
}
}
if (_root.confused > 0) {
damYou = random(3) + 1;
if (damYou == 2) {
_root.attackSelf = 1;
}
}
if (_level0.enemyattack < 100) {
gotoAndPlay(1);
} else {
if (_root.enemyhp <= 0) {
} else {
if (_root.attackSelf == 1) {
_level0.enemydone = 1;
_level0.turn = 1;
gotoAndPlay(10);
} else {
if (_root.guy2 == 1) {
_root.gotoAndStop(19);
} else {
_root.gotoAndStop(4);
}
}
}
}
}
frame 10 {
if (_level0.enemydone == 0) {
_level0.enemyattack = 0;
gotoAndPlay(1);
}
}
frame 11 {
gotoAndPlay(10);
}
}
movieClip 652 {
frame 1 {
if (_level0.enemy2 == 1) {
gotoAndStop(2);
} else {
if (_level0.enemy3 == 1) {
gotoAndPlay(3);
} else {
if (_level0.enemy4 == 1) {
gotoAndPlay(4);
} else {
if (_level0.enemy5 == 1) {
gotoAndPlay(5);
} else {
if (_level0.enemy6 == 1) {
gotoAndPlay(6);
} else {
if (_level0.enemy7 == 1) {
gotoAndPlay(7);
} else {
if (_root.enemy8 == 1) {
gotoAndPlay(8);
} else {
if (_root.enemy9 == 1) {
gotoAndStop(9);
} else {
if (_root.enemy10 == 1) {
gotoAndStop(10);
} else {
if (_root.enemy11 == 1) {
gotoAndStop(11);
} else {
if (_root.enemy12 == 1) {
gotoAndStop(12);
} else {
if (_root.enemy13 == 1) {
gotoAndStop(13);
} else {
if (_root.enemy14 == 1) {
gotoAndStop(14);
} else {
if (_root.enemy15 == 1) {
gotoAndStop(15);
} else {
if (_root.enemy16 == 1) {
gotoAndStop(16);
} else {
if (_root.enemy17 == 1) {
gotoAndStop(17);
} else {
if (_root.enemy18 == 1) {
gotoAndStop(18);
} else {
if (_root.enemy19 == 1) {
gotoAndStop(19);
} else {
if (_root.enemy20 == 1) {
gotoAndStop(20);
} else {
if (_root.enemy21 == 1) {
gotoAndStop(23);
} else {
if (_root.boss1 == 1) {
gotoAndStop(21);
} else {
if (_root.boss2 == 1) {
gotoAndStop(22);
} else {
if (_root.boss3 == 1) {
gotoAndStop(24);
} else {
stop();
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
}
movieClip 659 {
frame 1 {
stop();
}
}
movieClip 666 {
frame 1 {
if (_level0.critical1 != 100) {
eval(bar5)._xscale = _level0.critical1;
}
}
frame 2 {
gotoAndPlay(1);
}
}
button 669 {
on (release) {
_level0.tookturn = 1;
_root.attackmoo = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(3);
}
}
button 671 {
on (release) {
_level0.useMagic = 1;
gotoAndPlay(2);
}
}
button 673 {
on (release) {
_level0.useTech = 1;
gotoAndPlay(3);
}
}
button 675 {
on (release) {
_level0.useSummon = 1;
gotoAndStop(4);
}
}
button 677 {
on (release) {
_level0.useItems = 1;
gotoAndPlay(5);
}
}
button 679 {
on (release) {
dude = random(2) + 1;
if (dude == 1) {
_level0.tookturn = 1;
_root.switchyGuy1 = 0;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(14);
} else {
_root.waitOn = 0;
gotoAndPlay(9);
}
}
}
button 681 {
on (release) {
if (_root.char2Alive == true) {
_level0.tookturn = 1;
_root.switchyGuy1 = 1;
_root.guy2 = 1;
_root.tipBat = '';
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(14);
} else {
gotoAndPlay(13);
}
}
}
button 683 {
on (release) {
_root.youE.gotoAndPlay(31);
_root.defendy1 = 1;
_level0.tookturn = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
}
}
button 685 {
on (release) {
gotoAndStop(11);
}
}
button 691 {
on (rollOver) {
_root.tipBat = 'Replenishs some HP';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp1 >= 3) {
_level0.tookturn = 1;
_root.doMagic = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(5);
} else {
gotoAndPlay(6);
}
}
}
button 694 {
on (release) {
_level0.useMagic = 0;
gotoAndPlay(1);
}
}
button 697 {
on (rollOver) {
_root.tipBat = 'Slows the enemy';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp1 >= 5) {
_level0.tookturn = 1;
_root.doMagic = 1;
_level0.turn = 0;
_root.slow = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(5);
} else {
gotoAndPlay(6);
}
}
}
button 700 {
on (rollOver) {
_root.tipBat = 'Causes fire damage';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp1 >= 4) {
_level0.tookturn = 1;
_root.doMagic = 1;
_level0.turn = 0;
_root.fire = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(5);
} else {
gotoAndPlay(6);
}
}
}
button 703 {
on (rollOver) {
_root.tipBat = 'Causes lightning damage';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp1 >= 5) {
_level0.tookturn = 1;
_root.doMagic = 1;
_level0.turn = 0;
_root.light = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(5);
} else {
gotoAndPlay(6);
}
}
}
button 706 {
on (rollOver) {
_root.tipBat = 'Increases your speed to attack';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp1 >= 10) {
_level0.tookturn = 1;
_level0.turn = 0;
_root.doMagic = 1;
_root.haste = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(5);
} else {
gotoAndPlay(6);
}
}
}
button 709 {
on (rollOver) {
_root.tipBat = 'Causes ice damage';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp1 >= 3) {
_level0.tookturn = 1;
_root.doMagic = 1;
_level0.turn = 0;
_root.ice = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(5);
} else {
gotoAndPlay(6);
}
}
}
button 712 {
on (rollOver) {
_root.tipBat = 'Casts status: replenish';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp1 >= 10) {
_root.tookturn = 1;
_root.doMagic = 1;
_root.turn = 0;
_root.recover = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(5);
} else {
_root.score.timebar.menuu.gotoAndPlay(6);
}
}
}
button 715 {
on (rollOver) {
_root.tipBat = 'Stops the enemy';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp1 >= 7) {
_level0.tookturn = 1;
_level0.turn = 0;
_root.doMagic = 1;
_root.stopSting = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(5);
} else {
gotoAndPlay(6);
}
}
}
button 718 {
on (rollOver) {
_root.tipBat = 'Casts status: Poison';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp1 >= 10) {
_level0.tookturn = 1;
_level0.turn = 0;
_root.doMagic = 1;
_root.bioyo = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(5);
} else {
gotoAndPlay(6);
}
}
}
button 720 {
on (release) {
gotoAndPlay(10);
}
}
button 723 {
on (rollOver) {
_root.tipBat = 'Revives you once when you die.';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp1 >= 30) {
_root.tookturn = 1;
_root.doMagic = 1;
_root.turn = 0;
_root.backCome = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(5);
} else {
_root.score.timebar.menuu.gotoAndPlay(6);
}
}
}
button 726 {
on (release) {
_level0.useTech = 0;
gotoAndPlay(1);
}
}
button 729 {
on (rollOver) {
_root.tipBat = 'Quikly attacks the enemy';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_root.ap >= 5) {
_level0.tookturn = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(6);
} else {
gotoAndPlay(8);
}
}
}
button 732 {
on (rollOver) {
_root.tipBat = 'Casts status: darkness';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_root.ap >= 30) {
_level0.tookturn = 1;
_level0.turn = 0;
_level0.darkness = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(6);
} else {
gotoAndPlay(8);
}
}
}
button 735 {
on (rollOver) {
_root.tipBat = 'Delays the enemy\'s attack';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_root.ap >= 15) {
_level0.tookturn = 1;
_level0.turn = 0;
_level0.delay = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(6);
} else {
gotoAndPlay(8);
}
}
}
button 740 {
on (rollOver) {
_root.tipBat = 'Steals an item from the enemy';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_root.ap >= 25) {
_level0.tookturn = 1;
_level0.turn = 0;
_root.stealAction = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(6);
} else {
gotoAndPlay(8);
}
}
}
button 743 {
on (rollOver) {
_root.tipBat = 'Displays the enemy\'s hp and p-level';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_root.ap >= 10) {
_level0.tookturn = 1;
_level0.turn = 0;
_level0.scanIt = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(6);
} else {
gotoAndPlay(8);
}
}
}
button 746 {
on (rollOver) {
_root.tipBat = 'Transfers HP from the enemy to you';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_root.ap >= 30) {
_level0.tookturn = 1;
_level0.turn = 0;
_root.drainithp = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(6);
} else {
gotoAndPlay(8);
}
}
}
button 749 {
on (rollOver) {
_root.tipBat = 'Transfers MP from the enemy to you';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_root.ap >= 30) {
_level0.tookturn = 1;
_level0.turn = 0;
_root.drainitmp = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(6);
} else {
gotoAndPlay(8);
}
}
}
button 752 {
on (rollOver) {
_root.tipBat = 'Take two turns for the price of one';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_root.ap >= 50) {
_root.ap -= 50;
_root.doubleTurn = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
this.gotoAndStop(1);
} else {
this.gotoAndStop(8);
}
}
}
button 755 {
on (release) {
_level0.useSummon = 0;
gotoAndPlay(1);
}
}
button 758 {
on (rollOver) {
_root.tipBat = 'Causes great fire damage';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp1 >= 10) {
_level0.tookturn = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(7);
} else {
gotoAndPlay(6);
}
}
}
button 761 {
on (rollOver) {
_root.tipBat = 'Casts great lightning damage';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp1 >= 15) {
_level0.tookturn = 1;
_level0.turn = 0;
_level0.horse = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(7);
} else {
gotoAndPlay(6);
}
}
}
button 764 {
on (rollOver) {
_root.tipBat = 'Causes great damage and casts poison';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp1 >= 35) {
_level0.tookturn = 1;
_level0.turn = 0;
_level0.dragoon = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(7);
} else {
gotoAndPlay(6);
}
}
}
button 767 {
on (rollOver) {
_root.tipBat = 'Causes great damage and casts sleep';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp1 >= 40) {
_level0.tookturn = 1;
_level0.turn = 0;
_level0.hypo = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(7);
} else {
gotoAndPlay(6);
}
}
}
button 770 {
on (rollOver) {
_root.tipBat = 'Causes great damage, casts poison, and sleep';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp1 >= 75) {
_level0.tookturn = 1;
_level0.turn = 0;
_level0.nighty = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(7);
} else {
gotoAndPlay(6);
}
}
}
button 773 {
on (release) {
_level0.useItems = 0;
gotoAndPlay(1);
}
}
button 775 {
on (rollOver) {
_root.tipBat = 'Replenishs 50 HP';
quant = _root.potion;
}
on (rollOut) {
_root.tipBat = '';
quant = '';
}
on (release) {
if (_level0.potion > 0) {
_level0.tookturn = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(8);
} else {
gotoAndPlay(7);
}
}
}
button 777 {
on (rollOver) {
_root.tipBat = 'Revives a fallen ally';
quant = _root.revive;
}
on (rollOut) {
_root.tipBat = '';
quant = '';
}
on (release) {
if (_level0.revive > 0) {
if (_root.char2Alive == false) {
_root.revivey = 1;
_level0.tookturn = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(8);
} else {
gotoAndStop(12);
}
} else {
gotoAndPlay(7);
}
}
}
button 779 {
on (rollOver) {
_root.tipBat = 'Replenishs 20MP';
quant = _root.ether;
}
on (rollOut) {
_root.tipBat = '';
quant = '';
}
on (release) {
if (_level0.ether > 0) {
_level0.tookturn = 1;
_level0.turn = 0;
_level0.ethah = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(8);
} else {
gotoAndPlay(7);
}
}
}
button 781 {
on (rollOver) {
_root.tipBat = 'Replenishs 300HP';
quant = _root.hpotion;
}
on (rollOut) {
_root.tipBat = '';
quant = '';
}
on (release) {
if (_level0.hpotion > 0) {
_level0.tookturn = 1;
_level0.turn = 0;
_level0.hpotions = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(8);
} else {
gotoAndPlay(7);
}
}
}
button 783 {
on (rollOver) {
_root.tipBat = 'Replenishs all HP';
quant = _root.xpotion;
}
on (rollOut) {
_root.tipBat = '';
quant = '';
}
on (release) {
if (_level0.xpotion > 0) {
_level0.tookturn = 1;
_level0.turn = 0;
_level0.xpotions = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(8);
} else {
gotoAndPlay(7);
}
}
}
button 785 {
on (rollOver) {
_root.tipBat = 'Replenishs all HP and MP';
quant = _root.elixir;
}
on (rollOut) {
_root.tipBat = '';
quant = '';
}
on (release) {
if (_level0.elixir > 0) {
_level0.tookturn = 1;
_level0.turn = 0;
_level0.elixah = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(8);
} else {
gotoAndPlay(7);
}
}
}
button 787 {
on (rollOver) {
_root.tipBat = 'Removes all bad status effects';
quant = _root.antidote;
}
on (rollOut) {
_root.tipBat = '';
quant = '';
}
on (release) {
if (_level0.antidote > 0) {
_level0.tookturn = 1;
_level0.turn = 0;
_level0.antiHah = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(8);
} else {
gotoAndPlay(7);
}
}
}
button 791 {
on (release) {
_root.tipBat = '';
gotoAndPlay(1);
}
}
button 800 {
on (release) {
_level0.attack = 0;
_root.runIt = 0;
_root.waitOn = 0;
tellTarget ('_root.score.timebar') {
gotoAndPlay(1);
}
}
}
button 807 {
on (rollOver) {
_root.tipBat = 'Causes great damage';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp1 >= 15) {
_level0.tookturn = 1;
_level0.turn = 0;
_root.doMagic = 1;
_root.furStam = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(5);
} else {
gotoAndPlay(6);
}
}
}
button 810 {
on (rollOver) {
_root.tipBat = 'Causes magic attacks to do less damage';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp1 >= 5) {
_level0.tookturn = 1;
_level0.turn = 0;
_root.doMagic = 1;
_root.shellglah = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(5);
} else {
gotoAndPlay(6);
}
}
}
button 812 {
on (release) {
gotoAndPlay(2);
}
}
button 815 {
on (rollOver) {
_root.tipBat = 'Causes physical attacks to do less damage';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp1 >= 6) {
_level0.tookturn = 1;
_level0.turn = 0;
_root.doMagic = 1;
_root.protectgah = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(5);
} else {
gotoAndPlay(6);
}
}
}
button 818 {
on (rollOver) {
_root.tipBat = 'Casts status: Leech';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp1 >= 35) {
_level0.tookturn = 1;
_root.doMagic = 1;
_level0.turn = 0;
_root.leechy = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(5);
} else {
_root.score.timebar.menuu.gotoAndPlay(6);
}
}
}
button 821 {
on (rollOver) {
_root.tipBat = 'Casts sleep on the enemy';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp1 >= 7) {
_level0.tookturn = 1;
_root.doMagic = 1;
_level0.turn = 0;
_root.sleepLa = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(5);
} else {
_root.score.timebar.menuu.gotoAndPlay(6);
}
}
}
button 824 {
on (rollOver) {
_root.tipBat = 'Causes massive damage';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp1 >= 50) {
_level0.tookturn = 1;
_level0.turn = 0;
_root.doMagic = 1;
_root.ultimaMe = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(5);
} else {
gotoAndPlay(6);
}
}
}
button 827 {
on (rollOver) {
_root.tipBat = 'Casts death on the enemy';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp1 >= 60) {
_level0.tookturn = 1;
_level0.turn = 0;
_root.doMagic = 1;
_root.deathyMe = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(5);
} else {
gotoAndPlay(6);
}
}
}
button 830 {
on (rollOver) {
_root.tipBat = 'Inflicts damage and causes random statuses';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
_level0.tookturn = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(9);
}
}
button 832 {
on (rollOver) {
_root.tipBat = 'Inflicts major damage according to level.';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
_level0.tookturn = 1;
_level0.turn = 0;
_root.limity2 = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(9);
}
}
button 834 {
on (rollOver) {
_root.tipBat = 'Either kills the enemy, or reduces hp of enemy by 1/2 or 1/3';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
_level0.tookturn = 1;
_level0.turn = 0;
_root.limity3 = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(9);
}
}
movieClip 839 {
frame 1 {
_root.defendy1 = 0;
if (_root.limit != 100) {
this.limy._visible = false;
}
if (_root.charSwitchOn == false) {
_root.score.timebar.menuu.charSwitch._visible = false;
}
if (_root.runIt == 1) {
gotoAndPlay(9);
} else {
if (_level0.useMagic == 1) {
_level0.useMagic = 0;
gotoAndPlay(2);
} else {
if (_level0.useSummon == 1) {
_level0.useSummon = 0;
gotoAndPlay(4);
} else {
if (_level0.useItems == 1) {
_level0.useItems = 0;
gotoAndPlay(5);
} else {
if (_level0.useTech == 1) {
_level0.useTech = 0;
gotoAndPlay(3);
} else {
stop();
}
}
}
}
}
}
frame 2 {
if (_root.comebackskilled <= 0) {
_root.score.timebar.menuu.comey._visible = false;
}
if (_root.hasteskilled <= 0) {
_root.score.timebar.menuu.hasten._visible = false;
}
if (_root.stopskilled <= 0) {
_root.score.timebar.menuu.slapt._visible = false;
}
if (_root.replenishskilled <= 0) {
_root.score.timebar.menuu.replen._visible = false;
}
stop();
}
frame 3 {
if (_root.hpdrainskilled <= 0) {
_root.score.timebar.menuu.moofAh._visible = false;
}
if (_root.mpdrainskilled <= 0) {
_root.score.timebar.menuu.moofAh2._visible = false;
}
if (_root.doubleTurn > 0 || _root.supeSpeed == 0) {
_root.score.timebar.menuu.doubTurn._visible = false;
}
stop();
}
frame 4 {
if (_root.lighthorseskilled <= 0) {
_root.score.timebar.menuu.lightyHah._visible = false;
}
if (_root.dragonskilled <= 0) {
_root.score.timebar.menuu.dragy._visible = false;
}
if (_root.hypnotistskilled <= 0) {
_root.score.timebar.menuu.hypy._visible = false;
}
if (_root.nightmareskilled <= 0) {
_root.score.timebar.menuu.nightmar._visible = false;
}
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
_root.waitOn = 0;
stop();
}
frame 10 {
if (_root.shellskilled <= 0) {
_root.score.timebar.menuu.shellsa._visible = false;
}
if (_root.deathskilled <= 0) {
_root.score.timebar.menuu.deeth._visible = false;
}
if (_root.sleepskilled <= 0) {
_root.score.timebar.menuu.sleepah._visible = false;
}
if (_root.ultimaskilled <= 0) {
_root.score.timebar.menuu.ulty._visible = false;
}
if (_root.leechskilled <= 0) {
_root.score.timebar.menuu.leechy._visible = false;
}
if (_root.protectskilled <= 0) {
_root.score.timebar.menuu.protectsa._visible = false;
}
if (_root.furystormskilled <= 0) {
_root.score.timebar.menuu.furstame._visible = false;
}
stop();
}
frame 11 {
if (_root.level < 10) {
this.limit2._visible = false;
}
if (_root.level < 17) {
this.limit3._visible = false;
}
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
}
movieClip 843 {
frame 1 {
if (_root.helpModeOn == 1) {
gotoAndStop(2);
} else {
stop();
}
}
}
movieClip 846 {
frame 1 {
if (_root.waitMode == 1 && _level0.enemydone == 1) {
} else {
if (_root.enemyhp <= 0 || _root.char1 <= 0 || _root.sleepEl == 1) {
} else {
if (_root.PercentLoaded <= 50) {
_level0.attack += ((_level0.speed + _root.speedEx * 0.09 + _root.stickCourage + 0.5) / _level0.timeyou) * 100;
} else {
_level0.attack += ((_level0.speed + _root.speedEx * 0.09) / _level0.timeyou) * 100;
}
}
}
if (_level0.attack != 100) {
eval(bar)._xscale = _level0.attack;
}
if (_level0.attack >= 100) {
_level0.turn = 0;
_root.sound1.attachSound('menSound');
_root.sound1.start();
gotoAndPlay(6);
}
}
frame 5 {
gotoAndPlay(1);
}
frame 6 {
if (_root.sleepEl == 1) {
gotoAndPlay(15);
} else {
if (_root.waitMode == 1) {
_root.waitOn = 1;
}
}
if (_root.char1 <= 0) {
_root.attack = 0;
gotoAndPlay(1);
}
if (_root.enemyhp <= 0) {
gotoAndPlay(13);
} else {
if (_level0.enemydone == 1) {
_level0.wait2 = 1;
gotoAndPlay(11);
} else {
if (_level0.tookturn == 1) {
_level0.tookturn = 0;
gotoAndPlay(8);
}
}
}
}
frame 7 {
gotoAndPlay(6);
}
frame 8 {
_level0.done = 0;
_root.tipBat = '';
_level0.useItems = 0;
_level0.useMagic = 0;
_level0.useSummon = 0;
_level0.useTech = 0;
if (_root.recoverTurn > 0) {
_root.recoverTurn -= 1;
if (_root.recoverTurn == 0) {
_root.replenish = 0;
}
}
if (_root.leechOn > 0) {
_root.leechOn = _rootleechOn - 1;
}
if (_level0.hasteturn > 0) {
_level0.hasteturn -= 1;
if (_level0.hasteturn == 0) {
_level0.speed -= 3;
_level0.hasteturn = -1;
_level0.useHaste = 0;
}
}
}
frame 9 {
if (_level0.turn == 1) {
_level0.turn = 0;
_root.waitOn = 0;
gotoAndPlay(1);
}
}
frame 10 {
gotoAndPlay(9);
}
frame 11 {
if (_level0.enemydone == 0) {
_level0.wait2 = 0;
gotoAndPlay(6);
} else {
if (_level0.tookturn == 1) {
_level0.tookturn = 0;
_level0.wait2 = 0;
gotoAndPlay(9);
}
}
}
frame 12 {
gotoAndPlay(11);
}
frame 14 {
gotoAndPlay(13);
}
frame 15 {
if (_root.sleepEl == 0) {
_root.asleep = 0;
gotoAndPlay(6);
}
}
frame 16 {
asleep += 1;
gotoAndPlay(15);
}
}
movieClip 849 {
}
movieClip 850 {
}
movieClip 851 {
frame 1 {
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
if (_level0.PercentLoaded != 100) {
eval(bar)._xscale = _level0.PercentLoaded;
}
if (_level0.PercentLoaded >= 100) {
this.bar._xscale = 103;
}
if (_level0.PercentLoaded <= 30) {
gotoAndPlay(3);
}
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
if (_level0.PercentLoaded != 100) {
eval(bar2)._xscale = _level0.PercentLoaded;
}
if (_level0.PercentLoaded > 30) {
gotoAndPlay(1);
}
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 858 {
}
movieClip 864 {
frame 1 {
if (_level0.limit == 100) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 10 {
gotoAndPlay(1);
}
}
movieClip 865 {
frame 1 {
if (_level0.limit >= 100) {
_level0.limit = 100;
if (limitSet != 1) {
limitSet = 1;
this.limitHah.gotoAndPlay(2);
}
}
if (_level0.limit != 100) {
eval(bar4)._xscale = _level0.limit;
} else {
this.bar4._xscale = 110;
}
}
frame 2 {
gotoAndPlay(1);
}
}
button 870 {
on (release) {
if (_root.openIt != 1) {
_root.openIt = 1;
_root.score.statsOh.gotoAndPlay(2);
}
}
}
button 886 {
on (release) {
_root.openIt = 0;
gotoAndPlay(6);
}
}
movieClip 893 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
}
movieClip 908 {
frame 1 {
stop();
}
frame 5 {
stop();
}
instance of movieClip 893 {
onClipEvent (load) {
if (_root.sleepEl != 1) {
this._visible = false;
} else {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.sleepEl != 1) {
this._visible = false;
} else {
this.gotoAndStop(2);
}
}
}
instance of movieClip 893 {
onClipEvent (load) {
if (_root.playerpoison != 1) {
this._visible = false;
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.playerpoison != 1) {
this._visible = false;
} else {
this.gotoAndStop(1);
}
}
}
instance of movieClip 893 {
onClipEvent (load) {
if (_root.blind1 != 1) {
this._visible = false;
} else {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.blind1 != 1) {
this._visible = false;
} else {
this.gotoAndStop(3);
}
}
}
instance of movieClip 893 {
onClipEvent (load) {
if (_root.ZombieInfected != 1) {
this._visible = false;
} else {
this.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (_root.ZombieInfected != 1) {
this._visible = false;
} else {
this.gotoAndStop(4);
}
}
}
instance of movieClip 893 {
onClipEvent (load) {
if (_root.replenish != 1) {
this._visible = false;
} else {
this.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (_root.replenish != 1) {
this._visible = false;
} else {
this.gotoAndStop(5);
}
}
}
instance of movieClip 893 {
onClipEvent (load) {
if (_root.berzerko2 != 1) {
this._visible = false;
} else {
this.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (_root.berzerko2 != 1) {
this._visible = false;
} else {
this.gotoAndStop(6);
}
}
}
}
movieClip 909 {
frame 1 {
if (_root.enemyInfo != 1) {
_root.score.enInfo._visible = false;
}
}
}
movieClip 928 {
}
movieClip 970 {
frame 1 {
stop();
}
frame 7 {
if (_root.attackThis == 1) {
_root.attackThis = 0;
gotoAndPlay(26);
}
}
frame 12 {
hpUp = random(200) + 200;
damage2 = '+ ' + hpUp + ' HP!';
}
frame 25 {
if (_root.guy2 == 1) {
_root.char2 += hpUp;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
} else {
_root.char1 += hpUp;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
gotoAndStop(1);
}
frame 33 {
dam = random(300) + 150;
damage2 = '+ ' + dam + ' HP!';
}
frame 46 {
_root.enemyhp -= dam;
}
}
movieClip 971 {
frame 1 {
daynight = new Date();
dayframe = daynight.getHours() + 2;
this.gotoAndStop(dayframe);
}
}
movieClip 972 {
frame 1 {
if (_root.fadeOut == 0) {
gotoAndStop(7);
}
}
frame 7 {
if (_root.loadIt2 == 1) {
_root.loadIt2 = 0;
_root.fadeOut = 1;
} else {
_root.fadeOut = 0;
}
stop();
}
}
movieClip 973 {
frame 9 {
_root.clockSeconds += 1;
if (_root.clockSeconds == 60) {
_root.clockSeconds = 0;
_root.clockMinutes += 1;
}
if (_root.clockMinutes == 60) {
_root.clockMinutes = 0;
_root.clockHours += 1;
}
}
}
frame 3 {
stop();
}
movieClip 1108 {
frame 1 {
if (_root.attackmoo != 1) {
_root.gotoAndPlay(2);
} else {
_root.attackmoo = 0;
_root.ap += 5;
_level0.done = 0;
attack = random(4) + 1;
switch (attack) {
case 1:
break;
case 2:
gotoAndPlay(17);
break;
case 3:
gotoAndPlay(33);
break;
case 4:
gotoAndPlay(47);
}
}
}
frame 8 {
damage = random(20 + _root.strength) + 10 + _root.strength;
if (_root.statusskilled > 0) {
temp = _root.statusskilled;
while (temp > 0) {
dudah = random(11) + 1;
switch (dudah) {
case 1:
_root.pOn = 1;
break;
case 2:
_root.stopIt = 1;
break;
case 3:
_root.enemySleepy = 1;
break;
case 4:
_root.confused = random(100) + 40;
break;
case 5:
_root.ballLight = 3 + _root.ballLightskilled;
break;
case 6:
_root.infectedDarkness = 120;
_root.darknessInfect = 13;
break;
default:
}
--temp;
}
}
if (_level0.critical1 == 100) {
_level0.critical1 = 0;
damage *= 2;
}
if (_root.miniYou == 1) {
damage = 1;
}
if (_root.berzerko2 > 0) {
_root.berzerko2 -= 1;
attack4 = random(4) + 1;
switch (attack4) {
case 1:
damage *= 2;
break;
case 3:
damage *= 3;
break;
default:
}
}
damage2 = '- ' + damage + ' HP!';
_root.missRate();
if (_root.blind1 == 1 || _root.enemy15 == 1 || _root.missyNow == 1) {
damage = 0;
damage2 = 'MISS!';
}
if (_root.lifeLeech > 0) {
gainBack = Math.ceil(_root.lifeLeech * 0.07000000000000001 * damage);
_root.char1 += gainBack;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.magLeech > 0) {
gainBack = Math.ceil(_root.magLeech * 0.04 * damage);
_root.mp1 += gainBack;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
}
}
frame 16 {
_level0.critical1 += 10;
if (_root.blind1 != 1 || _root.enemy15 != 1 || _root.missyNow != 1) {
_level0.enemyhp -= damage;
}
if (_root.missyNow == 1) {
_root.missyNow = 0;
_root.enemy1attacked._x += 15;
}
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(10);
} else {
_root.gotoAndStop(2);
}
}
frame 22 {
damage = random(30 + _root.strength) + 12 + _root.strength;
if (_root.statusskilled > 0) {
temp = _root.statusskilled;
while (temp > 0) {
dudah = random(11) + 1;
switch (dudah) {
case 1:
_root.pOn = 1;
break;
case 2:
_root.stopIt = 1;
break;
case 3:
_root.enemySleepy = 1;
break;
case 4:
_root.confused = random(100) + 40;
break;
case 5:
_root.ballLight = 3 + _root.ballLightskilled;
break;
case 6:
_root.infectedDarkness = 120;
_root.darknessInfect = 13;
break;
default:
}
--temp;
}
}
if (_level0.critical1 == 100) {
_level0.critical1 = 0;
damage *= 2;
}
if (_root.berzerko2 > 0) {
_root.berzerko2 -= 1;
attack4 = random(4) + 1;
switch (attack4) {
case 1:
damage *= 2;
break;
case 3:
damage *= 3;
break;
default:
}
}
damage2 = '- ' + damage + ' HP!';
_root.missRate();
if (_root.blind1 == 1 || _root.enemy15 == 1 || _root.missyNow == 1) {
damage = 0;
damage2 = 'MISS!';
}
if (_root.lifeLeech > 0) {
gainBack = Math.ceil(_root.lifeLeech * 0.07000000000000001 * damage);
_root.char1 += gainBack;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.magLeech > 0) {
gainBack = Math.ceil(_root.magLeech * 0.04 * damage);
_root.mp1 += gainBack;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
}
_root.damaged2.gotoAndPlay(2);
}
frame 32 {
call(16);
}
frame 39 {
damage = random(30 + _root.strength) + 12 + _root.strength;
if (_root.statusskilled > 0) {
temp = _root.statusskilled;
while (temp > 0) {
dudah = random(11) + 1;
switch (dudah) {
case 1:
_root.pOn = 1;
break;
case 2:
_root.stopIt = 1;
break;
case 3:
_root.enemySleepy = 1;
break;
case 4:
_root.confused = random(100) + 40;
break;
case 5:
_root.ballLight = 3 + _root.ballLightskilled;
break;
case 6:
_root.infectedDarkness = 120;
_root.darknessInfect = 13;
break;
default:
}
--temp;
}
}
if (_level0.critical1 == 100) {
_level0.critical1 = 0;
damage *= 2;
}
if (_root.berzerko2 > 0) {
_root.berzerko2 -= 1;
attack4 = random(4) + 1;
switch (attack4) {
case 1:
damage *= 2;
break;
case 3:
damage *= 3;
break;
default:
}
}
damage2 = '- ' + damage + ' HP!';
_root.missRate();
if (_root.blind1 == 1 || _root.enemy15 == 1 || _root.missyNow == 1) {
damage = 0;
damage2 = 'MISS!';
}
if (_root.lifeLeech > 0) {
gainBack = Math.ceil(_root.lifeLeech * 0.07000000000000001 * damage);
_root.char1 += gainBack;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.magLeech > 0) {
gainBack = Math.ceil(_root.magLeech * 0.04 * damage);
_root.mp1 += gainBack;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
}
}
frame 46 {
call(16);
}
frame 54 {
damage = random(40 + _root.strength) + 20 + _root.strength;
if (_root.statusskilled > 0) {
temp = _root.statusskilled;
while (temp > 0) {
dudah = random(11) + 1;
switch (dudah) {
case 1:
_root.pOn = 1;
break;
case 2:
_root.stopIt = 1;
break;
case 3:
_root.enemySleepy = 1;
break;
case 4:
_root.confused = random(100) + 40;
break;
case 5:
_root.ballLight = 3 + _root.ballLightskilled;
break;
case 6:
_root.infectedDarkness = 120;
_root.darknessInfect = 13;
break;
default:
}
--temp;
}
}
if (_level0.critical1 == 100) {
_level0.critical1 = 0;
damage *= 2;
}
if (_root.berzerko2 > 0) {
_root.berzerko2 -= 1;
attack4 = random(4) + 1;
switch (attack4) {
case 1:
damage *= 2;
break;
case 3:
damage *= 3;
break;
default:
}
}
damage2 = '- ' + damage + ' HP!';
_root.missRate();
if (_root.blind1 == 1 || _root.enemy15 == 1 || _root.missyNow == 1) {
damage = 0;
damage2 = 'MISS!';
}
if (_root.lifeLeech > 0) {
gainBack = Math.ceil(_root.lifeLeech * 0.07000000000000001 * damage);
_root.char1 += gainBack;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.magLeech > 0) {
gainBack = Math.ceil(_root.magLeech * 0.04 * damage);
_root.mp1 += gainBack;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
}
}
frame 66 {
call(16);
}
}
frame 4 {
stop();
}
movieClip 2492 {
}
movieClip 2718 {
frame 1 {
_level0.enemydone = 1;
_level0.turn = 1;
colorin = new Color(this);
if (_root.enemyColor == 1) {
myColorTransform = {'ra': '100', 'rb': '111', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '100'};
colorin.setTransform(myColorTransform);
} else {
if (_root.enemyColor == 2) {
myColorTransform = {'ra': '100', 'rb': '111', 'ga': '100', 'gb': '96', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '100'};
colorin.setTransform(myColorTransform);
} else {
if (_root.enemyColor == 3) {
myColorTransform = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '61', 'aa': '100', 'ab': '100'};
colorin.setTransform(myColorTransform);
} else {
if (_root.enemyColor == 4) {
myColorTransform = {'ra': '100', 'rb': '86', 'ga': '100', 'gb': '35', 'ba': '100', 'bb': '51', 'aa': '100', 'ab': '100'};
colorin.setTransform(myColorTransform);
} else {
if (_root.enemyColor == 5) {
myColorTransform = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '45', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '100'};
colorin.setTransform(myColorTransform);
}
}
}
}
}
if (_root.ghostEnemy == 5 || _root.ghostEnemy == 12) {
this._alpha = 50;
}
if (_root.turnedFrog == 1) {
gotoAndPlay(1011);
} else {
if (_level0.enemy2 == 1) {
gotoAndPlay(72);
} else {
if (_level0.enemy3 == 1) {
gotoAndPlay(134);
} else {
if (_level0.enemy4 == 1) {
gotoAndPlay(180);
} else {
if (_level0.enemy5 == 1) {
gotoAndPlay(238);
} else {
if (_level0.enemy6 == 1) {
gotoAndPlay(304);
} else {
if (_level0.enemy7 == 1) {
gotoAndPlay(373);
} else {
if (_root.enemy8 == 1) {
gotoAndPlay(436);
} else {
if (_root.enemy9 == 1) {
gotoAndPlay(501);
} else {
if (_root.enemy10 == 1) {
gotoAndPlay(558);
} else {
if (_root.enemy11 == 1) {
gotoAndPlay(615);
} else {
if (_root.enemy12 == 1) {
gotoAndPlay(664);
} else {
if (_root.enemy13 == 1) {
gotoAndPlay(1309);
} else {
if (_root.enemy14 == 1) {
gotoAndPlay(781);
} else {
if (_root.enemy15 == 1) {
gotoAndPlay(854);
} else {
if (_root.enemy16 == 1) {
gotoAndPlay(942);
} else {
if (_root.enemy17 == 1) {
gotoAndPlay(1028);
} else {
if (_root.enemy18 == 1) {
gotoAndPlay(1066);
} else {
if (_root.enemy19 == 1) {
gotoAndPlay(1103);
} else {
if (_root.enemy20 == 1) {
gotoAndPlay(1154);
} else {
if (_root.boss1 == 1) {
gotoAndPlay(1193);
} else {
if (_root.enemy21 == 1) {
gotoAndPlay(1259);
} else {
if (_root.boss2 == 1) {
gotoAndPlay(1353);
} else {
if (_root.boss3 == 1) {
gotoAndPlay(1446);
} else {
attack = random(4) + 1;
switch (attack) {
case 1:
attacky2 = 1;
_root.attackname = 'Enigma';
break;
case 2:
gotoAndPlay(34);
blah = 1;
_root.attackname = 'Socko';
break;
case 3:
_root.attackname = 'Uppercut';
break;
case 4:
_root.attackname = 'Blue Beam';
gotoAndPlay(51);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
frame 6 {
if (attacky2 == 1) {
attacky2 = 0;
gotoAndPlay(16);
}
}
frame 9 {
if (_root.guy2 == 1) {
damage = random(10 + _root.hlevel * 4) + 10 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(10 + _root.hlevel * 4) + 10 + _root.hlevel * 4 - _root.defense - _root.protectDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (_level0.infectedDarkness == 1) {
attack = random(3) + 1;
if (attack !== 2) {
} else {
damage = 'MISS!';
}
} else {}
if (damage == 'MISS!') {
damage2 = ' ' + damage + ' ';
} else {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch2');
} else {
sound1.attachSound('punch3');
}
sound1.start();
}
}
frame 15 {
call(35);
}
frame 21 {
if (_root.guy2 == 1) {
damage = random(20 + _root.hlevel * 4) + 2 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(20 + _root.hlevel * 4) + 2 + _root.hlevel * 4 - _root.defense - _root.protectDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (_level0.infectedDarkness == 1) {
attack = random(3) + 1;
if (attack !== 2) {
} else {
damage = 'MISS!';
}
} else {}
if (damage == 'MISS!') {
damage2 = ' ' + damage + ' ';
} else {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch2');
} else {
sound1.attachSound('punch3');
}
sound1.start();
}
}
frame 33 {
if (damage == 'MISS!') {
} else {
if (_root.guy2 == 1) {
_level0.limit2 += (damage / 310) * 100;
_level0.char2 -= damage;
} else {
_level0.limit += (damage / 310) * 100;
_level0.char1 -= damage;
}
}
_level0.enemydone = 0;
_root.attackname = '';
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
_level0.PercentLoaded2 = (_level0.char2 / _level0.maxhp2) * 100;
if (_root.guy2 == 1) {
if (_root.char2 <= 0) {
_root.gotoAndPlay(25);
} else {
if (_root.counter > 0) {
_root.counter -= 1;
hahMa = random(3) + 1;
switch (hahMa) {
case 2:
_root.counterOn = 1;
_root.gotoAndPlay(18);
break;
default:
}
if (hahMa != 2) {
_root.gotoAndPlay(17);
}
} else {
_root.gotoAndPlay(17);
}
}
} else {
if (_root.char1 <= 0) {
_root.deadd = 1;
_root.char1 = 0;
_root.playerpoison = 0;
_root.replenish = 0;
_root.gotoAndPlay(13);
} else {
_root.gotoAndPlay(2);
}
}
}
frame 35 {
if (blah != 1) {
if (damage == 'MISS!') {
} else {
if (_root.guy2 == 1) {
_level0.limit2 += (damage / 310) * 100;
_level0.char2 -= damage;
} else {
_level0.limit += (damage / 310) * 100;
_level0.char1 -= damage;
}
}
_level0.enemydone = 0;
_root.attackname = '';
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
_level0.PercentLoaded2 = (_level0.char2 / _level0.maxhp2) * 100;
if (_root.guy2 == 1) {
if (_root.char2 <= 0) {
_root.gotoAndPlay(25);
} else {
if (_root.counter > 0) {
_root.counter -= 1;
hahMa = random(3) + 1;
switch (hahMa) {
case 2:
_root.counterOn = 1;
_root.gotoAndPlay(18);
break;
default:
}
if (hahMa != 2) {
_root.gotoAndPlay(17);
}
} else {
_root.gotoAndPlay(17);
}
}
} else {
if (_root.char1 <= 0) {
_root.deadd = 1;
_root.char1 = 0;
_root.playerpoison = 0;
_root.replenish = 0;
_root.gotoAndPlay(13);
} else {
_root.gotoAndPlay(2);
}
}
}
}
frame 43 {
if (_root.guy2 == 1) {
damage = random(23 + _root.hlevel * 4) + 7 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(23 + _root.hlevel * 4) + 7 + _root.hlevel * 4 - _root.defense - _root.protectDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (_level0.infectedDarkness == 1) {
attack = random(3) + 1;
if (attack !== 2) {
} else {
damage = 'MISS!';
}
} else {}
if (damage == 'MISS!') {
damage2 = ' ' + damage + ' ';
} else {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch1');
} else {
sound1.attachSound('punch3');
}
sound1.start();
}
}
frame 50 {
call(33);
}
frame 57 {
if (_root.guy2 == 1) {
damage = random(15 + _root.hlevel * 4) + 10 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(15 + _root.hlevel * 4) + 10 + _root.hlevel * 4 - _root.defense - _root.protectDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (_level0.infectedDarkness == 1) {
attack = random(3) + 1;
if (attack !== 2) {
} else {
damage = 'MISS!';
}
} else {}
if (damage == 'MISS!') {
damage2 = ' ' + damage + ' ';
} else {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch1');
} else {
sound1.attachSound('punch3');
}
sound1.start();
}
}
frame 66 {
call(33);
}
frame 72 {
attack = random(4) + 1;
switch (attack) {
case 1:
_root.attackname = 'Bomb Tackle';
gotoAndPlay(73);
break;
case 2:
_root.attackname = 'Fire Spit';
gotoAndPlay(83);
break;
case 3:
_root.attackname = 'Fire Breath';
gotoAndPlay(96);
break;
case 4:
if (_root.enemyhp < 60) {
_root.attackname = 'Self Destruct';
gotoAndPlay(117);
break;
break;
}
_root.attackname = 'Bomb Tackle';
gotoAndPlay(73);
}
}
frame 76 {
if (_root.guy2 == 1) {
damage3 = random(20 + _root.hlevel * 4) + 12 + _root.hlevel * 4 - _root.defense2;
} else {
damage3 = random(20 + _root.hlevel * 4) + 12 + _root.hlevel * 4 - _root.defense - _root.protectDefense;
}
if (damage3 < 0) {
damage3 = 0;
}
_root.defended();
if (_level0.infectedDarkness == 1) {
attack = random(3) + 1;
if (attack !== 2) {
} else {
damage3 = 'MISS!';
}
} else {}
if (damage == 'MISS!') {
damage2 = ' ' + damage3 + ' ';
} else {
damage2 = '- ' + damage3 + ' HP!';
}
_root.damaged2.gotoAndStop(3);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch2');
} else {
sound1.attachSound('punch3');
}
sound1.start();
}
}
frame 82 {
if (damage3 == 'MISS!') {
} else {
if (_root.guy2 == 1) {
_level0.limit2 += (damage3 / 310) * 100;
_level0.char2 -= damage3;
} else {
_level0.limit += (damage3 / 310) * 100;
_level0.char1 -= damage3;
}
}
_level0.enemydone = 0;
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
_level0.PercentLoaded2 = (_level0.char2 / _level0.maxhp2) * 100;
_root.attackname = '';
if (_root.guy2 == 1) {
if (_root.char2 <= 0) {
_root.gotoAndPlay(25);
} else {
if (_root.counter > 0) {
_root.counter -= 1;
hahMa = random(3) + 1;
switch (hahMa) {
case 2:
_root.counterOn = 1;
_root.gotoAndPlay(18);
break;
default:
}
if (hahMa != 2) {
_root.gotoAndPlay(17);
}
} else {
_root.gotoAndPlay(17);
}
}
} else {
if (_root.char1 <= 0) {
_root.deadd = 1;
_root.char1 = 0;
_root.gotoAndPlay(13);
} else {
_root.gotoAndPlay(2);
}
}
}
frame 87 {
if (_root.guy2 == 1) {
damage = random(22 + _root.hlevel * 4) + 10 + _root.hlevel * 4;
} else {
damage = random(22 + _root.hlevel * 4) + 10 + _root.hlevel * 4 - _root.shellDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
}
frame 95 {
call(35);
}
frame 105 {
if (_root.guy2 == 1) {
damage = random(30 + _root.hlevel * 6) + 20 + _root.hlevel * 4;
} else {
damage = random(30 + _root.hlevel * 6) + 20 + _root.hlevel * 4 - _root.shellDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
}
frame 116 {
call(35);
}
frame 125 {
if (_root.guy2 == 1) {
damage = _root.char2 - 1;
} else {
damage = _root.char1 - 1;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
}
frame 133 {
if (_root.guy2 == 1) {
_level0.limit2 += (damage / 310) * 100;
_level0.char2 = 1;
} else {
_level0.limit += (damage / 310) * 100;
_level0.char1 = 1;
}
_level0.enemydone = 0;
_level0.alreadyDead = 1;
_level0.enemyhp = 0;
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
_level0.PercentLoaded2 = (_level0.char2 / _level0.maxhp2) * 100;
_root.attackname = '';
if (_root.guy2 == 1) {
_root.gotoAndStop(26);
} else {
_root.gotoAndStop(10);
}
}
frame 134 {
attack = random(3) + 1;
switch (attack) {
case 1:
_root.attackname = 'Spike Attack';
gotoAndPlay(135);
break;
case 2:
_root.attackname = 'Spike Launch';
gotoAndPlay(148);
break;
case 3:
if (_root.enemyhp < 100) {
_root.attackname = 'Cold Heal';
gotoAndPlay(166);
break;
break;
}
_root.attackname = 'Spike Launch';
gotoAndPlay(148);
}
}
frame 138 {
if (_root.guy2 == 1) {
damage = random(30 + _root.hlevel * 4) + 10 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(30 + _root.hlevel * 4) + 10 + _root.hlevel * 4 - _root.defense - _root.protectDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
sound1.attachSound('slice2');
sound1.start();
}
}
frame 147 {
call(35);
}
frame 156 {
if (_root.guy2 == 1) {
damage = random(30 + _root.hlevel * 4) + 10 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(30 + _root.hlevel * 4) + 10 + _root.hlevel * 4 - _root.defense - _root.protectDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
}
frame 157 {
if (damage != 'MISS!') {
sound1.attachSound('slice2');
sound1.start();
}
}
frame 161 {
if (damage != 'MISS!') {
sound1.attachSound('slice2');
sound1.start();
}
}
frame 165 {
call(35);
}
frame 170 {
heal = random(20 + _root.hlevel * 2) + 10 + _root.hlevel * 4;
damage2 = '+ ' + heal + ' HP!';
}
frame 179 {
_level0.enemyhp += heal;
_level0.enemydone = 0;
_root.attackname = '';
if (_root.guy2 == 1) {
_root.gotoAndPlay(17);
} else {
_root.gotoAndPlay(2);
}
}
frame 180 {
attack = random(3) + 1;
switch (attack) {
case 1:
_root.attackname = 'Zombie Hit';
gotoAndPlay(181);
break;
case 2:
_root.attackname = 'Poison Breath';
gotoAndPlay(198);
break;
case 3:
_root.attackname = 'Zombie Bite';
gotoAndPlay(218);
}
}
frame 188 {
if (_root.guy2 == 1) {
damage = random(30 + _root.hlevel * 4) + 10 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(30 + _root.hlevel * 4) + 10 + _root.hlevel * 4 - _root.defense - _root.protectDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
sound1.attachSound('slice2');
sound1.start();
}
}
frame 197 {
call(35);
}
frame 208 {
damage = random(10) + 5 + _root.hlevel * 4;
damage2 = '- ' + damage + ' HP!';
_root.damaged2.gotoAndStop(2);
}
frame 217 {
if (_root.guy2 == 1) {
_level0.limit2 += (damage / 310) * 100;
_level0.char2 -= damage;
_root.playerpoison2 = 1;
} else {
_level0.limit += (damage / 310) * 100;
_level0.char1 -= damage;
_root.playerpoison = 1;
}
_level0.enemydone = 0;
tellTarget ('_root.score.youDude.poisItYe') {
gotoAndPlay(2);
}
_root.attackname = '';
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
_level0.PercentLoaded2 = (_level0.char2 / _level0.maxhp2) * 100;
if (_root.guy2 == 1) {
if (_root.char2 <= 0) {
_root.gotoAndPlay(25);
} else {
if (_root.counter > 0) {
_root.counter -= 1;
hahMa = random(3) + 1;
switch (hahMa) {
case 2:
_root.counterOn = 1;
_root.gotoAndPlay(18);
break;
default:
}
if (hahMa != 2) {
_root.gotoAndPlay(17);
}
} else {
_root.gotoAndPlay(17);
}
}
} else {
if (_root.char1 <= 0) {
_root.deadd = 1;
_root.char1 = 0;
_root.playerpoison = 0;
_root.replenish = 0;
_root.gotoAndPlay(13);
} else {
_root.gotoAndPlay(2);
}
}
}
frame 224 {
damage = random(20 + _root.hlevel * 4) + 10 + _root.hlevel * 4;
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
}
frame 226 {
if (damage != 'MISS!') {
sound1.attachSound('bite');
sound1.start();
}
}
frame 237 {
call(35);
}
frame 238 {
attack = random(2) + 1;
switch (attack) {
case 1:
_root.attackname = 'Ghost Hit';
gotoAndPlay(239);
break;
case 2:
_root.attackname = 'Soul Suck';
gotoAndPlay(269);
}
}
frame 251 {
damage = random(32 + _root.hlevel * 4) + 8 + _root.hlevel * 4;
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
sound1.attachSound('slice2');
sound1.start();
}
}
frame 268 {
call(35);
}
frame 281 {
if (_root.guy2 == 1) {
damage = random(10 + _root.hlevel * 4) + 10 + _root.hlevel * 4;
} else {
damage = random(10 + _root.hlevel * 4) + 10 + _root.hlevel * 4 - _root.shellDefense;
}
if (damage < 0) {
damage = 0;
}
damage2 = '- ' + damage + ' HP!';
damage3 = '+ ' + damage + ' HP!';
}
frame 303 {
if (_root.guy2 == 1) {
_level0.limit2 += (damage / 310) * 100;
_level0.char2 -= damage;
} else {
_level0.limit += (damage / 310) * 100;
_level0.char1 -= damage;
}
_root.enemyhp += damage;
_level0.enemydone = 0;
_root.attackname = '';
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
_level0.PercentLoaded2 = (_level0.char2 / _level0.maxhp2) * 100;
if (_root.guy2 == 1) {
if (_root.char2 <= 0) {
_root.gotoAndPlay(25);
} else {
if (_root.counter > 0) {
_root.counter -= 1;
hahMa = random(3) + 1;
switch (hahMa) {
case 2:
_root.counterOn = 1;
_root.gotoAndPlay(18);
break;
default:
}
if (hahMa != 2) {
_root.gotoAndPlay(17);
}
} else {
_root.gotoAndPlay(17);
}
}
} else {
if (_root.char1 <= 0) {
_root.deadd = 1;
_root.char1 = 0;
_root.playerpoison = 0;
_root.replenish = 0;
_root.gotoAndPlay(13);
} else {
_root.gotoAndPlay(2);
}
}
}
frame 304 {
attack = random(3) + 1;
switch (attack) {
case 1:
_root.attackname = 'The Claw';
gotoAndPlay(305);
break;
case 2:
_root.attackname = 'Double Claw';
gotoAndPlay(327);
break;
case 3:
if (_root.Zombie == 1 || _root.Zombie2 == 1) {
gotoAndPlay(305);
break;
break;
}
_root.attackname = 'Zombie Maker';
gotoAndPlay(350);
_root.Zombie = 1;
}
}
frame 315 {
if (_root.guy2 == 1) {
damage = random(31 + _root.hlevel * 4) + 9 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(31 + _root.hlevel * 4) + 9 + _root.hlevel * 4 - _root.defense - _root.protectDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('slice2');
} else {
sound1.attachSound('slice1');
}
sound1.start();
}
}
frame 326 {
call(35);
}
frame 339 {
if (_root.guy2 == 1) {
damage = random(35 + _root.hlevel * 4) + 16 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(35 + _root.hlevel * 4) + 16 + _root.hlevel * 4 - _root.defense - _root.protectDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('slice2');
} else {
sound1.attachSound('slice1');
}
sound1.start();
}
}
frame 349 {
call(35);
}
frame 372 {
if (_root.guy2 == 1) {
_root.ZombieInfected2 = 1;
} else {
_root.ZombieInfected = 1;
}
_level0.enemydone = 0;
_root.attackname = '';
if (_root.guy2 == 1) {
_root.gotoAndPlay(17);
} else {
_root.gotoAndPlay(2);
}
}
frame 373 {
attack = random(3) + 1;
if (_root.guy2 == 1) {
if (_root.sleepEl2 == 1) {
attack = random(2) + 1;
}
} else {
if (_root.sleepEl == 1) {
attack = random(2) + 1;
}
}
switch (attack) {
case 1:
_root.attackname = 'Energy Attack';
gotoAndPlay(374);
break;
case 2:
_root.attackname = 'Staff Hit';
gotoAndPlay(388);
break;
case 3:
_root.attackname = 'Sweet Dreams';
gotoAndPlay(404);
}
}
frame 380 {
if (_root.guy2 == 1) {
damage = random(18 + _root.hlevel * 4) + 9 + _root.hlevel * 4;
} else {
damage = random(18 + _root.hlevel * 4) + 9 + _root.hlevel * 4 - _root.shellDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
}
frame 387 {
call(35);
}
frame 394 {
if (_root.guy2 == 1) {
damage3 = random(25 + _root.hlevel * 4) + 14 + _root.hlevel * 4;
} else {
damage3 = random(25 + _root.hlevel * 4) + 14 + _root.hlevel * 4 - _root.shellDefense;
}
if (damage3 < 0) {
damage3 = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage3 + ' HP!';
}
_root.damaged2.gotoAndStop(3);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('slice2');
} else {
sound1.attachSound('slice1');
}
sound1.start();
}
}
frame 403 {
call(82);
}
frame 419 {
_level0.enemydone = 0;
if (_root.guy2 == 1) {
_root.sleepEl2 = 1;
} else {
_root.sleepEl = 1;
}
_root.attackname = '';
if (_root.guy2 == 1) {
_root.gotoAndPlay(17);
} else {
_root.gotoAndPlay(2);
}
}
frame 428 {
if (_root.guy2 == 1) {
damage3 = random(25 + _root.hlevel * 4) + 14 + _root.hlevel * 4;
} else {
damage3 = random(25 + _root.hlevel * 4) + 14 + _root.hlevel * 4 - _root.shellDefense;
}
if (damage3 < 0) {
damage3 = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage3 + ' HP!';
}
_root.damaged2.gotoAndStop(3);
}
frame 435 {
call(82);
}
frame 436 {
attack = random(4) + 1;
switch (attack) {
case 1:
_root.attackname = 'Spike Attack';
gotoAndPlay(437);
break;
case 2:
_root.attackname = 'Multi-Hit';
gotoAndPlay(451);
break;
case 3:
_root.attackname = 'Fly Attack';
gotoAndPlay(473);
break;
case 4:
dude = random(10) + 1;
switch (dude) {
case 3:
case 7:
_root.attackname = 'The Great Escape';
gotoAndPlay(495);
break;
}
_root.attackname = 'Spike Attack';
gotoAndPlay(437);
}
}
frame 444 {
if (_root.guy2 == 1) {
damage3 = random(20 + _root.hlevel * 4) + 18 + _root.hlevel * 4;
} else {
damage3 = random(20 + _root.hlevel * 4) + 18 + _root.hlevel * 4;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage3 + ' HP!';
}
_root.damaged2.gotoAndStop(3);
}
frame 445 {
if (damage != 'MISS!') {
sound1.attachSound('slice1');
sound1.start();
}
}
frame 450 {
call(82);
}
frame 461 {
if (_root.guy2 == 1) {
damage = random(26 + _root.hlevel * 4) + 7 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(26 + _root.hlevel * 4) + 7 + _root.hlevel * 4 - _root.defense - _root.protectDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
sound1.attachSound('slice1');
sound1.start();
}
}
frame 462 {
if (damage != 'MISS!') {
sound1.attachSound('slice1');
sound1.start();
}
}
frame 464 {
if (damage != 'MISS!') {
sound1.attachSound('slice1');
sound1.start();
}
}
frame 472 {
call(35);
}
frame 483 {
if (_root.guy2 == 1) {
damage = random(24 + _root.hlevel * 4) + 8 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(24 + _root.hlevel * 4) + 8 + _root.hlevel * 4 - _root.defense - _root.protectDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
}
frame 488 {
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch2');
} else {
sound1.attachSound('punch3');
}
sound1.start();
}
}
frame 494 {
call(35);
}
frame 500 {
_root.enemyRan = 1;
_level0.enemydone = 0;
_root.attackname = '';
_root.enemyhp = 0;
if (_root.guy2 == 1) {
_root.gotoAndStop(27);
} else {
_root.gotoAndPlay(11);
}
}
frame 501 {
attack = random(3) + 1;
switch (attack) {
case 1:
_root.attackname = 'Robot Punch';
gotoAndPlay(502);
break;
case 2:
_root.attackname = 'Gun Shot';
gotoAndPlay(517);
break;
case 3:
_root.attackname = 'Energy Attack';
gotoAndPlay(535);
}
}
frame 510 {
if (_root.guy2 == 1) {
damage = random(23 + _root.hlevel * 4) + 9 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(23 + _root.hlevel * 4) + 9 + _root.hlevel * 4 - _root.defense - _root.protectDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
dudey = new Sound(this);
dudey.attachSound(punch1);
dudey.start();
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch1');
} else {
sound1.attachSound('punch4');
}
sound1.start();
}
}
frame 516 {
call(35);
}
frame 524 {
if (_root.guy2 == 1) {
damage = random(27 + _root.hlevel * 4) + 8 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(27 + _root.hlevel * 4) + 8 + _root.hlevel * 4 - _root.defense - _root.protectDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
}
frame 534 {
call(35);
}
frame 545 {
if (_root.guy2 == 1) {
damage = random(20 + _root.hlevel * 4) + 11 + _root.hlevel * 4;
} else {
damage = random(20 + _root.hlevel * 4) + 11 + _root.hlevel * 4 - _root.shellDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
}
frame 557 {
call(35);
}
frame 558 {
attack = random(4) + 1;
switch (attack) {
case 1:
_root.attackname = 'Bite You';
gotoAndPlay(559);
break;
case 2:
_root.attackname = 'Poison Spit';
gotoAndPlay(575);
break;
case 3:
_root.attackname = 'Head Bunt';
gotoAndPlay(589);
break;
case 4:
dude = random(4) + 1;
switch (dude) {
case 3:
_root.attackname = 'Healin';
gotoAndPlay(607);
break;
}
_root.attackname = 'Bite You';
gotoAndPlay(559);
}
}
frame 564 {
if (_root.guy2 == 1) {
damage = random(20 + _root.hlevel * 4) + 14 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(20 + _root.hlevel * 4) + 14 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
sound1.attachSound('bite');
sound1.start();
}
}
frame 574 {
call(35);
}
frame 580 {
if (_root.guy2 == 1) {
damage = random(17 + _root.hlevel * 4) + 14 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(17 + _root.hlevel * 4) + 14 + _root.hlevel * 4 - _root.defense;
}
if (damage < 0) {
damage = 0;
}
damage2 = '- ' + damage + ' HP!';
}
frame 588 {
call(217);
}
frame 595 {
if (_root.guy2 == 1) {
damage = random(21 + _root.hlevel * 4) + 10 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(21 + _root.hlevel * 4) + 10 + _root.hlevel * 4 - _root.defense - _root.protectDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
dudey = new Sound(this);
dudey.attachSound(punch2);
dudey.start();
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch2');
} else {
sound1.attachSound('punch3');
}
sound1.start();
}
}
frame 606 {
call(35);
}
frame 608 {
heal = random(27 + _root.hlevel * 4) + 9 + _root.hlevel * 4;
damage2 = '+ ' + heal + ' HP!';
}
frame 614 {
call(179);
}
frame 615 {
attack = random(3) + 1;
switch (attack) {
case 1:
_root.attackname = 'Triple Punch';
gotoAndPlay(616);
break;
case 2:
_root.attackname = 'Stretch Punch';
gotoAndPlay(632);
break;
case 3:
_root.attackname = 'Fire Hair';
gotoAndPlay(646);
}
}
frame 620 {
if (_root.guy2 == 1) {
damage = random(20 + _root.hlevel * 4) + 16 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(20 + _root.hlevel * 4) + 16 + _root.hlevel * 4 - _root.defense - _root.protectDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch1');
} else {
sound1.attachSound('punch4');
}
sound1.start();
}
}
frame 622 {
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch1');
} else {
sound1.attachSound('punch4');
}
sound1.start();
}
}
frame 624 {
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch1');
} else {
sound1.attachSound('punch4');
}
sound1.start();
}
}
frame 631 {
call(35);
}
frame 637 {
if (_root.guy2 == 1) {
damage = random(10 + _root.hlevel * 4) + 11 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(10 + _root.hlevel * 4) + 11 + _root.hlevel * 4 - _root.defense - _root.protectDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
dudey = new Sound(this);
dudey.attachSound(punch1);
dudey.start();
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch1');
} else {
sound1.attachSound('punch4');
}
sound1.start();
}
}
frame 645 {
call(35);
}
frame 654 {
if (_root.guy2 == 1) {
damage = random(24 + _root.hlevel * 4) + 19 + _root.hlevel * 4;
} else {
damage = random(24 + _root.hlevel * 4) + 19 + _root.hlevel * 4 - _root.shellDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
}
frame 663 {
call(35);
}
frame 664 {
attack = random(4) + 1;
if (_root.guy2 == 1) {
if (_root.sleepEl2 == 1) {
attack = random(3) + 1;
}
} else {
if (_root.sleepEl == 1) {
attack = random(3) + 1;
}
}
switch (attack) {
case 1:
_root.attackname = 'Jay Punch';
gotoAndPlay(665);
break;
case 2:
_root.attackname = 'Jay Kick';
gotoAndPlay(697);
break;
case 3:
_root.attackname = 'Chin Attack';
gotoAndPlay(716);
break;
case 4:
_root.attackname = 'Bad Comedy';
gotoAndPlay(681);
}
}
frame 672 {
if (_root.guy2 == 1) {
damage = random(12 + _root.hlevel * 4) + 19 + _root.hlevel * 4;
} else {
damage = random(12 + _root.hlevel * 4) + 19 + _root.hlevel * 4 - _root.protectDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
dudey = new Sound(this);
dudey.attachSound(punch1);
dudey.start();
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch1');
} else {
sound1.attachSound('punch4');
}
sound1.start();
}
}
frame 680 {
call(35);
}
frame 696 {
call(419);
}
frame 706 {
if (_root.guy2 == 1) {
damage3 = random(20 + _root.hlevel * 4) + 19 + _root.hlevel * 4;
} else {
damage3 = random(20 + _root.hlevel * 4) + 19 + _root.hlevel * 4 - _root.protectDefense;
}
if (damage3 < 0) {
damage3 = 0;
}
_root.defended();
if (damage != 'MISS!') {
dudey = new Sound(this);
dudey.attachSound(punch2);
dudey.start();
damage2 = '- ' + damage3 + ' HP!';
}
_root.damaged2.gotoAndStop(3);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch2');
} else {
sound1.attachSound('punch3');
}
sound1.start();
}
}
frame 715 {
call(82);
}
frame 723 {
if (_root.guy2 == 1) {
damage = random(20 + _root.hlevel * 4) + 15 + _root.hlevel * 4;
} else {
damage = random(20 + _root.hlevel * 4) + 15 + _root.hlevel * 4 - _root.protectDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
dudey = new Sound(this);
dudey.attachSound(punch2);
dudey.start();
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch1');
} else {
sound1.attachSound('punch4');
}
sound1.start();
}
}
frame 733 {
call(35);
}
frame 781 {
attack = random(4) + 1;
if (_root.guy2 == 1) {
if (_root.blind2 == 1) {
attack = random(3) + 1;
}
} else {
if (_root.blind1 == 1) {
attack = random(3) + 1;
}
}
switch (attack) {
case 1:
_root.attackname = 'Pistol Shot';
gotoAndPlay(782);
break;
case 2:
_root.attackname = 'Punch';
gotoAndPlay(791);
break;
case 3:
_root.attackname = 'Pistol Whip';
gotoAndPlay(811);
break;
case 4:
_root.attackname = 'Blind you';
gotoAndPlay(827);
}
}
frame 784 {
if (_root.guy2 == 1) {
damage = random(25 + _root.hlevel * 4) + 13 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(25 + _root.hlevel * 4) + 13 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
}
frame 790 {
call(35);
}
frame 799 {
if (_root.guy2 == 1) {
damage = random(19 + _root.hlevel * 4) + 18 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(19 + _root.hlevel * 4) + 18 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
dudey = new Sound(this);
dudey.attachSound(punch1);
dudey.start();
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch1');
} else {
sound1.attachSound('punch4');
}
sound1.start();
}
}
frame 810 {
call(35);
}
frame 816 {
if (_root.guy2 == 1) {
damage = random(19 + _root.hlevel * 4) + 15 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(19 + _root.hlevel * 4) + 15 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
dudey = new Sound(this);
dudey.attachSound(punch2);
dudey.start();
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch2');
} else {
sound1.attachSound('punch3');
}
sound1.start();
}
}
frame 826 {
call(35);
}
frame 853 {
_level0.enemydone = 0;
if (_root.guy2 == 1) {
_root.blind2 = 1;
} else {
_root.blind1 = 1;
}
_root.attackname = '';
if (_root.guy2 == 1) {
_root.gotoAndPlay(17);
} else {
_root.gotoAndPlay(2);
}
}
frame 854 {
attack = random(5) + 1;
if (_root.guy2 == 1) {
if (_root.sleepEl2 == 1) {
attack = random(4) + 1;
}
} else {
if (_root.sleepEl == 1) {
attack = random(4) + 1;
}
}
switch (attack) {
case 1:
_root.attackname = 'Super Punch';
gotoAndPlay(855);
break;
case 2:
_root.attackname = 'Heat Vision';
gotoAndPlay(876);
break;
case 3:
moofy = random(2) + 1;
if (moofy != 1) {
_root.attackname = 'Heal';
gotoAndPlay(898);
break;
} else {
_root.attackname = 'Super Punch';
gotoAndPlay(855);
break;
}
case 4:
_root.attackname = 'Triple Punch';
gotoAndPlay(909);
break;
case 5:
_root.attackname = 'Frost breath';
gotoAndPlay(926);
}
}
frame 869 {
if (_root.guy2 == 1) {
damage = random(140 + _root.hlevel * 4) + 70 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(140 + _root.hlevel * 4) + 70 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
dudey = new Sound(this);
dudey.attachSound(punch1);
dudey.start();
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch1');
} else {
sound1.attachSound('punch4');
}
sound1.start();
}
}
frame 875 {
call(35);
}
frame 884 {
if (_root.guy2 == 1) {
damage = random(200 + _root.hlevel * 4) + 100 + _root.hlevel * 4;
} else {
damage = random(200 + _root.hlevel * 4) + 100 + _root.hlevel * 4 - _root.shellDefense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
}
frame 897 {
call(35);
}
frame 899 {
heal = random(100 + _root.hlevel * 4) + 30 + _root.hlevel * 4;
damage2 = '+ ' + heal + ' HP!';
}
frame 908 {
call(179);
}
frame 914 {
if (_root.guy2 == 1) {
damage = random(150 + _root.hlevel * 4) + 89 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(150 + _root.hlevel * 4) + 89 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch1');
} else {
sound1.attachSound('punch4');
}
sound1.start();
}
}
frame 917 {
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch1');
} else {
sound1.attachSound('punch4');
}
sound1.start();
}
}
frame 919 {
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch1');
} else {
sound1.attachSound('punch4');
}
sound1.start();
}
}
frame 925 {
call(35);
}
frame 941 {
call(419);
}
frame 942 {
attack = random(3) + 1;
if (_root.guy2 == 1) {
if (_root.sleepEl2 == 1) {
attack = random(2) + 1;
}
} else {
if (_root.sleepEl == 1) {
attack = random(2) + 1;
}
}
switch (attack) {
case 1:
_root.attackname = 'Poison Bite';
gotoAndPlay(943);
break;
case 2:
_root.attackname = 'Tail Ray';
gotoAndPlay(963);
break;
case 3:
_root.attackname = 'Sleep Poison';
gotoAndPlay(991);
}
}
frame 952 {
if (_root.guy2 == 1) {
damage = random(13 + _root.hlevel * 4) + 9 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(13 + _root.hlevel * 4) + 9 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
damage2 = '- ' + damage + ' HP!';
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
sound1.attachSound('bite');
sound1.start();
}
}
frame 962 {
call(217);
}
frame 976 {
if (_root.guy2 == 1) {
damage = random(20 + _root.hlevel * 4) + 18 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(20 + _root.hlevel * 4) + 18 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
}
frame 990 {
call(35);
}
frame 1010 {
call(419);
}
frame 1018 {
damage = 1;
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('slice1');
} else {
sound1.attachSound('slice2');
}
sound1.start();
}
}
frame 1027 {
_root.frogTurn -= 1;
if (_root.frogTurn == 0) {
_root.goFrog = 1;
}
call(35);
}
frame 1028 {
attack = random(5) + 1;
switch (attack) {
case 1:
_root.attackname = 'Status Slime';
gotoAndPlay(1053);
break;
case 2:
_root.attackname = 'Laser Eye';
gotoAndPlay(1040);
break;
default:
_root.attackname = 'Smack';
gotoAndPlay(1029);
}
}
frame 1034 {
if (_root.guy2 == 1) {
damage = random(16 + _root.hlevel * 4) + 14 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(16 + _root.hlevel * 4) + 14 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
dudey = new Sound(this);
dudey.attachSound(punch1);
dudey.start();
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch2');
} else {
sound1.attachSound('punch3');
}
sound1.start();
}
}
frame 1039 {
call(35);
}
frame 1045 {
if (_root.guy2 == 1) {
damage = random(19 + _root.hlevel * 4) + 19 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(19 + _root.hlevel * 4) + 19 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
}
frame 1052 {
call(35);
}
frame 1059 {
damageo = random(3) + 1;
switch (damageo) {
case 1:
damage2 = 'Blind!';
if (_root.guy2 == 1) {
_root.blind2 = 1;
break;
} else {
_root.blind1 = 1;
break;
}
case 2:
damage2 = 'Sleep!';
if (_root.guy2 == 1) {
_root.sleepEl2 = 1;
} else {
_root.sleepEl = 1;
}
break;
case 3:
damage2 = 'Poisoned!';
if (_root.guy2 == 1) {
_root.playerpoison2 = 1;
} else {
_root.playerpoison = 1;
}
}
_root.damaged2.gotoAndStop(2);
}
frame 1065 {
_level0.enemydone = 0;
_root.attackname = '';
if (_root.guy2 == 1) {
if (_root.char2 <= 0) {
_root.gotoAndPlay(25);
} else {
if (_root.counter > 0) {
_root.counter -= 1;
hahMa = random(3) + 1;
switch (hahMa) {
case 2:
_root.counterOn = 1;
_root.gotoAndPlay(18);
break;
default:
}
if (hahMa != 2) {
_root.gotoAndPlay(17);
}
} else {
_root.gotoAndPlay(17);
}
}
} else {
if (_root.char1 <= 0) {
_root.deadd = 1;
_root.char1 = 0;
_root.playerpoison = 0;
_root.replenish = 0;
_root.gotoAndPlay(13);
} else {
_root.gotoAndPlay(2);
}
}
}
frame 1066 {
attack = random(3) + 1;
switch (attack) {
case 1:
_root.attackname = 'Bad Breath';
gotoAndPlay(1067);
break;
case 2:
_root.attackname = 'Head Bunt';
gotoAndPlay(1081);
break;
case 3:
attack2 = random(3) + 1;
if (attack2 == 2) {
_root.attackname = 'Slug Heal';
gotoAndPlay(1092);
break;
break;
}
_root.attackname = 'Head Bunt';
gotoAndPlay(1081);
}
}
frame 1072 {
if (_root.guy2 == 1) {
damage = random(20 + _root.hlevel * 4) + 14 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(20 + _root.hlevel * 4) + 14 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
damage2 = '- ' + damage + ' HP!';
_root.damaged2.gotoAndStop(2);
}
frame 1080 {
call(217);
}
frame 1085 {
if (_root.guy2 == 1) {
damage3 = random(20 + _root.hlevel * 4) + 15 + _root.hlevel * 4 - _root.defense2;
} else {
damage3 = random(20 + _root.hlevel * 4) + 15 + _root.hlevel * 4 - _root.defense - _root.protectDefense;
}
if (damage3 < 0) {
damage3 = 0;
}
_root.defended();
if (_level0.infectedDarkness == 1) {
attack = random(3) + 1;
if (attack !== 2) {
} else {
damage3 = 'MISS!';
}
} else {}
if (damage == 'MISS!') {
dudey = new Sound(this);
dudey.attachSound(punch2);
dudey.start();
damage2 = ' ' + damage3 + ' ';
} else {
damage2 = '- ' + damage3 + ' HP!';
}
_root.damaged2.gotoAndStop(3);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch2');
} else {
sound1.attachSound('punch3');
}
sound1.start();
}
}
frame 1091 {
call(82);
}
frame 1093 {
heal = random(30) + 20;
damage2 = '+ ' + heal + ' HP!';
}
frame 1102 {
call(179);
}
frame 1103 {
attack = random(3) + 1;
switch (attack) {
case 1:
_root.attackname = 'Snow Ball';
gotoAndPlay(1104);
break;
case 2:
_root.attackname = 'Snow Punch';
gotoAndPlay(1121);
break;
case 3:
_root.attackname = 'Frozen Mist';
gotoAndPlay(1138);
}
}
frame 1115 {
if (_root.guy2 == 1) {
damage = random(13 + _root.hlevel * 4) + 19 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(13 + _root.hlevel * 4) + 19 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
}
frame 1117 {
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch2');
} else {
sound1.attachSound('punch3');
}
sound1.start();
}
}
frame 1120 {
call(35);
}
frame 1129 {
if (_root.guy2 == 1) {
damage = random(13 + _root.hlevel * 4) + 19 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(10 + _root.hlevel * 4) + 15 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
}
frame 1130 {
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch1');
} else {
sound1.attachSound('punch4');
}
sound1.start();
}
}
frame 1137 {
call(35);
}
frame 1147 {
damageo = random(3) + 1;
switch (damageo) {
case 1:
damage2 = 'Blind!';
if (_root.guy2 == 1) {
_root.blind2 = 1;
break;
} else {
_root.blind1 = 1;
break;
}
case 2:
damage2 = 'Sleep!';
if (_root.guy2 == 1) {
_root.sleepEl2 = 1;
} else {
_root.sleepEl = 1;
}
break;
case 3:
damage2 = 'Poisoned!';
if (_root.guy2 == 1) {
_root.playerpoison2 = 1;
} else {
_root.playerpoison = 1;
}
}
_root.damaged2.gotoAndStop(2);
}
frame 1153 {
_level0.enemydone = 0;
_root.attackname = '';
if (_root.guy2 == 1) {
if (_root.char2 <= 0) {
_root.gotoAndPlay(25);
} else {
if (_root.counter > 0) {
_root.counter -= 1;
hahMa = random(3) + 1;
switch (hahMa) {
case 2:
_root.counterOn = 1;
_root.gotoAndPlay(18);
break;
default:
}
if (hahMa != 2) {
_root.gotoAndPlay(17);
}
} else {
_root.gotoAndPlay(17);
}
}
} else {
if (_root.char1 <= 0) {
_root.deadd = 1;
_root.char1 = 0;
_root.playerpoison = 0;
_root.replenish = 0;
_root.gotoAndPlay(13);
} else {
_root.gotoAndPlay(2);
}
}
}
frame 1154 {
attack = random(3) + 1;
switch (attack) {
case 1:
_root.attackname = 'Ogre Punch';
gotoAndPlay(1155);
break;
case 2:
_root.attackname = 'Ogre Bunt';
ogreBun = 1;
gotoAndPlay(1155);
break;
case 3:
_root.attackname = 'Power Up';
gotoAndPlay(1181);
}
}
frame 1161 {
if (ogreBun == 1) {
ogreBun = 0;
gotoAndPlay(1173);
}
}
frame 1163 {
if (_root.guy2 == 1) {
damage = random(15 + _root.hlevel * 4) + 12 + _root.hlevel * 4 + _root.attackStrength - _root.defense2;
} else {
damage = random(15 + _root.hlevel * 4) + 12 + _root.hlevel * 4 + _root.attackStrength - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
}
frame 1165 {
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch1');
} else {
sound1.attachSound('punch4');
}
sound1.start();
}
}
frame 1172 {
call(35);
}
frame 1175 {
if (_root.guy2 == 1) {
damage = random(20 + _root.hlevel * 4) + 19 + _root.hlevel * 4 + _root.attackStrength - _root.defense2;
} else {
damage = random(20 + _root.hlevel * 4) + 19 + _root.hlevel * 4 + _root.attackStrength - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch2');
} else {
sound1.attachSound('punch3');
}
sound1.start();
}
}
frame 1180 {
gotoAndPlay(1168);
}
frame 1192 {
_root.attackStrength += random(10 + _root.hlevel * 2) + 4;
_level0.enemydone = 0;
_root.attackname = '';
if (_root.guy2 == 1) {
_root.gotoAndPlay(17);
} else {
_root.gotoAndPlay(2);
}
}
frame 1193 {
attack = random(4) + 1;
switch (attack) {
case 1:
_root.attackname = 'Eye Beam';
gotoAndPlay(1194);
break;
case 2:
_root.attackname = 'Tackle';
gotoAndPlay(1213);
break;
case 3:
_root.attackname = 'Eye Wave';
gotoAndPlay(1228);
break;
case 4:
_root.attackname = 'Hypnotise';
attacky2 = 1;
gotoAndPlay(1213);
}
}
frame 1204 {
if (_root.guy2 == 1) {
damage = random(25 + _root.hlevel * 4) + 22 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(25 + _root.hlevel * 4) + 22 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
}
frame 1212 {
call(35);
}
frame 1219 {
if (attacky2 == 1) {
attacky2 = 0;
gotoAndPlay(1238);
}
}
frame 1220 {
if (_root.guy2 == 1) {
damage = random(20 + _root.hlevel * 4) + 11 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(20 + _root.hlevel * 4) + 11 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch2');
} else {
sound1.attachSound('punch3');
}
sound1.start();
}
}
frame 1227 {
call(35);
}
frame 1231 {
damageo = random(3) + 1;
switch (damageo) {
case 1:
damage2 = 'Blind!';
if (_root.guy2 == 1) {
_root.blind2 = 1;
break;
} else {
_root.blind1 = 1;
break;
}
case 2:
damage2 = 'Sleep!';
if (_root.guy2 == 1) {
_root.sleepEl2 = 1;
} else {
_root.sleepEl = 1;
}
break;
case 3:
damage2 = 'Poisoned!';
if (_root.guy2 == 1) {
_root.playerpoison2 = 1;
} else {
_root.playerpoison = 1;
}
}
_root.damaged2.gotoAndStop(2);
}
frame 1237 {
_level0.enemydone = 0;
_root.attackname = '';
if (_root.guy2 == 1) {
if (_root.char2 <= 0) {
_root.gotoAndPlay(25);
} else {
if (_root.counter > 0) {
_root.counter -= 1;
hahMa = random(3) + 1;
switch (hahMa) {
case 2:
_root.counterOn = 1;
_root.gotoAndPlay(18);
break;
default:
}
if (hahMa != 2) {
_root.gotoAndPlay(17);
}
} else {
_root.gotoAndPlay(17);
}
}
} else {
if (_root.char1 <= 0) {
_root.deadd = 1;
_root.char1 = 0;
_root.playerpoison = 0;
_root.replenish = 0;
_root.gotoAndPlay(13);
} else {
_root.gotoAndPlay(2);
}
}
}
frame 1242 {
if (_root.guy2 == 1) {
damage = random(20 + _root.hlevel * 4) + 13 + _root.hlevel * 4;
} else {
damage = random(20 + _root.hlevel * 4) + 13 + _root.hlevel * 4 - _root.shellDefense;
}
if (damage < 0) {
damage = 0;
}
damage2 = '- ' + damage + ' HP!';
damage3 = '+ ' + damage + ' HP!';
}
frame 1258 {
if (_root.guy2 == 1) {
_level0.limit2 += (damage / 310) * 100;
_level0.char2 -= damage;
} else {
_level0.limit += (damage / 310) * 100;
_level0.char1 -= damage;
}
_root.enemyhp += damage;
_level0.enemydone = 0;
_root.attackname = '';
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
_level0.PercentLoaded2 = (_level0.char2 / _level0.maxhp2) * 100;
if (_root.guy2 == 1) {
if (_root.char2 <= 0) {
_root.gotoAndPlay(25);
} else {
if (_root.counter > 0) {
_root.counter -= 1;
hahMa = random(3) + 1;
switch (hahMa) {
case 2:
_root.counterOn = 1;
_root.gotoAndPlay(18);
break;
default:
}
if (hahMa != 2) {
_root.gotoAndPlay(17);
}
} else {
_root.gotoAndPlay(17);
}
}
} else {
if (_root.char1 <= 0) {
_root.deadd = 1;
_root.char1 = 0;
_root.playerpoison = 0;
_root.replenish = 0;
_root.gotoAndPlay(13);
} else {
_root.gotoAndPlay(2);
}
}
}
frame 1259 {
attack = random(4) + 1;
switch (attack) {
case 1:
_root.attackname = 'Fork Beam';
gotoAndPlay(1260);
break;
case 2:
_root.attackname = 'Fork Hit';
gotoAndPlay(1275);
break;
case 3:
_root.attackname = 'Fork Fire';
attacky2 = 1;
gotoAndPlay(1275);
break;
case 4:
_root.attackname = 'Fork Heal';
gotoAndPlay(1302);
}
}
frame 1269 {
if (_root.guy2 == 1) {
damage = random(25 + _root.hlevel * 4) + 11 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(25 + _root.hlevel * 4) + 11 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
}
frame 1274 {
call(35);
}
frame 1282 {
if (this.attacky2 == 1) {
this.attacky2 = 0;
gotoAndPlay(1290);
}
}
frame 1283 {
if (_root.guy2 == 1) {
damage = random(10 + _root.hlevel * 4) + 9 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(10 + _root.hlevel * 4) + 9 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
sound1.attachSound('slice1');
sound1.start();
}
}
frame 1289 {
call(35);
}
frame 1293 {
if (_root.guy2 == 1) {
damage = random(30 + _root.hlevel * 4) + 10 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(30 + _root.hlevel * 4) + 10 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
}
frame 1301 {
call(35);
}
frame 1302 {
heal = random(30) + 20;
damage2 = '+ ' + heal + ' HP!';
}
frame 1308 {
call(179);
}
frame 1309 {
attack = random(3) + 1;
switch (attack) {
case 1:
_root.attackname = 'Spider Punch';
gotoAndPlay(1310);
break;
case 2:
_root.attackname = 'Bite';
this.atta2 = 1;
gotoAndPlay(1310);
break;
case 3:
_root.attackname = 'Webbing';
gotoAndPlay(1340);
}
}
frame 1317 {
if (this.atta2 == 1) {
this.atta2 = 0;
gotoAndPlay(1327);
}
}
frame 1319 {
if (_root.guy2 == 1) {
damage = random(15 + _root.hlevel * 4) + 11 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(15 + _root.hlevel * 4) + 11 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch2');
} else {
sound1.attachSound('punch3');
}
sound1.start();
}
}
frame 1326 {
call(35);
}
frame 1329 {
if (_root.guy2 == 1) {
damage = random(23 + _root.hlevel * 4) + 13 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(23 + _root.hlevel * 4) + 13 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
sound1.attachSound('bite');
sound1.start();
}
}
frame 1339 {
call(35);
}
frame 1347 {
damageo = random(3) + 1;
switch (damageo) {
case 1:
damage2 = 'Blind!';
if (_root.guy2 == 1) {
_root.blind2 = 1;
break;
} else {
_root.blind1 = 1;
break;
}
case 2:
damage2 = 'Sleep!';
if (_root.guy2 == 1) {
_root.sleepEl2 = 1;
} else {
_root.sleepEl = 1;
}
break;
case 3:
damage2 = 'Poisoned!';
if (_root.guy2 == 1) {
_root.playerpoison2 = 1;
} else {
_root.playerpoison = 1;
}
}
_root.damaged2.gotoAndStop(2);
}
frame 1352 {
call(1153);
}
frame 1353 {
attack = random(5) + 1;
if (_root.guy == 1) {
if (_root.char2 <= 95) {
attack = random(4) + 1;
}
} else {
if (_root.char1 <= 95) {
attack = random(4) + 1;
}
}
switch (attack) {
case 1:
_root.attackname = 'Slash';
gotoAndPlay(1354);
break;
case 2:
_root.attackname = 'Steal Life';
gotoAndPlay(1367);
break;
case 3:
_root.attackname = 'Status Goo';
gotoAndPlay(1395);
break;
case 4:
_root.attackname = 'Tackle';
gotoAndPlay(1417);
break;
case 5:
_root.attackname = 'Blue Laser';
gotoAndPlay(1431);
}
}
frame 1357 {
if (_root.guy2 == 1) {
damage = random(23 + _root.hlevel * 4) + 13 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(23 + _root.hlevel * 4) + 13 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('slice2');
} else {
sound1.attachSound('slice1');
}
sound1.start();
}
}
frame 1366 {
call(35);
}
frame 1379 {
if (_root.guy2 == 1) {
damage = random(27 + _root.hlevel * 4) + 18 + _root.hlevel * 4;
} else {
damage = random(27 + _root.hlevel * 4) + 18 + _root.hlevel * 4 - _root.shellDefense;
}
if (damage < 0) {
damage = 0;
}
damage2 = '- ' + damage + ' HP!';
damage3 = '+ ' + damage + ' HP!';
}
frame 1394 {
call(1258);
}
frame 1408 {
damageo = random(3) + 1;
switch (damageo) {
case 1:
damage2 = 'Blind!';
if (_root.guy2 == 1) {
_root.blind2 = 1;
break;
} else {
_root.blind1 = 1;
break;
}
case 2:
damage2 = 'Sleep!';
if (_root.guy2 == 1) {
_root.sleepEl2 = 1;
} else {
_root.sleepEl = 1;
}
break;
case 3:
damage2 = 'Poisoned!';
if (_root.guy2 == 1) {
_root.playerpoison2 = 1;
} else {
_root.playerpoison = 1;
}
}
_root.damaged2.gotoAndStop(2);
}
frame 1416 {
call(1153);
}
frame 1423 {
if (_root.guy2 == 1) {
damage = random(35 + _root.hlevel * 4) + 16 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(35 + _root.hlevel * 4) + 16 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch2');
} else {
sound1.attachSound('punch3');
}
sound1.start();
}
_root.damaged2.gotoAndStop(2);
}
frame 1430 {
call(35);
}
frame 1436 {
if (_root.guy2 == 1) {
damage = Math.ceil(_root.char1 / 4);
} else {
damage = Math.ceil(_root.char2 / 4);
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
}
frame 1445 {
call(35);
}
frame 1446 {
attack = random(5) + 1;
if (_root.guy == 1) {
if (_root.blind2 == 1) {
attack = random(4) + 1;
}
} else {
if (_root.blind1 == 1) {
attack = random(4) + 1;
}
}
switch (attack) {
case 1:
_root.attackname = 'Fireball';
gotoAndPlay(1447);
break;
case 2:
_root.attackname = 'Lightning';
gotoAndPlay(1461);
break;
case 3:
_root.attackname = 'Staff Hit';
gotoAndPlay(1481);
break;
case 4:
_root.attackname = 'More Power';
gotoAndPlay(1511);
break;
case 5:
_root.attackname = 'Status Spell';
gotoAndPlay(1447);
statSpell = 1;
}
}
frame 1449 {
if (statSpell == 1) {
statSpell = 0;
gotoAndPlay(1499);
}
}
frame 1455 {
if (_root.guy2 == 1) {
damage = random(85 + _root.hlevel * 4 + _root.powerBoss) + 30 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(85 + _root.hlevel * 4 + _root.powerBoss) + 30 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
}
frame 1460 {
call(35);
}
frame 1474 {
if (_root.guy2 == 1) {
damage = random(100 + _root.hlevel * 4 + _root.powerBoss) + 14 + _root.hlevel * 4 - _root.defense2;
} else {
damage = random(100 + _root.hlevel * 4 + _root.powerBoss) + 14 + _root.hlevel * 4 - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
_root.damaged2.gotoAndStop(2);
}
frame 1480 {
call(35);
}
frame 1491 {
if (_root.guy2 == 1) {
damage = random(30 + _root.hlevel * 4 + _root.powerBoss) + 25 + _root.hlevel * 4 + _root.powerBoss - _root.defense2;
} else {
damage = random(30 + _root.hlevel * 4 + _root.powerBoss) + 25 + _root.hlevel * 4 + _root.powerBoss - _root.protectDefense - _root.defense;
}
if (damage < 0) {
damage = 0;
}
_root.defended();
if (damage != 'MISS!') {
damage2 = '- ' + damage + ' HP!';
}
if (damage != 'MISS!') {
mah = random(2) + 1;
if (mah == 1) {
sound1.attachSound('punch2');
} else {
sound1.attachSound('punch3');
}
sound1.start();
}
_root.damaged2.gotoAndStop(2);
}
frame 1498 {
call(35);
}
frame 1505 {
damage2 = 'All Statuses!';
if (_root.guy2 == 1) {
_root.ZombieInfected2 = 1;
_root.blind2 = 1;
_root.sleepEl2 = 1;
_root.playerpoison2 = 1;
} else {
_root.ZombieInfected = 1;
_root.blind1 = 1;
_root.sleepEl = 1;
_root.playerpoison = 1;
}
_root.damaged2.gotoAndStop(2);
}
frame 1510 {
call(1153);
}
frame 1515 {
dude = random(2) + 1;
switch (dude) {
case 1:
_root.powerBoss += random(10) + 8;
damage2 = 'Powered Up!';
heal = 0;
break;
case 2:
heal = random(50 + _root.powerBoss) + 10 + _root.powerBoss;
damage2 = '+ ' + heal + ' HP!';
}
}
frame 1528 {
_level0.enemyhp += heal;
_level0.enemydone = 0;
_root.attackname = '';
if (_root.guy2 == 1) {
_root.gotoAndPlay(17);
} else {
_root.gotoAndPlay(2);
}
}
}
instance enemy of movieClip 2718 {
onClipEvent (load) {
this.sound1 = new Sound();
}
}
movieClip 2722 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
frame 5 {
stop();
}
movieClip 2812 {
}
movieClip 2981 {
}
movieClip 3020 {
}
movieClip 3263 {
}
movieClip 3472 {
frame 1 {
_level0.done = 0;
if (_root.doMagic != 1) {
_root.gotoAndPlay(2);
} else {
_root.doMagic = 0;
}
if (_root.slow == 1) {
_root.slow = 0;
gotoAndPlay(18);
} else {
if (_root.fire == 1) {
_root.fire = 0;
gotoAndPlay(42);
} else {
if (_root.light == 1) {
_root.light = 0;
gotoAndPlay(71);
} else {
if (_root.haste == 1) {
_root.haste = 0;
gotoAndPlay(98);
} else {
if (_root.recover == 1) {
_root.recover = 0;
gotoAndPlay(159);
} else {
if (_root.ice == 1) {
_root.ice = 0;
gotoAndPlay(129);
} else {
if (_root.leechy == 1) {
_root.leechy = 0;
gotoAndPlay(216);
} else {
if (_root.stopSting == 1) {
_root.stopSting = 0;
gotoAndPlay(285);
} else {
if (_root.bioyo == 1) {
_root.bioyo = 0;
gotoAndPlay(252);
} else {
if (_root.shellglah == 1) {
_root.shellglah = 0;
gotoAndPlay(319);
} else {
if (_root.protectgah == 1) {
_root.protectgah = 0;
gotoAndPlay(351);
} else {
if (_root.backCome == 1) {
_root.backCome = 0;
gotoAndPlay(186);
} else {
if (_root.sleepLa == 1) {
_root.sleepLa = 0;
gotoAndPlay(415);
} else {
if (_root.furStam == 1) {
_root.furStam = 0;
gotoAndPlay(379);
} else {
if (_root.deathyMe == 1) {
_root.deathyMe = 0;
gotoAndPlay(475);
} else {
if (_root.ultimaMe == 1) {
_root.ultimaMe = 0;
gotoAndPlay(441);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
frame 4 {
damage = random(20 + _root.skills + _root.healskilled * 3) + 20 + _root.skills + _root.healskilled * 10;
if (_root.ZombieInfected == 1) {
damage2 = '- ' + damage + ' HP!';
} else {
damage2 = '+ ' + damage + ' HP!';
}
}
frame 17 {
_level0.mp1 -= 3;
if (_root.ZombieInfected == 1) {
_level0.char1 -= damage;
if (_root.char1 <= 0) {
_root.gotoAndPlay(13);
}
} else {
_level0.char1 += damage;
}
if (_level0.char1 > _level0.maxhp) {
_level0.char1 = _level0.maxhp;
}
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
_root.gotoAndPlay(2);
}
frame 41 {
_level0.mp1 -= 5;
if (_level0.useSlow != 1) {
_level0.useSlow = 1;
_level0.enemyspeed -= 2;
}
_level0.slowturn = 3 + _root.slowskilled;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.gotoAndPlay(2);
}
frame 58 {
damage = random(50 + _root.skills + _root.fireskilled * 3) + 30 + _root.skills + _root.fireskilled * 10;
damage2 = '- ' + damage + ' HP!';
}
frame 70 {
_level0.mp1 -= 4;
_level0.enemyhp -= damage;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(10);
} else {
_root.gotoAndPlay(2);
}
}
frame 82 {
damage = random(80 + _root.skills + _root.lightskilled * 3) + 20 + _root.skills + _root.lightskilled * 10;
damage2 = '- ' + damage + ' HP!';
}
frame 97 {
_level0.mp1 -= 5;
_level0.enemyhp -= damage;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(10);
} else {
_root.gotoAndPlay(2);
}
}
frame 128 {
_level0.mp1 -= 10;
if (_level0.useHaste != 1) {
_level0.useHaste = 1;
_level0.speed += 3;
}
_level0.hasteturn = 2 + _root.hasteskilled;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.gotoAndPlay(2);
}
frame 146 {
damage = random(55 + _root.skills + _root.iceskilled * 3) + 19 + _root.skills + _root.iceskilled * 10;
damage2 = '- ' + damage + ' HP!';
}
frame 158 {
_level0.mp1 -= 3;
_level0.enemyhp -= damage;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(10);
} else {
_root.gotoAndPlay(2);
}
}
frame 185 {
_level0.mp1 -= 10;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
tellTarget ('_root.score.youDude.replen344') {
gotoAndPlay(2);
}
_root.replenish = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(10);
} else {
_root.gotoAndPlay(2);
}
}
frame 215 {
_level0.mp1 -= 30;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.comeBack = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(10);
} else {
_root.gotoAndPlay(2);
}
}
frame 251 {
_level0.mp1 -= 35;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.leechOn = 8;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(10);
} else {
_root.gotoAndPlay(2);
}
}
frame 269 {
damage = random(10 + _root.skills) + 5 + _root.skills;
damage2 = '- ' + damage + ' HP!';
}
frame 284 {
_level0.mp1 -= 10;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.pOn = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(10);
} else {
_root.gotoAndPlay(2);
}
}
frame 318 {
_level0.mp1 -= 7;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.stopIt = 1;
tellTarget ('_root.enemy1attacked') {
stop();
}
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(10);
} else {
_root.gotoAndPlay(2);
}
}
frame 350 {
_level0.mp1 -= 5;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.shellDefense = 10 + 10 * _root.shellskilled;
_root.gotoAndPlay(2);
}
frame 378 {
_level0.mp1 -= 6;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.protectDefense = 10 + 10 * _root.protectskilled;
_root.gotoAndPlay(2);
}
frame 398 {
damage = random(100 + _root.skills + _root.furystormskilled * 15) + 50 + _root.skills + _root.furystormskilled * 7;
damage2 = '- ' + damage + ' HP!';
}
frame 414 {
_level0.mp1 -= 15;
_level0.enemyhp -= damage;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(10);
} else {
_root.gotoAndPlay(2);
}
}
frame 440 {
_level0.mp1 -= 7;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.enemySleepy = 1;
_root.gotoAndPlay(2);
}
frame 453 {
damage = random(400 + _root.skills + _root.ultimaskilled * 30) + 170 + _root.skills + _root.ultimaskilled * 20;
damage2 = '- ' + damage + ' HP!';
}
frame 474 {
_level0.mp1 -= 50;
_level0.enemyhp -= damage;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(10);
} else {
_root.gotoAndPlay(2);
}
}
frame 503 {
attack = random(3) + 1;
if (attack == 1) {
damage2 = 'Death';
} else {
damage2 = 'Miss';
}
}
frame 527 {
_level0.mp1 -= 60;
if (attack == 1) {
_root.enemyhp = 0;
}
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(10);
} else {
_root.gotoAndPlay(2);
}
}
}
frame 6 {
stop();
}
movieClip 3510 {
frame 6 {
_root.infectedDarkness -= 1;
if (_root.infectedDarkness <= 0) {
_root.darknessInfect = 0;
}
}
}
button 3636 {
on (release) {
gotoAndPlay(90);
}
}
movieClip 3954 {
frame 1 {
_level0.done = 0;
if (_root.scanIt == 1) {
_root.scanIt = 0;
gotoAndPlay(98);
} else {
if (_root.stealAction == 1) {
_root.stealAction = 0;
gotoAndPlay(52);
} else {
if (_root.darkness == 1) {
_root.darkness = 0;
gotoAndPlay(15);
} else {
if (_root.delay == 1) {
_root.delay = 0;
gotoAndPlay(37);
} else {
if (_root.drainithp == 1) {
_root.drainithp = 0;
gotoAndPlay(133);
} else {
if (_root.drainitmp == 1) {
_root.drainitmp = 0;
gotoAndPlay(175);
}
}
}
}
}
}
}
frame 4 {
damage = random(30 + _root.strength) + 10 + _root.strength + _root.qattackskilled * 2;
if (_root.berzerko2 > 0) {
_root.berzerko2 -= 1;
attack4 = random(4) + 1;
switch (attack4) {
case 1:
damage *= 2;
break;
case 3:
damage *= 3;
break;
default:
}
}
damage2 = '- ' + damage + ' HP!';
}
frame 14 {
_root.ap -= 5;
_level0.enemyhp -= damage;
_level0.turn = 1;
_level0.attack = 39 + _root.qattackskilled * 4;
if (_level0.attack >= 50) {
_level0.attack = 50;
}
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(10);
} else {
_root.gotoAndStop(2);
}
}
frame 22 {
damage = random(30 + _root.strength) + 10 + _root.strength;
if (_root.berzerko2 > 0) {
_root.berzerko2 -= 1;
attack4 = random(4) + 1;
switch (attack4) {
case 1:
damage *= 2;
break;
case 3:
damage *= 3;
break;
default:
}
}
damage2 = '- ' + damage + ' HP!';
}
frame 36 {
_root.ap -= 30;
_level0.enemyhp -= damage;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.infectedDarkness = 120;
_root.darknessInfect = 13;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(10);
} else {
_root.gotoAndStop(2);
}
}
frame 43 {
damage = random(30 + _root.strength) + 10 + _root.strength + _root.dattackskilled * 2;
if (_root.berzerko2 > 0) {
_root.berzerko2 -= 1;
attack4 = random(4) + 1;
switch (attack4) {
case 1:
damage *= 2;
break;
case 3:
damage *= 3;
break;
default:
}
}
damage2 = '- ' + damage + ' HP!';
}
frame 51 {
_root.ap -= 15;
_level0.enemyhp -= damage;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_level0.enemyattack = _level0.enemyattack - 50 - _root.dattackskilled * 2;
if (_level0.enemyattack < 0) {
_level0.enemyattack = 0;
}
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(10);
} else {
_root.gotoAndStop(2);
}
}
frame 76 {
stealit = random(2) + 1;
if (_root.stolen == 1) {
stealit = 1;
}
}
frame 77 {
if (stealit == 1) {
gotoAndPlay(84);
}
}
frame 82 {
dam = random(13) + 1;
_root.stolen = 1;
switch (dam) {
case 1:
dam2 = random(2) + 1;
_root.elixir += dam2;
itemFound = 'You stole ' + dam2 + ' elixirs!';
break;
case 2:
dam2 = random(2) + 1;
_root.xpotion += dam2;
itemFound = 'You stole ' + dam2 + ' xpotions!';
break;
case 3:
dam2 = random(2) + 1;
_root.hpotion += dam2;
itemFound = 'You stole ' + dam2 + ' Hi-Potions!';
break;
case 4:
dam2 = random(2) + 1;
_root.ether += dam2;
itemFound = 'You stole ' + dam2 + ' ethers!';
break;
case 5:
dam2 = random(250) + 40;
_root.money += dam2;
itemFound = 'You stole ' + dam2 + ' coins!';
break;
case 6:
dam2 = random(2) + 1;
_root.antidote += dam2;
itemFound = 'You stole ' + dam2 + ' antidotes!';
break;
case 7:
dam2 = random(2) + 1;
_root.revive += dam2;
itemFound = 'You stole ' + dam2 + ' revives!';
break;
default:
dam2 = random(2) + 1;
_root.potion += dam2;
itemFound = 'You stole ' + dam2 + ' potions!';
}
}
frame 83 {
stop();
}
frame 97 {
_root.ap -= 25;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.gotoAndStop(2);
}
frame 132 {
_root.ap -= 10;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.enemyInfo = 1;
_root.score.enInfo._visible = true;
_root.gotoAndStop(2);
}
frame 147 {
damage = random(30 + _root.skills + _root.hpdrainskilled * 5) + 10 + _root.skills + _root.hpdrainskilled * 4;
damage2 = '- ' + damage + ' HP!';
damage3 = '+ ' + damage + ' HP!';
}
frame 174 {
_root.ap -= 30;
_level0.enemyhp -= damage;
_root.char1 += damage;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(10);
} else {
_root.gotoAndStop(2);
}
}
frame 191 {
damage = random(8 + _root.skills + _root.mpdrainskilled * 2) + 5 + _root.mpdrainskilled * 2;
damage2 = '+ ' + damage + ' MP!';
}
frame 216 {
_root.ap -= 30;
_root.mp1 += damage;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.enemydrainhp = 1;
_root.gotoAndStop(2);
}
}
frame 7 {
stop();
}
movieClip 4027 {
}
movieClip 4042 {
}
movieClip 4307 {
frame 1 {
if (_level0.horse == 1) {
_level0.horse = 0;
gotoAndPlay(39);
} else {
if (_root.nighty == 1) {
_root.nighty = 0;
gotoAndPlay(158);
} else {
if (_root.hypo == 1) {
_root.hypo = 0;
gotoAndPlay(112);
} else {
if (_root.dragoon == 1) {
_root.dragoon = 0;
gotoAndPlay(80);
}
}
}
}
}
frame 26 {
damage = random(100 + _root.skills + _root.firemanskilled * 3) + 50 + _root.firemanskilled * 4 + _root.skills;
damage2 = '- ' + damage + ' HP!';
}
frame 38 {
_level0.mp1 -= 10;
_level0.techAttack += 20;
if (_level0.techAttack > 100) {
_level0.techAttack = 100;
}
_level0.enemyhp -= damage;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(10);
} else {
_root.gotoAndPlay(2);
}
}
frame 64 {
damage = random(200 + _root.skills + _root.lighthorseskilled * 4) + 50 + _root.lighthorseskilled * 3 + _root.skills;
damage2 = '- ' + damage + ' HP!';
}
frame 79 {
_level0.mp1 -= 15;
_level0.techAttack += 20;
if (_level0.techAttack > 100) {
_level0.techAttack = 100;
}
_level0.enemyhp -= damage;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(10);
} else {
_root.gotoAndPlay(2);
}
}
frame 96 {
damage = random(210 + _root.skills + _root.dragonskilled * 3) + 90 + _root.dragonskilled * 4 + _root.skills;
damage2 = '- ' + damage + ' HP!';
}
frame 111 {
_level0.mp1 -= 35;
_level0.enemyhp -= damage;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.pOn = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(10);
} else {
_root.gotoAndPlay(2);
}
}
frame 131 {
damage = random(250 + _root.skills + _root.hypnotistskilled * 3) + 150 + _root.hypnotistskilled * 4 + _root.skills;
damage2 = '- ' + damage + ' HP!';
}
frame 157 {
_level0.mp1 -= 40;
_level0.enemyhp -= damage;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.enemySleepy = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(10);
} else {
_root.gotoAndPlay(2);
}
}
frame 182 {
damage = random(330 + _root.skills + _root.nightmareskilled * 3) + 200 + _root.nightmareskilled * 4 + _root.skills;
damage2 = '- ' + damage + ' HP!';
}
frame 205 {
_level0.mp1 -= 75;
_level0.enemyhp -= damage;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.enemySleepy = 1;
_root.pOn = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(10);
} else {
_root.gotoAndPlay(2);
}
}
}
frame 8 {
stop();
}
movieClip 4536 {
frame 1 {
if (_level0.ethah == 1) {
_level0.ethah = 0;
gotoAndPlay(36);
} else {
if (_level0.hpotions == 1) {
_level0.hpotions = 0;
gotoAndPlay(71);
} else {
if (_level0.xpotions == 1) {
_level0.xpotions = 0;
gotoAndPlay(106);
} else {
if (_level0.elixah == 1) {
_level0.elixah = 0;
gotoAndPlay(141);
} else {
if (_root.antiHah == 1) {
_root.antiHah = 0;
gotoAndPlay(176);
} else {
if (_root.revivey == 1) {
_root.revivey = 0;
gotoAndPlay(205);
}
}
}
}
}
}
}
frame 35 {
_level0.potion -= 1;
_level0.techAttack += 20;
if (_level0.techAttack > 100) {
_level0.techAttack = 100;
}
_level0.char1 += 50;
if (_level0.char1 > _level0.maxhp) {
_level0.char1 = _level0.maxhp;
}
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
_root.gotoAndPlay(2);
}
frame 70 {
_level0.ether -= 1;
_level0.mp1 += 20;
_level0.techAttack += 20;
if (_level0.techAttack > 100) {
_level0.techAttack = 100;
}
if (_level0.mp1 > _level0.maxmp1) {
_level0.mp1 = _level0.maxmp1;
}
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.gotoAndPlay(2);
}
frame 105 {
_level0.hpotion -= 1;
_level0.techAttack += 20;
if (_level0.techAttack > 100) {
_level0.techAttack = 100;
}
_level0.char1 += 300;
if (_level0.char1 > _level0.maxhp) {
_level0.char1 = _level0.maxhp;
}
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
_root.gotoAndPlay(2);
}
frame 140 {
_level0.xpotion -= 1;
_level0.techAttack += 20;
if (_level0.techAttack > 100) {
_level0.techAttack = 100;
}
_level0.char1 = _level0.maxhp;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
_root.gotoAndPlay(2);
}
frame 175 {
_level0.elixir -= 1;
_level0.techAttack += 20;
if (_level0.techAttack > 100) {
_level0.techAttack = 100;
}
_level0.char1 = _level0.maxhp;
_level0.mp1 = _level0.maxmp1;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
_root.gotoAndPlay(2);
}
frame 204 {
_level0.antidote -= 1;
_root.playerpoison = 0;
_root.blind1 = 0;
_root.ZombieInfected = 0;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.gotoAndPlay(2);
}
frame 233 {
_level0.revive -= 1;
_root.char2Alive = true;
_root.char2 = 75;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.gotoAndPlay(2);
}
}
frame 9 {
stop();
}
movieClip 4718 {
frame 1 {
if (_root.limity2 == 1) {
_root.limity2 = 0;
gotoAndPlay(20);
} else {
if (_root.limity3 == 1) {
_root.limity3 = 0;
gotoAndPlay(40);
}
}
}
frame 9 {
damage = random(40 + _root.strength) + 20 + _root.strength;
if (_root.berzerko2 > 0) {
_root.berzerko2 -= 1;
attack4 = random(4) + 1;
switch (attack4) {
case 1:
damage *= 2;
break;
case 3:
damage *= 3;
break;
default:
}
}
damage2 = '- ' + damage + ' HP!';
statusInfect = random(4) + 1;
switch (statusInfect) {
case 1:
_root.pOn = 1;
_root.infectedDarkness = 120;
_root.darknessInfect = 13;
statMess = 'Enemy infected with Darkness and Poison!';
break;
case 2:
_root.enemySleepy = 1;
_root.pOn = 1;
statMess = 'Enemy infected with Sleep and Poison!';
break;
case 3:
_root.confused = random(100 + _root.confuseskilled * 20) + 40 + _root.confuseskilled * 10;
_root.enemySleepy = 1;
_root.pOn = 1;
statMess = 'Enemy infected with Sleep, Poison, and Confuse!';
break;
case 4:
_root.confused = random(100 + _root.confuseskilled * 20) + 40 + _root.confuseskilled * 10;
_root.enemySleepy = 1;
_root.infectedDarkness = 120;
_root.darknessInfect = 13;
statMess = 'Enemy infected with Confuse and Darkness!';
}
}
frame 19 {
_root.limit = 0;
_level0.enemyhp -= damage;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(10);
} else {
_root.gotoAndPlay(2);
}
}
frame 27 {
wholeDam = 0;
temp = Math.ceil(_root.level / (random(6) + 4));
while (temp > 0) {
damage = random(44 + _root.strength + _root.level * 2) + 16 + _root.strength + _root.level * 2;
if (_root.berzerko2 > 0) {
_root.berzerko2 -= 1;
attack4 = random(4) + 1;
switch (attack4) {
case 1:
damage *= 2;
break;
case 3:
damage *= 3;
break;
default:
}
}
if (_root.lifeLeech > 0) {
gainBack = Math.ceil(_root.lifeLeech * 0.07000000000000001 * damage);
_root.char1 += gainBack;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.magLeech > 0) {
gainBack = Math.ceil(_root.magLeech * 0.04 * damage);
_root.mp1 += gainBack;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
}
wholeDam += damage;
--temp;
}
damage2 = '- ' + wholeDam + ' HP!';
}
frame 39 {
_root.limit = 0;
_level0.enemyhp -= wholeDam;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(10);
} else {
_root.gotoAndPlay(2);
}
}
frame 49 {
dam = random(3) + 1;
switch (dam) {
case 1:
damage = _root.enemyhp / 2;
break;
case 2:
damage = _root.enemyhp / 3;
break;
case 3:
damagy = 'DEAD!';
damage = _root.enemyhp;
}
if (damage != 'DEAD!') {
damage2 = '- ' + damage + ' HP!';
} else {
damage2 = damagy;
}
}
frame 60 {
call(19);
}
}
frame 10 {
stop();
}
movieClip 4988 {
frame 1 {
_root.deadEnemy = 1;
_root.enemyhp = 0;
colorin = new Color(this);
if (_root.enemyColor == 1) {
myColorTransform = {'ra': '100', 'rb': '111', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '100'};
colorin.setTransform(myColorTransform);
} else {
if (_root.enemyColor == 2) {
myColorTransform = {'ra': '100', 'rb': '111', 'ga': '100', 'gb': '96', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '100'};
colorin.setTransform(myColorTransform);
} else {
if (_root.enemyColor == 3) {
myColorTransform = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '61', 'aa': '100', 'ab': '100'};
colorin.setTransform(myColorTransform);
} else {
if (_root.enemyColor == 4) {
myColorTransform = {'ra': '100', 'rb': '86', 'ga': '100', 'gb': '35', 'ba': '100', 'bb': '51', 'aa': '100', 'ab': '100'};
colorin.setTransform(myColorTransform);
} else {
if (_root.enemyColor == 5) {
myColorTransform = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '45', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '100'};
colorin.setTransform(myColorTransform);
}
}
}
}
}
if (_root.ghostEnemy == 5 || _root.ghostEnemy == 12) {
this._alpha = 50;
}
if (_root.turnedFrog == 1) {
gotoAndPlay(176);
} else {
if (_level0.alreadyDead == 1) {
_level0.alreadyDead = 0;
gotoAndStop(14);
} else {
if (_level0.enemy2 == 1) {
gotoAndPlay(15);
} else {
if (_level0.enemy3 == 1) {
gotoAndPlay(28);
} else {
if (_level0.enemy4 == 1) {
gotoAndPlay(39);
} else {
if (_level0.enemy5 == 1) {
gotoAndPlay(49);
} else {
if (_level0.enemy6 == 1) {
gotoAndPlay(57);
} else {
if (_level0.enemy7 == 1) {
gotoAndPlay(68);
} else {
if (_root.enemy8 == 1) {
gotoAndPlay(80);
} else {
if (_root.enemy9 == 1) {
gotoAndPlay(89);
} else {
if (_root.enemy10 == 1) {
gotoAndPlay(102);
} else {
if (_root.enemy11 == 1) {
gotoAndPlay(111);
} else {
if (_root.enemy12 == 1) {
gotoAndPlay(119);
} else {
if (_root.enemy13 == 1) {
gotoAndPlay(134);
} else {
if (_root.enemy14 == 1) {
gotoAndPlay(144);
} else {
if (_root.enemy15 == 1) {
gotoAndPlay(155);
} else {
if (_root.enemy16 == 1) {
gotoAndPlay(168);
} else {
if (_root.enemy17 == 1) {
gotoAndPlay(185);
} else {
if (_root.enemy18 == 1) {
gotoAndPlay(196);
} else {
if (_root.enemy19 == 1) {
gotoAndPlay(204);
} else {
if (_root.enemy20 == 1) {
gotoAndPlay(214);
} else {
if (_root.boss1 == 1) {
gotoAndPlay(222);
} else {
if (_root.enemy21 == 1) {
gotoAndPlay(228);
} else {
if (_root.boss2 == 1) {
gotoAndPlay(238);
} else {
if (_root.boss3 == 1) {
gotoAndPlay(249);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
frame 11 {
if (_root.guy2 == 1) {
_root.gotoAndPlay(27);
} else {
_root.gotoAndPlay(11);
}
}
frame 14 {
if (_root.guy2 == 1) {
_root.gotoAndPlay(27);
} else {
_root.gotoAndPlay(11);
}
}
frame 27 {
call(14);
}
frame 38 {
call(14);
}
frame 48 {
call(14);
}
frame 56 {
call(14);
}
frame 67 {
call(14);
}
frame 79 {
call(14);
}
frame 88 {
call(14);
}
frame 101 {
call(14);
}
frame 110 {
call(14);
}
frame 118 {
call(14);
}
frame 133 {
call(14);
}
frame 143 {
call(14);
}
frame 154 {
call(14);
}
frame 167 {
call(14);
}
frame 175 {
call(14);
}
frame 184 {
_root.frogTurn = 0;
_root.turnedFrog = 0;
call(14);
}
frame 195 {
_root.frogTurn = 0;
_root.turnedFrog = 0;
call(14);
}
frame 203 {
_root.frogTurn = 0;
_root.turnedFrog = 0;
call(14);
}
frame 213 {
_root.frogTurn = 0;
_root.turnedFrog = 0;
call(14);
}
frame 221 {
_root.frogTurn = 0;
_root.turnedFrog = 0;
call(14);
}
frame 227 {
_root.frogTurn = 0;
_root.turnedFrog = 0;
call(14);
}
frame 237 {
_root.frogTurn = 0;
_root.turnedFrog = 0;
call(14);
}
frame 248 {
_root.frogTurn = 0;
_root.turnedFrog = 0;
call(14);
}
frame 259 {
_root.frogTurn = 0;
_root.turnedFrog = 0;
call(14);
}
}
movieClip 4989 {
frame 10 {
if (_root.guy2 == 1) {
_root.gotoAndPlay(27);
} else {
_root.gotoAndPlay(11);
}
}
}
frame 11 {
if (_root.char2Parted == 1) {
_root.char2Parted = 0;
tellTarget ('_root.levelChar2') {
gotoAndPlay(2);
}
}
stop();
}
movieClip 5019 {
frame 1 {
attack = random(2) + 1;
switch (attack) {
break;
case 1:
case 2:
gotoAndPlay(17);
}
}
frame 16 {
gotoAndPlay(8);
}
frame 28 {
stop();
}
}
button 5020 {
on (release) {
if (_root.moofer.skillpoint == 0 && _root.levelChar2.skillpoint == 0) {
if (_level0.useHaste == 1) {
_root.speed -= 3;
}
_level0.useHaste = 0;
_root.townMusOn2 = 0;
_root.stopMove22 = 1;
_root.powerBoss = 0;
_level0.useSlow = 0;
_root.townMusOn = 0;
_root.doubleTurn = 0;
_root.doubleTurn2 = 0;
_root.fadeOut = 1;
_root.attackStrength = 0;
_root.openIt = 0;
_root.lightAttacko = 0;
_root.ballLight = 0;
_root.berzerko = 0;
_root.sleepEl2 = 0;
_root.sleepEl = 0;
_root.darknessInfect = 0;
_root.powerDown = 0;
_root.confused = 0;
_root.char1Parted = 0;
_root.char2Parted = 0;
_root.enemyInfo2 = 0;
if (_root.leechy == 1) {
_root.leechy = 0;
_root.lifeLeech2 -= 3;
_root.magLeech2 -= 3;
}
_root.ZombieInfected2 = 0;
_root.hlevel -= _root.hah22;
_root.hlevel -= _root.temp22;
_root.blind1 = 0;
_root.blind2 = 0;
_root.guy2 = 0;
_root.enemySleepy = 0;
_level0.enemyattack = 0;
counter = 0;
protectDefense = 0;
shellDefense = 0;
_root.attack = 0;
_root.attack2 = 0;
_root.enchant = 0;
_root.counter = 0;
_root.stolen = 0;
_root.shellDefense = 0;
_root.protectDefense = 0;
_root.pOn = 0;
_root.comeback = 0;
_root.Zombie = 0;
_root.stopIt = 0;
_root.enemy2 = 0;
_root.enemy3 = 0;
_root.enemy4 = 0;
_root.enemy5 = 0;
_root.enemy6 = 0;
_root.enemy7 = 0;
_root.enemy8 = 0;
_root.enemy9 = 0;
_root.enemy10 = 0;
_root.enemy11 = 0;
_root.enemy12 = 0;
_root.enemy13 = 0;
_root.enemy14 = 0;
_root.enemy16 = 0;
_root.enemy17 = 0;
_root.enemy18 = 0;
_root.enemy19 = 0;
_root.enemy20 = 0;
_root.enemy21 = 0;
_root.runIt = 0;
infectedDarkness = 0;
ZombieInfected = 0;
playerpoison = 0;
playerpoison2 = 0;
_root.deaddy = 0;
deadEnemy = 0;
enemyInfo = 0;
_root.townMusOn = 0;
stopAllSounds();
if (_root.story != 4 && _root.boss1 == 1) {
_root.boss1 = 0;
}
if (_root.story != 16 && _root.boss3 == 1) {
_root.boss3 = 0;
}
if (_root.story != 10 && _root.boss2 == 1) {
_root.boss2 = 0;
}
if (_root.story == 16 && _root.boss3 == 1) {
_root.story = 17;
_root.boss3 = 0;
gotoAndPlay(337);
} else {
if (_root.battleSpecA1 == 1) {
_root.justStat = 1;
_root.battleSpecA1 = 0;
gotoAndPlay(371);
} else {
if (_root.battleSpecA2 == 1) {
_root.justStat = 1;
_root.battleSpecA2 = 0;
gotoAndPlay(373);
} else {
if (_root.battleSpecA3 == 1) {
_root.justStat = 1;
_root.battleSpecA3 = 0;
gotoAndPlay(375);
} else {
if (_root.battleSpecA4 == 1) {
_root.justStat = 1;
_root.battleSpecA4 = 0;
gotoAndPlay(377);
} else {
if (_root.story == 10 && _root.boss2 == 1) {
_root.story = 11;
_root.boss2 = 0;
gotoAndPlay(217);
} else {
if (_root.story == 4 && _root.boss1 == 1) {
_root.story = 5;
_root.boss1 = 0;
gotoAndPlay(123);
} else {
if (_root.enemy15 == 1) {
_root.enemy15 = 0;
if (_root.supesCape != 1) {
gotoAndPlay(445);
} else {
gotoAndPlay(482);
}
} else {
if (_root.battleNow4 == 1) {
_root.battleNow4 = 0;
_root.savemap = 1;
gotoAndPlay(439);
} else {
if (_root.battleNow3 == 1) {
_root.battleNow3 = 0;
_root.savemap = 1;
gotoAndPlay(437);
} else {
if (_root.battleNow2 == 1) {
_root.battleNow2 = 0;
_root.savemap = 1;
gotoAndPlay(435);
} else {
if (_root.battleNow == 1) {
_root.battleNow = 0;
_root.savemap = 1;
gotoAndPlay(433);
} else {
gotoAndPlay(482);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 5032 {
on (release) {
if (skillpoint > 0) {
skillpoint -= 1;
_root.strength += 1;
}
}
}
button 5033 {
on (release) {
if (skillpoint > 0) {
skillpoint -= 1;
_root.vitality += 1;
_root.maxhp += (5 + _root.vitalityskilled) * _root.hptwo;
}
}
}
button 5034 {
on (release) {
if (skillpoint > 0) {
skillpoint -= 1;
_root.energy += 1;
_root.maxmp1 += (3 + _root.energyskilled) * _root.mptwo;
}
}
}
button 5035 {
on (release) {
if (skillpoint > 0 && _root.speedEx <= 150) {
skillpoint -= 1;
_root.speedEx += 1;
}
}
}
button 5036 {
on (release) {
if (skillpoint > 0) {
skillpoint -= 1;
_root.skills += 1;
}
}
}
button 5037 {
on (release) {
if (skillpoint > 0) {
skillpoint -= 1;
_root.defense += 1;
}
}
}
movieClip 5054 {
frame 1 {
if (_root.enemyRan == 1) {
_root.enemyRan = 0;
mess1 = 'You got 0 coins!!';
mess2 = 'You got 0 EXP!!';
mess3 = 'Enemy dropped nothing.';
mess4 = '';
skillpoint = 0;
} else {
skillpoint = 0;
coins = (random(100 + _root.hlevel * 20 + _root.moneyskilled * 7) + 50 + _root.hlevel * 10 + _root.moneyskilled * 7) * _root.moneyPlus * _root.spamItem;
_root.money += coins;
moreEXP = (random(20 + _root.hlevel * 4 + _root.expskilled * 3) + 8 + _root.hlevel * 3 + _root.expskilled * 3) * _root.EXPMore * _root.heroRing;
_root.exp1 += moreEXP;
mess1 = 'You got ' + coins + ' coins!!';
mess2 = 'You got ' + moreEXP + ' EXP!!';
attack = random(18) + 1;
switch (attack) {
case 2:
attack2 = random(2) + 1;
_root.potion += attack2;
mess3 = 'Item: ' + attack2 + ' potions!!';
break;
case 4:
attack2 = random(2) + 1;
_root.xpotion += attack2;
mess3 = 'Item: ' + attack2 + ' X-potions!!';
break;
case 6:
attack2 = random(2) + 1;
_root.hpotion += attack2;
mess3 = 'Item: ' + attack2 + ' Hi-potions!!';
break;
case 7:
attack2 = random(2) + 1;
_root.ether += attack2;
mess3 = 'Item: ' + attack2 + ' ethers!!';
break;
case 10:
attack2 = random(2) + 1;
_root.elixir += attack2;
mess3 = 'Item: ' + attack2 + ' elixirs!!';
break;
case 11:
attack2 = random(2) + 1;
_root.potion += attack2;
mess3 = 'Item: ' + attack2 + ' potions!!';
break;
case 12:
attack2 = random(2) + 1;
_root.ether += attack2;
mess3 = 'Item: ' + attack2 + ' ethers!!';
break;
case 14:
attack2 = random(2) + 1;
_root.antidote += attack2;
mess3 = 'Item: ' + attack2 + ' antidotes!!';
break;
case 15:
attack2 = random(2) + 1;
_root.revive += attack2;
mess3 = 'Item: ' + attack2 + ' revives!!';
break;
default:
mess3 = 'Enemy dropped nothing.';
}
attack = random(14) + 1;
switch (attack) {
case 1:
mess4 = 'Enemy dropped a weapon!';
weaponDrop = 1;
break;
case 2:
mess4 = 'Enemy dropped armor!';
armorDrop = 1;
break;
case 3:
mess4 = 'Enemy dropped sunglasses!';
glassesDrop = 1;
break;
case 4:
mess4 = 'Enemy dropped a belt!';
beltDrop = 1;
break;
default:
mess4 = 'Enemy dropped no equipment.';
}
if (weaponDrop == 1) {
weaponDrop = 0;
if (_root.armor1 != 1 && _root.weapon1 != 1 && _root.belt1 != 1 && _root.glasses1 != 1) {
_root.weapon1 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.weaponName1 = 'Superman';
break;
case 2:
_root.weaponName1 = 'the Wolf';
break;
case 3:
_root.weaponName1 = 'the Mouse';
break;
case 4:
_root.weaponName1 = 'the Lion';
break;
case 5:
_root.weaponName1 = 'the Hulk';
break;
case 6:
_root.weaponName1 = 'the moon';
break;
case 7:
_root.weaponName1 = 'Tyson';
break;
case 8:
_root.weaponName1 = 'the Jackel';
break;
case 9:
_root.weaponName1 = 'the Strongman';
break;
case 10:
_root.weaponName1 = 'the Fly';
break;
case 11:
_root.weaponName1 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.weaponSkill1 = 'OK damage';
break;
case 2:
_root.weaponSkill1 = 'Speed Plus';
break;
case 3:
_root.weaponSkill1 = 'Defense Plus';
break;
case 4:
_root.weaponSkill1 = 'HP Plus';
break;
case 5:
_root.weaponSkill1 = 'Skills Plus';
break;
case 6:
_root.weaponSkill1 = 'Speedy';
break;
case 7:
_root.weaponSkill1 == 'Skilled';
}
attack = random(12) + 1;
switch (attack) {
case 1:
_root.weaponSkill2 = 'Double Strength';
break;
case 2:
_root.weaponSkill2 = 'More HP';
break;
case 3:
_root.weaponSkill2 = 'Super MP';
break;
case 4:
_root.weaponSkill2 = 'Strong';
break;
case 5:
_root.weaponSkill2 = 'Money Maker';
break;
case 6:
_root.weaponSkill2 = 'More Skills';
break;
case 7:
_root.weaponSkill2 = 'More MP';
break;
case 8:
_root.weaponSkill2 = 'Life Leech';
break;
case 9:
_root.weaponSkill2 = 'Mana Leech';
break;
default:
_root.weaponSkill2 = '';
}
if (_root.weaponSkill2 != '') {
attack = random(17) + 1;
switch (attack) {
case 1:
_root.weaponSkill3 = 'Super HP';
break;
case 2:
_root.weaponSkill3 = 'Super Speed';
break;
case 3:
_root.weaponSkill3 = 'EXP More';
break;
case 4:
_root.weaponSkill3 = 'Super Strength';
break;
case 5:
_root.weaponSkill3 = 'Super Skills';
break;
case 6:
_root.weaponSkill3 = 'Super Defense';
break;
case 7:
_root.weaponSkill3 = 'Invincible';
break;
case 8:
_root.weaponSkill3 = 'Immortal';
break;
case 9:
_root.weaponSkill3 = 'God';
break;
case 10:
_root.weaponSkill3 = 'Super Life Leech';
break;
case 11:
_root.weaponSkill3 = 'Super Mana Leech';
break;
default:
_root.weaponSkill3 = '';
}
}
} else {
if (_root.armor2 != 1 && _root.weapon2 != 1 && _root.belt2 != 1 && _root.glasses2 != 1) {
_root.weapon2 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.weaponName2 = 'Superman';
break;
case 2:
_root.weaponName2 = 'the Wolf';
break;
case 3:
_root.weaponName2 = 'the Mouse';
break;
case 4:
_root.weaponName2 = 'the Lion';
break;
case 5:
_root.weaponName2 = 'the Hulk';
break;
case 6:
_root.weaponName2 = 'the moon';
break;
case 7:
_root.weaponName2 = 'Tyson';
break;
case 8:
_root.weaponName2 = 'the Jackel';
break;
case 9:
_root.weaponName2 = 'the Strongman';
break;
case 10:
_root.weaponName2 = 'the Fly';
break;
case 11:
_root.weaponName2 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.weaponSkill4 = 'OK damage';
break;
case 2:
_root.weaponSkill4 = 'Speed Plus';
break;
case 3:
_root.weaponSkill4 = 'Defense Plus';
break;
case 4:
_root.weaponSkill4 = 'HP Plus';
break;
case 5:
_root.weaponSkill4 = 'Skills Plus';
break;
case 6:
_root.weaponSkill4 = 'Speedy';
break;
case 7:
_root.weaponSkill4 == 'Skilled';
}
attack = random(12) + 1;
switch (attack) {
case 1:
_root.weaponSkill5 = 'Double Strength';
break;
case 2:
_root.weaponSkill5 = 'More HP';
break;
case 3:
_root.weaponSkill5 = 'Super MP';
break;
case 4:
_root.weaponSkill5 = 'Strong';
break;
case 5:
_root.weaponSkill5 = 'Money Maker';
break;
case 6:
_root.weaponSkill5 = 'More Skills';
break;
case 7:
_root.weaponSkill5 = 'More MP';
break;
case 8:
_root.weaponSkill5 = 'Life Leech';
break;
case 9:
_root.weaponSkill5 = 'Mana Leech';
break;
default:
_root.weaponSkill5 = '';
}
if (_root.weaponSkill5 != '') {
attack = random(15) + 1;
switch (attack) {
case 1:
_root.weaponSkill6 = 'Super HP';
break;
case 2:
_root.weaponSkill6 = 'Super Speed';
break;
case 3:
_root.weaponSkill6 = 'EXP More';
break;
case 4:
_root.weaponSkill6 = 'Super Strength';
break;
case 5:
_root.weaponSkill6 = 'Super Skills';
break;
case 6:
_root.weaponSkill6 = 'Super Defense';
break;
case 7:
_root.weaponSkill6 = 'Invincible';
break;
case 8:
_root.weaponSkill6 = 'Immortal';
break;
case 9:
_root.weaponSkill6 = 'God';
break;
case 10:
_root.weaponSkill6 = 'Super Life Leech';
break;
case 11:
_root.weaponSkill6 = 'Super Mana Leech';
break;
default:
_root.weaponSkill6 = '';
}
}
} else {
if (_root.armor3 != 1 && _root.weapon3 != 1 && _root.belt3 != 1 && _root.glasses3 != 1) {
_root.weapon3 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.weaponName3 = 'Superman';
break;
case 2:
_root.weaponName3 = 'the Wolf';
break;
case 3:
_root.weaponName3 = 'the Mouse';
break;
case 4:
_root.weaponName3 = 'the Lion';
break;
case 5:
_root.weaponName3 = 'the Hulk';
break;
case 6:
_root.weaponName3 = 'the moon';
break;
case 7:
_root.weaponName3 = 'Tyson';
break;
case 8:
_root.weaponName3 = 'the Jackel';
break;
case 9:
_root.weaponName3 = 'the Strongman';
break;
case 10:
_root.weaponName3 = 'the Fly';
break;
case 11:
_root.weaponName3 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.weaponSkill7 = 'OK damage';
break;
case 2:
_root.weaponSkill7 = 'Speed Plus';
break;
case 3:
_root.weaponSkill7 = 'Defense Plus';
break;
case 4:
_root.weaponSkill7 = 'HP Plus';
break;
case 5:
_root.weaponSkill7 = 'Skills Plus';
break;
case 6:
_root.weaponSkill7 = 'Speedy';
break;
case 7:
_root.weaponSkill7 == 'Skilled';
}
attack = random(12) + 1;
switch (attack) {
case 1:
_root.weaponSkill8 = 'Double Strength';
break;
case 2:
_root.weaponSkill8 = 'More HP';
break;
case 3:
_root.weaponSkill8 = 'Super MP';
break;
case 4:
_root.weaponSkill8 = 'Strong';
break;
case 5:
_root.weaponSkill8 = 'Money Maker';
break;
case 6:
_root.weaponSkill8 = 'More Skills';
break;
case 7:
_root.weaponSkill8 = 'More MP';
break;
case 8:
_root.weaponSkill8 = 'Life Leech';
break;
case 9:
_root.weaponSkill8 = 'Mana Leech';
break;
default:
_root.weaponSkill8 = '';
}
if (_root.weaponSkill8 != '') {
attack = random(17) + 1;
switch (attack) {
case 1:
_root.weaponSkill9 = 'Super HP';
break;
case 2:
_root.weaponSkill9 = 'Super Speed';
break;
case 3:
_root.weaponSkill9 = 'EXP More';
break;
case 4:
_root.weaponSkill9 = 'Super Strength';
break;
case 5:
_root.weaponSkill9 = 'Super Skills';
break;
case 6:
_root.weaponSkill9 = 'Super Defense';
break;
case 7:
_root.weaponSkill9 = 'Invincible';
break;
case 8:
_root.weaponSkill9 = 'Immortal';
break;
case 9:
_root.weaponSkill9 = 'God';
break;
case 10:
_root.weaponSkill9 = 'Super Life Leech';
break;
case 11:
_root.weaponSkill9 = 'Super Mana Leech';
break;
default:
_root.weaponSkill9 = '';
}
}
} else {
if (_root.armor4 != 1 && _root.weapon4 != 1 && _root.belt4 != 1 && _root.glasses4 != 1) {
_root.weapon4 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.weaponName4 = 'Superman';
break;
case 2:
_root.weaponName4 = 'the Wolf';
break;
case 3:
_root.weaponName4 = 'the Mouse';
break;
case 4:
_root.weaponName4 = 'the Lion';
break;
case 5:
_root.weaponName4 = 'the Hulk';
break;
case 6:
_root.weaponName4 = 'the moon';
break;
case 7:
_root.weaponName4 = 'Tyson';
break;
case 8:
_root.weaponName4 = 'the Jackel';
break;
case 9:
_root.weaponName4 = 'the Strongman';
break;
case 10:
_root.weaponName4 = 'the Fly';
break;
case 11:
_root.weaponName4 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.weaponSkill10 = 'OK damage';
break;
case 2:
_root.weaponSkill10 = 'Speed Plus';
break;
case 3:
_root.weaponSkill10 = 'Defense Plus';
break;
case 4:
_root.weaponSkill10 = 'HP Plus';
break;
case 5:
_root.weaponSkill10 = 'Skills Plus';
break;
case 6:
_root.weaponSkill10 = 'Speedy';
break;
case 7:
_root.weaponSkill10 == 'Skilled';
}
attack = random(12) + 1;
switch (attack) {
case 1:
_root.weaponSkill11 = 'Double Strength';
break;
case 2:
_root.weaponSkill11 = 'More HP';
break;
case 3:
_root.weaponSkill11 = 'Super MP';
break;
case 4:
_root.weaponSkill11 = 'Strong';
break;
case 5:
_root.weaponSkill11 = 'Money Maker';
break;
case 6:
_root.weaponSkill11 = 'More Skills';
break;
case 7:
_root.weaponSkill11 = 'More MP';
break;
case 8:
_root.weaponSkill11 = 'Life Leech';
break;
case 9:
_root.weaponSkill11 = 'Mana Leech';
break;
default:
_root.weaponSkill11 = '';
}
if (_root.weaponSkill11 != '') {
attack = random(17) + 1;
switch (attack) {
case 1:
_root.weaponSkill12 = 'Super HP';
break;
case 2:
_root.weaponSkill12 = 'Super Speed';
break;
case 3:
_root.weaponSkill12 = 'EXP More';
break;
case 4:
_root.weaponSkill12 = 'Super Strength';
break;
case 5:
_root.weaponSkill12 = 'Super Skills';
break;
case 6:
_root.weaponSkill12 = 'Super Defense';
break;
case 7:
_root.weaponSkill12 = 'Invincible';
break;
case 8:
_root.weaponSkill12 = 'Immortal';
break;
case 9:
_root.weaponSkill12 = 'God';
break;
case 10:
_root.weaponSkill12 = 'Super Life Leech';
break;
case 11:
_root.weaponSkill12 = 'Super Mana Leech';
break;
default:
_root.weaponSkill12 = '';
}
}
}
}
}
}
} else {
if (armorDrop == 1) {
armorDrop = 0;
if (_root.armor1 != 1 && _root.weapon1 != 1 && _root.belt1 != 1 && _root.glasses1 != 1) {
_root.armor1 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.armorName1 = 'Superman';
break;
case 2:
_root.armorName1 = 'the Wolf';
break;
case 3:
_root.armorName1 = 'the Mouse';
break;
case 4:
_root.armorName1 = 'the Lion';
break;
case 5:
_root.armorName1 = 'the Hulk';
break;
case 6:
_root.armorName1 = 'the moon';
break;
case 7:
_root.armorName1 = 'Tyson';
break;
case 8:
_root.armorName1 = 'the Jackel';
break;
case 9:
_root.armorName1 = 'the Strongman';
break;
case 10:
_root.armorName1 = 'the Fly';
break;
case 11:
_root.armorName1 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.armorSkill1 = 'OK defense';
break;
case 2:
_root.armorSkill1 = 'Extra Fast';
break;
case 3:
_root.armorSkill1 = 'More MP';
break;
case 4:
_root.armorSkill1 = 'Skills Plus';
break;
case 5:
_root.armorSkill1 = 'Speed Plus';
break;
case 6:
_root.armorSkill1 = 'HP Plus';
break;
case 7:
_root.armorSkill1 = 'Defense Plus';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.armorSkill2 = 'Double Defense';
break;
case 2:
_root.armorSkill2 = 'Extra Strength';
break;
case 3:
_root.armorSkill2 = 'More Defense';
break;
case 4:
_root.armorSkill2 = 'More Strength';
break;
case 5:
_root.armorSkill2 = 'More HP';
break;
case 6:
_root.armorSkill2 = 'MP Plus';
break;
case 7:
_root.armorSkill2 = 'More HP Plus';
break;
case 8:
_root.armorSkill2 = 'Auto-Shell';
break;
case 9:
_root.armorSkill2 = 'Auto-Protect';
break;
default:
_root.armorSkill2 = '';
}
if (_root.armorSkill2 != '') {
attack = random(17) + 1;
switch (attack) {
case 1:
_root.armorSkill3 = 'Ultra HP';
break;
case 2:
_root.armorSkill3 = 'Ultra MP';
break;
case 3:
_root.armorSkill3 = 'Super Speed';
break;
case 4:
_root.armorSkill3 = 'Ultra Defense';
break;
case 5:
_root.armorSkill3 = 'Ultra Strength';
break;
case 6:
_root.armorSkill3 = 'Speed of light';
break;
case 7:
_root.armorSkill3 = 'Ultra Skills';
break;
case 8:
_root.armorSkill3 = 'MP times two';
break;
case 9:
_root.armorSkill3 = 'HP times two';
break;
case 10:
_root.armorSkill3 = 'Auto-Haste';
break;
case 11:
_root.armorSkill3 = 'Auto-Recover';
break;
default:
_root.armorSkill3 = '';
}
}
} else {
if (_root.armor2 != 1 && _root.weapon2 != 1 && _root.belt2 != 1 && _root.glasses2 != 1) {
_root.armor2 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.armorName2 = 'Superman';
break;
case 2:
_root.armorName2 = 'the Wolf';
break;
case 3:
_root.armorName2 = 'the Mouse';
break;
case 4:
_root.armorName2 = 'the Lion';
break;
case 5:
_root.armorName2 = 'the Hulk';
break;
case 6:
_root.armorName2 = 'the moon';
break;
case 7:
_root.armorName2 = 'Tyson';
break;
case 8:
_root.armorName2 = 'the Jackel';
break;
case 9:
_root.armorName2 = 'the Strongman';
break;
case 10:
_root.armorName2 = 'the Fly';
break;
case 11:
_root.armorName2 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.armorSkill4 = 'OK defense';
break;
case 2:
_root.armorSkill4 = 'Extra Fast';
break;
case 3:
_root.armorSkill4 = 'More MP';
break;
case 4:
_root.armorSkill4 = 'Skills Plus';
break;
case 5:
_root.armorSkill4 = 'Speed Plus';
break;
case 6:
_root.armorSkill4 = 'HP Plus';
break;
case 7:
_root.armorSkill4 = 'Defense Plus';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.armorSkill5 = 'Double Defense';
break;
case 2:
_root.armorSkill5 = 'Extra Strength';
break;
case 3:
_root.armorSkill5 = 'More Defense';
break;
case 4:
_root.armorSkill5 = 'More Strength';
break;
case 5:
_root.armorSkill5 = 'More HP';
break;
case 6:
_root.armorSkill5 = 'MP Plus';
break;
case 7:
_root.armorSkill5 = 'More HP Plus';
break;
case 8:
_root.armorSkill5 = 'Auto-Shell';
break;
case 9:
_root.armorSkill5 = 'Auto-Protect';
break;
default:
_root.armorSkill5 = '';
}
if (_root.armorSkill5 != '') {
attack = random(17) + 1;
switch (attack) {
case 1:
_root.armorSkill6 = 'Ultra HP';
break;
case 2:
_root.armorSkill6 = 'Ultra MP';
break;
case 3:
_root.armorSkill6 = 'Super Speed';
break;
case 4:
_root.armorSkill6 = 'Ultra Defense';
break;
case 5:
_root.armorSkill6 = 'Ultra Strength';
break;
case 6:
_root.armorSkill6 = 'Speed of light';
break;
case 7:
_root.armorSkill6 = 'Ultra Skills';
break;
case 8:
_root.armorSkill6 = 'MP times two';
break;
case 9:
_root.armorSkill6 = 'HP times two';
break;
case 10:
_root.armorSkill6 = 'Auto-Haste';
break;
case 11:
_root.armorSkill6 = 'Auto-Recover';
break;
default:
_root.armorSkill6 = '';
}
}
} else {
if (_root.armor3 != 1 && _root.weapon3 != 1 && _root.belt3 != 1 && _root.glasses3 != 1) {
_root.armor3 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.armorName3 = 'Superman';
break;
case 2:
_root.armorName3 = 'the Wolf';
break;
case 3:
_root.armorName3 = 'the Mouse';
break;
case 4:
_root.armorName3 = 'the Lion';
break;
case 5:
_root.armorName3 = 'the Hulk';
break;
case 6:
_root.armorName3 = 'the moon';
break;
case 7:
_root.armorName3 = 'Tyson';
break;
case 8:
_root.armorName3 = 'the Jackel';
break;
case 9:
_root.armorName3 = 'the Strongman';
break;
case 10:
_root.armorName3 = 'the Fly';
break;
case 11:
_root.armorName3 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.armorSkill7 = 'OK defense';
break;
case 2:
_root.armorSkill7 = 'Extra Fast';
break;
case 3:
_root.armorSkill7 = 'More MP';
break;
case 4:
_root.armorSkill7 = 'Skills Plus';
break;
case 5:
_root.armorSkill7 = 'Speed Plus';
break;
case 6:
_root.armorSkill7 = 'HP Plus';
break;
case 7:
_root.armorSkill7 = 'Defense Plus';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.armorSkill8 = 'Double Defense';
break;
case 2:
_root.armorSkill8 = 'Extra Strength';
break;
case 3:
_root.armorSkill8 = 'More Defense';
break;
case 4:
_root.armorSkill8 = 'More Strength';
break;
case 5:
_root.armorSkill8 = 'More HP';
break;
case 6:
_root.armorSkill8 = 'MP Plus';
break;
case 7:
_root.armorSkill8 = 'More HP Plus';
break;
case 8:
_root.armorSkill8 = 'Auto-Shell';
break;
case 9:
_root.armorSkill8 = 'Auto-Protect';
break;
default:
_root.armorSkill8 = '';
}
if (_root.armorSkill8 != '') {
attack = random(17) + 1;
switch (attack) {
case 1:
_root.armorSkill9 = 'Ultra HP';
break;
case 2:
_root.armorSkill9 = 'Ultra MP';
break;
case 3:
_root.armorSkill9 = 'Super Speed';
break;
case 4:
_root.armorSkill9 = 'Ultra Defense';
break;
case 5:
_root.armorSkill9 = 'Ultra Strength';
break;
case 6:
_root.armorSkill9 = 'Speed of light';
break;
case 7:
_root.armorSkill9 = 'Ultra Skills';
break;
case 8:
_root.armorSkill9 = 'MP times two';
break;
case 9:
_root.armorSkill9 = 'HP times two';
break;
case 10:
_root.armorSkill9 = 'Auto-Haste';
break;
case 11:
_root.armorSkill9 = 'Auto-Recover';
break;
default:
_root.armorSkill9 = '';
}
}
} else {
if (_root.armor4 != 1 && _root.weapon4 != 1 && _root.belt4 != 1 && _root.glasses4 != 1) {
_root.armor4 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.armorName4 = 'Superman';
break;
case 2:
_root.armorName4 = 'the Wolf';
break;
case 3:
_root.armorName4 = 'the Mouse';
break;
case 4:
_root.armorName4 = 'the Lion';
break;
case 5:
_root.armorName4 = 'the Hulk';
break;
case 6:
_root.armorName4 = 'the moon';
break;
case 7:
_root.armorName4 = 'Tyson';
break;
case 8:
_root.armorName4 = 'the Jackel';
break;
case 9:
_root.armorName4 = 'the Strongman';
break;
case 10:
_root.armorName4 = 'the Fly';
break;
case 11:
_root.armorName4 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.armorSkill10 = 'OK defense';
break;
case 2:
_root.armorSkill10 = 'Extra Fast';
break;
case 3:
_root.armorSkill10 = 'More MP';
break;
case 4:
_root.armorSkill10 = 'Skills Plus';
break;
case 5:
_root.armorSkill10 = 'Speed Plus';
break;
case 6:
_root.armorSkill10 = 'HP Plus';
break;
case 7:
_root.armorSkill10 = 'Defense Plus';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.armorSkill11 = 'Double Defense';
break;
case 2:
_root.armorSkill11 = 'Extra Strength';
break;
case 3:
_root.armorSkill11 = 'More Defense';
break;
case 4:
_root.armorSkill11 = 'More Strength';
break;
case 5:
_root.armorSkill11 = 'More HP';
break;
case 6:
_root.armorSkill11 = 'MP Plus';
break;
case 7:
_root.armorSkill11 = 'More HP Plus';
break;
case 8:
_root.armorSkill11 = 'Auto-Shell';
break;
case 9:
_root.armorSkill11 = 'Auto-Protect';
break;
default:
_root.armorSkill11 = '';
}
if (_root.armorSkill11 != '') {
attack = random(17) + 1;
switch (attack) {
case 1:
_root.armorSkill12 = 'Ultra HP';
break;
case 2:
_root.armorSkill12 = 'Ultra MP';
break;
case 3:
_root.armorSkill12 = 'Super Speed';
break;
case 4:
_root.armorSkill12 = 'Ultra Defense';
break;
case 5:
_root.armorSkill12 = 'Ultra Strength';
break;
case 6:
_root.armorSkill12 = 'Speed of light';
break;
case 7:
_root.armorSkill12 = 'Ultra Skills';
break;
case 8:
_root.armorSkill12 = 'MP times two';
break;
case 9:
_root.armorSkill12 = 'HP times two';
break;
case 10:
_root.armorSkill12 = 'Auto-Haste';
break;
case 11:
_root.armorSkill12 = 'Auto-Recover';
break;
default:
_root.armorSkill12 = '';
}
}
}
}
}
}
} else {
if (glassesDrop == 1) {
glassesDrop = 0;
if (_root.armor1 != 1 && _root.weapon1 != 1 && _root.belt1 != 1 && _root.glasses1 != 1) {
_root.glasses1 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.glassesName1 = 'Superman';
break;
case 2:
_root.glassesName1 = 'the Wolf';
break;
case 3:
_root.glassesName1 = 'the Mouse';
break;
case 4:
_root.glassesName1 = 'the Lion';
break;
case 5:
_root.glassesName1 = 'the Hulk';
break;
case 6:
_root.glassesName1 = 'the moon';
break;
case 7:
_root.glassesName1 = 'Tyson';
break;
case 8:
_root.glassesName1 = 'the Jackel';
break;
case 9:
_root.glassesName1 = 'the Strongman';
break;
case 10:
_root.glassesName1 = 'the Fly';
break;
case 11:
_root.glassesName1 = 'the Tiger';
}
attack = random(15) + 1;
switch (attack) {
case 1:
_root.glassesSkill1 = 'More MP';
break;
case 2:
_root.glassesSkill1 = 'Defense';
break;
case 3:
_root.glassesSkill1 = 'Speedy';
break;
case 4:
_root.glassesSkill1 = 'Stronger';
break;
case 5:
_root.glassesSkill1 = 'Master';
break;
case 6:
_root.glassesSkill1 = 'Skillful';
break;
case 7:
_root.glassesSkill1 = 'Invincible';
break;
case 8:
_root.glassesSkill1 = 'More HP';
break;
case 9:
_root.glassesSkill1 = 'HP Plus';
break;
case 10:
_root.glassesSkill1 = 'Speedy Plus';
break;
case 11:
_root.glassesSkill1 = 'Double Strong';
break;
case 12:
_root.glassesSkill1 = 'MP Plus';
break;
case 13:
_root.glassesSkill1 = 'More Defense';
break;
case 14:
_root.glassesSkill1 = 'Auto-Shell';
break;
case 15:
_root.glassesSkill1 = 'Auto-Protect';
}
} else {
if (_root.armor2 != 1 && _root.weapon2 != 1 && _root.belt2 != 1 && _root.glasses2 != 1) {
_root.glasses2 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.glassesName2 = 'Superman';
break;
case 2:
_root.glassesName2 = 'the Wolf';
break;
case 3:
_root.glassesName2 = 'the Mouse';
break;
case 4:
_root.glassesName2 = 'the Lion';
break;
case 5:
_root.glassesName2 = 'the Hulk';
break;
case 6:
_root.glassesName2 = 'the moon';
break;
case 7:
_root.glassesName2 = 'Tyson';
break;
case 8:
_root.glassesName2 = 'the Jackel';
break;
case 9:
_root.glassesName2 = 'the Strongman';
break;
case 10:
_root.glassesName2 = 'the Fly';
break;
case 11:
_root.glassesName2 = 'the Tiger';
}
attack = random(15) + 1;
switch (attack) {
case 1:
_root.glassesSkill2 = 'More MP';
break;
case 2:
_root.glassesSkill2 = 'Defense';
break;
case 3:
_root.glassesSkill2 = 'Speedy';
break;
case 4:
_root.glassesSkill2 = 'Stronger';
break;
case 5:
_root.glassesSkill2 = 'Master';
break;
case 6:
_root.glassesSkill2 = 'Skillful';
break;
case 7:
_root.glassesSkill2 = 'Invincible';
break;
case 8:
_root.glassesSkill2 = 'More HP';
break;
case 9:
_root.glassesSkill2 = 'HP Plus';
break;
case 10:
_root.glassesSkill2 = 'Speedy Plus';
break;
case 11:
_root.glassesSkill2 = 'Double Strong';
break;
case 12:
_root.glassesSkill2 = 'MP Plus';
break;
case 13:
_root.glassesSkill2 = 'More Defense';
break;
case 14:
_root.glassesSkill2 = 'Auto-Shell';
break;
case 15:
_root.glassesSkill2 = 'Auto-Protect';
}
} else {
if (_root.armor3 != 1 && _root.weapon3 != 1 && _root.belt3 != 1 && _root.glasses3 != 1) {
_root.glasses3 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.glassesName3 = 'Superman';
break;
case 2:
_root.glassesName3 = 'the Wolf';
break;
case 3:
_root.glassesName3 = 'the Mouse';
break;
case 4:
_root.glassesName3 = 'the Lion';
break;
case 5:
_root.glassesName3 = 'the Hulk';
break;
case 6:
_root.glassesName3 = 'the moon';
break;
case 7:
_root.glassesName3 = 'Tyson';
break;
case 8:
_root.glassesName3 = 'the Jackel';
break;
case 9:
_root.glassesName3 = 'the Strongman';
break;
case 10:
_root.glassesName3 = 'the Fly';
break;
case 11:
_root.glassesName3 = 'the Tiger';
}
attack = random(15) + 1;
switch (attack) {
case 1:
_root.glassesSkill3 = 'More MP';
break;
case 2:
_root.glassesSkill3 = 'Defense';
break;
case 3:
_root.glassesSkill3 = 'Speedy';
break;
case 4:
_root.glassesSkill3 = 'Stronger';
break;
case 5:
_root.glassesSkill3 = 'Master';
break;
case 6:
_root.glassesSkill3 = 'Skillful';
break;
case 7:
_root.glassesSkill3 = 'Invincible';
break;
case 8:
_root.glassesSkill3 = 'More HP';
break;
case 9:
_root.glassesSkill3 = 'HP Plus';
break;
case 10:
_root.glassesSkill3 = 'Speedy Plus';
break;
case 11:
_root.glassesSkill3 = 'Double Strong';
break;
case 12:
_root.glassesSkill3 = 'MP Plus';
break;
case 13:
_root.glassesSkill3 = 'More Defense';
break;
case 14:
_root.glassesSkill3 = 'Auto-Shell';
break;
case 15:
_root.glassesSkill3 = 'Auto-Protect';
}
} else {
if (_root.armor4 != 1 && _root.weapon4 != 1 && _root.belt4 != 1 && _root.glasses4 != 1) {
_root.glasses4 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.glassesName4 = 'Superman';
break;
case 2:
_root.glassesName4 = 'the Wolf';
break;
case 3:
_root.glassesName4 = 'the Mouse';
break;
case 4:
_root.glassesName4 = 'the Lion';
break;
case 5:
_root.glassesName4 = 'the Hulk';
break;
case 6:
_root.glassesName4 = 'the moon';
break;
case 7:
_root.glassesName4 = 'Tyson';
break;
case 8:
_root.glassesName4 = 'the Jackel';
break;
case 9:
_root.glassesName4 = 'the Strongman';
break;
case 10:
_root.glassesName4 = 'the Fly';
break;
case 11:
_root.glassesName4 = 'the Tiger';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.glassesSkill4 = 'More MP';
break;
case 2:
_root.glassesSkill4 = 'Defense';
break;
case 3:
_root.glassesSkill4 = 'Speedy';
break;
case 4:
_root.glassesSkill4 = 'Stronger';
break;
case 5:
_root.glassesSkill4 = 'Master';
break;
case 6:
_root.glassesSkill4 = 'Skillful';
break;
case 7:
_root.glassesSkill4 = 'Invincible';
break;
case 8:
_root.glassesSkill4 = 'More HP';
break;
case 9:
_root.glassesSkill4 = 'HP Plus';
break;
case 10:
_root.glassesSkill4 = 'Speedy Plus';
break;
case 11:
_root.glassesSkill4 = 'Double Strong';
break;
case 12:
_root.glassesSkill4 = 'MP Plus';
break;
case 13:
_root.glassesSkill4 = 'More Defense';
break;
case 14:
_root.glassesSkill4 = 'Auto-Shell';
break;
case 15:
_root.glassesSkill4 = 'Auto-Protect';
}
}
}
}
}
} else {
if (beltDrop == 1) {
beltDrop = 0;
if (_root.armor1 != 1 && _root.weapon1 != 1 && _root.belt1 != 1 && _root.glasses1 != 1) {
_root.belt1 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.beltName1 = 'Superman';
break;
case 2:
_root.beltName1 = 'the Wolf';
break;
case 3:
_root.beltName1 = 'the Mouse';
break;
case 4:
_root.beltName1 = 'the Lion';
break;
case 5:
_root.beltName1 = 'the Hulk';
break;
case 6:
_root.beltName1 = 'the moon';
break;
case 7:
_root.beltName1 = 'Tyson';
break;
case 8:
_root.beltName1 = 'the Jackel';
break;
case 9:
_root.beltName1 = 'the Strongman';
break;
case 10:
_root.beltName1 = 'the Fly';
break;
case 11:
_root.beltName1 = 'the Tiger';
}
attack = random(16) + 1;
switch (attack) {
case 1:
_root.beltSkill1 = 'More MP';
break;
case 2:
_root.beltSkill1 = 'Defense';
break;
case 3:
_root.beltSkill1 = 'Speedy';
break;
case 4:
_root.beltSkill1 = 'Stronger';
break;
case 5:
_root.beltSkill1 = 'Master';
break;
case 6:
_root.beltSkill1 = 'Skillful';
break;
case 7:
_root.beltSkill1 = 'Invincible';
break;
case 8:
_root.beltSkill1 = 'More HP';
break;
case 9:
_root.beltSkill1 = 'HP Plus';
break;
case 10:
_root.beltSkill1 = 'Speedy Plus';
break;
case 11:
_root.beltSkill1 = 'Double Strong';
break;
case 12:
_root.beltSkill1 = 'MP Plus';
break;
case 13:
_root.beltSkill1 = 'More Defense';
break;
case 14:
_root.beltSkill1 = 'Defense Plus';
break;
case 15:
_root.beltSkill1 = 'Strength Plus';
break;
case 16:
_root.beltSkill1 = 'Powerful';
}
} else {
if (_root.armor2 != 1 && _root.weapon2 != 1 && _root.belt2 != 1 && _root.glasses2 != 1) {
_root.belt2 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.beltName2 = 'Superman';
break;
case 2:
_root.beltName2 = 'the Wolf';
break;
case 3:
_root.beltName2 = 'the Mouse';
break;
case 4:
_root.beltName2 = 'the Lion';
break;
case 5:
_root.beltName2 = 'the Hulk';
break;
case 6:
_root.beltName2 = 'the moon';
break;
case 7:
_root.beltName2 = 'Tyson';
break;
case 8:
_root.beltName2 = 'the Jackel';
break;
case 9:
_root.beltName2 = 'the Strongman';
break;
case 10:
_root.beltName2 = 'the Fly';
break;
case 11:
_root.beltName2 = 'the Tiger';
}
attack = random(16) + 1;
switch (attack) {
case 1:
_root.beltSkill2 = 'More MP';
break;
case 2:
_root.beltSkill2 = 'Defense';
break;
case 3:
_root.beltSkill2 = 'Speedy';
break;
case 4:
_root.beltSkill2 = 'Stronger';
break;
case 5:
_root.beltSkill2 = 'Master';
break;
case 6:
_root.beltSkill2 = 'Skillful';
break;
case 7:
_root.beltSkill2 = 'Invincible';
break;
case 8:
_root.beltSkill2 = 'More HP';
break;
case 9:
_root.beltSkill2 = 'HP Plus';
break;
case 10:
_root.beltSkill2 = 'Speedy Plus';
break;
case 11:
_root.beltSkill2 = 'Double Strong';
break;
case 12:
_root.beltSkill2 = 'MP Plus';
break;
case 13:
_root.beltSkill2 = 'More Defense';
break;
case 14:
_root.beltSkill2 = 'Defense Plus';
break;
case 15:
_root.beltSkill2 = 'Strength Plus';
break;
case 16:
_root.beltSkill2 = 'Powerful';
}
} else {
if (_root.armor3 != 1 && _root.weapon3 != 1 && _root.belt3 != 1 && _root.glasses3 != 1) {
_root.belt3 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.beltName3 = 'Superman';
break;
case 2:
_root.beltName3 = 'the Wolf';
break;
case 3:
_root.beltName3 = 'the Mouse';
break;
case 4:
_root.beltName3 = 'the Lion';
break;
case 5:
_root.beltName3 = 'the Hulk';
break;
case 6:
_root.beltName3 = 'the moon';
break;
case 7:
_root.beltName3 = 'Tyson';
break;
case 8:
_root.beltName3 = 'the Jackel';
break;
case 9:
_root.beltName3 = 'the Strongman';
break;
case 10:
_root.beltName3 = 'the Fly';
break;
case 11:
_root.beltName3 = 'the Tiger';
}
attack = random(16) + 1;
switch (attack) {
case 1:
_root.beltSkill3 = 'More MP';
break;
case 2:
_root.beltSkill3 = 'Defense';
break;
case 3:
_root.beltSkill3 = 'Speedy';
break;
case 4:
_root.beltSkill3 = 'Stronger';
break;
case 5:
_root.beltSkill3 = 'Master';
break;
case 6:
_root.beltSkill3 = 'Skillful';
break;
case 7:
_root.beltSkill3 = 'Invincible';
break;
case 8:
_root.beltSkill3 = 'More HP';
break;
case 9:
_root.beltSkill3 = 'HP Plus';
break;
case 10:
_root.beltSkill3 = 'Speedy Plus';
break;
case 11:
_root.beltSkill3 = 'Double Strong';
break;
case 12:
_root.beltSkill3 = 'MP Plus';
break;
case 13:
_root.beltSkill3 = 'More Defense';
break;
case 14:
_root.beltSkill3 = 'Defense Plus';
break;
case 15:
_root.beltSkill3 = 'Strength Plus';
break;
case 16:
_root.beltSkill3 = 'Powerful';
}
} else {
if (_root.armor4 != 1 && _root.weapon4 != 1 && _root.belt4 != 1 && _root.glasses4 != 1) {
_root.belt4 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.beltName4 = 'Superman';
break;
case 2:
_root.beltName4 = 'the Wolf';
break;
case 3:
_root.beltName4 = 'the Mouse';
break;
case 4:
_root.beltName4 = 'the Lion';
break;
case 5:
_root.beltName4 = 'the Hulk';
break;
case 6:
_root.beltName4 = 'the moon';
break;
case 7:
_root.beltName4 = 'Tyson';
break;
case 8:
_root.beltName4 = 'the Jackel';
break;
case 9:
_root.beltName4 = 'the Strongman';
break;
case 10:
_root.beltName4 = 'the Fly';
break;
case 11:
_root.beltName4 = 'the Tiger';
}
attack = random(16) + 1;
switch (attack) {
case 1:
_root.beltSkill4 = 'More MP';
break;
case 2:
_root.beltSkill4 = 'Defense';
break;
case 3:
_root.beltSkill4 = 'Speedy';
break;
case 4:
_root.beltSkill4 = 'Stronger';
break;
case 5:
_root.beltSkill4 = 'Master';
break;
case 6:
_root.beltSkill4 = 'Skillful';
break;
case 7:
_root.beltSkill4 = 'Invincible';
break;
case 8:
_root.beltSkill4 = 'More HP';
break;
case 9:
_root.beltSkill4 = 'HP Plus';
break;
case 10:
_root.beltSkill4 = 'Speedy Plus';
break;
case 11:
_root.beltSkill4 = 'Double Strong';
break;
case 12:
_root.beltSkill4 = 'MP Plus';
break;
case 13:
_root.beltSkill4 = 'More Defense';
break;
case 14:
_root.beltSkill4 = 'Defense Plus';
break;
case 15:
_root.beltSkill4 = 'Strength Plus';
break;
case 16:
_root.beltSkill4 = 'Powerful';
}
}
}
}
}
}
}
}
}
if (_root.exp1 >= _root.EXPNeeded) {
if (_root.level >= 35) {
_root.EXPNeeded += 36 + random(6);
} else {
if (_root.level >= 20 && _root.level < 35) {
_root.EXPNeeded += 20 + random(6);
} else {
if (_root.level >= 10 && _root.level < 20) {
_root.EXPNeeded += 10 + random(6) + 1;
}
}
}
_root.EXPNeeded = _root.EXPNeeded + random(6) + 5;
_root.exp1 = 0;
gotoAndPlay(2);
}
}
stop();
}
frame 2 {
_root.level += 1;
_root.maxhp += 7;
_root.strength += 1;
_root.skills += 1;
_root.defense += 1;
_root.maxmp1 += random(4) + 2;
lev = 'You went up to level ' + _root.level + '!!';
if (_root.heroRing != 2) {
_root.skillpoint2 = _root.skillpoint2 + 2 + _root.skillpointsskilled;
skillpoint = 8 + _root.skillpointsskilled;
} else {
_root.skillpoint2 = _root.skillpoint2 + 2 + _root.skillpointsskilled + 3;
skillpoint = 8 + _root.skillpointsskilled + 3;
}
stop();
}
}
button 5059 {
on (release) {
if (skillpoint > 0) {
skillpoint -= 1;
_root.strength2 += 1;
}
}
}
button 5060 {
on (release) {
if (skillpoint > 0) {
skillpoint -= 1;
_root.vitality2 += 1;
_root.maxhp2 += 5 * _root.hptwo2;
}
}
}
button 5061 {
on (release) {
if (skillpoint > 0) {
skillpoint -= 1;
_root.energy2 += 1;
_root.maxmp2 += 3 * _root.mptwo2;
}
}
}
button 5062 {
on (release) {
if (skillpoint > 0) {
skillpoint -= 1;
_root.speedEx2 += 1;
}
}
}
button 5063 {
on (release) {
if (skillpoint > 0) {
skillpoint -= 1;
_root.skills2 += 1;
}
}
}
button 5064 {
on (release) {
if (skillpoint > 0) {
skillpoint -= 1;
_root.defense2 += 1;
}
}
}
movieClip 5072 {
frame 1 {
skillpoint = 0;
stop();
}
frame 2 {
skillpoint = 0;
moreEXP = (random(20 + _root.hlevel * 4 + _root.expskilled * 3) + 8 + _root.hlevel * 3 + _root.expskilled * 3) * _root.EXPMore * _root.heroRing;
_root.exp2 += moreEXP;
mess1 = 'Gerome got ' + moreEXP + ' EXP!!';
if (_root.exp2 >= _root.EXPNeeded2) {
if (_root.level2 >= 35) {
_root.EXPNeeded2 += 36 + random(6);
} else {
if (_root.level2 >= 20 && _root.level2 < 35) {
_root.EXPNeeded2 += 20 + random(6);
} else {
if (_root.level2 >= 10 && _root.level2 < 20) {
_root.EXPNeeded2 += 10 + random(6) + 1;
}
}
}
_root.EXPNeeded2 += random(6) + 5;
_root.exp2 = 0;
gotoAndPlay(3);
} else {
stop();
}
}
frame 3 {
_root.level2 += 1;
_root.strength2 += 1;
_root.skills2 += 1;
_root.defense2 += 1;
_root.maxhp2 += 7;
_root.maxmp2 += random(4) + 2;
lev = 'Gerome went up to level ' + _root.level2 + '!!';
if (_root.heroRing != 2) {
_root.skillpoint3 = _root.skillpoint3 + 2 + _root.skillpointsskilled;
skillpoint = 8 + _root.skillpointsskilled;
} else {
_root.skillpoint3 = _root.skillpoint3 + 2 + _root.skillpointsskilled + 3;
skillpoint = 8 + _root.skillpointsskilled + 3;
}
stop();
}
}
frame 12 {
gotoAndPlay(11);
}
frame 13 {
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
stop();
}
movieClip 5143 {
frame 12 {
if (_root.comeBack == 1) {
_root.comeBack = 0;
_root.deadd = 0;
gotoAndPlay(13);
} else {
_root.deaddy = 1;
_root.char1Alive = false;
tellTarget ('_root.tryAgane') {
gotoAndPlay(2);
}
stop();
}
}
frame 24 {
_root.char1 = 60 + _root.comebackskilled * 15;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
_root.gotoAndPlay(2);
}
}
movieClip 5144 {
frame 1 {
stop();
}
frame 11 {
if (_root.gotoThingy == 1) {
_root.gotoThingy = 0;
_root.gotoAndPlay(16);
} else {
_root.gotoNext = 1;
}
stop();
}
}
button 5146 {
on (release) {
if (_root.char1Alive == true) {
_root.deadSwitch1 = 1;
_root.openIt = 0;
_root.gotoAndStop(15);
} else {
_root.deadSwitch1 = 2;
_root.openIt = 0;
_root.gotoAndStop(14);
}
}
}
movieClip 5147 {
frame 1 {
stop();
}
frame 2 {
if (_root.gotoNext == 1) {
_root.gotoNext = 0;
_root.gotoAndPlay(28);
}
if (_root.char1Alive == true || _root.char2Alive == true) {
gotoAndStop(6);
} else {
mooffy = random(16) + 1;
switch (mooffy) {
case 1:
_root.tippy = 'Attacking raises your AP(Ability Points) which can be used for techniques.';
break;
case 2:
_root.tippy = 'Think fast! The enemy will attack if you don\'t attack quick enough.';
break;
case 3:
_root.tippy = 'Keep an eye on your HP, when it gets low, heal.';
break;
case 4:
_root.tippy = 'Replenish HP by using items or magic: heal.';
break;
case 5:
_root.tippy = 'Use time magic (haste, stop, slow) to increase your number of turns.';
break;
case 6:
_root.tippy = 'Focus on one or two stats.......for example (vitality and strength)';
break;
case 7:
_root.tippy = 'Use the steal technique to get easy items.';
break;
case 8:
_root.tippy = 'Use summons to end battles quickly.';
break;
case 9:
_root.tippy = 'Use items to replenish your magic.';
break;
case 10:
_root.tippy = 'Attacking is the only way to replenish AP.';
break;
case 11:
_root.tippy = 'To be a speedy magic user, try to focus on the stats: energy, speed, and skills.';
break;
case 12:
_root.tippy = 'Be sure to equip equipment once you get it.';
break;
case 13:
_root.tippy = 'If the enemy seems too hard, then run away.';
break;
case 14:
_root.tippy = 'Switch your character out for the other if he is weak.';
break;
case 15:
_root.tippy = 'Use items on the world map (to heal characters).';
break;
case 16:
_root.tippy = 'Press spacebar for the Status/Equip Menu at anytime (in town, or world map).';
}
}
}
instance of movieClip 5144 {
onClipEvent (enterFrame) {
if (dude != 1) {
dude = 1;
this.gotoAndPlay(2);
}
}
}
frame 3 {
gotoAndPlay(2);
}
frame 6 {
stop();
}
}
frame 14 {
stop();
}
movieClip 5175 {
frame 1 {
if (_root.armorLook2 == 1) {
gotoAndStop(2);
} else {
if (_root.armorLook2 == 2) {
gotoAndStop(3);
} else {
if (_root.armorLook2 == 3) {
gotoAndStop(4);
} else {
stop();
}
}
}
}
}
movieClip 5177 {
}
movieClip 5185 {
frame 1 {
if (_root.ZombieInfected2 == 1) {
gotoAndStop(7);
} else {
if (_level0.PercentLoaded2 < 80 && _level0.PercentLoaded2 > 70) {
gotoAndStop(2);
} else {
if (_level0.PercentLoaded2 < 70 && _level0.PercentLoaded2 > 50) {
gotoAndStop(3);
} else {
if (_level0.PercentLoaded2 < 50 && _level0.PercentLoaded2 > 40) {
gotoAndPlay(4);
} else {
if (_level0.PercentLoaded2 < 40 && _level0.PercentLoaded2 > 20) {
gotoAndPlay(5);
} else {
if (_level0.PercentLoaded2 < 20) {
gotoAndPlay(6);
} else {
stop();
}
}
}
}
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 8 {
gotoAndPlay(1);
}
}
movieClip 5195 {
frame 1 {
if (_root.hairStyle2 == 1) {
gotoAndStop(10);
} else {
if (_root.hairStyle2 == 2) {
gotoAndStop(11);
} else {
if (_root.hairStyle2 == 3) {
gotoAndStop(12);
} else {
if (_root.hairStyle2 == 4) {
gotoAndStop(13);
} else {
if (_root.hairStyle2 == 5) {
gotoAndStop(14);
} else {
if (_root.hairStyle2 == 6) {
gotoAndStop(15);
} else {
if (_root.hairStyle2 == 7) {
gotoAndStop(16);
} else {
if (_root.hairStyle2 == 8) {
gotoAndStop(17);
} else {
if (_root.hairStyle2 == 9) {
gotoAndStop(18);
} else {
if (_root.hairStyle2 == 10) {
gotoAndStop(19);
} else {
if (_root.hairStyle2 == 11) {
gotoAndStop(20);
} else {
stop();
}
}
}
}
}
}
}
}
}
}
}
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
}
movieClip 5209 {
frame 1 {
if (_level0.glassesLook2 == 1) {
gotoAndStop(28);
} else {
if (_root.glassesLook2 == 2) {
gotoAndStop(29);
} else {
if (_root.glassesLook2 == 3) {
gotoAndStop(30);
} else {
if (_root.sleepEl2 == 1) {
gotoAndPlay(26);
}
}
}
}
}
frame 26 {
if (_root.sleepEl2 != 1) {
gotoAndPlay(1);
}
}
frame 27 {
gotoAndPlay(1);
}
frame 28 {
stop();
}
frame 29 {
stop();
}
frame 30 {
stop();
}
}
movieClip 5214 {
frame 1 {
if (_root.hands == false) {
gotoAndStop(2);
} else {
stop();
}
}
}
movieClip 5215 {
frame 1 {
if (_root.enchant >= 1) {
gotoAndPlay(2);
} else {
stop();
}
}
}
movieClip 5223 {
frame 1 {
if (_root.weaponLook2 == 1) {
gotoAndStop(2);
} else {
if (_root.weaponLook2 == 2) {
gotoAndStop(3);
} else {
if (_root.weaponLook2 == 3) {
gotoAndStop(4);
} else {
if (_root.weaponLook2 == 4) {
gotoAndStop(5);
} else {
if (_root.weaponLook2 == 5) {
gotoAndStop(6);
} else {
if (_root.weaponLook2 == 6) {
gotoAndStop(7);
} else {
if (_root.weaponLook2 == 7) {
gotoAndStop(8);
} else {
stop();
}
}
}
}
}
}
}
}
}
movieClip 5263 {
frame 1 {
if (_root.deadSwitch1 == 1) {
_root.deadSwitch1 = 0;
gotoAndPlay(33);
} else {
if (_root.deadSwitch1 == 2) {
_root.deadSwitch1 = 0;
gotoAndPlay(16);
}
}
if (_root.runGuy2 == 1) {
gotoAndPlay(25);
}
if (_root.switchy2 == 1 || _root.runGuy2 == 1) {
gotoAndPlay(25);
}
}
frame 15 {
if (_root.switchyGuy1 == 1) {
_root.switchGuy1 = 0;
_root.openIt = 0;
gotoAndPlay(16);
} else {
_root.runIt = 1;
_root.gotoAndPlay(16);
}
}
frame 24 {
_root.guy2 = 1;
_root.deaddy = 0;
_root.deadd = 0;
_root.waitOn = 0;
_level0.turn = 1;
_level0.attack2 = 100;
_level0.done = 1;
_root.gotoAndPlay(17);
}
frame 32 {
if (_root.switchy2 == 1) {
_root.switchy2 = 0;
_root.openIt = 0;
gotoAndPlay(33);
} else {
_root.runGuy2 = 0;
_root.guy2 = 0;
_root.runIt = 1;
_root.gotoAndPlay(16);
}
}
frame 40 {
_root.guy2 = 0;
_root.deaddy = 0;
_root.deadd = 0;
_level0.turn = 1;
_level0.attack = 100;
_level0.done = 1;
_root.waitOn = 0;
_root.gotoAndPlay(2);
}
}
frame 15 {
stop();
}
movieClip 5270 {
frame 1 {
_level0.PercentLoaded2 = (_level0.char2 / _level0.maxhp2) * 100;
if (_level0.PercentLoaded2 != 100) {
eval(bar)._xscale = _level0.PercentLoaded2;
}
if (_level0.PercentLoaded2 >= 100) {
this.bar._xscale = 103;
}
if (_root.PercentLoaded2 <= 30) {
gotoAndPlay(3);
}
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
_level0.PercentLoaded2 = (_level0.char2 / _level0.maxhp2) * 100;
if (_level0.PercentLoaded2 != 100) {
eval(bar2)._xscale = _root.PercentLoaded2;
}
if (_root.PercentLoaded2 > 30) {
gotoAndPlay(1);
}
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 5272 {
frame 1 {
if (_root.limit2 == 100) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 10 {
gotoAndPlay(1);
}
}
movieClip 5273 {
frame 1 {
if (_level0.limit2 > 100) {
_level0.limit2 = 100;
}
if (_level0.limit2 != 100) {
eval(bar4)._xscale = _level0.limit2;
} else {
this.bar4._xscale = 110;
}
}
frame 2 {
gotoAndPlay(1);
}
}
button 5276 {
on (release) {
_level0.useMagic = 1;
gotoAndPlay(2);
}
}
button 5277 {
on (release) {
if (_root.char1Alive == true) {
_level0.tookturn = 1;
_root.switchy2 = 1;
_root.tipBat = '';
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(15);
} else {
this.gotoAndStop(11);
}
}
}
button 5278 {
on (release) {
_level0.tookturn = 1;
_root.attackmoo = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(18);
}
}
button 5279 {
on (release) {
gotoAndPlay(6);
}
}
button 5280 {
on (release) {
gotoAndPlay(3);
}
}
button 5281 {
on (release) {
dude = random(2) + 1;
if (dude == 1) {
_level0.tookturn = 1;
_root.runGuy2 = 1;
_root.switchyGuy1 = 0;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(15);
} else {
_root.waitOn = 0;
gotoAndPlay(8);
}
}
}
button 5282 {
on (release) {
_root.youE.gotoAndPlay(26);
_root.defendy1 = 1;
_level0.tookturn = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
}
}
button 5283 {
on (release) {
gotoAndStop(10);
}
}
button 5285 {
on (release) {
_level0.useMagic = 0;
gotoAndPlay(1);
}
}
button 5288 {
on (rollOver) {
_root.tipBat = 'Causes lightning damage';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp2 >= 5) {
_level0.tookturn = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(20);
} else {
gotoAndPlay(4);
}
}
}
button 5291 {
on (rollOver) {
_root.tipBat = 'Causes fire damage';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp2 >= 3) {
_level0.tookturn = 1;
_root.fireSwod = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(20);
} else {
gotoAndPlay(4);
}
}
}
button 5293 {
on (rollOver) {
_root.tipBat = 'Replenishes HP';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp2 >= 20) {
_level0.tookturn = 1;
_root.hands = false;
_root.fully = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(20);
} else {
gotoAndPlay(4);
}
}
}
button 5296 {
on (rollOver) {
_root.tipBat = 'Powers up all attacks';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp2 >= 15) {
_level0.tookturn = 1;
_root.hands = false;
_root.encha = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(20);
} else {
gotoAndPlay(4);
}
}
}
button 5299 {
on (rollOver) {
_root.tipBat = 'Reduces the enemie\'s hp by 1/4';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp2 >= 25) {
_level0.tookturn = 1;
_root.demiGod = 1;
_root.hands = false;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(20);
} else {
gotoAndPlay(4);
}
}
}
button 5302 {
on (rollOver) {
_root.tipBat = 'Turns the enemy into a frog';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp2 >= 25) {
_level0.tookturn = 1;
_root.hands = false;
_root.froggy = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(20);
} else {
gotoAndPlay(4);
}
}
}
button 5305 {
on (rollOver) {
_root.tipBat = 'Allows the chance for the enemy to attack itself';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp2 >= 20) {
_level0.tookturn = 1;
_root.hands = false;
_root.confusey = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(20);
} else {
gotoAndPlay(4);
}
}
}
button 5308 {
on (rollOver) {
_root.tipBat = 'Allows the chance to do double or triple damage';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp2 >= 15) {
_level0.tookturn = 1;
_root.hands = false;
_root.berserko = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(20);
} else {
gotoAndPlay(4);
}
}
}
button 5309 {
on (release) {
gotoAndStop(9);
}
}
button 5312 {
on (rollOver) {
_root.tipBat = 'Causes lightning damage over a period of time';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp2 >= 15) {
_level0.tookturn = 1;
_root.hands = false;
_root.ballos = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(20);
} else {
gotoAndPlay(4);
}
}
}
button 5315 {
on (rollOver) {
_root.tipBat = 'Makes all attacks do 50% less damage';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp2 >= 30) {
_level0.tookturn = 1;
_root.hands = false;
_root.sheilda = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(20);
} else {
gotoAndPlay(4);
}
}
}
button 5317 {
on (release) {
_level0.useItems = 0;
gotoAndPlay(1);
}
}
button 5318 {
on (rollOver) {
quant = _root.potion;
_root.tipBat = 'Replenishs 50HP';
}
on (rollOut) {
quant = '';
_root.tipBat = '';
}
on (release) {
if (_level0.potion > 0) {
_level0.tookturn = 1;
_root.hands = false;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(22);
} else {
gotoAndPlay(5);
}
}
}
button 5319 {
on (rollOver) {
quant = _root.revive;
_root.tipBat = 'Revives a fallen ally';
}
on (rollOut) {
quant = '';
_root.tipBat = '';
}
on (release) {
if (_level0.revive > 0) {
if (_root.char1Alive == false) {
_level0.tookturn = 1;
_root.hands = false;
_level0.turn = 0;
_root.reviveyM = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(22);
} else {
gotoAndStop(12);
}
} else {
gotoAndPlay(5);
}
}
}
button 5320 {
on (rollOver) {
quant = _root.ether;
_root.tipBat = 'Replenishs 20MP';
}
on (rollOut) {
quant = '';
_root.tipBat = '';
}
on (release) {
if (_level0.ether > 0) {
_level0.tookturn = 1;
_root.hands = false;
_level0.turn = 0;
_level0.ethah = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(22);
} else {
gotoAndPlay(5);
}
}
}
button 5321 {
on (rollOver) {
quant = _root.hpotion;
_root.tipBat = 'Replenishs 300HP';
}
on (rollOut) {
quant = '';
_root.tipBat = '';
}
on (release) {
if (_level0.hpotion > 0) {
_level0.tookturn = 1;
_level0.turn = 0;
_root.hands = false;
_level0.hpotions = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(22);
} else {
gotoAndPlay(5);
}
}
}
button 5322 {
on (rollOver) {
quant = _root.xpotion;
_root.tipBat = 'Replenishs all HP';
}
on (rollOut) {
quant = '';
_root.tipBat = '';
}
on (release) {
if (_level0.hpotion > 0) {
_level0.tookturn = 1;
_root.hands = false;
_level0.turn = 0;
_level0.xpotions = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(22);
} else {
gotoAndPlay(5);
}
}
}
button 5323 {
on (rollOver) {
quant = _root.elixir;
_root.tipBat = 'Replenishs all HP and MP';
}
on (rollOut) {
quant = '';
_root.tipBat = '';
}
on (release) {
if (_level0.elixir > 0) {
_level0.tookturn = 1;
_level0.turn = 0;
_root.hands = false;
_level0.elixah = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(22);
} else {
gotoAndPlay(5);
}
}
}
button 5325 {
on (rollOver) {
quant = _root.antidote;
_root.tipBat = 'Removes all negative status effects';
}
on (rollOut) {
quant = '';
_root.tipBat = '';
}
on (release) {
if (_level0.antidote > 0) {
_level0.tookturn = 1;
_root.hands = false;
_level0.turn = 0;
_root.anti1 = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(22);
} else {
gotoAndPlay(5);
}
}
}
button 5327 {
on (release) {
gotoAndPlay(1);
}
}
button 5330 {
on (release) {
gotoAndPlay(1);
}
}
button 5334 {
on (rollOver) {
_root.tipBat = 'Gives the chance to counter an enemie\'s attack';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.ap2 >= 30) {
_level0.tookturn = 1;
_root.hands = false;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(21);
} else {
gotoAndPlay(7);
}
}
}
button 5337 {
on (rollOver) {
_root.tipBat = 'Slashes multiple times';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.ap2 >= 35) {
_level0.tookturn = 1;
_root.multiSlash = 1;
_root.doItMulti = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(20);
} else {
gotoAndPlay(7);
}
}
}
button 5340 {
on (rollOver) {
_root.tipBat = 'Allows you to absorb hp and mp on all physical attacks';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.ap2 >= 45) {
_level0.tookturn = 1;
_root.hands = false;
_level0.turn = 0;
_root.leecho1 = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(21);
} else {
gotoAndPlay(7);
}
}
}
button 5341 {
on (rollOver) {
_root.tipBat = 'Displays how much hp and what plevel an enemy is';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.ap2 >= 10) {
_level0.tookturn = 1;
_root.hands = false;
_root.scany = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(20);
} else {
gotoAndPlay(7);
}
}
}
button 5344 {
on (rollOver) {
_root.tipBat = 'Weakens the enemy\'s attack';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.ap2 >= 15) {
_level0.tookturn = 1;
_level0.turn = 0;
_root.pBreak = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(21);
} else {
gotoAndPlay(7);
}
}
}
button 5347 {
on (rollOver) {
_root.tipBat = 'Attacks and steals items from the enemy';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.ap2 >= 30) {
_level0.tookturn = 1;
_level0.turn = 0;
_root.muggy = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(21);
} else {
gotoAndPlay(7);
}
}
}
button 5350 {
on (rollOver) {
_root.tipBat = 'Quickly attacks the enemy';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.ap2 >= 10) {
_level0.tookturn = 1;
_root.hands = false;
_level0.turn = 0;
_root.quickT = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(21);
} else {
gotoAndPlay(7);
}
}
}
button 5353 {
on (rollOver) {
_root.tipBat = 'Does an amount of damage depending on your current HP';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.ap2 >= 30) {
_level0.tookturn = 1;
_root.hands = false;
_level0.turn = 0;
_root.shockyYo = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(21);
} else {
gotoAndPlay(7);
}
}
}
button 5354 {
on (rollOver) {
_root.tipBat = 'Two turns for the price of one';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.ap2 >= 50) {
_level0.ap2 -= 50;
_root.doubleTurn2 = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
this.gotoAndStop(1);
} else {
this.gotoAndStop(7);
}
}
}
button 5358 {
on (release) {
_level0.attack2 = 0;
_root.runIt = 0;
_root.waitOn = 0;
tellTarget ('_root.score.timebar') {
gotoAndPlay(1);
}
}
}
button 5360 {
on (release) {
gotoAndStop(2);
}
}
button 5363 {
on (rollOver) {
_root.tipBat = 'Causes massive non-elemental damage';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp2 >= 35) {
_level0.tookturn = 1;
_root.flareY = 1;
_root.hands = false;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(20);
} else {
gotoAndPlay(4);
}
}
}
button 5366 {
on (rollOver) {
_root.tipBat = 'Causes massive damage';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp2 >= 50) {
_level0.tookturn = 1;
_root.hands = false;
_root.cometo = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(20);
} else {
gotoAndPlay(4);
}
}
}
button 5369 {
on (rollOver) {
_root.tipBat = 'Causes massive light damage';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
if (_level0.mp2 >= 60) {
_level0.tookturn = 1;
_root.hands = false;
_root.holyola = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(20);
} else {
gotoAndPlay(4);
}
}
}
button 5371 {
on (rollOver) {
_root.tipBat = 'Casts a beam that causes damage depending on level';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
_level0.tookturn = 1;
_level0.turn = 0;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(23);
}
}
button 5373 {
on (rollOver) {
_root.tipBat = 'A slash that causes damage depending on current mp and hp';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
_level0.tookturn = 1;
_level0.turn = 0;
_root.supah = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(23);
}
}
button 5375 {
on (rollOver) {
_root.tipBat = 'A slash that Gerome controls mentally';
}
on (rollOut) {
_root.tipBat = '';
}
on (release) {
_level0.tookturn = 1;
_root.hands = false;
_level0.turn = 0;
_root.mentahSla = 1;
if (_level0.enemyattack >= 100) {
_level0.enemyattack = 95;
}
_root.gotoAndStop(23);
}
}
movieClip 5381 {
frame 1 {
_root.defendy1 = 0;
if (_root.limit2 != 100) {
this.limy._visible = false;
}
if (_level0.useMagic == 1) {
_level0.useMagic = 0;
gotoAndPlay(2);
} else {
if (_level0.useItems == 1) {
_level0.useItems = 0;
gotoAndPlay(5);
} else {
stop();
}
}
}
frame 2 {
if (_root.demiskilled <= 0) {
this.demuu._visible = false;
}
if (_root.confuseskilled <= 0) {
this.confusy._visible = false;
}
if (_root.ballLightskilled <= 0) {
this.lightoBall._visible = false;
}
if (_root.berserkskilled <= 0) {
this.berserkah._visible = false;
}
if (_root.frogskilled <= 0) {
this.frogOh._visible = false;
}
if (_root.sheildskilled <= 0) {
this.sheildAh._visible = false;
}
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
if (_root.multislashskilled <= 0) {
this.multhah2._visible = false;
}
if (_root.multileechskilled <= 0) {
this.multhah3._visible = false;
}
if (_root.shockwaveskilled <= 0) {
this.shocky._visible = false;
}
if (_root.doubleTurn2 > 0 || _root.supeSpeed == 0) {
this.doubTurn._visible = false;
}
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
if (_root.flareskilled <= 0) {
this.flareOh._visible = false;
}
if (_root.cometskilled <= 0) {
this.cometOh._visible = false;
}
if (_root.holyskilled <= 0) {
this.holahAh._visible = false;
}
stop();
}
frame 10 {
if (_root.level2 < 10) {
this.limit2._visible = false;
}
if (_root.level2 < 17) {
this.limit3._visible = false;
}
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
}
movieClip 5382 {
frame 1 {
if (_root.waitMode == 1 && _level0.enemydone == 1) {
} else {
if (_root.enemyhp <= 0 || _root.char2 <= 0 || _root.sleepEl2 == 1 || _root.counterOn == 1) {
} else {
if (_root.PercentLoaded2 <= 50) {
_level0.attack2 += ((_level0.speed2 + _root.speedEx2 * 0.09 + _root.stickCourage + 0.5) / _level0.timeyou) * 100;
} else {
_level0.attack2 += ((_level0.speed2 + _root.speedEx2 * 0.09) / _level0.timeyou) * 100;
}
}
}
if (_level0.attack2 != 100) {
eval(bar)._xscale = _level0.attack2;
}
if (_level0.attack2 >= 100) {
_level0.turn = 0;
_root.sound1.attachSound('menSound');
_root.sound1.start();
gotoAndPlay(6);
}
}
frame 5 {
gotoAndPlay(1);
}
frame 6 {
if (_root.sleepEl2 == 1) {
gotoAndPlay(15);
}
if (_root.waitMode == 1) {
_root.waitOn = 1;
}
if (_root.char2 <= 0) {
_root.attack2 = 0;
gotoAndPlay(1);
} else {
if (_root.enemyhp <= 0) {
gotoAndPlay(13);
} else {
if (_level0.enemydone == 1) {
_level0.wait2 = 1;
gotoAndPlay(11);
} else {
if (_level0.tookturn == 1) {
_level0.tookturn = 0;
gotoAndPlay(8);
}
}
}
}
}
frame 7 {
gotoAndPlay(6);
}
frame 8 {
_level0.done = 0;
_level0.useItems = 0;
_level0.useMagic = 0;
_root.tipBat = '';
}
frame 9 {
if (_level0.turn == 1) {
_level0.turn = 0;
_root.waitOn = 0;
gotoAndPlay(1);
}
}
frame 10 {
gotoAndPlay(9);
}
frame 11 {
if (_level0.enemydone == 0) {
_level0.wait2 = 0;
gotoAndPlay(6);
} else {
if (_level0.tookturn == 1) {
_level0.tookturn = 0;
_level0.wait2 = 0;
gotoAndPlay(8);
}
}
}
frame 12 {
gotoAndPlay(11);
}
frame 14 {
gotoAndPlay(13);
}
frame 15 {
if (_root.sleepEl2 == 0) {
_root.asleep = 0;
gotoAndPlay(6);
}
}
frame 16 {
gotoAndPlay(15);
}
}
button 5385 {
on (release) {
if (_root.openIt != 1) {
_root.openIt = 1;
_root.score.statsOh.gotoAndPlay(2);
}
}
}
button 5391 {
on (release) {
_root.openIt = 0;
gotoAndPlay(6);
}
}
movieClip 5400 {
frame 1 {
stop();
}
frame 5 {
stop();
}
instance of movieClip 893 {
onClipEvent (load) {
if (_root.sleepEl2 != 1) {
this._visible = false;
} else {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.sleepEl2 != 1) {
this._visible = false;
} else {
this.gotoAndStop(2);
}
}
}
instance of movieClip 893 {
onClipEvent (load) {
if (_root.playerpoison2 != 1) {
this._visible = false;
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.playerpoison2 != 1) {
this._visible = false;
} else {
this.gotoAndStop(1);
}
}
}
instance of movieClip 893 {
onClipEvent (load) {
if (_root.blind2 != 1) {
this._visible = false;
} else {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.blind2 != 1) {
this._visible = false;
} else {
this.gotoAndStop(3);
}
}
}
instance of movieClip 893 {
onClipEvent (load) {
if (_root.ZombieInfected2 != 1) {
this._visible = false;
} else {
this.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (_root.ZombieInfected2 != 1) {
this._visible = false;
} else {
this.gotoAndStop(4);
}
}
}
instance of movieClip 893 {
onClipEvent (load) {
if (_root.berzerko != 1) {
this._visible = false;
} else {
this.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (_root.berzerko != 1) {
this._visible = false;
} else {
this.gotoAndStop(6);
}
}
}
}
movieClip 5401 {
frame 1 {
if (_root.enemyInfo2 != 1) {
_root.score.enInfo._visible = false;
}
}
}
frame 16 {
if (_root.loadIt2 == 1) {
if (_root.areaSave == 1) {
_root.areaSave = 0;
gotoAndPlay(369);
} else {
if (_root.areaSave == 2) {
_root.areaSave = 0;
gotoAndPlay(371);
} else {
if (_root.areaSave == 3) {
_root.areaSave = 0;
gotoAndPlay(373);
} else {
if (_root.areaSave == 4) {
_root.areaSave = 0;
gotoAndPlay(375);
} else {
if (_root.areaSave == 5) {
_root.areaSave = 0;
gotoAndPlay(377);
} else {
if (_root.areaSave == 6) {
_root.areaSave = 0;
gotoAndPlay(379);
} else {
gotoAndPlay(381);
}
}
}
}
}
}
}
if (_root.loadIt == 1) {
_root.loadIt = 0;
gotoAndPlay(32);
} else {
if (_root.testIt == 1) {
_root.testIt = 0;
gotoAndPlay(369);
} else {
if (_root.runIt == 1) {
if (_level0.useHaste == 1) {
_root.speed -= 3;
}
_level0.useHaste = 0;
_root.ZombieInfected2 = 0;
_root.townMusOn = 0;
_root.stopMove22 = 1;
_root.boss2 = 0;
_level0.useSlow = 0;
_root.powerBoss = 0;
_root.townMusOn2 = 0;
_root.doubleTurn = 0;
_root.doubleTurn2 = 0;
_root.sleepEl2 = 0;
_root.berzerko = 0;
_root.enemy20 = 0;
_root.attackStrength = 0;
_root.enemy19 = 0;
_root.openIt = 0;
_root.lightAttacko = 0;
_root.ballLight = 0;
_root.sleepEl = 0;
_root.char1Parted = 0;
_root.darknessInfect = 0;
_root.powerDown = 0;
_root.confused = 0;
_root.char2Parted = 0;
_root.enemyInfo2 = 0;
_root.fadeOut = 1;
if (_root.leechy == 1) {
_root.leechy = 0;
_root.lifeLeech2 -= 3;
_root.magLeech2 -= 3;
}
_root.enchant = 0;
_root.attack2 = 0;
_root.hlevel -= _root.hah22;
_root.hlevel -= _root.temp22;
_root.blind1 = 0;
_root.blind2 = 0;
_root.enemySleepy = 0;
_root.shellDefense = 0;
_root.protectDefense = 0;
_root.pOn = 0;
_root.comeback = 0;
_level0.enemyattack = 0;
_root.waitOn = 0;
_level0.turn = 1;
_level0.attack = 0;
_level0.done = 1;
_root.stopIt = 0;
_root.runIt = 0;
_root.stolen = 0;
_root.Zombie = 0;
_root.enemy2 = 0;
_root.enemy3 = 0;
_root.enemy4 = 0;
_root.enemy5 = 0;
_root.enemy6 = 0;
_root.enemy7 = 0;
_root.enemy8 = 0;
_root.enemy9 = 0;
_root.enemy10 = 0;
_root.enemy11 = 0;
_root.enemy12 = 0;
_root.enemy13 = 0;
_root.enemy14 = 0;
_root.enemy15 = 0;
_root.enemy16 = 0;
_root.enemy17 = 0;
_root.enemy18 = 0;
_root.enemy19 = 0;
_root.enemy20 = 0;
_root.enemy21 = 0;
_root.boss1 = 0;
_root.runIt = 0;
enemy8 = 0;
_root.miniYou = 0;
infectedDarkness = 0;
ZombieInfected = 0;
playerpoison = 0;
deadEnemy = 0;
enemyInfo = 0;
_root.boss1 = 0;
_root.boss2 = 0;
_root.boss3 = 0;
stopAllSounds();
if (_root.battleSpecA1 == 1) {
_root.justStat = 1;
_root.battleSpecA1 = 0;
gotoAndPlay(371);
} else {
if (_root.battleSpecA2 == 1) {
_root.justStat = 1;
_root.battleSpecA2 = 0;
gotoAndPlay(373);
} else {
if (_root.battleSpecA3 == 1) {
_root.justStat = 1;
_root.battleSpecA3 = 0;
gotoAndPlay(375);
} else {
if (_root.battleSpecA4 == 1) {
_root.justStat = 1;
_root.battleSpecA4 = 0;
gotoAndPlay(377);
} else {
if (_root.battleNow4 == 1) {
_root.battleNow4 = 0;
_root.savemap = 1;
gotoAndPlay(439);
} else {
if (_root.battleNow3 == 1) {
_root.battleNow3 = 0;
_root.savemap = 1;
gotoAndPlay(437);
} else {
if (_root.battleNow2 == 1) {
_root.battleNow2 = 0;
_root.savemap = 1;
gotoAndPlay(435);
} else {
if (_root.battleNow == 1) {
_root.battleNow = 0;
_root.savemap = 1;
gotoAndPlay(433);
} else {
gotoAndPlay(482);
}
}
}
}
}
}
}
}
} else {
if (_root.playYoHah == 1) {
_root.playYoHah = 0;
gotoAndPlay(448);
} else {
if (_root.anotherChance == 1) {
_root.anotherChance = 0;
_root.boss2 = 0;
_root.waitOn = 0;
_root.boss1 = 0;
_root.boss2 = 0;
_root.boss3 = 0;
if (_root.battleSpecA1 == 1) {
_root.justStat = 1;
_root.battleSpecA1 = 0;
gotoAndPlay(371);
} else {
if (_root.battleSpecA2 == 1) {
_root.justStat = 1;
_root.battleSpecA2 = 0;
gotoAndPlay(373);
} else {
if (_root.battleSpecA3 == 1) {
_root.justStat = 1;
_root.battleSpecA3 = 0;
gotoAndPlay(375);
} else {
if (_root.battleSpecA4 == 1) {
_root.justStat = 1;
_root.battleSpecA4 = 0;
gotoAndPlay(377);
} else {
if (_root.battleNow4 == 1) {
_root.battleNow4 = 0;
_root.savemap = 1;
gotoAndPlay(439);
} else {
if (_root.battleNow3 == 1) {
_root.battleNow3 = 0;
gotoAndPlay(437);
} else {
if (_root.battleNow2 == 1) {
_root.battleNow2 = 0;
gotoAndPlay(435);
} else {
if (_root.battleNow == 1) {
_root.battleNow = 0;
gotoAndPlay(433);
} else {
gotoAndPlay(482);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
frame 17 {
_level0.PercentLoaded2 = (_level0.char2 / _level0.maxhp2) * 100;
if (_root.soundOn != 1 && _root.musicOff != 1) {
_root.soundOn = 1;
if (_root.boss2 == 1 || _root.boss3 == 1) {
_root.sound1.attachSound('bossy1');
_root.sound1.start(0, 65000);
} else {
attack = random(2) + 1;
if (attack == 1) {
_root.sound1.attachSound('battle1');
_root.sound1.start(0, 65000);
} else {
_root.sound1.attachSound('battle2');
_root.sound1.start(0, 65000);
}
}
}
if (_root.supesCape == 1) {
_root.berzerko = 3;
}
_root.hands = true;
_root.char2Parted = 1;
stop();
}
movieClip 5404 {
frame 1 {
if (_root.playerpoison2 == 1) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 2 {
if (_root.deadEnemy == 1 || _root.deadd2 == 1) {
_root.playerpoison2 = 0;
gotoAndPlay(1);
}
if (_root.pois2 >= 24) {
_root.pois2 = 0;
_root.char2 = _root.char2 - random(15) - 5;
if (_root.char2 < 0) {
_root.char2 = 1;
}
}
}
frame 7 {
_root.pois2 += 3;
gotoAndPlay(1);
}
}
movieClip 5405 {
frame 1 {
if (_root.sleepEl2 == 1) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 11 {
chance = random(28) + 1;
switch (chance) {
case 3:
case 10:
case 4:
_root.sleepEl2 = 0;
gotoAndPlay(1);
break;
default:
gotoAndPlay(2);
}
}
}
movieClip 5407 {
frame 1 {
if (_root.blind2 == 1) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 10 {
gotoAndPlay(1);
}
}
movieClip 5412 {
frame 1 {
if (_root.sheildy == 1) {
gotoAndPlay(2);
} else {
stop();
}
}
}
movieClip 5413 {
frame 1 {
if (_root.berzerko > 0) {
gotoAndPlay(2);
} else {
stop();
}
}
}
movieClip 5420 {
frame 1 {
if (_root.sheildo > 0) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 2 {
if (_root.sheildo <= 0) {
gotoAndStop(1);
}
}
frame 3 {
if (_root.sheildo <= 0) {
gotoAndStop(1);
}
}
frame 4 {
if (_root.sheildo <= 0) {
gotoAndStop(1);
}
}
frame 5 {
if (_root.sheildo <= 0) {
gotoAndStop(1);
}
}
frame 6 {
if (_root.sheildo <= 0) {
gotoAndStop(1);
}
}
frame 7 {
if (_root.sheildo <= 0) {
gotoAndStop(1);
}
}
frame 8 {
if (_root.sheildo <= 0) {
gotoAndStop(1);
}
}
frame 9 {
if (_root.sheildo <= 0) {
gotoAndStop(1);
}
}
frame 10 {
if (_root.sheildo <= 0) {
gotoAndStop(1);
}
}
frame 11 {
if (_root.sheildo <= 0) {
gotoAndStop(1);
}
}
}
movieClip 5485 {
frame 1 {
if (_root.defendy1 == 1) {
gotoAndPlay(29);
} else {
if (_level0.enemy.damage3 > 0) {
gotoAndPlay(18);
} else {
if (_level0.enemy.damage > 0) {
gotoAndPlay(8);
}
}
}
if (_level0.enemy.damage == 'MISS!' || _level0.enemy.damage3 == 'MISS!') {
gotoAndPlay(37);
}
}
frame 2 {
if (_level0.enemy.damage3 > 0) {
gotoAndPlay(18);
} else {
if (_level0.enemy.damage > 0) {
gotoAndPlay(8);
}
}
if (_level0.enemy.damage == 'MISS!' || _level0.enemy.damage3 == 'MISS!') {
gotoAndPlay(37);
}
}
frame 3 {
if (_level0.enemy.damage3 > 0) {
gotoAndPlay(18);
} else {
if (_level0.enemy.damage > 0) {
gotoAndPlay(8);
}
}
if (_level0.enemy.damage == 'MISS!' || _level0.enemy.damage3 == 'MISS!') {
gotoAndPlay(37);
}
}
frame 4 {
if (_level0.enemy.damage3 > 0) {
gotoAndPlay(18);
} else {
if (_level0.enemy.damage > 0) {
gotoAndPlay(8);
}
}
if (_level0.enemy.damage == 'MISS!' || _level0.enemy.damage3 == 'MISS!') {
gotoAndPlay(37);
}
}
frame 5 {
if (_level0.enemy.damage3 > 0) {
gotoAndPlay(18);
} else {
if (_level0.enemy.damage > 0) {
gotoAndPlay(8);
}
}
if (_level0.enemy.damage == 'MISS!' || _level0.enemy.damage3 == 'MISS!') {
gotoAndPlay(37);
}
}
frame 6 {
if (_level0.enemy.damage3 > 0) {
gotoAndPlay(18);
} else {
if (_level0.enemy.damage > 0) {
gotoAndPlay(8);
}
}
if (_level0.enemy.damage == 'MISS!' || _level0.enemy.damage3 == 'MISS!') {
gotoAndPlay(37);
}
}
frame 7 {
gotoAndPlay(1);
}
frame 17 {
gotoAndPlay(1);
}
frame 25 {
gotoAndPlay(1);
}
frame 28 {
_level0.turn = 1;
_level0.done = 1;
_level0.attack2 = 0;
gotoAndPlay(29);
}
frame 33 {
if (_root.defendy1 == 0) {
gotoAndPlay(34);
} else {
gotoAndPlay(29);
}
}
frame 36 {
gotoAndPlay(1);
}
frame 40 {
if (_level0.enemy.damage == 'MISS!' || _level0.enemy.damage3 == 'MISS!') {
gotoAndPlay(39);
} else {
gotoAndPlay(1);
}
}
}
frame 18 {
stop();
}
movieClip 5611 {
frame 1 {
dammm = random(3) + 1;
switch (dammm) {
case 1:
gotoAndPlay(2);
break;
case 2:
gotoAndPlay(23);
break;
case 3:
gotoAndPlay(36);
}
}
frame 14 {
damage = random(20 + _root.strength2) + 10 + _root.strength2 + _root.enchant * 8;
if (_root.statusskilled > 0) {
temp = _root.statusskilled;
while (temp > 0) {
dudah = random(11) + 1;
switch (dudah) {
case 1:
_root.pOn = 1;
break;
case 2:
_root.stopIt = 1;
break;
case 3:
_root.enemySleepy = 1;
break;
case 4:
_root.confused = random(100) + 40;
break;
case 5:
_root.ballLight = 3 + _root.ballLightskilled;
break;
case 6:
_root.infectedDarkness = 120;
_root.darknessInfect = 13;
break;
default:
}
--temp;
}
}
if (_level0.critical2 == 100) {
_level0.critical2 = 0;
damage *= 2;
}
if (_root.berzerko > 0) {
_root.berzerko -= 1;
attack4 = random(4) + 1;
switch (attack4) {
case 1:
damage *= 2;
break;
case 3:
damage *= 3;
break;
default:
}
}
_root.missRate();
damage2 = '- ' + damage + ' HP!';
if (_root.blind2 == 1 || _root.enemy15 == 1 || _root.missyNow == 1) {
damage2 = 'MISS!';
} else {
if (_root.lifeLeech2 > 0) {
gainBack = Math.ceil(_root.lifeLeech2 * 0.07000000000000001 * damage);
_root.char2 += gainBack;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.magLeech2 > 0) {
gainBack = Math.ceil(_root.magLeech2 * 0.04 * damage);
_root.mp2 += gainBack;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
}
}
frame 22 {
_level0.critical2 += 10;
_root.ap2 += 5;
if (damage2 != 'MISS!') {
_level0.enemyhp -= damage;
}
if (_root.missyNow == 1) {
_root.missyNow = 0;
_root.enemy1attacked._x -= 15;
}
_level0.turn = 1;
if (_root.counterOn != 1) {
_level0.attack2 = 0;
}
_root.doubTurnFunc();
_root.counterOn = 0;
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(26);
} else {
_root.gotoAndStop(17);
}
}
frame 26 {
damage = random(20 + _root.strength2) + 10 + _root.strength2 + _root.enchant * 8;
if (_root.statusskilled > 0) {
temp = _root.statusskilled;
while (temp > 0) {
dudah = random(11) + 1;
switch (dudah) {
case 1:
_root.pOn = 1;
break;
case 2:
_root.stopIt = 1;
break;
case 3:
_root.enemySleepy = 1;
break;
case 4:
_root.confused = random(100) + 40;
break;
case 5:
_root.ballLight = 3 + _root.ballLightskilled;
break;
case 6:
_root.infectedDarkness = 120;
_root.darknessInfect = 13;
break;
default:
}
--temp;
}
}
if (_level0.critical2 == 100) {
_level0.critical2 = 0;
damage *= 2;
}
if (_root.berzerko > 0) {
_root.berzerko -= 1;
attack4 = random(4) + 1;
switch (attack4) {
case 1:
damage *= 2;
break;
case 3:
damage *= 3;
break;
default:
}
}
_root.missRate();
damage2 = '- ' + damage + ' HP!';
if (_root.blind2 == 1 || _root.enemy15 == 1 || _root.missyNow == 1) {
damage2 = 'MISS!';
} else {
if (_root.lifeLeech2 > 0) {
gainBack = Math.ceil(_root.lifeLeech2 * 0.07000000000000001 * damage);
_root.char2 += gainBack;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.magLeech2 > 0) {
gainBack = Math.ceil(_root.magLeech2 * 0.04 * damage);
_root.mp2 += gainBack;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
}
}
frame 35 {
call(22);
}
frame 49 {
damage = random(20 + _root.strength2) + 10 + _root.strength2 + _root.enchant * 8;
if (_root.statusskilled > 0) {
temp = _root.statusskilled;
while (temp > 0) {
dudah = random(11) + 1;
switch (dudah) {
case 1:
_root.pOn = 1;
break;
case 2:
_root.stopIt = 1;
break;
case 3:
_root.enemySleepy = 1;
break;
case 4:
_root.confused = random(100) + 40;
break;
case 5:
_root.ballLight = 3 + _root.ballLightskilled;
break;
case 6:
_root.infectedDarkness = 120;
_root.darknessInfect = 13;
break;
default:
}
--temp;
}
}
if (_level0.critical2 == 100) {
_level0.critical2 = 0;
damage *= 2;
}
if (_root.berzerko > 0) {
_root.berzerko -= 1;
attack4 = random(4) + 1;
switch (attack4) {
case 1:
damage *= 2;
break;
case 3:
damage *= 3;
break;
default:
}
}
damage2 = '- ' + damage + ' HP!';
_root.missRate();
if (_root.blind2 == 1 || _root.enemy15 == 1 || _root.missyNow == 1) {
damage2 = 'MISS!';
} else {
if (_root.lifeLeech2 > 0) {
gainBack = Math.ceil(_root.lifeLeech2 * 0.07000000000000001 * damage);
_root.char2 += gainBack;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.magLeech2 > 0) {
gainBack = Math.ceil(_root.magLeech2 * 0.04 * damage);
_root.mp2 += gainBack;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
}
}
frame 59 {
call(22);
}
}
frame 19 {
stop();
}
instance enemy of movieClip 2718 {
onClipEvent (load) {
this.sound1 = new Sound();
}
}
frame 20 {
stop();
}
movieClip 5753 {
}
movieClip 6016 {
}
movieClip 6235 {
frame 1 {
if (_root.fireSwod == 1) {
_root.fireSwod = 0;
gotoAndPlay(78);
} else {
if (_root.doItMulti == 1) {
_root.doItMulti = 0;
gotoAndPlay(60);
} else {
if (_root.fully == 1) {
_root.fully = 0;
gotoAndPlay(26);
} else {
if (_root.encha == 1) {
_root.encha = 0;
gotoAndPlay(97);
} else {
if (_root.cometo == 1 || _root.scany == 1 || _root.demiGod == 1 || _root.flareY == 1 || _root.froggy == 1 || _root.confusey == 1 || _root.berserko == 1 || _root.sheilda == 1 || _root.ballos == 1 || _root.holyola == 1) {
_root.cometo = 0;
gotoAndPlay(123);
}
}
}
}
}
}
frame 15 {
damage = random(30 + _root.skills2 + _root.lightswodskilled * 4) + 30 + _root.skills2 + _root.lightswodskilled * 3 + _root.enchant * 8;
damage2 = '- ' + damage + ' HP';
}
frame 25 {
_root.mp2 -= 5;
_level0.enemyhp -= damage;
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(26);
} else {
_root.gotoAndStop(17);
}
}
frame 37 {
damage = random(30 + _root.skills2 + _root.healskilled2 * 3) + 25 + _root.skills2 + _root.healskilled2 * 3 + _root.enchant * 8;
damage2 = '+ ' + damage + ' HP';
}
frame 59 {
_root.mp2 -= 20;
_root.hands = true;
_root.char2 += damage;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
_level0.PercentLoaded2 = (_level0.char2 / _level0.maxhp2) * 100;
_root.gotoAndStop(17);
}
frame 65 {
damage = random(30 + _root.skills2 + _root.strength2 + _root.multislashskilled * 4) + 19 + _root.skills2 + _root.multislashskilled * 2 + _root.strength2 + _root.enchant * 8;
if (_root.berzerko > 0) {
_root.berzerko -= 1;
attack4 = random(4) + 1;
switch (attack4) {
case 1:
damage *= 2;
break;
case 3:
damage *= 3;
break;
default:
}
}
damage2 = '- ' + damage + ' HP';
if (_root.lifeLeech2 > 0) {
gainBack = Math.ceil(_root.lifeLeech2 * 0.07000000000000001 * damage);
_root.char2 += gainBack;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.magLeech2 > 0) {
gainBack = Math.ceil(_root.magLeech2 * 0.04 * damage);
_root.mp2 += gainBack;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
}
frame 68 {
--_root.multiSlash;
}
frame 69 {
_level0.enemyhp -= damage;
if (_level0.enemyhp <= 0) {
gotoAndPlay(75);
} else {
damage = random(30 + _root.skills2 + _root.strength2 + _root.multislashskilled * 4) + 19 + _root.multislashskilled * 2 + _root.skills2 + _root.strength2 + _root.enchant * 8;
if (_root.berzerko > 0) {
_root.berzerko -= 1;
attack4 = random(4) + 1;
switch (attack4) {
case 1:
damage *= 2;
break;
case 3:
damage *= 3;
break;
default:
}
}
damage2 = '- ' + damage + ' HP';
}
}
frame 72 {
_level0.enemyhp -= damage;
if (_root.lifeLeech2 > 0) {
gainBack = Math.ceil(_root.lifeLeech2 * 0.07000000000000001 * damage);
_root.char2 += gainBack;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.magLeech2 > 0) {
gainBack = Math.ceil(_root.magLeech2 * 0.04 * damage);
_root.mp2 += gainBack;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
if (_level0.enemyhp <= 0) {
gotoAndPlay(75);
} else {
damage = random(30 + _root.skills2 + _root.strength2 + _root.multislashskilled * 4) + 19 + _root.skills2 + _root.multislashskilled * 2 + _root.strength2 + _root.enchant * 8;
if (_root.berzerko > 0) {
_root.berzerko -= 1;
attack4 = random(4) + 1;
switch (attack4) {
case 1:
damage *= 2;
break;
case 3:
damage *= 3;
break;
default:
}
}
damage2 = '- ' + damage + ' HP';
}
}
frame 74 {
if (_root.lifeLeech2 > 0) {
gainBack = Math.ceil(_root.lifeLeech2 * 0.07000000000000001 * damage);
_root.char2 += gainBack;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.magLeech2 > 0) {
gainBack = Math.ceil(_root.magLeech2 * 0.04 * damage);
_root.mp2 += gainBack;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
if (_root.multiSlash != 0) {
gotoAndPlay(69);
}
}
frame 77 {
_root.ap2 -= 35;
_level0.turn = 1;
_level0.enemyhp -= damage;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(26);
} else {
_root.gotoAndStop(17);
}
}
frame 90 {
damage = random(22 + _root.skills2 + _root.fireswodskilled * 4) + 27 + _root.skills2 + _root.fireswodskilled * 3 + _root.enchant * 8;
if (_root.berzerko > 0) {
_root.berzerko -= 1;
attack4 = random(4) + 1;
switch (attack4) {
case 1:
damage *= 2;
break;
case 3:
damage *= 3;
break;
default:
}
}
damage2 = '- ' + damage + ' HP';
}
frame 96 {
_root.mp2 -= 3;
_level0.enemyhp -= damage;
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(26);
} else {
_root.gotoAndStop(17);
}
}
frame 97 {
_root.hands = false;
}
frame 122 {
_root.mp2 -= 15;
_root.hands = true;
_root.enchant = 1 + _root.enchantskilled;
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.gotoAndStop(17);
}
frame 123 {
_root.hands = false;
}
frame 134 {
if (_root.scany == 1) {
_root.scany = 0;
gotoAndPlay(153);
} else {
if (_root.demiGod == 1) {
_root.demiGod = 0;
gotoAndPlay(176);
} else {
if (_root.flareY == 1) {
_root.flareY = 0;
gotoAndPlay(201);
} else {
if (_root.froggy == 1) {
_root.froggy = 0;
gotoAndPlay(230);
} else {
if (_root.confusey == 1) {
_root.confusey = 0;
gotoAndPlay(251);
} else {
if (_root.berserko == 1) {
_root.berserko = 0;
gotoAndPlay(276);
} else {
if (_root.sheilda == 1) {
_root.sheilda = 0;
gotoAndPlay(301);
} else {
if (_root.ballos == 1) {
_root.ballos = 0;
gotoAndPlay(322);
} else {
if (_root.holyola == 1) {
_root.holyola = 0;
gotoAndPlay(345);
}
}
}
}
}
}
}
}
}
}
frame 138 {
damage = random(300 + _root.skills2 + _root.cometskilled * 7) + 100 + _root.skills2 + _root.cometskilled * 4 + _root.enchant * 8;
damage2 = '- ' + damage + ' HP';
}
frame 152 {
_root.mp2 -= 50;
_root.hands = true;
_level0.enemyhp -= damage;
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(26);
} else {
_root.gotoAndStop(17);
}
}
frame 175 {
_root.ap2 -= 10;
_root.hands = true;
_root.enemyInfo2 = 1;
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.score.enInfo._visible = true;
_root.gotoAndStop(17);
}
frame 180 {
damage = Math.ceil(_root.enemyhp / 4) + _root.demiskilled * 2 + _root.skills2;
damage2 = '- ' + damage + ' HP';
}
frame 200 {
_root.mp2 -= 25;
_root.hands = true;
_level0.enemyhp -= damage;
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(26);
} else {
_root.gotoAndStop(17);
}
}
frame 201 {
damage = random(200 + _root.flareskilled * 6 + _root.skills2) + 200 + _root.flareskilled * 4 + _root.skills2;
damage2 = '- ' + damage + ' HP';
}
frame 229 {
_root.mp2 -= 35;
_root.hands = true;
_level0.enemyhp -= damage;
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(26);
} else {
_root.gotoAndStop(17);
}
}
frame 236 {
dam = random(4) + 1;
_root.frogTurn = 2 + _root.frogskilled;
switch (dam) {
case 2:
damage2 = 'Failed';
break;
default:
damage2 = 'Enemy was changed into a frog for ' + _root.frogTurn + ' turns!!';
}
}
frame 250 {
if (dam != 2) {
_root.turnedFrog = 1;
}
_root.mp2 -= 25;
_root.hands = true;
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.gotoAndStop(17);
}
frame 275 {
_root.mp2 -= 20;
_root.hands = true;
_root.confused = random(100 + _root.confuseskilled * 20) + 40 + _root.confuseskilled * 10 + _root.skills2;
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.gotoAndStop(17);
}
frame 300 {
_root.mp2 -= 15;
_root.hands = true;
_root.berzerko = 2 + _root.berserkskilled;
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.gotoAndStop(17);
}
frame 321 {
_root.mp2 -= 30;
_root.hands = true;
_root.sheildo = 3 + _root.sheildskilled;
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.gotoAndStop(17);
}
frame 344 {
_root.mp2 -= 15;
_root.hands = true;
_root.ballLight = 3 + _root.ballLightskilled;
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.gotoAndStop(17);
}
frame 347 {
damage = random(300 + _root.holyskilled * 8 + _root.skills2) + 300 + _root.holyskilled * 5 + _root.skills2;
damage2 = '- ' + damage + ' HP';
}
frame 369 {
_root.mp2 -= 60;
_root.hands = true;
_level0.enemyhp -= damage;
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(26);
} else {
_root.gotoAndStop(17);
}
}
}
frame 21 {
stop();
}
movieClip 6459 {
frame 1 {
if (_root.leecho1 == 1) {
_root.leecho1 = 0;
gotoAndPlay(19);
} else {
if (_root.pBreak == 1) {
_root.pBreak = 0;
gotoAndPlay(35);
} else {
if (_root.muggy == 1) {
_root.muggy = 0;
gotoAndPlay(45);
} else {
if (_root.quickT == 1) {
_root.quickT = 0;
gotoAndPlay(64);
} else {
if (_root.shockyYo == 1) {
_root.shockyYo = 0;
gotoAndPlay(82);
}
}
}
}
}
}
frame 18 {
_root.ap2 -= 30;
_root.hands = true;
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.counter = 2 + _root.counterskilled;
_root.gotoAndStop(17);
}
frame 34 {
_root.ap2 -= 45;
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.leechy = 1;
_root.hands = true;
_root.lifeLeech2 = 3 + _root.multileechskilled;
_root.magLeech2 = 3 + _root.multileechskilled;
_root.gotoAndStop(17);
}
frame 38 {
damage = random(25 + _root.strength2) + 17 + _root.strength2 + _root.enchant * 8;
if (_root.berzerko > 0) {
_root.berzerko -= 1;
attack4 = random(4) + 1;
switch (attack4) {
case 1:
damage *= 2;
break;
case 3:
damage *= 3;
break;
default:
}
}
damage2 = '- ' + damage + ' HP!';
if (_root.lifeLeech2 > 0) {
gainBack = Math.ceil(_root.lifeLeech2 * 0.07000000000000001 * damage);
_root.char2 += gainBack;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.magLeech2 > 0) {
gainBack = Math.ceil(_root.magLeech2 * 0.04 * damage);
_root.mp2 += gainBack;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
}
frame 44 {
_root.ap2 -= 15;
_root.enemyhp -= damage;
_root.powerDown = random(10) + 10 + _root.powerbreakskilled * 3;
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(26);
} else {
_root.gotoAndStop(17);
}
}
frame 53 {
stealit = random(2) + 1;
if (_root.stolen == 1) {
stealit = 1;
}
if (stealit == 1) {
itemFound = 'Steal Attempt Failed!';
} else {
dam = random(13) + 1;
_root.stolen = 1;
switch (dam) {
case 1:
dam2 = random(2) + 1;
_root.elixir += dam2;
itemFound = 'You stole ' + dam2 + ' elixirs!';
break;
case 2:
dam2 = random(2) + 1;
_root.xpotion += dam2;
itemFound = 'You stole ' + dam2 + ' xpotions!';
break;
case 3:
dam2 = random(2) + 1;
_root.hpotion += dam2;
itemFound = 'You stole ' + dam2 + ' Hi-Potions!';
break;
case 4:
dam2 = random(2) + 1;
_root.ether += dam2;
itemFound = 'You stole ' + dam2 + ' ethers!';
break;
case 5:
dam2 = random(250) + 40;
_root.money += dam2;
itemFound = 'You stole ' + dam2 + ' coins!';
break;
case 6:
dam2 = random(2) + 1;
_root.antidote += dam2;
itemFound = 'You stole ' + dam2 + ' antidotes!';
break;
case 7:
dam2 = random(2) + 1;
_root.revive += dam2;
itemFound = 'You stole ' + dam2 + ' revives!';
break;
default:
dam2 = random(2) + 1;
_root.potion += dam2;
itemFound = 'You stole ' + dam2 + ' potions!';
}
}
}
frame 56 {
damage = random(25 + _root.strength2) + 22 + _root.strength2 + _root.enchant * 8;
if (_root.berzerko > 0) {
_root.berzerko -= 1;
attack4 = random(4) + 1;
switch (attack4) {
case 1:
damage *= 2;
break;
case 3:
damage *= 3;
break;
default:
}
}
damage2 = '- ' + damage + ' HP!';
if (_root.lifeLeech2 > 0) {
gainBack = Math.ceil(_root.lifeLeech2 * 0.07000000000000001 * damage);
_root.char2 += gainBack;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.magLeech2 > 0) {
gainBack = Math.ceil(_root.magLeech2 * 0.04 * damage);
_root.mp2 += gainBack;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
}
frame 63 {
_root.ap2 -= 30;
_root.enemyhp -= damage;
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(26);
} else {
_root.gotoAndStop(17);
}
}
frame 69 {
damage = random(36 + _root.strength2) + 22 + _root.strength2 + _root.enchant * 8;
if (_root.berzerko > 0) {
_root.berzerko -= 1;
attack4 = random(4) + 1;
switch (attack4) {
case 1:
damage *= 2;
break;
case 3:
damage *= 3;
break;
default:
}
}
damage2 = '- ' + damage + ' HP!';
if (_root.lifeLeech2 > 0) {
gainBack = Math.ceil(_root.lifeLeech2 * 0.07000000000000001 * damage);
_root.char2 += gainBack;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.magLeech2 > 0) {
gainBack = Math.ceil(_root.magLeech2 * 0.04 * damage);
_root.mp2 += gainBack;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
}
frame 81 {
_root.ap2 -= 10;
_level0.enemyhp -= damage;
_level0.turn = 1;
_level0.attack2 = 39 + _root.quickthrowskilled * 2;
if (_level0.attack2 >= 50) {
_level0.attack2 = 50;
}
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(26);
} else {
_root.gotoAndStop(17);
}
}
frame 90 {
damage = _root.char2 / 2 - 5 + _root.enchant * 8 + _root.shockwaveskilled * 5;
if (damage <= 0) {
damage = 5;
}
damage2 = '- ' + damage + ' HP!';
}
frame 100 {
_root.ap2 -= 30;
_level0.enemyhp -= damage;
_level0.turn = 1;
_level0.done = 1;
_root.attack2 = 0;
_root.doubTurnFunc();
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(26);
} else {
_root.gotoAndStop(17);
}
}
}
frame 22 {
stop();
}
movieClip 6748 {
frame 18 {
if (_level0.ethah == 1) {
_level0.ethah = 0;
gotoAndPlay(39);
} else {
if (_level0.hpotions == 1) {
_level0.hpotions = 0;
gotoAndPlay(60);
} else {
if (_level0.xpotions == 1) {
_level0.xpotions = 0;
gotoAndPlay(81);
} else {
if (_level0.elixah == 1) {
_level0.elixah = 0;
gotoAndPlay(102);
} else {
if (_root.anti1 == 1) {
_root.anti1 = 0;
gotoAndPlay(123);
} else {
if (_root.reviveyM == 1) {
_root.reviveyM = 0;
gotoAndPlay(143);
}
}
}
}
}
}
}
frame 38 {
_level0.potion -= 1;
_level0.char2 += 50;
if (_level0.char2 > _level0.maxhp2) {
_level0.char2 = _level0.maxhp2;
}
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
_level0.PercentLoaded2 = (_level0.char2 / _level0.maxhp2) * 100;
_root.gotoAndPlay(17);
}
frame 59 {
_level0.ether -= 1;
_level0.mp2 += 20;
if (_level0.mp2 > _level0.maxmp2) {
_level0.mp2 = _level0.maxmp2;
}
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.gotoAndPlay(17);
}
frame 80 {
_level0.hpotion -= 1;
_level0.char2 += 300;
if (_level0.char2 > _level0.maxhp2) {
_level0.char2 = _level0.maxhp2;
}
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
_level0.PercentLoaded2 = (_level0.char2 / _level0.maxhp2) * 100;
_root.gotoAndPlay(17);
}
frame 101 {
_level0.xpotion -= 1;
_level0.char2 = _level0.maxhp2;
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
_level0.PercentLoaded2 = (_level0.char2 / _level0.maxhp2) * 100;
_root.gotoAndPlay(17);
}
frame 122 {
_level0.elixir -= 1;
_level0.char2 = _level0.maxhp2;
_level0.mp2 = _level0.maxmp2;
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
_level0.PercentLoaded2 = (_level0.char2 / _level0.maxhp2) * 100;
_root.gotoAndPlay(17);
}
frame 142 {
_level0.antidote -= 1;
_root.playerpoison2 = 0;
_root.blind2 = 0;
_root.ZombieInfected2 = 0;
_level0.turn = 1;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.gotoAndPlay(17);
}
frame 159 {
_level0.revive -= 1;
_root.char1Alive = true;
_root.char1 = 75;
_level0.turn = 1;
_level0.attack = 0;
_root.doubTurnFunc();
_level0.done = 1;
_root.gotoAndPlay(17);
}
}
frame 23 {
stop();
}
movieClip 6865 {
frame 1 {
if (_root.supah == 1) {
_root.supah = 0;
gotoAndPlay(18);
} else {
if (_root.mentahSla == 1) {
_root.mentahSla = 0;
gotoAndPlay(42);
}
}
}
frame 8 {
damage = random(100 + _root.level2 * 20) + 30 + _root.level2 * 4;
damage2 = '- ' + damage + ' HP!';
}
frame 17 {
_level0.enemyhp -= damage;
_level0.turn = 1;
_level0.limit2 = 0;
_level0.attack2 = 0;
_root.doubTurnFunc();
_level0.done = 1;
if (_level0.enemyhp <= 0) {
_root.gotoAndStop(26);
} else {
_root.gotoAndStop(17);
}
}
frame 28 {
damage = Math.ceil((_root.char2 / (random(16) + 6)) * (_root.ap2 + random(3) + 1));
damage2 = '- ' + damage + ' HP!';
}
frame 41 {
call(17);
}
frame 53 {
damage = Math.ceil(_root.mp2 * (_root.char2 / (random(5) + 1)) * random(4) / (_root.limit2 * random(3) + 1));
if (damage < 400) {
damage = 400;
}
damage2 = '- ' + damage + ' HP!';
}
frame 67 {
call(17);
}
}
frame 24 {
stop();
}
frame 25 {
_root.hands = false;
_level0.PercentLoaded2 = (_level0.char2 / _level0.maxhp2) * 100;
stop();
}
movieClip 6880 {
frame 2 {
_root.char2 = 0;
_root.deadd = 1;
_root.playerpoison2 = 0;
}
frame 8 {
_root.char2Alive = false;
_root.deaddy = 1;
tellTarget ('_root.tryAgane') {
gotoAndPlay(2);
}
stop();
}
}
frame 26 {
stop();
}
frame 27 {
_root.hands = false;
if (_root.char1Parted == 1) {
_root.char1Parted = 0;
tellTarget ('_root.levy') {
gotoAndPlay(2);
}
}
stop();
}
movieClip 6935 {
frame 1 {
attack = random(2) + 1;
if (attack == 1) {
gotoAndPlay(19);
}
}
frame 18 {
stop();
}
frame 27 {
stop();
}
}
button 6945 {
on (release) {
if (skillpoint > 0) {
skillpoint -= 1;
_root.vitality2 += 1;
_root.maxhp2 += (5 + _root.vitalityskilled) * _root.hptwo2;
}
}
}
button 6946 {
on (release) {
if (skillpoint > 0) {
skillpoint -= 1;
_root.energy2 += 1;
_root.maxmp2 += (3 + _root.energyskilled) * _root.mptwo2;
}
}
}
button 6947 {
on (release) {
if (skillpoint > 0 && _root.speedEx2 <= 150) {
skillpoint -= 1;
_root.speedEx2 += 1;
}
}
}
movieClip 6956 {
frame 1 {
if (_root.enemyRan == 1) {
_root.enemyRan = 0;
mess1 = 'You got 0 coins!!';
mess2 = 'You got 0 EXP!!';
mess3 = 'Enemy dropped nothing.';
mess4 = '';
skillpoint = 0;
} else {
skillpoint = 0;
coins = (random(100 + _root.hlevel * 20 + _root.moneyskilled * 7) + 50 + _root.hlevel * 10 + _root.moneyskilled * 7) * _root.moneyPlus * _root.spamItem;
_root.money += coins;
moreEXP = (random(20 + _root.hlevel * 4 + _root.expskilled * 3) + 8 + _root.hlevel * 3 + _root.expskilled * 3) * _root.EXPMore * _root.heroRing;
_root.exp2 += moreEXP;
mess1 = 'You got ' + coins + ' coins!!';
mess2 = 'You got ' + moreEXP + ' EXP!!';
attack = random(18) + 1;
switch (attack) {
case 2:
attack2 = random(2) + 1;
_root.potion += attack2;
mess3 = 'Item: ' + attack2 + ' potions!!';
break;
case 4:
attack2 = random(2) + 1;
_root.xpotion += attack2;
mess3 = 'Item: ' + attack2 + ' X-potions!!';
break;
case 6:
attack2 = random(2) + 1;
_root.hpotion += attack2;
mess3 = 'Item: ' + attack2 + ' Hi-potions!!';
break;
case 7:
attack2 = random(2) + 1;
_root.ether += attack2;
mess3 = 'Item: ' + attack2 + ' ethers!!';
break;
case 10:
attack2 = random(2) + 1;
_root.elixir += attack2;
mess3 = 'Item: ' + attack2 + ' elixirs!!';
break;
case 11:
attack2 = random(2) + 1;
_root.potion += attack2;
mess3 = 'Item: ' + attack2 + ' potions!!';
break;
case 12:
attack2 = random(2) + 1;
_root.ether += attack2;
mess3 = 'Item: ' + attack2 + ' ethers!!';
break;
case 14:
attack2 = random(2) + 1;
_root.antidote += attack2;
mess3 = 'Item: ' + attack2 + ' antidotes!!';
break;
case 15:
attack2 = random(2) + 1;
_root.revive += attack2;
mess3 = 'Item: ' + attack2 + ' revives!!';
break;
default:
mess3 = 'Enemy dropped nothing.';
}
attack = random(14) + 1;
switch (attack) {
case 1:
mess4 = 'Enemy dropped a weapon!';
weaponDrop = 1;
break;
case 2:
mess4 = 'Enemy dropped armor!';
armorDrop = 1;
break;
case 3:
mess4 = 'Enemy dropped sunglasses!';
glassesDrop = 1;
break;
case 4:
mess4 = 'Enemy dropped a belt!';
beltDrop = 1;
break;
default:
mess4 = 'Enemy dropped no equipment.';
}
if (weaponDrop == 1) {
weaponDrop = 0;
if (_root.armor5 != 1 && _root.weapon5 != 1 && _root.belt5 != 1 && _root.glasses5 != 1) {
_root.weapon5 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.weaponName5 = 'Superman';
break;
case 2:
_root.weaponName5 = 'the Wolf';
break;
case 3:
_root.weaponName5 = 'the Mouse';
break;
case 4:
_root.weaponName5 = 'the Lion';
break;
case 5:
_root.weaponName5 = 'the Hulk';
break;
case 6:
_root.weaponName5 = 'the moon';
break;
case 7:
_root.weaponName5 = 'Tyson';
break;
case 8:
_root.weaponName5 = 'the Jackel';
break;
case 9:
_root.weaponName5 = 'the Strongman';
break;
case 10:
_root.weaponName5 = 'the Fly';
break;
case 11:
_root.weaponName5 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.weaponSkill13 = 'OK damage';
break;
case 2:
_root.weaponSkill13 = 'Speed Plus';
break;
case 3:
_root.weaponSkill13 = 'Defense Plus';
break;
case 4:
_root.weaponSkill13 = 'HP Plus';
break;
case 5:
_root.weaponSkill13 = 'Skills Plus';
break;
case 6:
_root.weaponSkill13 = 'Speedy';
break;
case 7:
_root.weaponSkill13 = 'Skilled';
}
attack = random(12) + 1;
switch (attack) {
case 1:
_root.weaponSkill14 = 'Double Strength';
break;
case 2:
_root.weaponSkill14 = 'More HP';
break;
case 3:
_root.weaponSkill14 = 'Super MP';
break;
case 4:
_root.weaponSkill14 = 'Strong';
break;
case 5:
_root.weaponSkill14 = 'Money Maker';
break;
case 6:
_root.weaponSkill14 = 'More Skills';
break;
case 7:
_root.weaponSkill14 = 'More MP';
break;
case 8:
_root.weaponSkill14 = 'Life Leech';
break;
case 9:
_root.weaponSkill14 = 'Mana Leech';
break;
default:
_root.weaponSkill14 = '';
}
if (_root.weaponSkill14 != '') {
attack = random(17) + 1;
switch (attack) {
case 1:
_root.weaponSkill15 = 'Super HP';
break;
case 2:
_root.weaponSkill15 = 'Super Speed';
break;
case 3:
_root.weaponSkill15 = 'EXP More';
break;
case 4:
_root.weaponSkill15 = 'Super Strength';
break;
case 5:
_root.weaponSkill15 = 'Super Skills';
break;
case 6:
_root.weaponSkill15 = 'Super Defense';
break;
case 7:
_root.weaponSkill15 = 'Invincible';
break;
case 8:
_root.weaponSkill15 = 'Immortal';
break;
case 9:
_root.weaponSkill15 = 'God';
break;
case 10:
_root.weaponSkill15 = 'Super Life Leech';
break;
case 11:
_root.weaponSkill15 = 'Super Mana Leech';
break;
default:
_root.weaponSkill15 = '';
}
}
} else {
if (_root.armor6 != 1 && _root.weapon6 != 1 && _root.belt6 != 1 && _root.glasses6 != 1) {
_root.weapon6 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.weaponName6 = 'Superman';
break;
case 2:
_root.weaponName6 = 'the Wolf';
break;
case 3:
_root.weaponName6 = 'the Mouse';
break;
case 4:
_root.weaponName6 = 'the Lion';
break;
case 5:
_root.weaponName6 = 'the Hulk';
break;
case 6:
_root.weaponName6 = 'the moon';
break;
case 7:
_root.weaponName6 = 'Tyson';
break;
case 8:
_root.weaponName6 = 'the Jackel';
break;
case 9:
_root.weaponName6 = 'the Strongman';
break;
case 10:
_root.weaponName6 = 'the Fly';
break;
case 11:
_root.weaponName6 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.weaponSkill16 = 'OK damage';
break;
case 2:
_root.weaponSkill16 = 'Speed Plus';
break;
case 3:
_root.weaponSkill16 = 'Defense Plus';
break;
case 4:
_root.weaponSkill16 = 'HP Plus';
break;
case 5:
_root.weaponSkill16 = 'Skills Plus';
break;
case 6:
_root.weaponSkill16 = 'Speedy';
break;
case 7:
_root.weaponSkill16 = 'Skilled';
}
attack = random(12) + 1;
switch (attack) {
case 1:
_root.weaponSkill17 = 'Double Strength';
break;
case 2:
_root.weaponSkill17 = 'More HP';
break;
case 3:
_root.weaponSkill17 = 'Super MP';
break;
case 4:
_root.weaponSkill17 = 'Strong';
break;
case 5:
_root.weaponSkill17 = 'Money Maker';
break;
case 6:
_root.weaponSkill17 = 'More Skills';
break;
case 7:
_root.weaponSkill17 = 'More MP';
break;
case 8:
_root.weaponSkill17 = 'Life Leech';
break;
case 9:
_root.weaponSkill17 = 'Mana Leech';
break;
default:
_root.weaponSkill17 = '';
}
if (_root.weaponSkill17 != '') {
attack = random(17) + 1;
switch (attack) {
case 1:
_root.weaponSkill18 = 'Super HP';
break;
case 2:
_root.weaponSkill18 = 'Super Speed';
break;
case 3:
_root.weaponSkill18 = 'EXP More';
break;
case 4:
_root.weaponSkill18 = 'Super Strength';
break;
case 5:
_root.weaponSkill18 = 'Super Skills';
break;
case 6:
_root.weaponSkill18 = 'Super Defense';
break;
case 7:
_root.weaponSkill18 = 'Invincible';
break;
case 8:
_root.weaponSkill18 = 'Immortal';
break;
case 9:
_root.weaponSkill18 = 'God';
break;
case 10:
_root.weaponSkill18 = 'Super Life Leech';
break;
case 11:
_root.weaponSkill18 = 'Super Mana Leech';
break;
default:
_root.weaponSkill18 = '';
}
}
} else {
if (_root.armor7 != 1 && _root.weapon7 != 1 && _root.belt7 != 1 && _root.glasses7 != 1) {
_root.weapon7 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.weaponName7 = 'Superman';
break;
case 2:
_root.weaponName7 = 'the Wolf';
break;
case 3:
_root.weaponName7 = 'the Mouse';
break;
case 4:
_root.weaponName7 = 'the Lion';
break;
case 5:
_root.weaponName7 = 'the Hulk';
break;
case 6:
_root.weaponName7 = 'the moon';
break;
case 7:
_root.weaponName7 = 'Tyson';
break;
case 8:
_root.weaponName7 = 'the Jackel';
break;
case 9:
_root.weaponName7 = 'the Strongman';
break;
case 10:
_root.weaponName7 = 'the Fly';
break;
case 11:
_root.weaponName7 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.weaponSkill19 = 'OK damage';
break;
case 2:
_root.weaponSkill19 = 'Speed Plus';
break;
case 3:
_root.weaponSkill19 = 'Defense Plus';
break;
case 4:
_root.weaponSkill19 = 'HP Plus';
break;
case 5:
_root.weaponSkill19 = 'Skills Plus';
break;
case 6:
_root.weaponSkill19 = 'Speedy';
break;
case 7:
_root.weaponSkill19 = 'Skilled';
}
attack = random(12) + 1;
switch (attack) {
case 1:
_root.weaponSkill20 = 'Double Strength';
break;
case 2:
_root.weaponSkill20 = 'More HP';
break;
case 3:
_root.weaponSkill20 = 'Super MP';
break;
case 4:
_root.weaponSkill20 = 'Strong';
break;
case 5:
_root.weaponSkill20 = 'Money Maker';
break;
case 6:
_root.weaponSkill20 = 'More Skills';
break;
case 7:
_root.weaponSkill20 = 'More MP';
break;
case 8:
_root.weaponSkill20 = 'Life Leech';
break;
case 9:
_root.weaponSkill20 = 'Mana Leech';
break;
default:
_root.weaponSkill20 = '';
}
if (_root.weaponSkill20 != '') {
attack = random(17) + 1;
switch (attack) {
case 1:
_root.weaponSkill21 = 'Super HP';
break;
case 2:
_root.weaponSkill21 = 'Super Speed';
break;
case 3:
_root.weaponSkill21 = 'EXP More';
break;
case 4:
_root.weaponSkill21 = 'Super Strength';
break;
case 5:
_root.weaponSkill21 = 'Super Skills';
break;
case 6:
_root.weaponSkill21 = 'Super Defense';
break;
case 7:
_root.weaponSkill21 = 'Invincible';
break;
case 8:
_root.weaponSkill21 = 'Immortal';
break;
case 9:
_root.weaponSkill21 = 'God';
break;
case 10:
_root.weaponSkill21 = 'Super Life Leech';
break;
case 11:
_root.weaponSkill21 = 'Super Mana Leech';
break;
default:
_root.weaponSkill21 = '';
}
}
} else {
if (_root.armor8 != 1 && _root.weapon8 != 1 && _root.belt8 != 1 && _root.glasses8 != 1) {
_root.weapon8 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.weaponName8 = 'Superman';
break;
case 2:
_root.weaponName8 = 'the Wolf';
break;
case 3:
_root.weaponName8 = 'the Mouse';
break;
case 4:
_root.weaponName8 = 'the Lion';
break;
case 5:
_root.weaponName8 = 'the Hulk';
break;
case 6:
_root.weaponName8 = 'the moon';
break;
case 7:
_root.weaponName8 = 'Tyson';
break;
case 8:
_root.weaponName8 = 'the Jackel';
break;
case 9:
_root.weaponName8 = 'the Strongman';
break;
case 10:
_root.weaponName8 = 'the Fly';
break;
case 11:
_root.weaponName8 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.weaponSkill22 = 'OK damage';
break;
case 2:
_root.weaponSkill22 = 'Speed Plus';
break;
case 3:
_root.weaponSkill22 = 'Defense Plus';
break;
case 4:
_root.weaponSkill22 = 'HP Plus';
break;
case 5:
_root.weaponSkill22 = 'Skills Plus';
break;
case 6:
_root.weaponSkill22 = 'Speedy';
break;
case 7:
_root.weaponSkill22 = 'Skilled';
}
attack = random(12) + 1;
switch (attack) {
case 1:
_root.weaponSkill23 = 'Double Strength';
break;
case 2:
_root.weaponSkill23 = 'More HP';
break;
case 3:
_root.weaponSkill23 = 'Super MP';
break;
case 4:
_root.weaponSkill23 = 'Strong';
break;
case 5:
_root.weaponSkill23 = 'Money Maker';
break;
case 6:
_root.weaponSkill23 = 'More Skills';
break;
case 7:
_root.weaponSkill23 = 'More MP';
break;
case 8:
_root.weaponSkill23 = 'Life Leech';
break;
case 9:
_root.weaponSkill23 = 'Mana Leech';
break;
default:
_root.weaponSkill23 = '';
}
if (_root.weaponSkill23 != '') {
attack = random(17) + 1;
switch (attack) {
case 1:
_root.weaponSkill24 = 'Super HP';
break;
case 2:
_root.weaponSkill24 = 'Super Speed';
break;
case 3:
_root.weaponSkill24 = 'EXP More';
break;
case 4:
_root.weaponSkill24 = 'Super Strength';
break;
case 5:
_root.weaponSkill24 = 'Super Skills';
break;
case 6:
_root.weaponSkill24 = 'Super Defense';
break;
case 7:
_root.weaponSkill24 = 'Invincible';
break;
case 8:
_root.weaponSkill24 = 'Immortal';
break;
case 9:
_root.weaponSkill24 = 'God';
break;
case 10:
_root.weaponSkill24 = 'Super Life Leech';
break;
case 11:
_root.weaponSkill24 = 'Super Mana Leech';
break;
default:
_root.weaponSkill24 = '';
}
}
}
}
}
}
} else {
if (armorDrop == 1) {
armorDrop = 0;
if (_root.armor5 != 1 && _root.weapon5 != 1 && _root.belt5 != 1 && _root.glasses5 != 1) {
_root.armor5 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.armorName5 = 'Superman';
break;
case 2:
_root.armorName5 = 'the Wolf';
break;
case 3:
_root.armorName5 = 'the Mouse';
break;
case 4:
_root.armorName5 = 'the Lion';
break;
case 5:
_root.armorName5 = 'the Hulk';
break;
case 6:
_root.armorName5 = 'the moon';
break;
case 7:
_root.armorName5 = 'Tyson';
break;
case 8:
_root.armorName5 = 'the Jackel';
break;
case 9:
_root.armorName5 = 'the Strongman';
break;
case 10:
_root.armorName5 = 'the Fly';
break;
case 11:
_root.armorName5 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.armorSkill13 = 'OK defense';
break;
case 2:
_root.armorSkill13 = 'Extra Fast';
break;
case 3:
_root.armorSkill13 = 'More MP';
break;
case 4:
_root.armorSkill13 = 'Skills Plus';
break;
case 5:
_root.armorSkill13 = 'Speed Plus';
break;
case 6:
_root.armorSkill13 = 'HP Plus';
break;
case 7:
_root.armorSkill13 = 'Defense Plus';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.armorSkill14 = 'Double Defense';
break;
case 2:
_root.armorSkill14 = 'Extra Strength';
break;
case 3:
_root.armorSkill14 = 'More Defense';
break;
case 4:
_root.armorSkill14 = 'More Strength';
break;
case 5:
_root.armorSkill14 = 'More HP';
break;
case 6:
_root.armorSkill14 = 'MP Plus';
break;
case 7:
_root.armorSkill14 = 'More HP Plus';
break;
case 8:
_root.armorSkill14 = 'Giant Strength';
break;
case 9:
_root.armorSkill14 = 'Invulnerable';
break;
default:
_root.armorSkill14 = '';
}
if (_root.armorSkill14 != '') {
attack = random(18) + 1;
switch (attack) {
case 1:
_root.armorSkill15 = 'Ultra HP';
break;
case 2:
_root.armorSkill15 = 'Ultra MP';
break;
case 3:
_root.armorSkill15 = 'Super Speed';
break;
case 4:
_root.armorSkill15 = 'Ultra Defense';
break;
case 5:
_root.armorSkill15 = 'Ultra Strength';
break;
case 6:
_root.armorSkill15 = 'Speed of light';
break;
case 7:
_root.armorSkill15 = 'Ultra Skills';
break;
case 8:
_root.armorSkill15 = 'MP times two';
break;
case 9:
_root.armorSkill15 = 'HP times two';
break;
case 10:
_root.armorSkill15 = 'Super Skilled';
break;
case 11:
_root.armorSkill15 = 'Superman Speed';
break;
case 12:
_root.armorSkill15 = 'SuperMan';
break;
default:
_root.armorSkill15 = '';
}
}
} else {
if (_root.armor6 != 1 && _root.weapon6 != 1 && _root.belt6 != 1 && _root.glasses6 != 1) {
_root.armor6 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.armorName6 = 'Superman';
break;
case 2:
_root.armorName6 = 'the Wolf';
break;
case 3:
_root.armorName6 = 'the Mouse';
break;
case 4:
_root.armorName6 = 'the Lion';
break;
case 5:
_root.armorName6 = 'the Hulk';
break;
case 6:
_root.armorName6 = 'the moon';
break;
case 7:
_root.armorName6 = 'Tyson';
break;
case 8:
_root.armorName6 = 'the Jackel';
break;
case 9:
_root.armorName6 = 'the Strongman';
break;
case 10:
_root.armorName6 = 'the Fly';
break;
case 11:
_root.armorName6 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.armorSkill16 = 'OK defense';
break;
case 2:
_root.armorSkill16 = 'Extra Fast';
break;
case 3:
_root.armorSkill16 = 'More MP';
break;
case 4:
_root.armorSkill16 = 'Skills Plus';
break;
case 5:
_root.armorSkill16 = 'Speed Plus';
break;
case 6:
_root.armorSkill16 = 'HP Plus';
break;
case 7:
_root.armorSkill16 = 'Defense Plus';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.armorSkill17 = 'Double Defense';
break;
case 2:
_root.armorSkill17 = 'Extra Strength';
break;
case 3:
_root.armorSkill17 = 'More Defense';
break;
case 4:
_root.armorSkill17 = 'More Strength';
break;
case 5:
_root.armorSkill17 = 'More HP';
break;
case 6:
_root.armorSkill17 = 'MP Plus';
break;
case 7:
_root.armorSkill17 = 'More HP Plus';
break;
case 8:
_root.armorSkill17 = 'Giant Strength';
break;
case 9:
_root.armorSkill17 = 'Invulnerable';
break;
default:
_root.armorSkill17 = '';
}
if (_root.armorSkill17 != '') {
attack = random(18) + 1;
switch (attack) {
case 1:
_root.armorSkill18 = 'Ultra HP';
break;
case 2:
_root.armorSkill18 = 'Ultra MP';
break;
case 3:
_root.armorSkill18 = 'Super Speed';
break;
case 4:
_root.armorSkill18 = 'Ultra Defense';
break;
case 5:
_root.armorSkill18 = 'Ultra Strength';
break;
case 6:
_root.armorSkill18 = 'Speed of light';
break;
case 7:
_root.armorSkill18 = 'Ultra Skills';
break;
case 8:
_root.armorSkill18 = 'MP times two';
break;
case 9:
_root.armorSkill18 = 'HP times two';
break;
case 10:
_root.armorSkill18 = 'Super Skilled';
break;
case 11:
_root.armorSkill18 = 'Superman Speed';
break;
case 12:
_root.armorSkill18 = 'SuperMan';
break;
default:
_root.armorSkill18 = '';
}
}
} else {
if (_root.armor7 != 1 && _root.weapon7 != 1 && _root.belt7 != 1 && _root.glasses7 != 1) {
_root.armor7 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.armorName7 = 'Superman';
break;
case 2:
_root.armorName7 = 'the Wolf';
break;
case 3:
_root.armorName7 = 'the Mouse';
break;
case 4:
_root.armorName7 = 'the Lion';
break;
case 5:
_root.armorName7 = 'the Hulk';
break;
case 6:
_root.armorName7 = 'the moon';
break;
case 7:
_root.armorName7 = 'Tyson';
break;
case 8:
_root.armorName7 = 'the Jackel';
break;
case 9:
_root.armorName7 = 'the Strongman';
break;
case 10:
_root.armorName7 = 'the Fly';
break;
case 11:
_root.armorName7 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.armorSkill19 = 'OK defense';
break;
case 2:
_root.armorSkill19 = 'Extra Fast';
break;
case 3:
_root.armorSkill19 = 'More MP';
break;
case 4:
_root.armorSkill19 = 'Skills Plus';
break;
case 5:
_root.armorSkill19 = 'Speed Plus';
break;
case 6:
_root.armorSkill19 = 'HP Plus';
break;
case 7:
_root.armorSkill19 = 'Defense Plus';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.armorSkill20 = 'Double Defense';
break;
case 2:
_root.armorSkill20 = 'Extra Strength';
break;
case 3:
_root.armorSkill20 = 'More Defense';
break;
case 4:
_root.armorSkill20 = 'More Strength';
break;
case 5:
_root.armorSkill20 = 'More HP';
break;
case 6:
_root.armorSkill20 = 'MP Plus';
break;
case 7:
_root.armorSkill20 = 'More HP Plus';
break;
case 8:
_root.armorSkill20 = 'Giant Strength';
break;
case 9:
_root.armorSkill20 = 'Invulnerable';
break;
default:
_root.armorSkill20 = '';
}
if (_root.armorSkill20 != '') {
attack = random(18) + 1;
switch (attack) {
case 1:
_root.armorSkill21 = 'Ultra HP';
break;
case 2:
_root.armorSkill21 = 'Ultra MP';
break;
case 3:
_root.armorSkill21 = 'Super Speed';
break;
case 4:
_root.armorSkill21 = 'Ultra Defense';
break;
case 5:
_root.armorSkill21 = 'Ultra Strength';
break;
case 6:
_root.armorSkill21 = 'Speed of light';
break;
case 7:
_root.armorSkill21 = 'Ultra Skills';
break;
case 8:
_root.armorSkill21 = 'MP times two';
break;
case 9:
_root.armorSkill21 = 'HP times two';
break;
case 10:
_root.armorSkill21 = 'Super Skilled';
break;
case 11:
_root.armorSkill21 = 'Superman Speed';
break;
case 12:
_root.armorSkill21 = 'SuperMan';
break;
default:
_root.armorSkill21 = '';
}
}
} else {
if (_root.armor8 != 1 && _root.weapon8 != 1 && _root.belt8 != 1 && _root.glasses8 != 1) {
_root.armor8 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.armorName8 = 'Superman';
break;
case 2:
_root.armorName8 = 'the Wolf';
break;
case 3:
_root.armorName8 = 'the Mouse';
break;
case 4:
_root.armorName8 = 'the Lion';
break;
case 5:
_root.armorName8 = 'the Hulk';
break;
case 6:
_root.armorName8 = 'the moon';
break;
case 7:
_root.armorName8 = 'Tyson';
break;
case 8:
_root.armorName8 = 'the Jackel';
break;
case 9:
_root.armorName8 = 'the Strongman';
break;
case 10:
_root.armorName8 = 'the Fly';
break;
case 11:
_root.armorName8 = 'the Tiger';
}
attack = random(7) + 1;
switch (attack) {
case 1:
_root.armorSkill22 = 'OK defense';
break;
case 2:
_root.armorSkill22 = 'Extra Fast';
break;
case 3:
_root.armorSkill22 = 'More MP';
break;
case 4:
_root.armorSkill22 = 'Skills Plus';
break;
case 5:
_root.armorSkill22 = 'Speed Plus';
break;
case 6:
_root.armorSkill22 = 'HP Plus';
break;
case 7:
_root.armorSkill22 = 'Defense Plus';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.armorSkill23 = 'Double Defense';
break;
case 2:
_root.armorSkill23 = 'Extra Strength';
break;
case 3:
_root.armorSkill23 = 'More Defense';
break;
case 4:
_root.armorSkill23 = 'More Strength';
break;
case 5:
_root.armorSkill23 = 'More HP';
break;
case 6:
_root.armorSkill23 = 'MP Plus';
break;
case 7:
_root.armorSkill23 = 'More HP Plus';
break;
case 8:
_root.armorSkill23 = 'Giant Strength';
break;
case 9:
_root.armorSkill23 = 'Invulnerable';
break;
default:
_root.armorSkill23 = '';
}
if (_root.armorSkill23 != '') {
attack = random(18) + 1;
switch (attack) {
case 1:
_root.armorSkill24 = 'Ultra HP';
break;
case 2:
_root.armorSkill24 = 'Ultra MP';
break;
case 3:
_root.armorSkill24 = 'Super Speed';
break;
case 4:
_root.armorSkill24 = 'Ultra Defense';
break;
case 5:
_root.armorSkill24 = 'Ultra Strength';
break;
case 6:
_root.armorSkill24 = 'Speed of light';
break;
case 7:
_root.armorSkill24 = 'Ultra Skills';
break;
case 8:
_root.armorSkill24 = 'MP times two';
break;
case 9:
_root.armorSkill24 = 'HP times two';
break;
case 10:
_root.armorSkill24 = 'Super Skilled';
break;
case 11:
_root.armorSkill24 = 'Superman Speed';
break;
case 12:
_root.armorSkill24 = 'SuperMan';
break;
default:
_root.armorSkill24 = '';
}
}
}
}
}
}
} else {
if (glassesDrop == 1) {
glassesDrop = 0;
if (_root.armor5 != 1 && _root.weapon5 != 1 && _root.belt5 != 1 && _root.glasses5 != 1) {
_root.glasses5 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.glassesName5 = 'Superman';
break;
case 2:
_root.glassesName5 = 'the Wolf';
break;
case 3:
_root.glassesName5 = 'the Mouse';
break;
case 4:
_root.glassesName5 = 'the Lion';
break;
case 5:
_root.glassesName5 = 'the Hulk';
break;
case 6:
_root.glassesName5 = 'the moon';
break;
case 7:
_root.glassesName5 = 'Tyson';
break;
case 8:
_root.glassesName5 = 'the Jackel';
break;
case 9:
_root.glassesName5 = 'the Strongman';
break;
case 10:
_root.glassesName5 = 'the Fly';
break;
case 11:
_root.glassesName5 = 'the Tiger';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.glassesSkill5 = 'More MP';
break;
case 2:
_root.glassesSkill5 = 'Defense';
break;
case 3:
_root.glassesSkill5 = 'Speedy';
break;
case 4:
_root.glassesSkill5 = 'Stronger';
break;
case 5:
_root.glassesSkill5 = 'Master';
break;
case 6:
_root.glassesSkill5 = 'Skillful';
break;
case 7:
_root.glassesSkill5 = 'Invincible';
break;
case 8:
_root.glassesSkill5 = 'More HP';
break;
case 9:
_root.glassesSkill5 = 'HP Plus';
break;
case 10:
_root.glassesSkill5 = 'Speedy Plus';
break;
case 11:
_root.glassesSkill5 = 'Double Strong';
break;
case 12:
_root.glassesSkill5 = 'MP Plus';
break;
case 13:
_root.glassesSkill5 = 'More Defense';
}
} else {
if (_root.armor6 != 1 && _root.weapon6 != 1 && _root.belt6 != 1 && _root.glasses6 != 1) {
_root.glasses6 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.glassesName6 = 'Superman';
break;
case 2:
_root.glassesName6 = 'the Wolf';
break;
case 3:
_root.glassesName6 = 'the Mouse';
break;
case 4:
_root.glassesName6 = 'the Lion';
break;
case 5:
_root.glassesName6 = 'the Hulk';
break;
case 6:
_root.glassesName6 = 'the moon';
break;
case 7:
_root.glassesName6 = 'Tyson';
break;
case 8:
_root.glassesName6 = 'the Jackel';
break;
case 9:
_root.glassesName6 = 'the Strongman';
break;
case 10:
_root.glassesName6 = 'the Fly';
break;
case 11:
_root.glassesName6 = 'the Tiger';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.glassesSkill6 = 'More MP';
break;
case 2:
_root.glassesSkill6 = 'Defense';
break;
case 3:
_root.glassesSkill6 = 'Speedy';
break;
case 4:
_root.glassesSkill6 = 'Stronger';
break;
case 5:
_root.glassesSkill6 = 'Master';
break;
case 6:
_root.glassesSkill6 = 'Skillful';
break;
case 7:
_root.glassesSkill6 = 'Invincible';
break;
case 8:
_root.glassesSkill6 = 'More HP';
break;
case 9:
_root.glassesSkill6 = 'HP Plus';
break;
case 10:
_root.glassesSkill6 = 'Speedy Plus';
break;
case 11:
_root.glassesSkill6 = 'Double Strong';
break;
case 12:
_root.glassesSkill6 = 'MP Plus';
break;
case 13:
_root.glassesSkill6 = 'More Defense';
}
} else {
if (_root.armor7 != 1 && _root.weapon7 != 1 && _root.belt7 != 1 && _root.glasses7 != 1) {
_root.glasses7 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.glassesName7 = 'Superman';
break;
case 2:
_root.glassesName7 = 'the Wolf';
break;
case 3:
_root.glassesName7 = 'the Mouse';
break;
case 4:
_root.glassesName7 = 'the Lion';
break;
case 5:
_root.glassesName7 = 'the Hulk';
break;
case 6:
_root.glassesName7 = 'the moon';
break;
case 7:
_root.glassesName7 = 'Tyson';
break;
case 8:
_root.glassesName7 = 'the Jackel';
break;
case 9:
_root.glassesName7 = 'the Strongman';
break;
case 10:
_root.glassesName7 = 'the Fly';
break;
case 11:
_root.glassesName7 = 'the Tiger';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.glassesSkill7 = 'More MP';
break;
case 2:
_root.glassesSkill7 = 'Defense';
break;
case 3:
_root.glassesSkill7 = 'Speedy';
break;
case 4:
_root.glassesSkill7 = 'Stronger';
break;
case 5:
_root.glassesSkill7 = 'Master';
break;
case 6:
_root.glassesSkill7 = 'Skillful';
break;
case 7:
_root.glassesSkill7 = 'Invincible';
break;
case 8:
_root.glassesSkill7 = 'More HP';
break;
case 9:
_root.glassesSkill7 = 'HP Plus';
break;
case 10:
_root.glassesSkill7 = 'Speedy Plus';
break;
case 11:
_root.glassesSkill7 = 'Double Strong';
break;
case 12:
_root.glassesSkill7 = 'MP Plus';
break;
case 13:
_root.glassesSkill7 = 'More Defense';
}
} else {
if (_root.armor8 != 1 && _root.weapon8 != 1 && _root.belt8 != 1 && _root.glasses8 != 1) {
_root.glasses8 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.glassesName8 = 'Superman';
break;
case 2:
_root.glassesName8 = 'the Wolf';
break;
case 3:
_root.glassesName8 = 'the Mouse';
break;
case 4:
_root.glassesName8 = 'the Lion';
break;
case 5:
_root.glassesName8 = 'the Hulk';
break;
case 6:
_root.glassesName8 = 'the moon';
break;
case 7:
_root.glassesName8 = 'Tyson';
break;
case 8:
_root.glassesName8 = 'the Jackel';
break;
case 9:
_root.glassesName8 = 'the Strongman';
break;
case 10:
_root.glassesName8 = 'the Fly';
break;
case 11:
_root.glassesName8 = 'the Tiger';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.glassesSkill8 = 'More MP';
break;
case 2:
_root.glassesSkill8 = 'Defense';
break;
case 3:
_root.glassesSkill8 = 'Speedy';
break;
case 4:
_root.glassesSkill8 = 'Stronger';
break;
case 5:
_root.glassesSkill8 = 'Master';
break;
case 6:
_root.glassesSkill8 = 'Skillful';
break;
case 7:
_root.glassesSkill8 = 'Invincible';
break;
case 8:
_root.glassesSkill8 = 'More HP';
break;
case 9:
_root.glassesSkill8 = 'HP Plus';
break;
case 10:
_root.glassesSkill8 = 'Speedy Plus';
break;
case 11:
_root.glassesSkill8 = 'Double Strong';
break;
case 12:
_root.glassesSkill8 = 'MP Plus';
break;
case 13:
_root.glassesSkill8 = 'More Defense';
}
}
}
}
}
} else {
if (beltDrop == 1) {
beltDrop = 0;
if (_root.armor5 != 1 && _root.weapon5 != 1 && _root.belt5 != 1 && _root.glasses5 != 1) {
_root.belt5 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.beltName5 = 'Superman';
break;
case 2:
_root.beltName5 = 'the Wolf';
break;
case 3:
_root.beltName5 = 'the Mouse';
break;
case 4:
_root.beltName5 = 'the Lion';
break;
case 5:
_root.beltName5 = 'the Hulk';
break;
case 6:
_root.beltName5 = 'the moon';
break;
case 7:
_root.beltName5 = 'Tyson';
break;
case 8:
_root.beltName5 = 'the Jackel';
break;
case 9:
_root.beltName5 = 'the Strongman';
break;
case 10:
_root.beltName5 = 'the Fly';
break;
case 11:
_root.beltName5 = 'the Tiger';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.beltSkill5 = 'More MP';
break;
case 2:
_root.beltSkill5 = 'Defense';
break;
case 3:
_root.beltSkill5 = 'Speedy';
break;
case 4:
_root.beltSkill5 = 'Stronger';
break;
case 5:
_root.beltSkill5 = 'Master';
break;
case 6:
_root.beltSkill5 = 'Skillful';
break;
case 7:
_root.beltSkill5 = 'Invincible';
break;
case 8:
_root.beltSkill5 = 'More HP';
break;
case 9:
_root.beltSkill5 = 'HP Plus';
break;
case 10:
_root.beltSkill5 = 'Speedy Plus';
break;
case 11:
_root.beltSkill5 = 'Double Strong';
break;
case 12:
_root.beltSkill5 = 'MP Plus';
break;
case 13:
_root.beltSkill5 = 'More Defense';
}
} else {
if (_root.armor6 != 1 && _root.weapon6 != 1 && _root.belt6 != 1 && _root.glasses6 != 1) {
_root.belt6 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.beltName6 = 'Superman';
break;
case 2:
_root.beltName6 = 'the Wolf';
break;
case 3:
_root.beltName6 = 'the Mouse';
break;
case 4:
_root.beltName6 = 'the Lion';
break;
case 5:
_root.beltName6 = 'the Hulk';
break;
case 6:
_root.beltName6 = 'the moon';
break;
case 7:
_root.beltName6 = 'Tyson';
break;
case 8:
_root.beltName6 = 'the Jackel';
break;
case 9:
_root.beltName6 = 'the Strongman';
break;
case 10:
_root.beltName6 = 'the Fly';
break;
case 11:
_root.beltName6 = 'the Tiger';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.beltSkill6 = 'More MP';
break;
case 2:
_root.beltSkill6 = 'Defense';
break;
case 3:
_root.beltSkill6 = 'Speedy';
break;
case 4:
_root.beltSkill6 = 'Stronger';
break;
case 5:
_root.beltSkill6 = 'Master';
break;
case 6:
_root.beltSkill6 = 'Skillful';
break;
case 7:
_root.beltSkill6 = 'Invincible';
break;
case 8:
_root.beltSkill6 = 'More HP';
break;
case 9:
_root.beltSkill6 = 'HP Plus';
break;
case 10:
_root.beltSkill6 = 'Speedy Plus';
break;
case 11:
_root.beltSkill6 = 'Double Strong';
break;
case 12:
_root.beltSkill6 = 'MP Plus';
break;
case 13:
_root.beltSkill6 = 'More Defense';
}
} else {
if (_root.armor7 != 1 && _root.weapon7 != 1 && _root.belt7 != 1 && _root.glasses7 != 1) {
_root.belt7 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.beltName7 = 'Superman';
break;
case 2:
_root.beltName7 = 'the Wolf';
break;
case 3:
_root.beltName7 = 'the Mouse';
break;
case 4:
_root.beltName7 = 'the Lion';
break;
case 5:
_root.beltName7 = 'the Hulk';
break;
case 6:
_root.beltName7 = 'the moon';
break;
case 7:
_root.beltName7 = 'Tyson';
break;
case 8:
_root.beltName7 = 'the Jackel';
break;
case 9:
_root.beltName7 = 'the Strongman';
break;
case 10:
_root.beltName7 = 'the Fly';
break;
case 11:
_root.beltName7 = 'the Tiger';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.beltSkill7 = 'More MP';
break;
case 2:
_root.beltSkill7 = 'Defense';
break;
case 3:
_root.beltSkill7 = 'Speedy';
break;
case 4:
_root.beltSkill7 = 'Stronger';
break;
case 5:
_root.beltSkill7 = 'Master';
break;
case 6:
_root.beltSkill7 = 'Skillful';
break;
case 7:
_root.beltSkill7 = 'Invincible';
break;
case 8:
_root.beltSkill7 = 'More HP';
break;
case 9:
_root.beltSkill7 = 'HP Plus';
break;
case 10:
_root.beltSkill7 = 'Speedy Plus';
break;
case 11:
_root.beltSkill7 = 'Double Strong';
break;
case 12:
_root.beltSkill7 = 'MP Plus';
break;
case 13:
_root.beltSkill7 = 'More Defense';
}
} else {
if (_root.armor8 != 1 && _root.weapon8 != 1 && _root.belt8 != 1 && _root.glasses8 != 1) {
_root.belt8 = 1;
attack = random(11) + 1;
switch (attack) {
case 1:
_root.beltName8 = 'Superman';
break;
case 2:
_root.beltName8 = 'the Wolf';
break;
case 3:
_root.beltName8 = 'the Mouse';
break;
case 4:
_root.beltName8 = 'the Lion';
break;
case 5:
_root.beltName8 = 'the Hulk';
break;
case 6:
_root.beltName8 = 'the moon';
break;
case 7:
_root.beltName8 = 'Tyson';
break;
case 8:
_root.beltName8 = 'the Jackel';
break;
case 9:
_root.beltName8 = 'the Strongman';
break;
case 10:
_root.beltName8 = 'the Fly';
break;
case 11:
_root.beltName8 = 'the Tiger';
}
attack = random(13) + 1;
switch (attack) {
case 1:
_root.beltSkill8 = 'More MP';
break;
case 2:
_root.beltSkill8 = 'Defense';
break;
case 3:
_root.beltSkill8 = 'Speedy';
break;
case 4:
_root.beltSkill8 = 'Stronger';
break;
case 5:
_root.beltSkill8 = 'Master';
break;
case 6:
_root.beltSkill8 = 'Skillful';
break;
case 7:
_root.beltSkill8 = 'Invincible';
break;
case 8:
_root.beltSkill8 = 'More HP';
break;
case 9:
_root.beltSkill8 = 'HP Plus';
break;
case 10:
_root.beltSkill8 = 'Speedy Plus';
break;
case 11:
_root.beltSkill8 = 'Double Strong';
break;
case 12:
_root.beltSkill8 = 'MP Plus';
break;
case 13:
_root.beltSkill8 = 'More Defense';
}
}
}
}
}
}
}
}
}
if (_root.exp2 >= _root.EXPNeeded2) {
if (_root.level2 >= 35) {
_root.EXPNeeded2 += 36 + random(6);
} else {
if (_root.level2 >= 20 && _root.level2 < 35) {
_root.EXPNeeded2 += 20 + random(6);
} else {
if (_root.level2 >= 10 && _root.level2 < 20) {
_root.EXPNeeded2 += 10 + random(6) + 1;
}
}
}
_root.EXPNeeded2 += random(6) + 5;
_root.exp2 = 0;
gotoAndPlay(2);
}
}
stop();
}
frame 2 {
_root.level2 += 1;
_root.strength2 += 1;
_root.skills2 += 1;
_root.defense2 += 1;
_root.maxhp2 += 7;
_root.maxmp2 += random(4) + 2;
lev = 'You went up to level ' + _root.level2 + '!!';
if (_root.heroRing != 2) {
_root.skillpoint3 = _root.skillpoint3 + 2 + _root.skillpointsskilled;
skillpoint = 8 + _root.skillpointsskilled;
} else {
_root.skillpoint3 = _root.skillpoint3 + 2 + _root.skillpointsskilled + 3;
skillpoint = 8 + _root.skillpointsskilled + 3;
}
stop();
}
}
button 6957 {
on (release) {
if (_root.moofer.skillpoint == 0 && _root.levy.skillpoint == 0) {
if (_level0.useHaste == 1) {
_root.speed -= 3;
}
_level0.useHaste = 0;
_root.hands = true;
_root.stopMove22 = 1;
_root.townMusOn = 0;
_level0.useSlow = 0;
_root.townMusOn2 = 0;
_root.openIt = 0;
_root.doubleTurn = 0;
_root.doubleTurn2 = 0;
_root.enemy20 = 0;
_root.attackStrength = 0;
_root.berzerko = 0;
_root.enemy19 = 0;
_root.lightAttacko = 0;
_root.ballLight = 0;
_root.darknessInfect = 0;
_root.sleepEl2 = 0;
_root.sleepEl = 0;
_root.confused = 0;
_root.powerDown = 0;
_root.char1Parted = 0;
_root.char2Parted = 0;
_root.fadeOut = 1;
_root.enemyInfo2 = 0;
if (_root.leechy == 1) {
_root.leechy = 0;
_root.lifeLeech2 -= 3;
_root.magLeech2 -= 3;
}
_root.enemy16 = 0;
_root.ZombieInfected2 = 0;
_root.hlevel -= _root.hah22;
_root.hlevel -= _root.temp22;
_root.blind1 = 0;
_root.blind2 = 0;
_root.guy2 = 0;
_root.enemySleepy = 0;
_level0.enemyattack = 0;
counter = 0;
protectDefense = 0;
shellDefense = 0;
_root.attack = 0;
_root.attack2 = 0;
_root.enchant = 0;
_root.counter = 0;
_root.stolen = 0;
_root.enemy12 = 0;
_root.shellDefense = 0;
_root.enemy13 = 0;
_root.enemy14 = 0;
_root.protectDefense = 0;
_root.pOn = 0;
_root.comeback = 0;
_root.Zombie = 0;
_root.stopIt = 0;
_root.enemy2 = 0;
_root.powerBoss = 0;
_root.enemy3 = 0;
_root.enemy4 = 0;
_root.enemy5 = 0;
_root.enemy6 = 0;
_root.enemy7 = 0;
_root.enemy8 = 0;
_root.enemy9 = 0;
_root.enemy10 = 0;
_root.enemy11 = 0;
_root.enemy12 = 0;
_root.enemy13 = 0;
_root.enemy14 = 0;
_root.enemy16 = 0;
_root.enemy17 = 0;
_root.enemy18 = 0;
_root.enemy19 = 0;
_root.enemy20 = 0;
_root.enemy21 = 0;
_root.runIt = 0;
infectedDarkness = 0;
ZombieInfected = 0;
playerpoison = 0;
playerpoison2 = 0;
_root.deaddy = 0;
deadEnemy = 0;
enemyInfo = 0;
_root.townMusOn = 0;
stopAllSounds();
if (_root.story != 4 && _root.boss1 == 1) {
_root.boss1 = 0;
}
if (_root.story != 16 && _root.boss3 == 1) {
_root.boss3 = 0;
}
if (_root.story != 10 && _root.boss2 == 1) {
_root.boss2 = 0;
}
if (_root.story == 16 && _root.boss3 == 1) {
_root.story = 17;
_root.boss3 = 0;
gotoAndPlay(337);
} else {
if (_root.battleSpecA1 == 1) {
_root.justStat = 1;
_root.battleSpecA1 = 0;
gotoAndPlay(371);
} else {
if (_root.battleSpecA2 == 1) {
_root.justStat = 1;
_root.battleSpecA2 = 0;
gotoAndPlay(373);
} else {
if (_root.battleSpecA3 == 1) {
_root.justStat = 1;
_root.battleSpecA3 = 0;
gotoAndPlay(375);
} else {
if (_root.battleSpecA4 == 1) {
_root.justStat = 1;
_root.battleSpecA4 = 0;
gotoAndPlay(377);
} else {
if (_root.story == 10 && _root.boss2 == 1) {
_root.story = 11;
_root.boss2 = 0;
gotoAndPlay(217);
} else {
if (_root.story == 4 && _root.boss1 == 1) {
_root.story = 5;
_root.boss1 = 0;
gotoAndPlay(123);
} else {
if (_root.enemy15 == 1) {
_root.enemy15 = 0;
if (_root.supesCape != 1) {
gotoAndPlay(445);
} else {
gotoAndPlay(482);
}
} else {
if (_root.battleNow4 == 1) {
_root.battleNow4 = 0;
_root.savemap = 1;
gotoAndPlay(439);
} else {
if (_root.battleNow3 == 1) {
_root.battleNow3 = 0;
_root.savemap = 1;
gotoAndPlay(437);
} else {
if (_root.battleNow2 == 1) {
_root.battleNow2 = 0;
_root.savemap = 1;
gotoAndPlay(435);
} else {
if (_root.battleNow == 1) {
_root.battleNow = 0;
_root.savemap = 1;
gotoAndPlay(433);
} else {
gotoAndPlay(482);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 6962 {
on (release) {
if (skillpoint > 0) {
skillpoint -= 1;
_root.strength += 1;
}
}
}
button 6963 {
on (release) {
if (skillpoint > 0) {
skillpoint -= 1;
_root.vitality += 1;
_root.maxhp += 5 * _root.hptwo;
}
}
}
button 6964 {
on (release) {
if (skillpoint > 0) {
skillpoint -= 1;
_root.energy += 1;
_root.maxmp1 += 3 * _root.mptwo;
}
}
}
button 6965 {
on (release) {
if (skillpoint > 0) {
skillpoint -= 1;
_root.speedEx += 1;
}
}
}
button 6966 {
on (release) {
if (skillpoint > 0) {
skillpoint -= 1;
_root.skills += 1;
}
}
}
button 6967 {
on (release) {
if (skillpoint > 0) {
skillpoint -= 1;
_root.defense += 1;
}
}
}
movieClip 6975 {
frame 1 {
skillpoint = 0;
stop();
}
frame 2 {
skillpoint = 0;
moreEXP = (random(20 + _root.hlevel * 4 + _root.expskilled * 3) + 8 + _root.hlevel * 3 + _root.expskilled * 3) * _root.EXPMore * _root.heroRing;
_root.exp1 += moreEXP;
mess1 = 'Narashi got ' + moreEXP + ' EXP!!';
if (_root.exp1 >= _root.EXPNeeded) {
if (_root.level >= 35) {
_root.EXPNeeded += 36 + random(6);
} else {
if (_root.level >= 20 && _root.level < 35) {
_root.EXPNeeded += 20 + random(6);
} else {
if (_root.level >= 10 && _root.level < 20) {
_root.EXPNeeded += 10 + random(6) + 1;
}
}
}
_root.EXPNeeded = _root.EXPNeeded + random(6) + 5;
_root.exp1 = 0;
gotoAndPlay(3);
} else {
stop();
}
}
frame 3 {
_root.level += 1;
_root.maxhp += 7;
_root.strength += 1;
_root.skills += 1;
_root.defense += 1;
_root.maxmp1 += random(4) + 2;
lev = 'Narashi went up to level ' + _root.level + '!!';
if (_root.heroRing != 2) {
_root.skillpoint2 = _root.skillpoint2 + 2 + _root.skillpointsskilled;
skillpoint = 8 + _root.skillpointsskilled;
} else {
_root.skillpoint2 = _root.skillpoint2 + 2 + _root.skillpointsskilled + 3;
skillpoint = 8 + _root.skillpointsskilled + 3;
}
stop();
}
}
movieClip 6983 {
}
movieClip 6984 {
}
frame 31 {
stop();
}
button 6988 {
on (release) {
if (_level0.useHaste == 1) {
_root.speed -= 3;
}
_level0.useHaste = 0;
_root.char1Parted = 0;
_root.doubleTurn = 0;
_root.stopMove22 = 1;
_root.powerBoss = 0;
_root.townMusOn = 0;
_root.enemy2 = 0;
_root.townMusOn2 = 0;
_level0.useSlow = 0;
_root.enemy3 = 0;
_root.enemy4 = 0;
_root.boss2 = 0;
_root.boss3 = 0;
_root.enemy5 = 0;
_root.enemy6 = 0;
_root.enemy7 = 0;
_root.enemy8 = 0;
_root.enemy9 = 0;
_root.enemy10 = 0;
_root.enemy11 = 0;
_root.enemy12 = 0;
_root.enemy13 = 0;
_root.enemy14 = 0;
_root.enemy15 = 0;
_root.enemy16 = 0;
_root.enemy17 = 0;
_root.enemy18 = 0;
_root.enemy19 = 0;
_root.enemy20 = 0;
_root.enemy21 = 0;
_root.boss1 = 0;
_root.openIt = 0;
_root.doubleTurn2 = 0;
_root.darknessInfect = 0;
_root.enemy19 = 0;
_root.lightAttacko = 0;
_root.enemy20 = 0;
_root.attackStrength = 0;
_root.ballLight = 0;
_root.berzerko = 0;
_root.sleepEl2 = 0;
_root.sleepEl = 0;
_root.char2Parted = 0;
_root.powerDown = 0;
_root.confused = 0;
_root.deadd = 0;
_root.enemyInfo2 = 0;
if (_root.leechy == 1) {
_root.leechy = 0;
_root.lifeLeech2 -= 3;
_root.magLeech2 -= 3;
}
_root.sleepEl = 0;
_root.sleepEl2 = 0;
_root.fadeOut = 1;
_root.enemy16 = 0;
_root.guy2 = 0;
_root.attack2 = 0;
_root.hlevel -= _root.hah22;
_root.hlevel -= _root.temp22;
_root.blind1 = 0;
_root.enemy15 = 0;
_root.blind2 = 0;
_root.counter = 0;
_root.ZombieInfected2 = 0;
_root.char1Alive = true;
_root.char2Alive = true;
_root.enemy13 = 0;
_root.enemy14 = 0;
_root.shellDefense = 0;
_root.enemy12 = 0;
_root.protectDefense = 0;
_root.enemy9 = 0;
_root.enemy10 = 0;
_level0.enemyattack = 0;
_root.pOn = 0;
_root.attack = 0;
_root.comeback = 0;
_root.protectDefense = 0;
_root.shellDefense = 0;
_root.enemyInfo = 0;
_root.char1 = 60;
_root.anotherChance = 1;
_root.stolen = 0;
_root.Zombie = 0;
_root.enemy2 = 0;
_root.enemy3 = 0;
_root.enemy4 = 0;
_root.enemy5 = 0;
_root.enemy6 = 0;
_root.enemy7 = 0;
_root.runIt = 0;
_root.enemy8 = 0;
_root.miniYou = 0;
_root.infectedDarkness = 0;
_root.ZombieInfected = 0;
_root.playerpoison = 0;
_root.deadEnemy = 0;
_root.deadd = 0;
_root.enemy11 = 0;
_root.char2 = 60;
_root.deaddy = 0;
_root.char1 = 60;
_root.townMusOn = 0;
_root.enchant = 0;
_root.anotherChance = 1;
stopAllSounds();
_root.gotoAndPlay(16);
}
}
movieClip 6991 {
frame 9 {
stop();
}
}
frame 38 {
stop();
}
button 6998 {
on (release) {
gotoAndPlay(39);
}
}
frame 43 {
gotoAndPlay(44);
}
frame 44 {
if (_root.soundOn != 1 && _root.musicOff != 1) {
townMusOn = 1;
_root.soundOn = 1;
_root.sound1.attachSound('town1');
_root.sound1.start(0, 65000);
}
}
frame 49 {
stop();
}
button 7005 {
on (release) {
gotoAndStop(50);
}
}
frame 50 {
stop();
}
button 7009 {
on (release) {
gotoAndPlay(51);
}
}
frame 54 {
stop();
}
button 7020 {
on (release) {
gotoAndPlay(55);
}
}
frame 61 {
_root.story = 1;
gotoAndPlay(383);
}
movieClip 7039 {
}
frame 66 {
stop();
}
button 7059 {
on (release) {
gotoAndPlay(67);
}
}
button 7069 {
on (release) {
gotoAndPlay(68);
}
}
frame 74 {
stop();
}
button 7107 {
on (release) {
gotoAndPlay(75);
}
}
button 7113 {
on (release) {
gotoAndPlay(76);
}
}
button 7121 {
on (release) {
gotoAndPlay(77);
}
}
frame 82 {
backFrom = 1;
_root.mistOn = 1;
_root.fight2 = 0;
_root.story = 2;
_root.girlBed = 1;
gotoAndPlay(405);
}
frame 83 {
stop();
}
movieClip 7142 {
frame 1 {
if (_root.story >= 17) {
gotoAndStop(3);
} else {
if (_root.girlBed == 1) {
gotoAndStop(2);
} else {
stop();
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
button 7150 {
on (release) {
gotoAndPlay(84);
}
}
button 7159 {
on (release) {
gotoAndPlay(85);
}
}
button 7166 {
on (release) {
gotoAndPlay(86);
}
}
button 7173 {
on (release) {
gotoAndPlay(87);
}
}
frame 92 {
storeleave = 1;
_root.story = 3;
gotoAndPlay(401);
}
frame 97 {
stop();
}
button 7211 {
on (release) {
gotoAndPlay(98);
}
}
button 7216 {
on (release) {
gotoAndPlay(99);
}
}
button 7221 {
on (release) {
gotoAndPlay(100);
}
}
button 7226 {
on (release) {
gotoAndPlay(101);
}
}
button 7233 {
on (release) {
gotoAndPlay(102);
}
}
button 7241 {
on (release) {
gotoAndPlay(103);
}
}
button 7249 {
on (release) {
gotoAndPlay(104);
}
}
button 7257 {
on (release) {
gotoAndPlay(105);
}
}
frame 110 {
backFrom = 1;
_root.story = 4;
gotoAndPlay(405);
}
movieClip 7278 {
frame 1 {
stop();
}
}
instance enemy1attacked of movieClip 452 {
onClipEvent (load) {
this.gotoAndPlay(266);
}
}
frame 115 {
stop();
}
button 7299 {
on (release) {
gotoAndStop(116);
}
}
button 7305 {
on (release) {
gotoAndPlay(117);
}
}
movieClip 7321 {
frame 9 {
stop();
}
}
movieClip 7323 {
frame 1 {
stop();
}
instance of movieClip 7321 {
onClipEvent (load) {
this.gotoAndPlay(3);
}
}
instance of movieClip 7321 {
onClipEvent (load) {
this.gotoAndPlay(3);
}
}
instance of movieClip 7321 {
onClipEvent (load) {
this.gotoAndPlay(2);
}
}
frame 14 {
if (_root.level >= 32 || _root.level2 >= 32) {
_root.stillHarder = 3;
} else {
if (_root.level >= 22 || _root.level2 >= 22) {
_root.stillHarder = 2;
} else {
if (_root.level >= 14 || _root.level2 >= 14) {
_root.stillHarder = 1;
} else {
_root.stillHarder = 0;
}
}
}
_root.stopMove = 0;
_root.enemyPower();
_root.grave = 1;
_root.enemyColor = 0;
blah = random(17) + 1;
if (blah == 5) {
_root.enemyColor = random(5) + 1;
temp = random(4) + 2;
_root.hah22 += temp;
_root.hlevel += temp;
}
ghostEnemy = random(22) + 1;
_root.temp22 = 0;
if (_root.ghostEnemy == 5 || _root.ghostEnemy == 12) {
_root.temp22 = random(4) + 3;
_root.hlevel += _root.temp22;
}
if (_root.enemyEncounter >= 7 - _root.stillHarder) {
_root.enemyEncounter = 0;
_root.defaultPower += 1;
_root.hlevel += 1;
}
if (_root.diff == 'Hard') {
_root.hah22 += 2;
_root.hlevel += 2;
} else {
if (_root.diff == 'Harder') {
_root.hah22 += 4;
_root.hlevel += 4;
} else {
if (_root.diff == 'Hardest') {
_root.hah22 += 5;
_root.hlevel += 5;
}
}
}
_root.enemyEncounter += 1;
_root.fight2 = 0;
_root.enemyhp = random(100 + _root.hlevel * 20) + 40 + _root.hlevel * 30;
moo = random(20) + 1;
switch (moo) {
case 1:
break;
case 2:
_root.enemy2 = 1;
break;
case 3:
_root.enemy3 = 1;
break;
case 4:
_root.enemy4 = 1;
break;
case 5:
_root.enemy5 = 1;
break;
case 6:
_root.enemy6 = 1;
break;
case 7:
_root.enemy7 = 1;
break;
case 8:
_root.enemy8 = 1;
break;
case 9:
_root.enemy9 = 1;
break;
case 10:
_root.enemy10 = 1;
break;
case 11:
_root.enemy11 = 1;
break;
case 12:
_root.enemy12 = 1;
break;
case 13:
_root.enemy14 = 1;
break;
case 14:
_root.enemy16 = 1;
break;
case 15:
_root.enemy17 = 1;
break;
case 16:
_root.enemy18 = 1;
break;
case 17:
_root.enemy19 = 1;
break;
case 18:
_root.enemy20 = 1;
break;
case 19:
_root.enemy13 = 1;
break;
case 20:
_root.enemy21 = 1;
}
_root.enemyspeed = random(4 + _root.hlevel * 0.5) + 3;
if (_root.enemyspeed > 13) {
_root.enemyspeed = 13;
}
++_root.battleOh;
_root.soundOn = 0;
stopAllSounds();
}
}
instance fightfight of movieClip 7323 {
onClipEvent (load) {
gotoAndPlay(45);
}
}
button 7325 {
on (keyPress '<Space>') {
_root.cemy1 = 1;
_root.savemap = 1;
gotoAndPlay(460);
}
}
frame 122 {
_root.boss1 = 1;
_root.enemyhp = 450 + _root.hlevel * 30;
_root.temp22 = 0;
_root.hah22 = 0;
stopAllSounds();
_root.soundOn = 0;
_root.enemyspeed = 5;
_root.battleIt();
}
frame 123 {
if (_root.musicOff != 1) {
townMusOn = 1;
_root.soundOn = 1;
_root.sound1.attachSound('town1');
_root.sound1.start(0, 65000);
}
}
frame 128 {
stop();
}
button 7360 {
on (release) {
gotoAndPlay(129);
}
}
frame 137 {
gotoAndPlay(423);
}
instance enemy1attacked of movieClip 452 {
onClipEvent (load) {
this.gotoAndPlay(266);
}
}
movieClip 7393 {
}
movieClip 7398 {
}
frame 142 {
stop();
}
button 7406 {
on (release) {
gotoAndStop(143);
}
}
button 7414 {
on (release) {
gotoAndStop(144);
}
}
button 7420 {
on (release) {
gotoAndPlay(145);
}
}
frame 148 {
stop();
}
button 7431 {
on (release) {
gotoAndPlay(149);
}
}
button 7437 {
on (release) {
gotoAndPlay(150);
}
}
button 7442 {
on (release) {
gotoAndStop(151);
}
}
button 7449 {
on (release) {
gotoAndStop(152);
}
}
button 7454 {
on (release) {
gotoAndPlay(153);
}
}
button 7461 {
on (release) {
gotoAndPlay(154);
}
}
button 7466 {
on (release) {
gotoAndPlay(155);
}
}
frame 159 {
_root.story = 6;
backHah = 1;
gotoAndPlay(425);
}
frame 163 {
stop();
}
button 7475 {
on (release) {
gotoAndPlay(164);
}
}
button 7482 {
on (release) {
gotoAndPlay(165);
}
}
button 7487 {
on (release) {
gotoAndStop(166);
}
}
button 7494 {
on (release) {
gotoAndPlay(167);
}
}
button 7499 {
on (release) {
gotoAndPlay(168);
}
}
button 7505 {
on (release) {
gotoAndPlay(169);
}
}
button 7510 {
on (release) {
gotoAndPlay(170);
}
}
frame 174 {
if (_root.story == 8) {
_root.herosItem = 0;
_root.story = 9;
} else {
_root.story = 7;
}
backFrom = 1;
gotoAndPlay(405);
}
frame 178 {
stop();
}
button 7517 {
on (release) {
gotoAndPlay(179);
}
}
button 7524 {
on (release) {
gotoAndPlay(180);
}
}
frame 187 {
stop();
}
button 7531 {
on (release) {
gotoAndPlay(188);
}
}
button 7538 {
on (release) {
gotoAndPlay(189);
}
}
frame 190 {
if (_root.musicOff != 1) {
stopAllSounds();
townMusOn = 1;
_root.soundOn = 1;
_root.sound1.attachSound('saddy');
_root.sound1.start(0, 65000);
}
}
movieClip 7546 {
}
button 7549 {
on (keyPress '<Space>') {
area5 = 1;
gotoAndPlay(460);
}
}
movieClip 7563 {
frame 1 {
if (_root.talkGuy == 1) {
gotoAndPlay(3);
} else {
attack = random(6) + 1;
if (_root.story >= 17) {
switch (attack) {
case 1:
_root.say = 'I can\'t believe that Master Shinody died...';
break;
case 2:
_root.say = 'Shinody was a great man, I guess the mist just got to him...';
break;
case 3:
_root.say = 'You are a living legend now...I mean...wow.';
break;
case 4:
_root.say = 'You truely are a great man.';
break;
default:
_root.say = 'Everybody is very thankful for what you did.';
}
} else {
if (_root.story > 3 && _root.story < 17) {
switch (attack) {
case 1:
_root.say = 'The mist sucks, I can\'t visit the other towns now.';
break;
case 2:
_root.say = 'Please be super careful. The monsters are out for blood out there.';
break;
case 3:
_root.say = 'Succeed, okay?';
break;
case 4:
_root.say = 'Adventuring must be fun';
break;
default:
_root.say = 'Good luck with your ventures.';
}
} else {
switch (attack) {
case 1:
_root.say = 'You\'re cool.';
break;
case 2:
_root.say = 'I want to be an adventerer too.';
break;
case 3:
_root.say = 'What up, Narashi?';
break;
case 4:
_root.say = 'You don\'t look too well.';
break;
case 5:
_root.say = 'You truely are my hero.';
break;
case 6:
_root.say = 'You rule, man!';
}
}
}
}
}
frame 2 {
gotoAndPlay(1);
}
frame 7 {
gotoAndPlay(1);
}
frame 8 {
stop();
}
}
instance guy8 of movieClip 7563 {
onClipEvent (load) {
this.gotoAndStop(8);
}
}
frame 194 {
stop();
}
button 7567 {
on (release) {
gotoAndStop(195);
}
}
button 7572 {
on (release) {
gotoAndPlay(196);
}
}
frame 200 {
_root.story = 10;
gotBacko = 1;
_root.townmap1 = 0;
gotoAndPlay(393);
}
movieClip 7577 {
frame 1 {
if (_root.youmoo.hittest(_root.house)) {
eval(_root.youmoo)._x = 200;
}
}
frame 2 {
gotoAndPlay(1);
}
}
movieClip 7604 {
frame 1 {
if (_root.talkGuy == 1) {
gotoAndPlay(22);
}
}
frame 2 {
attack = random(4) + 1;
if (_root.story >= 17) {
switch (attack) {
case 1:
_root.say = 'You truely are a hero.';
break;
case 2:
_root.say = 'Wow! You are the hero of this generation!';
break;
case 3:
_root.say = 'It\'s great, you finally defeated the mist.';
break;
case 4:
_root.say = 'Who would of known that Shinody was that evil?';
}
} else {
if (_root.story > 3 && _root.story < 17) {
switch (attack) {
case 1:
_root.say = 'I can\'t believe that the mist has taken over once again...';
break;
case 2:
_root.say = 'Those monsters are fierce out there, be careful.';
break;
case 3:
_root.say = 'I hope that you get your job done right.';
break;
case 4:
_root.say = 'Be careful, I\'ve heard of these ultra powerful ghost monsters...';
}
} else {
switch (attack) {
case 1:
_root.say = 'What\'s up?';
break;
case 2:
_root.say = 'How are you doing?';
break;
case 3:
_root.say = 'You okay, Narashi?';
break;
case 4:
_root.say = 'How\'s it going?';
}
}
}
}
frame 3 {
if (_root.talkGuy == 1) {
gotoAndPlay(22);
}
}
frame 4 {
if (_root.talkGuy == 1) {
gotoAndPlay(22);
}
}
frame 5 {
if (_root.talkGuy == 1) {
gotoAndPlay(22);
}
}
frame 6 {
if (_root.talkGuy == 1) {
gotoAndPlay(22);
}
}
frame 7 {
if (_root.talkGuy == 1) {
gotoAndPlay(22);
}
}
frame 8 {
if (_root.talkGuy == 1) {
gotoAndPlay(22);
}
}
frame 9 {
if (_root.talkGuy == 1) {
gotoAndPlay(22);
}
}
frame 10 {
if (_root.talkGuy == 1) {
gotoAndPlay(22);
}
}
frame 11 {
if (_root.talkGuy == 1) {
gotoAndPlay(22);
}
}
frame 12 {
if (_root.talkGuy == 1) {
gotoAndPlay(22);
}
}
frame 13 {
if (_root.talkGuy == 1) {
gotoAndPlay(22);
}
}
frame 14 {
if (_root.talkGuy == 1) {
gotoAndPlay(22);
}
}
frame 15 {
if (_root.talkGuy == 1) {
gotoAndPlay(22);
}
}
frame 16 {
if (_root.talkGuy == 1) {
gotoAndPlay(22);
}
}
frame 17 {
if (_root.talkGuy == 1) {
gotoAndPlay(22);
}
}
frame 18 {
if (_root.talkGuy == 1) {
gotoAndPlay(22);
}
}
frame 19 {
if (_root.talkGuy == 1) {
gotoAndPlay(22);
}
}
frame 20 {
if (_root.talkGuy == 1) {
gotoAndPlay(22);
}
}
frame 21 {
gotoAndPlay(1);
}
frame 26 {
gotoAndPlay(1);
}
frame 27 {
stop();
}
}
instance guy2 of movieClip 7604 {
onClipEvent (load) {
if (_root.story >= 9) {
this.gotoAndStop(27);
}
}
}
instance enemy1attacked of movieClip 452 {
onClipEvent (load) {
this.gotoAndPlay(294);
}
}
frame 204 {
stop();
}
button 7611 {
on (release) {
gotoAndStop(205);
}
}
button 7615 {
on (release) {
gotoAndStop(206);
}
}
button 7621 {
on (release) {
gotoAndPlay(207);
}
}
frame 210 {
stop();
}
button 7631 {
on (release) {
gotoAndPlay(211);
}
}
button 7636 {
on (release) {
gotoAndPlay(212);
}
}
instance fightfight of movieClip 7323 {
onClipEvent (load) {
gotoAndPlay(45);
}
}
frame 216 {
_root.boss2 = 1;
_root.enemyhp = 1500 + _root.hlevel * 40;
_root.temp22 = 0;
_root.hah22 = 0;
stopAllSounds();
_root.soundOn = 0;
_root.enemyspeed = 8.5;
_root.battleIt();
}
frame 217 {
if (_root.musicOff != 1) {
townMusOn = 1;
_root.soundOn = 1;
_root.sound1.attachSound('saddy');
_root.sound1.start(0, 65000);
}
stop();
}
button 7642 {
on (release) {
gotoAndStop(218);
}
}
button 7647 {
on (release) {
gotoAndPlay(219);
}
}
button 7652 {
on (release) {
gotoAndPlay(220);
}
}
frame 223 {
gotoAndPlay(385);
}
frame 224 {
if (_root.soundOn != 1 && _root.musicOff != 1) {
stopAllSounds();
townMusOn = 1;
_root.soundOn = 1;
_root.sound1.attachSound('town1');
_root.sound1.start(0, 65000);
}
}
instance guy8 of movieClip 7563 {
onClipEvent (load) {
this.gotoAndStop(8);
}
}
frame 228 {
stop();
}
button 7659 {
on (release) {
gotoAndStop(229);
}
}
button 7664 {
on (release) {
gotoAndStop(230);
}
}
button 7669 {
on (release) {
gotoAndPlay(231);
}
}
frame 237 {
_root.story = 12;
gotoAndPlay(482);
}
frame 241 {
stop();
}
button 7676 {
on (release) {
gotoAndPlay(242);
}
}
button 7681 {
on (release) {
gotoAndPlay(243);
}
}
button 7686 {
on (release) {
gotoAndPlay(244);
}
}
frame 248 {
_root.story = 13;
backFrom = 1;
gotoAndPlay(405);
}
frame 252 {
stop();
}
button 7695 {
on (release) {
gotoAndPlay(253);
}
}
button 7701 {
on (release) {
gotoAndPlay(254);
}
}
button 7707 {
on (release) {
gotoAndPlay(255);
}
}
button 7713 {
on (release) {
gotoAndPlay(256);
}
}
button 7719 {
on (release) {
gotoAndPlay(257);
}
}
frame 263 {
stop();
}
button 7744 {
on (release) {
gotoAndPlay(264);
}
}
button 7750 {
on (release) {
gotoAndPlay(265);
}
}
button 7754 {
on (release) {
gotoAndPlay(266);
}
}
frame 274 {
stop();
}
button 7768 {
on (release) {
gotoAndPlay(275);
}
}
button 7773 {
on (release) {
gotoAndPlay(276);
}
}
button 7779 {
on (release) {
gotoAndStop(277);
}
}
button 7784 {
on (release) {
gotoAndPlay(278);
}
}
button 7791 {
on (release) {
gotoAndStop(279);
}
}
button 7796 {
on (release) {
gotoAndPlay(280);
}
}
button 7799 {
on (release) {
gotoAndPlay(281);
}
}
button 7802 {
on (release) {
gotoAndPlay(282);
}
}
button 7809 {
on (release) {
gotoAndPlay(283);
}
}
button 7814 {
on (release) {
gotoAndPlay(284);
}
}
button 7820 {
on (release) {
gotoAndPlay(285);
}
}
button 7825 {
on (release) {
gotoAndPlay(286);
}
}
button 7832 {
on (release) {
gotoAndPlay(287);
}
}
button 7837 {
on (release) {
gotoAndStop(288);
}
}
button 7843 {
on (release) {
gotoAndPlay(289);
}
}
button 7848 {
on (release) {
gotoAndStop(290);
}
}
button 7855 {
on (release) {
gotoAndPlay(291);
}
}
button 7860 {
on (release) {
gotoAndPlay(292);
}
}
frame 296 {
_root.story = 14;
backHah = 1;
gotoAndPlay(425);
}
frame 297 {
if (_root.musicOff != 1) {
stopAllSounds();
townMusOn = 1;
_root.soundOn = 1;
_root.sound1.attachSound('saddy');
_root.sound1.start(0, 65000);
}
}
movieClip 7867 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
instance doory of movieClip 7867 {
onClipEvent (load) {
if (_root.keyMe != 0) {
this.gotoAndStop(5);
}
}
}
frame 301 {
stop();
}
button 7871 {
on (release) {
gotoAndPlay(302);
}
}
button 7876 {
on (release) {
gotoAndPlay(303);
}
}
button 7881 {
on (release) {
_root.keyMe = 0;
gotoAndPlay(304);
}
}
frame 308 {
stop();
}
button 7886 {
on (release) {
gotoAndPlay(309);
}
}
button 7891 {
on (release) {
gotoAndPlay(310);
}
}
frame 314 {
_root.story = 16;
gotoAndPlay(371);
}
frame 319 {
stop();
}
button 7899 {
on (release) {
gotoAndPlay(320);
}
}
button 7906 {
on (release) {
gotoAndPlay(321);
}
}
button 7911 {
on (release) {
gotoAndPlay(322);
}
}
frame 329 {
stop();
}
button 7921 {
on (release) {
gotoAndPlay(330);
}
}
button 7927 {
on (release) {
gotoAndPlay(331);
}
}
instance fightfight of movieClip 7323 {
onClipEvent (load) {
gotoAndPlay(45);
}
}
frame 336 {
_root.boss3 = 1;
_root.enemyhp = 3222 + _root.hlevel * 40;
_root.temp22 = 0;
_root.hah22 = 0;
stopAllSounds();
_root.soundOn = 0;
_root.enemyspeed = 12;
_root.battleIt();
}
frame 337 {
if (_root.musicOff != 1) {
townMusOn = 1;
_root.soundOn = 1;
_root.sound1.attachSound('saddy');
_root.sound1.start(0, 65000);
}
stop();
}
button 7931 {
on (release) {
gotoAndPlay(338);
}
}
frame 344 {
stop();
}
button 7937 {
on (release) {
gotoAndPlay(345);
}
}
button 7942 {
on (release) {
gotoAndStop(346);
}
}
button 7945 {
on (release) {
gotoAndPlay(347);
}
}
button 7950 {
on (release) {
gotoAndPlay(348);
}
}
button 7953 {
on (release) {
gotoAndPlay(349);
}
}
frame 354 {
stop();
}
button 7960 {
on (release) {
gotoAndPlay(355);
}
}
button 7965 {
on (release) {
gotoAndPlay(356);
}
}
button 7970 {
on (release) {
gotoAndPlay(357);
}
}
frame 361 {
backo = 1;
_root.mistOn = 2;
_root.snowy = 0;
_root.keyMe = 1;
gotoAndPlay(369);
}
frame 362 {
stop();
}
movieClip 7984 {
frame 1 {
if (_root.talkGuy == 1) {
gotoAndPlay(3);
}
}
frame 2 {
gotoAndPlay(1);
}
frame 7 {
gotoAndPlay(1);
}
}
button 7991 {
on (release) {
gotoAndPlay(363);
}
}
button 7998 {
on (release) {
gotoAndPlay(364);
}
}
button 8007 {
on (release) {
gotoAndPlay(365);
}
}
frame 368 {
storeleave = 1;
_root.story = 18;
gotoAndPlay(401);
}
frame 369 {
_root.snowy = 0;
_root.groundo = 0;
if (_root.story == 15) {
gotoAndPlay(297);
} else {
if (_root.soundOn != 1 && _root.musicOff != 1) {
_root.soundOn = 1;
_root.townMusOn = 1;
_root.townMusOn2 = 0;
_root.sound1.attachSound('saddy');
_root.sound1.start(0, 65000);
} else {
if (_root.goNess == 1) {
_root.goNess = 0;
gotoAndPlay(371);
} else {
if (_root.workJah.hitTest(_root.leaveIt)) {
wMapBack = 1;
_root.stopMove22 = 1;
gotoAndPlay(482);
}
}
}
}
}
instance doory of movieClip 7867 {
onClipEvent (load) {
if (_root.keyMe != 0 || _root.story >= 16) {
this.gotoAndStop(5);
}
}
}
movieClip 8012 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance chesty1 of movieClip 8012 {
onClipEvent (load) {
if (_root.gottsIt3 == 1) {
this.gotoAndStop(2);
}
some = random(30) + 1;
switch (some) {
case 5:
case 9:
case 19:
this._visible = true;
blee = 1;
break;
default:
this._visible = false;
}
}
}
movieClip 8017 {
}
movieClip 8033 {
frame 6 {
if (_root.docStickItem == 1) {
if (_root.char1Alive == true) {
_root.char1 += random(11) + 4;
}
if (_root.char1 >= _root.maxhp) {
_root.char1 = _root.maxhp;
}
if (_root.char2Alive == true) {
_root.char2 += random(11) + 4;
}
if (_root.char2 >= _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
}
}
movieClip 8038 {
frame 4 {
stop();
_root.open = 1;
}
}
movieClip 8057 {
frame 1 {
colorin = new Color(this);
if (_root.hairStyle == 1) {
gotoAndStop(7);
} else {
if (_root.hairStyle == 2) {
gotoAndStop(8);
} else {
if (_root.hairStyle == 3) {
gotoAndStop(9);
} else {
if (_root.hairStyle == 4) {
gotoAndStop(10);
} else {
if (_root.hairStyle == 5) {
gotoAndStop(11);
} else {
if (_root.hairStyle == 6) {
gotoAndStop(12);
} else {
if (_root.hairStyle == 7) {
gotoAndStop(13);
} else {
if (_root.hairStyle == 8) {
gotoAndStop(14);
} else {
if (_root.hairStyle == 9) {
gotoAndStop(15);
} else {
if (_root.hairStyle == 10) {
gotoAndStop(16);
} else {
if (_root.hairStyle == 11) {
gotoAndStop(17);
} else {
if (_level0.hair == 1) {
gotoAndPlay(2);
} else {
if (_level0.hair == 2) {
gotoAndPlay(3);
} else {
if (_level0.hair == 3) {
gotoAndPlay(4);
} else {
if (_level0.hair == 4) {
gotoAndPlay(5);
} else {
if (_level0.hair == 5) {
gotoAndPlay(6);
} else {
stop();
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
}
movieClip 8064 {
frame 4 {
if (_root.docStickItem == 1) {
if (_root.char1Alive == true) {
_root.char1 += random(8) + 2;
}
if (_root.char1 >= _root.maxhp) {
_root.char1 = _root.maxhp;
}
if (_root.char2Alive == true) {
_root.char2 += random(8) + 2;
}
if (_root.char2 >= _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
}
}
movieClip 8092 {
frame 8 {
_root.onPhone = 1;
}
frame 9 {
if (_root.phoneDone == 1) {
gotoAndPlay(11);
}
}
frame 10 {
gotoAndPlay(9);
}
frame 17 {
_root.phoneDone = 0;
}
}
movieClip 8095 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
hahLeft = 0;
hahRight = 1;
hahUp = 0;
stop();
}
frame 4 {
hahLeft = 1;
hahRight = 0;
hahUp = 0;
stop();
}
frame 5 {
stop();
}
frame 6 {
hahLeft = 0;
hahRight = 0;
hahUp = 1;
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
}
instance workJah of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.doory)) {
_root.goNess = 1;
} else {
if (this.hitTest(_root.chesty1) && _root.gottsIt3 != 1 && _root.chesty1.blee == 1) {
_root.talkGuy = 1;
_root.gottsIt3 = 1;
_root.talky.gotoAndStop(12);
_root.chesty1.gotoAndStop(2);
_root.sound1.attachSound('box');
_root.sound1.start();
attack = random(6) + 1;
switch (attack) {
case 1:
if (_root.heroRing != 2) {
_root.heroRing = 2;
_root.say = 'You got the Hero\'s ring!!';
} else {
_root.ether += 1;
_root.say = 'You got an ether!';
}
break;
case 2:
_root.elixir += 1;
_root.say = 'You got an elixir!';
break;
case 3:
coinage = random(500) + 700;
_root.money += coinage;
_root.say = 'You got ' + coinage + ' coins!';
break;
case 4:
_root.lifePotion += 1;
_root.say = 'You got a Potion of Life!';
break;
case 5:
if (_root.fluteItem != 1) {
_root.fluteItem = 1;
_root.say = 'You got the Flute of the Silence!';
} else {
_root.xpotion += 1;
_root.say = 'You got an xpotion!!';
}
break;
default:
_root.antidote += 1;
_root.say = 'You got a antidote!';
}
} else {
_root.talky.gotoAndStop(1);
_root.talkGuy = 0;
}
}
}
onClipEvent (load) {
if (_root.backo == 1) {
_root.backo = 0;
eval(_root.workJah)._x = 232.3;
eval(_root.workJah)._y = 186.6;
} else {
if (_level0.justStat == 1) {
_level0.justStat = 0;
eval(_root.workJah)._x = _root.saveX;
eval(_root.workJah)._y = _root.saveY;
}
}
_root.saveX = this._x;
_root.saveY = this._y;
if (_root.townMusOn != 1) {
stopAllSounds();
_root.soundOn = 0;
}
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 7;
this.gotoAndStop(6);
this._y -= 7;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 246.1) {
this._y = 246.2;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 7;
this._y -= 7;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 246.1) {
this._y = 246.2;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 7;
this._x += 7;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 246.1) {
this._y = 246.2;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 7;
this._x -= 7;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 246.1) {
this._y = 246.2;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 7;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 7;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 7;
if (this._y < 246.1) {
this._y = 246.2;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 7;
if (this._y < 246.1) {
this._y = 246.2;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 8096 {
on (keyPress '<Space>') {
_root.areaSave = 1;
gotoAndPlay(460);
}
}
button 8099 {
on (keyPress 'a') {
_root.talkGuy = 0;
_root.talkGuy2 = 0;
talkoNow = '';
gotoAndStop(1);
}
on (release) {
_root.talkGuy = 0;
talkoNow = '';
_root.talkGuy2 = 0;
gotoAndStop(1);
}
}
button 8127 {
on (release) {
_root.enemy15 = 1;
_root.temp22 = 0;
_root.hah22 = 0;
_root.enemyPower();
_root.talkGuy = 0;
_root.enemyhp = 3000 + _root.hlevel * 25;
_root.enemyspeed = 8.800000000000001;
_root.soundOn = 0;
stopAllSounds();
_root.gotoAndPlay(2);
}
}
button 8143 {
on (release) {
sayin1 = '1) Darkness - Makes enemies miss more often, 2) Blindness - Same as Darkness, 3) Sleep) Causes you to sleep, causing your time bar to stop, 4) Stop - Similar to sleep, 5) Poison - Damages a little over time, 6) Confuse - Enemy has a chance to hit itself.';
gotoAndStop(15);
}
}
button 8144 {
on (release) {
sayin1 = 'Equipment generates with random skills. This means that their can be many different types of equipment that generates with different skills.';
gotoAndStop(15);
}
}
button 8145 {
on (release) {
sayin1 = 'You can get a new haircut at the hair salon in this town.';
gotoAndStop(15);
}
}
button 8146 {
on (release) {
sayin1 = 'Sometimes an enemy will generate a few (or more) power levels above to what you have it set as. If you defeat the monster, you will get a lot more exp and coins. If the enemy is too powerful, you can always run away.';
gotoAndStop(15);
}
}
button 8156 {
on (release) {
_root.char1 = _root.maxhp;
_root.mp1 = _root.maxmp1;
_root.char2 = _root.maxhp2;
_root.mp2 = _root.maxmp2;
_root.char2Alive = true;
_root.char1Alive = true;
talkoNow = 'Your party was healed!';
}
}
movieClip 8178 {
frame 1 {
_root.talkMenu = 0;
this.stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
}
frame 370 {
gotoAndPlay(369);
}
frame 371 {
_root.snowy = 0;
_root.groundo = 1;
if (_root.soundOn != 1 && _root.musicOff != 1) {
_root.soundOn = 1;
_root.townMusOn = 1;
_root.sound1.attachSound('saddy');
_root.sound1.start(0, 65000);
} else {
if (_root.workJah2.hitTest(_root.leaveIt2)) {
backo = 1;
gotoAndPlay(369);
} else {
if (_root.workJah2.hitTest(_root.goFor1)) {
gotoAndPlay(373);
} else {
if (_root.fight2 > 93) {
tellTarget ('_root.fightfight') {
gotoAndPlay(2);
}
_root.battleSpecA1 = 1;
_root.fight2 = 0;
_root.stopMove = 1;
_root.battleOh = 1;
} else {
if (_root.battleOh == 2) {
_root.battleOh = 0;
_root.battleIt();
}
}
}
}
}
}
instance workJah2 of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.doory)) {
_root.goNess = 1;
}
}
onClipEvent (load) {
if (_root.backo == 1) {
_root.backo = 0;
eval(_root.workJah2)._x = 229.2;
eval(_root.workJah2)._y = -15.4;
} else {
if (_level0.justStat == 1) {
_level0.justStat = 0;
eval(_root.workJah2)._x = _root.saveX;
eval(_root.workJah2)._y = _root.saveY;
}
}
_root.saveX = this._x;
_root.saveY = this._y;
if (_root.townMusOn != 1) {
_root.soundOn = 0;
}
this.speedy = 7 + _root.speedShoes * 4;
}
onClipEvent (enterFrame) {
if (Key.isDown(39) || Key.isDown(37) || Key.isDown(38) || Key.isDown(40)) {
_root.fight2 += random(4) + 3;
}
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1 || _root.stopMove == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += this.speedy;
this.gotoAndStop(6);
this._y -= this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= this.speedy;
this._y -= this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += this.speedy;
this._x += this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += this.speedy;
this._x -= this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= this.speedy;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += this.speedy;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 8182 {
on (keyPress '<Space>') {
if (_root.battleOh != 1) {
_root.areaSave = 2;
gotoAndPlay(460);
}
}
}
frame 372 {
gotoAndPlay(371);
}
frame 373 {
_root.snowy = 0;
_root.groundo = 1;
if (_root.soundOn != 1 && _root.musicOff != 1) {
_root.soundOn = 1;
_root.townMusOn = 1;
_root.sound1.attachSound('saddy');
_root.sound1.start(0, 65000);
} else {
if (_root.workJah3.hitTest(_root.leaveIt3)) {
backo = 1;
gotoAndPlay(371);
} else {
if (_root.workJah3.hitTest(_root.goFor2)) {
gotoAndPlay(375);
} else {
if (_root.fight2 > 93) {
tellTarget ('_root.fightfight') {
gotoAndPlay(2);
}
_root.battleSpecA2 = 1;
_root.fight2 = 0;
_root.stopMove = 1;
_root.battleOh = 1;
} else {
if (_root.battleOh == 2) {
_root.battleOh = 0;
_root.battleIt();
}
}
}
}
}
}
instance workJah3 of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.doory)) {
_root.goNess = 1;
}
}
onClipEvent (load) {
if (_root.backo == 1 || _root.stopMove == 1) {
_root.backo = 0;
eval(_root.workJah3)._x = 229.2;
eval(_root.workJah3)._y = -15.4;
} else {
if (_level0.justStat == 1) {
_level0.justStat = 0;
eval(_root.workJah3)._x = _root.saveX;
eval(_root.workJah3)._y = _root.saveY;
}
}
_root.saveX = this._x;
_root.saveY = this._y;
if (_root.townMusOn != 1) {
_root.soundOn = 0;
}
this.speedy = 7 + _root.speedShoes * 4;
}
onClipEvent (enterFrame) {
if (Key.isDown(39) || Key.isDown(37) || Key.isDown(38) || Key.isDown(40)) {
_root.fight2 += random(4) + 3;
}
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += this.speedy;
this.gotoAndStop(6);
this._y -= this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= this.speedy;
this._y -= this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += this.speedy;
this._x += this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += this.speedy;
this._x -= this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= this.speedy;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += this.speedy;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 8184 {
on (keyPress '<Space>') {
if (_root.battleOh != 1) {
_root.areaSave = 3;
gotoAndPlay(460);
}
}
}
frame 374 {
gotoAndPlay(373);
}
frame 375 {
_root.snowy = 1;
if (_root.soundOn != 1 && _root.musicOff != 1) {
_root.soundOn = 1;
_root.townMusOn = 1;
_root.sound1.attachSound('saddy');
_root.sound1.start(0, 65000);
} else {
if (_root.workJah4.hitTest(_root.leaveIt4)) {
backo = 1;
gotoAndPlay(373);
} else {
if (_root.workJah4.hitTest(_root.goFor3)) {
gotoAndPlay(377);
} else {
if (_root.fight2 > 93) {
tellTarget ('_root.fightfight') {
gotoAndPlay(2);
}
_root.battleSpecA3 = 1;
_root.fight2 = 0;
_root.stopMove = 1;
_root.battleOh = 1;
} else {
if (_root.battleOh == 2) {
_root.battleOh = 0;
_root.battleIt();
}
}
}
}
}
}
instance workJah4 of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.doory)) {
_root.goNess = 1;
}
}
onClipEvent (load) {
if (_root.backo == 1 || _root.stopMove == 1) {
_root.backo = 0;
eval(_root.workJah4)._x = 229.2;
eval(_root.workJah4)._y = -15.4;
} else {
if (_level0.justStat == 1) {
_level0.justStat = 0;
eval(_root.workJah4)._x = _root.saveX;
eval(_root.workJah4)._y = _root.saveY;
}
}
_root.saveX = this._x;
_root.saveY = this._y;
this.speedy = 7 + _root.speedShoes * 4;
if (_root.townMusOn != 1) {
_root.soundOn = 0;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) || Key.isDown(37) || Key.isDown(38) || Key.isDown(40)) {
_root.fight2 += random(4) + 3;
}
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += this.speedy;
this.gotoAndStop(6);
this._y -= this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= this.speedy;
this._y -= this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += this.speedy;
this._x += this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += this.speedy;
this._x -= this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= this.speedy;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += this.speedy;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 8186 {
on (keyPress '<Space>') {
if (_root.battleOh != 1) {
_root.areaSave = 4;
gotoAndPlay(460);
}
}
}
frame 376 {
gotoAndPlay(375);
}
frame 377 {
_root.snowy = 1;
if (_root.soundOn != 1 && _root.musicOff != 1) {
_root.soundOn = 1;
_root.townMusOn = 1;
_root.sound1.attachSound('saddy');
_root.sound1.start(0, 65000);
} else {
if (_root.workJah5.hitTest(_root.leaveIt5)) {
backo = 1;
gotoAndPlay(375);
} else {
if (_root.workJah5.hitTest(_root.goFor5)) {
gotoAndPlay(379);
} else {
if (_root.fight2 > 93) {
tellTarget ('_root.fightfight') {
gotoAndPlay(2);
}
_root.battleSpecA4 = 1;
_root.fight2 = 0;
_root.stopMove = 1;
_root.battleOh = 1;
} else {
if (_root.battleOh == 2) {
_root.battleOh = 0;
_root.battleIt();
}
}
}
}
}
}
instance workJah5 of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.doory)) {
_root.goNess = 1;
}
}
onClipEvent (load) {
if (_root.backo == 1 || _root.stopMove == 1) {
_root.backo = 0;
eval(_root.workJah5)._x = 229.2;
eval(_root.workJah5)._y = -15.4;
} else {
if (_level0.justStat == 1) {
_level0.justStat = 0;
eval(_root.workJah5)._x = _root.saveX;
eval(_root.workJah5)._y = _root.saveY;
}
}
_root.saveX = this._x;
_root.saveY = this._y;
if (_root.townMusOn != 1) {
_root.soundOn = 0;
}
this.speedy = 7 + _root.speedShoes * 4;
}
onClipEvent (enterFrame) {
if (Key.isDown(39) || Key.isDown(37) || Key.isDown(38) || Key.isDown(40)) {
_root.fight2 += random(4) + 3;
}
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += this.speedy;
this.gotoAndStop(6);
this._y -= this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= this.speedy;
this._y -= this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += this.speedy;
this._x += this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += this.speedy;
this._x -= this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= this.speedy;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= this.speedy;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += this.speedy;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 8188 {
on (keyPress '<Space>') {
if (_root.battleOh != 1) {
_root.areaSave = 5;
gotoAndPlay(460);
}
}
}
frame 378 {
gotoAndPlay(377);
}
frame 379 {
if (_root.story == 16) {
gotoAndPlay(315);
} else {
if (_root.workJah6.hitTest(_root.leaveIt6)) {
backo = 1;
gotoAndPlay(377);
}
}
}
instance workJah6 of movieClip 8095 {
onClipEvent (load) {
if (_level0.justStat == 1) {
_level0.justStat = 0;
eval(_root.workJah6)._x = _root.saveX;
eval(_root.workJah6)._y = _root.saveY;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.speedy = 7 + _root.speedShoes * 4;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 7;
this.gotoAndStop(6);
this._y -= 7;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 246.1) {
this._y = 246.2;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 7;
this._y -= 7;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 246.1) {
this._y = 246.2;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 7;
this._x += 7;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 246.1) {
this._y = 246.2;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 7;
this._x -= 7;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 246.1) {
this._y = 246.2;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 7;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 7;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 7;
if (this._y < 246.1) {
this._y = 246.2;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 7;
if (this._y < 246.1) {
this._y = 246.2;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 8190 {
on (keyPress '<Space>') {
_root.areaSave = 6;
gotoAndPlay(460);
}
}
frame 380 {
gotoAndPlay(379);
}
frame 381 {
if (_root.soundOn != 1 && _root.musicOff != 1) {
townMusOn = 1;
_root.soundOn = 1;
_root.sound1.attachSound('town1');
_root.sound1.start(0, 65000);
}
if (_level0.leaveroom == 1) {
_level0.leaveroom = 0;
gotoAndPlay(383);
}
}
button 8210 {
on (release) {
gotoAndStop(21);
}
}
button 8212 {
on (release) {
_level0.walkSide = 0;
_level0.walkSide4 = 0;
gotoAndPlay(12);
}
}
button 8233 {
on (release) {
tellTarget ('mooy') {
gotoAndStop(2);
}
}
}
button 8237 {
on (release) {
_root.messy = '';
tellTarget ('mooy') {
gotoAndStop(3);
}
}
}
button 8240 {
on (release) {
_root.messy = '';
gotoAndStop(11);
}
}
button 8243 {
on (release) {
_root.pass = '';
_root.messy = '';
gotoAndStop(1);
}
}
button 8245 {
on (release, keyPress '<Enter>') {
if (_root.pass == 'testBosso2') {
_root.boss3 = 1;
_root.enemyhp = 3222 + _root.hlevel * 40;
_root.temp22 = 0;
_root.hah22 = 0;
stopAllSounds();
_root.soundOn = 0;
_root.enemyspeed = 12;
_root.battleIt();
} else {
if (_root.pass == 'testBosso1') {
_root.boss2 = 1;
_root.enemyhp = 1250 + _root.hlevel * 40;
_root.temp22 = 0;
_root.hah22 = 0;
stopAllSounds();
_root.soundOn = 0;
_root.enemyspeed = 8.5;
_root.battleIt();
} else {
if (_root.pass == 'getMoGItems') {
_root.defensePotion += 5;
_root.skillPotion += 5;
_root.magicPotion += 5;
_root.messy = 'You got more good items!!';
} else {
if (_root.pass == 'getGoodItems') {
_root.strengthPotion += 5;
_root.lifePotion += 5;
_root.messy = 'You got good items!!';
} else {
if (_root.pass == 'upGerSkills') {
_root.skillpoint3 += 5;
_root.messy = 'Gerome got 5 skillpoints!';
} else {
if (_root.pass == 'upNarSkills') {
_root.skillpoint2 += 5;
_root.messy = 'Narashi got 5 skillpoints!';
} else {
if (_root.pass == 'superStick') {
_root.specialPlace1 = 1;
_root.messy = 'Unlocked hidden SuperStick area!';
} else {
if (_root.pass == 'testThing') {
_root.testIt = 1;
_root.gotoAndPlay(16);
} else {
if (_root.pass == 'cowBoy') {
_root.cowBoy = 1;
_root.messy = 'Narashi wears cowboy hat!';
} else {
if (_root.pass == 'noDefault') {
_root.hairStyle = 1;
_root.messy = 'Narashi has different hair style!';
} else {
if (_root.pass == 'defaultHair') {
_root.hairStyle = 0;
_root.cowBoy = 0;
_root.messy = 'Back to default hair!';
} else {
if (_root.pass == 'giveMeItems') {
_root.potion += 10;
_root.elixir += 10;
_root.antidote += 10;
_root.xpotion += 10;
_root.hpotion += 10;
_root.messy = 'You got 10 of each item!';
} else {
if (_root.pass == 'moMoney') {
_root.money += 1000;
_root.messy = 'You got 1000 coins!!';
} else {
if (_root.pass == 'generateItem1') {
_root.genItemNar();
} else {
if (_root.pass == 'generateItem2') {
_root.genItemGer();
} else {
messy = 'Password is not right.';
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 8252 {
on (release) {
gotoAndStop(4);
}
}
button 8257 {
on (release) {
gotoAndStop(5);
}
}
button 8258 {
on (release) {
gotoAndStop(3);
}
}
button 8263 {
on (release) {
gotoAndStop(6);
}
}
button 8264 {
on (release) {
gotoAndStop(4);
}
}
button 8271 {
on (release) {
gotoAndStop(5);
}
}
button 8277 {
on (release) {
gotoAndStop(8);
}
}
button 8281 {
on (release) {
gotoAndStop(7);
}
}
movieClip 8282 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
}
button 8284 {
on (release) {
tellTarget ('mooy') {
gotoAndStop(7);
}
}
}
movieClip 8285 {
frame 1 {
if (_level0.room1 == 1) {
gotoAndPlay(11);
}
_level0.room1 = 1;
}
frame 11 {
_level0.room1 = 1;
stop();
}
frame 20 {
_level0.room1 = 0;
_level0.area1 = 1;
_level0.leaveroom = 1;
}
frame 21 {
stop();
}
}
instance of movieClip 8285 {
onClipEvent (load) {
if (_root.loadIt2 == 1) {
_root.loadIt2 = 0;
this.gotoAndStop(11);
}
}
}
instance of movieClip 972 {
onClipEvent (load) {
if (_root.loadIt2 != 1) {
this._visible = false;
}
}
}
frame 382 {
gotoAndPlay(381);
}
frame 383 {
if (_root.helpModeOn == 1 && _root.youmoo.hitTest(_root.door)) {
_root.tippy.gotoAndStop(3);
} else {
if (_root.helpModeOn == 1 && _root.youmoo.hitTest(_root.guy2)) {
_root.tippy.gotoAndStop(4);
} else {
if (_root.helpModeOn == 1) {
_root.tippy.gotoAndStop(2);
}
}
}
if (_root.story == 10) {
gotoAndPlay(201);
} else {
if (_root.youmoo.hitTest(_root.gohah)) {
gotoAndPlay(385);
} else {
if (_root.goNess == 1) {
_root.goNess = 0;
gotoAndPlay(381);
}
}
}
}
instance guy2 of movieClip 7604 {
onClipEvent (load) {
if (_root.story >= 9 && _root.story < 11) {
this.gotoAndStop(27);
}
}
}
instance youmoo of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.door)) {
_root.goNess = 1;
} else {
if (_root.talkMenu == 0) {
if (_root.youmoo.hitTest(_root.guy2) && _root.story != 9 && _root.story != 10) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
gotoAndStop(2);
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky') {
gotoAndStop(1);
}
}
}
}
onClipEvent (load) {
if (_root.backNow == 1) {
_root.backNow = 0;
eval(_root.youmoo)._x = 540.5;
eval(_root.youmoo)._y = _root.saveY;
} else {
if (_level0.justStat == 1) {
_level0.justStat = 0;
eval(_root.youmoo)._x = _root.saveX;
eval(_root.youmoo)._y = _root.saveY;
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
this._y -= 19;
if (this._x < 209.9) {
this._x = 210;
}
if (this._y > 381.6) {
this._y = 381.5;
}
if (this._y < 102.7) {
this._y = 102.8;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._x < 209.9) {
this._x = 210;
}
if (this._y > 381.6) {
this._y = 381.5;
}
if (this._y < 102.7) {
this._y = 102.8;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._x < 209.9) {
this._x = 210;
}
if (this._y > 381.6) {
this._y = 381.5;
}
if (this._y < 102.7) {
this._y = 102.8;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._x < 209.9) {
this._x = 210;
}
if (this._y > 381.6) {
this._y = 381.5;
}
if (this._y < 102.7) {
this._y = 102.8;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
if (this._x < 209.9) {
this._x = 210;
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
if (this._x < 209.9) {
this._x = 210;
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y > 381.6) {
this._y = 381.5;
}
if (this._y < 102.7) {
this._y = 102.8;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y > 381.6) {
this._y = 381.5;
}
if (this._y < 102.7) {
this._y = 102.8;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 8288 {
on (keyPress '<Space>') {
area = 1;
area2 = 0;
gotoAndPlay(460);
}
on (keyPress 'q') {
_root.qualFun();
}
}
button 8294 {
on (release) {
if (_root.talkGuy != 1) {
gotoAndPlay(399);
}
}
}
button 8296 {
on (release) {
if (_root.talkGuy != 1) {
gotoAndPlay(387);
}
}
}
button 8298 {
on (release) {
if (_root.talkGuy != 1) {
gotoAndPlay(391);
}
}
}
button 8300 {
on (release) {
if (_root.talkGuy != 1) {
gotoAndPlay(381);
}
}
}
button 8302 {
on (release) {
if (_root.talkGuy != 1) {
gotoAndPlay(395);
}
}
}
button 8305 {
on (release) {
if (_root.talkGuy != 1) {
gotoAndPlay(482);
}
}
}
movieClip 8310 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
instance tippy of movieClip 8310 {
onClipEvent (load) {
if (_root.helpModeOn == 1) {
this.gotoAndStop(2);
}
}
}
frame 384 {
gotoAndPlay(383);
}
frame 385 {
if (_root.helpModeOn == 1 && _root.work.hitTest(_root.dfstore)) {
_root.tippy2.gotoAndStop(3);
} else {
if (_root.helpModeOn == 1 && _root.work.hitTest(_root.guy3)) {
_root.tippy2.gotoAndStop(4);
} else {
if (_root.helpModeOn == 1) {
_root.tippy2.gotoAndStop(2);
}
}
}
if (_root.work.hitTest(_root.gook)) {
_root.backNow = 1;
gotoAndPlay(383);
} else {
if (goFurthurAlright == 1) {
goFurthurAlright = 0;
gotoAndPlay(389);
} else {
if (_root.goNess == 1) {
_root.goNess = 0;
gotoAndPlay(387);
}
}
}
}
movieClip 8313 {
frame 1 {
if (_root.work.hitTest(_root.gofurthurok)) {
_root.goFurthurAlright = 1;
}
}
frame 2 {
gotoAndPlay(1);
}
}
movieClip 8380 {
frame 1 {
daynight = new Date();
dayframe = daynight.getHours() + 1;
if (dayframe >= 1 && dayframe <= 6) {
gotoAndPlay(12);
} else {
if (dayframe >= 20 && dayframe <= 24) {
gotoAndPlay(12);
} else {
if (_root.talkGuy == 1) {
gotoAndPlay(7);
}
}
}
}
frame 2 {
attack = random(4) + 1;
switch (attack) {
case 1:
_root.say = 'Do you think my rap is good?';
break;
case 2:
_root.say = 'I\'m a mack daddy, yo!';
break;
case 3:
_root.say = 'Wanna rap with me?';
break;
case 4:
_root.say = 'I\'m the best rapper!';
}
}
frame 3 {
if (_root.talkGuy == 1) {
gotoAndPlay(7);
}
}
frame 4 {
if (_root.talkGuy == 1) {
gotoAndPlay(7);
}
}
frame 5 {
if (_root.talkGuy == 1) {
gotoAndPlay(7);
}
}
frame 6 {
gotoAndPlay(1);
}
frame 11 {
gotoAndPlay(1);
}
frame 12 {
if (_root.talkGuy == 1) {
gotoAndPlay(33);
}
}
frame 13 {
attack = random(4) + 1;
switch (attack) {
case 1:
_root.say = 'What\'s up man?';
break;
case 2:
_root.say = 'Why are you out so late?';
break;
case 3:
_root.say = 'Wanna smoke?';
break;
case 4:
_root.say = 'Leave me alone.';
}
}
frame 14 {
if (_root.talkGuy == 1) {
gotoAndPlay(33);
}
}
frame 15 {
if (_root.talkGuy == 1) {
gotoAndPlay(33);
}
}
frame 16 {
if (_root.talkGuy == 1) {
gotoAndPlay(33);
}
}
frame 17 {
if (_root.talkGuy == 1) {
gotoAndPlay(33);
}
}
frame 18 {
if (_root.talkGuy == 1) {
gotoAndPlay(33);
}
}
frame 19 {
if (_root.talkGuy == 1) {
gotoAndPlay(33);
}
}
frame 20 {
if (_root.talkGuy == 1) {
gotoAndPlay(33);
}
}
frame 21 {
if (_root.talkGuy == 1) {
gotoAndPlay(33);
}
}
frame 22 {
if (_root.talkGuy == 1) {
gotoAndPlay(33);
}
}
frame 23 {
if (_root.talkGuy == 1) {
gotoAndPlay(33);
}
}
frame 24 {
if (_root.talkGuy == 1) {
gotoAndPlay(33);
}
}
frame 25 {
if (_root.talkGuy == 1) {
gotoAndPlay(33);
}
}
frame 26 {
if (_root.talkGuy == 1) {
gotoAndPlay(33);
}
}
frame 27 {
if (_root.talkGuy == 1) {
gotoAndPlay(33);
}
}
frame 28 {
if (_root.talkGuy == 1) {
gotoAndPlay(33);
}
}
frame 29 {
if (_root.talkGuy == 1) {
gotoAndPlay(33);
}
}
frame 30 {
if (_root.talkGuy == 1) {
gotoAndPlay(33);
}
}
frame 31 {
if (_root.talkGuy == 1) {
gotoAndPlay(33);
}
}
frame 32 {
gotoAndPlay(12);
}
frame 37 {
gotoAndPlay(12);
}
}
instance guy3 of movieClip 8380 {
onClipEvent (load) {
if (_root.story >= 9 && _root.story < 11) {
this._visible = false;
}
}
}
instance work of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.dfstore)) {
_root.goNess = 1;
} else {
if (_root.talkMenu != 1) {
if (this.hitTest(_root.guy3) && _root.story != 9 && _root.story != 10) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
daynight = new Date();
dayframe = daynight.getHours() + 1;
if (dayframe >= 1 && dayframe <= 6) {
gotoAndStop(4);
} else {
if (dayframe >= 20 && dayframe <= 24) {
gotoAndStop(4);
} else {
gotoAndStop(3);
}
}
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky') {
gotoAndStop(1);
}
}
}
}
onClipEvent (load) {
if (_root.backola == 1) {
_root.backola = 0;
eval(_root.work)._x = 348.3;
eval(_root.work)._y = 310.6;
} else {
if (_level0.justStat == 1) {
_level0.justStat = 0;
eval(_root.work)._x = _root.saveX;
eval(_root.work)._y = _root.saveY;
} else {
if (_root.storeleave == 1) {
_root.storeleave = 0;
_level0.walkSide = 0;
_level0.walkSide4 = 0;
eval(_root.work)._x = 389.1;
eval(_root.work)._y = 148.4;
}
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
this._y -= 19;
if (this._y < 166.9) {
this._y = 167;
}
if (this._x > 481.1) {
this._x = 481;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._y < 166.9) {
this._y = 167;
}
if (this._x > 481.1) {
this._x = 481;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._y < 166.9) {
this._y = 167;
}
if (this._x > 481.1) {
this._x = 481;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._y < 166.9) {
this._y = 167;
}
if (this._x > 481.1) {
this._x = 481;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
if (this._x > 481.1) {
this._x = 481;
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
if (this._x > 481.1) {
this._x = 481;
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y < 166.9) {
this._y = 167;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y < 166.9) {
this._y = 167;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 8381 {
on (keyPress '<Space>') {
area2 = 1;
gotoAndPlay(460);
}
on (keyPress 'q') {
_root.qualFun();
}
}
instance tippy2 of movieClip 8310 {
onClipEvent (load) {
if (_root.helpModeOn == 1) {
this.gotoAndStop(2);
}
}
}
frame 386 {
gotoAndPlay(385);
}
frame 387 {
if (_root.chest1 == 1) {
_root.chesto1.gotoAndStop(2);
}
if (_root.workJah.hitTest(_root.leaveStore)) {
storeleave = 1;
gotoAndPlay(385);
}
}
movieClip 8390 {
}
movieClip 8397 {
frame 1 {
stop();
if (monkey > 0) {
} else {
monkey = 0;
}
if (monkey >= 2) {
stop();
}
}
frame 9 {
monkey += 1;
gotoAndPlay(1);
}
}
instance workJah of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.chesto1)) {
if (_root.chest1 != 1) {
_root.chest1 = 1;
_root.talkGuy = 1;
_root.talky2.gotoAndStop(12);
_root.chesto1.gotoAndStop(2);
_root.sound1.attachSound('box');
_root.sound1.start();
attack = random(5) + 1;
switch (attack) {
case 1:
_root.potion += 1;
_root.say = 'You got a potion!';
break;
case 2:
_root.elixir += 1;
_root.say = 'You got an elixir!';
break;
case 3:
coinage = random(500) + 700;
_root.money += coinage;
_root.say = 'You got ' + coinage + ' coins!';
break;
case 4:
_root.revive += 1;
_root.say = 'You got a revive!';
break;
case 5:
_root.xpotion += 1;
_root.say = 'You got an xpotion!!';
}
} else {
_root.talky2.gotoAndStop(1);
_root.talkGuy = 0;
}
} else {
if (this.hitTest(_root.dudeMan)) {
_root.buyMen.gotoAndStop(2);
_root.talkGuy = 1;
_root.dudeMan.gotoAndPlay(2);
} else {
if (_root.talkMenu != 1) {
if (this.hitTest(_root.guy3)) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
daynight = new Date();
dayframe = daynight.getHours() + 1;
if (dayframe >= 1 && dayframe <= 6) {
gotoAndStop(4);
} else {
if (dayframe >= 20 && dayframe <= 24) {
gotoAndStop(4);
} else {
gotoAndStop(3);
}
}
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky') {
gotoAndStop(1);
}
}
}
}
}
onClipEvent (load) {
_root.saveX = this._x;
_root.saveY = this._y;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
this._y -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 8405 {
on (release) {
if (_root.money >= 50) {
_root.money -= 50;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.potion += 1;
messageAH = 'You bought a potion!';
} else {
messageAH = 'Not enough money!!';
}
}
}
button 8409 {
on (release) {
if (_root.money >= 200) {
_root.money -= 200;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.hpotion += 1;
messageAH = 'You bought a Hi-potion!';
} else {
messageAH = 'Not enough money!!';
}
}
}
button 8413 {
on (release) {
if (_root.money >= 150) {
_root.money -= 150;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.ether += 1;
messageAH = 'You bought a ether!';
} else {
messageAH = 'Not enough money!!';
}
}
}
button 8417 {
on (release) {
if (_root.money >= 300) {
_root.money -= 300;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.xpotion += 1;
messageAH = 'You bought a x-potion!';
} else {
messageAH = 'Not enough money!!';
}
}
}
button 8422 {
on (release) {
if (_root.money >= 400) {
_root.money -= 400;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.elixir += 1;
messageAH = 'You bought a elixir!';
} else {
messageAH = 'Not enough money!!';
}
}
}
button 8428 {
on (release) {
_root.talkGuy = 0;
gotoAndStop(1);
}
}
button 8434 {
on (release) {
if (_root.money >= 35) {
_root.money -= 35;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.antidote += 1;
messageAH = 'You bought a antidote!';
} else {
messageAH = 'Not enough money!!';
}
}
}
button 8441 {
on (release) {
if (_root.money >= 25) {
_root.money -= 25;
_root.char1 = _root.maxhp;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.mp1 = _root.maxmp1;
_root.char2 = _root.maxhp2;
_root.mp2 = _root.maxmp2;
_root.char2Alive = true;
_root.char1Alive = true;
_root.messageE = 'Thanks for staying!!';
}
}
}
button 8450 {
on (release) {
if (_root.hair == 3) {
messs1 = 'Your hair is that color!';
} else {
if (_root.money >= 5) {
_root.money -= 5;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.hair = 3;
messs1 = 'Your hair is now Red!';
} else {
messs1 = 'Not enough money!!';
}
}
}
}
button 8455 {
on (release) {
if (_root.hair == 1) {
messs1 = 'Your hair is that color!';
} else {
if (_root.money >= 5) {
_root.money -= 5;
_root.hair = 1;
_root.sound1.attachSound('sale');
_root.sound1.start();
messs1 = 'Your hair is now Blue!';
} else {
messs1 = 'Not enough money!!';
}
}
}
}
button 8460 {
on (release) {
if (_root.hair == 4) {
messs1 = 'Your hair is that color!';
} else {
if (_root.money >= 5) {
_root.money -= 5;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.hair = 4;
messs1 = 'Your hair is now Silver!';
} else {
messs1 = 'Not enough money!!';
}
}
}
}
button 8465 {
on (release) {
if (_root.hair == 5) {
messs1 = 'Your hair is that color!';
} else {
if (_root.money >= 5) {
_root.money -= 5;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.hair = 5;
messs1 = 'Your hair is now Brown!';
} else {
messs1 = 'Not enough money!!';
}
}
}
}
button 8470 {
on (release) {
if (_root.hair == 2) {
messs1 = 'Your hair is that color!';
} else {
if (_root.money >= 5) {
_root.money -= 5;
_root.hair = 2;
_root.sound1.attachSound('sale');
_root.sound1.start();
messs1 = 'Your hair is now Blond!';
} else {
messs1 = 'Not enough money!!';
}
}
}
}
button 8475 {
on (release) {
if (_root.hair == 0) {
messs1 = 'Your hair is that color!';
} else {
if (_root.money >= 5) {
_root.money -= 5;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.hair = 0;
messs1 = 'Your hair is now Black!';
} else {
messs1 = 'Not enough money!!';
}
}
}
}
button 8485 {
on (release) {
if (_root.money >= 10) {
_root.money -= 10;
_root.char1 = _root.maxhp;
_root.char2 = _root.maxhp2;
_root.sound1.attachSound('sale');
_root.sound1.start();
messs1 = 'Thanks for your buisness!';
} else {
messs1 = 'Not enough Money!';
}
}
}
button 8490 {
on (release) {
if (_root.money >= 30) {
_root.money -= 30;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.potion += 1;
messageAH = 'You bought a potion!';
} else {
messageAH = 'Not enough money!!';
}
}
}
button 8491 {
on (release) {
if (_root.money >= 140) {
_root.money -= 140;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.hpotion += 1;
messageAH = 'You bought a Hi-potion!';
} else {
messageAH = 'Not enough money!!';
}
}
}
button 8492 {
on (release) {
if (_root.money >= 180) {
_root.money -= 180;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.ether += 1;
messageAH = 'You bought a ether!';
} else {
messageAH = 'Not enough money!!';
}
}
}
button 8493 {
on (release) {
if (_root.money >= 250) {
_root.money -= 250;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.xpotion += 1;
messageAH = 'You bought a x-potion!';
} else {
messageAH = 'Not enough money!!';
}
}
}
button 8494 {
on (release) {
if (_root.money >= 410) {
_root.money -= 410;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.elixir += 1;
messageAH = 'You bought a elixir!';
} else {
messageAH = 'Not enough money!!';
}
}
}
button 8502 {
on (release) {
if (_root.money >= 16) {
_root.money -= 16;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.antidote += 1;
messageAH = 'You bought a antidote!';
} else {
messageAH = 'Not enough money!!';
}
}
}
button 8507 {
on (release) {
if (_root.money >= 100) {
_root.money -= 100;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.revive += 1;
messageAH = 'You bought a revive!';
} else {
messageAH = 'Not enough money!!';
}
}
}
button 8514 {
on (release) {
gotoAndStop(2);
}
}
button 8518 {
on (release) {
if (_root.money >= 5 && _root.hairStyle != 2) {
_root.money -= 5;
_root.hairStyle = 2;
_root.messs1 = 'Narashi has that hairstyle now!';
} else {
_root.messs1 = 'Not enough money or your hair is already that style.';
}
}
}
button 8520 {
on (release) {
if (_root.money >= 5 && _root.hairStyle2 != 2) {
_root.money -= 5;
_root.hairStyle2 = 2;
_root.messs1 = 'Gerome has that hairstyle now!';
} else {
_root.messs1 = 'Not enough money or your hair is already that style.';
}
}
}
button 8522 {
on (release) {
gotoAndStop(3);
}
}
button 8523 {
on (release) {
gotoAndStop(1);
}
}
button 8525 {
on (release) {
if (_root.money >= 5 && _root.hairStyle != 1) {
_root.money -= 5;
_root.hairStyle = 1;
_root.messs1 = 'Narashi has that hairstyle now!';
} else {
_root.messs1 = 'Not enough money or your hair is already that style.';
}
}
}
button 8526 {
on (release) {
if (_root.money >= 5 && _root.hairStyle2 != 1) {
_root.money -= 5;
_root.hairStyle2 = 1;
_root.messs1 = 'Gerome has that hairstyle now!';
} else {
_root.messs1 = 'Not enough money or your hair is already that style.';
}
}
}
button 8528 {
on (release) {
gotoAndStop(4);
}
}
button 8529 {
on (release) {
gotoAndStop(2);
}
}
button 8531 {
on (release) {
if (_root.money >= 5 && _root.hairStyle != 3) {
_root.money -= 5;
_root.hairStyle = 3;
_root.messs1 = 'Narashi has that hairstyle now!';
} else {
_root.messs1 = 'Not enough money or your hair is already that style.';
}
}
}
button 8532 {
on (release) {
if (_root.money >= 5 && _root.hairStyle2 != 3) {
_root.money -= 5;
_root.hairStyle2 = 3;
_root.messs1 = 'Gerome has that hairstyle now!';
} else {
_root.messs1 = 'Not enough money or your hair is already that style.';
}
}
}
button 8534 {
on (release) {
gotoAndStop(5);
}
}
button 8535 {
on (release) {
gotoAndStop(3);
}
}
button 8537 {
on (release) {
if (_root.money >= 5 && _root.hairStyle != 4) {
_root.money -= 5;
_root.hairStyle = 4;
_root.messs1 = 'Narashi has that hairstyle now!';
} else {
_root.messs1 = 'Not enough money or your hair is already that style.';
}
}
}
button 8538 {
on (release) {
if (_root.money >= 5 && _root.hairStyle2 != 4) {
_root.money -= 5;
_root.hairStyle2 = 4;
_root.messs1 = 'Gerome has that hairstyle now!';
} else {
_root.messs1 = 'Not enough money or your hair is already that style.';
}
}
}
button 8540 {
on (release) {
gotoAndStop(4);
}
}
button 8542 {
on (release) {
if (_root.money >= 5 && _root.hairStyle != 5) {
_root.money -= 5;
_root.hairStyle = 5;
_root.messs1 = 'Narashi has that hairstyle now!';
} else {
_root.messs1 = 'Not enough money or your hair is already that style.';
}
}
}
button 8543 {
on (release) {
if (_root.money >= 5 && _root.hairStyle2 != 5) {
_root.money -= 5;
_root.hairStyle2 = 5;
_root.messs1 = 'Gerome has that hairstyle now!';
} else {
_root.messs1 = 'Not enough money or your hair is already that style.';
}
}
}
button 8544 {
on (release) {
gotoAndStop(6);
}
}
button 8546 {
on (release) {
gotoAndStop(5);
}
}
button 8548 {
on (release) {
if (_root.money >= 5 && _root.hairStyle != 6) {
_root.money -= 5;
_root.hairStyle = 6;
_root.messs1 = 'Narashi has that hairstyle now!';
} else {
_root.messs1 = 'Not enough money or your hair is already that style.';
}
}
}
button 8549 {
on (release) {
if (_root.money >= 5 && _root.hairStyle2 != 6) {
_root.money -= 5;
_root.hairStyle2 = 6;
_root.messs1 = 'Gerome has that hairstyle now!';
} else {
_root.messs1 = 'Not enough money or your hair is already that style.';
}
}
}
button 8550 {
on (release) {
gotoAndStop(7);
}
}
button 8552 {
on (release) {
gotoAndStop(6);
}
}
button 8554 {
on (release) {
if (_root.money >= 5 && _root.hairStyle != 7) {
_root.money -= 5;
_root.hairStyle = 7;
_root.messs1 = 'Narashi has that hairstyle now!';
} else {
_root.messs1 = 'Not enough money or your hair is already that style.';
}
}
}
button 8555 {
on (release) {
if (_root.money >= 5 && _root.hairStyle2 != 7) {
_root.money -= 5;
_root.hairStyle2 = 7;
_root.messs1 = 'Gerome has that hairstyle now!';
} else {
_root.messs1 = 'Not enough money or your hair is already that style.';
}
}
}
button 8556 {
on (release) {
gotoAndStop(8);
}
}
button 8558 {
on (release) {
gotoAndStop(7);
}
}
button 8560 {
on (release) {
if (_root.money >= 5 && _root.hairStyle != 8) {
_root.money -= 5;
_root.hairStyle = 8;
_root.messs1 = 'Narashi has that hairstyle now!';
} else {
_root.messs1 = 'Not enough money or your hair is already that style.';
}
}
}
button 8561 {
on (release) {
if (_root.money >= 5 && _root.hairStyle2 != 8) {
_root.money -= 5;
_root.hairStyle2 = 8;
_root.messs1 = 'Gerome has that hairstyle now!';
} else {
_root.messs1 = 'Not enough money or your hair is already that style.';
}
}
}
button 8562 {
on (release) {
gotoAndStop(9);
}
}
button 8564 {
on (release) {
gotoAndStop(8);
}
}
button 8566 {
on (release) {
if (_root.money >= 5 && _root.hairStyle != 9) {
_root.money -= 5;
_root.hairStyle = 9;
_root.messs1 = 'Narashi has that hairstyle now!';
} else {
_root.messs1 = 'Not enough money or your hair is already that style.';
}
}
}
button 8567 {
on (release) {
if (_root.money >= 5 && _root.hairStyle2 != 9) {
_root.money -= 5;
_root.hairStyle2 = 9;
_root.messs1 = 'Gerome has that hairstyle now!';
} else {
_root.messs1 = 'Not enough money or your hair is already that style.';
}
}
}
button 8568 {
on (release) {
gotoAndStop(10);
}
}
button 8570 {
on (release) {
gotoAndStop(9);
}
}
button 8572 {
on (release) {
if (_root.money >= 5 && _root.hairStyle != 10) {
_root.money -= 5;
_root.hairStyle = 10;
_root.messs1 = 'Narashi has that hairstyle now!';
} else {
_root.messs1 = 'Not enough money or your hair is already that style.';
}
}
}
button 8573 {
on (release) {
if (_root.money >= 5 && _root.hairStyle2 != 10) {
_root.money -= 5;
_root.hairStyle2 = 10;
_root.messs1 = 'Gerome has that hairstyle now!';
} else {
_root.messs1 = 'Not enough money or your hair is already that style.';
}
}
}
button 8574 {
on (release) {
gotoAndStop(11);
}
}
button 8576 {
on (release) {
gotoAndStop(10);
}
}
button 8578 {
on (release) {
if (_root.money >= 5 && _root.hairStyle != 11) {
_root.money -= 5;
_root.hairStyle = 11;
_root.messs1 = 'Narashi has that hairstyle now!';
} else {
_root.messs1 = 'Not enough money or your hair is already that style.';
}
}
}
button 8579 {
on (release) {
if (_root.money >= 5 && _root.hairStyle2 != 11) {
_root.money -= 5;
_root.hairStyle2 = 11;
_root.messs1 = 'Gerome has that hairstyle now!';
} else {
_root.messs1 = 'Not enough money or your hair is already that style.';
}
}
}
movieClip 8580 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
}
button 8583 {
on (release) {
messs1 = 'Default hair!';
_root.hairStyle = 0;
_root.hairStyle2 = 0;
}
}
button 8590 {
on (release) {
buyArm = 1;
gotoAndStop(9);
}
}
button 8594 {
on (release) {
buyWep = 1;
gotoAndStop(9);
}
}
button 8598 {
on (release) {
buySun = 1;
gotoAndStop(9);
}
}
button 8602 {
on (release) {
buyBelt = 1;
gotoAndStop(9);
}
}
button 8610 {
on (release) {
if (buyArm == 1) {
buyArm = 0;
if (_root.money >= 2500) {
_root.money -= 2500;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.genItem = 2;
mesa2 = 'You bought armor for Narashi!';
_root.genItemNar();
gotoAndStop(8);
} else {
mesa2 = 'Not enough money!';
}
} else {
if (buyWep == 1) {
buyWep = 0;
if (_root.money >= 2500) {
_root.money -= 2500;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.genItem = 1;
mesa2 = 'You bought a Weapon for Narashi!';
_root.genItemNar();
gotoAndStop(8);
} else {
mesa2 = 'Not enough money!';
}
} else {
if (buyBelt == 1) {
buyBelt = 0;
if (_root.money >= 1000) {
_root.money -= 1000;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.genItem = 4;
mesa2 = 'You bought a belt for Narashi!';
_root.genItemNar();
gotoAndStop(8);
} else {
mesa2 = 'Not enough money!';
}
} else {
if (buySun == 1) {
buySun = 0;
if (_root.money >= 1000) {
_root.money -= 1000;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.genItem = 3;
mesa2 = 'You bought sunglasses for Narashi!';
_root.genItemNar();
gotoAndStop(8);
} else {
mesa2 = 'Not enough money!';
}
}
}
}
}
}
}
button 8611 {
on (release) {
if (buyArm == 1) {
buyArm = 0;
if (_root.money >= 2500) {
_root.money -= 2500;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.genItem = 2;
mesa2 = 'You bought armor for Narashi!';
_root.genItemGer();
gotoAndStop(8);
} else {
mesa2 = 'Not enough money!';
}
} else {
if (buyWep == 1) {
buyWep = 0;
if (_root.money >= 2500) {
_root.money -= 2500;
_root.sound1.attachSound('sale');
_root.sound1.start();
_root.genItem = 1;
mesa2 = 'You bought a Weapon for Narashi!';
_root.genItemGer();
gotoAndStop(8);
} else {
mesa2 = 'Not enough money!';
}
} else {
if (buyBelt == 1) {
buyBelt = 0;
if (_root.money >= 1000) {
_root.money -= 1000;
_root.genItem = 4;
_root.sound1.attachSound('sale');
_root.sound1.start();
mesa2 = 'You bought a belt for Narashi!';
_root.genItemGer();
gotoAndStop(8);
} else {
mesa2 = 'Not enough money!';
}
} else {
if (buySun == 1) {
buySun = 0;
if (_root.money >= 1000) {
_root.money -= 1000;
_root.genItem = 3;
_root.sound1.attachSound('sale');
_root.sound1.start();
mesa2 = 'You bought sunglasses for Narashi!';
_root.genItemGer();
gotoAndStop(8);
} else {
mesa2 = 'Not enough money!';
}
}
}
}
}
}
}
button 8615 {
on (release) {
if (_root.money >= 20000) {
_root.money -= 20000;
_root.strengthPotion += 1;
messageAH = 'You bought a strength potion!';
} else {
messageAH = 'Not enough money!!';
}
}
}
button 8616 {
on (release) {
if (_root.money >= 40000) {
_root.money -= 40000;
_root.lifePotion += 1;
messageAH = 'You bought a life potion!';
} else {
messageAH = 'Not enough money!!';
}
}
}
button 8617 {
on (release) {
if (_root.money >= 30000) {
_root.money -= 30000;
_root.skillPotion += 1;
messageAH = 'You bought a skill potion!';
} else {
messageAH = 'Not enough money!!';
}
}
}
button 8618 {
on (release) {
if (_root.money >= 45000) {
_root.money -= 45000;
_root.magicPotion += 1;
messageAH = 'You bought a magic potion!';
} else {
messageAH = 'Not enough money!!';
}
}
}
button 8619 {
on (release) {
if (_root.money >= 20000) {
_root.money -= 20000;
_root.defensePotion += 1;
messageAH = 'You bought a Defense potion!';
} else {
messageAH = 'Not enough money!!';
}
}
}
button 8626 {
on (release) {
_root.talkGuy = 0;
talkoNow = '';
gotoAndStop(1);
}
}
button 8628 {
on (release) {
talkoNow = '';
gotoAndStop(6);
}
}
button 8630 {
on (release) {
talkoNow = '';
gotoAndStop(8);
}
}
button 8632 {
on (release) {
talkoNow = '';
gotoAndStop(10);
}
}
movieClip 8635 {
frame 1 {
stop();
}
}
frame 388 {
gotoAndPlay(387);
}
frame 389 {
if (_root.helpModeOn == 1 && _root.work2.hitTest(_root.hotelWhoo)) {
_root.tippy3.gotoAndStop(3);
} else {
if (_root.helpModeOn == 1 && _root.work2.hitTest(_root.guy5)) {
_root.tippy3.gotoAndStop(4);
} else {
if (_root.helpModeOn == 1) {
_root.tippy3.gotoAndStop(2);
}
}
}
if (_root.work2.hitTest(_root.goMoofy)) {
area4 = 1;
area3 = 0;
gotoAndPlay(393);
} else {
if (_root.work2.hitTest(_root.backyCha)) {
backola = 1;
area2 = 1;
area3 = 0;
gotoAndPlay(385);
} else {
if (_root.goNess == 1) {
_root.goNess = 0;
gotoAndPlay(391);
}
}
}
}
movieClip 8642 {
}
movieClip 8653 {
frame 1 {
if (_root.talkGuy == 1) {
gotoAndPlay(3);
} else {
attack = random(4) + 1;
if (_root.story >= 17) {
switch (attack) {
case 1:
_root.say = 'Amazing, you\'ve gotten so strong, and it really shows.';
break;
case 2:
_root.say = 'Congrats...hero...';
break;
case 3:
_root.say = 'All of that working out payed off, you really came through in the end.';
break;
case 4:
_root.say = 'I know you beat the ultimate evil because you were so buff.';
}
} else {
if (_root.story > 3 && _root.story < 17) {
switch (attack) {
case 1:
_root.say = 'Level up often, these monsters are tough out there...';
break;
case 2:
_root.say = 'Putting skill points into strength will raise the damage of all physical attacks.';
break;
case 3:
_root.say = 'Destroy your enemies.';
break;
case 4:
_root.say = 'Defeat the ultimate evil, it\'s the only way to get this mist to disappear.';
}
} else {
switch (attack) {
case 1:
_root.say = 'You need to work out more.';
break;
case 2:
_root.say = 'Hit the gym, man.';
break;
case 3:
_root.say = 'Looking buff, man.';
break;
case 4:
_root.say = 'How\'s the exercise going?';
}
}
}
}
}
frame 2 {
gotoAndPlay(1);
}
frame 7 {
gotoAndPlay(1);
}
frame 8 {
stop();
}
}
instance guy5 of movieClip 8653 {
onClipEvent (load) {
if (_root.story >= 9 && _root.story < 11) {
this.gotoAndStop(8);
}
}
}
instance work2 of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.hotelWhoo)) {
_root.goNess = 1;
} else {
if (_root.talkMenu == 0) {
if (this.hitTest(_root.guy5) && _root.story != 9 && _root.story != 10) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
gotoAndStop(5);
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky') {
gotoAndStop(1);
}
}
}
}
onClipEvent (load) {
if (_root.left == 1) {
_root.left = 0;
eval(_root.work2)._x = 176.8;
eval(_root.work2)._y = 201.2;
} else {
if (_root.hehe1 == 1) {
_root.hehe1 = 0;
eval(_root.work2)._x = 545;
eval(_root.work2)._y = 266;
} else {
if (_level0.justStat == 1) {
_level0.justStat = 0;
eval(_root.work2)._x = _root.saveX;
eval(_root.work2)._y = _root.saveY;
}
}
}
_root.saveX = this._x;
_root.saveY = this._y;
this.barUp = 222;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
this._y -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 8654 {
on (keyPress '<Space>') {
area3 = 1;
gotoAndPlay(460);
}
on (keyPress 'q') {
_root.qualFun();
}
}
instance tippy3 of movieClip 8310 {
onClipEvent (load) {
if (_root.helpModeOn == 1) {
this.gotoAndStop(2);
}
}
}
frame 390 {
gotoAndPlay(389);
}
frame 391 {
if (_root.workJah.hitTest(_root.leaveStore)) {
left = 1;
gotoAndPlay(389);
}
}
movieClip 8663 {
}
movieClip 8670 {
frame 1 {
stop();
}
frame 12 {
stop();
}
}
instance workJah of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.dudeMan)) {
_root.buyMen.gotoAndStop(3);
_root.talkGuy = 1;
_root.dudeMan.gotoAndPlay(2);
} else {
if (_root.talkMenu != 1) {
if (this.hitTest(_root.guy3)) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
daynight = new Date();
dayframe = daynight.getHours() + 1;
if (dayframe >= 1 && dayframe <= 6) {
gotoAndStop(4);
} else {
if (dayframe >= 20 && dayframe <= 24) {
gotoAndStop(4);
} else {
gotoAndStop(3);
}
}
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky') {
gotoAndStop(1);
}
}
}
}
onClipEvent (load) {
_root.saveX = this._x;
_root.saveY = this._y;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
this._y -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
frame 392 {
gotoAndPlay(391);
}
frame 393 {
if (_root.helpModeOn == 1 && _root.work3.hitTest(_root.salonBoo)) {
_root.tippy4.gotoAndStop(3);
} else {
if (_root.helpModeOn == 1 && _root.work3.hitTest(_root.dudey)) {
_root.tippy4.gotoAndStop(4);
} else {
if (_root.helpModeOn == 1) {
_root.tippy4.gotoAndStop(2);
}
}
}
if (_root.work3.hitTest(_root.getOut)) {
gotoAndPlay(397);
} else {
if (_root.goNess == 1) {
_root.goNess = 0;
gotoAndPlay(395);
} else {
if (_root.work3.hitTest(_root.yes)) {
hehe1 = 1;
gotoAndPlay(389);
}
}
}
}
movieClip 8673 {
}
movieClip 8687 {
frame 1 {
if (_root.talkGuy == 1) {
gotoAndPlay(3);
} else {
if (_root.talkGuy2 != 1) {
attack = random(7) + 1;
if (_root.story >= 17) {
switch (attack) {
case 1:
_root.say = 'You\'re a hero dude!';
break;
case 2:
_root.say = 'This will go down in history!';
break;
case 3:
_root.say = 'Dude, you can get all the babes now that you\'re a hero.';
break;
case 4:
_root.say = 'You must be super strong to be able to defeat the ultimate evil.';
break;
default:
_root.say = 'Congrats dude!';
}
} else {
if (_root.story > 3 && _root.story < 17) {
switch (attack) {
case 1:
_root.say = 'Woah! The mist is like...Woah!';
break;
case 2:
_root.say = 'Careful dude, it\'s a scary place outside.';
break;
case 3:
_root.say = 'You need blond hair on your ventures, dude!';
break;
case 4:
_root.say = 'That ultimate evil sounds like one bad dude!';
break;
default:
_root.say = 'Good luck on everything, dude!';
}
} else {
switch (attack) {
case 1:
_root.say = 'Hey dude!';
break;
case 2:
_root.say = 'You cool man.';
break;
case 3:
_root.say = 'Want to go surfing?';
break;
case 4:
_root.say = 'Ever get attacked by a shark?';
break;
case 5:
_root.say = 'I love surfing. I surf almost everyday.';
break;
case 6:
_root.say = 'Do you like the long haired look?';
break;
case 7:
_root.say = 'You should dye your hair blond. It looks cool!';
}
}
}
}
}
}
frame 2 {
gotoAndPlay(1);
}
frame 7 {
gotoAndPlay(1);
}
frame 8 {
stop();
}
}
instance dudey of movieClip 8687 {
onClipEvent (load) {
if (_root.story >= 9 && _root.story < 11) {
this.gotoAndStop(8);
}
}
}
movieClip 8689 {
}
instance metal of movieClip 8689 {
onClipEvent (load) {
if (_root.story != 7 || _root.gotIt2 == 1) {
this._name = 'deeeee';
this._visible = false;
}
}
}
instance work3 of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.metal) && _root.gotIt2 != 1) {
_root.gotIt2 = 1;
_root.metal._visible = false;
_root.herosItem += 1;
_root.talkGuy2 = 1;
_root.talkMenu = 1;
if (_root.herosItem == 3) {
_root.story = 8;
_root.say = 'You found all three hero\'s metals!!';
} else {
_root.say = 'You found a hero\'s metal!!';
}
_root.talky.gotoAndStop(24);
} else {
if (this.hitTest(_root.salonBoo)) {
_root.goNess = 1;
} else {
if (_root.talkMenu == 0) {
if (this.hitTest(_root.dudey) && _root.story != 9 && _root.story != 10) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
gotoAndStop(6);
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
_root.talkGuy2 = 0;
tellTarget ('_root.talky') {
gotoAndStop(1);
}
}
}
}
}
onClipEvent (load) {
if (_root.gotBacko == 1) {
_root.gotBacko = 0;
eval(_root.work3)._x = 496;
eval(_root.work3)._y = 280;
} else {
if (_level0.justStat == 1) {
_level0.justStat = 0;
eval(_root.work3)._x = _root.saveX;
eval(_root.work3)._y = _root.saveY;
} else {
if (_root.leavin == 1) {
_root.leavin = 0;
eval(_root.work3)._x = 326.1;
eval(_root.work3)._y = 187.9;
}
}
}
_root.saveX = this._x;
_root.saveY = this._y;
this.barUp = 222;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1 || _root.talkGuy2 == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
this._y -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 8690 {
on (keyPress '<Space>') {
area4 = 1;
gotoAndPlay(460);
}
on (keyPress 'q') {
_root.qualFun();
}
}
instance tippy4 of movieClip 8310 {
onClipEvent (load) {
if (_root.helpModeOn == 1) {
this.gotoAndStop(2);
}
}
}
frame 394 {
gotoAndPlay(393);
}
frame 395 {
if (_root.workJah.hitTest(_root.leaveStore)) {
leavin = 1;
gotoAndPlay(393);
}
}
movieClip 8708 {
frame 1 {
stop();
}
}
instance workJah of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.dudeMan)) {
_root.buyMen.gotoAndStop(4);
_root.talkGuy = 1;
_root.dudeMan.gotoAndPlay(2);
} else {
if (_root.talkMenu != 1) {
if (this.hitTest(_root.guy3)) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
daynight = new Date();
dayframe = daynight.getHours() + 1;
if (dayframe >= 1 && dayframe <= 6) {
gotoAndStop(4);
} else {
if (dayframe >= 20 && dayframe <= 24) {
gotoAndStop(4);
} else {
gotoAndStop(3);
}
}
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky') {
gotoAndStop(1);
}
}
}
}
onClipEvent (load) {
_root.saveX = this._x;
_root.saveY = this._y;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
this._y -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
frame 396 {
gotoAndPlay(395);
}
frame 397 {
if (_root.helpModeOn == 1 && _root.work4.hitTest(_root.BarHah)) {
_root.tippy5.gotoAndStop(3);
} else {
if (_root.helpModeOn == 1 && _root.work4.hitTest(_root.guy8)) {
_root.tippy5.gotoAndStop(4);
} else {
if (_root.helpModeOn == 1) {
_root.tippy5.gotoAndStop(2);
}
}
}
if (_root.story == 11) {
gotoAndPlay(224);
}
if (_root.story == 9) {
gotoAndPlay(190);
}
if (_root.soundOn != 1 && _root.musicOff != 1) {
_root.soundOn = 1;
_root.townMusOn2 = 0;
_root.townMusOn = 1;
_root.sound1.attachSound('town1');
_root.sound1.start(0, 65000);
} else {
if (_root.goNess == 1) {
_root.goNess = 0;
gotoAndPlay(399);
} else {
if (_root.work4.hitTest(_root.gogoNow)) {
_root.stopMove22 = 1;
gotoAndPlay(482);
} else {
if (_root.work4.hitTest(_root.elBacko)) {
gotBacko = 1;
gotoAndPlay(393);
}
}
}
}
}
instance guy8 of movieClip 7563 {
onClipEvent (load) {
if (_root.story >= 9 && _root.story < 11) {
this.gotoAndStop(8);
}
}
}
instance work4 of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.BarHah)) {
_root.goNess = 1;
} else {
if (_root.talkMenu == 0) {
if (this.hitTest(_root.guy8) && _root.story != 9 && _root.story != 10) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
gotoAndStop(7);
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky') {
gotoAndStop(1);
}
}
}
}
onClipEvent (load) {
if (_root.leavin == 1) {
_root.leavin = 0;
eval(_root.work4)._x = 380.6;
eval(_root.work4)._y = 177.6;
} else {
if (_level0.justStat == 1) {
_level0.justStat = 0;
eval(_root.work4)._x = _root.saveX;
eval(_root.work4)._y = _root.saveY;
} else {
if (_root.townmap1 == 1) {
_root.townmap1 = 0;
_level0.walkSide = 0;
_level0.walkSide4 = 0;
eval(_root.work4)._x = 492.9;
eval(_root.work4)._y = 260;
}
}
}
_root.saveX = this._x;
_root.saveY = this._y;
if (_root.townMusOn != 1) {
stopAllSounds();
_root.soundOn = 0;
}
this.barUp = 208;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
this._y -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 8712 {
on (release) {
if (_root.talkGuy != 1) {
gotoAndPlay(482);
}
}
}
instance tippy5 of movieClip 8310 {
onClipEvent (load) {
if (_root.helpModeOn == 1) {
this.gotoAndStop(2);
}
}
}
frame 398 {
gotoAndPlay(397);
}
frame 399 {
if (_root.chest2 == 1) {
_root.chesto1.gotoAndStop(2);
}
if (_root.workJah.hitTest(_root.leaveStore)) {
leavin = 1;
gotoAndPlay(397);
}
}
movieClip 8727 {
frame 1 {
stop();
}
}
instance workJah of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.chesto1)) {
if (_root.chest2 != 1) {
_root.chest2 = 1;
_root.talkGuy = 1;
_root.talky2.gotoAndStop(12);
_root.chesto1.gotoAndStop(2);
_root.sound1.attachSound('box');
_root.sound1.start();
attack = random(5) + 1;
switch (attack) {
case 1:
_root.strengthPotion += 1;
_root.say = 'You got a Strength Potion!!';
break;
case 2:
_root.elixir += 1;
_root.say = 'You got an elixir!';
break;
case 3:
coinage = random(700) + 900;
_root.money += coinage;
_root.say = 'You got ' + coinage + ' coins!';
break;
case 4:
_root.lifePotion += 1;
_root.say = 'You got a life potion!!';
break;
case 5:
_root.xpotion += 1;
_root.say = 'You got an xpotion!!';
}
} else {
_root.talky2.gotoAndStop(1);
_root.talkGuy = 0;
}
} else {
if (this.hitTest(_root.dudeMan)) {
_root.buyMen.gotoAndStop(5);
_root.talkGuy = 1;
_root.dudeMan.gotoAndPlay(2);
} else {
if (_root.talkMenu != 1) {
if (this.hitTest(_root.guy3)) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
daynight = new Date();
dayframe = daynight.getHours() + 1;
if (dayframe >= 1 && dayframe <= 6) {
gotoAndStop(4);
} else {
if (dayframe >= 20 && dayframe <= 24) {
gotoAndStop(4);
} else {
gotoAndStop(3);
}
}
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky') {
gotoAndStop(1);
}
}
}
}
}
onClipEvent (load) {
_root.saveX = this._x;
_root.saveY = this._y;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
this._y -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
frame 400 {
gotoAndPlay(399);
}
frame 401 {
if (_root.helpModeOn == 1 && _root.work3.hitTest(_root.doctah)) {
_root.tippy5.gotoAndStop(3);
} else {
if (_root.helpModeOn == 1 && _root.work3.hitTest(_root.guy9)) {
_root.tippy5.gotoAndStop(4);
} else {
if (_root.helpModeOn == 1) {
_root.tippy5.gotoAndStop(2);
}
}
}
if (_root.soundOn != 1 && _root.musicOff != 1) {
_root.soundOn = 1;
_root.townMusOn = 1;
_root.townMusOn2 = 0;
_root.sound1.attachSound('town1');
_root.sound1.start(0, 65000);
} else {
if (_root.goNess == 1) {
_root.goNess = 0;
gotoAndPlay(421);
} else {
if (_root.woof.hitTest(_root.blahness)) {
gotoAndPlay(403);
} else {
if (_root.woof.hitTest(_root.mapBackYo)) {
backTown2 = 1;
_root.stopMove22 = 1;
gotoAndPlay(482);
}
}
}
}
}
movieClip 8731 {
}
movieClip 8766 {
frame 1 {
if (_root.talkGuy == 1) {
gotoAndPlay(14);
}
}
frame 2 {
if (_root.talkGuy == 1) {
gotoAndPlay(14);
} else {
attack = random(7) + 1;
switch (attack) {
case 1:
_root.say = 'Say it loud and proud brother.';
break;
case 2:
_root.say = 'Save your girl man.';
break;
case 3:
_root.say = 'The illness is really spreading fast. I\'m getting scared.';
break;
case 4:
_root.say = 'I don\'t want to get infected like all the rest.';
break;
case 5:
_root.say = 'Did you know that hundreds have already died from the illness?';
break;
case 6:
_root.say = 'There are rumors that there is a cure to the disease on the highest mountain...';
break;
case 7:
_root.say = 'Think you can find the cure for everyone?';
}
}
}
frame 3 {
if (_root.talkGuy == 1) {
gotoAndPlay(14);
}
}
frame 4 {
if (_root.talkGuy == 1) {
gotoAndPlay(14);
}
}
frame 5 {
if (_root.talkGuy == 1) {
gotoAndPlay(14);
}
}
frame 6 {
if (_root.talkGuy == 1) {
gotoAndPlay(14);
}
}
frame 7 {
if (_root.talkGuy == 1) {
gotoAndPlay(14);
}
}
frame 8 {
if (_root.talkGuy == 1) {
gotoAndPlay(14);
}
}
frame 9 {
if (_root.talkGuy == 1) {
gotoAndPlay(14);
}
}
frame 10 {
if (_root.talkGuy == 1) {
gotoAndPlay(14);
}
}
frame 11 {
if (_root.talkGuy == 1) {
gotoAndPlay(14);
}
}
frame 12 {
if (_root.talkGuy == 1) {
gotoAndPlay(14);
}
}
frame 13 {
gotoAndPlay(1);
}
frame 18 {
gotoAndPlay(1);
}
}
instance woof of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.doctah)) {
_root.goNess = 1;
} else {
if (_root.talkMenu == 0) {
if (this.hitTest(_root.guy9)) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
gotoAndStop(8);
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky') {
gotoAndStop(1);
}
}
}
}
onClipEvent (load) {
if (_root.storeleave == 1) {
_root.storeleave = 0;
eval(_root.woof)._x = 148.2;
eval(_root.woof)._y = 265.6;
} else {
if (_level0.justStat == 1) {
_level0.justStat = 0;
eval(_root.woof)._x = _root.saveX;
eval(_root.woof)._y = _root.saveY;
} else {
if (_root.gotBacko == 1) {
_root.gotBacko = 0;
eval(_root.woof)._x = 535.3;
eval(_root.woof)._y = 290;
}
}
}
_root.saveX = this._x;
_root.saveY = this._y;
if (_root.townMusOn != 1) {
stopAllSounds();
_root.soundOn = 0;
}
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
this._y -= 19;
if (this._x < 16.4) {
this._x = 16.5;
}
if (this._y < 215.3) {
this._y = 215.4;
}
if (this._y > 408) {
this._y = 407.9;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._x < 16.4) {
this._x = 16.5;
}
if (this._y < 215.3) {
this._y = 215.4;
}
if (this._y > 408) {
this._y = 407.9;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._x < 16.4) {
this._x = 16.5;
}
if (this._y < 215.3) {
this._y = 215.4;
}
if (this._y > 408) {
this._y = 407.9;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._x < 16.4) {
this._x = 16.5;
}
if (this._y < 215.3) {
this._y = 215.4;
}
if (this._y > 408) {
this._y = 407.9;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
if (this._x < 16.4) {
this._x = 16.5;
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
if (this._x < 16.4) {
this._x = 16.5;
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y < 215.3) {
this._y = 215.4;
}
if (this._y > 408) {
this._y = 407.9;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y < 215.3) {
this._y = 215.4;
}
if (this._y > 408) {
this._y = 407.9;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 8767 {
on (keyPress 'q') {
_root.qualFun();
}
on (keyPress '<Space>') {
area66 = 1;
gotoAndPlay(460);
}
}
button 8769 {
on (release) {
if (_root.talkGuy != 1) {
gotoAndPlay(407);
}
}
}
button 8770 {
on (release) {
if (_root.talkGuy != 1) {
gotoAndPlay(409);
}
}
}
button 8771 {
on (release) {
if (_root.talkGuy != 1 && _root.talkGuy2 != 1) {
backTown2 = 1;
gotoAndPlay(482);
}
}
}
button 8773 {
on (release) {
if (_root.talkGuy != 1) {
gotoAndPlay(415);
}
}
}
button 8775 {
on (release) {
if (_root.talkGuy != 1) {
gotoAndPlay(421);
}
}
}
instance tippy6 of movieClip 8310 {
onClipEvent (load) {
if (_root.helpModeOn == 1) {
this.gotoAndStop(2);
}
}
}
frame 402 {
gotoAndPlay(401);
}
frame 403 {
if (_root.helpModeOn == 1 && _root.work3.hitTest(_root.items2)) {
_root.tippy6.gotoAndStop(3);
} else {
if (_root.helpModeOn == 1 && _root.work3.hitTest(_root.guyo0)) {
_root.tippy6.gotoAndStop(4);
} else {
if (_root.helpModeOn == 1) {
_root.tippy6.gotoAndStop(2);
}
}
}
if (_root.work3.hitTest(_root.blahness1)) {
gotBacko = 1;
gotoAndPlay(401);
} else {
if (_root.work3.hitTest(_root.blahness2)) {
gotoAndPlay(405);
} else {
if (_root.goNess == 1) {
_root.goNess = 0;
gotoAndPlay(407);
}
}
}
}
movieClip 8815 {
frame 1 {
if (_root.talkGuy == 1) {
gotoAndPlay(16);
}
}
frame 2 {
if (_root.talkGuy == 1) {
gotoAndPlay(16);
} else {
attack = random(7) + 1;
switch (attack) {
case 1:
_root.say = 'Be careful out there, the enemies are tough.';
break;
case 2:
_root.say = 'Try to use magic skills as much as possible.';
break;
case 3:
_root.say = 'Try to heal next turn if your HP is low.';
break;
case 4:
_root.say = 'Running away is not always shameful. I mean, you can run, but you can\'t hide.';
break;
case 5:
_root.say = 'You\'ll find a cure for the disease. I know you will.';
break;
case 6:
_root.say = 'I hope you succeed in your adventure.';
break;
case 7:
_root.say = 'Don\'t give up. You can do this!';
}
}
}
frame 3 {
if (_root.talkGuy == 1) {
gotoAndPlay(16);
}
}
frame 4 {
if (_root.talkGuy == 1) {
gotoAndPlay(16);
}
}
frame 5 {
if (_root.talkGuy == 1) {
gotoAndPlay(16);
}
}
frame 6 {
if (_root.talkGuy == 1) {
gotoAndPlay(16);
}
}
frame 7 {
if (_root.talkGuy == 1) {
gotoAndPlay(16);
}
}
frame 8 {
if (_root.talkGuy == 1) {
gotoAndPlay(16);
}
}
frame 9 {
if (_root.talkGuy == 1) {
gotoAndPlay(16);
}
}
frame 10 {
if (_root.talkGuy == 1) {
gotoAndPlay(16);
}
}
frame 11 {
if (_root.talkGuy == 1) {
gotoAndPlay(16);
}
}
frame 12 {
if (_root.talkGuy == 1) {
gotoAndPlay(16);
}
}
frame 13 {
if (_root.talkGuy == 1) {
gotoAndPlay(16);
}
}
frame 14 {
if (_root.talkGuy == 1) {
gotoAndPlay(16);
}
}
frame 15 {
gotoAndPlay(1);
}
frame 20 {
gotoAndPlay(1);
}
}
instance work3 of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.items2)) {
_root.goNess = 1;
} else {
if (_root.talkMenu == 0) {
if (this.hitTest(_root.guyo0)) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
gotoAndStop(11);
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky') {
gotoAndStop(1);
}
}
}
}
onClipEvent (load) {
if (_root.gotBackoA == 1) {
_root.gotBackoA = 0;
eval(_root.work3)._x = 535.9;
eval(_root.work3)._y = 290;
} else {
if (_level0.justStat == 1) {
_level0.justStat = 0;
eval(_root.work3)._x = _root.saveX;
eval(_root.work3)._y = _root.saveY;
} else {
if (_root.storeleave == 1) {
_root.storeleave = 0;
eval(_root.work3)._x = 339.5;
eval(_root.work3)._y = 188.8;
}
}
}
_root.saveX = this._x;
_root.saveY = this._y;
this.barUp = 240;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
this._y -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 8816 {
on (keyPress '<Space>') {
area77 = 1;
gotoAndPlay(460);
}
on (keyPress 'q') {
_root.qualFun();
}
}
frame 404 {
gotoAndPlay(403);
}
frame 405 {
if (_root.helpModeOn == 1 && _root.woof3.hitTest(_root.styly)) {
_root.tippy7.gotoAndStop(3);
} else {
if (_root.helpModeOn == 1 && _root.woof3.hitTest(_root.guy11)) {
_root.tippy7.gotoAndStop(4);
} else {
if (_root.helpModeOn == 1) {
_root.tippy7.gotoAndStop(2);
}
}
}
if (_root.woof3.hitTest(_root.blahness3)) {
_root.gotBackoA = 1;
gotoAndPlay(403);
} else {
if (_root.woof3.hitTest(_root.blahness4)) {
gotoAndPlay(411);
} else {
if (_root.goNess == 1) {
_root.goNess = 0;
gotoAndPlay(409);
}
}
}
}
movieClip 8843 {
frame 1 {
if (_root.talkGuy == 1) {
gotoAndPlay(8);
}
}
frame 2 {
if (_root.talkGuy == 1) {
gotoAndPlay(8);
} else {
attack = random(7) + 1;
switch (attack) {
case 1:
_root.say = 'This is where everybody gathers to talk.';
break;
case 2:
_root.say = 'How are you doing now a days?';
break;
case 3:
_root.say = 'Train harder to get stronger.';
break;
case 4:
_root.say = 'Never give up, never surender!';
break;
case 5:
_root.say = 'Stay cool man.';
break;
case 6:
_root.say = 'Never say, Never.';
break;
case 7:
_root.say = 'Do you like football?';
}
}
}
frame 3 {
if (_root.talkGuy == 1) {
gotoAndPlay(8);
}
}
frame 4 {
if (_root.talkGuy == 1) {
gotoAndPlay(8);
}
}
frame 5 {
if (_root.talkGuy == 1) {
gotoAndPlay(8);
}
}
frame 6 {
if (_root.talkGuy == 1) {
gotoAndPlay(8);
}
}
frame 7 {
gotoAndPlay(1);
}
frame 12 {
gotoAndPlay(1);
}
}
instance woof3 of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.styly)) {
_root.goNess = 1;
} else {
if (_root.talkMenu == 0) {
if (this.hitTest(_root.guy11)) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
gotoAndStop(9);
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky') {
gotoAndStop(1);
}
}
}
}
onClipEvent (load) {
if (_root.backFrom == 1) {
_root.backFrom = 0;
eval(_root.woof3)._x = 539.2000000000001;
eval(_root.woof3)._y = 290;
} else {
if (_level0.justStat == 1) {
_level0.justStat = 0;
eval(_root.woof3)._x = _root.saveX;
eval(_root.woof3)._y = _root.saveY;
} else {
if (_root.leavin == 1) {
_root.leavin = 0;
eval(_root.woof3)._x = 183.1;
eval(_root.woof3)._y = 326.7;
}
}
}
_root.saveX = this._x;
_root.saveY = this._y;
this.barUp = 235;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
this._y -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 8844 {
on (keyPress '<Space>') {
area88 = 1;
gotoAndPlay(460);
}
on (keyPress 'q') {
_root.qualFun();
}
}
instance tippy7 of movieClip 8310 {
onClipEvent (load) {
if (_root.helpModeOn == 1) {
this.gotoAndStop(2);
}
}
}
frame 406 {
gotoAndPlay(405);
}
frame 407 {
if (_root.chest3 == 1) {
_root.chesto1.gotoAndStop(2);
}
if (_root.workJah.hitTest(_root.leaveStore)) {
storeleave = 1;
gotoAndPlay(403);
}
}
instance chesto1 of movieClip 8012 {
onClipEvent (load) {
if (_root.chest3 == 1 && _root.minutos <= _root.clockMinutes && _root.hoursos <= _root.clockHours) {
_root.chest3 = 0;
this.gotoAndStop(1);
}
}
}
movieClip 8854 {
frame 1 {
stop();
}
}
instance workJah of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.chesto1)) {
if (_root.chest3 != 1) {
_root.chest3 = 1;
_root.talkGuy = 1;
_root.minutos = _root.clockMinutes + 10;
_root.hoursos = 0;
_root.sound1.attachSound('box');
_root.sound1.start();
if (_root.minutos >= 60) {
_root.minutos -= 60;
_root.hoursos = _root.clockHours + 1;
}
_root.talky2.gotoAndStop(12);
_root.chesto1.gotoAndStop(2);
attack = random(5) + 1;
switch (attack) {
case 1:
_root.lifePotion += 1;
_root.say = 'You got a life Potion!';
break;
case 2:
_root.elixir += 1;
_root.say = 'You got an elixir!';
break;
case 3:
coinage = random(500) + 700;
_root.money += coinage;
_root.say = 'You got ' + coinage + ' coins!';
break;
case 4:
if (_root.speedShoes != 1) {
_root.speedShoes = 1;
_root.say = 'You got Boots of the Cheeta!';
break;
} else {
_root.revive += 1;
_root.say = 'You got a revive!';
break;
}
case 5:
_root.xpotion += 1;
_root.say = 'You got an xpotion!!';
}
} else {
_root.talky2.gotoAndStop(1);
_root.talkGuy = 0;
}
} else {
if (this.hitTest(_root.dudeYo)) {
_root.buyMenu.gotoAndStop(6);
_root.talkGuy = 1;
_root.dudeYo.gotoAndPlay(2);
} else {
if (_root.talkMenu != 1) {
if (this.hitTest(_root.guy3)) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
daynight = new Date();
dayframe = daynight.getHours() + 1;
if (dayframe >= 1 && dayframe <= 6) {
gotoAndStop(4);
} else {
if (dayframe >= 20 && dayframe <= 24) {
gotoAndStop(4);
} else {
gotoAndStop(3);
}
}
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky') {
gotoAndStop(1);
}
}
}
}
}
onClipEvent (load) {
_root.saveX = this._x;
_root.saveY = this._y;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
this._y -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
frame 408 {
gotoAndPlay(407);
}
frame 409 {
if (_root.workJah2.hitTest(_root.leaveStore2)) {
leavin = 1;
gotoAndPlay(405);
}
}
instance workJah2 of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.dudeMan2)) {
_root.buyMen2.gotoAndStop(7);
_root.talkGuy = 1;
_root.dudeMan2.gotoAndPlay(2);
} else {
if (_root.talkMenu != 1) {
if (this.hitTest(_root.guy3)) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
daynight = new Date();
dayframe = daynight.getHours() + 1;
if (dayframe >= 1 && dayframe <= 6) {
gotoAndStop(4);
} else {
if (dayframe >= 20 && dayframe <= 24) {
gotoAndStop(4);
} else {
gotoAndStop(3);
}
}
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky') {
gotoAndStop(1);
}
}
}
}
onClipEvent (load) {
_root.saveX = this._x;
_root.saveY = this._y;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
this._y -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
frame 410 {
gotoAndPlay(409);
}
frame 411 {
if (_root.helpModeOn == 1 && _root.woof3.hitTest(_root.guyy2)) {
_root.tippy8.gotoAndStop(4);
} else {
if (_root.helpModeOn == 1 && _root.woof3.hitTest(_root.guyy1)) {
_root.tippy8.gotoAndStop(4);
} else {
if (_root.helpModeOn == 1) {
_root.tippy8.gotoAndStop(2);
}
}
}
if (_root.story == 12) {
gotoAndPlay(238);
} else {
if (_root.story == 8) {
gotoAndPlay(175);
} else {
if (_root.story == 6) {
gotoAndPlay(160);
} else {
if (_root.story == 3) {
gotoAndPlay(93);
} else {
if (_root.story == 1) {
gotoAndPlay(62);
}
}
}
}
}
if (_root.woof3.hitTest(_root.backah)) {
backFrom = 1;
gotoAndPlay(405);
} else {
if (_root.woof3.hitTest(_root.goAh1)) {
gotoAndPlay(413);
}
}
}
movieClip 8867 {
frame 1 {
if (_root.talkGuy == 1) {
gotoAndPlay(7);
}
}
frame 2 {
if (_root.talkGuy == 1) {
gotoAndPlay(7);
} else {
attack = random(7) + 1;
switch (attack) {
case 1:
_root.say = 'The mist is eviler then ever...';
break;
case 2:
_root.say = 'Fight hard. The monsters show no mercy.';
break;
case 3:
_root.say = 'You\'re the world\'s only hope.';
break;
case 4:
_root.say = 'Godspeed!';
break;
case 5:
_root.say = 'Save the world!';
break;
case 6:
_root.say = 'Peace Man!';
break;
case 7:
_root.say = 'Do it...do it...do it...';
}
}
}
frame 3 {
if (_root.talkGuy == 1) {
gotoAndPlay(7);
}
}
frame 4 {
if (_root.talkGuy == 1) {
gotoAndPlay(7);
}
}
frame 5 {
gotoAndPlay(1);
}
frame 10 {
gotoAndPlay(1);
}
}
movieClip 8884 {
frame 1 {
if (_root.talkGuy2 == 1) {
gotoAndPlay(6);
}
}
frame 2 {
if (_root.talkGuy2 == 1) {
gotoAndPlay(6);
}
}
frame 3 {
if (_root.talkGuy2 == 1) {
gotoAndPlay(6);
}
}
frame 4 {
if (_root.talkGuy2 == 1) {
gotoAndPlay(6);
}
}
frame 5 {
gotoAndPlay(1);
}
frame 10 {
gotoAndPlay(1);
}
}
instance guyy2 of movieClip 8884 {
onClipEvent (load) {
if (_root.story >= 9) {
this._visible = false;
}
}
}
instance woof3 of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (_root.talkMenu == 0) {
if (this.hitTest(_root.guyy1)) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
gotoAndStop(13);
}
} else {
if (this.hitTest(_root.guyy2) && _root.story < 9) {
_root.talkGuy2 = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
gotoAndStop(14);
}
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy2 = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky') {
gotoAndStop(1);
}
}
}
onClipEvent (load) {
if (_root.backFrom == 1) {
_root.backFrom = 0;
eval(_root.woof3)._x = 535.5;
eval(_root.woof3)._y = 279.2;
} else {
if (_level0.justStat == 1) {
_level0.justStat = 0;
eval(_root.woof3)._x = _root.saveX;
eval(_root.woof3)._y = _root.saveY;
}
}
_root.saveX = this._x;
_root.saveY = this._y;
this.barUp = 222;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1 || _root.talkGuy2 == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
this._y -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 8885 {
on (keyPress '<Space>') {
area99 = 1;
gotoAndPlay(460);
}
on (keyPress 'q') {
_root.qualFun();
}
}
button 8886 {
on (release) {
if (_root.talkGuy != 1 && _root.talkGuy2 != 1) {
gotoAndPlay(407);
}
}
}
button 8887 {
on (release) {
if (_root.talkGuy != 1 && _root.talkGuy2 != 1) {
gotoAndPlay(409);
}
}
}
button 8888 {
on (release) {
if (_root.talkGuy != 1 && _root.talkGuy2 != 1) {
backTown2 = 1;
gotoAndPlay(482);
}
}
}
button 8889 {
on (release) {
if (_root.talkGuy != 1 && _root.talkGuy2 != 1) {
gotoAndPlay(415);
}
}
}
button 8890 {
on (release) {
if (_root.talkGuy != 1 && _root.talkGuy2 != 1) {
gotoAndPlay(421);
}
}
}
instance tippy8 of movieClip 8310 {
onClipEvent (load) {
if (_root.helpModeOn == 1) {
this.gotoAndStop(2);
}
}
}
frame 412 {
gotoAndPlay(411);
}
frame 413 {
if (_root.helpModeOn == 1 && _root.woof5.hitTest(_root.weaponGet)) {
_root.tippy9.gotoAndStop(3);
} else {
if (_root.helpModeOn == 1 && _root.woof5.hitTest(_root.dudey1)) {
_root.tippy9.gotoAndStop(4);
} else {
if (_root.helpModeOn == 1) {
_root.tippy9.gotoAndStop(2);
}
}
}
if (_root.chest4 == 1) {
_root.chesto2.gotoAndStop(2);
}
if (_root.goNess == 1) {
_root.goNess = 0;
gotoAndPlay(415);
} else {
if (_root.woof5.hitTest(_root.backah2)) {
backFrom = 1;
gotoAndPlay(411);
}
}
}
instance chesto2 of movieClip 8012 {
onClipEvent (load) {
if (_root.chest4 == 1 && _root.minutos2 <= _root.clockMinutes && _root.hoursos2 <= _root.clockHours) {
_root.chest4 = 0;
this.gotoAndStop(1);
}
}
}
movieClip 8904 {
frame 1 {
if (_root.talkGuy == 1) {
gotoAndPlay(3);
} else {
if (_root.talkGuy2 != 1) {
attack = random(7) + 1;
switch (attack) {
case 1:
_root.say = 'Don\'t give up man.';
break;
case 2:
_root.say = 'If you are having difficulty, look at the tutorial.';
break;
case 3:
_root.say = 'Be sure to level up, and use your skill points!';
break;
case 4:
_root.say = 'You are truely our only hope.';
break;
case 5:
_root.say = 'I wish you success on your venture.';
break;
case 6:
_root.say = 'You can do this...just think positivly.';
break;
case 7:
_root.say = 'Heal the world!';
}
}
}
}
frame 2 {
gotoAndPlay(1);
}
frame 7 {
gotoAndPlay(1);
}
}
instance woof5 of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.chesto2) && _root.chest4 != 1) {
_root.chest4 = 1;
_root.talkMenu = 1;
_root.talkGuy2 = 1;
_root.minutos2 = _root.clockMinutes + 10;
_root.hoursos2 = 0;
_root.sound1.attachSound('box');
_root.sound1.start();
if (_root.minutos2 >= 60) {
_root.minutos2 -= 60;
_root.hoursos2 = _root.clockHours + 1;
}
_root.talky.gotoAndStop(12);
_root.chesto2.gotoAndStop(2);
attack = random(5) + 1;
switch (attack) {
case 1:
_root.potion += 1;
_root.say = 'You got a potion!';
break;
case 2:
_root.elixir += 1;
_root.say = 'You got an elixir!';
break;
case 3:
coinage = random(500) + 700;
_root.money += coinage;
_root.say = 'You got ' + coinage + ' coins!';
break;
case 4:
_root.revive += 1;
_root.say = 'You got a revive!';
break;
case 5:
_root.xpotion += 1;
_root.say = 'You got an xpotion!!';
}
} else {
if (this.hitTest(_root.weaponGet)) {
_root.talkMenu = 0;
_root.talkGuy2 = 0;
_root.talkGuy = 0;
_root.goNess = 1;
} else {
if (_root.talkMenu == 0) {
if (this.hitTest(_root.dudey1)) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
gotoAndStop(16);
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
_root.talkGuy2 = 0;
tellTarget ('_root.talky') {
gotoAndStop(1);
}
}
}
}
}
onClipEvent (load) {
if (_level0.justStat == 1) {
_level0.justStat = 0;
eval(_root.woof5)._x = _root.saveX;
eval(_root.woof5)._y = _root.saveY;
} else {
if (_root.storeleave == 1) {
_root.storeleave = 0;
eval(_root.woof5)._x = 392.6;
eval(_root.woof5)._y = 261.4;
}
}
_root.saveX = this._x;
_root.saveY = this._y;
this.barUp = 228;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1 || _root.talkGuy2 == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
this._y -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y > 364.7) {
this._y = 364.6;
}
if (this._y < this.barUp) {
this._y = this.barUp + 0.1;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 8905 {
on (keyPress '<Space>') {
area100 = 1;
gotoAndPlay(460);
}
on (keyPress 'q') {
_root.qualFun();
}
}
instance tippy9 of movieClip 8310 {
onClipEvent (load) {
if (_root.helpModeOn == 1) {
this.gotoAndStop(2);
}
}
}
frame 414 {
gotoAndPlay(413);
}
frame 415 {
if (_root.chest5 == 1) {
_root.chesto1.gotoAndStop(2);
}
if (_root.workJah.hitTest(_root.leaveStore)) {
storeleave = 1;
gotoAndPlay(413);
}
}
movieClip 8914 {
frame 1 {
stop();
}
}
instance workJah of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.chesto1)) {
if (_root.chest5 != 1) {
_root.chest5 = 1;
_root.talkGuy = 1;
_root.sound1.attachSound('box');
_root.sound1.start();
_root.talky2.gotoAndStop(12);
_root.chesto1.gotoAndStop(2);
attack = random(5) + 1;
switch (attack) {
case 1:
_root.strengthPotion += 1;
_root.say = 'You got a Strength Potion!!';
break;
case 2:
_root.elixir += 1;
_root.say = 'You got an elixir!';
break;
case 3:
coinage = random(700) + 900;
_root.money += coinage;
_root.say = 'You got ' + coinage + ' coins!';
break;
case 4:
_root.lifePotion += 1;
_root.say = 'You got a life potion!!';
break;
case 5:
_root.xpotion += 1;
_root.say = 'You got an xpotion!!';
}
} else {
_root.talky2.gotoAndStop(1);
_root.talkGuy = 0;
}
} else {
if (this.hitTest(_root.dudeMan)) {
_root.buyMen.gotoAndStop(8);
_root.talkGuy = 1;
_root.dudeMan.gotoAndPlay(2);
} else {
if (_root.talkMenu != 1) {
if (this.hitTest(_root.guy3)) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
daynight = new Date();
dayframe = daynight.getHours() + 1;
if (dayframe >= 1 && dayframe <= 6) {
gotoAndStop(4);
} else {
if (dayframe >= 20 && dayframe <= 24) {
gotoAndStop(4);
} else {
gotoAndStop(3);
}
}
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky') {
gotoAndStop(1);
}
}
}
}
}
onClipEvent (load) {
_root.saveX = this._x;
_root.saveY = this._y;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
this._y -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
frame 416 {
gotoAndPlay(415);
}
frame 417 {
if (_root.helpModeOn == 1 && _root.blah1.hitTest(_root.newItems)) {
_root.tippy10.gotoAndStop(3);
} else {
if (_root.helpModeOn == 1 && _root.blah1.hitTest(_root.guyo1)) {
_root.tippy10.gotoAndStop(4);
} else {
if (_root.helpModeOn == 1) {
_root.tippy10.gotoAndStop(2);
}
}
}
if (_root.story == 4) {
gotoAndPlay(111);
} else {
if (_root.soundOn != 1 && _root.musicOff != 1) {
_root.soundOn = 1;
_root.townMusOn = 1;
_root.townMusOn2 = 0;
_root.sound1.attachSound('town1');
_root.sound1.start(0, 65000);
}
}
if (_root.blah1.hitTest(_root.backMapy)) {
_root.backFromTown3 = 1;
_root.stopMove22 = 1;
gotoAndPlay(482);
} else {
if (_root.blah1.hitTest(_root.forwad1)) {
gotoAndPlay(423);
} else {
if (_root.goNess == 1) {
_root.goNess = 0;
gotoAndPlay(419);
}
}
}
}
movieClip 8926 {
frame 1 {
if (_root.talkGuy == 1) {
gotoAndPlay(3);
} else {
attack = random(7) + 1;
switch (attack) {
case 1:
_root.say = 'Some say that this town is haunted.';
break;
case 2:
_root.say = 'This town is creepy.';
break;
case 3:
_root.say = 'Maybe you should leave.';
break;
case 4:
_root.say = 'You can buy rare items at the store.';
break;
case 5:
_root.say = 'I wish this town was brighter.';
break;
case 6:
_root.say = 'Why stay here?';
break;
case 7:
_root.say = 'Get away from this place...it\'s a bad place to be.';
}
}
}
frame 2 {
gotoAndPlay(1);
}
frame 7 {
gotoAndPlay(1);
}
}
instance blah1 of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.newItems)) {
_root.goNess = 1;
} else {
if (_root.talkMenu == 0) {
if (this.hitTest(_root.guyo1)) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
gotoAndStop(17);
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky') {
gotoAndStop(1);
}
}
}
}
onClipEvent (load) {
if (_root.storeleave == 1) {
_root.storeleave = 0;
eval(_root.blah1)._x = 392.6;
eval(_root.blah1)._y = 261.4;
} else {
if (_root.backHah == 1) {
_root.backHah = 0;
eval(_root.blah1)._x = 534.4;
eval(_root.blah1)._y = 250;
} else {
if (_level0.justStat == 1) {
_level0.justStat = 0;
eval(_root.blah1)._x = _root.saveX;
eval(_root.blah1)._y = _root.saveY;
}
}
}
_root.saveX = this._x;
_root.saveY = this._y;
if (_root.townMusOn != 1) {
_root.soundOn = 0;
stopAllSounds();
}
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
this._y -= 19;
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 8927 {
on (keyPress '<Space>') {
area101 = 1;
gotoAndPlay(460);
}
on (keyPress 'q') {
_root.qualFun();
}
}
button 8929 {
on (release) {
if (_root.talkGuy != 1) {
gotoAndPlay(419);
}
}
}
button 8930 {
on (release) {
if (_root.talkGuy != 1 && _root.talkGuy2 != 1) {
_root.backFromTown3 = 1;
gotoAndPlay(482);
}
}
}
button 8932 {
on (release) {
if (_root.talkGuy != 1) {
gotoAndPlay(427);
}
}
}
instance tippy10 of movieClip 8310 {
onClipEvent (load) {
if (_root.helpModeOn == 1) {
this.gotoAndStop(2);
}
}
}
frame 418 {
gotoAndPlay(417);
}
frame 419 {
if (_root.workJah.hitTest(_root.leaveStore)) {
storeleave = 1;
gotoAndPlay(417);
}
}
movieClip 8947 {
frame 1 {
stop();
}
}
instance workJah of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.chesto1)) {
if (_root.chest5 != 1) {
_root.chest5 = 1;
_root.talkGuy = 1;
_root.talky2.gotoAndStop(12);
_root.chesto1.gotoAndStop(2);
attack = random(5) + 1;
switch (attack) {
case 1:
_root.strengthPotion += 1;
_root.say = 'You got a Strength Potion!!';
break;
case 2:
_root.elixir += 1;
_root.say = 'You got an elixir!';
break;
case 3:
coinage = random(700) + 900;
_root.money += coinage;
_root.say = 'You got ' + coinage + ' coins!';
break;
case 4:
_root.lifePotion += 1;
_root.say = 'You got a life potion!!';
break;
case 5:
_root.xpotion += 1;
_root.say = 'You got an xpotion!!';
}
} else {
_root.talky2.gotoAndStop(1);
_root.talkGuy = 0;
}
} else {
if (this.hitTest(_root.dudeMan3)) {
_root.buyMen.gotoAndStop(10);
_root.talkGuy = 1;
_root.dudeMan3.gotoAndPlay(2);
} else {
if (_root.talkMenu != 1) {
if (this.hitTest(_root.guy3)) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
daynight = new Date();
dayframe = daynight.getHours() + 1;
if (dayframe >= 1 && dayframe <= 6) {
gotoAndStop(4);
} else {
if (dayframe >= 20 && dayframe <= 24) {
gotoAndStop(4);
} else {
gotoAndStop(3);
}
}
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky') {
gotoAndStop(1);
}
}
}
}
}
onClipEvent (load) {
_root.saveX = this._x;
_root.saveY = this._y;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
this._y -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
frame 420 {
gotoAndPlay(419);
}
frame 421 {
if (_root.story == 2) {
gotoAndPlay(83);
} else {
if (_root.story == 17) {
gotoAndPlay(362);
}
}
if (_root.workJah2.hitTest(_root.leaveStore)) {
storeleave = 1;
gotoAndPlay(401);
}
}
instance workJah2 of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (_root.talkMenu == 0) {
if (this.hitTest(_root.guyLad)) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
gotoAndStop(18);
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky') {
gotoAndStop(1);
}
}
}
onClipEvent (load) {
_root.saveX = this._x;
_root.saveY = this._y;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
this._y -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
frame 422 {
gotoAndPlay(421);
}
frame 423 {
if (_root.helpModeOn == 1 && _root.blah4.hitTest(_root.guyhe)) {
_root.tippy11.gotoAndStop(4);
} else {
if (_root.helpModeOn == 1) {
_root.tippy11.gotoAndStop(2);
}
}
if (_root.blah4.hitTest(_root.backolamas)) {
backHah = 1;
gotoAndPlay(417);
} else {
if (_root.blah4.hitTest(_root.forwad2)) {
gotoAndPlay(425);
}
}
}
movieClip 8957 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
instance tomb1 of movieClip 8957 {
onClipEvent (load) {
if (_root.tomb1Activate == 1) {
gotoAndStop(385);
}
}
}
movieClip 8968 {
frame 1 {
if (_root.talkGuy == 1) {
gotoAndPlay(3);
} else {
if (_root.talkGuy2 != 1) {
attack = random(7) + 1;
switch (attack) {
case 1:
_root.say = 'This town is spooky.';
break;
case 2:
_root.say = 'There are weird people here.';
break;
case 3:
_root.say = 'Legends say that strange things go on here...';
break;
case 4:
_root.say = 'Why are you here?';
break;
case 5:
_root.say = 'I wish I could move...but I can\'t...';
break;
case 6:
_root.say = 'Get out of this town while you still can!';
break;
case 7:
_root.say = 'This town was destroyed in the last time of evil...';
}
}
}
}
frame 2 {
gotoAndPlay(1);
}
frame 7 {
gotoAndPlay(1);
}
}
instance blah4 of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.tomb1) && _root.tomb1Activate != 1) {
_root.tomb1.gotoAndPlay(2);
_root.tomb1Activate = 1;
} else {
if (_root.talkMenu == 0) {
if (this.hitTest(_root.guyhe)) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky2') {
gotoAndStop(19);
}
} else {
if (this.hitTest(_root.tomb1) && _root.tomb1Activate == 1 && _root.talkGuy2 != 1) {
_root.talkGuy2 = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky2') {
gotoAndStop(23);
}
if (_root.story == 14) {
_root.story = 15;
}
if (_root.jerarmsItem == 1) {
_root.say = 'The symbols say to know the evil best, one may betray, that will be the test, for when the Ultimates are finally done, everything will be peaceful under the sun...to get in to the mountain of evil, simply know that you know all, and proclaim the words \'I will stand tall\'';
} else {
_root.say = 'I can\'t make out what the symbols say...';
}
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy2 = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky2') {
gotoAndStop(1);
}
}
}
}
onClipEvent (load) {
if (_root.backHah == 1) {
_root.backHah = 0;
eval(_root.blah4)._x = 534.4;
eval(_root.blah4)._y = 250;
} else {
if (_level0.justStat == 1) {
_level0.justStat = 0;
eval(_root.blah4)._x = _root.saveX;
eval(_root.blah4)._y = _root.saveY;
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1 || _root.talkGuy2 == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
this._y -= 19;
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 8969 {
on (keyPress '<Space>') {
area102 = 1;
gotoAndPlay(460);
}
on (keyPress 'q') {
_root.qualFun();
}
}
instance tippy11 of movieClip 8310 {
onClipEvent (load) {
if (_root.helpModeOn == 1) {
this.gotoAndStop(2);
}
}
}
frame 424 {
gotoAndPlay(423);
}
frame 425 {
if (_root.helpModeOn == 1 && _root.blah5.hitTest(_root.guyo)) {
_root.tippy11.gotoAndStop(4);
} else {
if (_root.helpModeOn == 1 && _root.blah5.hitTest(_root.itomes)) {
_root.tippy11.gotoAndStop(3);
} else {
if (_root.helpModeOn == 1) {
_root.tippy11.gotoAndStop(2);
}
}
}
if (_root.goNess == 1) {
_root.goNess = 0;
gotoAndPlay(427);
} else {
if (_root.blah5.hitTest(_root.backoff)) {
backHah = 1;
gotoAndPlay(423);
}
}
if (_root.blah5.hitTest(_root.goheHah)) {
gotoAndPlay('ching');
}
}
movieClip 8983 {
frame 1 {
if (_root.talkGuy == 1) {
gotoAndPlay(3);
} else {
attack = random(7) + 1;
switch (attack) {
case 1:
_root.say = 'Most of this town was destroyed a long time ago...';
break;
case 2:
_root.say = 'A creapy old man lives deeper in town.';
break;
case 3:
_root.say = 'The mist outside is getting thicker...';
break;
case 4:
_root.say = 'I\'ve lived here all of my life, I hope the monsters don\'t destroy this place again.';
break;
case 5:
_root.say = 'If only the hero were still around today...';
break;
case 6:
_root.say = 'Nobody knows what will happen...';
break;
case 7:
_root.say = 'Please help us!';
}
}
}
frame 2 {
gotoAndPlay(1);
}
frame 7 {
gotoAndPlay(1);
}
}
instance blah5 of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.itomes)) {
_root.goNess = 1;
} else {
if (_root.talkMenu == 0) {
if (this.hitTest(_root.guyo)) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky2') {
gotoAndStop(21);
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky2') {
gotoAndStop(1);
}
}
}
}
onClipEvent (load) {
if (_root.storeLeave == 1) {
_root.storeLeave = 0;
eval(_root.blah5)._x = 170.5;
eval(_root.blah5)._y = 181.4;
} else {
if (_root.backHah == 1) {
_root.backHah = 0;
eval(_root.blah5)._x = 534.4;
eval(_root.blah5)._y = 250;
} else {
if (_level0.justStat == 1) {
_level0.justStat = 0;
eval(_root.blah5)._x = _root.saveX;
eval(_root.blah5)._y = _root.saveY;
}
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
this._y -= 19;
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 8984 {
on (keyPress '<Space>') {
area103 = 1;
gotoAndPlay(460);
}
on (keyPress 'q') {
_root.qualFun();
}
}
frame 426 {
gotoAndPlay(425);
}
frame 427 {
if (_root.workJah.hitTest(_root.leaveo)) {
_root.storeLeave = 1;
gotoAndPlay(425);
}
}
movieClip 8999 {
frame 1 {
stop();
}
}
instance workJah of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.dudeMan3)) {
_root.buyMen.gotoAndStop(11);
_root.talkGuy = 1;
_root.dudeMan3.gotoAndPlay(2);
} else {
if (_root.talkMenu != 1) {
if (this.hitTest(_root.guy3)) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
daynight = new Date();
dayframe = daynight.getHours() + 1;
if (dayframe >= 1 && dayframe <= 6) {
gotoAndStop(4);
} else {
if (dayframe >= 20 && dayframe <= 24) {
gotoAndStop(4);
} else {
gotoAndStop(3);
}
}
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky') {
gotoAndStop(1);
}
}
}
}
onClipEvent (load) {
_root.saveX = this._x;
_root.saveY = this._y;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
this._y -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
frame 428 {
gotoAndPlay(427);
}
frame 429 {
if (_root.helpModeOn == 1 && _root.woofle.hitTest(_root.guyHouse)) {
_root.tippy12.gotoAndStop(3);
} else {
if (_root.helpModeOn == 1) {
_root.tippy12.gotoAndStop(2);
}
}
if (_root.story == 13) {
gotoAndPlay(249);
} else {
if (_root.story == 5) {
gotoAndPlay(138);
} else {
if (_root.goNess == 1) {
_root.goNess = 0;
gotoAndPlay(431);
} else {
if (_root.woofle.hitTest(gobacky)) {
backHah = 1;
gotoAndPlay(425);
}
}
}
}
}
instance chesto1 of movieClip 8012 {
onClipEvent (load) {
if (_root.gottsIt == 1) {
this.gotoAndStop(2);
}
some = random(20) + 1;
switch (some) {
case 5:
case 9:
this._visible = true;
blee = 1;
break;
default:
this._visible = false;
}
}
}
instance metal of movieClip 8689 {
onClipEvent (load) {
if (_root.story != 7 || _root.gotIt3 == 1) {
this._name = 'deeeee';
this._visible = false;
}
}
}
instance woofle of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.metal) && _root.gotIt3 != 1) {
_root.gotIt3 = 1;
_root.talkGuy = 1;
_root.metal._visible = false;
_root.herosItem += 1;
if (_root.herosItem == 3) {
_root.story = 8;
_root.say = 'You found all three hero\'s metals!!';
} else {
_root.say = 'You found a hero\'s metal!!';
}
_root.talky2.gotoAndStop(24);
} else {
if (this.hitTest(_root.guyHouse)) {
_root.goNess = 1;
} else {
if (this.hitTest(_root.chesto1) && _root.gottsIt != 1 && _root.chesto1.blee == 1) {
_root.talkGuy = 1;
_root.gottsIt = 1;
_root.talky2.gotoAndStop(12);
_root.chesto1.gotoAndStop(2);
_root.sound1.attachSound('box');
_root.sound1.start();
attack = random(8) + 1;
switch (attack) {
case 1:
if (_root.stickCourage != 1) {
_root.stickCourage = 1;
_root.say = 'You got Stickington\'s Courage!';
} else {
_root.ether += 1;
_root.say = 'You got an ether!';
}
break;
case 2:
_root.elixir += 1;
_root.say = 'You got an elixir!';
break;
case 3:
coinage = random(500) + 700;
_root.money += coinage;
_root.say = 'You got ' + coinage + ' coins!';
break;
case 4:
_root.magicPotion += 1;
_root.say = 'You got a Potion of Magic!';
break;
case 5:
_root.xpotion += 1;
_root.say = 'You got an xpotion!!';
break;
default:
_root.potion += 1;
_root.say = 'You got a potion!';
}
} else {
_root.talky2.gotoAndStop(1);
_root.talkGuy = 0;
}
}
}
}
onClipEvent (load) {
if (_root.storeleave == 1) {
_root.storeleave = 0;
_root.woofle._x = 363.1;
_root.woofle._y = 177.9;
} else {
if (_level0.justStat == 1) {
_level0.justStat = 0;
eval(_root.woofle)._x = _root.saveX;
eval(_root.woofle)._y = _root.saveY;
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
if (this._x > 452.1) {
this._x = 452;
}
this._y -= 19;
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
if (this._x > 452.1) {
this._x = 452;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
if (this._x > 452.1) {
this._x = 452;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
if (this._x > 452.1) {
this._x = 452;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
if (this._x > 452.1) {
this._x = 452;
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
if (this._x > 452.1) {
this._x = 452;
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9002 {
on (keyPress '<Space>') {
area104 = 1;
gotoAndPlay(460);
}
on (keyPress 'q') {
_root.qualFun();
}
}
instance tippy12 of movieClip 8310 {
onClipEvent (load) {
if (_root.helpModeOn == 1) {
this.gotoAndStop(2);
}
}
}
frame 430 {
gotoAndPlay(429);
}
frame 431 {
if (_root.workJah2.hitTest(_root.leavo)) {
storeleave = 1;
gotoAndPlay(429);
}
}
movieClip 9015 {
frame 1 {
if (_root.talkGuy == 1) {
gotoAndPlay(3);
} else {
attack = random(4) + 1;
if (_root.story >= 17) {
switch (attack) {
case 1:
_root.say = 'Shinody was a good man, but the mist just clouded his mind and his judgement.';
break;
case 2:
_root.say = 'After Jerarm destroyed the Ultimate Evil, it must have cursed Shinody so that one day he would become the ultimate evil.';
break;
case 3:
_root.say = 'Shinody\'s death will be remembered just like Jerarm\'s was...';
break;
case 4:
_root.say = 'I am very grateful that you two made the mist disappear. Your adventure will be remembered for a long long time...';
}
} else {
_root.say = 'Find out the secrets of the sacred wall, and you will prosper.';
}
}
}
frame 2 {
gotoAndPlay(1);
}
frame 7 {
gotoAndPlay(1);
}
}
instance workJah2 of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (_root.talkMenu == 0) {
if (this.hitTest(_root.guyLad)) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky2') {
gotoAndStop(22);
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky2') {
gotoAndStop(1);
}
}
}
onClipEvent (load) {
_root.saveX = this._x;
_root.saveY = this._y;
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
this._y -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
if (this._x < 29) {
this._x = 29.1;
}
if (this._x > 500.9) {
this._x = 500.8;
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y < 213.2) {
this._y = 213.3;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
frame 432 {
gotoAndPlay(431);
}
frame 433 {
if (_root.soundOn != 1 && _root.musicOff != 1) {
_root.soundOn = 1;
_root.townMusOn = 1;
_root.townMusOn2 = 0;
_root.sound1.attachSound('saddy');
_root.sound1.start(0, 65000);
}
if (_root.fight2 > 93) {
tellTarget ('_root.fightfight') {
gotoAndPlay(2);
}
_root.battleNow = 1;
_root.fight2 = 0;
_root.stopMove = 1;
_root.battleOh = 1;
}
if (_root.battleOh == 2) {
_root.battleOh = 0;
_root.soundOn = 0;
stopAllSounds();
_root.battleIt();
} else {
if (_root.you3.hitTest(_root.goBackoMap)) {
_root.backFromCem = 1;
_root.stopMove22 = 1;
gotoAndPlay(482);
} else {
if (_root.you3.hitTest(_root.goForwad)) {
mootle = 1;
gotoAndPlay(435);
}
}
}
}
instance you3 of movieClip 8095 {
onClipEvent (load) {
if (_root.mooty == 1) {
_root.mooty = 0;
eval(_root.you3)._x = 479.8;
eval(_root.you3)._y = 220.9;
} else {
if (_root.savemap == 1) {
_root.savemap = 0;
eval(_root.you3)._x = _root.saveX2;
eval(_root.you3)._y = _root.saveY2;
}
}
_root.saveX2 = this._x;
_root.saveY2 = this._y;
this.boundsUp = 132.9;
if (_root.townMusOn != 1) {
stopAllSounds();
_root.soundOn = 0;
}
}
onClipEvent (enterFrame) {
if (_root.stopMove == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
if (_root.ocean.hitTest((getBounds(_root)).xMax, _y, true) || _root.ocean.hitTest(_x, (getBounds(_root)).yMin, true)) {
} else {
this._x += 11 + _root.speedShoes * 5;
this.gotoAndStop(6);
this._y -= 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
_root.saveX2 = this._x;
_root.saveY2 = this._y;
_root.fight2 += 3.5;
}
} else {
if (Key.isDown(38) && Key.isDown(37)) {
if (_root.ocean.hitTest((getBounds(_root)).xMin, _y, true) || _root.ocean.hitTest(_x, (getBounds(_root)).yMin, true)) {
} else {
this._x -= 11 + _root.speedShoes * 5;
this._y -= 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
_root.saveX2 = this._x;
_root.saveY2 = this._y;
_root.fight2 += 3.5;
this.gotoAndStop(6);
}
} else {
if (Key.isDown(40) && Key.isDown(39)) {
if (_root.ocean.hitTest((getBounds(_root)).xMax, _y, true) || _root.ocean.hitTest(_x, (getBounds(_root)).yMax, true)) {
} else {
this._y += 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
this._x += 11 + _root.speedShoes * 5;
_root.saveX2 = this._x;
_root.saveY2 = this._y;
_root.fight2 += 3.5;
this.gotoAndStop(3);
}
} else {
if (Key.isDown(40) && Key.isDown(37)) {
if (_root.ocean.hitTest(_x, (getBounds(_root)).yMax, true) || _root.ocean.hitTest((getBounds(_root)).xMin, _y, true)) {
} else {
this._y += 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
this._x -= 11 + _root.speedShoes * 5;
_root.saveX2 = this._x;
_root.saveY2 = this._y;
_root.fight2 += 3.5;
this.gotoAndStop(4);
}
} else {
if (Key.isDown(39)) {
if (_root.ocean.hitTest((getBounds(_root)).xMax, _y, true)) {
} else {
this._x += 11 + _root.speedShoes * 5;
_root.saveX2 = this._x;
_root.fight2 += 3.5;
this.gotoAndStop(3);
}
} else {
if (Key.isDown(37)) {
if (_root.ocean.hitTest((getBounds(_root)).xMin, _y, true)) {
} else {
this._x -= 11 + _root.speedShoes * 5;
_root.saveX2 = this._x;
_root.fight2 += 3.5;
this.gotoAndStop(4);
}
} else {
if (Key.isDown(38)) {
if (_root.ocean.hitTest(_x, (getBounds(_root)).yMin, true)) {
} else {
this._y -= 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
_root.saveY2 = this._y;
_root.fight2 += 3.5;
this.gotoAndStop(6);
}
} else {
if (Key.isDown(40)) {
if (_root.ocean.hitTest(_x, (getBounds(_root)).yMax, true)) {
} else {
this._y += 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
_root.saveY2 = this._y;
_root.fight2 += 3.5;
this.gotoAndStop(3);
}
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9018 {
on (release) {
_root.backFromCem = 1;
gotoAndPlay(482);
}
}
button 9019 {
on (keyPress 'q') {
_root.qualFun();
}
on (keyPress '<Space>') {
if (_root.battleOh != 1) {
_root.cemy1 = 1;
_root.savemap = 1;
gotoAndPlay(460);
}
}
}
frame 434 {
gotoAndPlay(433);
}
frame 435 {
if (_root.soundOn != 1 && _root.musicOff != 1) {
_root.soundOn = 1;
_root.townMusOn = 1;
_root.sound1.attachSound('saddy');
_root.sound1.start(0, 65000);
}
if (_root.battleOh == 2) {
_root.battleOh = 0;
_root.soundOn = 0;
stopAllSounds();
_root.battleIt();
} else {
if (_root.fight2 > 93) {
tellTarget ('_root.fightfight') {
gotoAndPlay(2);
}
_root.fight2 = 0;
_root.battleNow2 = 1;
_root.stopMove = 1;
_root.battleOh = 1;
} else {
if (_root.you5.hitTest(_root.goBackoLast)) {
mooty = 1;
gotoAndPlay(433);
} else {
if (_root.you5.hitTest(_root.goFurthur)) {
mootle = 1;
gotoAndPlay(437);
}
}
}
}
}
instance chesto1 of movieClip 8012 {
onClipEvent (load) {
if (_root.gottsIt2 == 1) {
this.gotoAndStop(2);
}
some = random(20) + 1;
switch (some) {
case 5:
case 9:
this._visible = true;
blee = 1;
break;
default:
this._visible = false;
}
}
}
instance metal of movieClip 8689 {
onClipEvent (load) {
if (_root.story != 7 || _root.gotIt1 == 1) {
this._name = 'deeeee';
this._visible = false;
}
}
}
instance you5 of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.metal) && _root.gotIt1 != 1) {
_root.gotIt1 = 1;
_root.metal._visible = false;
_root.talkGuy = 1;
_root.herosItem += 1;
if (_root.herosItem == 3) {
_root.story = 8;
_root.say = 'You found all three hero\'s metals!!';
} else {
_root.say = 'You found a hero\'s metal!!';
}
_root.talky2.gotoAndStop(24);
} else {
if (this.hitTest(_root.chesto1) && _root.gottsIt2 != 1 && _root.chesto1.blee == 1) {
_root.talkGuy = 1;
_root.gottsIt2 = 1;
_root.talky2.gotoAndStop(12);
_root.chesto1.gotoAndStop(2);
_root.chesto1._name = 'noGet';
_root.sound1.attachSound('box');
_root.sound1.start();
attack = random(8) + 1;
switch (attack) {
case 1:
if (_root.docStickItem != 1) {
_root.docStickItem = 1;
_root.say = 'You got Evil Doctor Stick\'s Potion!';
} else {
_root.ether += 1;
_root.say = 'You got an ether!';
}
break;
case 2:
_root.elixir += 1;
_root.say = 'You got an elixir!';
break;
case 3:
coinage = random(500) + 700;
_root.money += coinage;
_root.say = 'You got ' + coinage + ' coins!';
break;
case 4:
_root.revive += 1;
_root.say = 'You got a revive!';
break;
case 5:
_root.xpotion += 1;
_root.say = 'You got an xpotion!!';
break;
default:
_root.potion += 1;
_root.say = 'You got a potion!';
}
} else {
_root.talky2.gotoAndStop(1);
_root.talkGuy = 0;
}
}
}
onClipEvent (load) {
if (_root.mootle == 1) {
_root.mootle = 0;
eval(_root.you5)._x = 20.9;
eval(_root.you5)._y = 220.9;
} else {
if (_root.mooty == 1) {
_root.mooty = 0;
eval(_root.you5)._x = 479.8;
eval(_root.you5)._y = 220.9;
} else {
if (_root.savemap == 1) {
_root.savemap = 0;
eval(_root.you5)._x = _root.saveX2;
eval(_root.you5)._y = _root.saveY2;
}
}
}
_root.saveX2 = this._x;
_root.saveY2 = this._y;
this.boundsUp = 110.5;
if (_root.townMusOn != 1) {
_root.soundOn = 0;
}
}
onClipEvent (enterFrame) {
if (_root.stopMove == 1 || _root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
if (_root.ocean.hitTest((getBounds(_root)).xMax, _y, true) || _root.ocean.hitTest(_x, (getBounds(_root)).yMin, true)) {
} else {
this._x += 11 + _root.speedShoes * 5;
this.gotoAndStop(6);
this._y -= 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
_root.saveX2 = this._x;
_root.saveY2 = this._y;
_root.fight2 += 3.5;
}
} else {
if (Key.isDown(38) && Key.isDown(37)) {
if (_root.ocean.hitTest((getBounds(_root)).xMin, _y, true) || _root.ocean.hitTest(_x, (getBounds(_root)).yMin, true)) {
} else {
this._x -= 11 + _root.speedShoes * 5;
this._y -= 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
_root.saveX2 = this._x;
_root.saveY2 = this._y;
_root.fight2 += 3.5;
this.gotoAndStop(6);
}
} else {
if (Key.isDown(40) && Key.isDown(39)) {
if (_root.ocean.hitTest((getBounds(_root)).xMax, _y, true) || _root.ocean.hitTest(_x, (getBounds(_root)).yMax, true)) {
} else {
this._y += 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
this._x += 11 + _root.speedShoes * 5;
_root.saveX2 = this._x;
_root.saveY2 = this._y;
_root.fight2 += 3.5;
this.gotoAndStop(3);
}
} else {
if (Key.isDown(40) && Key.isDown(37)) {
if (_root.ocean.hitTest(_x, (getBounds(_root)).yMax, true) || _root.ocean.hitTest((getBounds(_root)).xMin, _y, true)) {
} else {
this._y += 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
this._x -= 11 + _root.speedShoes * 5;
_root.saveX2 = this._x;
_root.saveY2 = this._y;
_root.fight2 += 3.5;
this.gotoAndStop(4);
}
} else {
if (Key.isDown(39)) {
if (_root.ocean.hitTest((getBounds(_root)).xMax, _y, true)) {
} else {
this._x += 11 + _root.speedShoes * 5;
_root.saveX2 = this._x;
_root.fight2 += 3.5;
this.gotoAndStop(3);
}
} else {
if (Key.isDown(37)) {
if (_root.ocean.hitTest((getBounds(_root)).xMin, _y, true)) {
} else {
this._x -= 11 + _root.speedShoes * 5;
_root.saveX2 = this._x;
_root.fight2 += 3.5;
this.gotoAndStop(4);
}
} else {
if (Key.isDown(38)) {
if (_root.ocean.hitTest(_x, (getBounds(_root)).yMin, true)) {
} else {
this._y -= 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
_root.saveY2 = this._y;
_root.fight2 += 3.5;
this.gotoAndStop(6);
}
} else {
if (Key.isDown(40)) {
if (_root.ocean.hitTest(_x, (getBounds(_root)).yMax, true)) {
} else {
this._y += 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
_root.saveY2 = this._y;
_root.fight2 += 3.5;
this.gotoAndStop(3);
}
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9021 {
on (keyPress 'q') {
_root.qualFun();
}
on (keyPress '<Space>') {
if (_root.battleOh != 1) {
_root.cemy2 = 1;
_root.savemap = 1;
gotoAndPlay(460);
}
}
}
frame 436 {
gotoAndPlay(435);
}
frame 437 {
if (_root.soundOn != 1 && _root.musicOff != 1) {
_root.soundOn = 1;
_root.townMusOn = 1;
_root.sound1.attachSound('saddy');
_root.sound1.start(0, 65000);
}
if (_root.battleOh == 2) {
_root.battleOh = 0;
_root.soundOn = 0;
stopAllSounds();
_root.battleIt();
}
if (_root.you4.hitTest(_root.meGo)) {
gotoAndPlay(439);
} else {
if (_root.fight2 > 93) {
_root.battleNow3 = 1;
tellTarget ('_root.fightfight') {
gotoAndPlay(2);
}
_root.fight2 = 0;
_root.stopMove = 1;
_root.battleOh = 1;
}
}
if (_root.you4.hitTest(_root.elBacko)) {
mooty = 1;
gotoAndPlay(435);
}
}
instance you4 of movieClip 8095 {
onClipEvent (load) {
if (_root.gotBack == 1) {
_root.gotBack = 0;
eval(_root.you4)._x = 479.3;
eval(_root.you4)._y = 257.1;
} else {
if (_root.savemap == 1) {
_root.savemap = 0;
eval(_root.you4)._x = _root.saveX2;
eval(_root.you4)._y = _root.saveY2;
} else {
if (_root.mootle == 1) {
_root.mootle = 0;
eval(_root.you4)._x = 20.9;
eval(_root.you4)._y = 220.9;
} else {
if (_root.mooty == 1) {
_root.mooty = 0;
eval(_root.you4)._x = 479.8;
eval(_root.you4)._y = 220.9;
}
}
}
}
_root.saveX2 = this._x;
_root.saveY2 = this._y;
this.boundsUp = 142.5;
if (_root.townMusOn != 1) {
_root.soundOn = 0;
}
}
onClipEvent (enterFrame) {
if (_root.stopMove == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
if (_root.ocean.hitTest((getBounds(_root)).xMax, _y, true) || _root.ocean.hitTest(_x, (getBounds(_root)).yMin, true)) {
} else {
this._x += 11 + _root.speedShoes * 5;
this.gotoAndStop(6);
this._y -= 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
_root.saveX2 = this._x;
_root.saveY2 = this._y;
_root.fight2 += 3.5;
}
} else {
if (Key.isDown(38) && Key.isDown(37)) {
if (_root.ocean.hitTest((getBounds(_root)).xMin, _y, true) || _root.ocean.hitTest(_x, (getBounds(_root)).yMin, true)) {
} else {
this._x -= 11 + _root.speedShoes * 5;
this._y -= 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
_root.saveX2 = this._x;
_root.saveY2 = this._y;
_root.fight2 += 3.5;
this.gotoAndStop(6);
}
} else {
if (Key.isDown(40) && Key.isDown(39)) {
if (_root.ocean.hitTest((getBounds(_root)).xMax, _y, true) || _root.ocean.hitTest(_x, (getBounds(_root)).yMax, true)) {
} else {
this._y += 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
this._x += 11 + _root.speedShoes * 5;
_root.saveX2 = this._x;
_root.saveY2 = this._y;
_root.fight2 += 3.5;
this.gotoAndStop(3);
}
} else {
if (Key.isDown(40) && Key.isDown(37)) {
if (_root.ocean.hitTest(_x, (getBounds(_root)).yMax, true) || _root.ocean.hitTest((getBounds(_root)).xMin, _y, true)) {
} else {
this._y += 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
this._x -= 11 + _root.speedShoes * 5;
_root.saveX2 = this._x;
_root.saveY2 = this._y;
_root.fight2 += 3.5;
this.gotoAndStop(4);
}
} else {
if (Key.isDown(39)) {
if (_root.ocean.hitTest((getBounds(_root)).xMax, _y, true)) {
} else {
this._x += 11 + _root.speedShoes * 5;
_root.saveX2 = this._x;
_root.fight2 += 3.5;
this.gotoAndStop(3);
}
} else {
if (Key.isDown(37)) {
if (_root.ocean.hitTest((getBounds(_root)).xMin, _y, true)) {
} else {
this._x -= 11 + _root.speedShoes * 5;
_root.saveX2 = this._x;
_root.fight2 += 3.5;
this.gotoAndStop(4);
}
} else {
if (Key.isDown(38)) {
if (_root.ocean.hitTest(_x, (getBounds(_root)).yMin, true)) {
} else {
this._y -= 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
_root.saveY2 = this._y;
_root.fight2 += 3.5;
this.gotoAndStop(6);
}
} else {
if (Key.isDown(40)) {
if (_root.ocean.hitTest(_x, (getBounds(_root)).yMax, true)) {
} else {
this._y += 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
_root.saveY2 = this._y;
_root.fight2 += 3.5;
this.gotoAndStop(3);
}
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9023 {
on (keyPress 'q') {
_root.qualFun();
}
on (keyPress '<Space>') {
if (_root.battleOh != 1) {
_root.cemy3 = 1;
_root.savemap = 1;
gotoAndPlay(460);
}
}
}
frame 438 {
gotoAndPlay(437);
}
frame 439 {
if (_root.soundOn != 1 && _root.musicOff != 1) {
_root.soundOn = 1;
_root.townMusOn = 1;
_root.sound1.attachSound('saddy');
_root.sound1.start(0, 65000);
}
if (_root.fight2 > 93) {
_root.battleNow4 = 1;
tellTarget ('_root.fightfight') {
gotoAndPlay(2);
}
_root.fight2 = 0;
_root.stopMove = 1;
_root.battleOh = 1;
}
if (_root.battleOh == 2) {
_root.battleOh = 0;
_root.soundOn = 0;
stopAllSounds();
_root.battleIt();
}
if (_root.you6.hitTest(_root.hahBack)) {
_root.gotBack = 1;
gotoAndPlay(437);
}
if (_root.you6.hitTest(_root.goeyNow)) {
gotoAndPlay(441);
}
}
instance you6 of movieClip 8095 {
onClipEvent (load) {
if (_root.savemap == 1) {
_root.savemap = 0;
eval(this)._x = _root.saveX2;
eval(this)._y = _root.saveY2;
} else {
if (_root.mooty == 1) {
_root.mooty = 0;
eval(this)._x = 479.8;
eval(this)._y = 220.9;
}
}
_root.saveX2 = this._x;
_root.saveY2 = this._y;
this.boundsUp = 144.4;
if (_root.townMusOn != 1) {
_root.soundOn = 0;
}
}
onClipEvent (enterFrame) {
if (_root.stopMove == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
if (_root.ocean.hitTest((getBounds(_root)).xMax, _y, true) || _root.ocean.hitTest(_x, (getBounds(_root)).yMin, true)) {
} else {
this._x += 11 + _root.speedShoes * 5;
this.gotoAndStop(6);
this._y -= 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
_root.saveX2 = this._x;
_root.saveY2 = this._y;
_root.fight2 += 3.5;
}
} else {
if (Key.isDown(38) && Key.isDown(37)) {
if (_root.ocean.hitTest((getBounds(_root)).xMin, _y, true) || _root.ocean.hitTest(_x, (getBounds(_root)).yMin, true)) {
} else {
this._x -= 11 + _root.speedShoes * 5;
this._y -= 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
_root.saveX2 = this._x;
_root.saveY2 = this._y;
_root.fight2 += 3.5;
this.gotoAndStop(6);
}
} else {
if (Key.isDown(40) && Key.isDown(39)) {
if (_root.ocean.hitTest((getBounds(_root)).xMax, _y, true) || _root.ocean.hitTest(_x, (getBounds(_root)).yMax, true)) {
} else {
this._y += 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
this._x += 11 + _root.speedShoes * 5;
_root.saveX2 = this._x;
_root.saveY2 = this._y;
_root.fight2 += 3.5;
this.gotoAndStop(3);
}
} else {
if (Key.isDown(40) && Key.isDown(37)) {
if (_root.ocean.hitTest(_x, (getBounds(_root)).yMax, true) || _root.ocean.hitTest((getBounds(_root)).xMin, _y, true)) {
} else {
this._y += 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
this._x -= 11 + _root.speedShoes * 5;
_root.saveX2 = this._x;
_root.saveY2 = this._y;
_root.fight2 += 3.5;
this.gotoAndStop(4);
}
} else {
if (Key.isDown(39)) {
if (_root.ocean.hitTest((getBounds(_root)).xMax, _y, true)) {
} else {
this._x += 11 + _root.speedShoes * 5;
_root.saveX2 = this._x;
_root.fight2 += 3.5;
this.gotoAndStop(3);
}
} else {
if (Key.isDown(37)) {
if (_root.ocean.hitTest((getBounds(_root)).xMin, _y, true)) {
} else {
this._x -= 11 + _root.speedShoes * 5;
_root.saveX2 = this._x;
_root.fight2 += 3.5;
this.gotoAndStop(4);
}
} else {
if (Key.isDown(38)) {
if (_root.ocean.hitTest(_x, (getBounds(_root)).yMin, true)) {
} else {
this._y -= 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
_root.saveY2 = this._y;
_root.fight2 += 3.5;
this.gotoAndStop(6);
}
} else {
if (Key.isDown(40)) {
if (_root.ocean.hitTest(_x, (getBounds(_root)).yMax, true)) {
} else {
this._y += 11 + _root.speedShoes * 5;
if (this._y < this.boundsUp) {
this._y = this.boundsUp + 0.1;
}
if (this._y > 318.9) {
this._y = 318.8;
}
_root.saveY2 = this._y;
_root.fight2 += 3.5;
this.gotoAndStop(3);
}
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9026 {
on (keyPress 'q') {
_root.qualFun();
}
on (keyPress '<Space>') {
if (_root.battleOh != 1) {
_root.cemy4 = 1;
_root.savemap = 1;
gotoAndPlay(460);
}
}
}
frame 440 {
gotoAndPlay(439);
}
frame 441 {
if (_root.soundOn != 1 && _root.musicOff != 1) {
_root.soundOn = 1;
_root.townMusOn = 1;
_root.sound1.attachSound('saddy');
_root.sound1.start(0, 65000);
}
if (_root.you7.hitTest(_root.hahBack2)) {
mooty = 1;
gotoAndPlay(439);
}
if (_root.fight2 > 93) {
_root.battleNow5 = 1;
tellTarget ('_root.fightfight') {
gotoAndPlay(2);
}
_root.fight2 = 0;
_root.stopMove = 1;
_root.battleOh = 1;
}
if (_root.battleOh == 2) {
_root.battleOh = 0;
_root.soundOn = 0;
stopAllSounds();
_root.battleIt();
}
}
movieClip 9030 {
}
instance jeram of movieClip 9030 {
onClipEvent (load) {
if (_root.jerarmsItem == 1 || _root.story != 14) {
this._visible = false;
this._name = 'inactive';
}
}
}
movieClip 9032 {
}
instance of movieClip 9032 {
onClipEvent (load) {
if (_root.story >= 17) {
} else {
this._visible = false;
}
}
}
instance chesto2 of movieClip 8012 {
onClipEvent (load) {
if (_root.chest11 == 1) {
this.gotoAndStop(2);
}
if (_root.chest11 == 1 && _root.minutos11 <= _root.clockMinutes && _root.hoursos11 <= _root.clockHours) {
_root.chest11 = 0;
this.gotoAndStop(1);
}
}
}
instance you7 of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.jeram) && _root.jerarmsItem != 1) {
_root.jerarmsItem = 1;
_root.jeram._visible = false;
_root.talkGuy = 1;
_root.say = 'You found Jerarm\'s jar!! You can now read the symbols on the stone wall!';
_root.talky2.gotoAndStop(25);
} else {
if (this.hitTest(_root.chesto2) && _root.chest11 != 1) {
if (_root.chest11 != 1) {
_root.chest11 = 1;
_root.talkGuy = 1;
_root.minutos11 = _root.clockMinutes + 10;
_root.hoursos11 = 0;
_root.sound1.attachSound('box');
_root.sound1.start();
if (_root.minutos11 >= 60) {
_root.minutos11 -= 60;
_root.hoursos11 = _root.clockHours + 1;
}
_root.talky2.gotoAndStop(12);
_root.chesto2.gotoAndStop(2);
attack = random(5) + 1;
switch (attack) {
case 1:
if (_root.heroRing != 2) {
_root.heroRing = 2;
_root.say = 'You found The Hero\'s Ring!';
} else {
_root.skillPotion += 1;
_root.say = 'You got a Potion of Skill!!';
}
break;
case 2:
_root.elixir += 1;
_root.say = 'You got an elixir!';
break;
case 3:
coinage = random(500) + 700;
_root.money += coinage;
_root.say = 'You got ' + coinage + ' coins!';
break;
case 4:
_root.revive += 1;
_root.say = 'You got a revive!';
break;
case 5:
_root.xpotion += 1;
_root.say = 'You got an xpotion!!';
}
}
} else {
_root.talky2.gotoAndStop(1);
_root.talkGuy = 0;
}
}
}
onClipEvent (load) {
if (_root.savemap == 1) {
_root.savemap = 0;
eval(this)._x = _root.saveX;
eval(this)._y = _root.saveY;
}
_root.saveX = this._x;
_root.saveY = this._y;
if (_root.townMusOn != 1) {
_root.soundOn = 0;
}
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
if (this._x > 452.1) {
this._x = 452;
}
this._y -= 19;
_root.saveX = this._x;
_root.saveY = this._y;
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
if (this._x > 452.1) {
this._x = 452;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
if (this._x > 452.1) {
this._x = 452;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
if (this._x > 452.1) {
this._x = 452;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
if (this._x > 452.1) {
this._x = 452;
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
if (this._x > 452.1) {
this._x = 452;
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y > 392.4) {
this._y = 392.3;
}
if (this._y < 196.4) {
this._y = 196.5;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9033 {
on (keyPress 'q') {
_root.qualFun();
}
on (keyPress '<Space>') {
if (_root.battleOh != 1) {
_root.cemy5 = 1;
_root.savemap = 1;
gotoAndPlay(460);
}
}
}
frame 442 {
gotoAndPlay(441);
}
frame 443 {
if (_root.soundOn != 1 && _root.musicOff != 1) {
_root.soundOn = 1;
_root.townMusOn2 = 0;
_root.townMusOn = 1;
_root.sound1.attachSound('town1');
_root.sound1.start(0, 65000);
}
if (_root.chest6 == 1) {
_root.chesto.gotoAndStop(2);
}
_root.beach = 0;
if (_root.cha.hitTest(_root.backMap)) {
_root.elBacko1 = 1;
_root.stopMove22 = 1;
gotoAndPlay(482);
}
}
movieClip 9041 {
frame 1 {
if (_root.talkGuy == 1) {
gotoAndPlay(3);
} else {
attack = random(4) + 1;
switch (attack) {
case 1:
_root.say = 'Wanna test your strength?';
break;
case 2:
_root.say = 'Wanna fight?';
break;
case 3:
_root.say = 'Let\'s fight weakling!';
break;
case 4:
_root.say = 'You\'re nothing, wanna fight?';
}
}
}
frame 2 {
gotoAndPlay(1);
}
frame 6 {
gotoAndPlay(1);
}
}
instance chesto of movieClip 8012 {
onClipEvent (load) {
if (_root.chest6 == 1 && _root.minutos3 <= _root.clockMinutes && _root.hoursos3 <= _root.clockHours) {
_root.chest6 = 0;
this.gotoAndStop(1);
}
}
}
instance cha of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.chesto)) {
if (_root.chest6 != 1) {
_root.chest6 = 1;
_root.talkGuy = 1;
_root.minutos3 = _root.clockMinutes + random(30) + 8;
_root.hoursos3 = 0;
if (_root.minutos3 >= 60) {
_root.minutos3 -= 60;
_root.hoursos3 = _root.clockHours + 1;
}
_root.talky.gotoAndStop(12);
_root.chesto.gotoAndStop(2);
attack = random(6) + 1;
switch (attack) {
case 1:
if (_root.spamItem != 2) {
_root.spamItem = 2;
_root.say = 'You got SpamTheMan\'s Gloves!';
} else {
_root.magicPotion += 1;
_root.say = 'You got a Potion of Magic!';
}
break;
case 2:
_root.elixir += 1;
_root.say = 'You got an elixir!';
break;
case 3:
coinage = random(500) + 700;
_root.money += coinage;
_root.say = 'You got ' + coinage + ' coins!';
break;
case 4:
_root.revive += 1;
_root.say = 'You got a revive!';
break;
case 5:
_root.xpotion += 1;
_root.say = 'You got an xpotion!!';
break;
case 6:
_root.strengthPotion += 1;
_root.say = 'You got a Strength Potion!!';
}
} else {
_root.talky.gotoAndStop(1);
_root.talkGuy = 0;
}
} else {
if (_root.talkMenu == 0) {
if (this.hitTest(_root.supesy)) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
gotoAndStop(10);
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky') {
gotoAndStop(1);
}
}
}
}
onClipEvent (load) {
if (_level0.justStat == 1) {
_level0.justStat = 0;
eval(_root.cha)._x = _root.saveX;
eval(_root.cha)._y = _root.saveY;
}
_root.saveX = this._x;
_root.saveY = this._y;
if (_root.townMusOn != 1) {
stopAllSounds();
_root.soundOn = 0;
}
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
this._y -= 19;
_root.saveX = this._x;
_root.saveY = this._y;
if (this._x < 155.8) {
this._x = 155.9;
} else {
if (this._x > 387.1) {
this._x = 386.9;
}
}
if (this._y < 117) {
this._y = 117.1;
}
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._x < 155.8) {
this._x = 155.9;
} else {
if (this._x > 387.1) {
this._x = 386.9;
}
}
if (this._y < 117) {
this._y = 117.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._x < 155.8) {
this._x = 155.9;
} else {
if (this._x > 387.1) {
this._x = 386.9;
}
}
if (this._y < 117) {
this._y = 117.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._x < 155.8) {
this._x = 155.9;
} else {
if (this._x > 387.1) {
this._x = 386.9;
}
}
if (this._y < 117) {
this._y = 117.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
if (this._x < 155.8) {
this._x = 155.9;
} else {
if (this._x > 387.1) {
this._x = 386.9;
}
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
if (this._x < 155.8) {
this._x = 155.9;
} else {
if (this._x > 387.1) {
this._x = 386.9;
}
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
_root.saveY = this._y;
if (this._y < 117) {
this._y = 117.1;
}
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y < 117) {
this._y = 117.1;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9042 {
on (keyPress 'q') {
_root.qualFun();
}
on (keyPress '<Space>') {
_root.specialPlacey = 1;
gotoAndPlay(460);
}
}
frame 444 {
gotoAndPlay(443);
}
frame 445 {
_root.supesCape = 1;
if (_root.soundOn != 1 && _root.musicOff != 1) {
_root.soundOn = 1;
_root.townMusOn2 = 0;
_root.townMusOn = 1;
_root.sound1.attachSound('town1');
_root.sound1.start(0, 65000);
}
stop();
}
button 9048 {
on (release) {
_root.talkGuy = 0;
gotoAndPlay(443);
}
}
frame 446 {
if (_root.soundOn != 1 && _root.musicOff != 1) {
_root.soundOn = 1;
_root.townMusOn2 = 0;
_root.townMusOn = 1;
_root.sound1.attachSound('town1');
_root.sound1.start(0, 65000);
}
if (_root.chest10 == 1) {
_root.chesto2.gotoAndStop(2);
}
if (_root.cha.hitTest(_root.goith)) {
backfromspec3 = 1;
_root.stopMove22 = 1;
gotoAndPlay(482);
}
}
movieClip 9054 {
}
movieClip 9060 {
frame 1 {
if (_root.talkGuy == 1) {
gotoAndPlay(3);
} else {
sayo = random(5) + 1;
switch (sayo) {
case 1:
_root.say = 'Keep an eye out for many items and easter eggs from SuperStick RPG 2.';
break;
case 2:
_root.say = 'Hello there, if you hadn\'t noticed...I\'m dead...';
break;
case 3:
_root.say = 'Being dead is dull...nothing to do but stand here and look pretty.';
break;
case 4:
_root.say = 'Good luck on your ventures...';
break;
case 5:
_root.say = 'Did you know that this game took over a year to make?';
}
}
}
frame 2 {
gotoAndPlay(1);
}
frame 7 {
gotoAndPlay(1);
}
}
instance chesto2 of movieClip 8012 {
onClipEvent (load) {
if (_root.chest10 == 1 && _root.minutos10 <= _root.clockMinutes && _root.hoursos10 <= _root.clockHours) {
_root.chest10 = 0;
this.gotoAndStop(1);
}
}
}
instance cha of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.chesto2)) {
if (_root.chest10 != 1) {
_root.chest10 = 1;
_root.talkGuy = 1;
_root.minutos10 = _root.clockMinutes + random(30) + 8;
_root.hoursos10 = 0;
if (_root.minutos10 >= 60) {
_root.minutos10 -= 60;
_root.hoursos10 = _root.clockHours + 1;
}
_root.talky.gotoAndStop(12);
_root.chesto2.gotoAndStop(2);
attack = random(6) + 1;
switch (attack) {
case 1:
if (_root.supeSpeed != 1) {
_root.supeSpeed = 1;
_root.say = 'You got the SuperStick Mini Statue!!';
} else {
_root.defensePotion += 1;
_root.say = 'You got a Potion of Defense!';
}
break;
case 2:
_root.elixir += 1;
_root.say = 'You got an elixir!';
break;
case 3:
coinage = random(500) + 700;
_root.money += coinage;
_root.say = 'You got ' + coinage + ' coins!';
break;
case 4:
if (_root.smokeHatItem != 1) {
_root.smokeHatItem = 1;
_root.say = 'You got Smokey\'s Legendary Hat!!';
break;
} else {
_root.skillPotion += 1;
_root.say = 'You got a Potion of Skills!';
break;
}
case 5:
_root.xpotion += 1;
_root.say = 'You got an xpotion!!';
break;
case 6:
_root.strengthPotion += 1;
_root.say = 'You got a Strength Potion!!';
}
} else {
_root.talky.gotoAndStop(1);
_root.talkGuy = 0;
}
} else {
if (_root.talkMenu == 0) {
if (this.hitTest(_root.sticky)) {
_root.talkGuy = 1;
_root.talkMenu = 1;
tellTarget ('_root.talky') {
gotoAndStop(20);
}
}
} else {
_root.talkMenu = 0;
_root.talkGuy = 0;
tellTarget ('_root.talky') {
gotoAndStop(1);
}
}
}
}
onClipEvent (load) {
if (_level0.justStat == 1) {
_level0.justStat = 0;
eval(this)._x = _root.saveX;
eval(this)._y = _root.saveY;
}
_root.saveX = this._x;
_root.saveY = this._y;
if (_root.townMusOn != 1) {
stopAllSounds();
_root.soundOn = 0;
}
}
onClipEvent (enterFrame) {
if (_root.talkGuy == 1) {
} else {
if (Key.isDown(39) && Key.isDown(38)) {
this._x += 19;
this.gotoAndStop(6);
this._y -= 19;
_root.saveX = this._x;
_root.saveY = this._y;
if (this._x < 155.8) {
this._x = 155.9;
} else {
if (this._x > 387.1) {
this._x = 386.9;
}
}
if (this._y < 117) {
this._y = 117.1;
}
} else {
if (Key.isDown(38) && Key.isDown(37)) {
this._x -= 19;
this._y -= 19;
if (this._x < 155.8) {
this._x = 155.9;
} else {
if (this._x > 387.1) {
this._x = 386.9;
}
}
if (this._y < 117) {
this._y = 117.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(6);
} else {
if (Key.isDown(40) && Key.isDown(39)) {
this._y += 19;
this._x += 19;
if (this._x < 155.8) {
this._x = 155.9;
} else {
if (this._x > 387.1) {
this._x = 386.9;
}
}
if (this._y < 117) {
this._y = 117.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (Key.isDown(40) && Key.isDown(37)) {
this._y += 19;
this._x -= 19;
if (this._x < 155.8) {
this._x = 155.9;
} else {
if (this._x > 387.1) {
this._x = 386.9;
}
}
if (this._y < 117) {
this._y = 117.1;
}
_root.saveX = this._x;
_root.saveY = this._y;
this.gotoAndStop(4);
} else {
if (Key.isDown(39)) {
this._x += 19;
if (this._x < 155.8) {
this._x = 155.9;
} else {
if (this._x > 387.1) {
this._x = 386.9;
}
}
_root.saveX = this._x;
this.gotoAndStop(3);
} else {
if (Key.isDown(37)) {
this._x -= 19;
if (this._x < 155.8) {
this._x = 155.9;
} else {
if (this._x > 387.1) {
this._x = 386.9;
}
}
_root.saveX = this._x;
this.gotoAndStop(4);
} else {
if (Key.isDown(38)) {
this._y -= 19;
_root.saveY = this._y;
if (this._y < 117) {
this._y = 117.1;
}
this.gotoAndStop(6);
} else {
if (Key.isDown(40)) {
this._y += 19;
if (this._y < 117) {
this._y = 117.1;
}
_root.saveY = this._y;
this.gotoAndStop(3);
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9061 {
on (keyPress 'q') {
_root.qualFun();
}
on (keyPress '<Space>') {
_root.specialPlacey2 = 1;
gotoAndPlay(460);
}
}
frame 447 {
gotoAndPlay(446);
}
frame 448 {
if (_root.gotoNext == 1) {
_root.gotoNext = 0;
gotoAndPlay(450);
}
if (_root.noMoto == 1) {
_root.noMoto = 0;
tellTarget ('_root.fadeO') {
gotoAndPlay(2);
}
}
}
movieClip 9078 {
frame 34 {
_root.noMoto = 1;
}
frame 41 {
stop();
}
}
movieClip 9094 {
}
button 9096 {
on (press) {
getURL('http://www.antitudegames.com', '_blank');
}
}
frame 449 {
gotoAndPlay(448);
}
movieClip 9102 {
}
button 9103 {
on (release) {
_root.fadeOut = 1;
if (_root.openTut == 1) {
_root.tuty.gotoAndPlay(9);
}
if (_root.openOptions == 1) {
_root.oppy.gotoAndPlay(9);
}
if (_root.loadOpen == 1) {
_root.loddy.gotoAndPlay(9);
}
if (_root.creditOpen == 1) {
_root.credy.gotoAndPlay(9);
}
gotoAndPlay(2);
}
}
button 9108 {
on (release) {
if (_root.gotoThingy != 1) {
_root.fadeO.gotoAndPlay(2);
}
_root.gotoThingy = 1;
_root.loadIt = 1;
stopAllSounds();
}
}
movieClip 9113 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
button 9115 {
on (release) {
if (_root.openTut == 1) {
_root.tuty.gotoAndPlay(9);
}
if (_root.loadOpen == 1) {
_root.loddy.gotoAndPlay(9);
}
if (_root.creditOpen == 1) {
_root.credy.gotoAndPlay(9);
}
this.gotoAndPlay(2);
}
}
button 9126 {
on (release) {
if (_root.musicOff != 1) {
_root.musicOff = 1;
musicOnOff = 'Off';
} else {
_root.musicOff = 0;
musicOnOff = 'On';
}
}
}
button 9129 {
on (release) {
if (_root._quality == 'BEST') {
qual1 = 'High';
_root._quality = 'HIGH';
} else {
if (_root._quality == 'HIGH') {
qual1 = 'Medium';
_root._quality = 'MEDIUM';
} else {
if (_root._quality == 'MEDIUM') {
qual1 = 'Low';
_root._quality = 'LOW';
} else {
qual1 = 'Best';
_root._quality = 'BEST';
}
}
}
}
}
button 9132 {
on (release) {
if (_root.diff == 'Normal') {
_root.diff = 'Hard';
} else {
if (_root.diff == 'Hard') {
_root.diff = 'Harder';
} else {
if (_root.diff == 'Harder') {
_root.diff = 'Hardest';
} else {
_root.diff = 'Normal';
}
}
}
}
}
button 9134 {
on (release) {
this.gotoAndPlay(9);
}
}
movieClip 9140 {
frame 1 {
stop();
}
frame 8 {
_root.openOptions = 1;
if (_root.musicOff != 1) {
musicOnOff = 'On';
} else {
musicOnOff = 'Off';
}
if (_root._quality == 'BEST') {
qual1 = 'Best';
} else {
if (_root._quality == 'HIGH') {
qual1 = 'High';
} else {
if (_root._quality == 'MEDIUM') {
qual1 = 'Medium';
} else {
qual1 = 'Low';
}
}
}
if (_root.noMouse == 1) {
_root.mouseo = 'Off';
} else {
_root.mouseo = 'On';
}
stop();
}
frame 14 {
_root.openOptions = 0;
}
}
button 9142 {
on (release) {
if (_root.openTut == 1) {
_root.tuty.gotoAndPlay(9);
}
if (_root.openOptions == 1) {
_root.oppy.gotoAndPlay(9);
}
if (_root.creditOpen == 1) {
_root.credy.gotoAndPlay(9);
}
gotoAndPlay(2);
}
}
button 9156 {
on (release) {
_root.saveyFile = 0;
_root.fadeOut = 1;
_root.firemanskilled = getCookie('database' + _root.saveyFile, 'itum1');
_root.lighthorseskilled = getCookie('database' + _root.saveyFile, 'itum2');
_root.dragonskilled = getCookie('database' + _root.saveyFile, 'itum3');
_root.hypnotistskilled = getCookie('database' + _root.saveyFile, 'itum4');
_root.limit2 = getCookie('database' + _root.saveyFile, 'itum5');
_root.defaultPower = getCookie('database' + _root.saveyFile, 'itum6');
_root.enemyEncounter = getCookie('database' + _root.saveyFile, 'itum7');
_root.helpModeOn = getCookie('database' + _root.saveyFile, 'itum8');
_root.critical2 = getCookie('database' + _root.saveyFile, 'itum9');
_root.ap2 = getCookie('database' + _root.saveyFile, 'itum10');
_root.exp2 = getCookie('database' + _root.saveyFile, 'itum11');
_root.EXPNeeded2 = getCookie('database' + _root.saveyFile, 'itum12');
_root.clockSeconds = getCookie('database' + _root.saveyFile, 'itum13');
_root.clockMinutes = getCookie('database' + _root.saveyFile, 'itum14');
_root.clockHours = getCookie('database' + _root.saveyFile, 'itum15');
_root.qattackskilled = getCookie('database' + _root.saveyFile, 'itum16');
_root.dattackskilled = getCookie('database' + _root.saveyFile, 'itum17');
_root.nightmareskilled = getCookie('database' + _root.saveyFile, 'itum18');
_root.hpdrainskilled = getCookie('database' + _root.saveyFile, 'itum19');
_root.mpdrainskilled = getCookie('database' + _root.saveyFile, 'itum20');
_root.deathskilled = getCookie('database' + _root.saveyFile, 'itum21');
_root.hlevel = getCookie('database' + _root.saveyFile, 'itum22');
_root.energy2 = getCookie('database' + _root.saveyFile, 'itum23');
_root.comebackskilled = getCookie('database' + _root.saveyFile, 'itum24');
_root.protectDefense = getCookie('database' + _root.saveyFile, 'itum25');
_root.shellDefense = getCookie('database' + _root.saveyFile, 'itum26');
_root.level2 = getCookie('database' + _root.saveyFile, 'itum27');
_root.defense2 = getCookie('database' + _root.saveyFile, 'itum28');
_root.vitality2 = getCookie('database' + _root.saveyFile, 'itum29');
_root.skills2 = getCookie('database' + _root.saveyFile, 'itum30');
_root.strength2 = getCookie('database' + _root.saveyFile, 'itum31');
_root.mp2 = getCookie('database' + _root.saveyFile, 'itum32');
_root.maxmp2 = getCookie('database' + _root.saveyFile, 'itum33');
_root.activeMode = getCookie('database' + _root.saveyFile, 'itum34');
_root.charSwitchOn = getCookie('database' + _root.saveyFile, 'itum35');
_root.defense2 = getCookie('database' + _root.saveyFile, 'itum36');
_root.char2 = getCookie('database' + _root.saveyFile, 'itum37');
_root.maxhp2 = getCookie('database' + _root.saveyFile, 'itum38');
_root.char2Alive = getCookie('database' + _root.saveyFile, 'itum39');
_root.hptwo2 = getCookie('database' + _root.saveyFile, 'itum40');
_root.mptwo2 = getCookie('database' + _root.saveyFile, 'itum41');
_root.char1Alive = getCookie('database' + _root.saveyFile, 'itum42');
_root.revive = getCookie('database' + _root.saveyFile, 'itum43');
_root.money = getCookie('database' + _root.saveyFile, 'itum44');
_root.notAnother = getCookie('database' + _root.saveyFile, 'itum45');
_root.ap = getCookie('database' + _root.saveyFile, 'itum46');
_root.moHp = getCookie('database' + _root.saveyFile, 'itum47');
_root.ultimaskilled = getCookie('database' + _root.saveyFile, 'itum48');
_root.furystormskilled = getCookie('database' + _root.saveyFile, 'itum49');
_root.slowskilled = getCookie('database' + _root.saveyFile, 'itum50');
_root.stopskilled = getCookie('database' + _root.saveyFile, 'itum51');
_root.shellskilled = getCookie('database' + _root.saveyFile, 'itum52');
_root.protectskilled = getCookie('database' + _root.saveyFile, 'itum53');
_root.hasteskilled = getCookie('database' + _root.saveyFile, 'itum54');
_root.bioskilled = getCookie('database' + _root.saveyFile, 'itum55');
_root.sleepskilled = getCookie('database' + _root.saveyFile, 'itum56');
_root.reviveskilled = getCookie('database' + _root.saveyFile, 'itum57');
_root.replenishskilled = getCookie('database' + _root.saveyFile, 'itum58');
_root.leechskilled = getCookie('database' + _root.saveyFile, 'itum59');
_root.healskilled = getCookie('database' + _root.saveyFile, 'itum60');
_root.fireskilled = getCookie('database' + _root.saveyFile, 'itum61');
_root.lightskilled = getCookie('database' + _root.saveyFile, 'itum62');
_root.iceskilled = getCookie('database' + _root.saveyFile, 'itum63');
_root.skillpoint2 = getCookie('database' + _root.saveyFile, 'itum64');
_root.attack2 = getCookie('database' + _root.saveyFile, 'itum65');
_root.speedEx2 = getCookie('database' + _root.saveyFile, 'itum66');
_root.speed2 = getCookie('database' + _root.saveyFile, 'itum67');
_root.moneyPlus = getCookie('database' + _root.saveyFile, 'itum68');
_root.EXPMore = getCookie('database' + _root.saveyFile, 'itum69');
_root.hptwo = getCookie('database' + _root.saveyFile, 'itum70');
_root.mptwo = getCookie('database' + _root.saveyFile, 'itum71');
_root.equipWeapon1 = getCookie('database' + _root.saveyFile, 'itum72');
_root.equipWeapon2 = getCookie('database' + _root.saveyFile, 'itum73');
_root.equipWeapon3 = getCookie('database' + _root.saveyFile, 'itum74');
_root.equipWeapon4 = getCookie('database' + _root.saveyFile, 'itum75');
_root.equipWeapon5 = getCookie('database' + _root.saveyFile, 'itum76');
_root.equipWeapon6 = getCookie('database' + _root.saveyFile, 'itum77');
_root.equipWeapon7 = getCookie('database' + _root.saveyFile, 'itum78');
_root.equipWeapon8 = getCookie('database' + _root.saveyFile, 'itum79');
_root.skills = getCookie('database' + _root.saveyFile, 'itum80');
_root.moEXP = getCookie('database' + _root.saveyFile, 'itum81');
_root.exp1 = getCookie('database' + _root.saveyFile, 'itum82');
_root.fight2 = getCookie('database' + _root.saveyFile, 'itum83');
_root.worldmap = getCookie('database' + _root.saveyFile, 'itum84');
_root.level = getCookie('database' + _root.saveyFile, 'itum85');
_root.speedEx = getCookie('database' + _root.saveyFile, 'itum86');
_root.defense = getCookie('database' + _root.saveyFile, 'itum87');
_root.energy = getCookie('database' + _root.saveyFile, 'itum88');
_root.vitality = getCookie('database' + _root.saveyFile, 'itum89');
_root.strength = getCookie('database' + _root.saveyFile, 'itum90');
_root.PercentLoaded = getCookie('database' + _root.saveyFile, 'itum91');
_root.hair = getCookie('database' + _root.saveyFile, 'itum92');
_root.potion = getCookie('database' + _root.saveyFile, 'itum93');
_root.ether = getCookie('database' + _root.saveyFile, 'itum94');
_root.hpotion = getCookie('database' + _root.saveyFile, 'itum95');
_root.xpotion = getCookie('database' + _root.saveyFile, 'itum96');
_root.elixir = getCookie('database' + _root.saveyFile, 'itum97');
_root.critical1 = getCookie('database' + _root.saveyFile, 'itum98');
_root.limit = getCookie('database' + _root.saveyFile, 'itum99');
_root.mp1 = getCookie('database' + _root.saveyFile, 'itum100');
_root.maxmp1 = getCookie('database' + _root.saveyFile, 'itum101');
_root.char1 = getCookie('database' + _root.saveyFile, 'itum102');
_root.maxhp = getCookie('database' + _root.saveyFile, 'itum103');
_root.speed = getCookie('database' + _root.saveyFile, 'itum104');
_root.moEXP = getCookie('database' + _root.saveyFile, 'itum105');
_root.EXPNeeded = getCookie('database' + _root.saveyFile, 'itum106');
_root.antidote = getCookie('database' + _root.saveyFile, 'itum107');
_root.activeMode = getCookie('database' + _root.saveyFile, 'itum108');
_root.waitMode = getCookie('database' + _root.saveyFile, 'itum109');
_root.weapon1 = getCookie('database' + _root.saveyFile, 'itum110');
_root.weapon2 = getCookie('database' + _root.saveyFile, 'itum111');
_root.weapon3 = getCookie('database' + _root.saveyFile, 'itum112');
_root.weapon4 = getCookie('database' + _root.saveyFile, 'itum113');
_root.weapon5 = getCookie('database' + _root.saveyFile, 'itum114');
_root.weapon6 = getCookie('database' + _root.saveyFile, 'itum115');
_root.weapon7 = getCookie('database' + _root.saveyFile, 'itum116');
_root.weapon8 = getCookie('database' + _root.saveyFile, 'itum117');
_root.armor1 = getCookie('database' + _root.saveyFile, 'itum118');
_root.armor2 = getCookie('database' + _root.saveyFile, 'itum119');
_root.armor3 = getCookie('database' + _root.saveyFile, 'itum120');
_root.armor4 = getCookie('database' + _root.saveyFile, 'itum121');
_root.armor5 = getCookie('database' + _root.saveyFile, 'itum122');
_root.armor6 = getCookie('database' + _root.saveyFile, 'itum123');
_root.armor7 = getCookie('database' + _root.saveyFile, 'itum124');
_root.armor8 = getCookie('database' + _root.saveyFile, 'itum125');
_root.belt1 = getCookie('database' + _root.saveyFile, 'itum126');
_root.belt2 = getCookie('database' + _root.saveyFile, 'itum127');
_root.belt3 = getCookie('database' + _root.saveyFile, 'itum128');
_root.belt4 = getCookie('database' + _root.saveyFile, 'itum129');
_root.belt5 = getCookie('database' + _root.saveyFile, 'itum130');
_root.belt6 = getCookie('database' + _root.saveyFile, 'itum131');
_root.belt7 = getCookie('database' + _root.saveyFile, 'itum132');
_root.belt8 = getCookie('database' + _root.saveyFile, 'itum133');
_root.glasses1 = getCookie('database' + _root.saveyFile, 'itum134');
_root.glasses2 = getCookie('database' + _root.saveyFile, 'itum135');
_root.glasses3 = getCookie('database' + _root.saveyFile, 'itum136');
_root.glasses4 = getCookie('database' + _root.saveyFile, 'itum137');
_root.glasses5 = getCookie('database' + _root.saveyFile, 'itum138');
_root.glasses6 = getCookie('database' + _root.saveyFile, 'itum139');
_root.glasses7 = getCookie('database' + _root.saveyFile, 'itum140');
_root.glasses8 = getCookie('database' + _root.saveyFile, 'itum141');
_root.weaponLook = getCookie('database' + _root.saveyFile, 'itum142');
_root.weaponLook2 = getCookie('database' + _root.saveyFile, 'itum143');
_root.weaponSkill1 = getCookie('database' + _root.saveyFile, 'itum144');
_root.weaponSkill2 = getCookie('database' + _root.saveyFile, 'itum145');
_root.weaponSkill3 = getCookie('database' + _root.saveyFile, 'itum146');
_root.weaponSkill4 = getCookie('database' + _root.saveyFile, 'itum147');
_root.weaponSkill5 = getCookie('database' + _root.saveyFile, 'itum148');
_root.weaponSkill6 = getCookie('database' + _root.saveyFile, 'itum149');
_root.weaponSkill7 = getCookie('database' + _root.saveyFile, 'itum150');
_root.weaponSkill8 = getCookie('database' + _root.saveyFile, 'itum151');
_root.weaponSkill9 = getCookie('database' + _root.saveyFile, 'itum152');
_root.weaponSkill10 = getCookie('database' + _root.saveyFile, 'itum153');
_root.weaponSkill11 = getCookie('database' + _root.saveyFile, 'itum154');
_root.weaponSkill12 = getCookie('database' + _root.saveyFile, 'itum155');
_root.weaponSkill13 = getCookie('database' + _root.saveyFile, 'itum156');
_root.weaponSkill14 = getCookie('database' + _root.saveyFile, 'itum157');
_root.weaponSkill15 = getCookie('database' + _root.saveyFile, 'itum158');
_root.weaponSkill16 = getCookie('database' + _root.saveyFile, 'itum159');
_root.weaponSkill17 = getCookie('database' + _root.saveyFile, 'itum160');
_root.weaponSkill18 = getCookie('database' + _root.saveyFile, 'itum161');
_root.weaponSkill19 = getCookie('database' + _root.saveyFile, 'itum162');
_root.weaponSkill20 = getCookie('database' + _root.saveyFile, 'itum163');
_root.weaponSkill21 = getCookie('database' + _root.saveyFile, 'itum164');
_root.weaponSkill22 = getCookie('database' + _root.saveyFile, 'itum165');
_root.weaponSkill23 = getCookie('database' + _root.saveyFile, 'itum166');
_root.weaponSkill24 = getCookie('database' + _root.saveyFile, 'itum167');
_root.armorLook1 = getCookie('database' + _root.saveyFile, 'itum168');
_root.armorLook2 = getCookie('database' + _root.saveyFile, 'itum169');
_root.specialPlace1 = getCookie('database' + _root.saveyFile, 'itum170');
_root.hairStyle = getCookie('database' + _root.saveyFile, 'itum171');
_root.armorName1 = getCookie('database' + _root.saveyFile, 'itum172');
_root.armorName2 = getCookie('database' + _root.saveyFile, 'itum173');
_root.armorName3 = getCookie('database' + _root.saveyFile, 'itum174');
_root.armorName4 = getCookie('database' + _root.saveyFile, 'itum175');
_root.armorName5 = getCookie('database' + _root.saveyFile, 'itum176');
_root.armorName6 = getCookie('database' + _root.saveyFile, 'itum177');
_root.armorName7 = getCookie('database' + _root.saveyFile, 'itum178');
_root.armorName8 = getCookie('database' + _root.saveyFile, 'itum179');
_root.beltName1 = getCookie('database' + _root.saveyFile, 'itum180');
_root.beltName2 = getCookie('database' + _root.saveyFile, 'itum181');
_root.beltName3 = getCookie('database' + _root.saveyFile, 'itum182');
_root.beltName4 = getCookie('database' + _root.saveyFile, 'itum183');
_root.beltName5 = getCookie('database' + _root.saveyFile, 'itum184');
_root.beltName6 = getCookie('database' + _root.saveyFile, 'itum185');
_root.beltName7 = getCookie('database' + _root.saveyFile, 'itum186');
_root.beltName8 = getCookie('database' + _root.saveyFile, 'itum187');
_root.weaponName1 = getCookie('database' + _root.saveyFile, 'itum188');
_root.weaponName2 = getCookie('database' + _root.saveyFile, 'itum189');
_root.weaponName3 = getCookie('database' + _root.saveyFile, 'itum190');
_root.weaponName4 = getCookie('database' + _root.saveyFile, 'itum191');
_root.weaponName5 = getCookie('database' + _root.saveyFile, 'itum192');
_root.weaponName6 = getCookie('database' + _root.saveyFile, 'itum193');
_root.weaponName7 = getCookie('database' + _root.saveyFile, 'itum194');
_root.weaponName8 = getCookie('database' + _root.saveyFile, 'itum195');
_root.glassesName1 = getCookie('database' + _root.saveyFile, 'itum196');
_root.glassesName2 = getCookie('database' + _root.saveyFile, 'itum197');
_root.glassesName3 = getCookie('database' + _root.saveyFile, 'itum198');
_root.glassesName4 = getCookie('database' + _root.saveyFile, 'itum199');
_root.glassesName5 = getCookie('database' + _root.saveyFile, 'itum200');
_root.glassesName6 = getCookie('database' + _root.saveyFile, 'itum201');
_root.glassesName7 = getCookie('database' + _root.saveyFile, 'itum202');
_root.glassesName8 = getCookie('database' + _root.saveyFile, 'itum203');
_root.equipBelt1 = getCookie('database' + _root.saveyFile, 'itum204');
_root.equipBelt2 = getCookie('database' + _root.saveyFile, 'itum205');
_root.equipBelt3 = getCookie('database' + _root.saveyFile, 'itum206');
_root.equipBelt4 = getCookie('database' + _root.saveyFile, 'itum207');
_root.equipBelt5 = getCookie('database' + _root.saveyFile, 'itum208');
_root.equipBelt6 = getCookie('database' + _root.saveyFile, 'itum209');
_root.equipBelt7 = getCookie('database' + _root.saveyFile, 'itum210');
_root.equipBelt8 = getCookie('database' + _root.saveyFile, 'itum211');
_root.beltLook = getCookie('database' + _root.saveyFile, 'itum212');
_root.beltLook2 = getCookie('database' + _root.saveyFile, 'itum213');
_root.beltSkill1 = getCookie('database' + _root.saveyFile, 'itum214');
_root.beltSkill2 = getCookie('database' + _root.saveyFile, 'itum215');
_root.beltSkill3 = getCookie('database' + _root.saveyFile, 'itum216');
_root.beltSkill4 = getCookie('database' + _root.saveyFile, 'itum217');
_root.beltSkill5 = getCookie('database' + _root.saveyFile, 'itum218');
_root.beltSkill6 = getCookie('database' + _root.saveyFile, 'itum219');
_root.beltSkill7 = getCookie('database' + _root.saveyFile, 'itum220');
_root.beltSkill8 = getCookie('database' + _root.saveyFile, 'itum221');
_root.equipGlasses1 = getCookie('database' + _root.saveyFile, 'itum222');
_root.equipGlasses2 = getCookie('database' + _root.saveyFile, 'itum223');
_root.equipGlasses3 = getCookie('database' + _root.saveyFile, 'itum224');
_root.equipGlasses4 = getCookie('database' + _root.saveyFile, 'itum225');
_root.equipGlasses5 = getCookie('database' + _root.saveyFile, 'itum226');
_root.equipGlasses6 = getCookie('database' + _root.saveyFile, 'itum227');
_root.equipGlasses7 = getCookie('database' + _root.saveyFile, 'itum228');
_root.equipGlasses8 = getCookie('database' + _root.saveyFile, 'itum229');
_root.glassesLook1 = getCookie('database' + _root.saveyFile, 'itum230');
_root.glassesLook2 = getCookie('database' + _root.saveyFile, 'itum231');
_root.glassesSkill1 = getCookie('database' + _root.saveyFile, 'itum232');
_root.glassesSkill2 = getCookie('database' + _root.saveyFile, 'itum233');
_root.glassesSkill3 = getCookie('database' + _root.saveyFile, 'itum234');
_root.glassesSkill4 = getCookie('database' + _root.saveyFile, 'itum235');
_root.glassesSkill5 = getCookie('database' + _root.saveyFile, 'itum236');
_root.glassesSkill6 = getCookie('database' + _root.saveyFile, 'itum237');
_root.glassesSkill7 = getCookie('database' + _root.saveyFile, 'itum238');
_root.glassesSkill8 = getCookie('database' + _root.saveyFile, 'itum239');
_root.equipArmor1 = getCookie('database' + _root.saveyFile, 'itum240');
_root.equipArmor2 = getCookie('database' + _root.saveyFile, 'itum241');
_root.equipArmor3 = getCookie('database' + _root.saveyFile, 'itum242');
_root.equipArmor4 = getCookie('database' + _root.saveyFile, 'itum243');
_root.equipArmor5 = getCookie('database' + _root.saveyFile, 'itum244');
_root.equipArmor6 = getCookie('database' + _root.saveyFile, 'itum245');
_root.equipArmor7 = getCookie('database' + _root.saveyFile, 'itum246');
_root.equipArmor8 = getCookie('database' + _root.saveyFile, 'itum247');
_root.armorSkill1 = getCookie('database' + _root.saveyFile, 'itum248');
_root.armorSkill2 = getCookie('database' + _root.saveyFile, 'itum249');
_root.armorSkill3 = getCookie('database' + _root.saveyFile, 'itum250');
_root.armorSkill4 = getCookie('database' + _root.saveyFile, 'itum251');
_root.armorSkill5 = getCookie('database' + _root.saveyFile, 'itum252');
_root.armorSkill6 = getCookie('database' + _root.saveyFile, 'itum253');
_root.armorSkill7 = getCookie('database' + _root.saveyFile, 'itum254');
_root.armorSkill8 = getCookie('database' + _root.saveyFile, 'itum255');
_root.armorSkill9 = getCookie('database' + _root.saveyFile, 'itum256');
_root.armorSkill10 = getCookie('database' + _root.saveyFile, 'itum257');
_root.armorSkill11 = getCookie('database' + _root.saveyFile, 'itum258');
_root.armorSkill12 = getCookie('database' + _root.saveyFile, 'itum259');
_root.armorSkill13 = getCookie('database' + _root.saveyFile, 'itum260');
_root.armorSkill14 = getCookie('database' + _root.saveyFile, 'itum261');
_root.armorSkill15 = getCookie('database' + _root.saveyFile, 'itum262');
_root.armorSkill16 = getCookie('database' + _root.saveyFile, 'itum263');
_root.armorSkill17 = getCookie('database' + _root.saveyFile, 'itum264');
_root.armorSkill18 = getCookie('database' + _root.saveyFile, 'itum265');
_root.armorSkill19 = getCookie('database' + _root.saveyFile, 'itum266');
_root.armorSkill20 = getCookie('database' + _root.saveyFile, 'itum267');
_root.armorSkill21 = getCookie('database' + _root.saveyFile, 'itum268');
_root.armorSkill22 = getCookie('database' + _root.saveyFile, 'itum269');
_root.armorSkill23 = getCookie('database' + _root.saveyFile, 'itum270');
_root.armorSkill24 = getCookie('database' + _root.saveyFile, 'itum271');
_root.hairStyle2 = getCookie('database' + _root.saveyFile, 'itum272');
_root.order1 = getCookie('database' + _root.saveyFile, 'itum274');
_root.order2 = getCookie('database' + _root.saveyFile, 'itum275');
_root.lifeLeech = getCookie('database' + _root.saveyFile, 'itum276');
_root.magLeech = getCookie('database' + _root.saveyFile, 'itum277');
_root.helpModeOff = getCookie('database' + _root.saveyFile, 'itum278');
_root.chest1 = getCookie('database' + _root.saveyFile, 'itum279');
_root.chest2 = getCookie('database' + _root.saveyFile, 'itum280');
_root.chest3 = getCookie('database' + _root.saveyFile, 'itum281');
_root.chest4 = getCookie('database' + _root.saveyFile, 'itum282');
_root.chest5 = getCookie('database' + _root.saveyFile, 'itum283');
_root.minutos = getCookie('database' + _root.saveyFile, 'itum284');
_root.minutos2 = getCookie('database' + _root.saveyFile, 'itum285');
_root.hoursos = getCookie('database' + _root.saveyFile, 'itum286');
_root.hoursos2 = getCookie('database' + _root.saveyFile, 'itum287');
_root.speedShoes = getCookie('database' + _root.saveyFile, 'itum288');
_root.chest6 = getCookie('database' + _root.saveyFile, 'itum289');
_root.hoursos3 = getCookie('database' + _root.saveyFile, 'itum290');
_root.minutos3 = getCookie('database' + _root.saveyFile, 'itum291');
_root.healskilled2 = getCookie('database' + _root.saveyFile, 'itum292');
_root.fireswodskilled = getCookie('database' + _root.saveyFile, 'itum293');
_root.lightswodskilled = getCookie('database' + _root.saveyFile, 'itum294');
_root.enchantskilled = getCookie('database' + _root.saveyFile, 'itum295');
_root.demiskilled = getCookie('database' + _root.saveyFile, 'itum296');
_root.confuseskilled = getCookie('database' + _root.saveyFile, 'itum297');
_root.ballLightskilled = getCookie('database' + _root.saveyFile, 'itum298');
_root.berserkskilled = getCookie('database' + _root.saveyFile, 'itum299');
_root.sheildskilled = getCookie('database' + _root.saveyFile, 'itum300');
_root.frogskilled = getCookie('database' + _root.saveyFile, 'itum301');
_root.flareskilled = getCookie('database' + _root.saveyFile, 'itum302');
_root.cometskilled = getCookie('database' + _root.saveyFile, 'itum303');
_root.skillpoint3 = getCookie('database' + _root.saveyFile, 'itum304');
_root.holyskilled = getCookie('database' + _root.saveyFile, 'itum305');
_root.quickthrowskilled = getCookie('database' + _root.saveyFile, 'itum306');
_root.moneyskilled = getCookie('database' + _root.saveyFile, 'itum307');
_root.skillpointsskilled = getCookie('database' + _root.saveyFile, 'itum308');
_root.energyskilled = getCookie('database' + _root.saveyFile, 'itum309');
_root.vitalityskilled = getCookie('database' + _root.saveyFile, 'itum310');
_root.statusskilled = getCookie('database' + _root.saveyFile, 'itum311');
_root.expskilled = getCookie('database' + _root.saveyFile, 'itum312');
_root.shockwaveskilled = getCookie('database' + _root.saveyFile, 'itum313');
_root.powerbreakskilled = getCookie('database' + _root.saveyFile, 'itum314');
_root.multileechskilled = getCookie('database' + _root.saveyFile, 'itum315');
_root.multislashskilled = getCookie('database' + _root.saveyFile, 'itum316');
_root.counterskilled = getCookie('database' + _root.saveyFile, 'itum317');
_root.spamItem = getCookie('database' + _root.saveyFile, 'itum318');
_root.docStickItem = getCookie('database' + _root.saveyFile, 'itum319');
_root.smokeHatItem = getCookie('database' + _root.saveyFile, 'itum320');
_root.stickCourage = getCookie('database' + _root.saveyFile, 'itum321');
_root.supeSpeed = getCookie('database' + _root.saveyFile, 'itum322');
_root.mistOn = getCookie('database' + _root.saveyFile, 'itum323');
_root.girlBed = getCookie('database' + _root.saveyFile, 'itum324');
_root.story = getCookie('database' + _root.saveyFile, 'itum325');
_root.herosItem = getCookie('database' + _root.saveyFile, 'itum326');
_root.heroRing = getCookie('database' + _root.saveyFile, 'itum327');
_root.jerarmsItem = getCookie('database' + _root.saveyFile, 'itum328');
_root.gotIt1 = getCookie('database' + _root.saveyFile, 'itum329');
_root.gotIt2 = getCookie('database' + _root.saveyFile, 'itum330');
_root.gotIt3 = getCookie('database' + _root.saveyFile, 'itum331');
_root.areaSave = getCookie('database' + _root.saveyFile, 'itum332');
_root.keyMe = getCookie('database' + _root.saveyFile, 'itum333');
_root.fluteItem = getCookie('database' + _root.saveyFile, 'itum334');
_root.defensePotion = getCookie('database' + _root.saveyFile, 'itum335');
_root.skillPotion = getCookie('database' + _root.saveyFile, 'itum336');
_root.magicPotion = getCookie('database' + _root.saveyFile, 'itum337');
_root.strengthPotion = getCookie('database' + _root.saveyFile, 'itum338');
_root.lifePotion = getCookie('database' + _root.saveyFile, 'itum339');
_root.supesCape = getCookie('database' + _root.saveyFile, 'itum340');
if (isNaN(_root.defensePotion + 1) == true) {
_root.defensePotion = 0;
}
if (isNaN(_root.skillPotion + 1) == true) {
_root.skillPotion = 0;
}
if (isNaN(_root.magicPotion + 1) == true) {
_root.magicPotion = 0;
}
if (isNaN(_root.strengthPotion + 1) == true) {
_root.strengthPotion = 0;
}
if (isNaN(_root.lifePotion + 1) == true) {
_root.lifePotion = 0;
}
_root.loadIt2 = 1;
_root.fadeOut = 1;
stopAllSounds();
if (_root.gotoThingy != 1) {
_root.fadeO.gotoAndPlay(2);
}
_root.gotoThingy = 1;
}
}
button 9157 {
on (release) {
_root.saveyFile = 1;
_root.fadeOut = 1;
_root.firemanskilled = getCookie('database' + _root.saveyFile, 'itum1');
_root.lighthorseskilled = getCookie('database' + _root.saveyFile, 'itum2');
_root.dragonskilled = getCookie('database' + _root.saveyFile, 'itum3');
_root.hypnotistskilled = getCookie('database' + _root.saveyFile, 'itum4');
_root.limit2 = getCookie('database' + _root.saveyFile, 'itum5');
_root.defaultPower = getCookie('database' + _root.saveyFile, 'itum6');
_root.enemyEncounter = getCookie('database' + _root.saveyFile, 'itum7');
_root.helpModeOn = getCookie('database' + _root.saveyFile, 'itum8');
_root.critical2 = getCookie('database' + _root.saveyFile, 'itum9');
_root.ap2 = getCookie('database' + _root.saveyFile, 'itum10');
_root.exp2 = getCookie('database' + _root.saveyFile, 'itum11');
_root.EXPNeeded2 = getCookie('database' + _root.saveyFile, 'itum12');
_root.clockSeconds = getCookie('database' + _root.saveyFile, 'itum13');
_root.clockMinutes = getCookie('database' + _root.saveyFile, 'itum14');
_root.clockHours = getCookie('database' + _root.saveyFile, 'itum15');
_root.qattackskilled = getCookie('database' + _root.saveyFile, 'itum16');
_root.dattackskilled = getCookie('database' + _root.saveyFile, 'itum17');
_root.nightmareskilled = getCookie('database' + _root.saveyFile, 'itum18');
_root.hpdrainskilled = getCookie('database' + _root.saveyFile, 'itum19');
_root.mpdrainskilled = getCookie('database' + _root.saveyFile, 'itum20');
_root.deathskilled = getCookie('database' + _root.saveyFile, 'itum21');
_root.hlevel = getCookie('database' + _root.saveyFile, 'itum22');
_root.energy2 = getCookie('database' + _root.saveyFile, 'itum23');
_root.comebackskilled = getCookie('database' + _root.saveyFile, 'itum24');
_root.protectDefense = getCookie('database' + _root.saveyFile, 'itum25');
_root.shellDefense = getCookie('database' + _root.saveyFile, 'itum26');
_root.level2 = getCookie('database' + _root.saveyFile, 'itum27');
_root.defense2 = getCookie('database' + _root.saveyFile, 'itum28');
_root.vitality2 = getCookie('database' + _root.saveyFile, 'itum29');
_root.skills2 = getCookie('database' + _root.saveyFile, 'itum30');
_root.strength2 = getCookie('database' + _root.saveyFile, 'itum31');
_root.mp2 = getCookie('database' + _root.saveyFile, 'itum32');
_root.maxmp2 = getCookie('database' + _root.saveyFile, 'itum33');
_root.activeMode = getCookie('database' + _root.saveyFile, 'itum34');
_root.charSwitchOn = getCookie('database' + _root.saveyFile, 'itum35');
_root.defense2 = getCookie('database' + _root.saveyFile, 'itum36');
_root.char2 = getCookie('database' + _root.saveyFile, 'itum37');
_root.maxhp2 = getCookie('database' + _root.saveyFile, 'itum38');
_root.char2Alive = getCookie('database' + _root.saveyFile, 'itum39');
_root.hptwo2 = getCookie('database' + _root.saveyFile, 'itum40');
_root.mptwo2 = getCookie('database' + _root.saveyFile, 'itum41');
_root.char1Alive = getCookie('database' + _root.saveyFile, 'itum42');
_root.revive = getCookie('database' + _root.saveyFile, 'itum43');
_root.money = getCookie('database' + _root.saveyFile, 'itum44');
_root.notAnother = getCookie('database' + _root.saveyFile, 'itum45');
_root.ap = getCookie('database' + _root.saveyFile, 'itum46');
_root.moHp = getCookie('database' + _root.saveyFile, 'itum47');
_root.ultimaskilled = getCookie('database' + _root.saveyFile, 'itum48');
_root.furystormskilled = getCookie('database' + _root.saveyFile, 'itum49');
_root.slowskilled = getCookie('database' + _root.saveyFile, 'itum50');
_root.stopskilled = getCookie('database' + _root.saveyFile, 'itum51');
_root.shellskilled = getCookie('database' + _root.saveyFile, 'itum52');
_root.protectskilled = getCookie('database' + _root.saveyFile, 'itum53');
_root.hasteskilled = getCookie('database' + _root.saveyFile, 'itum54');
_root.bioskilled = getCookie('database' + _root.saveyFile, 'itum55');
_root.sleepskilled = getCookie('database' + _root.saveyFile, 'itum56');
_root.reviveskilled = getCookie('database' + _root.saveyFile, 'itum57');
_root.replenishskilled = getCookie('database' + _root.saveyFile, 'itum58');
_root.leechskilled = getCookie('database' + _root.saveyFile, 'itum59');
_root.healskilled = getCookie('database' + _root.saveyFile, 'itum60');
_root.fireskilled = getCookie('database' + _root.saveyFile, 'itum61');
_root.lightskilled = getCookie('database' + _root.saveyFile, 'itum62');
_root.iceskilled = getCookie('database' + _root.saveyFile, 'itum63');
_root.skillpoint2 = getCookie('database' + _root.saveyFile, 'itum64');
_root.attack2 = getCookie('database' + _root.saveyFile, 'itum65');
_root.speedEx2 = getCookie('database' + _root.saveyFile, 'itum66');
_root.speed2 = getCookie('database' + _root.saveyFile, 'itum67');
_root.moneyPlus = getCookie('database' + _root.saveyFile, 'itum68');
_root.EXPMore = getCookie('database' + _root.saveyFile, 'itum69');
_root.hptwo = getCookie('database' + _root.saveyFile, 'itum70');
_root.mptwo = getCookie('database' + _root.saveyFile, 'itum71');
_root.equipWeapon1 = getCookie('database' + _root.saveyFile, 'itum72');
_root.equipWeapon2 = getCookie('database' + _root.saveyFile, 'itum73');
_root.equipWeapon3 = getCookie('database' + _root.saveyFile, 'itum74');
_root.equipWeapon4 = getCookie('database' + _root.saveyFile, 'itum75');
_root.equipWeapon5 = getCookie('database' + _root.saveyFile, 'itum76');
_root.equipWeapon6 = getCookie('database' + _root.saveyFile, 'itum77');
_root.equipWeapon7 = getCookie('database' + _root.saveyFile, 'itum78');
_root.equipWeapon8 = getCookie('database' + _root.saveyFile, 'itum79');
_root.skills = getCookie('database' + _root.saveyFile, 'itum80');
_root.moEXP = getCookie('database' + _root.saveyFile, 'itum81');
_root.exp1 = getCookie('database' + _root.saveyFile, 'itum82');
_root.fight2 = getCookie('database' + _root.saveyFile, 'itum83');
_root.worldmap = getCookie('database' + _root.saveyFile, 'itum84');
_root.level = getCookie('database' + _root.saveyFile, 'itum85');
_root.speedEx = getCookie('database' + _root.saveyFile, 'itum86');
_root.defense = getCookie('database' + _root.saveyFile, 'itum87');
_root.energy = getCookie('database' + _root.saveyFile, 'itum88');
_root.vitality = getCookie('database' + _root.saveyFile, 'itum89');
_root.strength = getCookie('database' + _root.saveyFile, 'itum90');
_root.PercentLoaded = getCookie('database' + _root.saveyFile, 'itum91');
_root.hair = getCookie('database' + _root.saveyFile, 'itum92');
_root.potion = getCookie('database' + _root.saveyFile, 'itum93');
_root.ether = getCookie('database' + _root.saveyFile, 'itum94');
_root.hpotion = getCookie('database' + _root.saveyFile, 'itum95');
_root.xpotion = getCookie('database' + _root.saveyFile, 'itum96');
_root.elixir = getCookie('database' + _root.saveyFile, 'itum97');
_root.critical1 = getCookie('database' + _root.saveyFile, 'itum98');
_root.limit = getCookie('database' + _root.saveyFile, 'itum99');
_root.mp1 = getCookie('database' + _root.saveyFile, 'itum100');
_root.maxmp1 = getCookie('database' + _root.saveyFile, 'itum101');
_root.char1 = getCookie('database' + _root.saveyFile, 'itum102');
_root.maxhp = getCookie('database' + _root.saveyFile, 'itum103');
_root.speed = getCookie('database' + _root.saveyFile, 'itum104');
_root.moEXP = getCookie('database' + _root.saveyFile, 'itum105');
_root.EXPNeeded = getCookie('database' + _root.saveyFile, 'itum106');
_root.antidote = getCookie('database' + _root.saveyFile, 'itum107');
_root.activeMode = getCookie('database' + _root.saveyFile, 'itum108');
_root.waitMode = getCookie('database' + _root.saveyFile, 'itum109');
_root.weapon1 = getCookie('database' + _root.saveyFile, 'itum110');
_root.weapon2 = getCookie('database' + _root.saveyFile, 'itum111');
_root.weapon3 = getCookie('database' + _root.saveyFile, 'itum112');
_root.weapon4 = getCookie('database' + _root.saveyFile, 'itum113');
_root.weapon5 = getCookie('database' + _root.saveyFile, 'itum114');
_root.weapon6 = getCookie('database' + _root.saveyFile, 'itum115');
_root.weapon7 = getCookie('database' + _root.saveyFile, 'itum116');
_root.weapon8 = getCookie('database' + _root.saveyFile, 'itum117');
_root.armor1 = getCookie('database' + _root.saveyFile, 'itum118');
_root.armor2 = getCookie('database' + _root.saveyFile, 'itum119');
_root.armor3 = getCookie('database' + _root.saveyFile, 'itum120');
_root.armor4 = getCookie('database' + _root.saveyFile, 'itum121');
_root.armor5 = getCookie('database' + _root.saveyFile, 'itum122');
_root.armor6 = getCookie('database' + _root.saveyFile, 'itum123');
_root.armor7 = getCookie('database' + _root.saveyFile, 'itum124');
_root.armor8 = getCookie('database' + _root.saveyFile, 'itum125');
_root.belt1 = getCookie('database' + _root.saveyFile, 'itum126');
_root.belt2 = getCookie('database' + _root.saveyFile, 'itum127');
_root.belt3 = getCookie('database' + _root.saveyFile, 'itum128');
_root.belt4 = getCookie('database' + _root.saveyFile, 'itum129');
_root.belt5 = getCookie('database' + _root.saveyFile, 'itum130');
_root.belt6 = getCookie('database' + _root.saveyFile, 'itum131');
_root.belt7 = getCookie('database' + _root.saveyFile, 'itum132');
_root.belt8 = getCookie('database' + _root.saveyFile, 'itum133');
_root.glasses1 = getCookie('database' + _root.saveyFile, 'itum134');
_root.glasses2 = getCookie('database' + _root.saveyFile, 'itum135');
_root.glasses3 = getCookie('database' + _root.saveyFile, 'itum136');
_root.glasses4 = getCookie('database' + _root.saveyFile, 'itum137');
_root.glasses5 = getCookie('database' + _root.saveyFile, 'itum138');
_root.glasses6 = getCookie('database' + _root.saveyFile, 'itum139');
_root.glasses7 = getCookie('database' + _root.saveyFile, 'itum140');
_root.glasses8 = getCookie('database' + _root.saveyFile, 'itum141');
_root.weaponLook = getCookie('database' + _root.saveyFile, 'itum142');
_root.weaponLook2 = getCookie('database' + _root.saveyFile, 'itum143');
_root.weaponSkill1 = getCookie('database' + _root.saveyFile, 'itum144');
_root.weaponSkill2 = getCookie('database' + _root.saveyFile, 'itum145');
_root.weaponSkill3 = getCookie('database' + _root.saveyFile, 'itum146');
_root.weaponSkill4 = getCookie('database' + _root.saveyFile, 'itum147');
_root.weaponSkill5 = getCookie('database' + _root.saveyFile, 'itum148');
_root.weaponSkill6 = getCookie('database' + _root.saveyFile, 'itum149');
_root.weaponSkill7 = getCookie('database' + _root.saveyFile, 'itum150');
_root.weaponSkill8 = getCookie('database' + _root.saveyFile, 'itum151');
_root.weaponSkill9 = getCookie('database' + _root.saveyFile, 'itum152');
_root.weaponSkill10 = getCookie('database' + _root.saveyFile, 'itum153');
_root.weaponSkill11 = getCookie('database' + _root.saveyFile, 'itum154');
_root.weaponSkill12 = getCookie('database' + _root.saveyFile, 'itum155');
_root.weaponSkill13 = getCookie('database' + _root.saveyFile, 'itum156');
_root.weaponSkill14 = getCookie('database' + _root.saveyFile, 'itum157');
_root.weaponSkill15 = getCookie('database' + _root.saveyFile, 'itum158');
_root.weaponSkill16 = getCookie('database' + _root.saveyFile, 'itum159');
_root.weaponSkill17 = getCookie('database' + _root.saveyFile, 'itum160');
_root.weaponSkill18 = getCookie('database' + _root.saveyFile, 'itum161');
_root.weaponSkill19 = getCookie('database' + _root.saveyFile, 'itum162');
_root.weaponSkill20 = getCookie('database' + _root.saveyFile, 'itum163');
_root.weaponSkill21 = getCookie('database' + _root.saveyFile, 'itum164');
_root.weaponSkill22 = getCookie('database' + _root.saveyFile, 'itum165');
_root.weaponSkill23 = getCookie('database' + _root.saveyFile, 'itum166');
_root.weaponSkill24 = getCookie('database' + _root.saveyFile, 'itum167');
_root.armorLook1 = getCookie('database' + _root.saveyFile, 'itum168');
_root.armorLook2 = getCookie('database' + _root.saveyFile, 'itum169');
_root.specialPlace1 = getCookie('database' + _root.saveyFile, 'itum170');
_root.hairStyle = getCookie('database' + _root.saveyFile, 'itum171');
_root.armorName1 = getCookie('database' + _root.saveyFile, 'itum172');
_root.armorName2 = getCookie('database' + _root.saveyFile, 'itum173');
_root.armorName3 = getCookie('database' + _root.saveyFile, 'itum174');
_root.armorName4 = getCookie('database' + _root.saveyFile, 'itum175');
_root.armorName5 = getCookie('database' + _root.saveyFile, 'itum176');
_root.armorName6 = getCookie('database' + _root.saveyFile, 'itum177');
_root.armorName7 = getCookie('database' + _root.saveyFile, 'itum178');
_root.armorName8 = getCookie('database' + _root.saveyFile, 'itum179');
_root.beltName1 = getCookie('database' + _root.saveyFile, 'itum180');
_root.beltName2 = getCookie('database' + _root.saveyFile, 'itum181');
_root.beltName3 = getCookie('database' + _root.saveyFile, 'itum182');
_root.beltName4 = getCookie('database' + _root.saveyFile, 'itum183');
_root.beltName5 = getCookie('database' + _root.saveyFile, 'itum184');
_root.beltName6 = getCookie('database' + _root.saveyFile, 'itum185');
_root.beltName7 = getCookie('database' + _root.saveyFile, 'itum186');
_root.beltName8 = getCookie('database' + _root.saveyFile, 'itum187');
_root.weaponName1 = getCookie('database' + _root.saveyFile, 'itum188');
_root.weaponName2 = getCookie('database' + _root.saveyFile, 'itum189');
_root.weaponName3 = getCookie('database' + _root.saveyFile, 'itum190');
_root.weaponName4 = getCookie('database' + _root.saveyFile, 'itum191');
_root.weaponName5 = getCookie('database' + _root.saveyFile, 'itum192');
_root.weaponName6 = getCookie('database' + _root.saveyFile, 'itum193');
_root.weaponName7 = getCookie('database' + _root.saveyFile, 'itum194');
_root.weaponName8 = getCookie('database' + _root.saveyFile, 'itum195');
_root.glassesName1 = getCookie('database' + _root.saveyFile, 'itum196');
_root.glassesName2 = getCookie('database' + _root.saveyFile, 'itum197');
_root.glassesName3 = getCookie('database' + _root.saveyFile, 'itum198');
_root.glassesName4 = getCookie('database' + _root.saveyFile, 'itum199');
_root.glassesName5 = getCookie('database' + _root.saveyFile, 'itum200');
_root.glassesName6 = getCookie('database' + _root.saveyFile, 'itum201');
_root.glassesName7 = getCookie('database' + _root.saveyFile, 'itum202');
_root.glassesName8 = getCookie('database' + _root.saveyFile, 'itum203');
_root.equipBelt1 = getCookie('database' + _root.saveyFile, 'itum204');
_root.equipBelt2 = getCookie('database' + _root.saveyFile, 'itum205');
_root.equipBelt3 = getCookie('database' + _root.saveyFile, 'itum206');
_root.equipBelt4 = getCookie('database' + _root.saveyFile, 'itum207');
_root.equipBelt5 = getCookie('database' + _root.saveyFile, 'itum208');
_root.equipBelt6 = getCookie('database' + _root.saveyFile, 'itum209');
_root.equipBelt7 = getCookie('database' + _root.saveyFile, 'itum210');
_root.equipBelt8 = getCookie('database' + _root.saveyFile, 'itum211');
_root.beltLook = getCookie('database' + _root.saveyFile, 'itum212');
_root.beltLook2 = getCookie('database' + _root.saveyFile, 'itum213');
_root.beltSkill1 = getCookie('database' + _root.saveyFile, 'itum214');
_root.beltSkill2 = getCookie('database' + _root.saveyFile, 'itum215');
_root.beltSkill3 = getCookie('database' + _root.saveyFile, 'itum216');
_root.beltSkill4 = getCookie('database' + _root.saveyFile, 'itum217');
_root.beltSkill5 = getCookie('database' + _root.saveyFile, 'itum218');
_root.beltSkill6 = getCookie('database' + _root.saveyFile, 'itum219');
_root.beltSkill7 = getCookie('database' + _root.saveyFile, 'itum220');
_root.beltSkill8 = getCookie('database' + _root.saveyFile, 'itum221');
_root.equipGlasses1 = getCookie('database' + _root.saveyFile, 'itum222');
_root.equipGlasses2 = getCookie('database' + _root.saveyFile, 'itum223');
_root.equipGlasses3 = getCookie('database' + _root.saveyFile, 'itum224');
_root.equipGlasses4 = getCookie('database' + _root.saveyFile, 'itum225');
_root.equipGlasses5 = getCookie('database' + _root.saveyFile, 'itum226');
_root.equipGlasses6 = getCookie('database' + _root.saveyFile, 'itum227');
_root.equipGlasses7 = getCookie('database' + _root.saveyFile, 'itum228');
_root.equipGlasses8 = getCookie('database' + _root.saveyFile, 'itum229');
_root.glassesLook1 = getCookie('database' + _root.saveyFile, 'itum230');
_root.glassesLook2 = getCookie('database' + _root.saveyFile, 'itum231');
_root.glassesSkill1 = getCookie('database' + _root.saveyFile, 'itum232');
_root.glassesSkill2 = getCookie('database' + _root.saveyFile, 'itum233');
_root.glassesSkill3 = getCookie('database' + _root.saveyFile, 'itum234');
_root.glassesSkill4 = getCookie('database' + _root.saveyFile, 'itum235');
_root.glassesSkill5 = getCookie('database' + _root.saveyFile, 'itum236');
_root.glassesSkill6 = getCookie('database' + _root.saveyFile, 'itum237');
_root.glassesSkill7 = getCookie('database' + _root.saveyFile, 'itum238');
_root.glassesSkill8 = getCookie('database' + _root.saveyFile, 'itum239');
_root.equipArmor1 = getCookie('database' + _root.saveyFile, 'itum240');
_root.equipArmor2 = getCookie('database' + _root.saveyFile, 'itum241');
_root.equipArmor3 = getCookie('database' + _root.saveyFile, 'itum242');
_root.equipArmor4 = getCookie('database' + _root.saveyFile, 'itum243');
_root.equipArmor5 = getCookie('database' + _root.saveyFile, 'itum244');
_root.equipArmor6 = getCookie('database' + _root.saveyFile, 'itum245');
_root.equipArmor7 = getCookie('database' + _root.saveyFile, 'itum246');
_root.equipArmor8 = getCookie('database' + _root.saveyFile, 'itum247');
_root.armorSkill1 = getCookie('database' + _root.saveyFile, 'itum248');
_root.armorSkill2 = getCookie('database' + _root.saveyFile, 'itum249');
_root.armorSkill3 = getCookie('database' + _root.saveyFile, 'itum250');
_root.armorSkill4 = getCookie('database' + _root.saveyFile, 'itum251');
_root.armorSkill5 = getCookie('database' + _root.saveyFile, 'itum252');
_root.armorSkill6 = getCookie('database' + _root.saveyFile, 'itum253');
_root.armorSkill7 = getCookie('database' + _root.saveyFile, 'itum254');
_root.armorSkill8 = getCookie('database' + _root.saveyFile, 'itum255');
_root.armorSkill9 = getCookie('database' + _root.saveyFile, 'itum256');
_root.armorSkill10 = getCookie('database' + _root.saveyFile, 'itum257');
_root.armorSkill11 = getCookie('database' + _root.saveyFile, 'itum258');
_root.armorSkill12 = getCookie('database' + _root.saveyFile, 'itum259');
_root.armorSkill13 = getCookie('database' + _root.saveyFile, 'itum260');
_root.armorSkill14 = getCookie('database' + _root.saveyFile, 'itum261');
_root.armorSkill15 = getCookie('database' + _root.saveyFile, 'itum262');
_root.armorSkill16 = getCookie('database' + _root.saveyFile, 'itum263');
_root.armorSkill17 = getCookie('database' + _root.saveyFile, 'itum264');
_root.armorSkill18 = getCookie('database' + _root.saveyFile, 'itum265');
_root.armorSkill19 = getCookie('database' + _root.saveyFile, 'itum266');
_root.armorSkill20 = getCookie('database' + _root.saveyFile, 'itum267');
_root.armorSkill21 = getCookie('database' + _root.saveyFile, 'itum268');
_root.armorSkill22 = getCookie('database' + _root.saveyFile, 'itum269');
_root.armorSkill23 = getCookie('database' + _root.saveyFile, 'itum270');
_root.armorSkill24 = getCookie('database' + _root.saveyFile, 'itum271');
_root.hairStyle2 = getCookie('database' + _root.saveyFile, 'itum272');
_root.order1 = getCookie('database' + _root.saveyFile, 'itum274');
_root.order2 = getCookie('database' + _root.saveyFile, 'itum275');
_root.lifeLeech = getCookie('database' + _root.saveyFile, 'itum276');
_root.magLeech = getCookie('database' + _root.saveyFile, 'itum277');
_root.helpModeOff = getCookie('database' + _root.saveyFile, 'itum278');
_root.chest1 = getCookie('database' + _root.saveyFile, 'itum279');
_root.chest2 = getCookie('database' + _root.saveyFile, 'itum280');
_root.chest3 = getCookie('database' + _root.saveyFile, 'itum281');
_root.chest4 = getCookie('database' + _root.saveyFile, 'itum282');
_root.chest5 = getCookie('database' + _root.saveyFile, 'itum283');
_root.minutos = getCookie('database' + _root.saveyFile, 'itum284');
_root.minutos2 = getCookie('database' + _root.saveyFile, 'itum285');
_root.hoursos = getCookie('database' + _root.saveyFile, 'itum286');
_root.hoursos2 = getCookie('database' + _root.saveyFile, 'itum287');
_root.speedShoes = getCookie('database' + _root.saveyFile, 'itum288');
_root.chest6 = getCookie('database' + _root.saveyFile, 'itum289');
_root.hoursos3 = getCookie('database' + _root.saveyFile, 'itum290');
_root.minutos3 = getCookie('database' + _root.saveyFile, 'itum291');
_root.healskilled2 = getCookie('database' + _root.saveyFile, 'itum292');
_root.fireswodskilled = getCookie('database' + _root.saveyFile, 'itum293');
_root.lightswodskilled = getCookie('database' + _root.saveyFile, 'itum294');
_root.enchantskilled = getCookie('database' + _root.saveyFile, 'itum295');
_root.demiskilled = getCookie('database' + _root.saveyFile, 'itum296');
_root.confuseskilled = getCookie('database' + _root.saveyFile, 'itum297');
_root.ballLightskilled = getCookie('database' + _root.saveyFile, 'itum298');
_root.berserkskilled = getCookie('database' + _root.saveyFile, 'itum299');
_root.sheildskilled = getCookie('database' + _root.saveyFile, 'itum300');
_root.frogskilled = getCookie('database' + _root.saveyFile, 'itum301');
_root.flareskilled = getCookie('database' + _root.saveyFile, 'itum302');
_root.cometskilled = getCookie('database' + _root.saveyFile, 'itum303');
_root.skillpoint3 = getCookie('database' + _root.saveyFile, 'itum304');
_root.holyskilled = getCookie('database' + _root.saveyFile, 'itum305');
_root.quickthrowskilled = getCookie('database' + _root.saveyFile, 'itum306');
_root.moneyskilled = getCookie('database' + _root.saveyFile, 'itum307');
_root.skillpointsskilled = getCookie('database' + _root.saveyFile, 'itum308');
_root.energyskilled = getCookie('database' + _root.saveyFile, 'itum309');
_root.vitalityskilled = getCookie('database' + _root.saveyFile, 'itum310');
_root.statusskilled = getCookie('database' + _root.saveyFile, 'itum311');
_root.expskilled = getCookie('database' + _root.saveyFile, 'itum312');
_root.shockwaveskilled = getCookie('database' + _root.saveyFile, 'itum313');
_root.powerbreakskilled = getCookie('database' + _root.saveyFile, 'itum314');
_root.multileechskilled = getCookie('database' + _root.saveyFile, 'itum315');
_root.multislashskilled = getCookie('database' + _root.saveyFile, 'itum316');
_root.counterskilled = getCookie('database' + _root.saveyFile, 'itum317');
_root.spamItem = getCookie('database' + _root.saveyFile, 'itum318');
_root.docStickItem = getCookie('database' + _root.saveyFile, 'itum319');
_root.smokeHatItem = getCookie('database' + _root.saveyFile, 'itum320');
_root.stickCourage = getCookie('database' + _root.saveyFile, 'itum321');
_root.supeSpeed = getCookie('database' + _root.saveyFile, 'itum322');
_root.mistOn = getCookie('database' + _root.saveyFile, 'itum323');
_root.girlBed = getCookie('database' + _root.saveyFile, 'itum324');
_root.story = getCookie('database' + _root.saveyFile, 'itum325');
_root.herosItem = getCookie('database' + _root.saveyFile, 'itum327');
_root.heroRing = getCookie('database' + _root.saveyFile, 'itum328');
_root.jerarmsItem = getCookie('database' + _root.saveyFile, 'itum329');
_root.gotIt1 = getCookie('database' + _root.saveyFile, 'itum330');
_root.gotIt2 = getCookie('database' + _root.saveyFile, 'itum331');
_root.gotIt3 = getCookie('database' + _root.saveyFile, 'itum332');
_root.areaSave = getCookie('database' + _root.saveyFile, 'itum333');
_root.keyMe = getCookie('database' + _root.saveyFile, 'itum334');
_root.fluteItem = getCookie('database' + _root.saveyFile, 'itum335');
_root.defensePotion = getCookie('database' + _root.saveyFile, 'itum336');
_root.skillPotion = getCookie('database' + _root.saveyFile, 'itum337');
_root.magicPotion = getCookie('database' + _root.saveyFile, 'itum338');
_root.strengthPotion = getCookie('database' + _root.saveyFile, 'itum339');
_root.lifePotion = getCookie('database' + _root.saveyFile, 'itum340');
_root.supesCape = getCookie('database' + _root.saveyFile, 'itum341');
if (isNaN(_root.defensePotion + 1) == true) {
_root.defensePotion = 0;
}
if (isNaN(_root.skillPotion + 1) == true) {
_root.skillPotion = 0;
}
if (isNaN(_root.magicPotion + 1) == true) {
_root.magicPotion = 0;
}
if (isNaN(_root.strengthPotion + 1) == true) {
_root.strengthPotion = 0;
}
if (isNaN(_root.lifePotion + 1) == true) {
_root.lifePotion = 0;
}
_root.loadIt2 = 1;
_root.fadeOut = 1;
stopAllSounds();
if (_root.gotoThingy != 1) {
_root.fadeO.gotoAndPlay(2);
}
_root.gotoThingy = 1;
}
}
button 9158 {
on (release) {
_root.saveyFile = 2;
_root.fadeOut = 1;
_root.firemanskilled = getCookie('database' + _root.saveyFile, 'itum1');
_root.lighthorseskilled = getCookie('database' + _root.saveyFile, 'itum2');
_root.dragonskilled = getCookie('database' + _root.saveyFile, 'itum3');
_root.hypnotistskilled = getCookie('database' + _root.saveyFile, 'itum4');
_root.limit2 = getCookie('database' + _root.saveyFile, 'itum5');
_root.defaultPower = getCookie('database' + _root.saveyFile, 'itum6');
_root.enemyEncounter = getCookie('database' + _root.saveyFile, 'itum7');
_root.helpModeOn = getCookie('database' + _root.saveyFile, 'itum8');
_root.critical2 = getCookie('database' + _root.saveyFile, 'itum9');
_root.ap2 = getCookie('database' + _root.saveyFile, 'itum10');
_root.exp2 = getCookie('database' + _root.saveyFile, 'itum11');
_root.EXPNeeded2 = getCookie('database' + _root.saveyFile, 'itum12');
_root.clockSeconds = getCookie('database' + _root.saveyFile, 'itum13');
_root.clockMinutes = getCookie('database' + _root.saveyFile, 'itum14');
_root.clockHours = getCookie('database' + _root.saveyFile, 'itum15');
_root.qattackskilled = getCookie('database' + _root.saveyFile, 'itum16');
_root.dattackskilled = getCookie('database' + _root.saveyFile, 'itum17');
_root.nightmareskilled = getCookie('database' + _root.saveyFile, 'itum18');
_root.hpdrainskilled = getCookie('database' + _root.saveyFile, 'itum19');
_root.mpdrainskilled = getCookie('database' + _root.saveyFile, 'itum20');
_root.deathskilled = getCookie('database' + _root.saveyFile, 'itum21');
_root.hlevel = getCookie('database' + _root.saveyFile, 'itum22');
_root.energy2 = getCookie('database' + _root.saveyFile, 'itum23');
_root.comebackskilled = getCookie('database' + _root.saveyFile, 'itum24');
_root.protectDefense = getCookie('database' + _root.saveyFile, 'itum25');
_root.shellDefense = getCookie('database' + _root.saveyFile, 'itum26');
_root.level2 = getCookie('database' + _root.saveyFile, 'itum27');
_root.defense2 = getCookie('database' + _root.saveyFile, 'itum28');
_root.vitality2 = getCookie('database' + _root.saveyFile, 'itum29');
_root.skills2 = getCookie('database' + _root.saveyFile, 'itum30');
_root.strength2 = getCookie('database' + _root.saveyFile, 'itum31');
_root.mp2 = getCookie('database' + _root.saveyFile, 'itum32');
_root.maxmp2 = getCookie('database' + _root.saveyFile, 'itum33');
_root.activeMode = getCookie('database' + _root.saveyFile, 'itum34');
_root.charSwitchOn = getCookie('database' + _root.saveyFile, 'itum35');
_root.defense2 = getCookie('database' + _root.saveyFile, 'itum36');
_root.char2 = getCookie('database' + _root.saveyFile, 'itum37');
_root.maxhp2 = getCookie('database' + _root.saveyFile, 'itum38');
_root.char2Alive = getCookie('database' + _root.saveyFile, 'itum39');
_root.hptwo2 = getCookie('database' + _root.saveyFile, 'itum40');
_root.mptwo2 = getCookie('database' + _root.saveyFile, 'itum41');
_root.char1Alive = getCookie('database' + _root.saveyFile, 'itum42');
_root.revive = getCookie('database' + _root.saveyFile, 'itum43');
_root.money = getCookie('database' + _root.saveyFile, 'itum44');
_root.notAnother = getCookie('database' + _root.saveyFile, 'itum45');
_root.ap = getCookie('database' + _root.saveyFile, 'itum46');
_root.moHp = getCookie('database' + _root.saveyFile, 'itum47');
_root.ultimaskilled = getCookie('database' + _root.saveyFile, 'itum48');
_root.furystormskilled = getCookie('database' + _root.saveyFile, 'itum49');
_root.slowskilled = getCookie('database' + _root.saveyFile, 'itum50');
_root.stopskilled = getCookie('database' + _root.saveyFile, 'itum51');
_root.shellskilled = getCookie('database' + _root.saveyFile, 'itum52');
_root.protectskilled = getCookie('database' + _root.saveyFile, 'itum53');
_root.hasteskilled = getCookie('database' + _root.saveyFile, 'itum54');
_root.bioskilled = getCookie('database' + _root.saveyFile, 'itum55');
_root.sleepskilled = getCookie('database' + _root.saveyFile, 'itum56');
_root.reviveskilled = getCookie('database' + _root.saveyFile, 'itum57');
_root.replenishskilled = getCookie('database' + _root.saveyFile, 'itum58');
_root.leechskilled = getCookie('database' + _root.saveyFile, 'itum59');
_root.healskilled = getCookie('database' + _root.saveyFile, 'itum60');
_root.fireskilled = getCookie('database' + _root.saveyFile, 'itum61');
_root.lightskilled = getCookie('database' + _root.saveyFile, 'itum62');
_root.iceskilled = getCookie('database' + _root.saveyFile, 'itum63');
_root.skillpoint2 = getCookie('database' + _root.saveyFile, 'itum64');
_root.attack2 = getCookie('database' + _root.saveyFile, 'itum65');
_root.speedEx2 = getCookie('database' + _root.saveyFile, 'itum66');
_root.speed2 = getCookie('database' + _root.saveyFile, 'itum67');
_root.moneyPlus = getCookie('database' + _root.saveyFile, 'itum68');
_root.EXPMore = getCookie('database' + _root.saveyFile, 'itum69');
_root.hptwo = getCookie('database' + _root.saveyFile, 'itum70');
_root.mptwo = getCookie('database' + _root.saveyFile, 'itum71');
_root.equipWeapon1 = getCookie('database' + _root.saveyFile, 'itum72');
_root.equipWeapon2 = getCookie('database' + _root.saveyFile, 'itum73');
_root.equipWeapon3 = getCookie('database' + _root.saveyFile, 'itum74');
_root.equipWeapon4 = getCookie('database' + _root.saveyFile, 'itum75');
_root.equipWeapon5 = getCookie('database' + _root.saveyFile, 'itum76');
_root.equipWeapon6 = getCookie('database' + _root.saveyFile, 'itum77');
_root.equipWeapon7 = getCookie('database' + _root.saveyFile, 'itum78');
_root.equipWeapon8 = getCookie('database' + _root.saveyFile, 'itum79');
_root.skills = getCookie('database' + _root.saveyFile, 'itum80');
_root.moEXP = getCookie('database' + _root.saveyFile, 'itum81');
_root.exp1 = getCookie('database' + _root.saveyFile, 'itum82');
_root.fight2 = getCookie('database' + _root.saveyFile, 'itum83');
_root.worldmap = getCookie('database' + _root.saveyFile, 'itum84');
_root.level = getCookie('database' + _root.saveyFile, 'itum85');
_root.speedEx = getCookie('database' + _root.saveyFile, 'itum86');
_root.defense = getCookie('database' + _root.saveyFile, 'itum87');
_root.energy = getCookie('database' + _root.saveyFile, 'itum88');
_root.vitality = getCookie('database' + _root.saveyFile, 'itum89');
_root.strength = getCookie('database' + _root.saveyFile, 'itum90');
_root.PercentLoaded = getCookie('database' + _root.saveyFile, 'itum91');
_root.hair = getCookie('database' + _root.saveyFile, 'itum92');
_root.potion = getCookie('database' + _root.saveyFile, 'itum93');
_root.ether = getCookie('database' + _root.saveyFile, 'itum94');
_root.hpotion = getCookie('database' + _root.saveyFile, 'itum95');
_root.xpotion = getCookie('database' + _root.saveyFile, 'itum96');
_root.elixir = getCookie('database' + _root.saveyFile, 'itum97');
_root.critical1 = getCookie('database' + _root.saveyFile, 'itum98');
_root.limit = getCookie('database' + _root.saveyFile, 'itum99');
_root.mp1 = getCookie('database' + _root.saveyFile, 'itum100');
_root.maxmp1 = getCookie('database' + _root.saveyFile, 'itum101');
_root.char1 = getCookie('database' + _root.saveyFile, 'itum102');
_root.maxhp = getCookie('database' + _root.saveyFile, 'itum103');
_root.speed = getCookie('database' + _root.saveyFile, 'itum104');
_root.moEXP = getCookie('database' + _root.saveyFile, 'itum105');
_root.EXPNeeded = getCookie('database' + _root.saveyFile, 'itum106');
_root.antidote = getCookie('database' + _root.saveyFile, 'itum107');
_root.activeMode = getCookie('database' + _root.saveyFile, 'itum108');
_root.waitMode = getCookie('database' + _root.saveyFile, 'itum109');
_root.weapon1 = getCookie('database' + _root.saveyFile, 'itum110');
_root.weapon2 = getCookie('database' + _root.saveyFile, 'itum111');
_root.weapon3 = getCookie('database' + _root.saveyFile, 'itum112');
_root.weapon4 = getCookie('database' + _root.saveyFile, 'itum113');
_root.weapon5 = getCookie('database' + _root.saveyFile, 'itum114');
_root.weapon6 = getCookie('database' + _root.saveyFile, 'itum115');
_root.weapon7 = getCookie('database' + _root.saveyFile, 'itum116');
_root.weapon8 = getCookie('database' + _root.saveyFile, 'itum117');
_root.armor1 = getCookie('database' + _root.saveyFile, 'itum118');
_root.armor2 = getCookie('database' + _root.saveyFile, 'itum119');
_root.armor3 = getCookie('database' + _root.saveyFile, 'itum120');
_root.armor4 = getCookie('database' + _root.saveyFile, 'itum121');
_root.armor5 = getCookie('database' + _root.saveyFile, 'itum122');
_root.armor6 = getCookie('database' + _root.saveyFile, 'itum123');
_root.armor7 = getCookie('database' + _root.saveyFile, 'itum124');
_root.armor8 = getCookie('database' + _root.saveyFile, 'itum125');
_root.belt1 = getCookie('database' + _root.saveyFile, 'itum126');
_root.belt2 = getCookie('database' + _root.saveyFile, 'itum127');
_root.belt3 = getCookie('database' + _root.saveyFile, 'itum128');
_root.belt4 = getCookie('database' + _root.saveyFile, 'itum129');
_root.belt5 = getCookie('database' + _root.saveyFile, 'itum130');
_root.belt6 = getCookie('database' + _root.saveyFile, 'itum131');
_root.belt7 = getCookie('database' + _root.saveyFile, 'itum132');
_root.belt8 = getCookie('database' + _root.saveyFile, 'itum133');
_root.glasses1 = getCookie('database' + _root.saveyFile, 'itum134');
_root.glasses2 = getCookie('database' + _root.saveyFile, 'itum135');
_root.glasses3 = getCookie('database' + _root.saveyFile, 'itum136');
_root.glasses4 = getCookie('database' + _root.saveyFile, 'itum137');
_root.glasses5 = getCookie('database' + _root.saveyFile, 'itum138');
_root.glasses6 = getCookie('database' + _root.saveyFile, 'itum139');
_root.glasses7 = getCookie('database' + _root.saveyFile, 'itum140');
_root.glasses8 = getCookie('database' + _root.saveyFile, 'itum141');
_root.weaponLook = getCookie('database' + _root.saveyFile, 'itum142');
_root.weaponLook2 = getCookie('database' + _root.saveyFile, 'itum143');
_root.weaponSkill1 = getCookie('database' + _root.saveyFile, 'itum144');
_root.weaponSkill2 = getCookie('database' + _root.saveyFile, 'itum145');
_root.weaponSkill3 = getCookie('database' + _root.saveyFile, 'itum146');
_root.weaponSkill4 = getCookie('database' + _root.saveyFile, 'itum147');
_root.weaponSkill5 = getCookie('database' + _root.saveyFile, 'itum148');
_root.weaponSkill6 = getCookie('database' + _root.saveyFile, 'itum149');
_root.weaponSkill7 = getCookie('database' + _root.saveyFile, 'itum150');
_root.weaponSkill8 = getCookie('database' + _root.saveyFile, 'itum151');
_root.weaponSkill9 = getCookie('database' + _root.saveyFile, 'itum152');
_root.weaponSkill10 = getCookie('database' + _root.saveyFile, 'itum153');
_root.weaponSkill11 = getCookie('database' + _root.saveyFile, 'itum154');
_root.weaponSkill12 = getCookie('database' + _root.saveyFile, 'itum155');
_root.weaponSkill13 = getCookie('database' + _root.saveyFile, 'itum156');
_root.weaponSkill14 = getCookie('database' + _root.saveyFile, 'itum157');
_root.weaponSkill15 = getCookie('database' + _root.saveyFile, 'itum158');
_root.weaponSkill16 = getCookie('database' + _root.saveyFile, 'itum159');
_root.weaponSkill17 = getCookie('database' + _root.saveyFile, 'itum160');
_root.weaponSkill18 = getCookie('database' + _root.saveyFile, 'itum161');
_root.weaponSkill19 = getCookie('database' + _root.saveyFile, 'itum162');
_root.weaponSkill20 = getCookie('database' + _root.saveyFile, 'itum163');
_root.weaponSkill21 = getCookie('database' + _root.saveyFile, 'itum164');
_root.weaponSkill22 = getCookie('database' + _root.saveyFile, 'itum165');
_root.weaponSkill23 = getCookie('database' + _root.saveyFile, 'itum166');
_root.weaponSkill24 = getCookie('database' + _root.saveyFile, 'itum167');
_root.armorLook1 = getCookie('database' + _root.saveyFile, 'itum168');
_root.armorLook2 = getCookie('database' + _root.saveyFile, 'itum169');
_root.specialPlace1 = getCookie('database' + _root.saveyFile, 'itum170');
_root.hairStyle = getCookie('database' + _root.saveyFile, 'itum171');
_root.armorName1 = getCookie('database' + _root.saveyFile, 'itum172');
_root.armorName2 = getCookie('database' + _root.saveyFile, 'itum173');
_root.armorName3 = getCookie('database' + _root.saveyFile, 'itum174');
_root.armorName4 = getCookie('database' + _root.saveyFile, 'itum175');
_root.armorName5 = getCookie('database' + _root.saveyFile, 'itum176');
_root.armorName6 = getCookie('database' + _root.saveyFile, 'itum177');
_root.armorName7 = getCookie('database' + _root.saveyFile, 'itum178');
_root.armorName8 = getCookie('database' + _root.saveyFile, 'itum179');
_root.beltName1 = getCookie('database' + _root.saveyFile, 'itum180');
_root.beltName2 = getCookie('database' + _root.saveyFile, 'itum181');
_root.beltName3 = getCookie('database' + _root.saveyFile, 'itum182');
_root.beltName4 = getCookie('database' + _root.saveyFile, 'itum183');
_root.beltName5 = getCookie('database' + _root.saveyFile, 'itum184');
_root.beltName6 = getCookie('database' + _root.saveyFile, 'itum185');
_root.beltName7 = getCookie('database' + _root.saveyFile, 'itum186');
_root.beltName8 = getCookie('database' + _root.saveyFile, 'itum187');
_root.weaponName1 = getCookie('database' + _root.saveyFile, 'itum188');
_root.weaponName2 = getCookie('database' + _root.saveyFile, 'itum189');
_root.weaponName3 = getCookie('database' + _root.saveyFile, 'itum190');
_root.weaponName4 = getCookie('database' + _root.saveyFile, 'itum191');
_root.weaponName5 = getCookie('database' + _root.saveyFile, 'itum192');
_root.weaponName6 = getCookie('database' + _root.saveyFile, 'itum193');
_root.weaponName7 = getCookie('database' + _root.saveyFile, 'itum194');
_root.weaponName8 = getCookie('database' + _root.saveyFile, 'itum195');
_root.glassesName1 = getCookie('database' + _root.saveyFile, 'itum196');
_root.glassesName2 = getCookie('database' + _root.saveyFile, 'itum197');
_root.glassesName3 = getCookie('database' + _root.saveyFile, 'itum198');
_root.glassesName4 = getCookie('database' + _root.saveyFile, 'itum199');
_root.glassesName5 = getCookie('database' + _root.saveyFile, 'itum200');
_root.glassesName6 = getCookie('database' + _root.saveyFile, 'itum201');
_root.glassesName7 = getCookie('database' + _root.saveyFile, 'itum202');
_root.glassesName8 = getCookie('database' + _root.saveyFile, 'itum203');
_root.equipBelt1 = getCookie('database' + _root.saveyFile, 'itum204');
_root.equipBelt2 = getCookie('database' + _root.saveyFile, 'itum205');
_root.equipBelt3 = getCookie('database' + _root.saveyFile, 'itum206');
_root.equipBelt4 = getCookie('database' + _root.saveyFile, 'itum207');
_root.equipBelt5 = getCookie('database' + _root.saveyFile, 'itum208');
_root.equipBelt6 = getCookie('database' + _root.saveyFile, 'itum209');
_root.equipBelt7 = getCookie('database' + _root.saveyFile, 'itum210');
_root.equipBelt8 = getCookie('database' + _root.saveyFile, 'itum211');
_root.beltLook = getCookie('database' + _root.saveyFile, 'itum212');
_root.beltLook2 = getCookie('database' + _root.saveyFile, 'itum213');
_root.beltSkill1 = getCookie('database' + _root.saveyFile, 'itum214');
_root.beltSkill2 = getCookie('database' + _root.saveyFile, 'itum215');
_root.beltSkill3 = getCookie('database' + _root.saveyFile, 'itum216');
_root.beltSkill4 = getCookie('database' + _root.saveyFile, 'itum217');
_root.beltSkill5 = getCookie('database' + _root.saveyFile, 'itum218');
_root.beltSkill6 = getCookie('database' + _root.saveyFile, 'itum219');
_root.beltSkill7 = getCookie('database' + _root.saveyFile, 'itum220');
_root.beltSkill8 = getCookie('database' + _root.saveyFile, 'itum221');
_root.equipGlasses1 = getCookie('database' + _root.saveyFile, 'itum222');
_root.equipGlasses2 = getCookie('database' + _root.saveyFile, 'itum223');
_root.equipGlasses3 = getCookie('database' + _root.saveyFile, 'itum224');
_root.equipGlasses4 = getCookie('database' + _root.saveyFile, 'itum225');
_root.equipGlasses5 = getCookie('database' + _root.saveyFile, 'itum226');
_root.equipGlasses6 = getCookie('database' + _root.saveyFile, 'itum227');
_root.equipGlasses7 = getCookie('database' + _root.saveyFile, 'itum228');
_root.equipGlasses8 = getCookie('database' + _root.saveyFile, 'itum229');
_root.glassesLook1 = getCookie('database' + _root.saveyFile, 'itum230');
_root.glassesLook2 = getCookie('database' + _root.saveyFile, 'itum231');
_root.glassesSkill1 = getCookie('database' + _root.saveyFile, 'itum232');
_root.glassesSkill2 = getCookie('database' + _root.saveyFile, 'itum233');
_root.glassesSkill3 = getCookie('database' + _root.saveyFile, 'itum234');
_root.glassesSkill4 = getCookie('database' + _root.saveyFile, 'itum235');
_root.glassesSkill5 = getCookie('database' + _root.saveyFile, 'itum236');
_root.glassesSkill6 = getCookie('database' + _root.saveyFile, 'itum237');
_root.glassesSkill7 = getCookie('database' + _root.saveyFile, 'itum238');
_root.glassesSkill8 = getCookie('database' + _root.saveyFile, 'itum239');
_root.equipArmor1 = getCookie('database' + _root.saveyFile, 'itum240');
_root.equipArmor2 = getCookie('database' + _root.saveyFile, 'itum241');
_root.equipArmor3 = getCookie('database' + _root.saveyFile, 'itum242');
_root.equipArmor4 = getCookie('database' + _root.saveyFile, 'itum243');
_root.equipArmor5 = getCookie('database' + _root.saveyFile, 'itum244');
_root.equipArmor6 = getCookie('database' + _root.saveyFile, 'itum245');
_root.equipArmor7 = getCookie('database' + _root.saveyFile, 'itum246');
_root.equipArmor8 = getCookie('database' + _root.saveyFile, 'itum247');
_root.armorSkill1 = getCookie('database' + _root.saveyFile, 'itum248');
_root.armorSkill2 = getCookie('database' + _root.saveyFile, 'itum249');
_root.armorSkill3 = getCookie('database' + _root.saveyFile, 'itum250');
_root.armorSkill4 = getCookie('database' + _root.saveyFile, 'itum251');
_root.armorSkill5 = getCookie('database' + _root.saveyFile, 'itum252');
_root.armorSkill6 = getCookie('database' + _root.saveyFile, 'itum253');
_root.armorSkill7 = getCookie('database' + _root.saveyFile, 'itum254');
_root.armorSkill8 = getCookie('database' + _root.saveyFile, 'itum255');
_root.armorSkill9 = getCookie('database' + _root.saveyFile, 'itum256');
_root.armorSkill10 = getCookie('database' + _root.saveyFile, 'itum257');
_root.armorSkill11 = getCookie('database' + _root.saveyFile, 'itum258');
_root.armorSkill12 = getCookie('database' + _root.saveyFile, 'itum259');
_root.armorSkill13 = getCookie('database' + _root.saveyFile, 'itum260');
_root.armorSkill14 = getCookie('database' + _root.saveyFile, 'itum261');
_root.armorSkill15 = getCookie('database' + _root.saveyFile, 'itum262');
_root.armorSkill16 = getCookie('database' + _root.saveyFile, 'itum263');
_root.armorSkill17 = getCookie('database' + _root.saveyFile, 'itum264');
_root.armorSkill18 = getCookie('database' + _root.saveyFile, 'itum265');
_root.armorSkill19 = getCookie('database' + _root.saveyFile, 'itum266');
_root.armorSkill20 = getCookie('database' + _root.saveyFile, 'itum267');
_root.armorSkill21 = getCookie('database' + _root.saveyFile, 'itum268');
_root.armorSkill22 = getCookie('database' + _root.saveyFile, 'itum269');
_root.armorSkill23 = getCookie('database' + _root.saveyFile, 'itum270');
_root.armorSkill24 = getCookie('database' + _root.saveyFile, 'itum271');
_root.hairStyle2 = getCookie('database' + _root.saveyFile, 'itum272');
_root.order1 = getCookie('database' + _root.saveyFile, 'itum274');
_root.order2 = getCookie('database' + _root.saveyFile, 'itum275');
_root.lifeLeech = getCookie('database' + _root.saveyFile, 'itum276');
_root.magLeech = getCookie('database' + _root.saveyFile, 'itum277');
_root.helpModeOff = getCookie('database' + _root.saveyFile, 'itum278');
_root.chest1 = getCookie('database' + _root.saveyFile, 'itum279');
_root.chest2 = getCookie('database' + _root.saveyFile, 'itum280');
_root.chest3 = getCookie('database' + _root.saveyFile, 'itum281');
_root.chest4 = getCookie('database' + _root.saveyFile, 'itum282');
_root.chest5 = getCookie('database' + _root.saveyFile, 'itum283');
_root.minutos = getCookie('database' + _root.saveyFile, 'itum284');
_root.minutos2 = getCookie('database' + _root.saveyFile, 'itum285');
_root.hoursos = getCookie('database' + _root.saveyFile, 'itum286');
_root.hoursos2 = getCookie('database' + _root.saveyFile, 'itum287');
_root.speedShoes = getCookie('database' + _root.saveyFile, 'itum288');
_root.chest6 = getCookie('database' + _root.saveyFile, 'itum289');
_root.hoursos3 = getCookie('database' + _root.saveyFile, 'itum290');
_root.minutos3 = getCookie('database' + _root.saveyFile, 'itum291');
_root.healskilled2 = getCookie('database' + _root.saveyFile, 'itum292');
_root.fireswodskilled = getCookie('database' + _root.saveyFile, 'itum293');
_root.lightswodskilled = getCookie('database' + _root.saveyFile, 'itum294');
_root.enchantskilled = getCookie('database' + _root.saveyFile, 'itum295');
_root.demiskilled = getCookie('database' + _root.saveyFile, 'itum296');
_root.confuseskilled = getCookie('database' + _root.saveyFile, 'itum297');
_root.ballLightskilled = getCookie('database' + _root.saveyFile, 'itum298');
_root.berserkskilled = getCookie('database' + _root.saveyFile, 'itum299');
_root.sheildskilled = getCookie('database' + _root.saveyFile, 'itum300');
_root.frogskilled = getCookie('database' + _root.saveyFile, 'itum301');
_root.flareskilled = getCookie('database' + _root.saveyFile, 'itum302');
_root.cometskilled = getCookie('database' + _root.saveyFile, 'itum303');
_root.skillpoint3 = getCookie('database' + _root.saveyFile, 'itum304');
_root.holyskilled = getCookie('database' + _root.saveyFile, 'itum305');
_root.quickthrowskilled = getCookie('database' + _root.saveyFile, 'itum306');
_root.moneyskilled = getCookie('database' + _root.saveyFile, 'itum307');
_root.skillpointsskilled = getCookie('database' + _root.saveyFile, 'itum308');
_root.energyskilled = getCookie('database' + _root.saveyFile, 'itum309');
_root.vitalityskilled = getCookie('database' + _root.saveyFile, 'itum310');
_root.statusskilled = getCookie('database' + _root.saveyFile, 'itum311');
_root.expskilled = getCookie('database' + _root.saveyFile, 'itum312');
_root.shockwaveskilled = getCookie('database' + _root.saveyFile, 'itum313');
_root.powerbreakskilled = getCookie('database' + _root.saveyFile, 'itum314');
_root.multileechskilled = getCookie('database' + _root.saveyFile, 'itum315');
_root.multislashskilled = getCookie('database' + _root.saveyFile, 'itum316');
_root.counterskilled = getCookie('database' + _root.saveyFile, 'itum317');
_root.spamItem = getCookie('database' + _root.saveyFile, 'itum318');
_root.docStickItem = getCookie('database' + _root.saveyFile, 'itum319');
_root.smokeHatItem = getCookie('database' + _root.saveyFile, 'itum320');
_root.stickCourage = getCookie('database' + _root.saveyFile, 'itum321');
_root.supeSpeed = getCookie('database' + _root.saveyFile, 'itum322');
_root.mistOn = getCookie('database' + _root.saveyFile, 'itum323');
_root.girlBed = getCookie('database' + _root.saveyFile, 'itum324');
_root.story = getCookie('database' + _root.saveyFile, 'itum325');
_root.herosItem = getCookie('database' + _root.saveyFile, 'itum327');
_root.heroRing = getCookie('database' + _root.saveyFile, 'itum328');
_root.jerarmsItem = getCookie('database' + _root.saveyFile, 'itum329');
_root.gotIt1 = getCookie('database' + _root.saveyFile, 'itum330');
_root.gotIt2 = getCookie('database' + _root.saveyFile, 'itum331');
_root.gotIt3 = getCookie('database' + _root.saveyFile, 'itum332');
_root.areaSave = getCookie('database' + _root.saveyFile, 'itum333');
_root.keyMe = getCookie('database' + _root.saveyFile, 'itum334');
_root.fluteItem = getCookie('database' + _root.saveyFile, 'itum335');
_root.defensePotion = getCookie('database' + _root.saveyFile, 'itum336');
_root.skillPotion = getCookie('database' + _root.saveyFile, 'itum337');
_root.magicPotion = getCookie('database' + _root.saveyFile, 'itum338');
_root.strengthPotion = getCookie('database' + _root.saveyFile, 'itum339');
_root.lifePotion = getCookie('database' + _root.saveyFile, 'itum340');
_root.supesCape = getCookie('database' + _root.saveyFile, 'itum341');
if (isNaN(_root.defensePotion + 1) == true) {
_root.defensePotion = 0;
}
if (isNaN(_root.skillPotion + 1) == true) {
_root.skillPotion = 0;
}
if (isNaN(_root.magicPotion + 1) == true) {
_root.magicPotion = 0;
}
if (isNaN(_root.strengthPotion + 1) == true) {
_root.strengthPotion = 0;
}
if (isNaN(_root.lifePotion + 1) == true) {
_root.lifePotion = 0;
}
_root.loadIt2 = 1;
stopAllSounds();
_root.fadeOut = 1;
if (_root.gotoThingy != 1) {
_root.fadeO.gotoAndPlay(2);
}
_root.gotoThingy = 1;
}
}
button 9159 {
on (release) {
gotoAndPlay(8);
}
}
movieClip 9164 {
frame 1 {
stop();
}
frame 7 {
_root.loadOpen = 1;
if (_root.saveyYo == 1) {
data1 = 'Valid Data';
} else {
data1 = 'No Data';
this.loadIt1._visible = false;
}
if (_root.saveyYo2 == 1) {
data2 = 'Valid Data';
} else {
data2 = 'No Data';
this.loadIt2._visible = false;
}
if (_root.saveyYo3 == 1) {
data3 = 'Valid Data';
} else {
data3 = 'No Data';
this.loadIt3._visible = false;
}
stop();
}
frame 13 {
_root.loadOpen = 0;
gotoAndStop(1);
}
}
button 9166 {
on (release) {
if (_root.loadOpen == 1) {
_root.loddy.gotoAndPlay(9);
}
if (_root.openOptions == 1) {
_root.oppy.gotoAndPlay(9);
}
if (_root.creditOpen == 1) {
_root.credy.gotoAndPlay(9);
}
gotoAndPlay(2);
}
}
button 9175 {
on (release) {
gotoAndStop(2);
}
}
button 9176 {
on (release) {
gotoAndStop(2);
}
}
button 9182 {
on (release) {
gotoAndStop(3);
}
}
button 9183 {
on (release) {
gotoAndStop(5);
}
}
button 9184 {
on (release) {
gotoAndStop(6);
}
}
button 9185 {
on (release) {
gotoAndStop(8);
}
}
button 9186 {
on (release) {
gotoAndStop(9);
}
}
button 9188 {
on (release) {
gotoAndStop(10);
}
}
button 9191 {
on (release) {
gotoAndStop(11);
}
}
button 9193 {
on (release) {
gotoAndStop(3);
}
}
button 9194 {
on (release) {
gotoAndStop(1);
}
}
button 9196 {
on (release) {
gotoAndStop(4);
}
}
button 9197 {
on (release) {
gotoAndStop(2);
}
}
button 9220 {
on (release) {
gotoAndStop(5);
}
}
button 9221 {
on (release) {
gotoAndStop(3);
}
}
button 9223 {
on (release) {
gotoAndStop(6);
}
}
button 9224 {
on (release) {
gotoAndStop(4);
}
}
button 9226 {
on (release) {
gotoAndStop(7);
}
}
button 9227 {
on (release) {
gotoAndStop(5);
}
}
button 9230 {
on (release) {
gotoAndStop(8);
}
}
button 9231 {
on (release) {
gotoAndStop(6);
}
}
button 9234 {
on (release) {
gotoAndStop(7);
}
}
button 9236 {
on (release) {
gotoAndStop(9);
}
}
button 9237 {
on (release) {
gotoAndStop(8);
}
}
button 9239 {
on (release) {
gotoAndStop(10);
}
}
button 9240 {
on (release) {
gotoAndStop(9);
}
}
button 9242 {
on (release) {
gotoAndStop(11);
}
}
button 9243 {
on (release) {
gotoAndStop(10);
}
}
movieClip 9245 {
frame 1 {
stop();
}
}
button 9246 {
on (release) {
gotoAndPlay(8);
}
}
movieClip 9251 {
frame 1 {
stop();
}
frame 7 {
_root.openTut = 1;
stop();
}
frame 12 {
_root.openTut = 0;
}
}
frame 456 {
gotoAndStop(459);
}
movieClip 9255 {
frame 12 {
stop();
}
}
button 9257 {
on (release) {
if (_root.saveyYo == 1) {
_root.fadeOut = 1;
_root.firemanskilled = getCookie('database', 'itum1');
_root.lighthorseskilled = getCookie('database', 'itum2');
_root.dragonskilled = getCookie('database', 'itum3');
_root.hypnotistskilled = getCookie('database', 'itum4');
_root.limit2 = getCookie('database', 'itum5');
_root.defaultPower = getCookie('database', 'itum6');
_root.enemyEncounter = getCookie('database', 'itum7');
_root.helpModeOn = getCookie('database', 'itum8');
_root.critical2 = getCookie('database', 'itum9');
_root.ap2 = getCookie('database', 'itum10');
_root.exp2 = getCookie('database', 'itum11');
_root.EXPNeeded2 = getCookie('database', 'itum12');
_root.clockSeconds = getCookie('database', 'itum13');
_root.clockMinutes = getCookie('database', 'itum14');
_root.clockHours = getCookie('database', 'itum15');
_root.qattackskilled = getCookie('database', 'itum16');
_root.dattackskilled = getCookie('database', 'itum17');
_root.nightmareskilled = getCookie('database', 'itum18');
_root.hpdrainskilled = getCookie('database', 'itum19');
_root.mpdrainskilled = getCookie('database', 'itum20');
_root.deathskilled = getCookie('database', 'itum21');
_root.hlevel = getCookie('database', 'itum22');
_root.energy2 = getCookie('database', 'itum23');
_root.comebackskilled = getCookie('database', 'itum24');
_root.protectDefense = getCookie('database', 'itum25');
_root.shellDefense = getCookie('database', 'itum26');
_root.level2 = getCookie('database', 'itum27');
_root.defense2 = getCookie('database', 'itum28');
_root.vitality2 = getCookie('database', 'itum29');
_root.skills2 = getCookie('database', 'itum30');
_root.strength2 = getCookie('database', 'itum31');
_root.mp2 = getCookie('database', 'itum32');
_root.maxmp2 = getCookie('database', 'itum33');
_root.activeMode = getCookie('database', 'itum34');
_root.charSwitchOn = getCookie('database', 'itum35');
_root.defense2 = getCookie('database', 'itum36');
_root.char2 = getCookie('database', 'itum37');
_root.maxhp2 = getCookie('database', 'itum38');
_root.char2Alive = getCookie('database', 'itum39');
_root.hptwo2 = getCookie('database', 'itum40');
_root.mptwo2 = getCookie('database', 'itum41');
_root.char1Alive = getCookie('database', 'itum42');
_root.revive = getCookie('database', 'itum43');
_root.money = getCookie('database', 'itum44');
_root.notAnother = getCookie('database', 'itum45');
_root.ap = getCookie('database', 'itum46');
_root.moHp = getCookie('database', 'itum47');
_root.ultimaskilled = getCookie('database', 'itum48');
_root.furystormskilled = getCookie('database', 'itum49');
_root.slowskilled = getCookie('database', 'itum50');
_root.stopskilled = getCookie('database', 'itum51');
_root.shellskilled = getCookie('database', 'itum52');
_root.protectskilled = getCookie('database', 'itum53');
_root.hasteskilled = getCookie('database', 'itum54');
_root.bioskilled = getCookie('database', 'itum55');
_root.sleepskilled = getCookie('database', 'itum56');
_root.reviveskilled = getCookie('database', 'itum57');
_root.replenishskilled = getCookie('database', 'itum58');
_root.leechskilled = getCookie('database', 'itum59');
_root.healskilled = getCookie('database', 'itum60');
_root.fireskilled = getCookie('database', 'itum61');
_root.lightskilled = getCookie('database', 'itum62');
_root.iceskilled = getCookie('database', 'itum63');
_root.skillpoint2 = getCookie('database', 'itum64');
_root.attack2 = getCookie('database', 'itum65');
_root.speedEx2 = getCookie('database', 'itum66');
_root.speed2 = getCookie('database', 'itum67');
_root.moneyPlus = getCookie('database', 'itum68');
_root.EXPMore = getCookie('database', 'itum69');
_root.hptwo = getCookie('database', 'itum70');
_root.mptwo = getCookie('database', 'itum71');
_root.equipWeapon1 = getCookie('database', 'itum72');
_root.equipWeapon2 = getCookie('database', 'itum73');
_root.equipWeapon3 = getCookie('database', 'itum74');
_root.equipWeapon4 = getCookie('database', 'itum75');
_root.equipWeapon5 = getCookie('database', 'itum76');
_root.equipWeapon6 = getCookie('database', 'itum77');
_root.equipWeapon7 = getCookie('database', 'itum78');
_root.equipWeapon8 = getCookie('database', 'itum79');
_root.skills = getCookie('database', 'itum80');
_root.moEXP = getCookie('database', 'itum81');
_root.exp1 = getCookie('database', 'itum82');
_root.fight2 = getCookie('database', 'itum83');
_root.worldmap = getCookie('database', 'itum84');
_root.level = getCookie('database', 'itum85');
_root.speedEx = getCookie('database', 'itum86');
_root.defense = getCookie('database', 'itum87');
_root.energy = getCookie('database', 'itum88');
_root.vitality = getCookie('database', 'itum89');
_root.strength = getCookie('database', 'itum90');
_root.PercentLoaded = getCookie('database', 'itum91');
_root.hair = getCookie('database', 'itum92');
_root.potion = getCookie('database', 'itum93');
_root.ether = getCookie('database', 'itum94');
_root.hpotion = getCookie('database', 'itum95');
_root.xpotion = getCookie('database', 'itum96');
_root.elixir = getCookie('database', 'itum97');
_root.critical1 = getCookie('database', 'itum98');
_root.limit = getCookie('database', 'itum99');
_root.mp1 = getCookie('database', 'itum100');
_root.maxmp1 = getCookie('database', 'itum101');
_root.char1 = getCookie('database', 'itum102');
_root.maxhp = getCookie('database', 'itum103');
_root.speed = getCookie('database', 'itum104');
_root.moEXP = getCookie('database', 'itum105');
_root.EXPNeeded = getCookie('database', 'itum106');
_root.antidote = getCookie('database', 'itum107');
_root.activeMode = getCookie('database', 'itum108');
_root.waitMode = getCookie('database', 'itum109');
_root.weapon1 = getCookie('database', 'itum110');
_root.weapon2 = getCookie('database', 'itum111');
_root.weapon3 = getCookie('database', 'itum112');
_root.weapon4 = getCookie('database', 'itum113');
_root.weapon5 = getCookie('database', 'itum114');
_root.weapon6 = getCookie('database', 'itum115');
_root.weapon7 = getCookie('database', 'itum116');
_root.weapon8 = getCookie('database', 'itum117');
_root.armor1 = getCookie('database', 'itum118');
_root.armor2 = getCookie('database', 'itum119');
_root.armor3 = getCookie('database', 'itum120');
_root.armor4 = getCookie('database', 'itum121');
_root.armor5 = getCookie('database', 'itum122');
_root.armor6 = getCookie('database', 'itum123');
_root.armor7 = getCookie('database', 'itum124');
_root.armor8 = getCookie('database', 'itum125');
_root.belt1 = getCookie('database', 'itum126');
_root.belt2 = getCookie('database', 'itum127');
_root.belt3 = getCookie('database', 'itum128');
_root.belt4 = getCookie('database', 'itum129');
_root.belt5 = getCookie('database', 'itum130');
_root.belt6 = getCookie('database', 'itum131');
_root.belt7 = getCookie('database', 'itum132');
_root.belt8 = getCookie('database', 'itum133');
_root.glasses1 = getCookie('database', 'itum134');
_root.glasses2 = getCookie('database', 'itum135');
_root.glasses3 = getCookie('database', 'itum136');
_root.glasses4 = getCookie('database', 'itum137');
_root.glasses5 = getCookie('database', 'itum138');
_root.glasses6 = getCookie('database', 'itum139');
_root.glasses7 = getCookie('database', 'itum140');
_root.glasses8 = getCookie('database', 'itum141');
_root.weaponLook = getCookie('database', 'itum142');
_root.weaponLook2 = getCookie('database', 'itum143');
_root.weaponSkill1 = getCookie('database', 'itum144');
_root.weaponSkill2 = getCookie('database', 'itum145');
_root.weaponSkill3 = getCookie('database', 'itum146');
_root.weaponSkill4 = getCookie('database', 'itum147');
_root.weaponSkill5 = getCookie('database', 'itum148');
_root.weaponSkill6 = getCookie('database', 'itum149');
_root.weaponSkill7 = getCookie('database', 'itum150');
_root.weaponSkill8 = getCookie('database', 'itum151');
_root.weaponSkill9 = getCookie('database', 'itum152');
_root.weaponSkill10 = getCookie('database', 'itum153');
_root.weaponSkill11 = getCookie('database', 'itum154');
_root.weaponSkill12 = getCookie('database', 'itum155');
_root.weaponSkill13 = getCookie('database', 'itum156');
_root.weaponSkill14 = getCookie('database', 'itum157');
_root.weaponSkill15 = getCookie('database', 'itum158');
_root.weaponSkill16 = getCookie('database', 'itum159');
_root.weaponSkill17 = getCookie('database', 'itum160');
_root.weaponSkill18 = getCookie('database', 'itum161');
_root.weaponSkill19 = getCookie('database', 'itum162');
_root.weaponSkill20 = getCookie('database', 'itum163');
_root.weaponSkill21 = getCookie('database', 'itum164');
_root.weaponSkill22 = getCookie('database', 'itum165');
_root.weaponSkill23 = getCookie('database', 'itum166');
_root.weaponSkill24 = getCookie('database', 'itum167');
_root.armorLook1 = getCookie('database', 'itum168');
_root.armorLook2 = getCookie('database', 'itum169');
_root.specialPlace1 = getCookie('database', 'itum170');
_root.hairStyle = getCookie('database', 'itum171');
_root.armorName1 = getCookie('database', 'itum172');
_root.armorName2 = getCookie('database', 'itum173');
_root.armorName3 = getCookie('database', 'itum174');
_root.armorName4 = getCookie('database', 'itum175');
_root.armorName5 = getCookie('database', 'itum176');
_root.armorName6 = getCookie('database', 'itum177');
_root.armorName7 = getCookie('database', 'itum178');
_root.armorName8 = getCookie('database', 'itum179');
_root.beltName1 = getCookie('database', 'itum180');
_root.beltName2 = getCookie('database', 'itum181');
_root.beltName3 = getCookie('database', 'itum182');
_root.beltName4 = getCookie('database', 'itum183');
_root.beltName5 = getCookie('database', 'itum184');
_root.beltName6 = getCookie('database', 'itum185');
_root.beltName7 = getCookie('database', 'itum186');
_root.beltName8 = getCookie('database', 'itum187');
_root.weaponName1 = getCookie('database', 'itum188');
_root.weaponName2 = getCookie('database', 'itum189');
_root.weaponName3 = getCookie('database', 'itum190');
_root.weaponName4 = getCookie('database', 'itum191');
_root.weaponName5 = getCookie('database', 'itum192');
_root.weaponName6 = getCookie('database', 'itum193');
_root.weaponName7 = getCookie('database', 'itum194');
_root.weaponName8 = getCookie('database', 'itum195');
_root.glassesName1 = getCookie('database', 'itum196');
_root.glassesName2 = getCookie('database', 'itum197');
_root.glassesName3 = getCookie('database', 'itum198');
_root.glassesName4 = getCookie('database', 'itum199');
_root.glassesName5 = getCookie('database', 'itum200');
_root.glassesName6 = getCookie('database', 'itum201');
_root.glassesName7 = getCookie('database', 'itum202');
_root.glassesName8 = getCookie('database', 'itum203');
_root.equipBelt1 = getCookie('database', 'itum204');
_root.equipBelt2 = getCookie('database', 'itum205');
_root.equipBelt3 = getCookie('database', 'itum206');
_root.equipBelt4 = getCookie('database', 'itum207');
_root.equipBelt5 = getCookie('database', 'itum208');
_root.equipBelt6 = getCookie('database', 'itum209');
_root.equipBelt7 = getCookie('database', 'itum210');
_root.equipBelt8 = getCookie('database', 'itum211');
_root.beltLook = getCookie('database', 'itum212');
_root.beltLook2 = getCookie('database', 'itum213');
_root.beltSkill1 = getCookie('database', 'itum214');
_root.beltSkill2 = getCookie('database', 'itum215');
_root.beltSkill3 = getCookie('database', 'itum216');
_root.beltSkill4 = getCookie('database', 'itum217');
_root.beltSkill5 = getCookie('database', 'itum218');
_root.beltSkill6 = getCookie('database', 'itum219');
_root.beltSkill7 = getCookie('database', 'itum220');
_root.beltSkill8 = getCookie('database', 'itum221');
_root.equipGlasses1 = getCookie('database', 'itum222');
_root.equipGlasses2 = getCookie('database', 'itum223');
_root.equipGlasses3 = getCookie('database', 'itum224');
_root.equipGlasses4 = getCookie('database', 'itum225');
_root.equipGlasses5 = getCookie('database', 'itum226');
_root.equipGlasses6 = getCookie('database', 'itum227');
_root.equipGlasses7 = getCookie('database', 'itum228');
_root.equipGlasses8 = getCookie('database', 'itum229');
_root.glassesLook1 = getCookie('database', 'itum230');
_root.glassesLook2 = getCookie('database', 'itum231');
_root.glassesSkill1 = getCookie('database', 'itum232');
_root.glassesSkill2 = getCookie('database', 'itum233');
_root.glassesSkill3 = getCookie('database', 'itum234');
_root.glassesSkill4 = getCookie('database', 'itum235');
_root.glassesSkill5 = getCookie('database', 'itum236');
_root.glassesSkill6 = getCookie('database', 'itum237');
_root.glassesSkill7 = getCookie('database', 'itum238');
_root.glassesSkill8 = getCookie('database', 'itum239');
_root.equipArmor1 = getCookie('database', 'itum240');
_root.equipArmor2 = getCookie('database', 'itum241');
_root.equipArmor3 = getCookie('database', 'itum242');
_root.equipArmor4 = getCookie('database', 'itum243');
_root.equipArmor5 = getCookie('database', 'itum244');
_root.equipArmor6 = getCookie('database', 'itum245');
_root.equipArmor7 = getCookie('database', 'itum246');
_root.equipArmor8 = getCookie('database', 'itum247');
_root.armorSkill1 = getCookie('database', 'itum248');
_root.armorSkill2 = getCookie('database', 'itum249');
_root.armorSkill3 = getCookie('database', 'itum250');
_root.armorSkill4 = getCookie('database', 'itum251');
_root.armorSkill5 = getCookie('database', 'itum252');
_root.armorSkill6 = getCookie('database', 'itum253');
_root.armorSkill7 = getCookie('database', 'itum254');
_root.armorSkill8 = getCookie('database', 'itum255');
_root.armorSkill9 = getCookie('database', 'itum256');
_root.armorSkill10 = getCookie('database', 'itum257');
_root.armorSkill11 = getCookie('database', 'itum258');
_root.armorSkill12 = getCookie('database', 'itum259');
_root.armorSkill13 = getCookie('database', 'itum260');
_root.armorSkill14 = getCookie('database', 'itum261');
_root.armorSkill15 = getCookie('database', 'itum262');
_root.armorSkill16 = getCookie('database', 'itum263');
_root.armorSkill17 = getCookie('database', 'itum264');
_root.armorSkill18 = getCookie('database', 'itum265');
_root.armorSkill19 = getCookie('database', 'itum266');
_root.armorSkill20 = getCookie('database', 'itum267');
_root.armorSkill21 = getCookie('database', 'itum268');
_root.armorSkill22 = getCookie('database', 'itum269');
_root.armorSkill23 = getCookie('database', 'itum270');
_root.armorSkill24 = getCookie('database', 'itum271');
_root.hairStyle2 = getCookie('database', 'itum272');
_root.order1 = getCookie('database', 'itum274');
_root.order2 = getCookie('database', 'itum275');
_root.lifeLeech = getCookie('database', 'itum276');
_root.magLeech = getCookie('database', 'itum277');
_root.helpModeOff = getCookie('database', 'itum278');
_root.chest1 = getCookie('database', 'itum279');
_root.chest2 = getCookie('database', 'itum280');
_root.chest3 = getCookie('database', 'itum281');
_root.chest4 = getCookie('database', 'itum282');
_root.chest5 = getCookie('database', 'itum283');
_root.minutos = getCookie('database', 'itum284');
_root.minutos2 = getCookie('database', 'itum285');
_root.hoursos = getCookie('database', 'itum286');
_root.hoursos2 = getCookie('database', 'itum287');
_root.speedShoes = getCookie('database', 'itum288');
_root.chest6 = getCookie('database', 'itum289');
_root.hoursos3 = getCookie('database', 'itum290');
_root.minutos3 = getCookie('database', 'itum291');
_root.healskilled2 = getCookie('database', 'itum292');
_root.fireswodskilled = getCookie('database', 'itum293');
_root.lightswodskilled = getCookie('database', 'itum294');
_root.enchantskilled = getCookie('database', 'itum295');
_root.demiskilled = getCookie('database', 'itum296');
_root.confuseskilled = getCookie('database', 'itum297');
_root.ballLightskilled = getCookie('database', 'itum298');
_root.berserkskilled = getCookie('database', 'itum299');
_root.sheildskilled = getCookie('database', 'itum300');
_root.frogskilled = getCookie('database', 'itum301');
_root.flareskilled = getCookie('database', 'itum302');
_root.cometskilled = getCookie('database', 'itum303');
_root.skillpoint3 = getCookie('database', 'itum304');
_root.holyskilled = getCookie('database', 'itum305');
_root.quickthrowskilled = getCookie('database', 'itum306');
_root.moneyskilled = getCookie('database', 'itum307');
_root.skillpointsskilled = getCookie('database', 'itum308');
_root.energyskilled = getCookie('database', 'itum309');
_root.vitalityskilled = getCookie('database', 'itum310');
_root.statusskilled = getCookie('database', 'itum311');
_root.expskilled = getCookie('database', 'itum312');
_root.shockwaveskilled = getCookie('database', 'itum313');
_root.powerbreakskilled = getCookie('database', 'itum314');
_root.multileechskilled = getCookie('database', 'itum315');
_root.multislashskilled = getCookie('database', 'itum316');
_root.counterskilled = getCookie('database', 'itum317');
gotoAndPlay(482);
}
}
}
button 9258 {
on (release) {
_root.fadeOut = 1;
gotoAndPlay(482);
}
}
button 9260 {
on (release) {
if (_root.openTut == 1) {
_root.tuty.gotoAndPlay(9);
}
if (_root.openOptions == 1) {
_root.oppy.gotoAndPlay(9);
}
if (_root.loadOpen == 1) {
_root.loddy.gotoAndPlay(9);
}
gotoAndPlay(2);
}
}
button 9270 {
on (release) {
gotoAndPlay(9);
}
}
movieClip 9276 {
frame 1 {
stop();
}
frame 8 {
_root.creditOpen = 1;
stop();
}
frame 14 {
_root.creditOpen = 0;
}
}
frame 460 {
if (helpModeOn == 1) {
messyy = 'Press Spacebar to return to playing the game.';
} else {
messyy = '';
}
stop();
}
button 9282 {
on (rollOver) {
if (helpModeOn == 1) {
messy2 = 'Status: Check the status of both of your characters.';
}
}
on (rollOut) {
messy2 = '';
}
on (release) {
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
gotoAndStop(461);
}
}
button 9285 {
on (rollOver) {
if (helpModeOn == 1) {
messy2 = 'Equip: Equip equipment (armor, weapon, sunglasses, or belt) to your characters to make them more powerful.';
}
}
on (rollOut) {
messy2 = '';
}
on (release) {
gotoAndPlay(472);
}
}
button 9288 {
on (rollOver) {
if (helpModeOn == 1) {
messy2 = 'Skills: Power up your skills and learn new skills with the Skill points that you get when you level up. You get 2 Skill point per level up.';
}
}
on (rollOut) {
messy2 = '';
}
on (release) {
gotoAndPlay(475);
}
}
button 9291 {
on (rollOver) {
if (helpModeOn == 1) {
messy2 = 'Items: Use Items that you have to heal your characters.';
}
}
on (rollOut) {
messy2 = '';
}
on (release) {
gotoAndPlay(465);
}
}
button 9293 {
on (rollOver) {
if (helpModeOn == 1) {
messy2 = 'Battle Mode: Decide between the two battle modes (active or wait mode), and toggle them whenever you want.';
}
}
on (rollOut) {
messy2 = '';
}
on (release) {
gotoAndPlay(466);
}
}
button 9295 {
on (rollOver) {
if (helpModeOn == 1) {
messy2 = 'Difficulty: Toggle the difficulty to be harder or easier.';
}
}
on (rollOut) {
messy2 = '';
}
on (release) {
gotoAndPlay(471);
}
}
button 9297 {
on (rollOver) {
if (helpModeOn == 1) {
messy2 = 'Tip Mode: Toggle tip mode to be on or off.';
}
}
on (rollOut) {
messy2 = '';
}
on (release) {
gotoAndPlay(473);
}
}
button 9298 {
on (release) {
gotoAndStop(481);
}
}
button 9299 {
on (rollOver) {
if (helpModeOn == 1) {
messy2 = 'Help: Tells you what you have to do next in terms of story';
}
}
on (rollOut) {
messy2 = '';
}
on (release) {
_root.helpo.gotoAndStop(2);
}
}
button 9302 {
on (keyPress 'q') {
_root.qualFun();
}
on (keyPress '<Space>') {
messU = '';
messy2 = '';
_root.talkGuy = 0;
_root.talkGuy2 = 0;
_root.useItPotion = 0;
_root.useItEther = 0;
_root.useItRevive = 0;
_root.useItHpotion = 0;
_root.useItXpotion = 0;
_root.useItElixir = 0;
_root.useLifePotion = 0;
_root.useStrengthPotion = 0;
_root.useSkillPotion = 0;
_root.useMagicPotion = 0;
_root.useDefensePotion = 0;
if (_root.areaSave == 1) {
_root.justStat = 1;
_root.areaSave = 0;
gotoAndPlay(369);
} else {
if (_root.areaSave == 2) {
_root.justStat = 1;
_root.areaSave = 0;
gotoAndPlay(371);
} else {
if (_root.areaSave == 3) {
_root.justStat = 1;
_root.areaSave = 0;
gotoAndPlay(373);
} else {
if (_root.areaSave == 4) {
_root.justStat = 1;
_root.areaSave = 0;
gotoAndPlay(375);
} else {
if (_root.areaSave == 5) {
_root.justStat = 1;
_root.areaSave = 0;
gotoAndPlay(377);
} else {
if (_root.areaSave == 6) {
_root.justStat = 1;
_root.areaSave = 0;
gotoAndPlay(379);
} else {
if (cemy5 == 1) {
cemy5 = 0;
gotoAndPlay(441);
} else {
if (cemy4 == 1) {
cemy4 = 0;
gotoAndPlay(439);
} else {
if (area104 == 1) {
area104 = 0;
_root.justStat = 1;
gotoAndPlay(429);
} else {
if (area103 == 1) {
area103 = 0;
_root.justStat = 1;
gotoAndPlay(425);
} else {
if (area102 == 1) {
area102 = 0;
_root.justStat = 1;
gotoAndPlay(423);
} else {
if (area101 == 1) {
area101 = 0;
_root.justStat = 1;
gotoAndPlay(417);
} else {
if (area100 == 1) {
area100 = 0;
_root.justStat = 1;
gotoAndPlay(413);
} else {
if (_root.specialPlacey == 1) {
_root.specialPlacey = 0;
_root.justStat = 1;
gotoAndPlay(443);
} else {
if (_root.specialPlacey2 == 1) {
_root.specialPlacey2 = 0;
_root.justStat = 1;
gotoAndPlay(446);
} else {
if (wordmapmenu == 1) {
wordmapmenu = 0;
savemap = 1;
gotoAndPlay(482);
} else {
if (area66 == 1) {
area66 = 0;
_level0.justStat = 1;
gotoAndPlay(401);
} else {
if (area77 == 1) {
area77 = 0;
_level0.justStat = 1;
gotoAndPlay(403);
} else {
if (area88 == 1) {
area88 = 0;
_level0.justStat = 1;
gotoAndPlay(405);
} else {
if (_root.area99 == 1) {
_root.area99 = 0;
_level0.justStat = 1;
gotoAndPlay(411);
} else {
if (_root.cemy1 == 1) {
_root.cemy1 = 0;
gotoAndPlay(433);
} else {
if (_root.cemy2 == 1) {
_root.cemy2 = 0;
gotoAndPlay(435);
} else {
if (_root.cemy3 == 1) {
_root.cemy3 = 0;
gotoAndPlay(437);
} else {
if (area5 == 1) {
area5 = 0;
justStat = 1;
gotoAndPlay(397);
} else {
if (area4 == 1) {
area4 = 0;
justStat = 1;
gotoAndPlay(393);
} else {
if (area3 == 1) {
area3 = 0;
justStat = 1;
gotoAndPlay(389);
} else {
if (area2 == 1) {
area2 = 0;
justStat = 1;
gotoAndPlay(385);
} else {
if (_level0.area == 1) {
_root.area = 0;
_level0.justStat = 1;
gotoAndPlay(383);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
movieClip 9305 {
frame 1 {
showIt = _root.clockHours + ' : ' + _root.clockMinutes + ' : ' + _root.clockSeconds;
}
frame 2 {
gotoAndPlay(1);
}
}
movieClip 9311 {
frame 1 {
stop();
}
}
instance placeyMah of movieClip 9311 {
onClipEvent (load) {
if (_root.skillpoint2 > 0 || _root.skillpoint3 > 0) {
_root.goIn = 'You have Skill points!';
} else {
this._visible = false;
}
}
}
button 9314 {
on (release) {
this.gotoAndStop(1);
}
}
movieClip 9315 {
frame 1 {
stop();
}
frame 2 {
if (_root.story == 1) {
helpSay = 'Go find Master Shinody, located in the town, Abalonia';
} else {
if (_root.story == 2) {
helpSay = 'Speak with the doctor about Nara who can be find in Abalonia';
} else {
if (_root.story == 3 || _root.story == 6 || _root.story == 8) {
helpSay = 'Go speak with Master Shinody again';
} else {
if (_root.story == 4 || _root.story == 5 || _root.story == 13) {
helpSay = 'Find and talk to the wise old man in Blemington';
} else {
if (_root.story == 7) {
helpSay = 'Search the towns and the graveyard for the three hero\'s medals';
} else {
if (_root.story == 9) {
helpSay = 'Visit Master Shinody in Jennings';
} else {
if (_root.story == 10 || _root.story == 11) {
helpSay = 'Search Jennings for Master Shinody';
} else {
if (_root.story == 12) {
helpSay = 'Search Abalonia for Master Shinody';
} else {
if (_root.story == 14) {
helpSay = 'Search and find Jerarm\'s Jar in the graveyard, then read the stone wall';
} else {
if (_root.story == 15 || _root.story == 16) {
helpSay = 'Go to Mount Seymour and destroy the ultimate evil';
} else {
helpSay = 'Side Quests: 1) Defeat Superstick 2) Collect all of the special items (all 9). Codes: testBosso1, testBosso2';
}
}
}
}
}
}
}
}
}
}
stop();
}
}
movieClip 9320 {
frame 1 {
stop();
}
}
frame 461 {
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
nextLevel = exp1 + ' / ' + EXPNeeded + ' needed to next level';
nextLevel2 = exp2 + ' / ' + EXPNeeded2 + ' needed to next level';
stop();
}
button 9342 {
on (release) {
order1 = 'Order: 1';
order2 = 'Order: 2';
}
}
button 9344 {
on (release) {
order1 = 'Order: 2';
order2 = 'Order: 1';
}
}
frame 462 {
_root.goIn = '';
stop();
}
movieClip 9394 {
}
button 9398 {
on (release) {
if (_root.equipWeapon1 != 0) {
_root.weaponLook = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipWeapon1 = 0;
_root.equipWeapon2 = 0;
_root.equipWeapon3 = 0;
_root.equipWeapon4 = 0;
if (_root.weaponSkill2 == 'OK damage' || _root.weaponSkill3 == 'OK damage' || _root.weaponSkill1 == 'OK damage') {
_root.strength -= 5;
}
if (_root.weaponSkill2 == 'More MP' || _root.weaponSkill3 == 'More MP' || _root.weaponSkill1 == 'More MP') {
_root.maxmp1 -= 10;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
}
if (_root.weaponSkill2 == 'Speedy' || _root.weaponSkill3 == 'Speedy' || _root.weaponSkill1 == 'Speedy') {
_root.speedEx -= 3;
}
if (_root.weaponSkill2 == 'Double Strength' || _root.weaponSkill3 == 'Double Strength' || _root.weaponSkill1 == 'Double Strength') {
_root.strength -= 10;
}
if (_root.weaponSkill2 == 'Super MP' || _root.weaponSkill3 == 'Super MP' || _root.weaponSkill1 == 'Super MP') {
_root.maxmp1 -= 20;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
}
if (_root.weaponSkill2 == 'HP Plus' || _root.weaponSkill3 == 'HP Plus' || _root.weaponSkill1 == 'HP Plus') {
_root.maxhp -= 30;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.weaponSkill2 == 'More HP' || _root.weaponSkill3 == 'More HP' || _root.weaponSkill1 == 'More HP') {
_root.maxhp -= 50;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.weaponSkill2 == 'Super HP' || _root.weaponSkill3 == 'Super HP' || _root.weaponSkill1 == 'Super HP') {
_root.maxhp -= 100;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.weaponSkill2 == 'Speed Plus' || _root.weaponSkill3 == 'Speed Plus' || _root.weaponSkill1 == 'Speed Plus') {
_root.speedEx -= 10;
}
if (_root.weaponSkill2 == 'Super Speed' || _root.weaponSkill3 == 'Super Speed' || _root.weaponSkill1 == 'Super Speed') {
_root.speedEx -= 20;
}
if (_root.weaponSkill2 == 'Strong' || _root.weaponSkill3 == 'Strong' || _root.weaponSkill1 == 'Strong') {
_root.strength -= 15;
}
if (_root.weaponSkill2 == 'Money Maker' || _root.weaponSkill3 == 'Money Maker' || _root.weaponSkill1 == 'Money Maker') {
_root.moneyPlus = 1;
}
if (_root.weaponSkill2 == 'EXP More' || _root.weaponSkill3 == 'EXP More' || _root.weaponSkill1 == 'EXP More') {
_root.EXPMore = 1;
}
if (_root.weaponSkill2 == 'Super Strength' || _root.weaponSkill3 == 'Super Strength' || _root.weaponSkill1 == 'Super Strength') {
_root.strength -= 25;
}
if (_root.weaponSkill2 == 'Skills Plus' || _root.weaponSkill3 == 'Skills Plus' || _root.weaponSkill1 == 'Skills Plus') {
_root.skills -= 10;
}
if (_root.weaponSkill2 == 'More Skills' || _root.weaponSkill3 == 'More Skills' || _root.weaponSkill1 == 'More Skills') {
_root.skills -= 15;
}
if (_root.weaponSkill2 == 'Super Skills' || _root.weaponSkill3 == 'Super Skills' || _root.weaponSkill1 == 'Super Skills') {
_root.skills -= 23;
}
if (_root.weaponSkill2 == 'Defense Plus' || _root.weaponSkill3 == 'Defense Plus' || _root.weaponSkill1 == 'Defense Plus') {
_root.defense -= 10;
}
if (_root.weaponSkill2 == 'Super Defense' || _root.weaponSkill3 == 'Super Defense' || _root.weaponSkill1 == 'Super Defense') {
_root.defense -= 30;
}
if (_root.weaponSkill2 == 'Invincible' || _root.weaponSkill3 == 'Invincible' || _root.weaponSkill1 == 'Invincible') {
_root.defense -= 60;
_root.maxhp -= 200;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.weaponSkill2 == 'Immortal' || _root.weaponSkill3 == 'Immortal' || _root.weaponSkill1 == 'Immortal') {
_root.maxhp -= 500;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.weaponSkill2 == 'God' || _root.weaponSkill3 == 'God' || _root.weaponSkill1 == 'God') {
_root.strength -= 70;
_root.defense -= 50;
_root.skills -= 50;
_root.maxhp -= 700;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.weaponSkill1 == 'Skilled') {
_root.skills -= 8;
}
if (_root.weaponSkill2 == 'Life Leech') {
_root.lifeLeech -= 2;
}
if (_root.weaponSkill2 == 'Mana Leech') {
_root.magLeech -= 2;
}
if (_root.weaponSkill3 == 'Super Life Leech') {
_root.lifeLeech -= 5;
}
if (_root.weaponSkill3 == 'Super Mana Leech') {
_root.magLeech -= 5;
}
}
}
}
button 9401 {
on (release) {
if (_root.equipWeapon1 != 1) {
_root.box1 = 0;
_root.weapon1 = 0;
_root.armor1 = 0;
_root.belt1 = 0;
_root.glasses1 = 0;
gotoAndPlay(1);
}
}
}
movieClip 9412 {
frame 1 {
if (_root.equipWeapon1 == 1 || _root.equipArmor1 == 1 || _root.equipGlasses1 == 1 || _root.equipBelt1 == 1) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 2 {
stop();
}
}
button 9415 {
on (release) {
if (_root.equipWeapon1 != 1 && _root.equipWeapon2 != 1 && _root.equipWeapon3 != 1 && _root.equipWeapon4 != 1) {
_root.equipWeapon1 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(7) + 1;
switch (attack) {
case 1:
_root.weaponLook = 1;
break;
case 2:
_root.weaponLook = 2;
break;
case 3:
_root.weaponLook = 3;
break;
case 4:
_root.weaponLook = 4;
break;
case 5:
_root.weaponLook = 5;
break;
case 6:
_root.weaponLook = 6;
break;
case 7:
_root.weaponLook = 7;
}
if (_root.weaponSkill2 == 'OK damage' || _root.weaponSkill3 == 'OK damage' || _root.weaponSkill1 == 'OK damage') {
_root.strength += 5;
}
if (_root.weaponSkill2 == 'More MP' || _root.weaponSkill3 == 'More MP' || _root.weaponSkill1 == 'More MP') {
_root.maxmp1 += 10;
}
if (_root.weaponSkill2 == 'Speedy' || _root.weaponSkill3 == 'Speedy' || _root.weaponSkill1 == 'Speedy') {
_level0.speedEx += 3;
}
if (_root.weaponSkill2 == 'Double Strength' || _root.weaponSkill3 == 'Double Strength' || _root.weaponSkill1 == 'Double Strength') {
_root.strength += 10;
}
if (_root.weaponSkill2 == 'Super MP' || _root.weaponSkill3 == 'Super MP' || _root.weaponSkill1 == 'Super MP') {
_root.maxmp1 += 20;
}
if (_root.weaponSkill2 == 'HP Plus' || _root.weaponSkill3 == 'HP Plus' || _root.weaponSkill1 == 'HP Plus') {
_root.maxhp += 30;
}
if (_root.weaponSkill2 == 'More HP' || _root.weaponSkill3 == 'More HP' || _root.weaponSkill1 == 'More HP') {
_root.maxhp += 50;
}
if (_root.weaponSkill2 == 'Super HP' || _root.weaponSkill3 == 'Super HP' || _root.weaponSkill1 == 'Super HP') {
_root.maxhp += 100;
}
if (_root.weaponSkill2 == 'Speed Plus' || _root.weaponSkill3 == 'Speed Plus' || _root.weaponSkill1 == 'Speed Plus') {
_root.speedEx += 10;
}
if (_root.weaponSkill2 == 'Super Speed' || _root.weaponSkill3 == 'Super Speed' || _root.weaponSkill1 == 'Super Speed') {
_root.speedEx += 20;
}
if (_root.weaponSkill2 == 'Strong' || _root.weaponSkill3 == 'Strong' || _root.weaponSkill1 == 'Strong') {
_root.strength += 15;
}
if (_root.weaponSkill2 == 'Money Maker' || _root.weaponSkill3 == 'Money Maker' || _root.weaponSkill1 == 'Money Maker') {
_root.moneyPlus = 2;
}
if (_root.weaponSkill2 == 'EXP More' || _root.weaponSkill3 == 'EXP More' || _root.weaponSkill1 == 'EXP More') {
_root.EXPMore = 2;
}
if (_root.weaponSkill2 == 'Super Strength' || _root.weaponSkill3 == 'Super Strength' || _root.weaponSkill1 == 'Super Strength') {
_root.strength += 25;
}
if (_root.weaponSkill2 == 'Skills Plus' || _root.weaponSkill3 == 'Skills Plus' || _root.weaponSkill1 == 'Skills Plus') {
_root.skills += 10;
}
if (_root.weaponSkill2 == 'More Skills' || _root.weaponSkill3 == 'More Skills' || _root.weaponSkill1 == 'More Skills') {
_root.skills += 15;
}
if (_root.weaponSkill2 == 'Super Skills' || _root.weaponSkill3 == 'Super Skills' || _root.weaponSkill1 == 'Super Skills') {
_root.skills += 23;
}
if (_root.weaponSkill2 == 'Defense Plus' || _root.weaponSkill3 == 'Defense Plus' || _root.weaponSkill1 == 'Defense Plus') {
_root.defense += 10;
}
if (_root.weaponSkill2 == 'Super Defense' || _root.weaponSkill3 == 'Super Defense' || _root.weaponSkill1 == 'Super Defense') {
_root.defense += 30;
}
if (_root.weaponSkill2 == 'Invincible' || _root.weaponSkill3 == 'Invincible' || _root.weaponSkill1 == 'Invincible') {
_root.defense += 60;
_root.maxhp += 200;
}
if (_root.weaponSkill2 == 'Immortal' || _root.weaponSkill3 == 'Immortal' || _root.weaponSkill1 == 'Immortal') {
_root.maxhp += 500;
}
if (_root.weaponSkill2 == 'God' || _root.weaponSkill3 == 'God' || _root.weaponSkill1 == 'God') {
_root.strength += 70;
_root.defense += 50;
_root.skills += 50;
_root.maxhp += 700;
}
if (_root.weaponSkill1 == 'Skilled') {
_root.skills += 8;
}
if (_root.weaponSkill2 == 'Life Leech') {
_root.lifeLeech += 2;
}
if (_root.weaponSkill2 == 'Mana Leech') {
_root.magLeech += 2;
}
if (_root.weaponSkill3 == 'Super Life Leech') {
_root.lifeLeech += 5;
}
if (_root.weaponSkill3 == 'Super Mana Leech') {
_root.magLeech += 5;
}
}
}
}
button 9416 {
on (release) {
if (_root.equipArmor1 != 0) {
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipArmor1 = 0;
_root.equipArmor2 = 0;
_root.equipArmor3 = 0;
_root.equipArmor4 = 0;
_root.armorLook1 = 0;
if (_root.armorSkill2 == 'OK defense' || _root.armorSkill3 == 'OK defense' || _root.armorSkill1 == 'OK defense') {
_root.defense -= 5;
}
if (_root.armorSkill2 == 'Double Defense' || _root.armorSkill3 == 'Double Defense' || _root.armorSkill1 == 'Double Defense') {
_root.defense -= 10;
}
if (_root.armorSkill2 == 'Extra Fast' || _root.armorSkill3 == 'Extra Fast' || _root.armorSkill1 == 'Extra Fast') {
_root.speedEx -= 2;
}
if (_root.armorSkill2 == 'More MP' || _root.armorSkill3 == 'More MP' || _root.armorSkill1 == 'More MP') {
_root.maxmp1 -= 5;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
}
if (_root.armorSkill2 == 'Extra Strength' || _root.armorSkill3 == 'Extra Strength' || _root.armorSkill1 == 'Extra Strength') {
_root.strength -= 7;
}
if (_root.armorSkill2 == 'Skills Plus' || _root.armorSkill3 == 'Skills Plus' || _root.armorSkill1 == 'Skills Plus') {
_root.skills -= 4;
}
if (_root.armorSkill2 == 'More Defense' || _root.armorSkill3 == 'More Defense' || _root.armorSkill1 == 'More Defense') {
_root.defense -= 15;
}
if (_root.armorSkill2 == 'Speed Plus' || _root.armorSkill3 == 'Speed Plus' || _root.armorSkill1 == 'Speed Plus') {
_root.speedEx -= 5;
}
if (_root.armorSkill2 == 'More Strength' || _root.armorSkill3 == 'More Strength' || _root.armorSkill1 == 'More Strength') {
_root.strength -= 10;
}
if (_root.armorSkill2 == 'HP Plus' || _root.armorSkill3 == 'HP Plus' || _root.armorSkill1 == 'HP Plus') {
_root.maxhp -= 20;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.armorSkill2 == 'More HP' || _root.armorSkill3 == 'More HP' || _root.armorSkill1 == 'More HP') {
_root.maxhp -= 50;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.armorSkill2 == 'Ultra HP' || _root.armorSkill3 == 'Ultra HP' || _root.armorSkill1 == 'Ultra HP') {
_root.maxhp -= 100;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.armorSkill2 == 'Ultra MP' || _root.armorSkill3 == 'Ultra MP' || _root.armorSkill1 == 'Ultra MP') {
_root.maxmp1 -= 30;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
}
if (_root.armorSkill2 == 'MP Plus' || _root.armorSkill3 == 'MP Plus' || _root.armorSkill1 == 'MP Plus') {
_root.maxmp1 -= 7;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
}
if (_root.armorSkill2 == 'Super Speed' || _root.armorSkill3 == 'Super Speed' || _root.armorSkill1 == 'Super Speed') {
_root.speedEx -= 20;
}
if (_root.armorSkill2 == 'Defense Plus' || _root.armorSkill3 == 'Defense Plus' || _root.armorSkill1 == 'Defense Plus') {
_root.defense -= 7;
}
if (_root.armorSkill2 == 'Ultra Defense' || _root.armorSkill3 == 'Ultra Defense' || _root.armorSkill1 == 'Ultra Defense') {
_root.defense -= 30;
}
if (_root.armorSkill2 == 'Ultra Strength' || _root.armorSkill3 == 'Ultra Strength' || _root.armorSkill1 == 'Ultra Strength') {
_root.strength -= 20;
}
if (_root.armorSkill2 == 'Speed of light' || _root.armorSkill3 == 'Speed of light' || _root.armorSkill1 == 'Speed of light') {
_root.speedEx -= 40;
}
if (_root.armorSkill2 == 'Ultra Skills' || _root.armorSkill3 == 'Ultra Skills' || _root.armorSkill1 == 'Ultra Skills') {
_root.skills -= 15;
}
if (_root.armorSkill2 == 'More HP Plus' || _root.armorSkill3 == 'More HP Plus' || _root.armorSkill1 == 'More HP Plus') {
_root.maxhp -= 75;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.armorSkill2 == 'MP times two' || _root.armorSkill3 == 'MP times two' || _root.armorSkill1 == 'MP times two') {
_root.mptwo = 1;
_root.maxmp1 *= 0.5;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
}
if (_root.armorSkill2 == 'HP times two' || _root.armorSkill3 == 'HP times two' || _root.armorSkill1 == 'HP times two') {
_root.hptwo = 1;
_root.maxhp *= 0.5;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.armorSkill3 == 'Auto-Haste') {
_root.autoHaste = 0;
}
if (_root.armorSkill3 == 'Auto-Recover') {
_root.autoRegen = 0;
}
if (_root.armorSkill2 == 'Auto-Shell') {
_root.autoShell2 = 0;
}
if (_root.armorSkill2 == 'Auto-Protect') {
_root.autoProtect2 = 0;
}
}
}
}
button 9417 {
on (release) {
if (_root.equipArmor1 != 1) {
_root.weapon1 = 0;
_root.armor1 = 0;
_root.belt1 = 0;
_root.glasses1 = 0;
gotoAndPlay(1);
}
}
}
button 9427 {
on (release) {
if (_root.equipArmor1 != 1 && _root.equipArmor2 != 1 && _root.equipArmor3 != 1 && _root.equipArmor4 != 1) {
_root.equipArmor1 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(7) + 1;
switch (attack) {
case 1:
_root.armorLook1 = 1;
break;
case 2:
_root.armorLook1 = 2;
break;
case 3:
_root.armorLook1 = 3;
break;
case 4:
_root.armorLook1 = 4;
break;
case 5:
_root.armorLook1 = 5;
break;
case 6:
_root.armorLook1 = 6;
break;
case 7:
_root.armorLook1 = 7;
break;
case 8:
_root.armorLook1 = 8;
break;
case 9:
_root.armorLook1 = 9;
break;
case 10:
_root.armorLook1 = 10;
}
if (_root.armorSkill2 == 'OK defense' || _root.armorSkill3 == 'OK defense' || _root.armorSkill1 == 'OK defense') {
_root.defense += 5;
}
if (_root.armorSkill2 == 'Double Defense' || _root.armorSkill3 == 'Double Defense' || _root.armorSkill1 == 'Double Defense') {
_root.defense += 10;
}
if (_root.armorSkill2 == 'Extra Fast' || _root.armorSkill3 == 'Extra Fast' || _root.armorSkill1 == 'Extra Fast') {
_root.speedEx += 2;
}
if (_root.armorSkill2 == 'More MP' || _root.armorSkill3 == 'More MP' || _root.armorSkill1 == 'More MP') {
_root.maxmp1 += 5;
}
if (_root.armorSkill2 == 'Extra Strength' || _root.armorSkill3 == 'Extra Strength' || _root.armorSkill1 == 'Extra Strength') {
_root.strength += 7;
}
if (_root.armorSkill2 == 'Skills Plus' || _root.armorSkill3 == 'Skills Plus' || _root.armorSkill1 == 'Skills Plus') {
_root.skills += 4;
}
if (_root.armorSkill2 == 'More Defense' || _root.armorSkill3 == 'More Defense' || _root.armorSkill1 == 'More Defense') {
_root.defense += 15;
}
if (_root.armorSkill2 == 'Speed Plus' || _root.armorSkill3 == 'Speed Plus' || _root.armorSkill1 == 'Speed Plus') {
_root.speedEx += 5;
}
if (_root.armorSkill2 == 'More Strength' || _root.armorSkill3 == 'More Strength' || _root.armorSkill1 == 'More Strength') {
_root.strength += 10;
}
if (_root.armorSkill2 == 'HP Plus' || _root.armorSkill3 == 'HP Plus' || _root.armorSkill1 == 'HP Plus') {
_root.maxhp += 20;
}
if (_root.armorSkill2 == 'More HP' || _root.armorSkill3 == 'More HP' || _root.armorSkill1 == 'More HP') {
_root.maxhp += 50;
}
if (_root.armorSkill2 == 'Ultra HP' || _root.armorSkill3 == 'Ultra HP' || _root.armorSkill1 == 'Ultra HP') {
_root.maxhp += 100;
}
if (_root.armorSkill2 == 'Ultra MP' || _root.armorSkill3 == 'Ultra MP' || _root.armorSkill1 == 'Ultra MP') {
_root.maxmp1 += 30;
}
if (_root.armorSkill2 == 'MP Plus' || _root.armorSkill3 == 'MP Plus' || _root.armorSkill1 == 'MP Plus') {
_root.maxmp1 += 7;
}
if (_root.armorSkill2 == 'Super Speed' || _root.armorSkill3 == 'Super Speed' || _root.armorSkill1 == 'Super Speed') {
_root.speedEx += 20;
}
if (_root.armorSkill2 == 'Defense Plus' || _root.armorSkill3 == 'Defense Plus' || _root.armorSkill1 == 'Defense Plus') {
_root.defense += 7;
}
if (_root.armorSkill2 == 'Ultra Defense' || _root.armorSkill3 == 'Ultra Defense' || _root.armorSkill1 == 'Ultra Defense') {
_root.defense += 30;
}
if (_root.armorSkill2 == 'Ultra Strength' || _root.armorSkill3 == 'Ultra Strength' || _root.armorSkill1 == 'Ultra Strength') {
_root.strength += 20;
}
if (_root.armorSkill2 == 'Speed of light' || _root.armorSkill3 == 'Speed of light' || _root.armorSkill1 == 'Speed of light') {
_root.speedEx += 40;
}
if (_root.armorSkill2 == 'Ultra Skills' || _root.armorSkill3 == 'Ultra Skills' || _root.armorSkill1 == 'Ultra Skills') {
_root.skills += 15;
}
if (_root.armorSkill2 == 'More HP Plus' || _root.armorSkill3 == 'More HP Plus' || _root.armorSkill1 == 'More HP Plus') {
_root.maxhp += 75;
}
if (_root.armorSkill2 == 'MP times two' || _root.armorSkill3 == 'MP times two' || _root.armorSkill1 == 'MP times two') {
_root.mptwo = 2;
_root.maxmp1 *= 2;
}
if (_root.armorSkill2 == 'HP times two' || _root.armorSkill3 == 'HP times two' || _root.armorSkill1 == 'HP times two') {
_root.hptwo = 2;
_root.maxhp *= _root.hptwo;
}
if (_root.armorSkill3 == 'Auto-Haste') {
_root.autoHaste = 1;
}
if (_root.armorSkill3 == 'Auto-Recover') {
_root.autoRegen = 1;
}
if (_root.armorSkill2 == 'Auto-Shell') {
_root.autoShell2 = 1;
}
if (_root.armorSkill2 == 'Auto-Protect') {
_root.autoProtect2 = 1;
}
}
}
}
button 9428 {
on (release) {
if (_root.equipBelt1 != 0) {
_root.equipBelt1 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipBelt2 = 0;
_root.equipBelt3 = 0;
_root.equipBelt4 = 0;
_root.beltLook = 0;
if (_root.beltSkill1 == 'More MP') {
_root.maxmp1 -= 5;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
} else {
if (_root.beltSkill1 == 'Defense') {
_root.defense -= 4;
} else {
if (_root.beltSkill1 == 'Speedy') {
_root.speedEx -= 2;
} else {
if (_root.beltSkill1 == 'Stronger') {
_root.strength -= 5;
} else {
if (_root.beltSkill1 == 'Master') {
_root.strength -= 8;
_root.speedEx -= 3;
} else {
if (_root.beltSkill1 == 'Skillful') {
_root.skills -= 10;
} else {
if (_root.beltSkill1 == 'Invincible') {
_root.strength -= 10;
_root.skills -= 10;
_root.defense -= 10;
} else {
if (_root.beltSkill1 == 'MP Plus') {
_root.maxmp1 -= 10;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
} else {
if (_root.beltSkill1 == 'More Defense') {
_root.defense -= 10;
} else {
if (_root.beltSkill1 == 'Double Strong') {
_root.strength -= 13;
} else {
if (_root.beltSkill1 == 'Speedy Plus') {
_root.speedEx -= 7;
} else {
if (_root.beltSkill1 == 'HP Plus') {
_root.maxhp -= 30;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
} else {
if (_root.beltSkill1 == 'More HP') {
_root.maxhp -= 50;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
} else {
if (_root.beltSkill1 == 'Defense Plus') {
_root.defense -= 4;
} else {
if (_root.beltSkill1 == 'Strength Plus') {
_root.strength -= 7;
} else {
if (_root.beltSkill1 == 'Powerful') {
_root.strength -= 10;
_root.maxhp -= 10;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9429 {
on (release) {
if (_root.equipBelt1 != 1) {
_root.box1 = 0;
_root.weapon1 = 0;
_root.armor1 = 0;
_root.belt1 = 0;
_root.glasses1 = 0;
gotoAndPlay(1);
}
}
}
button 9438 {
on (release) {
if (_root.equipBelt1 != 1 && _root.equipBelt2 != 1 && _root.equipBelt3 != 1 && _root.equipBelt4 != 1) {
_root.equipBelt1 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(4) + 1;
switch (attack) {
case 1:
_root.beltLook = 1;
break;
case 2:
_root.beltLook = 2;
break;
case 3:
_root.beltLook = 3;
break;
case 4:
_root.beltLook = 4;
}
if (_root.beltSkill1 == 'More MP') {
_root.maxmp1 += 5;
} else {
if (_root.beltSkill1 == 'Defense') {
_root.defense += 4;
} else {
if (_root.beltSkill1 == 'Speedy') {
_root.speedEx += 2;
} else {
if (_root.beltSkill1 == 'Stronger') {
_root.strength += 5;
} else {
if (_root.beltSkill1 == 'Master') {
_root.strength += 8;
_root.speedEx += 3;
} else {
if (_root.beltSkill1 == 'Skillful') {
_root.skills += 10;
} else {
if (_root.beltSkill1 == 'Invincible') {
_root.strength += 10;
_root.skills += 10;
_root.defense += 10;
} else {
if (_root.beltSkill1 == 'MP Plus') {
_root.maxmp1 += 10;
} else {
if (_root.beltSkill1 == 'More Defense') {
_root.defense += 10;
} else {
if (_root.beltSkill1 == 'Double Strong') {
_root.strength += 13;
} else {
if (_root.beltSkill1 == 'Speedy Plus') {
_root.speedEx += 7;
} else {
if (_root.beltSkill1 == 'HP Plus') {
_root.maxhp += 30;
} else {
if (_root.beltSkill1 == 'More HP') {
_root.maxhp += 50;
} else {
if (_root.beltSkill1 == 'Defense Plus') {
_root.defense += 4;
} else {
if (_root.beltSkill1 == 'Strength Plus') {
_root.strength += 7;
} else {
if (_root.beltSkill1 == 'Powerful') {
_root.strength += 10;
_root.maxhp += 10;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9439 {
on (release) {
if (_root.equipGlasses1 != 0) {
_level0.glassesLook1 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipGlasses1 = 0;
_root.equipGlasses2 = 0;
_root.equipGlasses3 = 0;
_root.equipGlasses4 = 0;
if (_root.glassesSkill1 == 'More MP') {
_root.maxmp1 -= 5;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
} else {
if (_root.glassesSkill1 == 'Defense') {
_root.defense -= 4;
} else {
if (_root.glassesSkill1 == 'Speedy') {
_root.speedEx -= 2;
} else {
if (_root.glassesSkill1 == 'Stronger') {
_root.strength -= 5;
} else {
if (_root.glassesSkill1 == 'Master') {
_root.strength -= 8;
_root.speedEx -= 3;
} else {
if (_root.glassesSkill1 == 'Skillful') {
_root.skills -= 10;
} else {
if (_root.glassesSkill1 == 'Invincible') {
_root.strength -= 10;
_root.skills -= 10;
_root.defense -= 10;
} else {
if (_root.glassesSkill1 == 'MP Plus') {
_root.maxmp1 -= 10;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
} else {
if (_root.glassesSkill1 == 'More Defense') {
_root.defense -= 10;
} else {
if (_root.glassesSkill1 == 'Double Strong') {
_root.strength -= 13;
} else {
if (_root.glassesSkill1 == 'Speedy Plus') {
_root.speedEx -= 7;
} else {
if (_root.glassesSkill1 == 'HP Plus') {
_root.maxhp -= 30;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
} else {
if (_root.glassesSkill1 == 'More HP') {
_root.maxhp -= 50;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
} else {
if (_root.glassesSkill1 == 'Auto-Shell') {
_root.autoShell1 = 0;
} else {
if (_root.glassesSkill1 == 'Auto-Protect') {
_root.autoProtect1 = 0;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9440 {
on (release) {
if (_root.equipGlasses1 != 1) {
_root.weapon1 = 0;
_root.armor1 = 0;
_root.belt1 = 0;
_root.glasses1 = 0;
gotoAndPlay(1);
}
}
}
button 9448 {
on (release) {
if (_root.equipGlasses1 != 1 && _root.equipGlasses2 != 1 && _root.equipGlasses3 != 1 && _root.equipGlasses4 != 1) {
_root.equipGlasses1 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(3) + 1;
switch (attack) {
case 1:
_level0.glassesLook1 = 1;
break;
case 2:
_level0.glassesLook1 = 2;
break;
case 3:
_level0.glassesLook1 = 3;
}
if (_root.glassesSkill1 == 'More MP') {
_root.maxmp1 += 5;
} else {
if (_root.glassesSkill1 == 'Defense') {
_root.defense += 4;
} else {
if (_root.glassesSkill1 == 'Speedy') {
_root.speedEx += 2;
} else {
if (_root.glassesSkill1 == 'Stronger') {
_root.strength += 5;
} else {
if (_root.glassesSkill1 == 'Master') {
_root.strength += 8;
_root.speedEx += 3;
} else {
if (_root.glassesSkill1 == 'Skillful') {
_root.skills += 10;
} else {
if (_root.glassesSkill1 == 'Invincible') {
_root.strength += 10;
_root.skills += 10;
_root.defense += 10;
} else {
if (_root.glassesSkill1 == 'MP Plus') {
_root.maxmp1 += 10;
} else {
if (_root.glassesSkill1 == 'More Defense') {
_root.defense += 10;
} else {
if (_root.glassesSkill1 == 'Double Strong') {
_root.strength += 13;
} else {
if (_root.glassesSkill1 == 'Speedy Plus') {
_root.speedEx += 7;
} else {
if (_root.glassesSkill1 == 'HP Plus') {
_root.maxhp += 30;
} else {
if (_root.glassesSkill1 == 'More HP') {
_root.maxhp += 50;
} else {
if (_root.glassesSkill1 == 'Auto-Shell') {
_root.autoShell1 = 1;
} else {
if (_root.glassesSkill1 == 'Auto-Protect') {
_root.autoProtect1 = 1;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
movieClip 9449 {
frame 1 {
if (_root.weapon1 == 1) {
gotoAndPlay(2);
} else {
if (_root.armor1 == 1) {
gotoAndPlay(3);
} else {
if (_root.belt1 == 1) {
gotoAndPlay(4);
} else {
if (_root.glasses1 == 1) {
gotoAndPlay(5);
} else {
stop();
}
}
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
button 9450 {
on (release) {
if (_root.equipWeapon2 != 0) {
_root.weaponLook = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipWeapon1 = 0;
_root.equipWeapon2 = 0;
_root.equipWeapon3 = 0;
_root.equipWeapon4 = 0;
if (_root.weaponSkill4 == 'OK damage' || _root.weaponSkill5 == 'OK damage' || _root.weaponSkill6 == 'OK damage') {
_root.strength -= 5;
}
if (_root.weaponSkill4 == 'More MP' || _root.weaponSkill5 == 'More MP' || _root.weaponSkill6 == 'More MP') {
_root.maxmp1 -= 10;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
}
if (_root.weaponSkill4 == 'Speedy' || _root.weaponSkill5 == 'Speedy' || _root.weaponSkill6 == 'Speedy') {
_level0.speedEx -= 3;
}
if (_root.weaponSkill4 == 'Double Strength' || _root.weaponSkill5 == 'Double Strength' || _root.weaponSkill6 == 'Double Strength') {
_root.strength -= 10;
}
if (_root.weaponSkill4 == 'Super MP' || _root.weaponSkill5 == 'Super MP' || _root.weaponSkill6 == 'Super MP') {
_root.maxmp1 -= 20;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
}
if (_root.weaponSkill4 == 'HP Plus' || _root.weaponSkill5 == 'HP Plus' || _root.weaponSkill6 == 'HP Plus') {
_root.maxhp -= 30;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.weaponSkill4 == 'More HP' || _root.weaponSkill5 == 'More HP' || _root.weaponSkill6 == 'More HP') {
_root.maxhp -= 50;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.weaponSkill4 == 'Super HP' || _root.weaponSkill5 == 'Super HP' || _root.weaponSkill6 == 'Super HP') {
_root.maxhp -= 100;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.weaponSkill4 == 'Speed Plus' || _root.weaponSkill5 == 'Speed Plus' || _root.weaponSkill6 == 'Speed Plus') {
_level0.speedEx -= 10;
}
if (_root.weaponSkill4 == 'Super Speed' || _root.weaponSkill5 == 'Speed Plus' || _root.weaponSkill6 == 'Speed Plus') {
_level0.speedEx -= 20;
}
if (_root.weaponSkill4 == 'Strong' || _root.weaponSkill5 == 'Strong' || _root.weaponSkill6 == 'Strong') {
_root.strength -= 15;
}
if (_root.weaponSkill4 == 'Money Maker' || _root.weaponSkill5 == 'Money Maker' || _root.weaponSkill6 == 'Money Maker') {
_root.moneyPlus = 1;
}
if (_root.weaponSkill4 == 'EXP More' || _root.weaponSkill5 == 'EXP More' || _root.weaponSkill6 == 'EXP More') {
_root.EXPMore = 1;
}
if (_root.weaponSkill4 == 'Super Strength' || _root.weaponSkill5 == 'Super Strength' || _root.weaponSkill6 == 'Super Strength') {
_root.strength -= 25;
}
if (_root.weaponSkill4 == 'Skills Plus' || _root.weaponSkill5 == 'Skills Plus' || _root.weaponSkill6 == 'Skills Plus') {
_root.skills -= 10;
}
if (_root.weaponSkill4 == 'More Skills' || _root.weaponSkill5 == 'More Skills' || _root.weaponSkill6 == 'More Skills') {
_root.skills -= 15;
}
if (_root.weaponSkill4 == 'Super Skills' || _root.weaponSkill5 == 'Super Skills' || _root.weaponSkill6 == 'Super Skills') {
_root.skills -= 23;
}
if (_root.weaponSkill4 == 'Defense Plus' || _root.weaponSkill5 == 'Defense Plus' || _root.weaponSkill6 == 'Defense Plus') {
_root.defense -= 10;
}
if (_root.weaponSkill4 == 'Super Defense' || _root.weaponSkill5 == 'Super Defense' || _root.weaponSkill6 == 'Super Defense') {
_root.defense -= 30;
}
if (_root.weaponSkill4 == 'Invincible' || _root.weaponSkill5 == 'Invincible' || _root.weaponSkill6 == 'Invincible') {
_root.defense -= 60;
_root.maxhp -= 200;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.weaponSkill4 == 'Immortal' || _root.weaponSkill5 == 'Immortal' || _root.weaponSkill6 == 'Immortal') {
_root.maxhp -= 500;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.weaponSkill4 == 'God' || _root.weaponSkill5 == 'God' || _root.weaponSkill6 == 'God') {
_root.strength -= 70;
_root.defense -= 50;
_root.skills -= 50;
_root.maxhp -= 700;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.weaponSkill4 == 'Skilled') {
_root.skills -= 8;
}
if (_root.weaponSkill5 == 'Life Leech') {
_root.lifeLeech -= 2;
}
if (_root.weaponSkill5 == 'Mana Leech') {
_root.magLeech -= 2;
}
if (_root.weaponSkill6 == 'Super Life Leech') {
_root.lifeLeech -= 5;
}
if (_root.weaponSkill6 == 'Super Mana Leech') {
_root.magLeech -= 5;
}
}
}
}
button 9451 {
on (release) {
if (_root.equipWeapon2 != 1) {
_root.weapon2 = 0;
_root.weaponLook = 0;
_root.armor2 = 0;
_root.belt2 = 0;
_root.glasses2 = 0;
gotoAndPlay(1);
}
}
}
movieClip 9458 {
frame 1 {
if (_root.equipWeapon2 == 1 || _root.equipArmor2 == 1 || _root.equipGlasses2 == 1 || _root.equipBelt2 == 1) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 2 {
stop();
}
}
button 9460 {
on (release) {
if (_root.equipWeapon1 != 1 && _root.equipWeapon2 != 1 && _root.equipWeapon3 != 1 && _root.equipWeapon4 != 1) {
_root.equipWeapon2 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(7) + 1;
switch (attack) {
case 1:
_root.weaponLook = 1;
break;
case 2:
_root.weaponLook = 2;
break;
case 3:
_root.weaponLook = 3;
break;
case 4:
_root.weaponLook = 4;
break;
case 5:
_root.weaponLook = 5;
break;
case 6:
_root.weaponLook = 6;
break;
case 7:
_root.weaponLook = 7;
}
if (_root.weaponSkill4 == 'OK damage' || _root.weaponSkill5 == 'OK damage' || _root.weaponSkill6 == 'OK damage') {
_root.strength += 5;
}
if (_root.weaponSkill4 == 'More MP' || _root.weaponSkill5 == 'More MP' || _root.weaponSkill6 == 'More MP') {
_root.maxmp1 += 10;
}
if (_root.weaponSkill4 == 'Speedy' || _root.weaponSkill5 == 'Speedy' || _root.weaponSkill6 == 'Speedy') {
_level0.speedEx += 3;
}
if (_root.weaponSkill4 == 'Double Strength' || _root.weaponSkill5 == 'Double Strength' || _root.weaponSkill6 == 'Double Strength') {
_root.strength += 10;
}
if (_root.weaponSkill4 == 'Super MP' || _root.weaponSkill5 == 'Super MP' || _root.weaponSkill6 == 'Super MP') {
_root.maxmp1 += 20;
}
if (_root.weaponSkill4 == 'HP Plus' || _root.weaponSkill5 == 'HP Plus' || _root.weaponSkill6 == 'HP Plus') {
_root.maxhp += 30;
}
if (_root.weaponSkill4 == 'More HP' || _root.weaponSkill5 == 'More HP' || _root.weaponSkill6 == 'More HP') {
_root.maxhp += 50;
}
if (_root.weaponSkill4 == 'Super HP' || _root.weaponSkill5 == 'Super HP' || _root.weaponSkill6 == 'Super HP') {
_root.maxhp += 100;
}
if (_root.weaponSkill4 == 'Speed Plus' || _root.weaponSkill5 == 'Speed Plus' || _root.weaponSkill6 == 'Speed Plus') {
_level0.speedEx += 10;
}
if (_root.weaponSkill4 == 'Super Speed' || _root.weaponSkill5 == 'Speed Plus' || _root.weaponSkill6 == 'Speed Plus') {
_level0.speedEx += 20;
}
if (_root.weaponSkill4 == 'Strong' || _root.weaponSkill5 == 'Strong' || _root.weaponSkill6 == 'Strong') {
_root.strength += 15;
}
if (_root.weaponSkill4 == 'Money Maker' || _root.weaponSkill5 == 'Money Maker' || _root.weaponSkill6 == 'Money Maker') {
_root.moneyPlus = 2;
}
if (_root.weaponSkill4 == 'EXP More' || _root.weaponSkill5 == 'EXP More' || _root.weaponSkill6 == 'EXP More') {
_root.EXPMore = 2;
}
if (_root.weaponSkill4 == 'Super Strength' || _root.weaponSkill5 == 'Super Strength' || _root.weaponSkill6 == 'Super Strength') {
_root.strength += 25;
}
if (_root.weaponSkill4 == 'Skills Plus' || _root.weaponSkill5 == 'Skills Plus' || _root.weaponSkill6 == 'Skills Plus') {
_root.skills += 10;
}
if (_root.weaponSkill4 == 'More Skills' || _root.weaponSkill5 == 'More Skills' || _root.weaponSkill6 == 'More Skills') {
_root.skills += 15;
}
if (_root.weaponSkill4 == 'Super Skills' || _root.weaponSkill5 == 'Super Skills' || _root.weaponSkill6 == 'Super Skills') {
_root.skills += 23;
}
if (_root.weaponSkill4 == 'Defense Plus' || _root.weaponSkill5 == 'Defense Plus' || _root.weaponSkill6 == 'Defense Plus') {
_root.defense += 10;
}
if (_root.weaponSkill4 == 'Super Defense' || _root.weaponSkill5 == 'Super Defense' || _root.weaponSkill6 == 'Super Defense') {
_root.defense += 30;
}
if (_root.weaponSkill4 == 'Invincible' || _root.weaponSkill5 == 'Invincible' || _root.weaponSkill6 == 'Invincible') {
_root.defense += 60;
_root.maxhp += 200;
}
if (_root.weaponSkill4 == 'Immortal' || _root.weaponSkill5 == 'Immortal' || _root.weaponSkill6 == 'Immortal') {
_root.maxhp += 500;
}
if (_root.weaponSkill4 == 'God' || _root.weaponSkill5 == 'God' || _root.weaponSkill6 == 'God') {
_root.strength += 70;
_root.defense += 50;
_root.skills += 50;
_root.maxhp += 700;
}
if (_root.weaponSkill4 == 'Skilled') {
_root.skills += 8;
}
if (_root.weaponSkill5 == 'Life Leech') {
_root.lifeLeech += 2;
}
if (_root.weaponSkill5 == 'Mana Leech') {
_root.magLeech += 2;
}
if (_root.weaponSkill6 == 'Super Life Leech') {
_root.lifeLeech += 5;
}
if (_root.weaponSkill6 == 'Super Mana Leech') {
_root.magLeech += 5;
}
}
}
}
button 9461 {
on (release) {
if (_root.equipArmor2 != 0) {
_root.armorLook1 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipArmor1 = 0;
_root.equipArmor2 = 0;
_root.equipArmor3 = 0;
_root.equipArmor4 = 0;
if (_root.armorSkill4 == 'OK defense' || _root.armorSkill5 == 'OK defense' || _root.armorSkill6 == 'OK defense') {
_root.defense -= 5;
}
if (_root.armorSkill4 == 'Double Defense' || _root.armorSkill5 == 'Double Defense' || _root.armorSkill6 == 'Double Defense') {
_root.defense -= 10;
}
if (_root.armorSkill4 == 'Extra Fast' || _root.armorSkill5 == 'Extra Fast' || _root.armorSkill6 == 'Extra Fast') {
_root.speedEx -= 2;
}
if (_root.armorSkill4 == 'More MP' || _root.armorSkill5 == 'More MP' || _root.armorSkill6 == 'More MP') {
_root.maxmp1 -= 5;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
}
if (_root.armorSkill4 == 'Extra Strength' || _root.armorSkill5 == 'Extra Strength' || _root.armorSkill6 == 'Extra Strength') {
_root.strength -= 7;
}
if (_root.armorSkill4 == 'Skills Plus' || _root.armorSkill5 == 'Skills Plus' || _root.armorSkill6 == 'Skills Plus') {
_root.skills -= 4;
}
if (_root.armorSkill4 == 'More Defense' || _root.armorSkill5 == 'More Defense' || _root.armorSkill6 == 'More Defense') {
_root.defense -= 15;
}
if (_root.armorSkill4 == 'Speed Plus' || _root.armorSkill5 == 'Speed Plus' || _root.armorSkill6 == 'Speed Plus') {
_root.speedEx -= 5;
}
if (_root.armorSkill4 == 'More Strength' || _root.armorSkill5 == 'More Strength' || _root.armorSkill6 == 'More Strength') {
_root.strength -= 10;
}
if (_root.armorSkill4 == 'HP Plus' || _root.armorSkill5 == 'HP Plus' || _root.armorSkill6 == 'HP Plus') {
_root.maxhp -= 20;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.armorSkill4 == 'More HP' || _root.armorSkill5 == 'More HP' || _root.armorSkill6 == 'More HP') {
_root.maxhp -= 50;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.armorSkill4 == 'Ultra HP' || _root.armorSkill5 == 'Ultra HP' || _root.armorSkill6 == 'Ultra HP') {
_root.maxhp -= 100;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.armorSkill4 == 'Ultra MP' || _root.armorSkill5 == 'Ultra MP' || _root.armorSkill6 == 'Ultra MP') {
_root.maxmp1 -= 30;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
}
if (_root.armorSkill4 == 'MP Plus' || _root.armorSkill5 == 'MP Plus' || _root.armorSkill6 == 'MP Plus') {
_root.maxmp1 -= 7;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
}
if (_root.armorSkill4 == 'Super Speed' || _root.armorSkill5 == 'Super Speed' || _root.armorSkill6 == 'Super Speed') {
_root.speedEx -= 20;
}
if (_root.armorSkill4 == 'Defense Plus' || _root.armorSkill5 == 'Defense Plus' || _root.armorSkill6 == 'Defense Plus') {
_root.defense -= 7;
}
if (_root.armorSkill4 == 'Ultra Defense' || _root.armorSkill5 == 'Ultra Defense' || _root.armorSkill6 == 'Ultra Defense') {
_root.defense -= 30;
}
if (_root.armorSkill4 == 'Ultra Strength' || _root.armorSkill5 == 'Ultra Strength' || _root.armorSkill6 == 'Ultra Strength') {
_root.strength -= 20;
}
if (_root.armorSkill4 == 'Speed of light' || _root.armorSkill5 == 'Speed of light' || _root.armorSkill6 == 'Speed of light') {
_root.speedEx -= 40;
}
if (_root.armorSkill4 == 'Ultra Skills' || _root.armorSkill5 == 'Ultra Skills' || _root.armorSkill6 == 'Ultra Skills') {
_root.skills -= 15;
}
if (_root.armorSkill4 == 'More HP Plus' || _root.armorSkill5 == 'More HP Plus' || _root.armorSkill6 == 'More HP Plus') {
_root.maxhp -= 75;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.armorSkill4 == 'MP times two' || _root.armorSkill5 == 'MP times two' || _root.armorSkill6 == 'MP times two') {
_root.mptwo = 1;
_root.maxmp1 *= 0.5;
}
if (_root.armorSkill4 == 'HP times two' || _root.armorSkill5 == 'HP times two' || _root.armorSkill6 == 'HP times two') {
_root.hptwo = 1;
_root.maxhp *= 0.5;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.armorSkill6 == 'Auto-Haste') {
_root.autoHaste = 0;
}
if (_root.armorSkill6 == 'Auto-Recover') {
_root.autoRegen = 0;
}
if (_root.armorSkill5 == 'Auto-Shell') {
_root.autoShell2 = 0;
}
if (_root.armorSkill5 == 'Auto-Protect') {
_root.autoProtect2 = 0;
}
}
}
}
button 9462 {
on (release) {
if (_root.equipArmor2 != 1) {
_root.weapon2 = 0;
_root.armor2 = 0;
_root.belt2 = 0;
_root.glasses2 = 0;
gotoAndPlay(1);
}
}
}
button 9463 {
on (release) {
if (_root.equipArmor1 != 1 && _root.equipArmor2 != 1 && _root.equipArmor3 != 1 && _root.equipArmor4 != 1) {
_root.equipArmor2 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(7) + 1;
switch (attack) {
case 1:
_root.armorLook1 = 1;
break;
case 2:
_root.armorLook1 = 2;
break;
case 3:
_root.armorLook1 = 3;
break;
case 4:
_root.armorLook1 = 4;
break;
case 5:
_root.armorLook1 = 5;
break;
case 6:
_root.armorLook1 = 6;
break;
case 7:
_root.armorLook1 = 7;
break;
case 8:
_root.armorLook1 = 8;
break;
case 9:
_root.armorLook1 = 9;
break;
case 10:
_root.armorLook1 = 10;
}
if (_root.armorSkill4 == 'OK defense' || _root.armorSkill5 == 'OK defense' || _root.armorSkill6 == 'OK defense') {
_root.defense += 5;
}
if (_root.armorSkill4 == 'Double Defense' || _root.armorSkill5 == 'Double Defense' || _root.armorSkill6 == 'Double Defense') {
_root.defense += 10;
}
if (_root.armorSkill4 == 'Extra Fast' || _root.armorSkill5 == 'Extra Fast' || _root.armorSkill6 == 'Extra Fast') {
_root.speedEx += 2;
}
if (_root.armorSkill4 == 'More MP' || _root.armorSkill5 == 'More MP' || _root.armorSkill6 == 'More MP') {
_root.maxmp1 += 5;
}
if (_root.armorSkill4 == 'Extra Strength' || _root.armorSkill5 == 'Extra Strength' || _root.armorSkill6 == 'Extra Strength') {
_root.strength += 7;
}
if (_root.armorSkill4 == 'Skills Plus' || _root.armorSkill5 == 'Skills Plus' || _root.armorSkill6 == 'Skills Plus') {
_root.skills += 4;
}
if (_root.armorSkill4 == 'More Defense' || _root.armorSkill5 == 'More Defense' || _root.armorSkill6 == 'More Defense') {
_root.defense += 15;
}
if (_root.armorSkill4 == 'Speed Plus' || _root.armorSkill5 == 'Speed Plus' || _root.armorSkill6 == 'Speed Plus') {
_root.speedEx += 5;
}
if (_root.armorSkill4 == 'More Strength' || _root.armorSkill5 == 'More Strength' || _root.armorSkill6 == 'More Strength') {
_root.strength += 10;
}
if (_root.armorSkill4 == 'HP Plus' || _root.armorSkill5 == 'HP Plus' || _root.armorSkill6 == 'HP Plus') {
_root.maxhp += 20;
}
if (_root.armorSkill4 == 'More HP' || _root.armorSkill5 == 'More HP' || _root.armorSkill6 == 'More HP') {
_root.maxhp += 50;
}
if (_root.armorSkill4 == 'Ultra HP' || _root.armorSkill5 == 'Ultra HP' || _root.armorSkill6 == 'Ultra HP') {
_root.maxhp += 100;
}
if (_root.armorSkill4 == 'Ultra MP' || _root.armorSkill5 == 'Ultra MP' || _root.armorSkill6 == 'Ultra MP') {
_root.maxmp1 += 30;
}
if (_root.armorSkill4 == 'MP Plus' || _root.armorSkill5 == 'MP Plus' || _root.armorSkill6 == 'MP Plus') {
_root.maxmp1 += 7;
}
if (_root.armorSkill4 == 'Super Speed' || _root.armorSkill5 == 'Super Speed' || _root.armorSkill6 == 'Super Speed') {
_root.speedEx += 20;
}
if (_root.armorSkill4 == 'Defense Plus' || _root.armorSkill5 == 'Defense Plus' || _root.armorSkill6 == 'Defense Plus') {
_root.defense += 7;
}
if (_root.armorSkill4 == 'Ultra Defense' || _root.armorSkill5 == 'Ultra Defense' || _root.armorSkill6 == 'Ultra Defense') {
_root.defense += 30;
}
if (_root.armorSkill4 == 'Ultra Strength' || _root.armorSkill5 == 'Ultra Strength' || _root.armorSkill6 == 'Ultra Strength') {
_root.strength += 20;
}
if (_root.armorSkill4 == 'Speed of light' || _root.armorSkill5 == 'Speed of light' || _root.armorSkill6 == 'Speed of light') {
_root.speedEx += 40;
}
if (_root.armorSkill4 == 'Ultra Skills' || _root.armorSkill5 == 'Ultra Skills' || _root.armorSkill6 == 'Ultra Skills') {
_root.skills += 15;
}
if (_root.armorSkill4 == 'More HP Plus' || _root.armorSkill5 == 'More HP Plus' || _root.armorSkill6 == 'More HP Plus') {
_root.maxhp += 75;
}
if (_root.armorSkill4 == 'MP times two' || _root.armorSkill5 == 'MP times two' || _root.armorSkill6 == 'MP times two') {
_root.mptwo = 2;
_root.maxmp1 *= _root.mptwo;
}
if (_root.armorSkill4 == 'HP times two' || _root.armorSkill5 == 'HP times two' || _root.armorSkill6 == 'HP times two') {
_root.hptwo = 2;
_root.maxhp *= _root.hptwo;
}
if (_root.armorSkill6 == 'Auto-Haste') {
_root.autoHaste = 1;
}
if (_root.armorSkill6 == 'Auto-Recover') {
_root.autoRegen = 1;
}
if (_root.armorSkill5 == 'Auto-Shell') {
_root.autoShell2 = 1;
}
if (_root.armorSkill5 == 'Auto-Protect') {
_root.autoProtect2 = 1;
}
}
}
}
button 9471 {
on (release) {
if (_root.equipBelt2 != 0) {
_root.equipBelt1 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipBelt2 = 0;
_root.equipBelt3 = 0;
_root.equipBelt4 = 0;
_root.beltLook = 0;
if (_root.beltSkill2 == 'More MP') {
_root.maxmp1 -= 5;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
} else {
if (_root.beltSkill2 == 'Defense') {
_root.defense -= 4;
} else {
if (_root.beltSkill2 == 'Speedy') {
_root.speedEx -= 2;
} else {
if (_root.beltSkill2 == 'Stronger') {
_root.strength -= 5;
} else {
if (_root.beltSkill2 == 'Master') {
_root.strength -= 8;
_root.speedEx -= 3;
} else {
if (_root.beltSkill2 == 'Skillful') {
_root.skills -= 10;
} else {
if (_root.beltSkill2 == 'Invincible') {
_root.strength -= 10;
_root.skills -= 10;
_root.defense -= 10;
} else {
if (_root.beltSkill2 == 'MP Plus') {
_root.maxmp1 -= 10;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
} else {
if (_root.beltSkill2 == 'More Defense') {
_root.defense -= 10;
} else {
if (_root.beltSkill2 == 'Double Strong') {
_root.strength -= 13;
} else {
if (_root.beltSkill2 == 'Speedy Plus') {
_root.speedEx -= 7;
} else {
if (_root.beltSkill2 == 'HP Plus') {
_root.maxhp -= 30;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
} else {
if (_root.beltSkill2 == 'More HP') {
_root.maxhp -= 50;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
} else {
if (_root.beltSkill2 == 'Defense Plus') {
_root.defense -= 4;
} else {
if (_root.beltSkill2 == 'Strength Plus') {
_root.strength -= 7;
} else {
if (_root.beltSkill2 == 'Powerful') {
_root.strength -= 10;
_root.maxhp -= 10;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9472 {
on (release) {
if (_root.equipBelt2 != 1) {
_root.weapon2 = 0;
_root.armor2 = 0;
_root.belt2 = 0;
_root.glasses2 = 0;
gotoAndPlay(1);
}
}
}
button 9476 {
on (release) {
if (_root.equipBelt1 != 1 && _root.equipBelt2 != 1 && _root.equipBelt3 != 1 && _root.equipBelt4 != 1) {
_root.equipBelt2 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(4) + 1;
switch (attack) {
case 1:
_root.beltLook = 1;
break;
case 2:
_root.beltLook = 2;
break;
case 3:
_root.beltLook = 3;
break;
case 4:
_root.beltLook = 4;
}
if (_root.beltSkill2 == 'More MP') {
_root.maxmp1 += 5;
} else {
if (_root.beltSkill2 == 'Defense') {
_root.defense += 4;
} else {
if (_root.beltSkill2 == 'Speedy') {
_root.speedEx += 2;
} else {
if (_root.beltSkill2 == 'Stronger') {
_root.strength += 5;
} else {
if (_root.beltSkill2 == 'Master') {
_root.strength += 8;
_root.speedEx += 3;
} else {
if (_root.beltSkill2 == 'Skillful') {
_root.skills += 10;
} else {
if (_root.beltSkill2 == 'Invincible') {
_root.strength += 10;
_root.skills += 10;
_root.defense += 10;
} else {
if (_root.beltSkill2 == 'MP Plus') {
_root.maxmp1 += 10;
} else {
if (_root.beltSkill2 == 'More Defense') {
_root.defense += 10;
} else {
if (_root.beltSkill2 == 'Double Strong') {
_root.strength += 13;
} else {
if (_root.beltSkill2 == 'Speedy Plus') {
_root.speedEx += 7;
} else {
if (_root.beltSkill2 == 'HP Plus') {
_root.maxhp += 30;
} else {
if (_root.beltSkill2 == 'More HP') {
_root.maxhp += 50;
} else {
if (_root.beltSkill2 == 'Defense Plus') {
_root.defense += 4;
} else {
if (_root.beltSkill2 == 'Strength Plus') {
_root.strength += 7;
} else {
if (_root.beltSkill2 == 'Powerful') {
_root.strength += 10;
_root.maxhp += 10;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9477 {
on (release) {
if (_root.equipGlasses2 != 0) {
_level0.glassesLook1 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipGlasses1 = 0;
_root.equipGlasses2 = 0;
_root.equipGlasses3 = 0;
_root.equipGlasses4 = 0;
if (_root.glassesSkill2 == 'More MP') {
_root.maxmp1 -= 5;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
} else {
if (_root.glassesSkill2 == 'Defense') {
_root.defense -= 4;
} else {
if (_root.glassesSkill2 == 'Speedy') {
_root.speedEx -= 2;
} else {
if (_root.glassesSkill2 == 'Stronger') {
_root.strength -= 5;
} else {
if (_root.glassesSkill2 == 'Master') {
_root.strength -= 8;
_root.speedEx -= 3;
} else {
if (_root.glassesSkill2 == 'Skillful') {
_root.skills -= 10;
} else {
if (_root.glassesSkill2 == 'Invincible') {
_root.strength -= 10;
_root.skills -= 10;
_root.defense -= 10;
} else {
if (_root.glassesSkill2 == 'MP Plus') {
_root.maxmp1 -= 10;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
} else {
if (_root.glassesSkill2 == 'More Defense') {
_root.defense -= 10;
} else {
if (_root.glassesSkill2 == 'Double Strong') {
_root.strength -= 13;
} else {
if (_root.glassesSkill2 == 'Speedy Plus') {
_root.speedEx -= 7;
} else {
if (_root.glassesSkill2 == 'HP Plus') {
_root.maxhp -= 30;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
} else {
if (_root.glassesSkill2 == 'More HP') {
_root.maxhp -= 50;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
} else {
if (_root.glassesSkill2 == 'Auto-Shell') {
_root.autoShell1 = 0;
} else {
if (_root.glassesSkill2 == 'Auto-Protect') {
_root.autoProtect1 = 0;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9478 {
on (release) {
if (_root.equipGlasses2 != 1) {
_root.weapon2 = 0;
_root.armor2 = 0;
_root.belt2 = 0;
_root.glasses2 = 0;
gotoAndPlay(1);
}
}
}
button 9483 {
on (release) {
if (_root.equipGlasses1 != 1 && _root.equipGlasses2 != 1 && _root.equipGlasses3 != 1 && _root.equipGlasses4 != 1) {
_root.equipGlasses2 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(3) + 1;
switch (attack) {
case 1:
_level0.glassesLook1 = 1;
break;
case 2:
_level0.glassesLook1 = 2;
break;
case 3:
_level0.glassesLook1 = 3;
}
if (_root.glassesSkill2 == 'More MP') {
_root.maxmp1 += 5;
} else {
if (_root.glassesSkill2 == 'Defense') {
_root.defense += 4;
} else {
if (_root.glassesSkill2 == 'Speedy') {
_root.speedEx += 2;
} else {
if (_root.glassesSkill2 == 'Stronger') {
_root.strength += 5;
} else {
if (_root.glassesSkill2 == 'Master') {
_root.strength += 8;
_root.speedEx += 3;
} else {
if (_root.glassesSkill2 == 'Skillful') {
_root.skills += 10;
} else {
if (_root.glassesSkill2 == 'Invincible') {
_root.strength += 10;
_root.skills += 10;
_root.defense += 10;
} else {
if (_root.glassesSkill2 == 'MP Plus') {
_root.maxmp1 += 10;
} else {
if (_root.glassesSkill2 == 'More Defense') {
_root.defense += 10;
} else {
if (_root.glassesSkill2 == 'Double Strong') {
_root.strength += 13;
} else {
if (_root.glassesSkill2 == 'Speedy Plus') {
_root.speedEx += 7;
} else {
if (_root.glassesSkill2 == 'HP Plus') {
_root.maxhp += 30;
} else {
if (_root.glassesSkill2 == 'More HP') {
_root.maxhp += 50;
} else {
if (_root.glassesSkill2 == 'Auto-Shell') {
_root.autoShell1 = 1;
} else {
if (_root.glassesSkill2 == 'Auto-Protect') {
_root.autoProtect1 = 1;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
movieClip 9484 {
frame 1 {
if (_root.weapon2 == 1) {
gotoAndPlay(2);
} else {
if (_root.armor2 == 1) {
gotoAndPlay(3);
} else {
if (_root.belt2 == 1) {
gotoAndPlay(4);
} else {
if (_root.glasses2 == 1) {
gotoAndPlay(5);
} else {
stop();
}
}
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
button 9485 {
on (release) {
if (_root.equipWeapon3 != 0) {
_root.weaponLook = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipWeapon1 = 0;
_root.equipWeapon2 = 0;
_root.equipWeapon3 = 0;
_root.equipWeapon4 = 0;
if (_root.weaponSkill7 == 'OK damage' || _root.weaponSkill8 == 'OK damage' || _root.weaponSkill9 == 'OK damage') {
_root.strength -= 5;
}
if (_root.weaponSkill7 == 'More MP' || _root.weaponSkill8 == 'More MP' || _root.weaponSkill9 == 'More MP') {
_root.maxmp1 -= 10;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
}
if (_root.weaponSkill7 == 'Speedy' || _root.weaponSkill8 == 'Speedy' || _root.weaponSkill9 == 'Speedy') {
_level0.speedEx -= 3;
}
if (_root.weaponSkill7 == 'Double Strength' || _root.weaponSkill8 == 'Double Strength' || _root.weaponSkill9 == 'Double Strength') {
_root.strength -= 10;
}
if (_root.weaponSkill7 == 'Super MP' || _root.weaponSkill8 == 'Super MP' || _root.weaponSkill9 == 'Super MP') {
_root.maxmp1 -= 20;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
}
if (_root.weaponSkill7 == 'HP Plus' || _root.weaponSkill8 == 'HP Plus' || _root.weaponSkill9 == 'HP Plus') {
_root.maxhp -= 30;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.weaponSkill7 == 'More HP' || _root.weaponSkill8 == 'More HP' || _root.weaponSkill9 == 'More HP') {
_root.maxhp -= 50;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.weaponSkill7 == 'Super HP' || _root.weaponSkill8 == 'Super HP' || _root.weaponSkill9 == 'Super HP') {
_root.maxhp -= 100;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.weaponSkill7 == 'Speed Plus' || _root.weaponSkill8 == 'Speed Plus' || _root.weaponSkill9 == 'Speed Plus') {
_level0.speedEx -= 10;
}
if (_root.weaponSkill7 == 'Super Speed' || _root.weaponSkill8 == 'Speed Plus' || _root.weaponSkill9 == 'Speed Plus') {
_level0.speedEx -= 20;
}
if (_root.weaponSkill7 == 'Strong' || _root.weaponSkill8 == 'Strong' || _root.weaponSkill9 == 'Strong') {
_root.strength -= 15;
}
if (_root.weaponSkill7 == 'Money Maker' || _root.weaponSkill8 == 'Money Maker' || _root.weaponSkill9 == 'Money Maker') {
_root.moneyPlus = 1;
}
if (_root.weaponSkill7 == 'EXP More' || _root.weaponSkill8 == 'EXP More' || _root.weaponSkill9 == 'EXP More') {
_root.EXPMore = 1;
}
if (_root.weaponSkill7 == 'Super Strength' || _root.weaponSkill8 == 'Super Strength' || _root.weaponSkill9 == 'Super Strength') {
_root.strength -= 25;
}
if (_root.weaponSkill7 == 'Skills Plus' || _root.weaponSkill8 == 'Skills Plus' || _root.weaponSkill9 == 'Skills Plus') {
_root.skills -= 10;
}
if (_root.weaponSkill7 == 'More Skills' || _root.weaponSkill8 == 'More Skills' || _root.weaponSkill9 == 'More Skills') {
_root.skills -= 15;
}
if (_root.weaponSkill7 == 'Super Skills' || _root.weaponSkill8 == 'Super Skills' || _root.weaponSkill9 == 'Super Skills') {
_root.skills -= 23;
}
if (_root.weaponSkill7 == 'Defense Plus' || _root.weaponSkill8 == 'Defense Plus' || _root.weaponSkill9 == 'Defense Plus') {
_root.defense -= 10;
}
if (_root.weaponSkill7 == 'Super Defense' || _root.weaponSkill8 == 'Super Defense' || _root.weaponSkill9 == 'Super Defense') {
_root.defense -= 30;
}
if (_root.weaponSkill7 == 'Invincible' || _root.weaponSkill8 == 'Invincible' || _root.weaponSkill9 == 'Invincible') {
_root.defense -= 60;
_root.maxhp -= 200;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.weaponSkill7 == 'Immortal' || _root.weaponSkill8 == 'Immortal' || _root.weaponSkill9 == 'Immortal') {
_root.maxhp -= 500;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.weaponSkill7 == 'God' || _root.weaponSkill8 == 'God' || _root.weaponSkill9 == 'God') {
_root.strength -= 70;
_root.defense -= 50;
_root.skills -= 50;
_root.maxhp -= 700;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.weaponSkill7 == 'Skilled') {
_root.skills -= 8;
}
if (_root.weaponSkill8 == 'Life Leech') {
_root.lifeLeech -= 2;
}
if (_root.weaponSkill8 == 'Mana Leech') {
_root.magLeech -= 2;
}
if (_root.weaponSkill9 == 'Super Life Leech') {
_root.lifeLeech -= 5;
}
if (_root.weaponSkill9 == 'Super Mana Leech') {
_root.magLeech -= 5;
}
}
}
}
button 9486 {
on (release) {
if (_root.equipWeapon3 != 1) {
_root.weapon3 = 0;
_root.armor3 = 0;
_root.belt3 = 0;
_root.glasses3 = 0;
gotoAndPlay(1);
}
}
}
movieClip 9491 {
frame 1 {
if (_root.equipWeapon3 == 1 || _root.equipArmor3 == 1 || _root.equipGlasses3 == 1 || _root.equipBelt3 == 1) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 2 {
stop();
}
}
button 9493 {
on (release) {
if (_root.equipWeapon1 != 1 && _root.equipWeapon2 != 1 && _root.equipWeapon3 != 1 && _root.equipWeapon4 != 1) {
_root.equipWeapon3 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(7) + 1;
switch (attack) {
case 1:
_root.weaponLook = 1;
break;
case 2:
_root.weaponLook = 2;
break;
case 3:
_root.weaponLook = 3;
break;
case 4:
_root.weaponLook = 4;
break;
case 5:
_root.weaponLook = 5;
break;
case 6:
_root.weaponLook = 6;
break;
case 7:
_root.weaponLook = 7;
}
if (_root.weaponSkill7 == 'OK damage' || _root.weaponSkill8 == 'OK damage' || _root.weaponSkill9 == 'OK damage') {
_root.strength += 5;
}
if (_root.weaponSkill7 == 'More MP' || _root.weaponSkill8 == 'More MP' || _root.weaponSkill9 == 'More MP') {
_root.maxmp1 += 10;
}
if (_root.weaponSkill7 == 'Speedy' || _root.weaponSkill8 == 'Speedy' || _root.weaponSkill9 == 'Speedy') {
_level0.speedEx += 3;
}
if (_root.weaponSkill7 == 'Double Strength' || _root.weaponSkill8 == 'Double Strength' || _root.weaponSkill9 == 'Double Strength') {
_root.strength += 10;
}
if (_root.weaponSkill7 == 'Super MP' || _root.weaponSkill8 == 'Super MP' || _root.weaponSkill9 == 'Super MP') {
_root.maxmp1 += 20;
}
if (_root.weaponSkill7 == 'HP Plus' || _root.weaponSkill8 == 'HP Plus' || _root.weaponSkill9 == 'HP Plus') {
_root.maxhp += 30;
}
if (_root.weaponSkill7 == 'More HP' || _root.weaponSkill8 == 'More HP' || _root.weaponSkill9 == 'More HP') {
_root.maxhp += 50;
}
if (_root.weaponSkill7 == 'Super HP' || _root.weaponSkill8 == 'Super HP' || _root.weaponSkill9 == 'Super HP') {
_root.maxhp += 100;
}
if (_root.weaponSkill7 == 'Speed Plus' || _root.weaponSkill8 == 'Speed Plus' || _root.weaponSkill9 == 'Speed Plus') {
_level0.speedEx += 10;
}
if (_root.weaponSkill7 == 'Super Speed' || _root.weaponSkill8 == 'Speed Plus' || _root.weaponSkill9 == 'Speed Plus') {
_level0.speedEx += 20;
}
if (_root.weaponSkill7 == 'Strong' || _root.weaponSkill8 == 'Strong' || _root.weaponSkill9 == 'Strong') {
_root.strength += 15;
}
if (_root.weaponSkill7 == 'Money Maker' || _root.weaponSkill8 == 'Money Maker' || _root.weaponSkill9 == 'Money Maker') {
_root.moneyPlus = 2;
}
if (_root.weaponSkill7 == 'EXP More' || _root.weaponSkill8 == 'EXP More' || _root.weaponSkill9 == 'EXP More') {
_root.EXPMore = 2;
}
if (_root.weaponSkill7 == 'Super Strength' || _root.weaponSkill8 == 'Super Strength' || _root.weaponSkill9 == 'Super Strength') {
_root.strength += 25;
}
if (_root.weaponSkill7 == 'Skills Plus' || _root.weaponSkill8 == 'Skills Plus' || _root.weaponSkill9 == 'Skills Plus') {
_root.skills += 10;
}
if (_root.weaponSkill7 == 'More Skills' || _root.weaponSkill8 == 'More Skills' || _root.weaponSkill9 == 'More Skills') {
_root.skills += 15;
}
if (_root.weaponSkill7 == 'Super Skills' || _root.weaponSkill8 == 'Super Skills' || _root.weaponSkill9 == 'Super Skills') {
_root.skills += 23;
}
if (_root.weaponSkill7 == 'Defense Plus' || _root.weaponSkill8 == 'Defense Plus' || _root.weaponSkill9 == 'Defense Plus') {
_root.defense += 10;
}
if (_root.weaponSkill7 == 'Super Defense' || _root.weaponSkill8 == 'Super Defense' || _root.weaponSkill9 == 'Super Defense') {
_root.defense += 30;
}
if (_root.weaponSkill7 == 'Invincible' || _root.weaponSkill8 == 'Invincible' || _root.weaponSkill9 == 'Invincible') {
_root.defense += 60;
_root.maxhp += 200;
}
if (_root.weaponSkill7 == 'Immortal' || _root.weaponSkill8 == 'Immortal' || _root.weaponSkill9 == 'Immortal') {
_root.maxhp += 500;
}
if (_root.weaponSkill7 == 'God' || _root.weaponSkill8 == 'God' || _root.weaponSkill9 == 'God') {
_root.strength += 70;
_root.defense += 50;
_root.skills += 50;
_root.maxhp += 700;
}
if (_root.weaponSkill7 == 'Skilled') {
_root.skills += 8;
}
if (_root.weaponSkill8 == 'Life Leech') {
_root.lifeLeech += 2;
}
if (_root.weaponSkill8 == 'Mana Leech') {
_root.magLeech += 2;
}
if (_root.weaponSkill9 == 'Super Life Leech') {
_root.lifeLeech += 5;
}
if (_root.weaponSkill9 == 'Super Mana Leech') {
_root.magLeech += 5;
}
}
}
}
button 9494 {
on (release) {
if (_root.equipArmor3 != 0) {
_root.armorLook1 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipArmor1 = 0;
_root.equipArmor2 = 0;
_root.equipArmor3 = 0;
_root.equipArmor4 = 0;
if (_root.armorSkill7 == 'OK defense' || _root.armorSkill8 == 'OK defense' || _root.armorSkill9 == 'OK defense') {
_root.defense -= 5;
}
if (_root.armorSkill7 == 'Double Defense' || _root.armorSkill8 == 'Double Defense' || _root.armorSkill9 == 'Double Defense') {
_root.defense -= 10;
}
if (_root.armorSkill7 == 'Extra Fast' || _root.armorSkill8 == 'Extra Fast' || _root.armorSkill9 == 'Extra Fast') {
_root.speedEx -= 2;
}
if (_root.armorSkill7 == 'More MP' || _root.armorSkill8 == 'More MP' || _root.armorSkill9 == 'More MP') {
_root.maxmp1 -= 5;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
}
if (_root.armorSkill7 == 'Extra Strength' || _root.armorSkill8 == 'Extra Strength' || _root.armorSkill9 == 'Extra Strength') {
_root.strength -= 7;
}
if (_root.armorSkill7 == 'Skills Plus' || _root.armorSkill8 == 'Skills Plus' || _root.armorSkill9 == 'Skills Plus') {
_root.skills -= 4;
}
if (_root.armorSkill7 == 'More Defense' || _root.armorSkill8 == 'More Defense' || _root.armorSkill9 == 'More Defense') {
_root.defense -= 15;
}
if (_root.armorSkill7 == 'Speed Plus' || _root.armorSkill8 == 'Speed Plus' || _root.armorSkill9 == 'Speed Plus') {
_root.speedEx -= 5;
}
if (_root.armorSkill7 == 'More Strength' || _root.armorSkill8 == 'More Strength' || _root.armorSkill9 == 'More Strength') {
_root.strength -= 10;
}
if (_root.armorSkill7 == 'HP Plus' || _root.armorSkill8 == 'HP Plus' || _root.armorSkill9 == 'HP Plus') {
_root.maxhp -= 20;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.armorSkill7 == 'More HP' || _root.armorSkill8 == 'More HP' || _root.armorSkill9 == 'More HP') {
_root.maxhp -= 50;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.armorSkill7 == 'Ultra HP' || _root.armorSkill8 == 'Ultra HP' || _root.armorSkill9 == 'Ultra HP') {
_root.maxhp -= 100;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.armorSkill7 == 'Ultra MP' || _root.armorSkill8 == 'Ultra MP' || _root.armorSkill9 == 'Ultra MP') {
_root.maxmp1 -= 30;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
}
if (_root.armorSkill7 == 'MP Plus' || _root.armorSkill8 == 'MP Plus' || _root.armorSkill9 == 'MP Plus') {
_root.maxmp1 -= 7;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
}
if (_root.armorSkill7 == 'Super Speed' || _root.armorSkill8 == 'Super Speed' || _root.armorSkill9 == 'Super Speed') {
_root.speedEx -= 20;
}
if (_root.armorSkill7 == 'Defense Plus' || _root.armorSkill8 == 'Defense Plus' || _root.armorSkill9 == 'Defense Plus') {
_root.defense -= 7;
}
if (_root.armorSkill7 == 'Ultra Defense' || _root.armorSkill8 == 'Ultra Defense' || _root.armorSkill9 == 'Ultra Defense') {
_root.defense -= 30;
}
if (_root.armorSkill7 == 'Ultra Strength' || _root.armorSkill8 == 'Ultra Strength' || _root.armorSkill9 == 'Ultra Strength') {
_root.strength -= 20;
}
if (_root.armorSkill7 == 'Speed of light' || _root.armorSkill8 == 'Speed of light' || _root.armorSkill9 == 'Speed of light') {
_root.speedEx -= 40;
}
if (_root.armorSkill7 == 'Ultra Skills' || _root.armorSkill8 == 'Ultra Skills' || _root.armorSkill9 == 'Ultra Skills') {
_root.skills -= 15;
}
if (_root.armorSkill7 == 'More HP Plus' || _root.armorSkill8 == 'More HP Plus' || _root.armorSkill9 == 'More HP Plus') {
_root.maxhp -= 75;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
if (_root.armorSkill7 == 'MP times two' || _root.armorSkill8 == 'MP times two' || _root.armorSkill9 == 'MP times two') {
_root.mptwo = 1;
_root.maxmp1 *= 0.5;
}
if (_root.armorSkill7 == 'HP times two' || _root.armorSkill8 == 'HP times two' || _root.armorSkill9 == 'HP times two') {
_root.hptwo = 1;
_root.maxhp *= 0.5;
}
if (_root.armorSkill9 == 'Auto-Haste') {
_root.autoHaste = 0;
}
if (_root.armorSkill9 == 'Auto-Recover') {
_root.autoRegen = 0;
}
if (_root.armorSkill8 == 'Auto-Shell') {
_root.autoShell2 = 0;
}
if (_root.armorSkill8 == 'Auto-Protect') {
_root.autoProtect2 = 0;
}
}
}
}
button 9495 {
on (release) {
if (_root.equipArmor3 != 1) {
_root.weapon3 = 0;
_root.armor3 = 0;
_root.belt3 = 0;
_root.glasses3 = 0;
gotoAndPlay(1);
}
}
}
button 9502 {
on (release) {
if (_root.equipArmor1 != 1 && _root.equipArmor2 != 1 && _root.equipArmor3 != 1 && _root.equipArmor4 != 1) {
_root.equipArmor3 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(7) + 1;
switch (attack) {
case 1:
_root.armorLook1 = 1;
break;
case 2:
_root.armorLook1 = 2;
break;
case 3:
_root.armorLook1 = 3;
break;
case 4:
_root.armorLook1 = 4;
break;
case 5:
_root.armorLook1 = 5;
break;
case 6:
_root.armorLook1 = 6;
break;
case 7:
_root.armorLook1 = 7;
break;
case 8:
_root.armorLook1 = 8;
break;
case 9:
_root.armorLook1 = 9;
break;
case 10:
_root.armorLook1 = 10;
}
if (_root.armorSkill7 == 'OK defense' || _root.armorSkill8 == 'OK defense' || _root.armorSkill9 == 'OK defense') {
_root.defense += 5;
}
if (_root.armorSkill7 == 'Double Defense' || _root.armorSkill8 == 'Double Defense' || _root.armorSkill9 == 'Double Defense') {
_root.defense += 10;
}
if (_root.armorSkill7 == 'Extra Fast' || _root.armorSkill8 == 'Extra Fast' || _root.armorSkill9 == 'Extra Fast') {
_root.speedEx += 2;
}
if (_root.armorSkill7 == 'More MP' || _root.armorSkill8 == 'More MP' || _root.armorSkill9 == 'More MP') {
_root.maxmp1 += 5;
}
if (_root.armorSkill7 == 'Extra Strength' || _root.armorSkill8 == 'Extra Strength' || _root.armorSkill9 == 'Extra Strength') {
_root.strength += 7;
}
if (_root.armorSkill7 == 'Skills Plus' || _root.armorSkill8 == 'Skills Plus' || _root.armorSkill9 == 'Skills Plus') {
_root.skills += 4;
}
if (_root.armorSkill7 == 'More Defense' || _root.armorSkill8 == 'More Defense' || _root.armorSkill9 == 'More Defense') {
_root.defense += 15;
}
if (_root.armorSkill7 == 'Speed Plus' || _root.armorSkill8 == 'Speed Plus' || _root.armorSkill9 == 'Speed Plus') {
_root.speedEx += 5;
}
if (_root.armorSkill7 == 'More Strength' || _root.armorSkill8 == 'More Strength' || _root.armorSkill9 == 'More Strength') {
_root.strength += 10;
}
if (_root.armorSkill7 == 'HP Plus' || _root.armorSkill8 == 'HP Plus' || _root.armorSkill9 == 'HP Plus') {
_root.maxhp += 20;
}
if (_root.armorSkill7 == 'More HP' || _root.armorSkill8 == 'More HP' || _root.armorSkill9 == 'More HP') {
_root.maxhp += 50;
}
if (_root.armorSkill7 == 'Ultra HP' || _root.armorSkill8 == 'Ultra HP' || _root.armorSkill9 == 'Ultra HP') {
_root.maxhp += 100;
}
if (_root.armorSkill7 == 'Ultra MP' || _root.armorSkill8 == 'Ultra MP' || _root.armorSkill9 == 'Ultra MP') {
_root.maxmp1 += 30;
}
if (_root.armorSkill7 == 'MP Plus' || _root.armorSkill8 == 'MP Plus' || _root.armorSkill9 == 'MP Plus') {
_root.maxmp1 += 7;
}
if (_root.armorSkill7 == 'Super Speed' || _root.armorSkill8 == 'Super Speed' || _root.armorSkill9 == 'Super Speed') {
_root.speedEx += 20;
}
if (_root.armorSkill7 == 'Defense Plus' || _root.armorSkill8 == 'Defense Plus' || _root.armorSkill9 == 'Defense Plus') {
_root.defense += 7;
}
if (_root.armorSkill7 == 'Ultra Defense' || _root.armorSkill8 == 'Ultra Defense' || _root.armorSkill9 == 'Ultra Defense') {
_root.defense += 30;
}
if (_root.armorSkill7 == 'Ultra Strength' || _root.armorSkill8 == 'Ultra Strength' || _root.armorSkill9 == 'Ultra Strength') {
_root.strength += 20;
}
if (_root.armorSkill7 == 'Speed of light' || _root.armorSkill8 == 'Speed of light' || _root.armorSkill9 == 'Speed of light') {
_root.speedEx += 40;
}
if (_root.armorSkill7 == 'Ultra Skills' || _root.armorSkill8 == 'Ultra Skills' || _root.armorSkill9 == 'Ultra Skills') {
_root.skills += 15;
}
if (_root.armorSkill7 == 'More HP Plus' || _root.armorSkill8 == 'More HP Plus' || _root.armorSkill9 == 'More HP Plus') {
_root.maxhp += 75;
}
if (_root.armorSkill7 == 'MP times two' || _root.armorSkill8 == 'MP times two' || _root.armorSkill9 == 'MP times two') {
_root.mptwo = 2;
_root.maxmp1 *= 2;
}
if (_root.armorSkill7 == 'HP times two' || _root.armorSkill8 == 'HP times two' || _root.armorSkill9 == 'HP times two') {
_root.hptwo = 2;
_root.maxhp *= 2;
}
if (_root.armorSkill9 == 'Auto-Haste') {
_root.autoHaste = 1;
}
if (_root.armorSkill9 == 'Auto-Recover') {
_root.autoRegen = 1;
}
if (_root.armorSkill8 == 'Auto-Shell') {
_root.autoShell2 = 1;
}
if (_root.armorSkill8 == 'Auto-Protect') {
_root.autoProtect2 = 1;
}
}
}
}
button 9503 {
on (release) {
if (_root.equipBelt3 != 0) {
_root.equipBelt1 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipBelt2 = 0;
_root.equipBelt3 = 0;
_root.equipBelt4 = 0;
_root.beltLook = 0;
if (_root.beltSkill3 == 'More MP') {
_root.maxmp1 -= 5;
_root.mp1 = _root.maxmp1;
} else {
if (_root.beltSkill3 == 'Defense') {
_root.defense -= 4;
} else {
if (_root.beltSkill3 == 'Speedy') {
_root.speedEx -= 2;
} else {
if (_root.beltSkill3 == 'Stronger') {
_root.strength -= 5;
} else {
if (_root.beltSkill3 == 'Master') {
_root.strength -= 8;
_root.speedEx -= 3;
} else {
if (_root.beltSkill3 == 'Skillful') {
_root.skills -= 10;
} else {
if (_root.beltSkill3 == 'Invincible') {
_root.strength -= 10;
_root.skills -= 10;
_root.defense -= 10;
} else {
if (_root.beltSkill3 == 'MP Plus') {
_root.maxmp1 -= 10;
_root.mp1 = _root.maxmp1;
} else {
if (_root.beltSkill3 == 'More Defense') {
_root.defense -= 10;
} else {
if (_root.beltSkill3 == 'Double Strong') {
_root.strength -= 13;
} else {
if (_root.beltSkill3 == 'Speedy Plus') {
_root.speedEx -= 7;
} else {
if (_root.beltSkill3 == 'HP Plus') {
_root.char1 -= 30;
_root.maxhp -= 30;
} else {
if (_root.beltSkill3 == 'More HP') {
_root.char1 -= 50;
_root.maxhp -= 50;
} else {
if (_root.beltSkill3 == 'Defense Plus') {
_root.defense -= 4;
} else {
if (_root.beltSkill3 == 'Strength Plus') {
_root.strength -= 7;
} else {
if (_root.beltSkill3 == 'Powerful') {
_root.strength -= 10;
_root.maxhp -= 10;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9504 {
on (release) {
if (_root.equipBelt3 != 1) {
_root.weapon3 = 0;
_root.armor3 = 0;
_root.belt3 = 0;
_root.glasses3 = 0;
gotoAndPlay(1);
}
}
}
button 9510 {
on (release) {
if (_root.equipBelt1 != 1 && _root.equipBelt2 != 1 && _root.equipBelt3 != 1 && _root.equipBelt4 != 1) {
_root.equipBelt3 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(4) + 1;
switch (attack) {
case 1:
_root.beltLook = 1;
break;
case 2:
_root.beltLook = 2;
break;
case 3:
_root.beltLook = 3;
break;
case 4:
_root.beltLook = 4;
}
if (_root.beltSkill3 == 'More MP') {
_root.maxmp1 += 5;
} else {
if (_root.beltSkill3 == 'Defense') {
_root.defense += 4;
} else {
if (_root.beltSkill3 == 'Speedy') {
_root.speedEx += 2;
} else {
if (_root.beltSkill3 == 'Stronger') {
_root.strength += 5;
} else {
if (_root.beltSkill3 == 'Master') {
_root.strength += 8;
_root.speedEx += 3;
} else {
if (_root.beltSkill3 == 'Skillful') {
_root.skills += 10;
} else {
if (_root.beltSkill3 == 'Invincible') {
_root.strength += 10;
_root.skills += 10;
_root.defense += 10;
} else {
if (_root.beltSkill3 == 'MP Plus') {
_root.maxmp1 += 10;
} else {
if (_root.beltSkill3 == 'More Defense') {
_root.defense += 10;
} else {
if (_root.beltSkill3 == 'Double Strong') {
_root.strength += 13;
} else {
if (_root.beltSkill3 == 'Speedy Plus') {
_root.speedEx += 7;
} else {
if (_root.beltSkill3 == 'HP Plus') {
_root.maxhp += 30;
} else {
if (_root.beltSkill3 == 'More HP') {
_root.maxhp += 50;
} else {
if (_root.beltSkill3 == 'Defense Plus') {
_root.defense += 4;
} else {
if (_root.beltSkill3 == 'Strength Plus') {
_root.strength += 7;
} else {
if (_root.beltSkill3 == 'Powerful') {
_root.strength += 10;
_root.maxhp += 10;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9511 {
on (release) {
if (_root.equipGlasses3 != 0) {
_level0.glassesLook1 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipGlasses1 = 0;
_root.equipGlasses2 = 0;
_root.equipGlasses3 = 0;
_root.equipGlasses4 = 0;
if (_root.glassesSkill3 == 'More MP') {
_root.maxmp1 -= 5;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
} else {
if (_root.glassesSkill3 == 'Defense') {
_root.defense -= 4;
} else {
if (_root.glassesSkill3 == 'Speedy') {
_root.speedEx -= 2;
} else {
if (_root.glassesSkill3 == 'Stronger') {
_root.strength -= 5;
} else {
if (_root.glassesSkill3 == 'Master') {
_root.strength -= 8;
_root.speedEx -= 3;
} else {
if (_root.glassesSkill3 == 'Skillful') {
_root.skills -= 10;
} else {
if (_root.glassesSkill3 == 'Invincible') {
_root.strength -= 10;
_root.skills -= 10;
_root.defense -= 10;
} else {
if (_root.glassesSkill3 == 'MP Plus') {
_root.maxmp1 -= 10;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
} else {
if (_root.glassesSkill3 == 'More Defense') {
_root.defense -= 10;
} else {
if (_root.glassesSkill3 == 'Double Strong') {
_root.strength -= 13;
} else {
if (_root.glassesSkill3 == 'Speedy Plus') {
_root.speedEx -= 7;
} else {
if (_root.glassesSkill3 == 'HP Plus') {
_root.maxhp -= 30;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
} else {
if (_root.glassesSkill3 == 'More HP') {
_root.maxhp -= 50;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
} else {
if (_root.glassesSkill3 == 'Auto-Shell') {
_root.autoShell1 = 0;
} else {
if (_root.glassesSkill3 == 'Auto-Protect') {
_root.autoProtect1 = 0;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9512 {
on (release) {
if (_root.equipGlasses3 != 1) {
_root.weapon3 = 0;
_root.armor3 = 0;
_root.belt3 = 0;
_root.glasses3 = 0;
gotoAndPlay(1);
}
}
}
button 9517 {
on (release) {
if (_root.equipGlasses1 != 1 && _root.equipGlasses2 != 1 && _root.equipGlasses3 != 1 && _root.equipGlasses4 != 1) {
_root.equipGlasses3 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(3) + 1;
switch (attack) {
case 1:
_level0.glassesLook1 = 1;
break;
case 2:
_level0.glassesLook1 = 2;
break;
case 3:
_level0.glassesLook1 = 3;
}
if (_root.glassesSkill3 == 'More MP') {
_root.maxmp1 += 5;
} else {
if (_root.glassesSkill3 == 'Defense') {
_root.defense += 4;
} else {
if (_root.glassesSkill3 == 'Speedy') {
_root.speedEx += 2;
} else {
if (_root.glassesSkill3 == 'Stronger') {
_root.strength += 5;
} else {
if (_root.glassesSkill3 == 'Master') {
_root.strength += 8;
_root.speedEx += 3;
} else {
if (_root.glassesSkill3 == 'Skillful') {
_root.skills += 10;
} else {
if (_root.glassesSkill3 == 'Invincible') {
_root.strength += 10;
_root.skills += 10;
_root.defense += 10;
} else {
if (_root.glassesSkill3 == 'MP Plus') {
_root.maxmp1 += 10;
} else {
if (_root.glassesSkill3 == 'More Defense') {
_root.defense += 10;
} else {
if (_root.glassesSkill3 == 'Double Strong') {
_root.strength += 13;
} else {
if (_root.glassesSkill3 == 'Speedy Plus') {
_root.speedEx += 7;
} else {
if (_root.glassesSkill3 == 'HP Plus') {
_root.maxhp += 30;
} else {
if (_root.glassesSkill3 == 'More HP') {
_root.maxhp += 50;
} else {
if (_root.glassesSkill3 == 'Auto-Shell') {
_root.autoShell1 = 1;
} else {
if (_root.glassesSkill3 == 'Auto-Protect') {
_root.autoProtect1 = 1;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
movieClip 9518 {
frame 1 {
if (_root.weapon3 == 1) {
gotoAndPlay(2);
} else {
if (_root.armor3 == 1) {
gotoAndPlay(3);
} else {
if (_root.belt3 == 1) {
gotoAndPlay(4);
} else {
if (_root.glasses3 == 1) {
gotoAndPlay(5);
} else {
stop();
}
}
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
button 9519 {
on (release) {
if (_root.equipWeapon4 != 0) {
_root.weaponLook = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipWeapon1 = 0;
_root.equipWeapon2 = 0;
_root.equipWeapon3 = 0;
_root.equipWeapon4 = 0;
if (_root.weaponSkill10 == 'OK damage' || _root.weaponSkill11 == 'OK damage' || _root.weaponSkill12 == 'OK damage') {
_root.strength -= 5;
}
if (_root.weaponSkill10 == 'More MP' || _root.weaponSkill11 == 'More MP' || _root.weaponSkill12 == 'More MP') {
_root.mp1 -= 10;
_root.maxmp1 -= 10;
}
if (_root.weaponSkill10 == 'Speedy' || _root.weaponSkill11 == 'Speedy' || _root.weaponSkill12 == 'Speedy') {
_level0.speedEx -= 3;
}
if (_root.weaponSkill10 == 'Double Strength' || _root.weaponSkill11 == 'Double Strength' || _root.weaponSkill12 == 'Double Strength') {
_root.strength -= 10;
}
if (_root.weaponSkill10 == 'Super MP' || _root.weaponSkill11 == 'Super MP' || _root.weaponSkill12 == 'Super MP') {
_root.mp1 -= 20;
_root.maxmp1 -= 20;
}
if (_root.weaponSkill10 == 'HP Plus' || _root.weaponSkill11 == 'HP Plus' || _root.weaponSkill12 == 'HP Plus') {
_root.char1 -= 30;
_root.maxhp -= 30;
}
if (_root.weaponSkill10 == 'More HP' || _root.weaponSkill11 == 'More HP' || _root.weaponSkill12 == 'More HP') {
_root.char1 -= 50;
_root.maxhp -= 50;
}
if (_root.weaponSkill10 == 'Super HP' || _root.weaponSkill11 == 'Super HP' || _root.weaponSkill12 == 'Super HP') {
_root.char1 -= 100;
_root.maxhp -= 100;
}
if (_root.weaponSkill10 == 'Speed Plus' || _root.weaponSkill11 == 'Speed Plus' || _root.weaponSkill12 == 'Speed Plus') {
_level0.speedEx -= 10;
}
if (_root.weaponSkill10 == 'Super Speed' || _root.weaponSkill11 == 'Speed Plus' || _root.weaponSkill12 == 'Speed Plus') {
_level0.speedEx -= 20;
}
if (_root.weaponSkill10 == 'Strong' || _root.weaponSkill11 == 'Strong' || _root.weaponSkill12 == 'Strong') {
_root.strength -= 15;
}
if (_root.weaponSkill10 == 'Money Maker' || _root.weaponSkill11 == 'Money Maker' || _root.weaponSkill12 == 'Money Maker') {
_root.moneyPlus = 1;
}
if (_root.weaponSkill10 == 'EXP More' || _root.weaponSkill11 == 'EXP More' || _root.weaponSkill12 == 'EXP More') {
_root.EXPMore = 1;
}
if (_root.weaponSkill10 == 'Super Strength' || _root.weaponSkill11 == 'Super Strength' || _root.weaponSkill12 == 'Super Strength') {
_root.strength -= 25;
}
if (_root.weaponSkill10 == 'Skills Plus' || _root.weaponSkill11 == 'Skills Plus' || _root.weaponSkill12 == 'Skills Plus') {
_root.skills -= 10;
}
if (_root.weaponSkill10 == 'More Skills' || _root.weaponSkill11 == 'More Skills' || _root.weaponSkill12 == 'More Skills') {
_root.skills -= 15;
}
if (_root.weaponSkill10 == 'Super Skills' || _root.weaponSkill11 == 'Super Skills' || _root.weaponSkill12 == 'Super Skills') {
_root.skills -= 23;
}
if (_root.weaponSkill10 == 'Defense Plus' || _root.weaponSkill11 == 'Defense Plus' || _root.weaponSkill12 == 'Defense Plus') {
_root.defense -= 10;
}
if (_root.weaponSkill10 == 'Super Defense' || _root.weaponSkill11 == 'Super Defense' || _root.weaponSkill12 == 'Super Defense') {
_root.defense -= 30;
}
if (_root.weaponSkill10 == 'Invincible' || _root.weaponSkill11 == 'Invincible' || _root.weaponSkill12 == 'Invincible') {
_root.defense += 60;
_root.char1 -= 200;
_root.maxhp -= 200;
}
if (_root.weaponSkill10 == 'Immortal' || _root.weaponSkill11 == 'Immortal' || _root.weaponSkill12 == 'Immortal') {
_root.char1 -= 500;
_root.maxhp -= 500;
}
if (_root.weaponSkill10 == 'God' || _root.weaponSkill11 == 'God' || _root.weaponSkill12 == 'God') {
_root.strength -= 70;
_root.defense -= 50;
_root.skills -= 50;
_root.char1 -= 700;
_root.maxhp -= 700;
}
if (_root.weaponSkill10 == 'Skilled') {
_root.skills -= 8;
}
if (_root.weaponSkill11 == 'Life Leech') {
_root.lifeLeech -= 2;
}
if (_root.weaponSkill11 == 'Mana Leech') {
_root.magLeech -= 2;
}
if (_root.weaponSkill12 == 'Super Life Leech') {
_root.lifeLeech -= 5;
}
if (_root.weaponSkill12 == 'Super Mana Leech') {
_root.magLeech -= 5;
}
}
}
}
button 9520 {
on (release) {
if (_root.equipWeapon4 != 1) {
_root.weapon4 = 0;
_root.armor4 = 0;
_root.belt4 = 0;
_root.glasses4 = 0;
gotoAndPlay(1);
}
}
}
movieClip 9525 {
frame 1 {
if (_root.equipWeapon4 == 1 || _root.equipArmor4 == 1 || _root.equipGlasses4 == 1 || _root.equipBelt4 == 1) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 2 {
stop();
}
}
button 9527 {
on (release) {
if (_root.equipWeapon1 != 1 && _root.equipWeapon2 != 1 && _root.equipWeapon3 != 1) {
_root.equipWeapon4 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(7) + 1;
switch (attack) {
case 1:
_root.weaponLook = 1;
break;
case 2:
_root.weaponLook = 2;
break;
case 3:
_root.weaponLook = 3;
break;
case 4:
_root.weaponLook = 4;
break;
case 5:
_root.weaponLook = 5;
break;
case 6:
_root.weaponLook = 6;
break;
case 7:
_root.weaponLook = 7;
}
if (_root.weaponSkill10 == 'OK damage' || _root.weaponSkill11 == 'OK damage' || _root.weaponSkill12 == 'OK damage') {
_root.strength += 5;
}
if (_root.weaponSkill10 == 'More MP' || _root.weaponSkill11 == 'More MP' || _root.weaponSkill12 == 'More MP') {
_root.maxmp1 += 10;
}
if (_root.weaponSkill10 == 'Speedy' || _root.weaponSkill11 == 'Speedy' || _root.weaponSkill12 == 'Speedy') {
_level0.speedEx += 3;
}
if (_root.weaponSkill10 == 'Double Strength' || _root.weaponSkill11 == 'Double Strength' || _root.weaponSkill12 == 'Double Strength') {
_root.strength += 10;
}
if (_root.weaponSkill10 == 'Super MP' || _root.weaponSkill11 == 'Super MP' || _root.weaponSkill12 == 'Super MP') {
_root.maxmp1 += 20;
}
if (_root.weaponSkill10 == 'HP Plus' || _root.weaponSkill11 == 'HP Plus' || _root.weaponSkill12 == 'HP Plus') {
_root.maxhp += 30;
}
if (_root.weaponSkill10 == 'More HP' || _root.weaponSkill11 == 'More HP' || _root.weaponSkill12 == 'More HP') {
_root.maxhp += 50;
}
if (_root.weaponSkill10 == 'Super HP' || _root.weaponSkill11 == 'Super HP' || _root.weaponSkill12 == 'Super HP') {
_root.maxhp += 100;
}
if (_root.weaponSkill10 == 'Speed Plus' || _root.weaponSkill11 == 'Speed Plus' || _root.weaponSkill12 == 'Speed Plus') {
_level0.speedEx += 10;
}
if (_root.weaponSkill10 == 'Super Speed' || _root.weaponSkill11 == 'Speed Plus' || _root.weaponSkill12 == 'Speed Plus') {
_level0.speedEx += 20;
}
if (_root.weaponSkill10 == 'Strong' || _root.weaponSkill11 == 'Strong' || _root.weaponSkill12 == 'Strong') {
_root.strength += 15;
}
if (_root.weaponSkill10 == 'Money Maker' || _root.weaponSkill11 == 'Money Maker' || _root.weaponSkill12 == 'Money Maker') {
_root.moneyPlus = 2;
}
if (_root.weaponSkill10 == 'EXP More' || _root.weaponSkill11 == 'EXP More' || _root.weaponSkill12 == 'EXP More') {
_root.EXPMore = 2;
}
if (_root.weaponSkill10 == 'Super Strength' || _root.weaponSkill11 == 'Super Strength' || _root.weaponSkill12 == 'Super Strength') {
_root.strength += 25;
}
if (_root.weaponSkill10 == 'Skills Plus' || _root.weaponSkill11 == 'Skills Plus' || _root.weaponSkill12 == 'Skills Plus') {
_root.skills += 10;
}
if (_root.weaponSkill10 == 'More Skills' || _root.weaponSkill11 == 'More Skills' || _root.weaponSkill12 == 'More Skills') {
_root.skills += 15;
}
if (_root.weaponSkill10 == 'Super Skills' || _root.weaponSkill11 == 'Super Skills' || _root.weaponSkill12 == 'Super Skills') {
_root.skills += 23;
}
if (_root.weaponSkill10 == 'Defense Plus' || _root.weaponSkill11 == 'Defense Plus' || _root.weaponSkill12 == 'Defense Plus') {
_root.defense += 10;
}
if (_root.weaponSkill10 == 'Super Defense' || _root.weaponSkill11 == 'Super Defense' || _root.weaponSkill12 == 'Super Defense') {
_root.defense += 30;
}
if (_root.weaponSkill10 == 'Invincible' || _root.weaponSkill11 == 'Invincible' || _root.weaponSkill12 == 'Invincible') {
_root.defense += 60;
_root.maxhp += 200;
}
if (_root.weaponSkill10 == 'Immortal' || _root.weaponSkill11 == 'Immortal' || _root.weaponSkill12 == 'Immortal') {
_root.maxhp += 500;
}
if (_root.weaponSkill10 == 'God' || _root.weaponSkill11 == 'God' || _root.weaponSkill12 == 'God') {
_root.strength += 70;
_root.defense += 50;
_root.skills += 50;
_root.maxhp += 700;
}
if (_root.weaponSkill10 == 'Skilled') {
_root.skills += 8;
}
if (_root.weaponSkill11 == 'Life Leech') {
_root.lifeLeech += 2;
}
if (_root.weaponSkill11 == 'Mana Leech') {
_root.magLeech += 2;
}
if (_root.weaponSkill12 == 'Super Life Leech') {
_root.lifeLeech += 5;
}
if (_root.weaponSkill12 == 'Super Mana Leech') {
_root.magLeech += 5;
}
}
}
}
button 9528 {
on (release) {
if (_root.equipArmor4 != 0) {
_root.armorLook1 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipArmor1 = 0;
_root.equipArmor2 = 0;
_root.equipArmor3 = 0;
_root.equipArmor4 = 0;
if (_root.armorSkill10 == 'OK defense' || _root.armorSkill11 == 'OK defense' || _root.armorSkill12 == 'OK defense') {
_root.defense -= 5;
}
if (_root.armorSkill10 == 'Double Defense' || _root.armorSkill11 == 'Double Defense' || _root.armorSkill12 == 'Double Defense') {
_root.defense -= 10;
}
if (_root.armorSkill10 == 'Extra Fast' || _root.armorSkill11 == 'Extra Fast' || _root.armorSkill12 == 'Extra Fast') {
_root.speedEx -= 2;
}
if (_root.armorSkill10 == 'More MP' || _root.armorSkill11 == 'More MP' || _root.armorSkill12 == 'More MP') {
_root.maxmp1 -= 5;
_root.mp1 = _root.maxmp1;
}
if (_root.armorSkill10 == 'Extra Strength' || _root.armorSkill11 == 'Extra Strength' || _root.armorSkill12 == 'Extra Strength') {
_root.strength -= 7;
}
if (_root.armorSkill10 == 'Skills Plus' || _root.armorSkill11 == 'Skills Plus' || _root.armorSkill12 == 'Skills Plus') {
_root.skills -= 4;
}
if (_root.armorSkill10 == 'More Defense' || _root.armorSkill11 == 'More Defense' || _root.armorSkill12 == 'More Defense') {
_root.defense -= 15;
}
if (_root.armorSkill10 == 'Speed Plus' || _root.armorSkill11 == 'Speed Plus' || _root.armorSkill12 == 'Speed Plus') {
_root.speedEx -= 5;
}
if (_root.armorSkill10 == 'More Strength' || _root.armorSkill11 == 'More Strength' || _root.armorSkill12 == 'More Strength') {
_root.strength -= 10;
}
if (_root.armorSkill10 == 'HP Plus' || _root.armorSkill11 == 'HP Plus' || _root.armorSkill12 == 'HP Plus') {
_root.char1 -= 20;
_root.maxhp -= 20;
}
if (_root.armorSkill10 == 'More HP' || _root.armorSkill11 == 'More HP' || _root.armorSkill12 == 'More HP') {
_root.char1 -= 50;
_root.maxhp -= 50;
}
if (_root.armorSkill10 == 'Ultra HP' || _root.armorSkill11 == 'Ultra HP' || _root.armorSkill12 == 'Ultra HP') {
_root.char1 -= 100;
_root.maxhp -= 100;
}
if (_root.armorSkill10 == 'Ultra MP' || _root.armorSkill11 == 'Ultra MP' || _root.armorSkill12 == 'Ultra MP') {
_root.maxmp1 -= 30;
_root.mp1 = _root.maxmp1;
}
if (_root.armorSkill10 == 'MP Plus' || _root.armorSkill11 == 'MP Plus' || _root.armorSkill12 == 'MP Plus') {
_root.maxmp1 -= 7;
_root.mp1 = _root.maxmp1;
}
if (_root.armorSkill10 == 'Super Speed' || _root.armorSkill11 == 'Super Speed' || _root.armorSkill12 == 'Super Speed') {
_root.speedEx -= 20;
}
if (_root.armorSkill10 == 'Defense Plus' || _root.armorSkill11 == 'Defense Plus' || _root.armorSkill12 == 'Defense Plus') {
_root.defense -= 7;
}
if (_root.armorSkill10 == 'Ultra Defense' || _root.armorSkill11 == 'Ultra Defense' || _root.armorSkill12 == 'Ultra Defense') {
_root.defense -= 30;
}
if (_root.armorSkill10 == 'Ultra Strength' || _root.armorSkill11 == 'Ultra Strength' || _root.armorSkill12 == 'Ultra Strength') {
_root.strength -= 20;
}
if (_root.armorSkill10 == 'Speed of light' || _root.armorSkill11 == 'Speed of light' || _root.armorSkill12 == 'Speed of light') {
_root.speedEx -= 40;
}
if (_root.armorSkill10 == 'Ultra Skills' || _root.armorSkill11 == 'Ultra Skills' || _root.armorSkill12 == 'Ultra Skills') {
_root.skills -= 15;
}
if (_root.armorSkill10 == 'More HP Plus' || _root.armorSkill11 == 'More HP Plus' || _root.armorSkill12 == 'More HP Plus') {
_root.maxhp -= 75;
}
if (_root.armorSkill10 == 'MP times two' || _root.armorSkill11 == 'MP times two' || _root.armorSkill12 == 'MP times two') {
_root.mptwo = 1;
_root.maxmp1 *= 0.5;
}
if (_root.armorSkill10 == 'HP times two' || _root.armorSkill11 == 'HP times two' || _root.armorSkill12 == 'HP times two') {
_root.hptwo = 1;
_root.maxhp *= 0.5;
}
if (_root.armorSkill12 == 'Auto-Haste') {
_root.autoHaste = 0;
}
if (_root.armorSkill12 == 'Auto-Recover') {
_root.autoRegen = 0;
}
if (_root.armorSkill11 == 'Auto-Shell') {
_root.autoShell2 = 0;
}
if (_root.armorSkill11 == 'Auto-Protect') {
_root.autoProtect2 = 0;
}
}
}
}
button 9529 {
on (release) {
if (_root.equipArmor4 != 1) {
_root.weapon4 = 0;
_root.armor4 = 0;
_root.belt4 = 0;
_root.glasses4 = 0;
gotoAndPlay(1);
}
}
}
button 9537 {
on (release) {
if (_root.equipArmor1 != 1 && _root.equipArmor2 != 1 && _root.equipArmor3 != 1 && _root.equipArmor4 != 1) {
_root.equipArmor4 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(7) + 1;
switch (attack) {
case 1:
_root.armorLook1 = 1;
break;
case 2:
_root.armorLook1 = 2;
break;
case 3:
_root.armorLook1 = 3;
break;
case 4:
_root.armorLook1 = 4;
break;
case 5:
_root.armorLook1 = 5;
break;
case 6:
_root.armorLook1 = 6;
break;
case 7:
_root.armorLook1 = 7;
break;
case 8:
_root.armorLook1 = 8;
break;
case 9:
_root.armorLook1 = 9;
break;
case 10:
_root.armorLook1 = 10;
}
if (_root.armorSkill10 == 'OK defense' || _root.armorSkill11 == 'OK defense' || _root.armorSkill12 == 'OK defense') {
_root.defense += 5;
}
if (_root.armorSkill10 == 'Double Defense' || _root.armorSkill11 == 'Double Defense' || _root.armorSkill12 == 'Double Defense') {
_root.defense += 10;
}
if (_root.armorSkill10 == 'Extra Fast' || _root.armorSkill11 == 'Extra Fast' || _root.armorSkill12 == 'Extra Fast') {
_root.speedEx += 2;
}
if (_root.armorSkill10 == 'More MP' || _root.armorSkill11 == 'More MP' || _root.armorSkill12 == 'More MP') {
_root.maxmp1 += 5;
}
if (_root.armorSkill10 == 'Extra Strength' || _root.armorSkill11 == 'Extra Strength' || _root.armorSkill12 == 'Extra Strength') {
_root.strength += 7;
}
if (_root.armorSkill10 == 'Skills Plus' || _root.armorSkill11 == 'Skills Plus' || _root.armorSkill12 == 'Skills Plus') {
_root.skills += 4;
}
if (_root.armorSkill10 == 'More Defense' || _root.armorSkill11 == 'More Defense' || _root.armorSkill12 == 'More Defense') {
_root.defense += 15;
}
if (_root.armorSkill10 == 'Speed Plus' || _root.armorSkill11 == 'Speed Plus' || _root.armorSkill12 == 'Speed Plus') {
_root.speedEx += 5;
}
if (_root.armorSkill10 == 'More Strength' || _root.armorSkill11 == 'More Strength' || _root.armorSkill12 == 'More Strength') {
_root.strength += 10;
}
if (_root.armorSkill10 == 'HP Plus' || _root.armorSkill11 == 'HP Plus' || _root.armorSkill12 == 'HP Plus') {
_root.maxhp += 20;
}
if (_root.armorSkill10 == 'More HP' || _root.armorSkill11 == 'More HP' || _root.armorSkill12 == 'More HP') {
_root.maxhp += 50;
}
if (_root.armorSkill10 == 'Ultra HP' || _root.armorSkill11 == 'Ultra HP' || _root.armorSkill12 == 'Ultra HP') {
_root.maxhp += 100;
}
if (_root.armorSkill10 == 'Ultra MP' || _root.armorSkill11 == 'Ultra MP' || _root.armorSkill12 == 'Ultra MP') {
_root.maxmp1 += 30;
}
if (_root.armorSkill10 == 'MP Plus' || _root.armorSkill11 == 'MP Plus' || _root.armorSkill12 == 'MP Plus') {
_root.maxmp1 += 7;
}
if (_root.armorSkill10 == 'Super Speed' || _root.armorSkill11 == 'Super Speed' || _root.armorSkill12 == 'Super Speed') {
_root.speedEx += 20;
}
if (_root.armorSkill10 == 'Defense Plus' || _root.armorSkill11 == 'Defense Plus' || _root.armorSkill12 == 'Defense Plus') {
_root.defense += 7;
}
if (_root.armorSkill10 == 'Ultra Defense' || _root.armorSkill11 == 'Ultra Defense' || _root.armorSkill12 == 'Ultra Defense') {
_root.defense += 30;
}
if (_root.armorSkill10 == 'Ultra Strength' || _root.armorSkill11 == 'Ultra Strength' || _root.armorSkill12 == 'Ultra Strength') {
_root.strength += 20;
}
if (_root.armorSkill10 == 'Speed of light' || _root.armorSkill11 == 'Speed of light' || _root.armorSkill12 == 'Speed of light') {
_root.speedEx += 40;
}
if (_root.armorSkill10 == 'Ultra Skills' || _root.armorSkill11 == 'Ultra Skills' || _root.armorSkill12 == 'Ultra Skills') {
_root.skills += 15;
}
if (_root.armorSkill10 == 'More HP Plus' || _root.armorSkill11 == 'More HP Plus' || _root.armorSkill12 == 'More HP Plus') {
_root.maxhp += 75;
}
if (_root.armorSkill10 == 'MP times two' || _root.armorSkill11 == 'MP times two' || _root.armorSkill12 == 'MP times two') {
_root.mptwo = 2;
_root.maxmp1 *= 2;
}
if (_root.armorSkill10 == 'HP times two' || _root.armorSkill11 == 'HP times two' || _root.armorSkill12 == 'HP times two') {
_root.hptwo = 2;
_root.maxhp *= 2;
}
if (_root.armorSkill12 == 'Auto-Haste') {
_root.autoHaste = 1;
}
if (_root.armorSkill12 == 'Auto-Recover') {
_root.autoRegen = 1;
}
if (_root.armorSkill11 == 'Auto-Shell') {
_root.autoShell2 = 1;
}
if (_root.armorSkill11 == 'Auto-Protect') {
_root.autoProtect2 = 1;
}
}
}
}
button 9538 {
on (release) {
if (_root.equipBelt4 != 0) {
_root.equipBelt1 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipBelt2 = 0;
_root.equipBelt3 = 0;
_root.equipBelt4 = 0;
_root.beltLook = 1;
if (_root.beltSkill4 == 'More MP') {
_root.maxmp1 -= 5;
_root.mp1 = _root.maxmp1;
} else {
if (_root.beltSkill4 == 'Defense') {
_root.defense -= 4;
} else {
if (_root.beltSkill4 == 'Speedy') {
_root.speedEx -= 2;
} else {
if (_root.beltSkill4 == 'Stronger') {
_root.strength -= 5;
} else {
if (_root.beltSkill4 == 'Master') {
_root.strength -= 8;
_root.speedEx -= 3;
} else {
if (_root.beltSkill4 == 'Skillful') {
_root.skills -= 10;
} else {
if (_root.beltSkill4 == 'Invincible') {
_root.strength -= 10;
_root.skills -= 10;
_root.defense -= 10;
} else {
if (_root.beltSkill4 == 'MP Plus') {
_root.maxmp1 -= 10;
_root.mp1 = _root.maxmp1;
} else {
if (_root.beltSkill4 == 'More Defense') {
_root.defense -= 10;
} else {
if (_root.beltSkill4 == 'Double Strong') {
_root.strength -= 13;
} else {
if (_root.beltSkill4 == 'Speedy Plus') {
_root.speedEx -= 7;
} else {
if (_root.beltSkill4 == 'HP Plus') {
_root.char1 -= 30;
_root.maxhp -= 30;
} else {
if (_root.beltSkill4 == 'More HP') {
_root.char1 -= 50;
_root.maxhp -= 50;
} else {
if (_root.beltSkill4 == 'Defense Plus') {
_root.defense -= 4;
} else {
if (_root.beltSkill4 == 'Strength Plus') {
_root.strength -= 7;
} else {
if (_root.beltSkill4 == 'Powerful') {
_root.strength -= 10;
_root.maxhp -= 10;
if (_root.char1 > _root.maxhp) {
_root.maxhp = _root.char1;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9539 {
on (release) {
if (_root.equipBelt4 != 1) {
_root.weapon4 = 0;
_root.armor4 = 0;
_root.belt4 = 0;
_root.glasses4 = 0;
gotoAndPlay(1);
}
}
}
button 9544 {
on (release) {
if (_root.equipBelt1 != 1 && _root.equipBelt2 != 1 && _root.equipBelt3 != 1 && _root.equipBelt4 != 1) {
_root.equipBelt4 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(4) + 1;
switch (attack) {
case 1:
_root.beltLook = 1;
break;
case 2:
_root.beltLook = 2;
break;
case 3:
_root.beltLook = 3;
break;
case 4:
_root.beltLook = 4;
}
if (_root.beltSkill4 == 'More MP') {
_root.maxmp1 += 5;
} else {
if (_root.beltSkill4 == 'Defense') {
_root.defense += 4;
} else {
if (_root.beltSkill4 == 'Speedy') {
_root.speedEx += 2;
} else {
if (_root.beltSkill4 == 'Stronger') {
_root.strength += 5;
} else {
if (_root.beltSkill4 == 'Master') {
_root.strength += 8;
_root.speedEx += 3;
} else {
if (_root.beltSkill4 == 'Skillful') {
_root.skills += 10;
} else {
if (_root.beltSkill4 == 'Invincible') {
_root.strength += 10;
_root.skills += 10;
_root.defense += 10;
} else {
if (_root.beltSkill4 == 'MP Plus') {
_root.maxmp1 += 10;
} else {
if (_root.beltSkill4 == 'More Defense') {
_root.defense += 10;
} else {
if (_root.beltSkill4 == 'Double Strong') {
_root.strength += 13;
} else {
if (_root.beltSkill4 == 'Speedy Plus') {
_root.speedEx += 7;
} else {
if (_root.beltSkill4 == 'HP Plus') {
_root.maxhp += 30;
} else {
if (_root.beltSkill4 == 'More HP') {
_root.maxhp += 50;
} else {
if (_root.beltSkill4 == 'Defense Plus') {
_root.defense += 4;
} else {
if (_root.beltSkill4 == 'Strength Plus') {
_root.strength += 7;
} else {
if (_root.beltSkill4 == 'Powerful') {
_root.strength += 10;
_root.maxhp += 10;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9545 {
on (release) {
if (_root.equipGlasses4 != 0) {
_level0.glassesLook1 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipGlasses1 = 0;
_root.equipGlasses2 = 0;
_root.equipGlasses3 = 0;
_root.equipGlasses4 = 0;
if (_root.glassesSkill4 == 'More MP') {
_root.maxmp1 -= 5;
_root.mp1 = _root.maxmp1;
} else {
if (_root.glassesSkill4 == 'Defense') {
_root.defense -= 4;
} else {
if (_root.glassesSkill4 == 'Speedy') {
_root.speedEx -= 2;
} else {
if (_root.glassesSkill4 == 'Stronger') {
_root.strength -= 5;
} else {
if (_root.glassesSkill4 == 'Master') {
_root.strength -= 8;
_root.speedEx -= 3;
} else {
if (_root.glassesSkill4 == 'Skillful') {
_root.skills -= 10;
} else {
if (_root.glassesSkill4 == 'Invincible') {
_root.strength -= 10;
_root.skills -= 10;
_root.defense -= 10;
} else {
if (_root.glassesSkill4 == 'MP Plus') {
_root.maxmp1 -= 10;
_root.mp1 = _root.maxmp1;
} else {
if (_root.glassesSkill4 == 'More Defense') {
_root.defense -= 10;
} else {
if (_root.glassesSkill4 == 'Double Strong') {
_root.strength -= 13;
} else {
if (_root.glassesSkill4 == 'Speedy Plus') {
_root.speedEx -= 7;
} else {
if (_root.glassesSkill4 == 'HP Plus') {
_root.char1 -= 30;
_root.maxhp -= 30;
} else {
if (_root.glassesSkill4 == 'More HP') {
_root.char1 -= 50;
_root.maxhp -= 50;
} else {
if (_root.glassesSkill4 == 'Auto-Shell') {
_root.autoShell1 = 0;
} else {
if (_root.glassesSkill4 == 'Auto-Protect') {
_root.autoProtect1 = 0;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9546 {
on (release) {
if (_root.equipGlasses4 != 1) {
_root.weapon4 = 0;
_root.armor4 = 0;
_root.belt4 = 0;
_root.glasses4 = 0;
gotoAndPlay(1);
}
}
}
button 9551 {
on (release) {
if (_root.equipGlasses1 != 1 && _root.equipGlasses2 != 1 && _root.equipGlasses3 != 1 && _root.equipGlasses4 != 1) {
_root.equipGlasses4 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(3) + 1;
switch (attack) {
case 1:
_level0.glassesLook1 = 1;
break;
case 2:
_level0.glassesLook1 = 2;
break;
case 3:
_level0.glassesLook1 = 3;
}
if (_root.glassesSkill4 == 'More MP') {
_root.maxmp1 += 5;
} else {
if (_root.glassesSkill4 == 'Defense') {
_root.defense += 4;
} else {
if (_root.glassesSkill4 == 'Speedy') {
_root.speedEx += 2;
} else {
if (_root.glassesSkill4 == 'Stronger') {
_root.strength += 5;
} else {
if (_root.glassesSkill4 == 'Master') {
_root.strength += 8;
_root.speedEx += 3;
} else {
if (_root.glassesSkill4 == 'Skillful') {
_root.skills += 10;
} else {
if (_root.glassesSkill4 == 'Invincible') {
_root.strength += 10;
_root.skills += 10;
_root.defense += 10;
} else {
if (_root.glassesSkill4 == 'MP Plus') {
_root.maxmp1 += 10;
} else {
if (_root.glassesSkill4 == 'More Defense') {
_root.defense += 10;
} else {
if (_root.glassesSkill4 == 'Double Strong') {
_root.strength += 13;
} else {
if (_root.glassesSkill4 == 'Speedy Plus') {
_root.speedEx += 7;
} else {
if (_root.glassesSkill4 == 'HP Plus') {
_root.maxhp += 30;
} else {
if (_root.glassesSkill4 == 'More HP') {
_root.maxhp += 50;
} else {
if (_root.glassesSkill4 == 'Auto-Shell') {
_root.autoShell1 = 1;
} else {
if (_root.glassesSkill4 == 'Auto-Protect') {
_root.autoProtect1 = 1;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
movieClip 9552 {
frame 1 {
if (_root.weapon4 == 1) {
gotoAndPlay(2);
} else {
if (_root.armor4 == 1) {
gotoAndPlay(3);
} else {
if (_root.belt4 == 1) {
gotoAndPlay(4);
} else {
if (_root.glasses4 == 1) {
gotoAndPlay(5);
} else {
stop();
}
}
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
button 9556 {
on (release) {
gotoAndStop(2);
}
}
button 9560 {
on (release) {
gotoAndStop(3);
}
}
button 9561 {
on (release) {
gotoAndStop(1);
}
}
button 9563 {
on (release) {
gotoAndStop(4);
}
}
button 9565 {
on (release) {
gotoAndStop(2);
}
}
button 9568 {
on (release) {
gotoAndStop(5);
}
}
button 9570 {
on (release) {
gotoAndStop(3);
}
}
button 9574 {
on (release) {
gotoAndStop(4);
}
}
button 9575 {
on (release) {
gotoAndStop(6);
}
}
movieClip 9580 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
}
frame 463 {
stop();
}
button 9583 {
on (release) {
gotoAndStop(469);
}
}
button 9586 {
on (release) {
gotoAndStop(470);
}
}
button 9589 {
on (release) {
gotoAndStop(480);
}
}
button 9591 {
on (release) {
gotoAndPlay(464);
}
}
frame 464 {
_root.goIn = '';
healin = 20 + _root.skills + _root.healskilled * 10 + ' - ' + (20 + _root.skills + _root.healskilled * 3 + 20 + _root.skills + _root.healskilled * 10);
healin2 = 20 + _root.skills + _root.healskilled * 10 + 10 + ' - ' + (20 + _root.skills + _root.healskilled * 3 + 20 + _root.skills + _root.healskilled * 10 + 13);
firein = 30 + _root.skills + _root.fireskilled * 10 + ' - ' + (50 + _root.skills + _root.fireskilled * 3 + 30 + _root.skills + _root.fireskilled * 10);
firein2 = 30 + _root.skills + _root.fireskilled * 10 + 10 + ' - ' + (50 + _root.skills + _root.fireskilled * 3 + 30 + _root.skills + _root.fireskilled * 10 + 13);
replenin = 11 + 5 * _root.replenishskilled + ' - ' + (10 + 2 * _root.replenishskilled + 11 + 5 * _root.replenishskilled);
replenin2 = 11 + 5 * _root.replenishskilled + 5 + ' - ' + (10 + 2 * _root.replenishskilled + 11 + 5 * _root.replenishskilled + 7);
icein = 19 + _root.skills + _root.iceskilled * 10 + ' - ' + (55 + _root.skills + _root.iceskilled * 3 + 19 + _root.skills + _root.iceskilled * 10);
icein2 = 19 + _root.skills + _root.iceskilled * 10 + 10 + ' - ' + (55 + _root.skills + _root.iceskilled * 3 + 19 + _root.skills + _root.iceskilled * 10 + 13);
damage = random(80 + _root.skills + _root.lightskilled * 3) + 20 + _root.skills + _root.lightskilled * 10;
lightin = 20 + _root.skills + _root.lightskilled * 10 + ' - ' + (80 + _root.skills + _root.lightskilled * 3 + 20 + _root.skills + _root.lightskilled * 10);
lightin2 = 20 + _root.skills + _root.lightskilled * 10 + 10 + ' - ' + (80 + _root.skills + _root.lightskilled * 3 + 20 + _root.skills + _root.lightskilled * 10 + 13);
shellin = 10 + 10 * _root.shellskilled;
shellin2 = 10 + 10 * _root.shellskilled + 10;
stormin = 50 + _root.skills + _root.furystormskilled * 7 + ' - ' + (100 + _root.skills + _root.furystormskilled * 15 + 50 + _root.skills + _root.furystormskilled * 7);
stormin2 = 50 + _root.skills + _root.furystormskilled * 7 + 7 + ' - ' + (100 + _root.skills + _root.furystormskilled * 15 + 50 + _root.skills + _root.furystormskilled * 7 + 22);
protectin = 10 + 10 * _root.protectskilled;
protectin2 = 10 + 10 * _root.protectskilled + 10;
ultimain = 170 + _root.skills + _root.ultimaskilled * 20 + ' - ' + (400 + _root.skills + _root.ultimaskilled * 30 + 170 + _root.skills + _root.ultimaskilled * 20);
ultimain2 = 170 + _root.skills + _root.ultimaskilled * 20 + 20 + ' - ' + (400 + _root.skills + _root.ultimaskilled * 30 + 170 + _root.skills + _root.ultimaskilled * 20 + 50);
cbin = 60 + _root.comebackskilled * 15;
cbin2 = 60 + _root.comebackskilled * 15 + 15;
leechin = 7 + _root.leechskilled * 3 + 2 + ' - ' + (19 + _root.leechskilled * 3 + 2);
leechin2 = 7 + _root.leechskilled * 3 + 2 + 3 + ' - ' + (19 + _root.leechskilled * 3 + 2 + 3);
stop();
}
button 9603 {
on (release) {
if (skillpoint2 > 0) {
skillpoint2 -= 1;
healskilled += 1;
healin = 20 + _root.skills + _root.healskilled * 10 + ' - ' + (20 + _root.skills + _root.healskilled * 3 + 20 + _root.skills + _root.healskilled * 10);
healin2 = 20 + _root.skills + _root.healskilled * 10 + 10 + ' - ' + (20 + _root.skills + _root.healskilled * 3 + 20 + _root.skills + _root.healskilled * 10 + 13);
}
}
}
button 9612 {
on (release) {
if (skillpoint2 > 0) {
skillpoint2 -= 1;
fireskilled += 1;
firein = 30 + _root.skills + _root.fireskilled * 10 + ' - ' + (50 + _root.skills + _root.fireskilled * 3 + 30 + _root.skills + _root.fireskilled * 10);
firein2 = 30 + _root.skills + _root.fireskilled * 10 + 10 + ' - ' + (50 + _root.skills + _root.fireskilled * 3 + 30 + _root.skills + _root.fireskilled * 10 + 13);
}
}
}
button 9620 {
on (release) {
if (skillpoint2 > 0) {
skillpoint2 -= 1;
iceskilled += 1;
icein = 19 + _root.skills + _root.iceskilled * 10 + ' - ' + (55 + _root.skills + _root.iceskilled * 3 + 19 + _root.skills + _root.iceskilled * 10);
icein2 = 19 + _root.skills + _root.iceskilled * 10 + 10 + ' - ' + (55 + _root.skills + _root.iceskilled * 3 + 19 + _root.skills + _root.iceskilled * 10 + 13);
}
}
}
button 9628 {
on (release) {
if (skillpoint2 > 0) {
skillpoint2 -= 1;
lightskilled += 1;
lightin = 20 + _root.skills + _root.lightskilled * 10 + ' - ' + (80 + _root.skills + _root.lightskilled * 3 + 20 + _root.skills + _root.lightskilled * 10);
lightin2 = 20 + _root.skills + _root.lightskilled * 10 + 10 + ' - ' + (80 + _root.skills + _root.lightskilled * 3 + 20 + _root.skills + _root.lightskilled * 10 + 13);
}
}
}
button 9643 {
on (rollOver) {
_root.goIn = 'Requires 1 skill point in Heal';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (healskilled > 0) {
if (_root.skillpoint2 > 0) {
_root.skillpoint2 -= 1;
_root.replenishskilled += 1;
replenin = 11 + 5 * _root.replenishskilled + ' - ' + (10 + 2 * _root.replenishskilled + 11 + 5 * _root.replenishskilled);
replenin2 = 11 + 5 * _root.replenishskilled + 5 + ' - ' + (10 + 2 * _root.replenishskilled + 11 + 5 * _root.replenishskilled + 7);
}
} else {
messU = 'Heal does not have enough skill points to learn replenish.';
}
}
}
button 9653 {
on (rollOver) {
_root.goIn = 'Requires 2 skill points in Replenish';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (replenishskilled > 1) {
if (_root.skillpoint2 > 0) {
_root.skillpoint2 -= 1;
_root.comebackskilled += 1;
cbin = 60 + _root.comebackskilled * 15;
cbin2 = 60 + _root.comebackskilled * 15 + 15;
}
} else {
messU = 'Repenish does not have enough skill points to learn Come-Back.';
}
}
}
button 9664 {
on (rollOver) {
_root.goIn = 'Requires 3 skill points in Come Back';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (_root.comebackskilled > 2) {
if (_root.skillpoint2 > 0) {
_root.skillpoint2 -= 1;
_root.leechskilled += 1;
leechin = 7 + _root.leechskilled * 3 + 2 + ' - ' + (19 + _root.leechskilled * 3 + 2);
leechin2 = 7 + _root.leechskilled * 3 + 2 + 3 + ' - ' + (19 + _root.leechskilled * 3 + 2 + 3);
}
} else {
messU = 'Come-Back does not have enough skill points to learn Leech.';
}
}
}
button 9673 {
on (rollOver) {
_root.goIn = 'Requires 1 skill point in Lightning';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (lightskilled > 0) {
if (skillpoint2 > 0) {
skillpoint2 -= 1;
shellskilled += 1;
shellin = 10 + 10 * _root.shellskilled;
shellin2 = 10 + 10 * _root.shellskilled + 10;
}
} else {
messU = 'Not enough skill points in Lightning';
}
}
}
button 9683 {
on (rollOver) {
_root.goIn = 'Requires 2 skill points in Shell';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (shellskilled > 1) {
if (skillpoint2 > 0) {
skillpoint2 -= 1;
protectskilled += 1;
protectin = 10 + 10 * _root.protectskilled;
protectin2 = 10 + 10 * _root.protectskilled + 10;
}
} else {
messU = 'Not enough skill points in Shell.';
}
}
}
button 9692 {
on (rollOver) {
_root.goIn = 'Requires 1 skill point in Fire and Ice';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (fireskilled > 0 && iceskilled > 0) {
if (skillpoint2 > 0) {
skillpoint2 -= 1;
furystormskilled += 1;
stormin = 50 + _root.skills + _root.furystormskilled * 7 + ' - ' + (100 + _root.skills + _root.furystormskilled * 15 + 50 + _root.skills + _root.furystormskilled * 7);
stormin2 = 50 + _root.skills + _root.furystormskilled * 7 + 7 + ' - ' + (100 + _root.skills + _root.furystormskilled * 15 + 50 + _root.skills + _root.furystormskilled * 7 + 22);
}
} else {
messU = 'Not enough skill points in Fire and Ice.';
}
}
}
button 9701 {
on (rollOver) {
_root.goIn = 'Requires 3 skill points in Fury Storm, Leech, and Protect';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (furystormskilled > 2 && leechskilled > 2 && protectskilled > 2) {
if (skillpoint2 > 0) {
skillpoint2 -= 1;
ultimaskilled += 1;
ultimain = 170 + _root.skills + _root.ultimaskilled * 20 + ' - ' + (400 + _root.skills + _root.ultimaskilled * 30 + 170 + _root.skills + _root.ultimaskilled * 20);
ultimain2 = 170 + _root.skills + _root.ultimaskilled * 20 + 20 + ' - ' + (400 + _root.skills + _root.ultimaskilled * 30 + 170 + _root.skills + _root.ultimaskilled * 20 + 50);
}
} else {
messU = 'Not enough skill points in Fury Storm, Leech and Protect.';
}
}
}
frame 465 {
stop();
}
button 9726 {
on (release) {
if (_root.useItPotion != 1 && _root.useItRevive != 1 && _root.useItEther != 1 && _root.useItHpotion != 1 && _root.useItXpotion != 1 && _root.useItElixir != 1 && _root.useStrengthPotion != 1 && _root.useLifePotion != 1 && _root.useSkillPotion != 1 && _root.useMagicPotion != 1 && _root.useDefensePotion != 1) {
useItElixir = 1;
tellTarget ('_root.mahHa12') {
gotoAndPlay(2);
}
}
}
}
button 9727 {
on (release) {
if (_root.useItPotion != 1 && _root.useItRevive != 1 && _root.useItEther != 1 && _root.useItHpotion != 1 && _root.useItXpotion != 1 && _root.useItElixir != 1 && _root.useStrengthPotion != 1 && _root.useLifePotion != 1 && _root.useSkillPotion != 1 && _root.useMagicPotion != 1 && _root.useDefensePotion != 1) {
useItPotion = 1;
tellTarget ('_root.mahHa12') {
gotoAndPlay(2);
}
}
}
}
button 9728 {
on (release) {
if (_root.useItPotion != 1 && _root.useItRevive != 1 && _root.useItEther != 1 && _root.useItHpotion != 1 && _root.useItXpotion != 1 && _root.useItElixir != 1 && _root.useStrengthPotion != 1 && _root.useLifePotion != 1 && _root.useSkillPotion != 1 && _root.useMagicPotion != 1 && _root.useDefensePotion != 1) {
useItRevive = 1;
tellTarget ('_root.mahHa12') {
gotoAndPlay(2);
}
}
}
}
button 9729 {
on (release) {
if (_root.useItPotion != 1 && _root.useItRevive != 1 && _root.useItEther != 1 && _root.useItHpotion != 1 && _root.useItXpotion != 1 && _root.useItElixir != 1 && _root.useStrengthPotion != 1 && _root.useLifePotion != 1 && _root.useSkillPotion != 1 && _root.useMagicPotion != 1 && _root.useDefensePotion != 1) {
useItEther = 1;
tellTarget ('_root.mahHa12') {
gotoAndPlay(2);
}
}
}
}
button 9730 {
on (release) {
if (_root.useItPotion != 1 && _root.useItRevive != 1 && _root.useItEther != 1 && _root.useItHpotion != 1 && _root.useItXpotion != 1 && _root.useItElixir != 1 && _root.useStrengthPotion != 1 && _root.useLifePotion != 1 && _root.useSkillPotion != 1 && _root.useMagicPotion != 1 && _root.useDefensePotion != 1) {
useItHpotion = 1;
tellTarget ('_root.mahHa12') {
gotoAndPlay(2);
}
}
}
}
button 9731 {
on (release) {
if (_root.useItPotion != 1 && _root.useItRevive != 1 && _root.useItEther != 1 && _root.useItHpotion != 1 && _root.useItXpotion != 1 && _root.useItElixir != 1 && _root.useStrengthPotion != 1 && _root.useLifePotion != 1 && _root.useSkillPotion != 1 && _root.useMagicPotion != 1 && _root.useDefensePotion != 1) {
useItXpotion = 1;
tellTarget ('_root.mahHa12') {
gotoAndPlay(2);
}
}
}
}
button 9735 {
on (release) {
if (_root.useItPotion != 1 && _root.useItRevive != 1 && _root.useItEther != 1 && _root.useItHpotion != 1 && _root.useItXpotion != 1 && _root.useItElixir != 1) {
_root.useItFlute = 1;
tellTarget ('_root.mahHa12') {
gotoAndStop(4);
}
}
}
}
button 9737 {
on (release) {
if (_root.useItPotion != 1 && _root.useItRevive != 1 && _root.useItEther != 1 && _root.useItHpotion != 1 && _root.useItXpotion != 1 && _root.useItElixir != 1) {
_root.useItFlute = 0;
tellTarget ('_root.mahHa12') {
gotoAndStop(4);
}
}
}
}
button 9743 {
on (release) {
if (_root.useItPotion != 1 && _root.useItRevive != 1 && _root.useItEther != 1 && _root.useItHpotion != 1 && _root.useItXpotion != 1 && _root.useItElixir != 1 && _root.useStrengthPotion != 1 && _root.useLifePotion != 1 && _root.useSkillPotion != 1 && _root.useMagicPotion != 1 && _root.useDefensePotion != 1) {
_root.useStrengthPotion = 1;
tellTarget ('_root.mahHa12') {
gotoAndStop(2);
}
}
}
}
button 9746 {
on (release) {
if (_root.useItPotion != 1 && _root.useItRevive != 1 && _root.useItEther != 1 && _root.useItHpotion != 1 && _root.useItXpotion != 1 && _root.useItElixir != 1 && _root.useStrengthPotion != 1 && _root.useLifePotion != 1 && _root.useSkillPotion != 1 && _root.useMagicPotion != 1 && _root.useDefensePotion != 1) {
_root.useLifePotion = 1;
tellTarget ('_root.mahHa12') {
gotoAndStop(2);
}
}
}
}
button 9750 {
on (release) {
if (_root.useItPotion != 1 && _root.useItRevive != 1 && _root.useItEther != 1 && _root.useItHpotion != 1 && _root.useItXpotion != 1 && _root.useItElixir != 1 && _root.useStrengthPotion != 1 && _root.useLifePotion != 1 && _root.useSkillPotion != 1 && _root.useMagicPotion != 1 && _root.useDefensePotion != 1) {
_root.useSkillPotion = 1;
tellTarget ('_root.mahHa12') {
gotoAndStop(2);
}
}
}
}
button 9754 {
on (release) {
if (_root.useItPotion != 1 && _root.useItRevive != 1 && _root.useItEther != 1 && _root.useItHpotion != 1 && _root.useItXpotion != 1 && _root.useItElixir != 1 && _root.useStrengthPotion != 1 && _root.useLifePotion != 1 && _root.useSkillPotion != 1 && _root.useMagicPotion != 1 && _root.useDefensePotion != 1) {
_root.useMagicPotion = 1;
tellTarget ('_root.mahHa12') {
gotoAndStop(2);
}
}
}
}
button 9761 {
on (release) {
if (_root.useItPotion != 1 && _root.useItRevive != 1 && _root.useItEther != 1 && _root.useItHpotion != 1 && _root.useItXpotion != 1 && _root.useItElixir != 1 && _root.useStrengthPotion != 1 && _root.useLifePotion != 1 && _root.useSkillPotion != 1 && _root.useMagicPotion != 1 && _root.useDefensePotion != 1) {
_root.useDefensePotion = 1;
tellTarget ('_root.mahHa12') {
gotoAndStop(2);
}
}
}
}
movieClip 9792 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
}
instance of movieClip 9792 {
onClipEvent (load) {
if (_root.fluteItem != 1) {
this._visible = false;
} else {
this.gotoAndStop(1);
}
}
}
instance of movieClip 9792 {
onClipEvent (load) {
if (_root.lifePotion >= 1) {
this.gotoAndStop(4);
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lifePotion <= 0) {
this._visible = false;
}
}
}
instance of movieClip 9792 {
onClipEvent (load) {
if (_root.strengthPotion >= 1) {
this.gotoAndStop(3);
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.strengthPotion <= 0) {
this._visible = false;
}
}
}
instance of movieClip 9792 {
onClipEvent (load) {
if (_root.speedShoes == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(5);
}
}
}
instance of movieClip 9792 {
onClipEvent (load) {
if (_root.supesCape == 1) {
this.gotoAndStop(8);
} else {
this._visible = false;
}
}
}
button 9793 {
on (release) {
gotoAndStop(478);
}
}
instance of movieClip 9792 {
onClipEvent (load) {
if (_root.herosItem <= 0 && _root.jerarmsItem == 0) {
this._visible = false;
} else {
if (_root.jerarmsItem == 1) {
this.gotoAndStop(10);
} else {
this.gotoAndStop(16);
}
}
}
}
button 9799 {
on (release) {
if (_root.useDefensePotion == 1) {
_root.useDefensePotion = 0;
_root.defense += 1;
_root.defensePotion -= 1;
gotoAndStop(1);
} else {
if (_root.useSkillPotion == 1) {
_root.useSkillPotion = 0;
_root.skills += 2;
_root.skillPotion -= 1;
gotoAndStop(1);
} else {
if (_root.useMagicPotion == 1) {
_root.useMagicPotion = 0;
_root.maxmp1 += 8;
_root.magicPotion -= 1;
gotoAndStop(1);
} else {
if (_root.useLifePotion == 1) {
_root.useLifePotion = 0;
_root.lifePotion -= 1;
_root.maxhp += 15;
gotoAndStop(1);
} else {
if (_root.useStrengthPotion == 1) {
_root.useStrengthPotion = 0;
_root.strengthPotion -= 1;
_root.strength += 2;
gotoAndStop(1);
} else {
if (_root.useItPotion == 1) {
if (_root.potion > 0 && _root.char1Alive == true) {
_root.char1 += 50;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
_root.useItPotion = 0;
_root.potion -= 1;
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
gotoAndStop(1);
} else {
if (_root.char1Alive != true) {
deado = 1;
gotoAndStop(3);
} else {
gotoAndStop(3);
}
}
} else {
if (_root.useItRevive == 1) {
if (_root.revive > 0 && _root.char1Alive == false) {
_root.char1 = 70;
_root.revive -= 1;
_root.char1Alive = true;
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
_root.useItRevive = 0;
gotoAndStop(1);
} else {
if (_root.char1Alive != false) {
notdeado = 1;
gotoAndStop(3);
} else {
gotoAndStop(3);
}
}
} else {
if (_root.useItEther == 1) {
if (_root.ether > 0) {
_root.mp1 += 20;
if (_root.mp1 > _root.maxmp1) {
_root.mp1 = _root.maxmp1;
}
_root.ether -= 1;
_root.useItEther = 0;
gotoAndStop(1);
} else {
gotoAndStop(3);
}
} else {
if (_root.useItHpotion == 1 && _root.char1Alive == true) {
if (_root.hpotion > 0) {
_root.char1 += 300;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
_root.hpotion -= 1;
_root.useItHpotion = 0;
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
gotoAndStop(1);
} else {
if (_root.char1Alive != true) {
deado = 1;
gotoAndStop(3);
} else {
gotoAndStop(3);
}
}
} else {
if (_root.useItXpotion == 1 && _root.char1Alive == true) {
if (_root.xpotion > 0) {
_root.char1 = _root.maxhp;
_root.xpotion -= 1;
_root.useItXpotion = 0;
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
gotoAndStop(1);
} else {
if (_root.char1Alive != true) {
deado = 1;
gotoAndStop(3);
} else {
gotoAndStop(3);
}
}
} else {
if (_root.useItElixir == 1 && _root.char1Alive == true) {
if (_root.elixir > 0) {
_root.char1 = _root.maxhp;
_root.mp1 = _root.maxmp1;
_root.elixir -= 1;
_root.useItElixir = 0;
_level0.PercentLoaded = (_level0.char1 / _level0.maxhp) * 100;
gotoAndStop(1);
} else {
if (_root.char1Alive != true) {
deado = 1;
gotoAndStop(3);
} else {
gotoAndStop(3);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9800 {
on (release) {
if (_root.useDefensePotion == 1) {
_root.useDefensePotion = 0;
_root.defense2 += 1;
_root.defensePotion -= 1;
gotoAndStop(1);
} else {
if (_root.useSkillPotion == 1) {
_root.useSkillPotion = 0;
_root.skills2 += 2;
_root.skillPotion -= 1;
gotoAndStop(1);
} else {
if (_root.useMagicPotion == 1) {
_root.useMagicPotion = 0;
_root.maxmp2 += 8;
_root.magicPotion -= 1;
gotoAndStop(1);
} else {
if (_root.useLifePotion == 1) {
_root.useLifePotion = 0;
_root.lifePotion -= 1;
_root.maxhp2 += 15;
gotoAndStop(1);
} else {
if (_root.useStrengthPotion == 1) {
_root.useStrengthPotion = 0;
_root.strengthPotion -= 1;
_root.strength2 += 2;
gotoAndStop(1);
} else {
if (_root.useItPotion == 1 && _root.char2Alive == true) {
if (_root.potion > 0) {
_root.char2 += 50;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
_root.useItPotion = 0;
_root.potion -= 1;
_level0.PercentLoaded2 = (_level0.char2 / _level0.maxhp2) * 100;
gotoAndStop(1);
} else {
if (_root.char2Alive != true) {
deado = 1;
gotoAndStop(3);
} else {
gotoAndStop(3);
}
}
} else {
if (_root.useItRevive == 1) {
if (_root.revive > 0 && _root.char2Alive == false) {
_root.char2 = 70;
_root.revive -= 1;
_root.char2Alive = true;
_level0.PercentLoaded2 = (_level0.char2 / _level0.maxhp2) * 100;
_root.useItRevive = 0;
gotoAndStop(1);
} else {
if (_root.char2Alive != false) {
notdeado = 1;
gotoAndStop(3);
} else {
gotoAndStop(3);
}
}
} else {
if (_root.useItEther == 1) {
if (_root.ether > 0) {
_root.mp2 += 20;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
_root.ether -= 1;
_root.useItEther = 0;
gotoAndStop(1);
} else {
gotoAndStop(3);
}
} else {
if (_root.useItHpotion == 1 && _root.char2Alive == true) {
if (_root.hpotion > 0) {
_root.char2 += 300;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
_root.hpotion -= 1;
_root.useItHpotion = 0;
_level0.PercentLoaded2 = (_level0.char2 / _level0.maxhp2) * 100;
gotoAndStop(1);
} else {
if (_root.char2Alive != true) {
deado = 1;
gotoAndStop(3);
} else {
gotoAndStop(3);
}
}
} else {
if (_root.useItXpotion == 1 && _root.char2Alive == true) {
if (_root.xpotion > 0) {
_root.char2 = _root.maxhp2;
_root.xpotion -= 1;
_root.useItXpotion = 0;
_level0.PercentLoaded2 = (_level0.char2 / _level0.maxhp2) * 100;
gotoAndStop(1);
} else {
if (_root.char2Alive != true) {
deado = 1;
gotoAndStop(3);
} else {
gotoAndStop(3);
}
}
} else {
if (_root.useItElixir == 1 && _root.char2Alive == true) {
if (_root.elixir > 0) {
_root.char2 = _root.maxhp2;
_root.mp2 = _root.maxmp2;
_root.elixir -= 1;
_root.useItElixir = 0;
_level0.PercentLoaded2 = (_level0.char2 / _level0.maxhp2) * 100;
gotoAndStop(1);
} else {
if (_root.char2Alive != true) {
deado = 1;
gotoAndStop(3);
} else {
gotoAndStop(3);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9802 {
on (release) {
_root.useItPotion = 0;
_root.useItEther = 0;
_root.useItRevive = 0;
_root.useItHpotion = 0;
_root.useItXpotion = 0;
_root.useItElixir = 0;
_root.useLifePotion = 0;
_root.useStrengthPotion = 0;
_root.useSkillPotion = 0;
_root.useMagicPotion = 0;
_root.useDefensePotion = 0;
gotoAndStop(1);
}
}
button 9804 {
on (release) {
_root.useItPotion = 0;
_root.useItEther = 0;
_root.useItRevive = 0;
_root.useItHpotion = 0;
_root.useItXpotion = 0;
_root.useItElixir = 0;
_root.useLifePotion = 0;
_root.useStrengthPotion = 0;
_root.useSkillPotion = 0;
_root.useMagicPotion = 0;
_root.useDefensePotion = 0;
gotoAndStop(1);
}
}
movieClip 9806 {
frame 1 {
deado = 0;
notdeado = 0;
stop();
}
frame 2 {
if (_root.useItPotion == 1) {
mess = 'Potion';
} else {
if (_root.useItRevive == 1) {
mess = 'Revive';
} else {
if (_root.useItEther == 1) {
mess = 'Ether';
} else {
if (_root.useItHpotion == 1) {
mess = 'Hi-Potion';
} else {
if (_root.useItXpotion == 1) {
mess = 'X-Potion';
} else {
if (_root.useItElixir == 1) {
mess = 'Elixir';
} else {
if (_root.useStrengthPotion == 1) {
mess = 'Strength Potion';
} else {
mess = 'Item';
}
}
}
}
}
}
}
stop();
}
frame 3 {
if (deado == 1) {
mess2 = 'Must be revived first!';
} else {
if (notdeado == 1) {
mess2 = 'This character is alive!';
} else {
mess2 = 'Not Enough ' + mess + 's!';
}
}
stop();
}
frame 4 {
if (_root.useItFlute == 1) {
mess2 = 'The flute is on!';
} else {
mess2 = 'The flute is off!';
}
stop();
}
}
frame 466 {
if (activeMode == 1) {
_root.activeIt._visible = true;
_root.waitIt._visible = false;
}
if (waitMode == 1) {
_root.activeIt._visible = false;
_root.waitIt._visible = true;
}
}
movieClip 9811 {
}
button 9813 {
on (release) {
activeMode = 0;
waitMode = 1;
}
}
button 9817 {
on (release) {
activeMode = 1;
waitMode = 0;
}
}
frame 467 {
gotoAndPlay(466);
}
frame 468 {
stop();
}
button 9820 {
on (release) {
if (_root.equipWeapon5 != 0) {
_root.weaponLook2 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipWeapon5 = 0;
_root.equipWeapon6 = 0;
_root.equipWeapon7 = 0;
_root.equipWeapon8 = 0;
if (_root.weaponSkill13 == 'OK damage' || _root.weaponSkill14 == 'OK damage' || _root.weaponSkill15 == 'OK damage') {
_root.strength2 -= 5;
}
if (_root.weaponSkill13 == 'More MP' || _root.weaponSkill14 == 'More MP' || _root.weaponSkill15 == 'More MP') {
_root.maxmp2 -= 10;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
if (_root.weaponSkill13 == 'Speedy' || _root.weaponSkill14 == 'Speedy' || _root.weaponSkill15 == 'Speedy') {
_level0.speedEx2 -= 3;
}
if (_root.weaponSkill13 == 'Double Strength' || _root.weaponSkill14 == 'Double Strength' || _root.weaponSkill15 == 'Double Strength') {
_root.strength2 -= 10;
}
if (_root.weaponSkill13 == 'Super MP' || _root.weaponSkill14 == 'Super MP' || _root.weaponSkill15 == 'Super MP') {
_root.maxmp2 -= 20;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
if (_root.weaponSkill13 == 'HP Plus' || _root.weaponSkill14 == 'HP Plus' || _root.weaponSkill15 == 'HP Plus') {
_root.maxhp2 -= 30;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.weaponSkill13 == 'More HP' || _root.weaponSkill14 == 'More HP' || _root.weaponSkill15 == 'More HP') {
_root.maxhp2 -= 50;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.weaponSkill13 == 'Super HP' || _root.weaponSkill14 == 'Super HP' || _root.weaponSkill15 == 'Super HP') {
_root.maxhp2 -= 100;
}
if (_root.weaponSkill13 == 'Speed Plus' || _root.weaponSkill14 == 'Speed Plus' || _root.weaponSkill15 == 'Speed Plus') {
_level0.speedEx2 -= 10;
}
if (_root.weaponSkill13 == 'Super Speed' || _root.weaponSkill14 == 'Speed Plus' || _root.weaponSkill15 == 'Speed Plus') {
_level0.speedEx2 -= 20;
}
if (_root.weaponSkill13 == 'Strong' || _root.weaponSkill14 == 'Strong' || _root.weaponSkill15 == 'Strong') {
_root.strength2 -= 15;
}
if (_root.weaponSkill13 == 'Money Maker' || _root.weaponSkill14 == 'Money Maker' || _root.weaponSkill15 == 'Money Maker') {
_root.moneyPlus = 1;
}
if (_root.weaponSkill13 == 'EXP More' || _root.weaponSkill14 == 'EXP More' || _root.weaponSkill15 == 'EXP More') {
_root.EXPMore = 1;
}
if (_root.weaponSkill13 == 'Super Strength' || _root.weaponSkill14 == 'Super Strength' || _root.weaponSkill15 == 'Super Strength') {
_root.strength2 -= 25;
}
if (_root.weaponSkill13 == 'Skills Plus' || _root.weaponSkill14 == 'Skills Plus' || _root.weaponSkill15 == 'Skills Plus') {
_root.skills2 -= 10;
}
if (_root.weaponSkill13 == 'More Skills' || _root.weaponSkill14 == 'More Skills' || _root.weaponSkill15 == 'More Skills') {
_root.skills2 -= 15;
}
if (_root.weaponSkill13 == 'Super Skills' || _root.weaponSkill14 == 'Super Skills' || _root.weaponSkill15 == 'Super Skills') {
_root.skills2 -= 23;
}
if (_root.weaponSkill13 == 'Defense Plus' || _root.weaponSkill14 == 'Defense Plus' || _root.weaponSkill15 == 'Defense Plus') {
_root.defense2 -= 10;
}
if (_root.weaponSkill13 == 'Super Defense' || _root.weaponSkill14 == 'Super Defense' || _root.weaponSkill15 == 'Super Defense') {
_root.defense2 -= 30;
}
if (_root.weaponSkill13 == 'Invincible' || _root.weaponSkill14 == 'Invincible' || _root.weaponSkill15 == 'Invincible') {
_root.defense2 -= 60;
_root.maxhp2 -= 200;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.weaponSkill13 == 'Immortal' || _root.weaponSkill14 == 'Immortal' || _root.weaponSkill15 == 'Immortal') {
_root.maxhp2 -= 500;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.weaponSkill13 == 'God' || _root.weaponSkill14 == 'God' || _root.weaponSkill15 == 'God') {
_root.strength2 -= 70;
_root.defense2 -= 50;
_root.skills2 -= 50;
_root.maxhp2 -= 700;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.weaponSkill13 == 'Skilled') {
_root.skills2 -= 8;
}
if (_root.weaponSkill4 == 'Life Leech') {
_root.lifeLeech2 -= 2;
}
if (_root.weaponSkill4 == 'Mana Leech') {
_root.magLeech2 -= 2;
}
if (_root.weaponSkill5 == 'Super Life Leech') {
_root.lifeLeech2 -= 5;
}
if (_root.weaponSkill5 == 'Super Mana Leech') {
_root.magLeech2 -= 5;
}
}
}
}
button 9821 {
on (release) {
if (_root.equipWeapon5 != 1) {
_root.weapon5 = 0;
_root.armor5 = 0;
_root.belt5 = 0;
_root.glasses5 = 0;
gotoAndPlay(1);
}
}
}
button 9822 {
on (release) {
if (_root.equipWeapon5 != 1 && _root.equipWeapon6 != 1 && _root.equipWeapon7 != 1 && _root.equipWeapon8 != 1) {
_root.equipWeapon5 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(7) + 1;
switch (attack) {
case 1:
_root.weaponLook2 = 1;
break;
case 2:
_root.weaponLook2 = 2;
break;
case 3:
_root.weaponLook2 = 3;
break;
case 4:
_root.weaponLook2 = 4;
break;
case 5:
_root.weaponLook2 = 5;
break;
case 6:
_root.weaponLook2 = 6;
break;
case 7:
_root.weaponLook2 = 7;
}
if (_root.weaponSkill13 == 'OK damage' || _root.weaponSkill14 == 'OK damage' || _root.weaponSkill15 == 'OK damage') {
_root.strength2 += 5;
}
if (_root.weaponSkill13 == 'More MP' || _root.weaponSkill14 == 'More MP' || _root.weaponSkill15 == 'More MP') {
_root.maxmp2 += 10;
}
if (_root.weaponSkill13 == 'Speedy' || _root.weaponSkill14 == 'Speedy' || _root.weaponSkill15 == 'Speedy') {
_level0.speedEx2 += 3;
}
if (_root.weaponSkill13 == 'Double Strength' || _root.weaponSkill14 == 'Double Strength' || _root.weaponSkill15 == 'Double Strength') {
_root.strength2 += 10;
}
if (_root.weaponSkill13 == 'Super MP' || _root.weaponSkill14 == 'Super MP' || _root.weaponSkill15 == 'Super MP') {
_root.maxmp2 += 20;
}
if (_root.weaponSkill13 == 'HP Plus' || _root.weaponSkill14 == 'HP Plus' || _root.weaponSkill15 == 'HP Plus') {
_root.maxhp2 += 30;
}
if (_root.weaponSkill13 == 'More HP' || _root.weaponSkill14 == 'More HP' || _root.weaponSkill15 == 'More HP') {
_root.maxhp2 += 50;
}
if (_root.weaponSkill13 == 'Super HP' || _root.weaponSkill14 == 'Super HP' || _root.weaponSkill15 == 'Super HP') {
_root.maxhp2 += 100;
}
if (_root.weaponSkill13 == 'Speed Plus' || _root.weaponSkill14 == 'Speed Plus' || _root.weaponSkill15 == 'Speed Plus') {
_level0.speedEx2 += 10;
}
if (_root.weaponSkill13 == 'Super Speed' || _root.weaponSkill14 == 'Speed Plus' || _root.weaponSkill15 == 'Speed Plus') {
_level0.speedEx2 += 20;
}
if (_root.weaponSkill13 == 'Strong' || _root.weaponSkill14 == 'Strong' || _root.weaponSkill15 == 'Strong') {
_root.strength2 += 15;
}
if (_root.weaponSkill13 == 'Money Maker' || _root.weaponSkill14 == 'Money Maker' || _root.weaponSkill15 == 'Money Maker') {
_root.moneyPlus = 2;
}
if (_root.weaponSkill13 == 'EXP More' || _root.weaponSkill14 == 'EXP More' || _root.weaponSkill15 == 'EXP More') {
_root.EXPMore = 2;
}
if (_root.weaponSkill13 == 'Super Strength' || _root.weaponSkill14 == 'Super Strength' || _root.weaponSkill15 == 'Super Strength') {
_root.strength2 += 25;
}
if (_root.weaponSkill13 == 'Skills Plus' || _root.weaponSkill14 == 'Skills Plus' || _root.weaponSkill15 == 'Skills Plus') {
_root.skills2 += 10;
}
if (_root.weaponSkill13 == 'More Skills' || _root.weaponSkill14 == 'More Skills' || _root.weaponSkill15 == 'More Skills') {
_root.skills2 += 15;
}
if (_root.weaponSkill13 == 'Super Skills' || _root.weaponSkill14 == 'Super Skills' || _root.weaponSkill15 == 'Super Skills') {
_root.skills2 += 23;
}
if (_root.weaponSkill13 == 'Defense Plus' || _root.weaponSkill14 == 'Defense Plus' || _root.weaponSkill15 == 'Defense Plus') {
_root.defense2 += 10;
}
if (_root.weaponSkill13 == 'Super Defense' || _root.weaponSkill14 == 'Super Defense' || _root.weaponSkill15 == 'Super Defense') {
_root.defense2 += 30;
}
if (_root.weaponSkill13 == 'Invincible' || _root.weaponSkill14 == 'Invincible' || _root.weaponSkill15 == 'Invincible') {
_root.defense2 += 60;
_root.maxhp2 += 200;
}
if (_root.weaponSkill13 == 'Immortal' || _root.weaponSkill14 == 'Immortal' || _root.weaponSkill15 == 'Immortal') {
_root.maxhp2 += 500;
}
if (_root.weaponSkill13 == 'God' || _root.weaponSkill14 == 'God' || _root.weaponSkill15 == 'God') {
_root.strength2 += 70;
_root.defense2 += 50;
_root.skills2 += 50;
_root.maxhp2 += 700;
}
if (_root.weaponSkill13 == 'Skilled') {
_root.skills2 += 8;
}
if (_root.weaponSkill4 == 'Life Leech') {
_root.lifeLeech2 += 2;
}
if (_root.weaponSkill4 == 'Mana Leech') {
_root.magLeech2 += 2;
}
if (_root.weaponSkill5 == 'Super Life Leech') {
_root.lifeLeech2 += 5;
}
if (_root.weaponSkill5 == 'Super Mana Leech') {
_root.magLeech2 += 5;
}
}
}
}
movieClip 9827 {
frame 1 {
if (_root.equipWeapon5 == 1 || _root.equipArmor5 == 1 || _root.equipGlasses5 == 1 || _root.equipBelt5 == 1) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 2 {
stop();
}
}
button 9829 {
on (release) {
if (_root.equipArmor5 != 0) {
_root.armorLook2 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipArmor5 = 0;
_root.equipArmor6 = 0;
_root.equipArmor7 = 0;
_root.equipArmor8 = 0;
if (_root.armorSkill13 == 'OK defense' || _root.armorSkill14 == 'OK defense' || _root.armorSkill15 == 'OK defense') {
_root.defense2 -= 5;
}
if (_root.armorSkill13 == 'Double Defense' || _root.armorSkill14 == 'Double Defense' || _root.armorSkill15 == 'Double Defense') {
_root.defense2 -= 10;
}
if (_root.armorSkill13 == 'Extra Fast' || _root.armorSkill14 == 'Extra Fast' || _root.armorSkill15 == 'Extra Fast') {
_root.speedEx2 -= 2;
}
if (_root.armorSkill13 == 'More MP' || _root.armorSkill14 == 'More MP' || _root.armorSkill15 == 'More MP') {
_root.maxmp2 -= 5;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
if (_root.armorSkill13 == 'Extra Strength' || _root.armorSkill14 == 'Extra Strength' || _root.armorSkill15 == 'Extra Strength') {
_root.strength2 -= 7;
}
if (_root.armorSkill13 == 'Skills Plus' || _root.armorSkill14 == 'Skills Plus' || _root.armorSkill15 == 'Skills Plus') {
_root.skills2 -= 4;
}
if (_root.armorSkill13 == 'More Defense' || _root.armorSkill14 == 'More Defense' || _root.armorSkill15 == 'More Defense') {
_root.defense2 -= 15;
}
if (_root.armorSkill13 == 'Speed Plus' || _root.armorSkill14 == 'Speed Plus' || _root.armorSkill15 == 'Speed Plus') {
_root.speedEx2 -= 5;
}
if (_root.armorSkill13 == 'More Strength' || _root.armorSkill14 == 'More Strength' || _root.armorSkill15 == 'More Strength') {
_root.strength2 -= 10;
}
if (_root.armorSkill13 == 'HP Plus' || _root.armorSkill14 == 'HP Plus' || _root.armorSkill15 == 'HP Plus') {
_root.maxhp2 -= 20;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.armorSkill13 == 'More HP' || _root.armorSkill14 == 'More HP' || _root.armorSkill15 == 'More HP') {
_root.maxhp2 -= 50;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.armorSkill13 == 'Ultra HP' || _root.armorSkill14 == 'Ultra HP' || _root.armorSkill15 == 'Ultra HP') {
_root.maxhp2 -= 100;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.armorSkill13 == 'Ultra MP' || _root.armorSkill14 == 'Ultra MP' || _root.armorSkill15 == 'Ultra MP') {
_root.maxmp2 -= 30;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
if (_root.armorSkill13 == 'MP Plus' || _root.armorSkill14 == 'MP Plus' || _root.armorSkill15 == 'MP Plus') {
_root.maxmp2 -= 7;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
if (_root.armorSkill13 == 'Super Speed' || _root.armorSkill14 == 'Super Speed' || _root.armorSkill15 == 'Super Speed') {
_root.speedEx2 -= 20;
}
if (_root.armorSkill13 == 'Defense Plus' || _root.armorSkill14 == 'Defense Plus' || _root.armorSkill15 == 'Defense Plus') {
_root.defense2 -= 7;
}
if (_root.armorSkill13 == 'Ultra Defense' || _root.armorSkill14 == 'Ultra Defense' || _root.armorSkill15 == 'Ultra Defense') {
_root.defense2 -= 30;
}
if (_root.armorSkill13 == 'Ultra Strength' || _root.armorSkill14 == 'Ultra Strength' || _root.armorSkill15 == 'Ultra Strength') {
_root.strength2 -= 20;
}
if (_root.armorSkill13 == 'Speed of light' || _root.armorSkill14 == 'Speed of light' || _root.armorSkill15 == 'Speed of light') {
_root.speedEx2 -= 40;
}
if (_root.armorSkill13 == 'Ultra Skills' || _root.armorSkill14 == 'Ultra Skills' || _root.armorSkill15 == 'Ultra Skills') {
_root.skills2 -= 15;
}
if (_root.armorSkill13 == 'More HP Plus' || _root.armorSkill14 == 'More HP Plus' || _root.armorSkill15 == 'More HP Plus') {
_root.maxhp2 -= 75;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.armorSkill13 == 'MP times two' || _root.armorSkill14 == 'MP times two' || _root.armorSkill15 == 'MP times two') {
_root.mptwo2 = 1;
_root.maxmp2 *= 0.5;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
if (_root.armorSkill13 == 'HP times two' || _root.armorSkill14 == 'HP times two' || _root.armorSkill15 == 'HP times two') {
_root.hptwo2 = 1;
_root.maxhp2 *= 0.5;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.armorSkill14 == 'Giant Strength') {
_root.strength2 -= 80;
}
if (_root.armorSkill15 == 'Super Skilled') {
_root.skills2 -= 120;
}
if (_root.armorSkill15 == 'Superman Speed') {
_root.speedEx2 -= 130;
}
if (_root.armorSkill14 == 'Invulnerable') {
_root.defense2 -= 60;
}
if (_root.armorSkill15 == 'SuperMan') {
_root.defense2 -= 120;
_root.speedEx2 -= 140;
_root.skills2 -= 140;
_root.strength2 -= 100;
}
}
}
}
button 9830 {
on (release) {
if (_root.equipArmor5 != 1) {
_root.weapon5 = 0;
_root.armor5 = 0;
_root.belt5 = 0;
_root.glasses5 = 0;
gotoAndPlay(1);
}
}
}
button 9831 {
on (release) {
if (_root.equipArmor5 != 1 && _root.equipArmor6 != 1 && _root.equipArmor7 != 1 && _root.equipArmor8 != 1) {
_root.equipArmor5 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(3) + 1;
switch (attack) {
case 1:
_root.armorLook2 = 1;
break;
case 2:
_root.armorLook2 = 2;
break;
case 3:
_root.armorLook2 = 3;
}
if (_root.armorSkill13 == 'OK defense' || _root.armorSkill14 == 'OK defense' || _root.armorSkill15 == 'OK defense') {
_root.defense2 += 5;
}
if (_root.armorSkill13 == 'Double Defense' || _root.armorSkill14 == 'Double Defense' || _root.armorSkill15 == 'Double Defense') {
_root.defense2 += 10;
}
if (_root.armorSkill13 == 'Extra Fast' || _root.armorSkill14 == 'Extra Fast' || _root.armorSkill15 == 'Extra Fast') {
_root.speedEx2 += 2;
}
if (_root.armorSkill13 == 'More MP' || _root.armorSkill14 == 'More MP' || _root.armorSkill15 == 'More MP') {
_root.maxmp2 += 5;
}
if (_root.armorSkill13 == 'Extra Strength' || _root.armorSkill14 == 'Extra Strength' || _root.armorSkill15 == 'Extra Strength') {
_root.strength2 += 7;
}
if (_root.armorSkill13 == 'Skills Plus' || _root.armorSkill14 == 'Skills Plus' || _root.armorSkill15 == 'Skills Plus') {
_root.skills2 += 4;
}
if (_root.armorSkill13 == 'More Defense' || _root.armorSkill14 == 'More Defense' || _root.armorSkill15 == 'More Defense') {
_root.defense2 += 15;
}
if (_root.armorSkill13 == 'Speed Plus' || _root.armorSkill14 == 'Speed Plus' || _root.armorSkill15 == 'Speed Plus') {
_root.speedEx2 += 5;
}
if (_root.armorSkill13 == 'More Strength' || _root.armorSkill14 == 'More Strength' || _root.armorSkill15 == 'More Strength') {
_root.strength2 += 10;
}
if (_root.armorSkill13 == 'HP Plus' || _root.armorSkill14 == 'HP Plus' || _root.armorSkill15 == 'HP Plus') {
_root.maxhp2 += 20;
}
if (_root.armorSkill13 == 'More HP' || _root.armorSkill14 == 'More HP' || _root.armorSkill15 == 'More HP') {
_root.maxhp2 += 50;
}
if (_root.armorSkill13 == 'Ultra HP' || _root.armorSkill14 == 'Ultra HP' || _root.armorSkill15 == 'Ultra HP') {
_root.maxhp2 += 100;
}
if (_root.armorSkill13 == 'Ultra MP' || _root.armorSkill14 == 'Ultra MP' || _root.armorSkill15 == 'Ultra MP') {
_root.maxmp2 += 30;
}
if (_root.armorSkill13 == 'MP Plus' || _root.armorSkill14 == 'MP Plus' || _root.armorSkill15 == 'MP Plus') {
_root.maxmp2 += 7;
}
if (_root.armorSkill13 == 'Super Speed' || _root.armorSkill14 == 'Super Speed' || _root.armorSkill15 == 'Super Speed') {
_root.speedEx2 += 20;
}
if (_root.armorSkill13 == 'Defense Plus' || _root.armorSkill14 == 'Defense Plus' || _root.armorSkill15 == 'Defense Plus') {
_root.defense2 += 7;
}
if (_root.armorSkill13 == 'Ultra Defense' || _root.armorSkill14 == 'Ultra Defense' || _root.armorSkill15 == 'Ultra Defense') {
_root.defense2 += 30;
}
if (_root.armorSkill13 == 'Ultra Strength' || _root.armorSkill14 == 'Ultra Strength' || _root.armorSkill15 == 'Ultra Strength') {
_root.strength2 += 20;
}
if (_root.armorSkill13 == 'Speed of light' || _root.armorSkill14 == 'Speed of light' || _root.armorSkill15 == 'Speed of light') {
_root.speedEx2 += 40;
}
if (_root.armorSkill13 == 'Ultra Skills' || _root.armorSkill14 == 'Ultra Skills' || _root.armorSkill15 == 'Ultra Skills') {
_root.skills2 += 15;
}
if (_root.armorSkill13 == 'More HP Plus' || _root.armorSkill14 == 'More HP Plus' || _root.armorSkill15 == 'More HP Plus') {
_root.maxhp2 += 75;
}
if (_root.armorSkill13 == 'MP times two' || _root.armorSkill14 == 'MP times two' || _root.armorSkill15 == 'MP times two') {
_root.mptwo2 = 2;
_root.maxmp2 *= 2;
}
if (_root.armorSkill13 == 'HP times two' || _root.armorSkill14 == 'HP times two' || _root.armorSkill15 == 'HP times two') {
_root.hptwo2 = 2;
_root.maxhp2 *= 2;
}
if (_root.armorSkill14 == 'Giant Strength') {
_root.strength2 += 80;
}
if (_root.armorSkill15 == 'Super Skilled') {
_root.skills2 += 120;
}
if (_root.armorSkill15 == 'Superman Speed') {
_root.speedEx2 += 130;
}
if (_root.armorSkill14 == 'Invulnerable') {
_root.defense2 += 60;
}
if (_root.armorSkill15 == 'SuperMan') {
_root.defense2 += 120;
_root.speedEx2 += 140;
_root.skills2 += 140;
_root.strength2 += 100;
}
}
}
}
button 9839 {
on (release) {
if (_root.equipBelt5 != 0) {
_root.equipBelt5 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipBelt6 = 0;
_root.equipBelt7 = 0;
_root.equipBelt8 = 0;
_root.beltLook2 = 1;
if (_root.beltSkill5 == 'More MP') {
_root.maxmp2 -= 5;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
} else {
if (_root.beltSkill5 == 'Defense') {
_root.defense2 -= 4;
} else {
if (_root.beltSkill5 == 'Speedy') {
_root.speedEx2 -= 2;
} else {
if (_root.beltSkill5 == 'Stronger') {
_root.strength2 -= 5;
} else {
if (_root.beltSkill5 == 'Master') {
_root.strength2 -= 8;
_root.speedEx2 -= 3;
} else {
if (_root.beltSkill5 == 'Skillful') {
_root.skills2 -= 10;
} else {
if (_root.beltSkill5 == 'Invincible') {
_root.strength2 -= 10;
_root.skills2 -= 10;
_root.defense2 -= 10;
} else {
if (_root.beltSkill5 == 'MP Plus') {
_root.maxmp2 -= 10;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
} else {
if (_root.beltSkill5 == 'More Defense') {
_root.defense2 -= 10;
} else {
if (_root.beltSkill5 == 'Double Strong') {
_root.strength2 -= 13;
} else {
if (_root.beltSkill5 == 'Speedy Plus') {
_root.speedEx2 -= 7;
} else {
if (_root.beltSkill5 == 'HP Plus') {
_root.maxhp2 -= 30;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
} else {
if (_root.beltSkill5 == 'More HP') {
_root.maxhp2 -= 50;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9840 {
on (release) {
if (_root.equipBelt5 != 1) {
_root.weapon5 = 0;
_root.armor5 = 0;
_root.belt5 = 0;
_root.glasses5 = 0;
gotoAndPlay(1);
}
}
}
button 9841 {
on (release) {
if (_root.equipBelt5 != 1 && _root.equipBelt6 != 1 && _root.equipBelt7 != 1 && _root.equipBelt8 != 1) {
_root.equipBelt5 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(4) + 1;
switch (attack) {
case 1:
_root.beltLook2 = 1;
break;
case 2:
_root.beltLook2 = 2;
break;
case 3:
_root.beltLook2 = 3;
break;
case 4:
_root.beltLook2 = 4;
}
if (_root.beltSkill5 == 'More MP') {
_root.maxmp2 += 5;
} else {
if (_root.beltSkill5 == 'Defense') {
_root.defense2 += 4;
} else {
if (_root.beltSkill5 == 'Speedy') {
_root.speedEx2 += 2;
} else {
if (_root.beltSkill5 == 'Stronger') {
_root.strength2 += 5;
} else {
if (_root.beltSkill5 == 'Master') {
_root.strength2 += 8;
_root.speedEx2 += 3;
} else {
if (_root.beltSkill5 == 'Skillful') {
_root.skills2 += 10;
} else {
if (_root.beltSkill5 == 'Invincible') {
_root.strength2 += 10;
_root.skills2 += 10;
_root.defense2 += 10;
} else {
if (_root.beltSkill5 == 'MP Plus') {
_root.maxmp2 += 10;
} else {
if (_root.beltSkill5 == 'More Defense') {
_root.defense2 += 10;
} else {
if (_root.beltSkill5 == 'Double Strong') {
_root.strength2 += 13;
} else {
if (_root.beltSkill5 == 'Speedy Plus') {
_root.speedEx2 += 7;
} else {
if (_root.beltSkill5 == 'HP Plus') {
_root.maxhp2 += 30;
} else {
if (_root.beltSkill5 == 'More HP') {
_root.maxhp2 += 50;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9845 {
on (release) {
if (_root.equipGlasses5 != 0) {
_level0.glassesLook2 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipGlasses5 = 0;
_root.equipGlasses6 = 0;
_root.equipGlasses7 = 0;
_root.equipGlasses8 = 0;
if (_root.glassesSkill5 == 'More MP') {
_root.maxmp2 -= 5;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
} else {
if (_root.glassesSkill5 == 'Defense') {
_root.defense2 -= 4;
} else {
if (_root.glassesSkill5 == 'Speedy') {
_root.speedEx2 -= 2;
} else {
if (_root.glassesSkill5 == 'Stronger') {
_root.strength2 -= 5;
} else {
if (_root.glassesSkill5 == 'Master') {
_root.strength2 -= 8;
_root.speedEx2 -= 3;
} else {
if (_root.glassesSkill5 == 'Skillful') {
_root.skills2 -= 10;
} else {
if (_root.glassesSkill5 == 'Invincible') {
_root.strength2 -= 10;
_root.skills2 -= 10;
_root.defense2 -= 10;
} else {
if (_root.glassesSkill5 == 'MP Plus') {
_root.maxmp2 -= 10;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
} else {
if (_root.glassesSkill5 == 'More Defense') {
_root.defense2 -= 10;
} else {
if (_root.glassesSkill5 == 'Double Strong') {
_root.strength2 -= 13;
} else {
if (_root.glassesSkill5 == 'Speedy Plus') {
_root.speedEx2 -= 7;
} else {
if (_root.glassesSkill5 == 'HP Plus') {
_root.maxhp2 -= 30;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
} else {
if (_root.glassesSkill5 == 'More HP') {
_root.maxhp2 -= 50;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9846 {
on (release) {
if (_root.equipGlasses5 != 1) {
_root.weapon5 = 0;
_root.armor5 = 0;
_root.belt5 = 0;
_root.glasses5 = 0;
gotoAndPlay(1);
}
}
}
button 9847 {
on (release) {
if (_root.equipGlasses5 != 1 && _root.equipGlasses6 != 1 && _root.equipGlasses7 != 1 && _root.equipGlasses8 != 1) {
_root.equipGlasses5 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(3) + 1;
switch (attack) {
case 1:
_level0.glassesLook2 = 1;
break;
case 2:
_level0.glassesLook2 = 2;
break;
case 3:
_level0.glassesLook2 = 3;
}
if (_root.glassesSkill5 == 'More MP') {
_root.maxmp2 += 5;
} else {
if (_root.glassesSkill5 == 'Defense') {
_root.defense2 += 4;
} else {
if (_root.glassesSkill5 == 'Speedy') {
_root.speedEx2 += 2;
} else {
if (_root.glassesSkill5 == 'Stronger') {
_root.strength2 += 5;
} else {
if (_root.glassesSkill5 == 'Master') {
_root.strength2 += 8;
_root.speedEx2 += 3;
} else {
if (_root.glassesSkill5 == 'Skillful') {
_root.skills2 += 10;
} else {
if (_root.glassesSkill5 == 'Invincible') {
_root.strength2 += 10;
_root.skills2 += 10;
_root.defense2 += 10;
} else {
if (_root.glassesSkill5 == 'MP Plus') {
_root.maxmp2 += 10;
} else {
if (_root.glassesSkill5 == 'More Defense') {
_root.defense2 += 10;
} else {
if (_root.glassesSkill5 == 'Double Strong') {
_root.strength2 += 13;
} else {
if (_root.glassesSkill5 == 'Speedy Plus') {
_root.speedEx2 += 7;
} else {
if (_root.glassesSkill5 == 'HP Plus') {
_root.maxhp2 += 30;
} else {
if (_root.glassesSkill5 == 'More HP') {
_root.maxhp2 += 50;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
movieClip 9852 {
frame 1 {
if (_root.weapon5 == 1) {
gotoAndPlay(2);
} else {
if (_root.armor5 == 1) {
gotoAndPlay(3);
} else {
if (_root.belt5 == 1) {
gotoAndPlay(4);
} else {
if (_root.glasses5 == 1) {
gotoAndPlay(5);
} else {
stop();
}
}
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
button 9853 {
on (release) {
if (_root.equipWeapon6 != 0) {
_root.weaponLook2 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipWeapon5 = 0;
_root.equipWeapon6 = 0;
_root.equipWeapon7 = 0;
_root.equipWeapon8 = 0;
if (_root.weaponSkill16 == 'OK damage' || _root.weaponSkill17 == 'OK damage' || _root.weaponSkill18 == 'OK damage') {
_root.strength2 -= 5;
}
if (_root.weaponSkill16 == 'More MP' || _root.weaponSkill17 == 'More MP' || _root.weaponSkill18 == 'More MP') {
_root.maxmp2 -= 10;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
if (_root.weaponSkill16 == 'Speedy' || _root.weaponSkill17 == 'Speedy' || _root.weaponSkill18 == 'Speedy') {
_level0.speedEx2 -= 3;
}
if (_root.weaponSkill16 == 'Double Strength' || _root.weaponSkill17 == 'Double Strength' || _root.weaponSkill18 == 'Double Strength') {
_root.strength2 -= 10;
}
if (_root.weaponSkill16 == 'Super MP' || _root.weaponSkill17 == 'Super MP' || _root.weaponSkill18 == 'Super MP') {
_root.maxmp2 -= 20;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
if (_root.weaponSkill16 == 'HP Plus' || _root.weaponSkill17 == 'HP Plus' || _root.weaponSkill18 == 'HP Plus') {
_root.maxhp2 -= 30;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.weaponSkill16 == 'More HP' || _root.weaponSkill17 == 'More HP' || _root.weaponSkill18 == 'More HP') {
_root.maxhp2 -= 50;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.weaponSkill16 == 'Super HP' || _root.weaponSkill17 == 'Super HP' || _root.weaponSkill18 == 'Super HP') {
_root.maxhp2 -= 100;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.weaponSkill16 == 'Speed Plus' || _root.weaponSkill17 == 'Speed Plus' || _root.weaponSkill18 == 'Speed Plus') {
_level0.speedEx2 -= 10;
}
if (_root.weaponSkill16 == 'Super Speed' || _root.weaponSkill17 == 'Speed Plus' || _root.weaponSkill18 == 'Speed Plus') {
_level0.speedEx2 -= 20;
}
if (_root.weaponSkill16 == 'Strong' || _root.weaponSkill17 == 'Strong' || _root.weaponSkill18 == 'Strong') {
_root.strength2 -= 15;
}
if (_root.weaponSkill16 == 'Money Maker' || _root.weaponSkill17 == 'Money Maker' || _root.weaponSkill18 == 'Money Maker') {
_root.moneyPlus = 1;
}
if (_root.weaponSkill16 == 'EXP More' || _root.weaponSkill17 == 'EXP More' || _root.weaponSkill18 == 'EXP More') {
_root.EXPMore = 1;
}
if (_root.weaponSkill16 == 'Super Strength' || _root.weaponSkill17 == 'Super Strength' || _root.weaponSkill18 == 'Super Strength') {
_root.strength2 -= 25;
}
if (_root.weaponSkill16 == 'Skills Plus' || _root.weaponSkill17 == 'Skills Plus' || _root.weaponSkill18 == 'Skills Plus') {
_root.skills2 -= 10;
}
if (_root.weaponSkill16 == 'More Skills' || _root.weaponSkill17 == 'More Skills' || _root.weaponSkill18 == 'More Skills') {
_root.skills2 -= 15;
}
if (_root.weaponSkill16 == 'Super Skills' || _root.weaponSkill17 == 'Super Skills' || _root.weaponSkill18 == 'Super Skills') {
_root.skills2 -= 23;
}
if (_root.weaponSkill16 == 'Defense Plus' || _root.weaponSkill17 == 'Defense Plus' || _root.weaponSkill18 == 'Defense Plus') {
_root.defense2 -= 10;
}
if (_root.weaponSkill16 == 'Super Defense' || _root.weaponSkill17 == 'Super Defense' || _root.weaponSkill18 == 'Super Defense') {
_root.defense2 -= 30;
}
if (_root.weaponSkill16 == 'Invincible' || _root.weaponSkill17 == 'Invincible' || _root.weaponSkill18 == 'Invincible') {
_root.defense2 -= 60;
_root.maxhp2 -= 200;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.weaponSkill16 == 'Immortal' || _root.weaponSkill17 == 'Immortal' || _root.weaponSkill18 == 'Immortal') {
_root.maxhp2 -= 500;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.weaponSkill16 == 'God' || _root.weaponSkill17 == 'God' || _root.weaponSkill18 == 'God') {
_root.strength2 -= 70;
_root.defense2 -= 50;
_root.skills2 -= 50;
_root.maxhp2 -= 700;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.weaponSkill16 == 'Skilled') {
_root.skills2 -= 8;
}
if (_root.weaponSkill17 == 'Life Leech') {
_root.lifeLeech2 -= 2;
}
if (_root.weaponSkill17 == 'Mana Leech') {
_root.magLeech2 -= 2;
}
if (_root.weaponSkill18 == 'Super Life Leech') {
_root.lifeLeech2 -= 5;
}
if (_root.weaponSkill18 == 'Super Mana Leech') {
_root.magLeech2 -= 5;
}
}
}
}
button 9854 {
on (release) {
if (_root.equipWeapon6 != 1) {
_root.weapon6 = 0;
_root.armor6 = 0;
_root.belt6 = 0;
_root.glasses6 = 0;
gotoAndPlay(1);
}
}
}
button 9855 {
on (release) {
if (_root.equipWeapon5 != 1 && _root.equipWeapon6 != 1 && _root.equipWeapon7 != 1 && _root.equipWeapon8 != 1) {
_root.equipWeapon6 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(5) + 1;
switch (attack) {
case 1:
_root.weaponLook2 = 1;
break;
case 2:
_root.weaponLook2 = 2;
break;
case 3:
_root.weaponLook2 = 3;
break;
case 4:
_root.weaponLook2 = 4;
break;
case 5:
_root.weaponLook2 = 5;
break;
case 6:
_root.weaponLook2 = 6;
break;
case 7:
_root.weaponLook2 = 7;
}
if (_root.weaponSkill16 == 'OK damage' || _root.weaponSkill17 == 'OK damage' || _root.weaponSkill18 == 'OK damage') {
_root.strength2 += 5;
}
if (_root.weaponSkill16 == 'More MP' || _root.weaponSkill17 == 'More MP' || _root.weaponSkill18 == 'More MP') {
_root.maxmp2 += 10;
}
if (_root.weaponSkill16 == 'Speedy' || _root.weaponSkill17 == 'Speedy' || _root.weaponSkill18 == 'Speedy') {
_level0.speedEx2 += 3;
}
if (_root.weaponSkill16 == 'Double Strength' || _root.weaponSkill17 == 'Double Strength' || _root.weaponSkill18 == 'Double Strength') {
_root.strength2 += 10;
}
if (_root.weaponSkill16 == 'Super MP' || _root.weaponSkill17 == 'Super MP' || _root.weaponSkill18 == 'Super MP') {
_root.maxmp2 += 20;
}
if (_root.weaponSkill16 == 'HP Plus' || _root.weaponSkill17 == 'HP Plus' || _root.weaponSkill18 == 'HP Plus') {
_root.maxhp2 += 30;
}
if (_root.weaponSkill16 == 'More HP' || _root.weaponSkill17 == 'More HP' || _root.weaponSkill18 == 'More HP') {
_root.maxhp2 += 50;
}
if (_root.weaponSkill16 == 'Super HP' || _root.weaponSkill17 == 'Super HP' || _root.weaponSkill18 == 'Super HP') {
_root.maxhp2 += 100;
}
if (_root.weaponSkill16 == 'Speed Plus' || _root.weaponSkill17 == 'Speed Plus' || _root.weaponSkill18 == 'Speed Plus') {
_level0.speedEx2 += 10;
}
if (_root.weaponSkill16 == 'Super Speed' || _root.weaponSkill17 == 'Speed Plus' || _root.weaponSkill18 == 'Speed Plus') {
_level0.speedEx2 += 20;
}
if (_root.weaponSkill16 == 'Strong' || _root.weaponSkill17 == 'Strong' || _root.weaponSkill18 == 'Strong') {
_root.strength2 += 15;
}
if (_root.weaponSkill16 == 'Money Maker' || _root.weaponSkill17 == 'Money Maker' || _root.weaponSkill18 == 'Money Maker') {
_root.moneyPlus = 2;
}
if (_root.weaponSkill16 == 'EXP More' || _root.weaponSkill17 == 'EXP More' || _root.weaponSkill18 == 'EXP More') {
_root.EXPMore = 2;
}
if (_root.weaponSkill16 == 'Super Strength' || _root.weaponSkill17 == 'Super Strength' || _root.weaponSkill18 == 'Super Strength') {
_root.strength2 += 25;
}
if (_root.weaponSkill16 == 'Skills Plus' || _root.weaponSkill17 == 'Skills Plus' || _root.weaponSkill18 == 'Skills Plus') {
_root.skills2 += 10;
}
if (_root.weaponSkill16 == 'More Skills' || _root.weaponSkill17 == 'More Skills' || _root.weaponSkill18 == 'More Skills') {
_root.skills2 += 15;
}
if (_root.weaponSkill16 == 'Super Skills' || _root.weaponSkill17 == 'Super Skills' || _root.weaponSkill18 == 'Super Skills') {
_root.skills2 += 23;
}
if (_root.weaponSkill16 == 'Defense Plus' || _root.weaponSkill17 == 'Defense Plus' || _root.weaponSkill18 == 'Defense Plus') {
_root.defense2 += 10;
}
if (_root.weaponSkill16 == 'Super Defense' || _root.weaponSkill17 == 'Super Defense' || _root.weaponSkill18 == 'Super Defense') {
_root.defense2 += 30;
}
if (_root.weaponSkill16 == 'Invincible' || _root.weaponSkill17 == 'Invincible' || _root.weaponSkill18 == 'Invincible') {
_root.defense2 += 60;
_root.maxhp2 += 200;
}
if (_root.weaponSkill16 == 'Immortal' || _root.weaponSkill17 == 'Immortal' || _root.weaponSkill18 == 'Immortal') {
_root.maxhp2 += 500;
}
if (_root.weaponSkill16 == 'God' || _root.weaponSkill17 == 'God' || _root.weaponSkill18 == 'God') {
_root.strength2 += 70;
_root.defense2 += 50;
_root.skills2 += 50;
_root.maxhp2 += 700;
}
if (_root.weaponSkill16 == 'Skilled') {
_root.skills2 += 8;
}
if (_root.weaponSkill17 == 'Life Leech') {
_root.lifeLeech2 += 2;
}
if (_root.weaponSkill17 == 'Mana Leech') {
_root.magLeech2 += 2;
}
if (_root.weaponSkill18 == 'Super Life Leech') {
_root.lifeLeech2 += 5;
}
if (_root.weaponSkill18 == 'Super Mana Leech') {
_root.magLeech2 += 5;
}
}
}
}
movieClip 9860 {
frame 1 {
if (_root.equipWeapon6 == 1 || _root.equipArmor6 == 1 || _root.equipGlasses6 == 1 || _root.equipBelt6 == 1) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 2 {
stop();
}
}
button 9862 {
on (release) {
if (_root.equipArmor6 != 0) {
_root.armorLook2 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipArmor5 = 0;
_root.equipArmor6 = 0;
_root.equipArmor7 = 0;
_root.equipArmor8 = 0;
if (_root.armorSkill16 == 'OK defense' || _root.armorSkill17 == 'OK defense' || _root.armorSkill18 == 'OK defense') {
_root.defense2 -= 5;
}
if (_root.armorSkill16 == 'Double Defense' || _root.armorSkill17 == 'Double Defense' || _root.armorSkill18 == 'Double Defense') {
_root.defense2 -= 10;
}
if (_root.armorSkill16 == 'Extra Fast' || _root.armorSkill17 == 'Extra Fast' || _root.armorSkill18 == 'Extra Fast') {
_root.speedEx2 -= 2;
}
if (_root.armorSkill16 == 'More MP' || _root.armorSkill17 == 'More MP' || _root.armorSkill18 == 'More MP') {
_root.maxmp2 -= 5;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
if (_root.armorSkill16 == 'Extra Strength' || _root.armorSkill17 == 'Extra Strength' || _root.armorSkill18 == 'Extra Strength') {
_root.strength2 -= 7;
}
if (_root.armorSkill16 == 'Skills Plus' || _root.armorSkill17 == 'Skills Plus' || _root.armorSkill18 == 'Skills Plus') {
_root.skills2 -= 4;
}
if (_root.armorSkill16 == 'More Defense' || _root.armorSkill17 == 'More Defense' || _root.armorSkill18 == 'More Defense') {
_root.defense2 -= 15;
}
if (_root.armorSkill16 == 'Speed Plus' || _root.armorSkill17 == 'Speed Plus' || _root.armorSkill18 == 'Speed Plus') {
_root.speedEx2 -= 5;
}
if (_root.armorSkill16 == 'More Strength' || _root.armorSkill17 == 'More Strength' || _root.armorSkill18 == 'More Strength') {
_root.strength2 -= 10;
}
if (_root.armorSkill16 == 'HP Plus' || _root.armorSkill17 == 'HP Plus' || _root.armorSkill18 == 'HP Plus') {
_root.maxhp2 -= 20;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.armorSkill16 == 'More HP' || _root.armorSkill17 == 'More HP' || _root.armorSkill18 == 'More HP') {
_root.maxhp2 -= 50;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.armorSkill16 == 'Ultra HP' || _root.armorSkill17 == 'Ultra HP' || _root.armorSkill18 == 'Ultra HP') {
_root.maxhp2 -= 100;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.armorSkill16 == 'Ultra MP' || _root.armorSkill17 == 'Ultra MP' || _root.armorSkill18 == 'Ultra MP') {
_root.maxmp2 -= 30;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
if (_root.armorSkill16 == 'MP Plus' || _root.armorSkill17 == 'MP Plus' || _root.armorSkill18 == 'MP Plus') {
_root.maxmp2 -= 7;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
if (_root.armorSkill16 == 'Super Speed' || _root.armorSkill17 == 'Super Speed' || _root.armorSkill18 == 'Super Speed') {
_root.speedEx2 -= 20;
}
if (_root.armorSkill16 == 'Defense Plus' || _root.armorSkill17 == 'Defense Plus' || _root.armorSkill18 == 'Defense Plus') {
_root.defense2 -= 7;
}
if (_root.armorSkill16 == 'Ultra Defense' || _root.armorSkill17 == 'Ultra Defense' || _root.armorSkill18 == 'Ultra Defense') {
_root.defense2 -= 30;
}
if (_root.armorSkill16 == 'Ultra Strength' || _root.armorSkill17 == 'Ultra Strength' || _root.armorSkill18 == 'Ultra Strength') {
_root.strength2 -= 20;
}
if (_root.armorSkill16 == 'Speed of light' || _root.armorSkill17 == 'Speed of light' || _root.armorSkill18 == 'Speed of light') {
_root.speedEx2 -= 40;
}
if (_root.armorSkill16 == 'Ultra Skills' || _root.armorSkill17 == 'Ultra Skills' || _root.armorSkill18 == 'Ultra Skills') {
_root.skills2 -= 15;
}
if (_root.armorSkill16 == 'More HP Plus' || _root.armorSkill17 == 'More HP Plus' || _root.armorSkill18 == 'More HP Plus') {
_root.maxhp2 -= 75;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.armorSkill16 == 'MP times two' || _root.armorSkill17 == 'MP times two' || _root.armorSkill18 == 'MP times two') {
_root.mptwo2 = 1;
_root.maxmp2 *= 0.5;
}
if (_root.armorSkill16 == 'HP times two' || _root.armorSkill17 == 'HP times two' || _root.armorSkill18 == 'HP times two') {
_root.hptwo2 = 1;
_root.maxhp2 *= 0.5;
}
if (_root.armorSkill17 == 'Giant Strength') {
_root.strength2 -= 80;
}
if (_root.armorSkill18 == 'Super Skilled') {
_root.skills2 -= 120;
}
if (_root.armorSkill18 == 'Superman Speed') {
_root.speedEx2 -= 130;
}
if (_root.armorSkill17 == 'Invulnerable') {
_root.defense2 -= 60;
}
if (_root.armorSkill18 == 'SuperMan') {
_root.defense2 -= 120;
_root.speedEx2 -= 140;
_root.skills2 -= 140;
_root.strength2 -= 100;
}
}
}
}
button 9863 {
on (release) {
if (_root.equipArmor6 != 1) {
_root.weapon6 = 0;
_root.armor6 = 0;
_root.belt6 = 0;
_root.glasses6 = 0;
gotoAndPlay(1);
}
}
}
button 9864 {
on (release) {
if (_root.equipArmor5 != 1 && _root.equipArmor6 != 1 && _root.equipArmor7 != 1 && _root.equipArmor8 != 1) {
_root.equipArmor6 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(3) + 1;
switch (attack) {
case 1:
_root.armorLook2 = 1;
break;
case 2:
_root.armorLook2 = 2;
break;
case 3:
_root.armorLook2 = 3;
}
if (_root.armorSkill16 == 'OK defense' || _root.armorSkill17 == 'OK defense' || _root.armorSkill18 == 'OK defense') {
_root.defense2 += 5;
}
if (_root.armorSkill16 == 'Double Defense' || _root.armorSkill17 == 'Double Defense' || _root.armorSkill18 == 'Double Defense') {
_root.defense2 += 10;
}
if (_root.armorSkill16 == 'Extra Fast' || _root.armorSkill17 == 'Extra Fast' || _root.armorSkill18 == 'Extra Fast') {
_root.speedEx2 += 2;
}
if (_root.armorSkill16 == 'More MP' || _root.armorSkill17 == 'More MP' || _root.armorSkill18 == 'More MP') {
_root.maxmp2 += 5;
}
if (_root.armorSkill16 == 'Extra Strength' || _root.armorSkill17 == 'Extra Strength' || _root.armorSkill18 == 'Extra Strength') {
_root.strength2 += 7;
}
if (_root.armorSkill16 == 'Skills Plus' || _root.armorSkill17 == 'Skills Plus' || _root.armorSkill18 == 'Skills Plus') {
_root.skills2 += 4;
}
if (_root.armorSkill16 == 'More Defense' || _root.armorSkill17 == 'More Defense' || _root.armorSkill18 == 'More Defense') {
_root.defense2 += 15;
}
if (_root.armorSkill16 == 'Speed Plus' || _root.armorSkill17 == 'Speed Plus' || _root.armorSkill18 == 'Speed Plus') {
_root.speedEx2 += 5;
}
if (_root.armorSkill16 == 'More Strength' || _root.armorSkill17 == 'More Strength' || _root.armorSkill18 == 'More Strength') {
_root.strength2 += 10;
}
if (_root.armorSkill16 == 'HP Plus' || _root.armorSkill17 == 'HP Plus' || _root.armorSkill18 == 'HP Plus') {
_root.maxhp2 += 20;
}
if (_root.armorSkill16 == 'More HP' || _root.armorSkill17 == 'More HP' || _root.armorSkill18 == 'More HP') {
_root.maxhp2 += 50;
}
if (_root.armorSkill16 == 'Ultra HP' || _root.armorSkill17 == 'Ultra HP' || _root.armorSkill18 == 'Ultra HP') {
_root.maxhp2 += 100;
}
if (_root.armorSkill16 == 'Ultra MP' || _root.armorSkill17 == 'Ultra MP' || _root.armorSkill18 == 'Ultra MP') {
_root.maxmp2 += 30;
}
if (_root.armorSkill16 == 'MP Plus' || _root.armorSkill17 == 'MP Plus' || _root.armorSkill18 == 'MP Plus') {
_root.maxmp2 += 7;
}
if (_root.armorSkill16 == 'Super Speed' || _root.armorSkill17 == 'Super Speed' || _root.armorSkill18 == 'Super Speed') {
_root.speedEx2 += 20;
}
if (_root.armorSkill16 == 'Defense Plus' || _root.armorSkill17 == 'Defense Plus' || _root.armorSkill18 == 'Defense Plus') {
_root.defense2 += 7;
}
if (_root.armorSkill16 == 'Ultra Defense' || _root.armorSkill17 == 'Ultra Defense' || _root.armorSkill18 == 'Ultra Defense') {
_root.defense2 += 30;
}
if (_root.armorSkill16 == 'Ultra Strength' || _root.armorSkill17 == 'Ultra Strength' || _root.armorSkill18 == 'Ultra Strength') {
_root.strength2 += 20;
}
if (_root.armorSkill16 == 'Speed of light' || _root.armorSkill17 == 'Speed of light' || _root.armorSkill18 == 'Speed of light') {
_root.speedEx2 += 40;
}
if (_root.armorSkill16 == 'Ultra Skills' || _root.armorSkill17 == 'Ultra Skills' || _root.armorSkill18 == 'Ultra Skills') {
_root.skills2 += 15;
}
if (_root.armorSkill16 == 'More HP Plus' || _root.armorSkill17 == 'More HP Plus' || _root.armorSkill18 == 'More HP Plus') {
_root.maxhp2 += 75;
}
if (_root.armorSkill16 == 'MP times two' || _root.armorSkill17 == 'MP times two' || _root.armorSkill18 == 'MP times two') {
_root.mptwo2 = 2;
_root.maxmp2 *= 2;
}
if (_root.armorSkill16 == 'HP times two' || _root.armorSkill17 == 'HP times two' || _root.armorSkill18 == 'HP times two') {
_root.hptwo2 = 2;
_root.maxhp2 *= 2;
}
if (_root.armorSkill17 == 'Giant Strength') {
_root.strength2 += 80;
}
if (_root.armorSkill18 == 'Super Skilled') {
_root.skills2 += 120;
}
if (_root.armorSkill18 == 'Superman Speed') {
_root.speedEx2 += 130;
}
if (_root.armorSkill17 == 'Invulnerable') {
_root.defense2 += 60;
}
if (_root.armorSkill18 == 'SuperMan') {
_root.defense2 += 120;
_root.speedEx2 += 140;
_root.skills2 += 140;
_root.strength2 += 100;
}
}
}
}
button 9871 {
on (release) {
if (_root.equipBelt6 != 0) {
_root.equipBelt5 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipBelt6 = 0;
_root.equipBelt7 = 0;
_root.equipBelt8 = 0;
_root.beltLook2 = 0;
if (_root.beltSkill6 == 'More MP') {
_root.maxmp2 -= 5;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
} else {
if (_root.beltSkill6 == 'Defense') {
_root.defense2 -= 4;
} else {
if (_root.beltSkill6 == 'Speedy') {
_root.speedEx2 -= 2;
} else {
if (_root.beltSkill6 == 'Stronger') {
_root.strength2 -= 5;
} else {
if (_root.beltSkill6 == 'Master') {
_root.strength2 -= 8;
_root.speedEx2 -= 3;
} else {
if (_root.beltSkill6 == 'Skillful') {
_root.skills2 -= 10;
} else {
if (_root.beltSkill6 == 'Invincible') {
_root.strength2 -= 10;
_root.skills2 -= 10;
_root.defense2 -= 10;
} else {
if (_root.beltSkill6 == 'MP Plus') {
_root.maxmp2 -= 10;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
} else {
if (_root.beltSkill6 == 'More Defense') {
_root.defense2 -= 10;
} else {
if (_root.beltSkill6 == 'Double Strong') {
_root.strength2 -= 13;
} else {
if (_root.beltSkill6 == 'Speedy Plus') {
_root.speedEx2 -= 7;
} else {
if (_root.beltSkill6 == 'HP Plus') {
_root.maxhp2 -= 30;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
} else {
if (_root.beltSkill6 == 'More HP') {
_root.maxhp2 -= 50;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9872 {
on (release) {
if (_root.equipBelt6 != 1) {
_root.weapon6 = 0;
_root.armor6 = 0;
_root.belt6 = 0;
_root.glasses6 = 0;
gotoAndPlay(1);
}
}
}
button 9873 {
on (release) {
if (_root.equipBelt5 != 1 && _root.equipBelt6 != 1 && _root.equipBelt7 != 1 && _root.equipBelt8 != 1) {
_root.equipBelt6 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(4) + 1;
switch (attack) {
case 1:
_root.beltLook2 = 1;
break;
case 2:
_root.beltLook2 = 2;
break;
case 3:
_root.beltLook2 = 3;
break;
case 4:
_root.beltLook2 = 4;
}
if (_root.beltSkill6 == 'More MP') {
_root.maxmp2 += 5;
} else {
if (_root.beltSkill6 == 'Defense') {
_root.defense2 += 4;
} else {
if (_root.beltSkill6 == 'Speedy') {
_root.speedEx2 += 2;
} else {
if (_root.beltSkill6 == 'Stronger') {
_root.strength2 += 5;
} else {
if (_root.beltSkill6 == 'Master') {
_root.strength2 += 8;
_root.speedEx2 += 3;
} else {
if (_root.beltSkill6 == 'Skillful') {
_root.skills2 += 10;
} else {
if (_root.beltSkill6 == 'Invincible') {
_root.strength2 += 10;
_root.skills2 += 10;
_root.defense2 += 10;
} else {
if (_root.beltSkill6 == 'MP Plus') {
_root.maxmp2 += 10;
} else {
if (_root.beltSkill6 == 'More Defense') {
_root.defense2 += 10;
} else {
if (_root.beltSkill6 == 'Double Strong') {
_root.strength2 += 13;
} else {
if (_root.beltSkill6 == 'Speedy Plus') {
_root.speedEx2 += 7;
} else {
if (_root.beltSkill6 == 'HP Plus') {
_root.maxhp2 += 30;
} else {
if (_root.beltSkill6 == 'More HP') {
_root.maxhp2 += 50;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9878 {
on (release) {
if (_root.equipGlasses6 != 0) {
_level0.glassesLook2 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipGlasses5 = 0;
_root.equipGlasses6 = 0;
_root.equipGlasses7 = 0;
_root.equipGlasses8 = 0;
if (_root.glassesSkill6 == 'More MP') {
_root.maxmp2 -= 5;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
} else {
if (_root.glassesSkill6 == 'Defense') {
_root.defense2 -= 4;
} else {
if (_root.glassesSkill6 == 'Speedy') {
_root.speedEx2 -= 2;
} else {
if (_root.glassesSkill6 == 'Stronger') {
_root.strength2 -= 5;
} else {
if (_root.glassesSkill6 == 'Master') {
_root.strength2 -= 8;
_root.speedEx2 -= 3;
} else {
if (_root.glassesSkill6 == 'Skillful') {
_root.skills2 -= 10;
} else {
if (_root.glassesSkill6 == 'Invincible') {
_root.strength2 -= 10;
_root.skills2 -= 10;
_root.defense2 -= 10;
} else {
if (_root.glassesSkill6 == 'MP Plus') {
_root.maxmp2 -= 10;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
} else {
if (_root.glassesSkill6 == 'More Defense') {
_root.defense2 -= 10;
} else {
if (_root.glassesSkill6 == 'Double Strong') {
_root.strength2 -= 13;
} else {
if (_root.glassesSkill6 == 'Speedy Plus') {
_root.speedEx2 -= 7;
} else {
if (_root.glassesSkill6 == 'HP Plus') {
_root.maxhp2 -= 30;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
} else {
if (_root.glassesSkill6 == 'More HP') {
_root.maxhp2 -= 50;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9879 {
on (release) {
if (_root.equipGlasses6 != 1) {
_root.weapon6 = 0;
_root.armor6 = 0;
_root.belt6 = 0;
_root.glasses6 = 0;
gotoAndPlay(1);
}
}
}
button 9880 {
on (release) {
if (_root.equipGlasses5 != 1 && _root.equipGlasses6 != 1 && _root.equipGlasses7 != 1 && _root.equipGlasses8 != 1) {
_root.equipGlasses6 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(3) + 1;
switch (attack) {
case 1:
_level0.glassesLook2 = 1;
break;
case 2:
_level0.glassesLook2 = 2;
break;
case 3:
_level0.glassesLook2 = 3;
}
if (_root.glassesSkill6 == 'More MP') {
_root.maxmp2 += 5;
} else {
if (_root.glassesSkill6 == 'Defense') {
_root.defense2 += 4;
} else {
if (_root.glassesSkill6 == 'Speedy') {
_root.speedEx2 += 2;
} else {
if (_root.glassesSkill6 == 'Stronger') {
_root.strength2 += 5;
} else {
if (_root.glassesSkill6 == 'Master') {
_root.strength2 += 8;
_root.speedEx2 += 3;
} else {
if (_root.glassesSkill6 == 'Skillful') {
_root.skills2 += 10;
} else {
if (_root.glassesSkill6 == 'Invincible') {
_root.strength2 += 10;
_root.skills2 += 10;
_root.defense2 += 10;
} else {
if (_root.glassesSkill6 == 'MP Plus') {
_root.maxmp2 += 10;
} else {
if (_root.glassesSkill6 == 'More Defense') {
_root.defense2 += 10;
} else {
if (_root.glassesSkill6 == 'Double Strong') {
_root.strength2 += 13;
} else {
if (_root.glassesSkill6 == 'Speedy Plus') {
_root.speedEx2 += 7;
} else {
if (_root.glassesSkill6 == 'HP Plus') {
_root.maxhp2 += 30;
} else {
if (_root.glassesSkill6 == 'More HP') {
_root.maxhp2 += 50;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
movieClip 9885 {
frame 1 {
if (_root.weapon6 == 1) {
gotoAndPlay(2);
} else {
if (_root.armor6 == 1) {
gotoAndPlay(3);
} else {
if (_root.belt6 == 1) {
gotoAndPlay(4);
} else {
if (_root.glasses6 == 1) {
gotoAndPlay(5);
} else {
stop();
}
}
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
button 9886 {
on (release) {
if (_root.equipWeapon7 != 0) {
_root.weaponLook2 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipWeapon5 = 0;
_root.equipWeapon6 = 0;
_root.equipWeapon7 = 0;
_root.equipWeapon8 = 0;
if (_root.weaponSkill19 == 'OK damage' || _root.weaponSkill20 == 'OK damage' || _root.weaponSkill21 == 'OK damage') {
_root.strength2 -= 5;
}
if (_root.weaponSkill19 == 'More MP' || _root.weaponSkill20 == 'More MP' || _root.weaponSkill21 == 'More MP') {
_root.maxmp2 -= 10;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
if (_root.weaponSkill19 == 'Speedy' || _root.weaponSkill20 == 'Speedy' || _root.weaponSkill21 == 'Speedy') {
_level0.speedEx2 -= 3;
}
if (_root.weaponSkill19 == 'Double Strength' || _root.weaponSkill20 == 'Double Strength' || _root.weaponSkill21 == 'Double Strength') {
_root.strength2 -= 10;
}
if (_root.weaponSkill19 == 'Super MP' || _root.weaponSkill20 == 'Super MP' || _root.weaponSkill21 == 'Super MP') {
_root.maxmp2 -= 20;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
if (_root.weaponSkill19 == 'HP Plus' || _root.weaponSkill20 == 'HP Plus' || _root.weaponSkill21 == 'HP Plus') {
_root.maxhp2 -= 30;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.weaponSkill19 == 'More HP' || _root.weaponSkill20 == 'More HP' || _root.weaponSkill21 == 'More HP') {
_root.maxhp2 -= 50;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.weaponSkill19 == 'Super HP' || _root.weaponSkill20 == 'Super HP' || _root.weaponSkill21 == 'Super HP') {
_root.maxhp2 -= 100;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.weaponSkill19 == 'Speed Plus' || _root.weaponSkill20 == 'Speed Plus' || _root.weaponSkill21 == 'Speed Plus') {
_level0.speedEx2 -= 10;
}
if (_root.weaponSkill19 == 'Super Speed' || _root.weaponSkill20 == 'Speed Plus' || _root.weaponSkill21 == 'Speed Plus') {
_level0.speedEx2 -= 20;
}
if (_root.weaponSkill19 == 'Strong' || _root.weaponSkill20 == 'Strong' || _root.weaponSkill21 == 'Strong') {
_root.strength2 -= 15;
}
if (_root.weaponSkill19 == 'Money Maker' || _root.weaponSkill20 == 'Money Maker' || _root.weaponSkill21 == 'Money Maker') {
_root.moneyPlus = 1;
}
if (_root.weaponSkill19 == 'EXP More' || _root.weaponSkill20 == 'EXP More' || _root.weaponSkill21 == 'EXP More') {
_root.EXPMore = 1;
}
if (_root.weaponSkill19 == 'Super Strength' || _root.weaponSkill20 == 'Super Strength' || _root.weaponSkill21 == 'Super Strength') {
_root.strength2 -= 25;
}
if (_root.weaponSkill19 == 'Skills Plus' || _root.weaponSkill20 == 'Skills Plus' || _root.weaponSkill18 == 'Skills Plus') {
_root.skills2 -= 10;
}
if (_root.weaponSkill19 == 'More Skills' || _root.weaponSkill20 == 'More Skills' || _root.weaponSkill21 == 'More Skills') {
_root.skills2 -= 15;
}
if (_root.weaponSkill19 == 'Super Skills' || _root.weaponSkill20 == 'Super Skills' || _root.weaponSkill21 == 'Super Skills') {
_root.skills2 -= 23;
}
if (_root.weaponSkill19 == 'Defense Plus' || _root.weaponSkill20 == 'Defense Plus' || _root.weaponSkill21 == 'Defense Plus') {
_root.defense2 -= 10;
}
if (_root.weaponSkill19 == 'Super Defense' || _root.weaponSkill20 == 'Super Defense' || _root.weaponSkill21 == 'Super Defense') {
_root.defense2 -= 30;
}
if (_root.weaponSkill19 == 'Invincible' || _root.weaponSkill20 == 'Invincible' || _root.weaponSkill21 == 'Invincible') {
_root.defense2 -= 60;
_root.maxhp2 -= 200;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.weaponSkill19 == 'Immortal' || _root.weaponSkill20 == 'Immortal' || _root.weaponSkill21 == 'Immortal') {
_root.maxhp2 -= 500;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.weaponSkill19 == 'God' || _root.weaponSkill20 == 'God' || _root.weaponSkill21 == 'God') {
_root.strength2 -= 70;
_root.defense2 -= 50;
_root.skills2 -= 50;
_root.maxhp2 -= 700;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.weaponSkill19 == 'Skilled') {
_root.skills2 -= 8;
}
if (_root.weaponSkill20 == 'Life Leech') {
_root.lifeLeech2 -= 2;
}
if (_root.weaponSkill20 == 'Mana Leech') {
_root.magLeech2 -= 2;
}
if (_root.weaponSkill21 == 'Super Life Leech') {
_root.lifeLeech2 -= 5;
}
if (_root.weaponSkill21 == 'Super Mana Leech') {
_root.magLeech2 -= 5;
}
}
}
}
button 9887 {
on (release) {
if (_root.equipWeapon7 != 1) {
_root.weapon7 = 0;
_root.armor7 = 0;
_root.belt7 = 0;
_root.glasses7 = 0;
gotoAndPlay(1);
}
}
}
button 9888 {
on (release) {
if (_root.equipWeapon5 != 1 && _root.equipWeapon6 != 1 && _root.equipWeapon7 != 1 && _root.equipWeapon8 != 1) {
_root.equipWeapon7 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(5) + 1;
switch (attack) {
case 1:
_root.weaponLook2 = 1;
break;
case 2:
_root.weaponLook2 = 2;
break;
case 3:
_root.weaponLook2 = 3;
break;
case 4:
_root.weaponLook2 = 4;
break;
case 5:
_root.weaponLook2 = 5;
break;
case 6:
_root.weaponLook2 = 6;
break;
case 7:
_root.weaponLook2 = 7;
}
if (_root.weaponSkill19 == 'OK damage' || _root.weaponSkill20 == 'OK damage' || _root.weaponSkill21 == 'OK damage') {
_root.strength2 += 5;
}
if (_root.weaponSkill19 == 'More MP' || _root.weaponSkill20 == 'More MP' || _root.weaponSkill21 == 'More MP') {
_root.maxmp2 += 10;
}
if (_root.weaponSkill19 == 'Speedy' || _root.weaponSkill20 == 'Speedy' || _root.weaponSkill21 == 'Speedy') {
_level0.speedEx2 += 3;
}
if (_root.weaponSkill19 == 'Double Strength' || _root.weaponSkill20 == 'Double Strength' || _root.weaponSkill21 == 'Double Strength') {
_root.strength2 += 10;
}
if (_root.weaponSkill19 == 'Super MP' || _root.weaponSkill20 == 'Super MP' || _root.weaponSkill21 == 'Super MP') {
_root.maxmp2 += 20;
}
if (_root.weaponSkill19 == 'HP Plus' || _root.weaponSkill20 == 'HP Plus' || _root.weaponSkill21 == 'HP Plus') {
_root.maxhp2 += 30;
}
if (_root.weaponSkill19 == 'More HP' || _root.weaponSkill20 == 'More HP' || _root.weaponSkill21 == 'More HP') {
_root.maxhp2 += 50;
}
if (_root.weaponSkill19 == 'Super HP' || _root.weaponSkill20 == 'Super HP' || _root.weaponSkill21 == 'Super HP') {
_root.maxhp2 += 100;
}
if (_root.weaponSkill19 == 'Speed Plus' || _root.weaponSkill20 == 'Speed Plus' || _root.weaponSkill21 == 'Speed Plus') {
_level0.speedEx2 += 10;
}
if (_root.weaponSkill19 == 'Super Speed' || _root.weaponSkill20 == 'Speed Plus' || _root.weaponSkill21 == 'Speed Plus') {
_level0.speedEx2 += 20;
}
if (_root.weaponSkill19 == 'Strong' || _root.weaponSkill20 == 'Strong' || _root.weaponSkill21 == 'Strong') {
_root.strength2 += 15;
}
if (_root.weaponSkill19 == 'Money Maker' || _root.weaponSkill20 == 'Money Maker' || _root.weaponSkill21 == 'Money Maker') {
_root.moneyPlus = 2;
}
if (_root.weaponSkill19 == 'EXP More' || _root.weaponSkill20 == 'EXP More' || _root.weaponSkill21 == 'EXP More') {
_root.EXPMore = 2;
}
if (_root.weaponSkill19 == 'Super Strength' || _root.weaponSkill20 == 'Super Strength' || _root.weaponSkill21 == 'Super Strength') {
_root.strength2 += 25;
}
if (_root.weaponSkill19 == 'Skills Plus' || _root.weaponSkill20 == 'Skills Plus' || _root.weaponSkill21 == 'Skills Plus') {
_root.skills2 += 10;
}
if (_root.weaponSkill19 == 'More Skills' || _root.weaponSkill20 == 'More Skills' || _root.weaponSkill21 == 'More Skills') {
_root.skills2 += 15;
}
if (_root.weaponSkill19 == 'Super Skills' || _root.weaponSkill20 == 'Super Skills' || _root.weaponSkill21 == 'Super Skills') {
_root.skills2 += 23;
}
if (_root.weaponSkill19 == 'Defense Plus' || _root.weaponSkill20 == 'Defense Plus' || _root.weaponSkill21 == 'Defense Plus') {
_root.defense2 += 10;
}
if (_root.weaponSkill19 == 'Super Defense' || _root.weaponSkill20 == 'Super Defense' || _root.weaponSkill21 == 'Super Defense') {
_root.defense2 += 30;
}
if (_root.weaponSkill19 == 'Invincible' || _root.weaponSkill20 == 'Invincible' || _root.weaponSkill21 == 'Invincible') {
_root.defense2 += 60;
_root.maxhp2 += 200;
}
if (_root.weaponSkill19 == 'Immortal' || _root.weaponSkill20 == 'Immortal' || _root.weaponSkill21 == 'Immortal') {
_root.maxhp2 += 500;
}
if (_root.weaponSkill19 == 'God' || _root.weaponSkill20 == 'God' || _root.weaponSkill21 == 'God') {
_root.strength2 += 70;
_root.defense2 += 50;
_root.skills2 += 50;
_root.maxhp2 += 700;
}
if (_root.weaponSkill19 == 'Skilled') {
_root.skills2 += 8;
}
if (_root.weaponSkill20 == 'Life Leech') {
_root.lifeLeech2 += 2;
}
if (_root.weaponSkill20 == 'Mana Leech') {
_root.magLeech2 += 2;
}
if (_root.weaponSkill21 == 'Super Life Leech') {
_root.lifeLeech2 += 5;
}
if (_root.weaponSkill21 == 'Super Mana Leech') {
_root.magLeech2 += 5;
}
}
}
}
movieClip 9893 {
frame 1 {
if (_root.equipWeapon7 == 1 || _root.equipArmor7 == 1 || _root.equipGlasses7 == 1 || _root.equipBelt7 == 1) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 2 {
stop();
}
}
button 9895 {
on (release) {
if (_root.equipArmor7 != 0) {
_root.armorLook2 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipArmor5 = 0;
_root.equipArmor6 = 0;
_root.equipArmor7 = 0;
_root.equipArmor8 = 0;
if (_root.armorSkill19 == 'OK defense' || _root.armorSkill20 == 'OK defense' || _root.armorSkill21 == 'OK defense') {
_root.defense2 -= 5;
}
if (_root.armorSkill19 == 'Double Defense' || _root.armorSkill20 == 'Double Defense' || _root.armorSkill21 == 'Double Defense') {
_root.defense2 -= 10;
}
if (_root.armorSkill19 == 'Extra Fast' || _root.armorSkill20 == 'Extra Fast' || _root.armorSkill21 == 'Extra Fast') {
_root.speedEx2 -= 2;
}
if (_root.armorSkill19 == 'More MP' || _root.armorSkill120 == 'More MP' || _root.armorSkill21 == 'More MP') {
_root.maxmp2 -= 5;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
if (_root.armorSkill19 == 'Extra Strength' || _root.armorSkill20 == 'Extra Strength' || _root.armorSkill21 == 'Extra Strength') {
_root.strength2 -= 7;
}
if (_root.armorSkill19 == 'Skills Plus' || _root.armorSkill20 == 'Skills Plus' || _root.armorSkill21 == 'Skills Plus') {
_root.skills2 -= 4;
}
if (_root.armorSkill19 == 'More Defense' || _root.armorSkill20 == 'More Defense' || _root.armorSkill21 == 'More Defense') {
_root.defense2 -= 15;
}
if (_root.armorSkill19 == 'Speed Plus' || _root.armorSkill20 == 'Speed Plus' || _root.armorSkill21 == 'Speed Plus') {
_root.speedEx2 -= 5;
}
if (_root.armorSkill19 == 'More Strength' || _root.armorSkill20 == 'More Strength' || _root.armorSkill21 == 'More Strength') {
_root.strength2 -= 10;
}
if (_root.armorSkill19 == 'HP Plus' || _root.armorSkill20 == 'HP Plus' || _root.armorSkill21 == 'HP Plus') {
_root.maxhp2 -= 20;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.armorSkill19 == 'More HP' || _root.armorSkill20 == 'More HP' || _root.armorSkill21 == 'More HP') {
_root.maxhp2 -= 50;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.armorSkill19 == 'Ultra HP' || _root.armorSkill20 == 'Ultra HP' || _root.armorSkill21 == 'Ultra HP') {
_root.maxhp2 -= 100;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.armorSkill19 == 'Ultra MP' || _root.armorSkill20 == 'Ultra MP' || _root.armorSkill21 == 'Ultra MP') {
_root.maxmp2 -= 30;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
if (_root.armorSkill19 == 'MP Plus' || _root.armorSkill20 == 'MP Plus' || _root.armorSkill21 == 'MP Plus') {
_root.maxmp2 -= 7;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
if (_root.armorSkill19 == 'Super Speed' || _root.armorSkill20 == 'Super Speed' || _root.armorSkill21 == 'Super Speed') {
_root.speedEx2 -= 20;
}
if (_root.armorSkill19 == 'Defense Plus' || _root.armorSkill20 == 'Defense Plus' || _root.armorSkill21 == 'Defense Plus') {
_root.defense2 -= 7;
}
if (_root.armorSkill19 == 'Ultra Defense' || _root.armorSkill20 == 'Ultra Defense' || _root.armorSkill21 == 'Ultra Defense') {
_root.defense2 -= 30;
}
if (_root.armorSkill19 == 'Ultra Strength' || _root.armorSkill20 == 'Ultra Strength' || _root.armorSkill21 == 'Ultra Strength') {
_root.strength2 -= 20;
}
if (_root.armorSkill19 == 'Speed of light' || _root.armorSkill20 == 'Speed of light' || _root.armorSkill21 == 'Speed of light') {
_root.speedEx2 -= 40;
}
if (_root.armorSkill19 == 'Ultra Skills' || _root.armorSkill20 == 'Ultra Skills' || _root.armorSkill21 == 'Ultra Skills') {
_root.skills2 -= 15;
}
if (_root.armorSkill19 == 'More HP Plus' || _root.armorSkill20 == 'More HP Plus' || _root.armorSkill21 == 'More HP Plus') {
_root.maxhp2 -= 75;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.armorSkill19 == 'MP times two' || _root.armorSkill20 == 'MP times two' || _root.armorSkill21 == 'MP times two') {
_root.mptwo2 = 1;
_root.maxmp2 *= 0.5;
}
if (_root.armorSkill19 == 'HP times two' || _root.armorSkill20 == 'HP times two' || _root.armorSkill21 == 'HP times two') {
_root.hptwo2 = 1;
_root.maxhp2 *= 0.5;
}
if (_root.armorSkill20 == 'Giant Strength') {
_root.strength2 -= 80;
}
if (_root.armorSkill21 == 'Super Skilled') {
_root.skills2 -= 120;
}
if (_root.armorSkill21 == 'Superman Speed') {
_root.speedEx2 -= 130;
}
if (_root.armorSkill20 == 'Invulnerable') {
_root.defense2 -= 60;
}
if (_root.armorSkill21 == 'SuperMan') {
_root.defense2 -= 120;
_root.speedEx2 -= 140;
_root.skills2 -= 140;
_root.strength2 -= 100;
}
}
}
}
button 9896 {
on (release) {
if (_root.equipArmor7 != 1) {
_root.weapon7 = 0;
_root.armor7 = 0;
_root.belt7 = 0;
_root.glasses7 = 0;
gotoAndPlay(1);
}
}
}
button 9897 {
on (release) {
if (_root.equipArmor5 != 1 && _root.equipArmor6 != 1 && _root.equipArmor7 != 1 && _root.equipArmor8 != 1) {
_root.equipArmor7 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(3) + 1;
switch (attack) {
case 1:
_root.armorLook2 = 1;
break;
case 2:
_root.armorLook2 = 2;
break;
case 3:
_root.armorLook2 = 3;
}
if (_root.armorSkill19 == 'OK defense' || _root.armorSkill20 == 'OK defense' || _root.armorSkill21 == 'OK defense') {
_root.defense2 += 5;
}
if (_root.armorSkill19 == 'Double Defense' || _root.armorSkill20 == 'Double Defense' || _root.armorSkill21 == 'Double Defense') {
_root.defense2 += 10;
}
if (_root.armorSkill19 == 'Extra Fast' || _root.armorSkill20 == 'Extra Fast' || _root.armorSkill21 == 'Extra Fast') {
_root.speedEx2 += 2;
}
if (_root.armorSkill19 == 'More MP' || _root.armorSkill20 == 'More MP' || _root.armorSkill21 == 'More MP') {
_root.maxmp2 += 5;
}
if (_root.armorSkill19 == 'Extra Strength' || _root.armorSkill20 == 'Extra Strength' || _root.armorSkill21 == 'Extra Strength') {
_root.strength2 += 7;
}
if (_root.armorSkill19 == 'Skills Plus' || _root.armorSkill20 == 'Skills Plus' || _root.armorSkill21 == 'Skills Plus') {
_root.skills2 += 4;
}
if (_root.armorSkill19 == 'More Defense' || _root.armorSkill20 == 'More Defense' || _root.armorSkill21 == 'More Defense') {
_root.defense2 += 15;
}
if (_root.armorSkill19 == 'Speed Plus' || _root.armorSkill20 == 'Speed Plus' || _root.armorSkill21 == 'Speed Plus') {
_root.speedEx2 += 5;
}
if (_root.armorSkill19 == 'More Strength' || _root.armorSkill20 == 'More Strength' || _root.armorSkill21 == 'More Strength') {
_root.strength2 += 10;
}
if (_root.armorSkill19 == 'HP Plus' || _root.armorSkill20 == 'HP Plus' || _root.armorSkill21 == 'HP Plus') {
_root.maxhp2 += 20;
}
if (_root.armorSkill19 == 'More HP' || _root.armorSkill20 == 'More HP' || _root.armorSkill21 == 'More HP') {
_root.maxhp2 += 50;
}
if (_root.armorSkill19 == 'Ultra HP' || _root.armorSkill20 == 'Ultra HP' || _root.armorSkill21 == 'Ultra HP') {
_root.maxhp2 += 100;
}
if (_root.armorSkill19 == 'Ultra MP' || _root.armorSkill20 == 'Ultra MP' || _root.armorSkill21 == 'Ultra MP') {
_root.maxmp2 += 30;
}
if (_root.armorSkill19 == 'MP Plus' || _root.armorSkill20 == 'MP Plus' || _root.armorSkill21 == 'MP Plus') {
_root.maxmp2 += 7;
}
if (_root.armorSkill19 == 'Super Speed' || _root.armorSkill20 == 'Super Speed' || _root.armorSkill21 == 'Super Speed') {
_root.speedEx2 += 20;
}
if (_root.armorSkill19 == 'Defense Plus' || _root.armorSkill20 == 'Defense Plus' || _root.armorSkill21 == 'Defense Plus') {
_root.defense2 += 7;
}
if (_root.armorSkill19 == 'Ultra Defense' || _root.armorSkill20 == 'Ultra Defense' || _root.armorSkill21 == 'Ultra Defense') {
_root.defense2 += 30;
}
if (_root.armorSkill19 == 'Ultra Strength' || _root.armorSkill20 == 'Ultra Strength' || _root.armorSkill21 == 'Ultra Strength') {
_root.strength2 += 20;
}
if (_root.armorSkill19 == 'Speed of light' || _root.armorSkill20 == 'Speed of light' || _root.armorSkill21 == 'Speed of light') {
_root.speedEx2 += 40;
}
if (_root.armorSkill19 == 'Ultra Skills' || _root.armorSkill20 == 'Ultra Skills' || _root.armorSkill21 == 'Ultra Skills') {
_root.skills2 += 15;
}
if (_root.armorSkill19 == 'More HP Plus' || _root.armorSkill20 == 'More HP Plus' || _root.armorSkill21 == 'More HP Plus') {
_root.maxhp2 += 75;
}
if (_root.armorSkill19 == 'MP times two' || _root.armorSkill20 == 'MP times two' || _root.armorSkill21 == 'MP times two') {
_root.mptwo2 = 2;
_root.maxmp2 *= 2;
}
if (_root.armorSkill19 == 'HP times two' || _root.armorSkill20 == 'HP times two' || _root.armorSkill21 == 'HP times two') {
_root.hptwo2 = 2;
_root.maxhp2 *= 2;
}
if (_root.armorSkill20 == 'Giant Strength') {
_root.strength2 += 80;
}
if (_root.armorSkill21 == 'Super Skilled') {
_root.skills2 += 120;
}
if (_root.armorSkill21 == 'Superman Speed') {
_root.speedEx2 += 130;
}
if (_root.armorSkill20 == 'Invulnerable') {
_root.defense2 += 60;
}
if (_root.armorSkill21 == 'SuperMan') {
_root.defense2 += 120;
_root.speedEx2 += 140;
_root.skills2 += 140;
_root.strength2 += 100;
}
}
}
}
button 9903 {
on (release) {
if (_root.equipBelt7 != 0) {
_root.equipBelt5 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipBelt6 = 0;
_root.equipBelt7 = 0;
_root.equipBelt8 = 0;
_root.beltLook2 = 0;
if (_root.beltSkill7 == 'More MP') {
_root.maxmp2 -= 5;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
} else {
if (_root.beltSkill7 == 'Defense') {
_root.defense2 -= 4;
} else {
if (_root.beltSkill7 == 'Speedy') {
_root.speedEx2 -= 2;
} else {
if (_root.beltSkill7 == 'Stronger') {
_root.strength2 -= 5;
} else {
if (_root.beltSkill7 == 'Master') {
_root.strength2 -= 8;
_root.speedEx2 -= 3;
} else {
if (_root.beltSkill7 == 'Skillful') {
_root.skills2 -= 10;
} else {
if (_root.beltSkill7 == 'Invincible') {
_root.strength2 -= 10;
_root.skills2 -= 10;
_root.defense2 -= 10;
} else {
if (_root.beltSkill7 == 'MP Plus') {
_root.maxmp2 -= 10;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
} else {
if (_root.beltSkill7 == 'More Defense') {
_root.defense2 -= 10;
} else {
if (_root.beltSkill7 == 'Double Strong') {
_root.strength2 -= 13;
} else {
if (_root.beltSkill7 == 'Speedy Plus') {
_root.speedEx2 -= 7;
} else {
if (_root.beltSkill7 == 'HP Plus') {
_root.maxhp2 -= 30;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
} else {
if (_root.beltSkill7 == 'More HP') {
_root.maxhp2 -= 50;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9904 {
on (release) {
if (_root.equipBelt7 != 1) {
_root.weapon7 = 0;
_root.armor7 = 0;
_root.belt7 = 0;
_root.glasses7 = 0;
gotoAndPlay(1);
}
}
}
button 9905 {
on (release) {
if (_root.equipBelt5 != 1 && _root.equipBelt6 != 1 && _root.equipBelt7 != 1 && _root.equipBelt8 != 1) {
_root.equipBelt7 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(4) + 1;
switch (attack) {
case 1:
_root.beltLook2 = 1;
break;
case 2:
_root.beltLook2 = 2;
break;
case 3:
_root.beltLook2 = 3;
break;
case 4:
_root.beltLook2 = 4;
}
if (_root.beltSkill7 == 'More MP') {
_root.maxmp2 += 5;
} else {
if (_root.beltSkill7 == 'Defense') {
_root.defense2 += 4;
} else {
if (_root.beltSkill7 == 'Speedy') {
_root.speedEx2 += 2;
} else {
if (_root.beltSkill7 == 'Stronger') {
_root.strength2 += 5;
} else {
if (_root.beltSkill7 == 'Master') {
_root.strength2 += 8;
_root.speedEx2 += 3;
} else {
if (_root.beltSkill7 == 'Skillful') {
_root.skills2 += 10;
} else {
if (_root.beltSkill7 == 'Invincible') {
_root.strength2 += 10;
_root.skills2 += 10;
_root.defense2 += 10;
} else {
if (_root.beltSkill7 == 'MP Plus') {
_root.maxmp2 += 10;
} else {
if (_root.beltSkill7 == 'More Defense') {
_root.defense2 += 10;
} else {
if (_root.beltSkill7 == 'Double Strong') {
_root.strength2 += 13;
} else {
if (_root.beltSkill7 == 'Speedy Plus') {
_root.speedEx2 += 7;
} else {
if (_root.beltSkill7 == 'HP Plus') {
_root.maxhp2 += 30;
} else {
if (_root.beltSkill7 == 'More HP') {
_root.maxhp2 += 50;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9910 {
on (release) {
if (_root.equipGlasses7 != 0) {
_level0.glassesLook2 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipGlasses5 = 0;
_root.equipGlasses6 = 0;
_root.equipGlasses7 = 0;
_root.equipGlasses8 = 0;
if (_root.glassesSkill7 == 'More MP') {
_root.maxmp2 -= 5;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
} else {
if (_root.glassesSkill7 == 'Defense') {
_root.defense2 -= 4;
} else {
if (_root.glassesSkill7 == 'Speedy') {
_root.speedEx2 -= 2;
} else {
if (_root.glassesSkill7 == 'Stronger') {
_root.strength2 -= 5;
} else {
if (_root.glassesSkill7 == 'Master') {
_root.strength2 -= 8;
_root.speedEx2 -= 3;
} else {
if (_root.glassesSkill7 == 'Skillful') {
_root.skills2 -= 10;
} else {
if (_root.glassesSkill7 == 'Invincible') {
_root.strength2 -= 10;
_root.skills2 -= 10;
_root.defense2 -= 10;
} else {
if (_root.glassesSkill7 == 'MP Plus') {
_root.maxmp2 -= 10;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
} else {
if (_root.glassesSkill7 == 'More Defense') {
_root.defense2 -= 10;
} else {
if (_root.glassesSkill7 == 'Double Strong') {
_root.strength2 -= 13;
} else {
if (_root.glassesSkill7 == 'Speedy Plus') {
_root.speedEx2 -= 7;
} else {
if (_root.glassesSkill7 == 'HP Plus') {
_root.maxhp2 -= 30;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
} else {
if (_root.glassesSkill7 == 'More HP') {
_root.maxhp2 -= 50;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9911 {
on (release) {
if (_root.equipGlasses7 != 1) {
_root.weapon7 = 0;
_root.armor7 = 0;
_root.belt7 = 0;
_root.glasses7 = 0;
gotoAndPlay(1);
}
}
}
button 9912 {
on (release) {
if (_root.equipGlasses5 != 1 && _root.equipGlasses6 != 1 && _root.equipGlasses7 != 1 && _root.equipGlasses8 != 1) {
_root.equipGlasses7 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(3) + 1;
switch (attack) {
case 1:
_level0.glassesLook2 = 1;
break;
case 2:
_level0.glassesLook2 = 2;
break;
case 3:
_level0.glassesLook2 = 3;
}
if (_root.glassesSkill7 == 'More MP') {
_root.maxmp2 += 5;
} else {
if (_root.glassesSkill7 == 'Defense') {
_root.defense2 += 4;
} else {
if (_root.glassesSkill7 == 'Speedy') {
_root.speedEx2 += 2;
} else {
if (_root.glassesSkill7 == 'Stronger') {
_root.strength2 += 5;
} else {
if (_root.glassesSkill7 == 'Master') {
_root.strength2 += 8;
_root.speedEx2 += 3;
} else {
if (_root.glassesSkill7 == 'Skillful') {
_root.skills2 += 10;
} else {
if (_root.glassesSkill7 == 'Invincible') {
_root.strength2 += 10;
_root.skills2 += 10;
_root.defense2 += 10;
} else {
if (_root.glassesSkill7 == 'MP Plus') {
_root.maxmp2 += 10;
} else {
if (_root.glassesSkill7 == 'More Defense') {
_root.defense2 += 10;
} else {
if (_root.glassesSkill7 == 'Double Strong') {
_root.strength2 += 13;
} else {
if (_root.glassesSkill7 == 'Speedy Plus') {
_root.speedEx2 += 7;
} else {
if (_root.glassesSkill7 == 'HP Plus') {
_root.maxhp2 += 30;
} else {
if (_root.glassesSkill7 == 'More HP') {
_root.maxhp2 += 50;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
movieClip 9917 {
frame 1 {
if (_root.weapon7 == 1) {
gotoAndPlay(2);
} else {
if (_root.armor7 == 1) {
gotoAndPlay(3);
} else {
if (_root.belt7 == 1) {
gotoAndPlay(4);
} else {
if (_root.glasses7 == 1) {
gotoAndPlay(5);
} else {
stop();
}
}
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
button 9919 {
on (release) {
if (_root.equipWeapon8 != 0) {
_root.weaponLook2 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipWeapon5 = 0;
_root.equipWeapon6 = 0;
_root.equipWeapon7 = 0;
_root.equipWeapon8 = 0;
if (_root.weaponSkill22 == 'OK damage' || _root.weaponSkill23 == 'OK damage' || _root.weaponSkill24 == 'OK damage') {
_root.strength2 -= 5;
}
if (_root.weaponSkill22 == 'More MP' || _root.weaponSkill23 == 'More MP' || _root.weaponSkill24 == 'More MP') {
_root.maxmp2 -= 10;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
if (_root.weaponSkill22 == 'Speedy' || _root.weaponSkill23 == 'Speedy' || _root.weaponSkill24 == 'Speedy') {
_level0.speedEx2 -= 3;
}
if (_root.weaponSkill22 == 'Double Strength' || _root.weaponSkill23 == 'Double Strength' || _root.weaponSkill24 == 'Double Strength') {
_root.strength2 -= 10;
}
if (_root.weaponSkill22 == 'Super MP' || _root.weaponSkill23 == 'Super MP' || _root.weaponSkill24 == 'Super MP') {
_root.maxmp2 -= 20;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
if (_root.weaponSkill22 == 'HP Plus' || _root.weaponSkill23 == 'HP Plus' || _root.weaponSkill24 == 'HP Plus') {
_root.maxhp2 -= 30;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.weaponSkill22 == 'More HP' || _root.weaponSkill23 == 'More HP' || _root.weaponSkill24 == 'More HP') {
_root.maxhp2 -= 50;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.weaponSkill22 == 'Super HP' || _root.weaponSkill23 == 'Super HP' || _root.weaponSkill24 == 'Super HP') {
_root.maxhp2 -= 100;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.weaponSkill22 == 'Speed Plus' || _root.weaponSkill23 == 'Speed Plus' || _root.weaponSkill24 == 'Speed Plus') {
_level0.speedEx2 -= 10;
}
if (_root.weaponSkill22 == 'Super Speed' || _root.weaponSkill23 == 'Speed Plus' || _root.weaponSkill24 == 'Speed Plus') {
_level0.speedEx2 -= 20;
}
if (_root.weaponSkill22 == 'Strong' || _root.weaponSkill23 == 'Strong' || _root.weaponSkill24 == 'Strong') {
_root.strength2 -= 15;
}
if (_root.weaponSkill22 == 'Money Maker' || _root.weaponSkill23 == 'Money Maker' || _root.weaponSkill24 == 'Money Maker') {
_root.moneyPlus = 1;
}
if (_root.weaponSkill22 == 'EXP More' || _root.weaponSkill23 == 'EXP More' || _root.weaponSkill24 == 'EXP More') {
_root.EXPMore = 1;
}
if (_root.weaponSkill22 == 'Super Strength' || _root.weaponSkill23 == 'Super Strength' || _root.weaponSkill24 == 'Super Strength') {
_root.strength2 -= 25;
}
if (_root.weaponSkill22 == 'Skills Plus' || _root.weaponSkill23 == 'Skills Plus' || _root.weaponSkill24 == 'Skills Plus') {
_root.skills2 -= 10;
}
if (_root.weaponSkill22 == 'More Skills' || _root.weaponSkill23 == 'More Skills' || _root.weaponSkill24 == 'More Skills') {
_root.skills2 -= 15;
}
if (_root.weaponSkill22 == 'Super Skills' || _root.weaponSkill23 == 'Super Skills' || _root.weaponSkill24 == 'Super Skills') {
_root.skills2 -= 23;
}
if (_root.weaponSkill22 == 'Defense Plus' || _root.weaponSkill23 == 'Defense Plus' || _root.weaponSkill24 == 'Defense Plus') {
_root.defense2 -= 10;
}
if (_root.weaponSkill22 == 'Super Defense' || _root.weaponSkill23 == 'Super Defense' || _root.weaponSkill24 == 'Super Defense') {
_root.defense2 -= 30;
}
if (_root.weaponSkill22 == 'Invincible' || _root.weaponSkill23 == 'Invincible' || _root.weaponSkill24 == 'Invincible') {
_root.defense2 -= 60;
_root.maxhp2 -= 200;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.weaponSkill22 == 'Immortal' || _root.weaponSkill23 == 'Immortal' || _root.weaponSkill24 == 'Immortal') {
_root.maxhp2 -= 500;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.weaponSkill22 == 'God' || _root.weaponSkill23 == 'God' || _root.weaponSkill24 == 'God') {
_root.strength2 -= 70;
_root.defense2 -= 50;
_root.skills2 -= 50;
_root.maxhp2 -= 700;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.weaponSkill22 == 'Skilled') {
_root.skills2 -= 8;
}
if (_root.weaponSkill23 == 'Life Leech') {
_root.lifeLeech2 -= 2;
}
if (_root.weaponSkill23 == 'Mana Leech') {
_root.magLeech2 -= 2;
}
if (_root.weaponSkill24 == 'Super Life Leech') {
_root.lifeLeech2 -= 5;
}
if (_root.weaponSkill24 == 'Super Mana Leech') {
_root.magLeech2 -= 5;
}
}
}
}
button 9920 {
on (release) {
if (_root.equipWeapon8 != 1) {
_root.weapon8 = 0;
_root.armor8 = 0;
_root.belt8 = 0;
_root.glasses8 = 0;
gotoAndPlay(1);
}
}
}
button 9921 {
on (release) {
if (_root.equipWeapon5 != 1 && _root.equipWeapon6 != 1 && _root.equipWeapon7 != 1 && _root.equipWeapon8 != 1) {
_root.equipWeapon8 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(5) + 1;
switch (attack) {
case 1:
_root.weaponLook2 = 1;
break;
case 2:
_root.weaponLook2 = 2;
break;
case 3:
_root.weaponLook2 = 3;
break;
case 4:
_root.weaponLook2 = 4;
break;
case 5:
_root.weaponLook2 = 5;
break;
case 6:
_root.weaponLook2 = 6;
break;
case 7:
_root.weaponLook2 = 7;
}
if (_root.weaponSkill22 == 'OK damage' || _root.weaponSkill23 == 'OK damage' || _root.weaponSkill24 == 'OK damage') {
_root.strength2 += 5;
}
if (_root.weaponSkill22 == 'More MP' || _root.weaponSkill23 == 'More MP' || _root.weaponSkill24 == 'More MP') {
_root.maxmp2 += 10;
}
if (_root.weaponSkill22 == 'Speedy' || _root.weaponSkill23 == 'Speedy' || _root.weaponSkill24 == 'Speedy') {
_level0.speedEx2 += 3;
}
if (_root.weaponSkill22 == 'Double Strength' || _root.weaponSkill23 == 'Double Strength' || _root.weaponSkill24 == 'Double Strength') {
_root.strength2 += 10;
}
if (_root.weaponSkill22 == 'Super MP' || _root.weaponSkill23 == 'Super MP' || _root.weaponSkill24 == 'Super MP') {
_root.maxmp2 += 20;
}
if (_root.weaponSkill22 == 'HP Plus' || _root.weaponSkill23 == 'HP Plus' || _root.weaponSkill24 == 'HP Plus') {
_root.maxhp2 += 30;
}
if (_root.weaponSkill22 == 'More HP' || _root.weaponSkill23 == 'More HP' || _root.weaponSkill24 == 'More HP') {
_root.maxhp2 += 50;
}
if (_root.weaponSkill22 == 'Super HP' || _root.weaponSkill23 == 'Super HP' || _root.weaponSkill24 == 'Super HP') {
_root.maxhp2 += 100;
}
if (_root.weaponSkill22 == 'Speed Plus' || _root.weaponSkill23 == 'Speed Plus' || _root.weaponSkill24 == 'Speed Plus') {
_level0.speedEx2 += 10;
}
if (_root.weaponSkill22 == 'Super Speed' || _root.weaponSkill23 == 'Speed Plus' || _root.weaponSkill24 == 'Speed Plus') {
_level0.speedEx2 += 20;
}
if (_root.weaponSkill22 == 'Strong' || _root.weaponSkill23 == 'Strong' || _root.weaponSkill24 == 'Strong') {
_root.strength2 += 15;
}
if (_root.weaponSkill22 == 'Money Maker' || _root.weaponSkill23 == 'Money Maker' || _root.weaponSkill24 == 'Money Maker') {
_root.moneyPlus = 2;
}
if (_root.weaponSkill22 == 'EXP More' || _root.weaponSkill23 == 'EXP More' || _root.weaponSkill24 == 'EXP More') {
_root.EXPMore = 2;
}
if (_root.weaponSkill22 == 'Super Strength' || _root.weaponSkill23 == 'Super Strength' || _root.weaponSkill24 == 'Super Strength') {
_root.strength2 += 25;
}
if (_root.weaponSkill22 == 'Skills Plus' || _root.weaponSkill23 == 'Skills Plus' || _root.weaponSkill24 == 'Skills Plus') {
_root.skills2 += 10;
}
if (_root.weaponSkill22 == 'More Skills' || _root.weaponSkill23 == 'More Skills' || _root.weaponSkill24 == 'More Skills') {
_root.skills2 += 15;
}
if (_root.weaponSkill22 == 'Super Skills' || _root.weaponSkill23 == 'Super Skills' || _root.weaponSkill24 == 'Super Skills') {
_root.skills2 += 23;
}
if (_root.weaponSkill22 == 'Defense Plus' || _root.weaponSkill23 == 'Defense Plus' || _root.weaponSkill24 == 'Defense Plus') {
_root.defense2 += 10;
}
if (_root.weaponSkill22 == 'Super Defense' || _root.weaponSkill23 == 'Super Defense' || _root.weaponSkill24 == 'Super Defense') {
_root.defense2 += 30;
}
if (_root.weaponSkill22 == 'Invincible' || _root.weaponSkill23 == 'Invincible' || _root.weaponSkill24 == 'Invincible') {
_root.defense2 += 60;
_root.maxhp2 += 200;
}
if (_root.weaponSkill22 == 'Immortal' || _root.weaponSkill23 == 'Immortal' || _root.weaponSkill24 == 'Immortal') {
_root.maxhp2 += 500;
}
if (_root.weaponSkill22 == 'God' || _root.weaponSkill23 == 'God' || _root.weaponSkill24 == 'God') {
_root.strength2 += 70;
_root.defense2 += 50;
_root.skills2 += 50;
_root.maxhp2 += 700;
}
if (_root.weaponSkill22 == 'Skilled') {
_root.skills2 += 8;
}
if (_root.weaponSkill23 == 'Life Leech') {
_root.lifeLeech2 += 2;
}
if (_root.weaponSkill23 == 'Mana Leech') {
_root.magLeech2 += 2;
}
if (_root.weaponSkill24 == 'Super Life Leech') {
_root.lifeLeech2 += 5;
}
if (_root.weaponSkill24 == 'Super Mana Leech') {
_root.magLeech2 += 5;
}
}
}
}
movieClip 9926 {
frame 1 {
if (_root.equipWeapon8 == 1 || _root.equipArmor8 == 1 || _root.equipGlasses8 == 1 || _root.equipBelt8 == 1) {
gotoAndPlay(2);
} else {
stop();
}
}
frame 2 {
stop();
}
}
button 9928 {
on (release) {
if (_root.equipArmor8 != 0) {
_root.armorLook2 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipArmor5 = 0;
_root.equipArmor6 = 0;
_root.equipArmor7 = 0;
_root.equipArmor8 = 0;
if (_root.armorSkill22 == 'OK defense' || _root.armorSkill23 == 'OK defense' || _root.armorSkill24 == 'OK defense') {
_root.defense2 -= 5;
}
if (_root.armorSkill22 == 'Double Defense' || _root.armorSkill23 == 'Double Defense' || _root.armorSkill24 == 'Double Defense') {
_root.defense2 -= 10;
}
if (_root.armorSkill22 == 'Extra Fast' || _root.armorSkill23 == 'Extra Fast' || _root.armorSkill24 == 'Extra Fast') {
_root.speedEx2 -= 2;
}
if (_root.armorSkill22 == 'More MP' || _root.armorSkill23 == 'More MP' || _root.armorSkill24 == 'More MP') {
_root.maxmp2 -= 5;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
if (_root.armorSkill22 == 'Extra Strength' || _root.armorSkill23 == 'Extra Strength' || _root.armorSkill24 == 'Extra Strength') {
_root.strength2 -= 7;
}
if (_root.armorSkill22 == 'Skills Plus' || _root.armorSkill23 == 'Skills Plus' || _root.armorSkill24 == 'Skills Plus') {
_root.skills2 -= 4;
}
if (_root.armorSkill22 == 'More Defense' || _root.armorSkill23 == 'More Defense' || _root.armorSkill24 == 'More Defense') {
_root.defense2 -= 15;
}
if (_root.armorSkill22 == 'Speed Plus' || _root.armorSkill23 == 'Speed Plus' || _root.armorSkill24 == 'Speed Plus') {
_root.speedEx2 -= 5;
}
if (_root.armorSkill22 == 'More Strength' || _root.armorSkill23 == 'More Strength' || _root.armorSkill24 == 'More Strength') {
_root.strength2 -= 10;
}
if (_root.armorSkill22 == 'HP Plus' || _root.armorSkill23 == 'HP Plus' || _root.armorSkill24 == 'HP Plus') {
_root.maxhp2 -= 20;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.armorSkill22 == 'More HP' || _root.armorSkill23 == 'More HP' || _root.armorSkill24 == 'More HP') {
_root.maxhp2 -= 50;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.armorSkill22 == 'Ultra HP' || _root.armorSkill23 == 'Ultra HP' || _root.armorSkill24 == 'Ultra HP') {
_root.maxhp2 -= 100;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.armorSkill22 == 'Ultra MP' || _root.armorSkill23 == 'Ultra MP' || _root.armorSkill24 == 'Ultra MP') {
_root.maxmp2 -= 30;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
if (_root.armorSkill22 == 'MP Plus' || _root.armorSkill23 == 'MP Plus' || _root.armorSkill24 == 'MP Plus') {
_root.maxmp2 -= 7;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
}
if (_root.armorSkill22 == 'Super Speed' || _root.armorSkill23 == 'Super Speed' || _root.armorSkill24 == 'Super Speed') {
_root.speedEx2 -= 20;
}
if (_root.armorSkill22 == 'Defense Plus' || _root.armorSkill23 == 'Defense Plus' || _root.armorSkill24 == 'Defense Plus') {
_root.defense2 -= 7;
}
if (_root.armorSkill22 == 'Ultra Defense' || _root.armorSkill23 == 'Ultra Defense' || _root.armorSkill24 == 'Ultra Defense') {
_root.defense2 -= 30;
}
if (_root.armorSkill22 == 'Ultra Strength' || _root.armorSkill23 == 'Ultra Strength' || _root.armorSkill24 == 'Ultra Strength') {
_root.strength2 -= 20;
}
if (_root.armorSkill22 == 'Speed of light' || _root.armorSkill23 == 'Speed of light' || _root.armorSkill24 == 'Speed of light') {
_root.speedEx2 -= 40;
}
if (_root.armorSkill22 == 'Ultra Skills' || _root.armorSkill23 == 'Ultra Skills' || _root.armorSkill24 == 'Ultra Skills') {
_root.skills2 -= 15;
}
if (_root.armorSkill22 == 'More HP Plus' || _root.armorSkill23 == 'More HP Plus' || _root.armorSkill24 == 'More HP Plus') {
_root.maxhp2 -= 75;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
if (_root.armorSkill22 == 'MP times two' || _root.armorSkill23 == 'MP times two' || _root.armorSkill24 == 'MP times two') {
_root.mptwo2 = 1;
_root.maxmp2 *= 0.5;
}
if (_root.armorSkill22 == 'HP times two' || _root.armorSkill23 == 'HP times two' || _root.armorSkill24 == 'HP times two') {
_root.hptwo2 = 1;
_root.maxhp2 *= 0.5;
}
if (_root.armorSkill23 == 'Giant Strength') {
_root.strength2 -= 80;
}
if (_root.armorSkill24 == 'Super Skilled') {
_root.skills2 -= 120;
}
if (_root.armorSkill24 == 'Superman Speed') {
_root.speedEx2 -= 130;
}
if (_root.armorSkill23 == 'Invulnerable') {
_root.defense2 -= 60;
}
if (_root.armorSkill24 == 'SuperMan') {
_root.defense2 -= 120;
_root.speedEx2 -= 140;
_root.skills2 -= 140;
_root.strength2 -= 100;
}
}
}
}
button 9929 {
on (release) {
if (_root.equipArmor8 != 1) {
_root.weapon8 = 0;
_root.armor8 = 0;
_root.belt8 = 0;
_root.glasses8 = 0;
gotoAndPlay(1);
}
}
}
button 9930 {
on (release) {
if (_root.equipArmor5 != 1 && _root.equipArmor6 != 1 && _root.equipArmor7 != 1 && _root.equipArmor8 != 1) {
_root.equipArmor8 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(3) + 1;
switch (attack) {
case 1:
_root.armorLook2 = 1;
break;
case 2:
_root.armorLook2 = 2;
break;
case 3:
_root.armorLook2 = 3;
}
if (_root.armorSkill22 == 'OK defense' || _root.armorSkill23 == 'OK defense' || _root.armorSkill24 == 'OK defense') {
_root.defense2 += 5;
}
if (_root.armorSkill22 == 'Double Defense' || _root.armorSkill23 == 'Double Defense' || _root.armorSkill24 == 'Double Defense') {
_root.defense2 += 10;
}
if (_root.armorSkill22 == 'Extra Fast' || _root.armorSkill23 == 'Extra Fast' || _root.armorSkill24 == 'Extra Fast') {
_root.speedEx2 += 2;
}
if (_root.armorSkill22 == 'More MP' || _root.armorSkill23 == 'More MP' || _root.armorSkill24 == 'More MP') {
_root.maxmp2 += 5;
}
if (_root.armorSkill22 == 'Extra Strength' || _root.armorSkill23 == 'Extra Strength' || _root.armorSkill24 == 'Extra Strength') {
_root.strength2 += 7;
}
if (_root.armorSkill22 == 'Skills Plus' || _root.armorSkill23 == 'Skills Plus' || _root.armorSkill24 == 'Skills Plus') {
_root.skills2 += 4;
}
if (_root.armorSkill22 == 'More Defense' || _root.armorSkill23 == 'More Defense' || _root.armorSkill24 == 'More Defense') {
_root.defense2 += 15;
}
if (_root.armorSkill22 == 'Speed Plus' || _root.armorSkill23 == 'Speed Plus' || _root.armorSkill24 == 'Speed Plus') {
_root.speedEx2 += 5;
}
if (_root.armorSkill22 == 'More Strength' || _root.armorSkill23 == 'More Strength' || _root.armorSkill24 == 'More Strength') {
_root.strength2 += 10;
}
if (_root.armorSkill22 == 'HP Plus' || _root.armorSkill23 == 'HP Plus' || _root.armorSkill24 == 'HP Plus') {
_root.maxhp2 += 20;
}
if (_root.armorSkill22 == 'More HP' || _root.armorSkill23 == 'More HP' || _root.armorSkill24 == 'More HP') {
_root.maxhp2 += 50;
}
if (_root.armorSkill22 == 'Ultra HP' || _root.armorSkill23 == 'Ultra HP' || _root.armorSkill24 == 'Ultra HP') {
_root.maxhp2 += 100;
}
if (_root.armorSkill22 == 'Ultra MP' || _root.armorSkill23 == 'Ultra MP' || _root.armorSkill24 == 'Ultra MP') {
_root.maxmp2 += 30;
}
if (_root.armorSkill22 == 'MP Plus' || _root.armorSkill23 == 'MP Plus' || _root.armorSkill24 == 'MP Plus') {
_root.maxmp2 += 7;
}
if (_root.armorSkill22 == 'Super Speed' || _root.armorSkill23 == 'Super Speed' || _root.armorSkill24 == 'Super Speed') {
_root.speedEx2 += 20;
}
if (_root.armorSkill22 == 'Defense Plus' || _root.armorSkill23 == 'Defense Plus' || _root.armorSkill24 == 'Defense Plus') {
_root.defense2 += 7;
}
if (_root.armorSkill22 == 'Ultra Defense' || _root.armorSkill23 == 'Ultra Defense' || _root.armorSkill24 == 'Ultra Defense') {
_root.defense2 += 30;
}
if (_root.armorSkill22 == 'Ultra Strength' || _root.armorSkill23 == 'Ultra Strength' || _root.armorSkill24 == 'Ultra Strength') {
_root.strength2 += 20;
}
if (_root.armorSkill22 == 'Speed of light' || _root.armorSkill23 == 'Speed of light' || _root.armorSkill24 == 'Speed of light') {
_root.speedEx2 += 40;
}
if (_root.armorSkill22 == 'Ultra Skills' || _root.armorSkill23 == 'Ultra Skills' || _root.armorSkill24 == 'Ultra Skills') {
_root.skills2 += 15;
}
if (_root.armorSkill22 == 'More HP Plus' || _root.armorSkill23 == 'More HP Plus' || _root.armorSkill24 == 'More HP Plus') {
_root.maxhp2 += 75;
}
if (_root.armorSkill22 == 'MP times two' || _root.armorSkill23 == 'MP times two' || _root.armorSkill24 == 'MP times two') {
_root.mptwo2 = 2;
_root.maxmp2 *= 2;
}
if (_root.armorSkill22 == 'HP times two' || _root.armorSkill23 == 'HP times two' || _root.armorSkill24 == 'HP times two') {
_root.hptwo2 = 2;
_root.maxhp2 *= 2;
}
if (_root.armorSkill23 == 'Giant Strength') {
_root.strength2 += 80;
}
if (_root.armorSkill24 == 'Super Skilled') {
_root.skills2 += 120;
}
if (_root.armorSkill24 == 'Superman Speed') {
_root.speedEx2 += 130;
}
if (_root.armorSkill23 == 'Invulnerable') {
_root.defense2 += 60;
}
if (_root.armorSkill24 == 'SuperMan') {
_root.defense2 += 120;
_root.speedEx2 += 140;
_root.skills2 += 140;
_root.strength2 += 100;
}
}
}
}
button 9936 {
on (release) {
if (_root.equipBelt8 != 0) {
_root.equipBelt5 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipBelt6 = 0;
_root.equipBelt7 = 0;
_root.equipBelt8 = 0;
_root.beltLook2 = 0;
if (_root.beltSkill8 == 'More MP') {
_root.maxmp2 -= 5;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
} else {
if (_root.beltSkill8 == 'Defense') {
_root.defense2 -= 4;
} else {
if (_root.beltSkill8 == 'Speedy') {
_root.speedEx2 -= 2;
} else {
if (_root.beltSkill8 == 'Stronger') {
_root.strength2 -= 5;
} else {
if (_root.beltSkill8 == 'Master') {
_root.strength2 -= 8;
_root.speedEx2 -= 3;
} else {
if (_root.beltSkill8 == 'Skillful') {
_root.skills2 -= 10;
} else {
if (_root.beltSkill8 == 'Invincible') {
_root.strength2 -= 10;
_root.skills2 -= 10;
_root.defense2 -= 10;
} else {
if (_root.beltSkill8 == 'MP Plus') {
_root.maxmp2 -= 10;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
} else {
if (_root.beltSkill8 == 'More Defense') {
_root.defense2 -= 10;
} else {
if (_root.beltSkill8 == 'Double Strong') {
_root.strength2 -= 13;
} else {
if (_root.beltSkill8 == 'Speedy Plus') {
_root.speedEx2 -= 7;
} else {
if (_root.beltSkill8 == 'HP Plus') {
_root.maxhp2 -= 30;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
} else {
if (_root.beltSkill8 == 'More HP') {
_root.maxhp2 -= 50;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9937 {
on (release) {
if (_root.equipBelt8 != 1) {
_root.weapon8 = 0;
_root.armor8 = 0;
_root.belt8 = 0;
_root.glasses8 = 0;
gotoAndPlay(1);
}
}
}
button 9938 {
on (release) {
if (_root.equipBelt5 != 1 && _root.equipBelt6 != 1 && _root.equipBelt7 != 1 && _root.equipBelt8 != 1) {
_root.equipBelt8 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(4) + 1;
switch (attack) {
case 1:
_root.beltLook2 = 1;
break;
case 2:
_root.beltLook2 = 2;
break;
case 3:
_root.beltLook2 = 3;
break;
case 4:
_root.beltLook2 = 4;
}
if (_root.beltSkill8 == 'More MP') {
_root.maxmp2 += 5;
} else {
if (_root.beltSkill8 == 'Defense') {
_root.defense2 += 4;
} else {
if (_root.beltSkill8 == 'Speedy') {
_root.speedEx2 += 2;
} else {
if (_root.beltSkill8 == 'Stronger') {
_root.strength2 += 5;
} else {
if (_root.beltSkill8 == 'Master') {
_root.strength2 += 8;
_root.speedEx2 += 3;
} else {
if (_root.beltSkill8 == 'Skillful') {
_root.skills2 += 10;
} else {
if (_root.beltSkill8 == 'Invincible') {
_root.strength2 += 10;
_root.skills2 += 10;
_root.defense2 += 10;
} else {
if (_root.beltSkill8 == 'MP Plus') {
_root.maxmp2 += 10;
} else {
if (_root.beltSkill8 == 'More Defense') {
_root.defense2 += 10;
} else {
if (_root.beltSkill8 == 'Double Strong') {
_root.strength2 += 13;
} else {
if (_root.beltSkill8 == 'Speedy Plus') {
_root.speedEx2 += 7;
} else {
if (_root.beltSkill8 == 'HP Plus') {
_root.maxhp2 += 30;
} else {
if (_root.beltSkill8 == 'More HP') {
_root.maxhp2 += 50;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9942 {
on (release) {
if (_root.equipGlasses8 != 0) {
_level0.glassesLook2 = 0;
_root.sound1.attachSound('unEquip');
_root.sound1.start();
_root.equipGlasses5 = 0;
_root.equipGlasses6 = 0;
_root.equipGlasses7 = 0;
_root.equipGlasses8 = 0;
if (_root.glassesSkill8 == 'More MP') {
_root.maxmp2 -= 5;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
} else {
if (_root.glassesSkill8 == 'Defense') {
_root.defense2 -= 4;
} else {
if (_root.glassesSkill8 == 'Speedy') {
_root.speedEx2 -= 2;
} else {
if (_root.glassesSkill8 == 'Stronger') {
_root.strength2 -= 5;
} else {
if (_root.glassesSkill8 == 'Master') {
_root.strength2 -= 8;
_root.speedEx2 -= 3;
} else {
if (_root.glassesSkill8 == 'Skillful') {
_root.skills2 -= 10;
} else {
if (_root.glassesSkill8 == 'Invincible') {
_root.strength2 -= 10;
_root.skills2 -= 10;
_root.defense2 -= 10;
} else {
if (_root.glassesSkill8 == 'MP Plus') {
_root.maxmp2 -= 10;
if (_root.mp2 > _root.maxmp2) {
_root.mp2 = _root.maxmp2;
}
} else {
if (_root.glassesSkill8 == 'More Defense') {
_root.defense2 -= 10;
} else {
if (_root.glassesSkill8 == 'Double Strong') {
_root.strength2 -= 13;
} else {
if (_root.glassesSkill8 == 'Speedy Plus') {
_root.speedEx2 -= 7;
} else {
if (_root.glassesSkill8 == 'HP Plus') {
_root.maxhp2 -= 30;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
} else {
if (_root.glassesSkill8 == 'More HP') {
_root.maxhp2 -= 50;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 9943 {
on (release) {
if (_root.equipGlasses8 != 1) {
_root.weapon8 = 0;
_root.armor8 = 0;
_root.belt8 = 0;
_root.glasses8 = 0;
gotoAndPlay(1);
}
}
}
button 9944 {
on (release) {
if (_root.equipGlasses5 != 1 && _root.equipGlasses6 != 1 && _root.equipGlasses7 != 1 && _root.equipGlasses8 != 1) {
_root.equipGlasses8 = 1;
_root.sound1.attachSound('equipSound');
_root.sound1.start();
attack = random(3) + 1;
switch (attack) {
case 1:
_level0.glassesLook2 = 1;
break;
case 2:
_level0.glassesLook2 = 2;
break;
case 3:
_level0.glassesLook2 = 3;
}
if (_root.glassesSkill8 == 'More MP') {
_root.maxmp2 += 5;
} else {
if (_root.glassesSkill8 == 'Defense') {
_root.defense2 += 4;
} else {
if (_root.glassesSkill8 == 'Speedy') {
_root.speedEx2 += 2;
} else {
if (_root.glassesSkill8 == 'Stronger') {
_root.strength2 += 5;
} else {
if (_root.glassesSkill8 == 'Master') {
_root.strength2 += 8;
_root.speedEx2 += 3;
} else {
if (_root.glassesSkill8 == 'Skillful') {
_root.skills2 += 10;
} else {
if (_root.glassesSkill8 == 'Invincible') {
_root.strength2 += 10;
_root.skills2 += 10;
_root.defense2 += 10;
} else {
if (_root.glassesSkill8 == 'MP Plus') {
_root.maxmp2 += 10;
} else {
if (_root.glassesSkill8 == 'More Defense') {
_root.defense2 += 10;
} else {
if (_root.glassesSkill8 == 'Double Strong') {
_root.strength2 += 13;
} else {
if (_root.glassesSkill8 == 'Speedy Plus') {
_root.speedEx2 += 7;
} else {
if (_root.glassesSkill8 == 'HP Plus') {
_root.maxhp2 += 30;
} else {
if (_root.glassesSkill8 == 'More HP') {
_root.maxhp2 += 50;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
movieClip 9949 {
frame 1 {
if (_root.weapon8 == 1) {
gotoAndPlay(2);
} else {
if (_root.armor8 == 1) {
gotoAndPlay(3);
} else {
if (_root.belt8 == 1) {
gotoAndPlay(4);
} else {
if (_root.glasses8 == 1) {
gotoAndPlay(5);
} else {
stop();
}
}
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
frame 469 {
_root.goIn = '';
slowin = 3 + _root.slowskilled;
slowin2 = 4 + _root.slowskilled;
stopin = '1 - ' + (30 + stopskilled * 3 + 1);
stopin2 = '1 - ' + (30 + stopskilled * 3 + 1 + 3);
hastin = 2 + _root.hasteskilled;
hastin2 = 2 + _root.hasteskilled + 1;
bin = 5 + _root.bioskilled * 2 + ' - ' + (5 + _root.bioskilled * 2 + 15 + _root.bioskilled * 2);
bin2 = 5 + _root.bioskilled * 2 + 2 + ' - ' + (5 + _root.bioskilled * 2 + 15 + _root.bioskilled * 2 + 4);
sleepin = '1 - ' + (29 + _root.sleepskilled * 2);
sleepin2 = '1 - ' + (29 + _root.sleepskilled * 2);
stop();
}
button 9960 {
on (release) {
if (skillpoint2 > 0) {
skillpoint2 -= 1;
slowskilled += 1;
slowin = 3 + _root.slowskilled;
slowin2 = 4 + _root.slowskilled;
}
}
}
button 9968 {
on (rollOver) {
_root.goIn = 'Requires 1 skill point in Slow';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (slowskilled > 0) {
if (_root.skillpoint2 > 0) {
_root.skillpoint2 -= 1;
_root.stopskilled += 1;
stopin = '1 - ' + (30 + stopskilled * 3 + 1);
stopin2 = '1 - ' + (30 + stopskilled * 3 + 1 + 3);
}
} else {
messU = 'Not enough Skill points in Slow.';
}
}
}
button 9976 {
on (rollOver) {
_root.goIn = 'Requires 2 skill point in Stop';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (stopskilled > 1) {
if (_root.skillpoint2 > 0) {
_root.skillpoint2 -= 1;
_root.hasteskilled += 1;
hastin = 2 + _root.hasteskilled;
hastin2 = 2 + _root.hasteskilled + 1;
}
} else {
messU = 'Not enough Skill points in Stop.';
}
}
}
button 9985 {
on (release) {
if (skillpoint2 > 0) {
skillpoint2 -= 1;
bioskilled += 1;
bin = 5 + _root.bioskilled * 2 + ' - ' + (5 + _root.bioskilled * 2 + 15 + _root.bioskilled * 2);
bin2 = 5 + _root.bioskilled * 2 + 2 + ' - ' + (5 + _root.bioskilled * 2 + 15 + _root.bioskilled * 2 + 4);
}
}
}
button 9995 {
on (rollOver) {
_root.goIn = 'Requires 1 skill point in Bio';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (bioskilled > 0) {
if (_root.skillpoint2 > 0) {
_root.skillpoint2 -= 1;
_root.sleepskilled += 1;
sleepin = '1 - ' + (29 + _root.sleepskilled * 2);
sleepin2 = '1 - ' + (29 + _root.sleepskilled * 2);
}
} else {
messU = 'Not enough Skill points in Bio.';
}
}
}
button 9999 {
on (rollOver) {
_root.goIn = 'Requires 2 skill points in Sleep and 3 in Haste';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (sleepskilled > 1 && hasteskilled > 2) {
if (deathskilled == 1) {
messU = 'Only 1 skill point is required for this skill.';
} else {
if (_root.skillpoint2 > 0) {
_root.skillpoint2 -= 1;
_root.deathskilled += 1;
}
}
} else {
messU = 'Not enough Skill points in Sleep and/or Haste.';
}
}
}
frame 470 {
_root.goIn = '';
firemanin = 50 + _root.firemanskilled * 4 + _root.skills + ' - ' + (100 + _root.skills + _root.firemanskilled * 3 + 50 + _root.firemanskilled * 4 + _root.skills);
firemanin2 = 50 + _root.firemanskilled * 4 + _root.skills + 4 + ' - ' + (100 + _root.skills + _root.firemanskilled * 3 + 50 + _root.firemanskilled * 4 + _root.skills + 7);
lightyin = 50 + _root.lighthorseskilled * 3 + _root.skills + ' - ' + (200 + _root.skills + _root.lighthorseskilled * 4 + 50 + _root.lighthorseskilled * 3 + _root.skills);
lightyin2 = 50 + _root.lighthorseskilled * 3 + _root.skills + 3 + ' - ' + (200 + _root.skills + _root.lighthorseskilled * 4 + 50 + _root.lighthorseskilled * 3 + _root.skills + 7);
draggyDam = 90 + _root.dragonskilled * 4 + _root.skills + ' - ' + (210 + _root.skills + _root.dragonskilled * 3 + 90 + _root.dragonskilled * 4 + _root.skills);
draggyDam2 = 90 + _root.dragonskilled * 4 + _root.skills + 4 + ' - ' + (210 + _root.skills + _root.dragonskilled * 3 + 90 + _root.dragonskilled * 4 + _root.skills + 7);
damage = random(250 + _root.skills + _root.hypnotistskilled * 3) + 150 + _root.hypnotistskilled * 4 + _root.skills;
_root.hypDamage = 150 + _root.hypnotistskilled * 4 + _root.skills + ' - ' + (250 + _root.skills + _root.hypnotistskilled * 3 + 150 + _root.hypnotistskilled * 4 + _root.skills);
_root.hypDamage2 = 150 + _root.hypnotistskilled * 4 + _root.skills + 4 + ' - ' + (250 + _root.skills + _root.hypnotistskilled * 3 + 150 + _root.hypnotistskilled * 4 + _root.skills + 7);
_root.nightDam = 200 + _root.nightmareskilled * 4 + _root.skills + ' - ' + (330 + _root.skills + _root.nightmareskilled * 3 + 200 + _root.nightmareskilled * 4 + _root.skills);
_root.nightDam2 = 200 + _root.nightmareskilled * 4 + _root.skills + 4 + ' - ' + (330 + _root.skills + _root.nightmareskilled * 3 + 200 + _root.nightmareskilled * 4 + _root.skills + 7);
_level0.qattackDam = 39 + _root.qattackskilled * 4;
_level0.qattackDam2 = 39 + _root.qattackskilled * 4 + 4;
if (_level0.qattackDam >= 63) {
_level0.qattackDam = 63;
}
_level0.dattackDam = 50 + _root.dattackskilled * 2;
_level0.dattackDam2 = 50 + _root.dattackskilled * 2 + 2;
_level0.hpDrainy = 10 + _root.skills + _root.hpdrainskilled * 4 + ' - ' + (30 + _root.skills + _root.hpdrainskilled * 5 + 10 + _root.skills + _root.hpdrainskilled * 4);
_level0.hpDrainy2 = 10 + _root.skills + _root.hpdrainskilled * 4 + 4 + ' - ' + (30 + _root.skills + _root.hpdrainskilled * 5 + 10 + _root.skills + _root.hpdrainskilled * 4 + 9);
damage = random(8 + _root.skills + _root.mpdrainskilled * 2) + 5 + _root.mpdrainskilled * 2;
_level0.mpDrainy = 5 + _root.mpdrainskilled * 2 + ' - ' + (8 + _root.skills + _root.mpdrainskilled * 2 + 5 + _root.mpdrainskilled * 2);
_level0.mpDrainy2 = 5 + _root.mpdrainskilled * 2 + 2 + ' - ' + (8 + _root.skills + _root.mpdrainskilled * 2 + 5 + _root.mpdrainskilled * 2 + 4);
stop();
}
button 10012 {
on (release) {
if (skillpoint2 > 0) {
skillpoint2 -= 1;
firemanskilled += 1;
firemanin = 50 + _root.firemanskilled * 4 + _root.skills + ' - ' + (100 + _root.skills + _root.firemanskilled * 3 + 50 + _root.firemanskilled * 4 + _root.skills);
firemanin2 = 50 + _root.firemanskilled * 4 + _root.skills + 4 + ' - ' + (100 + _root.skills + _root.firemanskilled * 3 + 50 + _root.firemanskilled * 4 + _root.skills + 7);
}
}
}
button 10021 {
on (rollOver) {
_root.goIn = 'Requires 1 skill point in Fire Man';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (firemanskilled > 0) {
if (_root.skillpoint2 > 0) {
_root.skillpoint2 -= 1;
_root.lighthorseskilled += 1;
lightyin = 50 + _root.lighthorseskilled * 3 + _root.skills + ' - ' + (200 + _root.skills + _root.lighthorseskilled * 4 + 50 + _root.lighthorseskilled * 3 + _root.skills);
lightyin2 = 50 + _root.lighthorseskilled * 3 + _root.skills + 3 + ' - ' + (200 + _root.skills + _root.lighthorseskilled * 4 + 50 + _root.lighthorseskilled * 3 + _root.skills + 7);
}
} else {
messU = 'Not enough Skill points in Fire Man.';
}
}
}
button 10031 {
on (rollOver) {
_root.goIn = 'Requires 3 skill points in Light Horse';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (lighthorseskilled > 2) {
if (_root.skillpoint2 > 0) {
_root.skillpoint2 -= 1;
_root.dragonskilled += 1;
draggyDam = 90 + _root.dragonskilled * 4 + _root.skills + ' - ' + (210 + _root.skills + _root.dragonskilled * 3 + 90 + _root.dragonskilled * 4 + _root.skills);
draggyDam2 = 90 + _root.dragonskilled * 4 + _root.skills + 4 + ' - ' + (210 + _root.skills + _root.dragonskilled * 3 + 90 + _root.dragonskilled * 4 + _root.skills + 7);
}
} else {
messU = 'Not enough Skill points in LightHorse.';
}
}
}
button 10039 {
on (rollOver) {
_root.goIn = 'Requires 3 skill points in Light Horse';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (lighthorseskilled > 2) {
if (_root.skillpoint2 > 0) {
_root.skillpoint2 -= 1;
_root.hypnotistskilled += 1;
_root.hypDamage = 150 + _root.hypnotistskilled * 4 + _root.skills + ' - ' + (250 + _root.skills + _root.hypnotistskilled * 3 + 150 + _root.hypnotistskilled * 4 + _root.skills);
_root.hypDamage2 = 150 + _root.hypnotistskilled * 4 + _root.skills + 4 + ' - ' + (250 + _root.skills + _root.hypnotistskilled * 3 + 150 + _root.hypnotistskilled * 4 + _root.skills + 7);
}
} else {
messU = 'Not enough Skill points in LightHorse.';
}
}
}
button 10048 {
on (rollOver) {
_root.goIn = 'Requires 4 skill points in Super Dragon and Hypnotist';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (dragonskilled > 3 && hypnotistskilled > 3) {
if (_root.skillpoint2 > 0) {
_root.skillpoint2 -= 1;
_root.nightmareskilled += 1;
_root.nightDam = 200 + _root.nightmareskilled * 4 + _root.skills + ' - ' + (330 + _root.skills + _root.nightmareskilled * 3 + 200 + _root.nightmareskilled * 4 + _root.skills);
_root.nightDam2 = 200 + _root.nightmareskilled * 4 + _root.skills + 4 + ' - ' + (330 + _root.skills + _root.nightmareskilled * 3 + 200 + _root.nightmareskilled * 4 + _root.skills + 7);
}
} else {
messU = 'Not enough Skill points in Super Dragon and/or Hypnotist.';
}
}
}
button 10058 {
on (release) {
if (skillpoint2 > 0) {
skillpoint2 -= 1;
qattackskilled += 1;
_level0.qattackDam = 39 + _root.qattackskilled * 4;
_level0.qattackDam2 = 39 + _root.qattackskilled * 4 + 4;
}
}
}
button 10067 {
on (rollOver) {
_root.goIn = 'Requires 1 skill point in Quick Attack';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (qattackskilled > 0) {
if (_root.skillpoint2 > 0) {
_root.skillpoint2 -= 1;
_root.dattackskilled += 1;
_level0.dattackDam = 50 + _root.dattackskilled * 2;
_level0.dattackDam2 = 50 + _root.dattackskilled * 2 + 2;
}
} else {
messU = 'Not enough Skill points in Quick Attack.';
}
}
}
button 10078 {
on (rollOver) {
_root.goIn = 'Requires 3 skill points in HP Drain';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (hpdrainskilled > 2) {
if (_root.skillpoint2 > 0) {
_root.skillpoint2 -= 1;
_root.mpdrainskilled += 1;
}
} else {
messU = 'Not enough Skill points in HP Drain.';
}
}
}
button 10085 {
on (rollOver) {
_root.goIn = 'Requires 2 skill points in Delay Attack';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (dattackskilled > 1) {
if (_root.skillpoint2 > 0) {
_root.skillpoint2 -= 1;
_root.hpdrainskilled += 1;
_level0.hpDrainy = 10 + _root.skills + _root.hpdrainskilled * 4 + ' - ' + (30 + _root.skills + _root.hpdrainskilled * 5 + 10 + _root.skills + _root.hpdrainskilled * 4);
_level0.hpDrainy2 = 10 + _root.skills + _root.hpdrainskilled * 4 + 4 + ' - ' + (30 + _root.skills + _root.hpdrainskilled * 5 + 10 + _root.skills + _root.hpdrainskilled * 4 + 9);
}
} else {
messU = 'Not enough Skill points in Delay Attack.';
}
}
}
frame 471 {
stop();
}
button 10092 {
on (release) {
hlevel += 1;
}
}
button 10093 {
on (release) {
hlevel = _root.defaultPower;
}
}
frame 472 {
stop();
}
button 10100 {
on (release) {
gotoAndStop(468);
}
}
button 10102 {
on (release) {
gotoAndStop(462);
}
}
frame 473 {
if (helpModeOn == 1) {
_root.activeIt._visible = true;
_root.waitIt._visible = false;
}
if (helpModeOff == 1) {
_root.activeIt._visible = false;
_root.waitIt._visible = true;
}
}
button 10109 {
on (release) {
helpModeOn = 1;
helpModeOff = 0;
}
}
button 10110 {
on (release) {
helpModeOn = 0;
helpModeOff = 1;
}
}
frame 474 {
gotoAndPlay(473);
}
frame 475 {
stop();
}
button 10112 {
on (release) {
gotoAndPlay(463);
}
}
button 10113 {
on (release) {
gotoAndPlay(476);
}
}
frame 476 {
stop();
}
button 10115 {
on (release) {
gotoAndPlay(477);
}
}
button 10117 {
on (release) {
gotoAndPlay(479);
}
}
frame 477 {
_root.goIn = '';
healin = 25 + _root.skills2 + _root.healskilled2 * 3 + ' - ' + (30 + _root.skills2 + _root.healskilled2 * 3 + 25 + _root.skills2 + _root.healskilled2 * 3);
healin2 = 25 + _root.skills2 + _root.healskilled2 * 3 + 3 + ' - ' + (30 + _root.skills2 + _root.healskilled2 * 3 + 25 + _root.skills2 + _root.healskilled2 * 3 + 6);
fireSkilled = 27 + _root.skills2 + _root.fireswodskilled * 3 + ' - ' + (22 + _root.skills2 + _root.fireswodskilled * 4 + 27 + _root.skills2 + _root.fireswodskilled * 3);
fireSkilled2 = 27 + _root.skills2 + _root.fireswodskilled * 3 + 3 + ' - ' + (22 + _root.skills2 + _root.fireswodskilled * 4 + 27 + _root.skills2 + _root.fireswodskilled * 3 + 7);
damage = random(30 + _root.skills2 + _root.lightswodskilled * 4) + 30 + _root.skills2 + _root.lightswodskilled * 3;
lightyskill = 30 + _root.skills2 + _root.lightswodskilled * 3 + ' - ' + (30 + _root.skills2 + _root.lightswodskilled * 4 + 30 + _root.skills2 + _root.lightswodskilled * 3);
lightyskill2 = 30 + _root.skills2 + _root.lightswodskilled * 3 + 3 + ' - ' + (30 + _root.skills2 + _root.lightswodskilled * 4 + 30 + _root.skills2 + _root.lightswodskilled * 3 + 7);
enchow = (1 + _root.enchantskilled) * 8;
enchow2 = (1 + _root.enchantskilled) * 8 + 8;
berzskilled = 2 + _root.berserkskilled;
berzskilled2 = 2 + _root.berserkskilled + 1;
ballLighty1 = 3 + _root.ballLightskilled;
ballLighty2 = 3 + _root.ballLightskilled + 1;
confus1 = 40 + _root.confuseskilled * 10 + ' - ' + (100 + _root.confuseskilled * 20 + 40 + _root.confuseskilled * 10);
confus2 = 40 + _root.confuseskilled * 10 + 10 + ' - ' + (100 + _root.confuseskilled * 20 + 40 + _root.confuseskilled * 10 + 30);
_root.shenow = 3 + _root.sheildskilled;
_root.shenow2 = 3 + _root.sheildskilled + 1;
_root.frogo = 2 + _root.frogskilled;
_root.frogo2 = 2 + _root.frogskilled + 1;
random(200 + _root.flareskilled * 6) + 200 + _root.flareskilled * 4;
flareo = 200 + _root.flareskilled * 4 + ' - ' + (200 + _root.flareskilled * 6 + 200 + _root.flareskilled * 4);
flareo2 = 200 + _root.flareskilled * 4 + 4 + ' - ' + (200 + _root.flareskilled * 6 + 200 + _root.flareskilled * 4 + 10);
damage = random(300 + _root.skills2 + _root.cometskilled * 7) + 100 + _root.skills2 + _root.cometskilled * 4;
cometo = 100 + _root.skills2 + _root.cometskilled * 4 + ' - ' + (300 + _root.skills2 + _root.cometskilled * 7 + 100 + _root.skills2 + _root.cometskilled * 4);
cometo2 = 100 + _root.skills2 + _root.cometskilled * 4 + 4 + ' - ' + (300 + _root.skills2 + _root.cometskilled * 7 + 100 + _root.skills2 + _root.cometskilled * 4 + 11);
demo1 = _root.demiskilled * 2;
demo2 = _root.demiskilled * 2 + 2;
holyskillah = 300 + _root.holyskilled * 5 + ' - ' + (300 + _root.holyskilled * 8 + 300 + _root.holyskilled * 5);
holyskillah2 = 300 + _root.holyskilled * 5 + 5 + ' - ' + (300 + _root.holyskilled * 8 + 300 + _root.holyskilled * 5 + 13);
stop();
}
button 10119 {
on (release) {
if (skillpoint3 > 0) {
skillpoint3 -= 1;
healskilled2 += 1;
healin = 25 + _root.skills2 + _root.healskilled2 * 3 + ' - ' + (30 + _root.skills2 + _root.healskilled2 * 3 + 25 + _root.skills2 + _root.healskilled2 * 3);
healin2 = 25 + _root.skills2 + _root.healskilled2 * 3 + 3 + ' - ' + (30 + _root.skills2 + _root.healskilled2 * 3 + 25 + _root.skills2 + _root.healskilled2 * 3 + 6);
}
}
}
button 10130 {
on (release) {
if (skillpoint3 > 0) {
skillpoint3 -= 1;
fireswodskilled += 1;
fireSkilled = 27 + _root.skills2 + _root.fireswodskilled * 3 + ' - ' + (22 + _root.skills2 + _root.fireswodskilled * 4 + 27 + _root.skills2 + _root.fireswodskilled * 3);
fireSkilled2 = 27 + _root.skills2 + _root.fireswodskilled * 3 + 3 + ' - ' + (22 + _root.skills2 + _root.fireswodskilled * 4 + 27 + _root.skills2 + _root.fireswodskilled * 3 + 7);
}
}
}
button 10137 {
on (release) {
if (skillpoint3 > 0) {
skillpoint3 -= 1;
lightswodskilled += 1;
lightyskill = 30 + _root.skills2 + _root.lightswodskilled * 3 + ' - ' + (30 + _root.skills2 + _root.lightswodskilled * 4 + 30 + _root.skills2 + _root.lightswodskilled * 3);
lightyskill2 = 30 + _root.skills2 + _root.lightswodskilled * 3 + 3 + ' - ' + (30 + _root.skills2 + _root.lightswodskilled * 4 + 30 + _root.skills2 + _root.lightswodskilled * 3 + 7);
}
}
}
button 10146 {
on (release) {
if (skillpoint3 > 0) {
skillpoint3 -= 1;
enchantskilled += 1;
enchow = (1 + _root.enchantskilled) * 8;
enchow2 = (1 + _root.enchantskilled) * 8 + 8;
}
}
}
button 10157 {
on (rollOver) {
_root.goIn = 'Requires 1 skill point in Enchant';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (skillpoint3 > 0 && enchantskilled > 0) {
skillpoint3 -= 1;
berserkskilled += 1;
berzskilled = 2 + _root.berserkskilled;
berzskilled2 = 2 + _root.berserkskilled + 1;
}
}
}
button 10165 {
on (rollOver) {
_root.goIn = 'Requires 1 skill points in Light Sword';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (skillpoint3 > 0 && lightswodskilled > 0) {
skillpoint3 -= 1;
ballLightskilled += 1;
ballLighty1 = 3 + _root.ballLightskilled;
ballLighty2 = 3 + _root.ballLightskilled + 1;
}
}
}
button 10174 {
on (rollOver) {
_root.goIn = 'Requires 1 skill point in Fire Sword';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (skillpoint3 > 0 && fireswodskilled > 0) {
skillpoint3 -= 1;
confuseskilled += 1;
confus1 = 40 + _root.confuseskilled * 10 + ' - ' + (100 + _root.confuseskilled * 20 + 40 + _root.confuseskilled * 10);
confus2 = 40 + _root.confuseskilled * 10 + 10 + ' - ' + (100 + _root.confuseskilled * 20 + 40 + _root.confuseskilled * 10 + 30);
}
}
}
button 10183 {
on (rollOver) {
_root.goIn = 'Requires 2 skill points in Berserk and Ball light';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (skillpoint3 > 0 && ballLightskilled > 1 && berserkskilled > 1) {
skillpoint3 -= 1;
sheildskilled += 1;
_root.shenow = 3 + _root.sheildskilled;
_root.shenow2 = 3 + _root.sheildskilled + 1;
}
}
}
button 10192 {
on (rollOver) {
_root.goIn = 'Requires 2 skill points in Confuse';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (skillpoint3 > 0 && confuseskilled > 1) {
skillpoint3 -= 1;
frogskilled += 1;
_root.frogo = 2 + _root.frogskilled;
_root.frogo2 = 2 + _root.frogskilled + 1;
}
}
}
button 10200 {
on (rollOver) {
_root.goIn = 'Requires 3 skill points in Frog';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (skillpoint3 > 0 && frogskilled > 2) {
skillpoint3 -= 1;
flareskilled += 1;
flareo = 200 + _root.flareskilled * 4 + ' - ' + (200 + _root.flareskilled * 6 + 200 + _root.flareskilled * 4);
flareo2 = 200 + _root.flareskilled * 4 + 4 + ' - ' + (200 + _root.flareskilled * 6 + 200 + _root.flareskilled * 4 + 10);
}
}
}
button 10208 {
on (rollOver) {
_root.goIn = 'Requires 3 skill points in Sheild';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (skillpoint3 > 0 && sheildskilled > 2) {
skillpoint3 -= 1;
cometskilled += 1;
cometo = 100 + _root.skills2 + _root.cometskilled * 4 + ' - ' + (300 + _root.skills2 + _root.cometskilled * 7 + 100 + _root.skills2 + _root.cometskilled * 4);
cometo2 = 100 + _root.skills2 + _root.cometskilled * 4 + 4 + ' - ' + (300 + _root.skills2 + _root.cometskilled * 7 + 100 + _root.skills2 + _root.cometskilled * 4 + 11);
}
}
}
button 10218 {
on (rollOver) {
_root.goIn = 'Requires 1 skill points in Heal';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (skillpoint3 > 0 && healskilled2 > 0) {
skillpoint3 -= 1;
demiskilled += 1;
demo1 = _root.demiskilled * 2;
demo2 = _root.demiskilled * 2 + 2;
}
}
}
button 10226 {
on (rollOver) {
_root.goIn = 'Requires 3 skill points in Flare and Comet';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (skillpoint3 > 0 && flareskilled > 2 && cometskilled > 2) {
skillpoint3 -= 1;
holyskilled += 1;
holyskillah = 300 + _root.holyskilled * 5 + ' - ' + (300 + _root.holyskilled * 8 + 300 + _root.holyskilled * 5);
holyskillah2 = 300 + _root.holyskilled * 5 + 5 + ' - ' + (300 + _root.holyskilled * 8 + 300 + _root.holyskilled * 5 + 13);
}
}
}
frame 478 {
stop();
}
instance of movieClip 9792 {
onClipEvent (load) {
if (_root.skillPotion >= 1) {
this.gotoAndStop(6);
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.skillPotion <= 0) {
this._visible = false;
}
}
}
instance of movieClip 9792 {
onClipEvent (load) {
if (_root.magicPotion >= 1) {
this.gotoAndStop(7);
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.magicPotion <= 0) {
this._visible = false;
}
}
}
button 10230 {
on (release) {
gotoAndStop(465);
}
}
instance of movieClip 9792 {
onClipEvent (load) {
if (_root.defensePotion >= 1) {
this.gotoAndStop(9);
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.defensePotion <= 0) {
this._visible = false;
}
}
}
instance of movieClip 9792 {
onClipEvent (load) {
if (_root.spamItem != 2) {
this._visible = false;
} else {
this.gotoAndStop(11);
}
}
}
instance of movieClip 9792 {
onClipEvent (load) {
if (_root.docStickItem != 1) {
this._visible = false;
} else {
this.gotoAndStop(12);
}
}
}
instance of movieClip 9792 {
onClipEvent (load) {
if (_root.smokeHatItem != 1) {
this._visible = false;
} else {
this.gotoAndStop(13);
}
}
}
instance of movieClip 9792 {
onClipEvent (load) {
if (_root.stickCourage != 1) {
this._visible = false;
} else {
this.gotoAndStop(14);
}
}
}
instance of movieClip 9792 {
onClipEvent (load) {
if (_root.supeSpeed != 1) {
this._visible = false;
} else {
this.gotoAndStop(15);
}
}
}
instance of movieClip 9792 {
onClipEvent (load) {
if (_root.heroRing != 2) {
this._visible = false;
} else {
this.gotoAndStop(17);
}
}
}
frame 479 {
_root.goIn = '';
_root.quicky1 = 39 + _root.quickthrowskilled * 2;
_root.quicky2 = 39 + _root.quickthrowskilled * 2 + 2;
powahBreak1 = 10 + _root.powerbreakskilled * 3 + ' - ' + (20 + _root.powerbreakskilled * 3);
powahBreak2 = 10 + _root.powerbreakskilled * 3 + 3 + ' - ' + (20 + _root.powerbreakskilled * 3 + 3);
county1 = 2 + _root.counterskilled;
county2 = 2 + _root.counterskilled + 1;
leechyHah1 = 3 + _root.multileechskilled;
leechyHah2 = 3 + _root.multileechskilled + 1;
multiheh1 = 19 + _root.skills2 + _root.multislashskilled * 2 + _root.strength2 + ' - ' + (19 + _root.skills2 + _root.multislashskilled * 2 + _root.strength2 + 30 + _root.skills2 + _root.strength2 + _root.multislashskilled * 4);
multiheh2 = 19 + _root.skills2 + _root.multislashskilled * 2 + _root.strength2 + 2 + ' - ' + (19 + _root.skills2 + _root.multislashskilled * 2 + _root.strength2 + 30 + _root.skills2 + _root.strength2 + _root.multislashskilled * 4 + 6);
shocky1 = _root.shockwaveskilled * 5;
shocky2 = _root.shockwaveskilled * 5 + 5;
stop();
}
button 10242 {
on (release) {
if (skillpoint3 > 0) {
skillpoint3 -= 1;
quickthrowskilled += 1;
_root.quicky1 = 39 + _root.quickthrowskilled * 2;
_root.quicky2 = 39 + _root.quickthrowskilled * 2 + 2;
}
}
}
button 10250 {
on (release) {
if (skillpoint3 > 0) {
skillpoint3 -= 1;
counterskilled += 1;
_root.county1 = 2 + _root.counterskilled;
_root.county2 = 2 + _root.counterskilled + 1;
}
}
}
button 10258 {
on (rollOver) {
_root.goIn = 'Requires 1 skill point in Q throw, power break and Counter';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (skillpoint3 > 0 && quickthrowskilled > 0 && powerbreakskilled > 0 && counterskilled > 0) {
skillpoint3 -= 1;
multislashskilled += 1;
multiheh1 = 19 + _root.skills2 + _root.multislashskilled * 2 + _root.strength2 + ' - ' + (19 + _root.skills2 + _root.multislashskilled * 2 + _root.strength2 + 30 + _root.skills2 + _root.strength2 + _root.multislashskilled * 4);
multiheh2 = 19 + _root.skills2 + _root.multislashskilled * 2 + _root.strength2 + 2 + ' - ' + (19 + _root.skills2 + _root.multislashskilled * 2 + _root.strength2 + 30 + _root.skills2 + _root.strength2 + _root.multislashskilled * 4 + 6);
}
}
}
button 10267 {
on (rollOver) {
_root.goIn = 'Requires 1 skill point in Q throw, power break and Counter';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (skillpoint3 > 0 && quickthrowskilled > 0 && powerbreakskilled > 0 && counterskilled > 0) {
skillpoint3 -= 1;
multileechskilled += 1;
leechyHah1 = 3 + _root.multileechskilled;
leechyHah2 = 3 + _root.multileechskilled + 1;
}
}
}
button 10276 {
on (release) {
if (skillpoint3 > 0) {
skillpoint3 -= 1;
powerbreakskilled += 1;
_root.powahBreak1 = 10 + _root.powerbreakskilled * 3 + ' - ' + (20 + _root.powerbreakskilled * 3);
_root.powahBreak2 = 10 + _root.powerbreakskilled * 3 + 3 + ' - ' + (20 + _root.powerbreakskilled * 3 + 3);
}
}
}
button 10285 {
on (rollOver) {
_root.goIn = 'Requires 2 skill points in Multi-Slash, and Multi-Leech';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (skillpoint3 > 0 && multislashskilled > 1 && multileechskilled > 1) {
skillpoint3 -= 1;
shockwaveskilled += 1;
shocky1 = _root.shockwaveskilled * 5;
shocky2 = _root.shockwaveskilled * 5 + 5;
}
}
}
frame 480 {
_root.goIn = '';
stop();
}
button 10297 {
on (rollOver) {
_root.goIn = 'Requires 2 skill points from both characters';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (skillpoint3 > 1 && skillpoint2 > 1) {
skillpoint3 -= 2;
skillpoint2 -= 2;
moneyskilled += 1;
}
}
}
button 10300 {
on (rollOver) {
_root.goIn = 'Requires 3 skill points from both characters and 2 in Money+';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (skillpoint3 > 2 && skillpoint2 > 2 && moneyskilled > 1) {
skillpoint3 -= 3;
skillpoint2 -= 3;
expskilled += 1;
}
}
}
button 10304 {
on (rollOver) {
_root.goIn = 'Requires 4 skill points from both characters and 2 in EXP+';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (skillpoint3 > 3 && skillpoint2 > 3 && expskilled > 1) {
skillpoint3 -= 4;
skillpoint2 -= 4;
statusskilled += 1;
}
}
}
button 10308 {
on (rollOver) {
_root.goIn = 'Requires 3 skill points from both characters and 2 in Vitality+';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (skillpoint3 > 2 && skillpoint2 > 2 && vitalityskilled > 1) {
skillpoint3 -= 3;
skillpoint2 -= 3;
energyskilled += 1;
}
}
}
button 10312 {
on (rollOver) {
_root.goIn = 'Requires 2 skill points from both characters';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (skillpoint3 > 1 && skillpoint2 > 1) {
skillpoint3 -= 2;
skillpoint2 -= 2;
vitalityskilled += 1;
}
}
}
button 10316 {
on (rollOver) {
_root.goIn = 'Requires 5 skill points from both characters and 2 in Energy+';
}
on (rollOut) {
_root.goIn = '';
}
on (release) {
if (skillpoint3 > 4 && skillpoint2 > 4 && energyskilled > 1) {
skillpoint3 -= 5;
skillpoint2 -= 5;
skillpointsskilled += 1;
}
}
}
frame 481 {
if (_root.saveyYo == 1) {
data1 = 'Valid Data';
} else {
data1 = 'No Data';
this.loadIt1._visible = false;
}
if (_root.saveyYo2 == 1) {
data2 = 'Valid Data';
} else {
data2 = 'No Data';
this.loadIt2._visible = false;
}
if (_root.saveyYo3 == 1) {
data3 = 'Valid Data';
} else {
data3 = 'No Data';
this.loadIt3._visible = false;
}
stop();
}
button 10327 {
on (release) {
_root.saveola.gotoAndPlay(2);
_root.saveyYo = 1;
_root.saveyFile = 0;
setCookie('database' + _root.saveyFile, 'itum1', _root.firemanskilled);
setCookie('database' + _root.saveyFile, 'itum2', _root.lighthorseskilled);
setCookie('database' + _root.saveyFile, 'itum3', _root.dragonskilled);
setCookie('database' + _root.saveyFile, 'itum4', _root.hypnotistskilled);
setCookie('database' + _root.saveyFile, 'itum5', _root._level0.limit2);
setCookie('database' + _root.saveyFile, 'itum6', _root.defaultPower);
setCookie('database' + _root.saveyFile, 'itum7', _root.enemyEncounter);
setCookie('database' + _root.saveyFile, 'itum8', _root.helpModeOn);
setCookie('database' + _root.saveyFile, 'itum9', _root.critical2);
setCookie('database' + _root.saveyFile, 'itum10', _root.ap2);
setCookie('database' + _root.saveyFile, 'itum11', _root.exp2);
setCookie('database' + _root.saveyFile, 'itum12', _root.EXPNeeded2);
setCookie('database' + _root.saveyFile, 'itum13', _root.clockSeconds);
setCookie('database' + _root.saveyFile, 'itum14', _root.clockMinutes);
setCookie('database' + _root.saveyFile, 'itum15', _root.clockHours);
setCookie('database' + _root.saveyFile, 'itum16', _root.qattackskilled);
setCookie('database' + _root.saveyFile, 'itum17', _root.dattackskilled);
setCookie('database' + _root.saveyFile, 'itum18', _root.nightmareskilled);
setCookie('database' + _root.saveyFile, 'itum19', _root.hpdrainskilled);
setCookie('database' + _root.saveyFile, 'itum20', _root.mpdrainskilled);
setCookie('database' + _root.saveyFile, 'itum21', _root.deathskilled);
setCookie('database' + _root.saveyFile, 'itum22', _root.hlevel);
setCookie('database' + _root.saveyFile, 'itum23', _root.energy2);
setCookie('database' + _root.saveyFile, 'itum24', _root.comebackskilled);
setCookie('database' + _root.saveyFile, 'itum25', _root.protectDefense);
setCookie('database' + _root.saveyFile, 'itum26', _root.shellDefense);
setCookie('database' + _root.saveyFile, 'itum27', _root.level2);
setCookie('database' + _root.saveyFile, 'itum28', _root.defense2);
setCookie('database' + _root.saveyFile, 'itum29', _root.vitality2);
setCookie('database' + _root.saveyFile, 'itum30', _root.skills2);
setCookie('database' + _root.saveyFile, 'itum31', _root.strength2);
setCookie('database' + _root.saveyFile, 'itum32', _root.mp2);
setCookie('database' + _root.saveyFile, 'itum33', _root.maxmp2);
setCookie('database' + _root.saveyFile, 'itum34', _root.activeMode);
setCookie('database' + _root.saveyFile, 'itum35', _root.charSwitchOn);
setCookie('database' + _root.saveyFile, 'itum36', _root.defense2);
setCookie('database' + _root.saveyFile, 'itum37', _root.char2);
setCookie('database' + _root.saveyFile, 'itum38', _root.maxhp2);
setCookie('database' + _root.saveyFile, 'itum39', _root.char2Alive);
setCookie('database' + _root.saveyFile, 'itum40', _root.hptwo2);
setCookie('database' + _root.saveyFile, 'itum41', _root.mptwo2);
setCookie('database' + _root.saveyFile, 'itum42', _root.char1Alive);
setCookie('database' + _root.saveyFile, 'itum43', _root.revive);
setCookie('database' + _root.saveyFile, 'itum44', _root.money);
setCookie('database' + _root.saveyFile, 'itum45', _root.notAnother);
setCookie('database' + _root.saveyFile, 'itum46', _root.ap);
setCookie('database' + _root.saveyFile, 'itum47', _root.moHp);
setCookie('database' + _root.saveyFile, 'itum48', _root.ultimaskilled);
setCookie('database' + _root.saveyFile, 'itum49', _root.furystormskilled);
setCookie('database' + _root.saveyFile, 'itum50', _root.slowskilled);
setCookie('database' + _root.saveyFile, 'itum51', _root.stopskilled);
setCookie('database' + _root.saveyFile, 'itum52', _root.shellskilled);
setCookie('database' + _root.saveyFile, 'itum53', _root.protectskilled);
setCookie('database' + _root.saveyFile, 'itum54', _root.hasteskilled);
setCookie('database' + _root.saveyFile, 'itum55', _root.bioskilled);
setCookie('database' + _root.saveyFile, 'itum56', _root.sleepskilled);
setCookie('database' + _root.saveyFile, 'itum57', _root.reviveskilled);
setCookie('database' + _root.saveyFile, 'itum58', _root.replenishskilled);
setCookie('database' + _root.saveyFile, 'itum59', _root.leechskilled);
setCookie('database' + _root.saveyFile, 'itum60', _root.healskilled);
setCookie('database' + _root.saveyFile, 'itum61', _root.fireskilled);
setCookie('database' + _root.saveyFile, 'itum62', _root.lightskilled);
setCookie('database' + _root.saveyFile, 'itum63', _root.iceskilled);
setCookie('database' + _root.saveyFile, 'itum64', _root.skillpoint2);
setCookie('database' + _root.saveyFile, 'itum65', _root.attack2);
setCookie('database' + _root.saveyFile, 'itum66', _root.speedEx2);
setCookie('database' + _root.saveyFile, 'itum67', _root.speed2);
setCookie('database' + _root.saveyFile, 'itum68', _root.moneyPlus);
setCookie('database' + _root.saveyFile, 'itum69', _root.EXPMore);
setCookie('database' + _root.saveyFile, 'itum70', _root.hptwo);
setCookie('database' + _root.saveyFile, 'itum71', _root.mptwo);
setCookie('database' + _root.saveyFile, 'itum72', _root.equipWeapon1);
setCookie('database' + _root.saveyFile, 'itum73', _root.equipWeapon2);
setCookie('database' + _root.saveyFile, 'itum74', _root.equipWeapon3);
setCookie('database' + _root.saveyFile, 'itum75', _root.equipWeapon4);
setCookie('database' + _root.saveyFile, 'itum76', _root.equipWeapon5);
setCookie('database' + _root.saveyFile, 'itum77', _root.equipWeapon6);
setCookie('database' + _root.saveyFile, 'itum78', _root.equipWeapon7);
setCookie('database' + _root.saveyFile, 'itum79', _root.equipWeapon8);
setCookie('database' + _root.saveyFile, 'itum80', _root.skills);
setCookie('database' + _root.saveyFile, 'itum81', _root.moEXP);
setCookie('database' + _root.saveyFile, 'itum82', _root.exp1);
setCookie('database' + _root.saveyFile, 'itum83', _root.fight2);
setCookie('database' + _root.saveyFile, 'itum84', _root.worldmap);
setCookie('database' + _root.saveyFile, 'itum85', _root.level);
setCookie('database' + _root.saveyFile, 'itum86', _root.speedEx);
setCookie('database' + _root.saveyFile, 'itum87', _root.defense);
setCookie('database' + _root.saveyFile, 'itum88', _root.energy);
setCookie('database' + _root.saveyFile, 'itum89', _root.vitality);
setCookie('database' + _root.saveyFile, 'itum90', _root.strength);
setCookie('database' + _root.saveyFile, 'itum91', _root.PercentLoaded);
setCookie('database' + _root.saveyFile, 'itum92', _root.hair);
setCookie('database' + _root.saveyFile, 'itum93', _root.potion);
setCookie('database' + _root.saveyFile, 'itum94', _root.ether);
setCookie('database' + _root.saveyFile, 'itum95', _root.hpotion);
setCookie('database' + _root.saveyFile, 'itum96', _root.xpotion);
setCookie('database' + _root.saveyFile, 'itum97', _root.elixir);
setCookie('database' + _root.saveyFile, 'itum98', _root.critical1);
setCookie('database' + _root.saveyFile, 'itum99', _root.limit);
setCookie('database' + _root.saveyFile, 'itum100', _root.mp1);
setCookie('database' + _root.saveyFile, 'itum101', _root.maxmp1);
setCookie('database' + _root.saveyFile, 'itum102', _root.char1);
setCookie('database' + _root.saveyFile, 'itum103', _root.maxhp);
setCookie('database' + _root.saveyFile, 'itum104', _root.speed);
setCookie('database' + _root.saveyFile, 'itum105', _root.moEXP);
setCookie('database' + _root.saveyFile, 'itum106', _root.EXPNeeded);
setCookie('database' + _root.saveyFile, 'itum107', _root.antidote);
setCookie('database' + _root.saveyFile, 'itum108', _root.activeMode);
setCookie('database' + _root.saveyFile, 'itum109', _root.waitMode);
setCookie('database' + _root.saveyFile, 'itum110', _root.weapon1);
setCookie('database' + _root.saveyFile, 'itum111', _root.weapon2);
setCookie('database' + _root.saveyFile, 'itum112', _root.weapon3);
setCookie('database' + _root.saveyFile, 'itum113', _root.weapon4);
setCookie('database' + _root.saveyFile, 'itum114', _root.weapon5);
setCookie('database' + _root.saveyFile, 'itum115', _root.weapon6);
setCookie('database' + _root.saveyFile, 'itum116', _root.weapon7);
setCookie('database' + _root.saveyFile, 'itum117', _root.weapon8);
setCookie('database' + _root.saveyFile, 'itum118', _root.armor1);
setCookie('database' + _root.saveyFile, 'itum119', _root.armor2);
setCookie('database' + _root.saveyFile, 'itum120', _root.armor3);
setCookie('database' + _root.saveyFile, 'itum121', _root.armor4);
setCookie('database' + _root.saveyFile, 'itum122', _root.armor5);
setCookie('database' + _root.saveyFile, 'itum123', _root.armor6);
setCookie('database' + _root.saveyFile, 'itum124', _root.armor7);
setCookie('database' + _root.saveyFile, 'itum125', _root.armor8);
setCookie('database' + _root.saveyFile, 'itum126', _root.belt1);
setCookie('database' + _root.saveyFile, 'itum127', _root.belt2);
setCookie('database' + _root.saveyFile, 'itum128', _root.belt3);
setCookie('database' + _root.saveyFile, 'itum129', _root.belt4);
setCookie('database' + _root.saveyFile, 'itum130', _root.belt5);
setCookie('database' + _root.saveyFile, 'itum131', _root.belt6);
setCookie('database' + _root.saveyFile, 'itum132', _root.belt7);
setCookie('database' + _root.saveyFile, 'itum133', _root.belt8);
setCookie('database' + _root.saveyFile, 'itum134', _root.glasses1);
setCookie('database' + _root.saveyFile, 'itum135', _root.glasses2);
setCookie('database' + _root.saveyFile, 'itum136', _root.glasses3);
setCookie('database' + _root.saveyFile, 'itum137', _root.glasses4);
setCookie('database' + _root.saveyFile, 'itum138', _root.glasses5);
setCookie('database' + _root.saveyFile, 'itum139', _root.glasses6);
setCookie('database' + _root.saveyFile, 'itum140', _root.glasses7);
setCookie('database' + _root.saveyFile, 'itum141', _root.glasses8);
setCookie('database' + _root.saveyFile, 'itum142', _root.weaponLook);
setCookie('database' + _root.saveyFile, 'itum143', _root.weaponLook2);
setCookie('database' + _root.saveyFile, 'itum144', _root.weaponSkill1);
setCookie('database' + _root.saveyFile, 'itum145', _root.weaponSkill2);
setCookie('database' + _root.saveyFile, 'itum146', _root.weaponSkill3);
setCookie('database' + _root.saveyFile, 'itum147', _root.weaponSkill4);
setCookie('database' + _root.saveyFile, 'itum148', _root.weaponSkill5);
setCookie('database' + _root.saveyFile, 'itum149', _root.weaponSkill6);
setCookie('database' + _root.saveyFile, 'itum150', _root.weaponSkill7);
setCookie('database' + _root.saveyFile, 'itum151', _root.weaponSkill8);
setCookie('database' + _root.saveyFile, 'itum152', _root.weaponSkill9);
setCookie('database' + _root.saveyFile, 'itum153', _root.weaponSkill10);
setCookie('database' + _root.saveyFile, 'itum154', _root.weaponSkill11);
setCookie('database' + _root.saveyFile, 'itum155', _root.weaponSkill12);
setCookie('database' + _root.saveyFile, 'itum156', _root.weaponSkill13);
setCookie('database' + _root.saveyFile, 'itum157', _root.weaponSkill14);
setCookie('database' + _root.saveyFile, 'itum158', _root.weaponSkill15);
setCookie('database' + _root.saveyFile, 'itum159', _root.weaponSkill16);
setCookie('database' + _root.saveyFile, 'itum160', _root.weaponSkill17);
setCookie('database' + _root.saveyFile, 'itum161', _root.weaponSkill18);
setCookie('database' + _root.saveyFile, 'itum162', _root.weaponSkill19);
setCookie('database' + _root.saveyFile, 'itum163', _root.weaponSkill20);
setCookie('database' + _root.saveyFile, 'itum164', _root.weaponSkill21);
setCookie('database' + _root.saveyFile, 'itum165', _root.weaponSkill22);
setCookie('database' + _root.saveyFile, 'itum166', _root.weaponSkill23);
setCookie('database' + _root.saveyFile, 'itum167', _root.weaponSkill24);
setCookie('database' + _root.saveyFile, 'itum168', _root.armorLook1);
setCookie('database' + _root.saveyFile, 'itum169', _root.armorLook2);
setCookie('database' + _root.saveyFile, 'itum170', _root.specialPlace1);
setCookie('database' + _root.saveyFile, 'itum171', _root.hairStyle);
setCookie('database' + _root.saveyFile, 'itum172', _root.armorName1);
setCookie('database' + _root.saveyFile, 'itum173', _root.armorName2);
setCookie('database' + _root.saveyFile, 'itum174', _root.armorName3);
setCookie('database' + _root.saveyFile, 'itum175', _root.armorName4);
setCookie('database' + _root.saveyFile, 'itum176', _root.armorName5);
setCookie('database' + _root.saveyFile, 'itum177', _root.armorName6);
setCookie('database' + _root.saveyFile, 'itum178', _root.armorName7);
setCookie('database' + _root.saveyFile, 'itum179', _root.armorName8);
setCookie('database' + _root.saveyFile, 'itum180', _root.beltName1);
setCookie('database' + _root.saveyFile, 'itum181', _root.beltName2);
setCookie('database' + _root.saveyFile, 'itum182', _root.beltName3);
setCookie('database' + _root.saveyFile, 'itum183', _root.beltName4);
setCookie('database' + _root.saveyFile, 'itum184', _root.beltName5);
setCookie('database' + _root.saveyFile, 'itum185', _root.beltName6);
setCookie('database' + _root.saveyFile, 'itum186', _root.beltName7);
setCookie('database' + _root.saveyFile, 'itum187', _root.beltName8);
setCookie('database' + _root.saveyFile, 'itum188', _root.weaponName1);
setCookie('database' + _root.saveyFile, 'itum189', _root.weaponName2);
setCookie('database' + _root.saveyFile, 'itum190', _root.weaponName3);
setCookie('database' + _root.saveyFile, 'itum191', _root.weaponName4);
setCookie('database' + _root.saveyFile, 'itum192', _root.weaponName5);
setCookie('database' + _root.saveyFile, 'itum193', _root.weaponName6);
setCookie('database' + _root.saveyFile, 'itum194', _root.weaponName7);
setCookie('database' + _root.saveyFile, 'itum195', _root.weaponName8);
setCookie('database' + _root.saveyFile, 'itum196', _root.glassesName1);
setCookie('database' + _root.saveyFile, 'itum197', _root.glassesName2);
setCookie('database' + _root.saveyFile, 'itum198', _root.glassesName3);
setCookie('database' + _root.saveyFile, 'itum199', _root.glassesName4);
setCookie('database' + _root.saveyFile, 'itum200', _root.glassesName5);
setCookie('database' + _root.saveyFile, 'itum201', _root.glassesName6);
setCookie('database' + _root.saveyFile, 'itum202', _root.glassesName7);
setCookie('database' + _root.saveyFile, 'itum203', _root.glassesName8);
setCookie('database' + _root.saveyFile, 'itum204', _root.equipBelt1);
setCookie('database' + _root.saveyFile, 'itum205', _root.equipBelt2);
setCookie('database' + _root.saveyFile, 'itum206', _root.equipBelt3);
setCookie('database' + _root.saveyFile, 'itum207', _root.equipBelt4);
setCookie('database' + _root.saveyFile, 'itum208', _root.equipBelt5);
setCookie('database' + _root.saveyFile, 'itum209', _root.equipBelt6);
setCookie('database' + _root.saveyFile, 'itum210', _root.equipBelt7);
setCookie('database' + _root.saveyFile, 'itum211', _root.equipBelt8);
setCookie('database' + _root.saveyFile, 'itum212', _root.beltLook);
setCookie('database' + _root.saveyFile, 'itum213', _root.beltLook2);
setCookie('database' + _root.saveyFile, 'itum214', _root.beltSkill1);
setCookie('database' + _root.saveyFile, 'itum215', _root.beltSkill2);
setCookie('database' + _root.saveyFile, 'itum216', _root.beltSkill3);
setCookie('database' + _root.saveyFile, 'itum217', _root.beltSkill4);
setCookie('database' + _root.saveyFile, 'itum218', _root.beltSkill5);
setCookie('database' + _root.saveyFile, 'itum219', _root.beltSkill6);
setCookie('database' + _root.saveyFile, 'itum220', _root.beltSkill7);
setCookie('database' + _root.saveyFile, 'itum221', _root.beltSkill8);
setCookie('database' + _root.saveyFile, 'itum222', _root.equipGlasses1);
setCookie('database' + _root.saveyFile, 'itum223', _root.equipGlasses2);
setCookie('database' + _root.saveyFile, 'itum224', _root.equipGlasses3);
setCookie('database' + _root.saveyFile, 'itum225', _root.equipGlasses4);
setCookie('database' + _root.saveyFile, 'itum226', _root.equipGlasses5);
setCookie('database' + _root.saveyFile, 'itum227', _root.equipGlasses6);
setCookie('database' + _root.saveyFile, 'itum228', _root.equipGlasses7);
setCookie('database' + _root.saveyFile, 'itum229', _root.equipGlasses8);
setCookie('database' + _root.saveyFile, 'itum230', _root.glassesLook1);
setCookie('database' + _root.saveyFile, 'itum231', _root.glassesLook2);
setCookie('database' + _root.saveyFile, 'itum232', _root.glassesSkill1);
setCookie('database' + _root.saveyFile, 'itum233', _root.glassesSkill2);
setCookie('database' + _root.saveyFile, 'itum234', _root.glassesSkill3);
setCookie('database' + _root.saveyFile, 'itum235', _root.glassesSkill4);
setCookie('database' + _root.saveyFile, 'itum236', _root.glassesSkill5);
setCookie('database' + _root.saveyFile, 'itum237', _root.glassesSkill6);
setCookie('database' + _root.saveyFile, 'itum238', _root.glassesSkill7);
setCookie('database' + _root.saveyFile, 'itum239', _root.glassesSkill8);
setCookie('database' + _root.saveyFile, 'itum240', _root.equipArmor1);
setCookie('database' + _root.saveyFile, 'itum241', _root.equipArmor2);
setCookie('database' + _root.saveyFile, 'itum242', _root.equipArmor3);
setCookie('database' + _root.saveyFile, 'itum243', _root.equipArmor4);
setCookie('database' + _root.saveyFile, 'itum244', _root.equipArmor5);
setCookie('database' + _root.saveyFile, 'itum245', _root.equipArmor6);
setCookie('database' + _root.saveyFile, 'itum246', _root.equipArmor7);
setCookie('database' + _root.saveyFile, 'itum247', _root.equipArmor8);
setCookie('database' + _root.saveyFile, 'itum248', _root.armorSkill1);
setCookie('database' + _root.saveyFile, 'itum249', _root.armorSkill2);
setCookie('database' + _root.saveyFile, 'itum250', _root.armorSkill3);
setCookie('database' + _root.saveyFile, 'itum251', _root.armorSkill4);
setCookie('database' + _root.saveyFile, 'itum252', _root.armorSkill5);
setCookie('database' + _root.saveyFile, 'itum253', _root.armorSkill6);
setCookie('database' + _root.saveyFile, 'itum254', _root.armorSkill7);
setCookie('database' + _root.saveyFile, 'itum255', _root.armorSkill8);
setCookie('database' + _root.saveyFile, 'itum256', _root.armorSkill9);
setCookie('database' + _root.saveyFile, 'itum257', _root.armorSkill10);
setCookie('database' + _root.saveyFile, 'itum258', _root.armorSkill11);
setCookie('database' + _root.saveyFile, 'itum259', _root.armorSkill12);
setCookie('database' + _root.saveyFile, 'itum260', _root.armorSkill13);
setCookie('database' + _root.saveyFile, 'itum261', _root.armorSkill14);
setCookie('database' + _root.saveyFile, 'itum262', _root.armorSkill15);
setCookie('database' + _root.saveyFile, 'itum263', _root.armorSkill16);
setCookie('database' + _root.saveyFile, 'itum264', _root.armorSkill17);
setCookie('database' + _root.saveyFile, 'itum265', _root.armorSkill18);
setCookie('database' + _root.saveyFile, 'itum266', _root.armorSkill19);
setCookie('database' + _root.saveyFile, 'itum267', _root.armorSkill20);
setCookie('database' + _root.saveyFile, 'itum268', _root.armorSkill21);
setCookie('database' + _root.saveyFile, 'itum269', _root.armorSkill22);
setCookie('database' + _root.saveyFile, 'itum270', _root.armorSkill23);
setCookie('database' + _root.saveyFile, 'itum271', _root.armorSkill24);
setCookie('database' + _root.saveyFile, 'itum272', _root.hairStyle2);
setCookie('database' + _root.saveyFile, 'itum273', _root.saveyYo);
setCookie('database' + _root.saveyFile, 'itum274', _root.order1);
setCookie('database' + _root.saveyFile, 'itum275', _root.order2);
setCookie('database' + _root.saveyFile, 'itum276', _root.lifeLeech);
setCookie('database' + _root.saveyFile, 'itum277', _root.magLeech);
setCookie('database' + _root.saveyFile, 'itum278', _root.helpModeOff);
setCookie('database' + _root.saveyFile, 'itum279', _root.chest1);
setCookie('database' + _root.saveyFile, 'itum280', _root.chest2);
setCookie('database' + _root.saveyFile, 'itum281', _root.chest3);
setCookie('database' + _root.saveyFile, 'itum282', _root.chest4);
setCookie('database' + _root.saveyFile, 'itum283', _root.chest5);
setCookie('database' + _root.saveyFile, 'itum284', _root.minutos);
setCookie('database' + _root.saveyFile, 'itum285', _root.minutos2);
setCookie('database' + _root.saveyFile, 'itum286', _root.hoursos);
setCookie('database' + _root.saveyFile, 'itum287', _root.hoursos2);
setCookie('database' + _root.saveyFile, 'itum288', _root.speedShoes);
setCookie('database' + _root.saveyFile, 'itum289', _root.chest6);
setCookie('database' + _root.saveyFile, 'itum290', _root.hoursos3);
setCookie('database' + _root.saveyFile, 'itum291', _root.minutos3);
setCookie('database' + _root.saveyFile, 'itum292', _root.healskilled2);
setCookie('database' + _root.saveyFile, 'itum293', _root.fireswodskilled);
setCookie('database' + _root.saveyFile, 'itum294', _root.lightswodskilled);
setCookie('database' + _root.saveyFile, 'itum295', _root.enchantskilled);
setCookie('database' + _root.saveyFile, 'itum296', _root.demiskilled);
setCookie('database' + _root.saveyFile, 'itum297', _root.confuseskilled);
setCookie('database' + _root.saveyFile, 'itum298', _root.ballLightskilled);
setCookie('database' + _root.saveyFile, 'itum299', _root.berserkskilled);
setCookie('database' + _root.saveyFile, 'itum300', _root.sheildskilled);
setCookie('database' + _root.saveyFile, 'itum301', _root.frogskilled);
setCookie('database' + _root.saveyFile, 'itum302', _root.flareskilled);
setCookie('database' + _root.saveyFile, 'itum303', _root.cometskilled);
setCookie('database' + _root.saveyFile, 'itum304', _root.skillpoint3);
setCookie('database' + _root.saveyFile, 'itum305', _root.holyskilled);
setCookie('database' + _root.saveyFile, 'itum306', _root.quickthrowskilled);
setCookie('database' + _root.saveyFile, 'itum307', _root.moneyskilled);
setCookie('database' + _root.saveyFile, 'itum308', _root.skillpointsskilled);
setCookie('database' + _root.saveyFile, 'itum309', _root.energyskilled);
setCookie('database' + _root.saveyFile, 'itum310', _root.vitalityskilled);
setCookie('database' + _root.saveyFile, 'itum311', _root.statusskilled);
setCookie('database' + _root.saveyFile, 'itum312', _root.expskilled);
setCookie('database' + _root.saveyFile, 'itum313', _root.shockwaveskilled);
setCookie('database' + _root.saveyFile, 'itum314', _root.powerbreakskilled);
setCookie('database' + _root.saveyFile, 'itum315', _root.multileechskilled);
setCookie('database' + _root.saveyFile, 'itum316', _root.multislashskilled);
setCookie('database' + _root.saveyFile, 'itum317', _root.counterskilled);
setCookie('database' + _root.saveyFile, 'itum318', _root.spamItem);
setCookie('database' + _root.saveyFile, 'itum319', _root.docStickItem);
setCookie('database' + _root.saveyFile, 'itum320', _root.smokeHatItem);
setCookie('database' + _root.saveyFile, 'itum321', _root.stickCourage);
setCookie('database' + _root.saveyFile, 'itum322', _root.supeSpeed);
setCookie('database' + _root.saveyFile, 'itum323', _root.mistOn);
setCookie('database' + _root.saveyFile, 'itum324', _root.girlBed);
setCookie('database' + _root.saveyFile, 'itum325', _root.story);
setCookie('database' + _root.saveyFile, 'itum326', _root.herosItem);
setCookie('database' + _root.saveyFile, 'itum327', _root.heroRing);
setCookie('database' + _root.saveyFile, 'itum328', _root.jerarmsItem);
setCookie('database' + _root.saveyFile, 'itum329', _root.gotIt1);
setCookie('database' + _root.saveyFile, 'itum330', _root.gotIt2);
setCookie('database' + _root.saveyFile, 'itum331', _root.gotIt3);
setCookie('database' + _root.saveyFile, 'itum332', _root.areaSave);
setCookie('database' + _root.saveyFile, 'itum333', _root.keyMe);
setCookie('database' + _root.saveyFile, 'itum334', _root.fluteItem);
setCookie('database' + _root.saveyFile, 'itum335', _root.defensePotion);
setCookie('database' + _root.saveyFile, 'itum336', _root.skillPotion);
setCookie('database' + _root.saveyFile, 'itum337', _root.magicPotion);
setCookie('database' + _root.saveyFile, 'itum338', _root.strengthPotion);
setCookie('database' + _root.saveyFile, 'itum339', _root.lifePotion);
setCookie('database' + _root.saveyFile, 'itum340', _root.supesCape);
data1 = 'Valid Data';
}
}
button 10328 {
on (release) {
_root.saveola.gotoAndPlay(2);
_root.saveyYo2 = 1;
_root.saveyFile = 1;
setCookie('database' + _root.saveyFile, 'itum1', _root.firemanskilled);
setCookie('database' + _root.saveyFile, 'itum2', _root.lighthorseskilled);
setCookie('database' + _root.saveyFile, 'itum3', _root.dragonskilled);
setCookie('database' + _root.saveyFile, 'itum4', _root.hypnotistskilled);
setCookie('database' + _root.saveyFile, 'itum5', _root._level0.limit2);
setCookie('database' + _root.saveyFile, 'itum6', _root.defaultPower);
setCookie('database' + _root.saveyFile, 'itum7', _root.enemyEncounter);
setCookie('database' + _root.saveyFile, 'itum8', _root.helpModeOn);
setCookie('database' + _root.saveyFile, 'itum9', _root.critical2);
setCookie('database' + _root.saveyFile, 'itum10', _root.ap2);
setCookie('database' + _root.saveyFile, 'itum11', _root.exp2);
setCookie('database' + _root.saveyFile, 'itum12', _root.EXPNeeded2);
setCookie('database' + _root.saveyFile, 'itum13', _root.clockSeconds);
setCookie('database' + _root.saveyFile, 'itum14', _root.clockMinutes);
setCookie('database' + _root.saveyFile, 'itum15', _root.clockHours);
setCookie('database' + _root.saveyFile, 'itum16', _root.qattackskilled);
setCookie('database' + _root.saveyFile, 'itum17', _root.dattackskilled);
setCookie('database' + _root.saveyFile, 'itum18', _root.nightmareskilled);
setCookie('database' + _root.saveyFile, 'itum19', _root.hpdrainskilled);
setCookie('database' + _root.saveyFile, 'itum20', _root.mpdrainskilled);
setCookie('database' + _root.saveyFile, 'itum21', _root.deathskilled);
setCookie('database' + _root.saveyFile, 'itum22', _root.hlevel);
setCookie('database' + _root.saveyFile, 'itum23', _root.energy2);
setCookie('database' + _root.saveyFile, 'itum24', _root.comebackskilled);
setCookie('database' + _root.saveyFile, 'itum25', _root.protectDefense);
setCookie('database' + _root.saveyFile, 'itum26', _root.shellDefense);
setCookie('database' + _root.saveyFile, 'itum27', _root.level2);
setCookie('database' + _root.saveyFile, 'itum28', _root.defense2);
setCookie('database' + _root.saveyFile, 'itum29', _root.vitality2);
setCookie('database' + _root.saveyFile, 'itum30', _root.skills2);
setCookie('database' + _root.saveyFile, 'itum31', _root.strength2);
setCookie('database' + _root.saveyFile, 'itum32', _root.mp2);
setCookie('database' + _root.saveyFile, 'itum33', _root.maxmp2);
setCookie('database' + _root.saveyFile, 'itum34', _root.activeMode);
setCookie('database' + _root.saveyFile, 'itum35', _root.charSwitchOn);
setCookie('database' + _root.saveyFile, 'itum36', _root.defense2);
setCookie('database' + _root.saveyFile, 'itum37', _root.char2);
setCookie('database' + _root.saveyFile, 'itum38', _root.maxhp2);
setCookie('database' + _root.saveyFile, 'itum39', _root.char2Alive);
setCookie('database' + _root.saveyFile, 'itum40', _root.hptwo2);
setCookie('database' + _root.saveyFile, 'itum41', _root.mptwo2);
setCookie('database' + _root.saveyFile, 'itum42', _root.char1Alive);
setCookie('database' + _root.saveyFile, 'itum43', _root.revive);
setCookie('database' + _root.saveyFile, 'itum44', _root.money);
setCookie('database' + _root.saveyFile, 'itum45', _root.notAnother);
setCookie('database' + _root.saveyFile, 'itum46', _root.ap);
setCookie('database' + _root.saveyFile, 'itum47', _root.moHp);
setCookie('database' + _root.saveyFile, 'itum48', _root.ultimaskilled);
setCookie('database' + _root.saveyFile, 'itum49', _root.furystormskilled);
setCookie('database' + _root.saveyFile, 'itum50', _root.slowskilled);
setCookie('database' + _root.saveyFile, 'itum51', _root.stopskilled);
setCookie('database' + _root.saveyFile, 'itum52', _root.shellskilled);
setCookie('database' + _root.saveyFile, 'itum53', _root.protectskilled);
setCookie('database' + _root.saveyFile, 'itum54', _root.hasteskilled);
setCookie('database' + _root.saveyFile, 'itum55', _root.bioskilled);
setCookie('database' + _root.saveyFile, 'itum56', _root.sleepskilled);
setCookie('database' + _root.saveyFile, 'itum57', _root.reviveskilled);
setCookie('database' + _root.saveyFile, 'itum58', _root.replenishskilled);
setCookie('database' + _root.saveyFile, 'itum59', _root.leechskilled);
setCookie('database' + _root.saveyFile, 'itum60', _root.healskilled);
setCookie('database' + _root.saveyFile, 'itum61', _root.fireskilled);
setCookie('database' + _root.saveyFile, 'itum62', _root.lightskilled);
setCookie('database' + _root.saveyFile, 'itum63', _root.iceskilled);
setCookie('database' + _root.saveyFile, 'itum64', _root.skillpoint2);
setCookie('database' + _root.saveyFile, 'itum65', _root.attack2);
setCookie('database' + _root.saveyFile, 'itum66', _root.speedEx2);
setCookie('database' + _root.saveyFile, 'itum67', _root.speed2);
setCookie('database' + _root.saveyFile, 'itum68', _root.moneyPlus);
setCookie('database' + _root.saveyFile, 'itum69', _root.EXPMore);
setCookie('database' + _root.saveyFile, 'itum70', _root.hptwo);
setCookie('database' + _root.saveyFile, 'itum71', _root.mptwo);
setCookie('database' + _root.saveyFile, 'itum72', _root.equipWeapon1);
setCookie('database' + _root.saveyFile, 'itum73', _root.equipWeapon2);
setCookie('database' + _root.saveyFile, 'itum74', _root.equipWeapon3);
setCookie('database' + _root.saveyFile, 'itum75', _root.equipWeapon4);
setCookie('database' + _root.saveyFile, 'itum76', _root.equipWeapon5);
setCookie('database' + _root.saveyFile, 'itum77', _root.equipWeapon6);
setCookie('database' + _root.saveyFile, 'itum78', _root.equipWeapon7);
setCookie('database' + _root.saveyFile, 'itum79', _root.equipWeapon8);
setCookie('database' + _root.saveyFile, 'itum80', _root.skills);
setCookie('database' + _root.saveyFile, 'itum81', _root.moEXP);
setCookie('database' + _root.saveyFile, 'itum82', _root.exp1);
setCookie('database' + _root.saveyFile, 'itum83', _root.fight2);
setCookie('database' + _root.saveyFile, 'itum84', _root.worldmap);
setCookie('database' + _root.saveyFile, 'itum85', _root.level);
setCookie('database' + _root.saveyFile, 'itum86', _root.speedEx);
setCookie('database' + _root.saveyFile, 'itum87', _root.defense);
setCookie('database' + _root.saveyFile, 'itum88', _root.energy);
setCookie('database' + _root.saveyFile, 'itum89', _root.vitality);
setCookie('database' + _root.saveyFile, 'itum90', _root.strength);
setCookie('database' + _root.saveyFile, 'itum91', _root.PercentLoaded);
setCookie('database' + _root.saveyFile, 'itum92', _root.hair);
setCookie('database' + _root.saveyFile, 'itum93', _root.potion);
setCookie('database' + _root.saveyFile, 'itum94', _root.ether);
setCookie('database' + _root.saveyFile, 'itum95', _root.hpotion);
setCookie('database' + _root.saveyFile, 'itum96', _root.xpotion);
setCookie('database' + _root.saveyFile, 'itum97', _root.elixir);
setCookie('database' + _root.saveyFile, 'itum98', _root.critical1);
setCookie('database' + _root.saveyFile, 'itum99', _root.limit);
setCookie('database' + _root.saveyFile, 'itum100', _root.mp1);
setCookie('database' + _root.saveyFile, 'itum101', _root.maxmp1);
setCookie('database' + _root.saveyFile, 'itum102', _root.char1);
setCookie('database' + _root.saveyFile, 'itum103', _root.maxhp);
setCookie('database' + _root.saveyFile, 'itum104', _root.speed);
setCookie('database' + _root.saveyFile, 'itum105', _root.moEXP);
setCookie('database' + _root.saveyFile, 'itum106', _root.EXPNeeded);
setCookie('database' + _root.saveyFile, 'itum107', _root.antidote);
setCookie('database' + _root.saveyFile, 'itum108', _root.activeMode);
setCookie('database' + _root.saveyFile, 'itum109', _root.waitMode);
setCookie('database' + _root.saveyFile, 'itum110', _root.weapon1);
setCookie('database' + _root.saveyFile, 'itum111', _root.weapon2);
setCookie('database' + _root.saveyFile, 'itum112', _root.weapon3);
setCookie('database' + _root.saveyFile, 'itum113', _root.weapon4);
setCookie('database' + _root.saveyFile, 'itum114', _root.weapon5);
setCookie('database' + _root.saveyFile, 'itum115', _root.weapon6);
setCookie('database' + _root.saveyFile, 'itum116', _root.weapon7);
setCookie('database' + _root.saveyFile, 'itum117', _root.weapon8);
setCookie('database' + _root.saveyFile, 'itum118', _root.armor1);
setCookie('database' + _root.saveyFile, 'itum119', _root.armor2);
setCookie('database' + _root.saveyFile, 'itum120', _root.armor3);
setCookie('database' + _root.saveyFile, 'itum121', _root.armor4);
setCookie('database' + _root.saveyFile, 'itum122', _root.armor5);
setCookie('database' + _root.saveyFile, 'itum123', _root.armor6);
setCookie('database' + _root.saveyFile, 'itum124', _root.armor7);
setCookie('database' + _root.saveyFile, 'itum125', _root.armor8);
setCookie('database' + _root.saveyFile, 'itum126', _root.belt1);
setCookie('database' + _root.saveyFile, 'itum127', _root.belt2);
setCookie('database' + _root.saveyFile, 'itum128', _root.belt3);
setCookie('database' + _root.saveyFile, 'itum129', _root.belt4);
setCookie('database' + _root.saveyFile, 'itum130', _root.belt5);
setCookie('database' + _root.saveyFile, 'itum131', _root.belt6);
setCookie('database' + _root.saveyFile, 'itum132', _root.belt7);
setCookie('database' + _root.saveyFile, 'itum133', _root.belt8);
setCookie('database' + _root.saveyFile, 'itum134', _root.glasses1);
setCookie('database' + _root.saveyFile, 'itum135', _root.glasses2);
setCookie('database' + _root.saveyFile, 'itum136', _root.glasses3);
setCookie('database' + _root.saveyFile, 'itum137', _root.glasses4);
setCookie('database' + _root.saveyFile, 'itum138', _root.glasses5);
setCookie('database' + _root.saveyFile, 'itum139', _root.glasses6);
setCookie('database' + _root.saveyFile, 'itum140', _root.glasses7);
setCookie('database' + _root.saveyFile, 'itum141', _root.glasses8);
setCookie('database' + _root.saveyFile, 'itum142', _root.weaponLook);
setCookie('database' + _root.saveyFile, 'itum143', _root.weaponLook2);
setCookie('database' + _root.saveyFile, 'itum144', _root.weaponSkill1);
setCookie('database' + _root.saveyFile, 'itum145', _root.weaponSkill2);
setCookie('database' + _root.saveyFile, 'itum146', _root.weaponSkill3);
setCookie('database' + _root.saveyFile, 'itum147', _root.weaponSkill4);
setCookie('database' + _root.saveyFile, 'itum148', _root.weaponSkill5);
setCookie('database' + _root.saveyFile, 'itum149', _root.weaponSkill6);
setCookie('database' + _root.saveyFile, 'itum150', _root.weaponSkill7);
setCookie('database' + _root.saveyFile, 'itum151', _root.weaponSkill8);
setCookie('database' + _root.saveyFile, 'itum152', _root.weaponSkill9);
setCookie('database' + _root.saveyFile, 'itum153', _root.weaponSkill10);
setCookie('database' + _root.saveyFile, 'itum154', _root.weaponSkill11);
setCookie('database' + _root.saveyFile, 'itum155', _root.weaponSkill12);
setCookie('database' + _root.saveyFile, 'itum156', _root.weaponSkill13);
setCookie('database' + _root.saveyFile, 'itum157', _root.weaponSkill14);
setCookie('database' + _root.saveyFile, 'itum158', _root.weaponSkill15);
setCookie('database' + _root.saveyFile, 'itum159', _root.weaponSkill16);
setCookie('database' + _root.saveyFile, 'itum160', _root.weaponSkill17);
setCookie('database' + _root.saveyFile, 'itum161', _root.weaponSkill18);
setCookie('database' + _root.saveyFile, 'itum162', _root.weaponSkill19);
setCookie('database' + _root.saveyFile, 'itum163', _root.weaponSkill20);
setCookie('database' + _root.saveyFile, 'itum164', _root.weaponSkill21);
setCookie('database' + _root.saveyFile, 'itum165', _root.weaponSkill22);
setCookie('database' + _root.saveyFile, 'itum166', _root.weaponSkill23);
setCookie('database' + _root.saveyFile, 'itum167', _root.weaponSkill24);
setCookie('database' + _root.saveyFile, 'itum168', _root.armorLook1);
setCookie('database' + _root.saveyFile, 'itum169', _root.armorLook2);
setCookie('database' + _root.saveyFile, 'itum170', _root.specialPlace1);
setCookie('database' + _root.saveyFile, 'itum171', _root.hairStyle);
setCookie('database' + _root.saveyFile, 'itum172', _root.armorName1);
setCookie('database' + _root.saveyFile, 'itum173', _root.armorName2);
setCookie('database' + _root.saveyFile, 'itum174', _root.armorName3);
setCookie('database' + _root.saveyFile, 'itum175', _root.armorName4);
setCookie('database' + _root.saveyFile, 'itum176', _root.armorName5);
setCookie('database' + _root.saveyFile, 'itum177', _root.armorName6);
setCookie('database' + _root.saveyFile, 'itum178', _root.armorName7);
setCookie('database' + _root.saveyFile, 'itum179', _root.armorName8);
setCookie('database' + _root.saveyFile, 'itum180', _root.beltName1);
setCookie('database' + _root.saveyFile, 'itum181', _root.beltName2);
setCookie('database' + _root.saveyFile, 'itum182', _root.beltName3);
setCookie('database' + _root.saveyFile, 'itum183', _root.beltName4);
setCookie('database' + _root.saveyFile, 'itum184', _root.beltName5);
setCookie('database' + _root.saveyFile, 'itum185', _root.beltName6);
setCookie('database' + _root.saveyFile, 'itum186', _root.beltName7);
setCookie('database' + _root.saveyFile, 'itum187', _root.beltName8);
setCookie('database' + _root.saveyFile, 'itum188', _root.weaponName1);
setCookie('database' + _root.saveyFile, 'itum189', _root.weaponName2);
setCookie('database' + _root.saveyFile, 'itum190', _root.weaponName3);
setCookie('database' + _root.saveyFile, 'itum191', _root.weaponName4);
setCookie('database' + _root.saveyFile, 'itum192', _root.weaponName5);
setCookie('database' + _root.saveyFile, 'itum193', _root.weaponName6);
setCookie('database' + _root.saveyFile, 'itum194', _root.weaponName7);
setCookie('database' + _root.saveyFile, 'itum195', _root.weaponName8);
setCookie('database' + _root.saveyFile, 'itum196', _root.glassesName1);
setCookie('database' + _root.saveyFile, 'itum197', _root.glassesName2);
setCookie('database' + _root.saveyFile, 'itum198', _root.glassesName3);
setCookie('database' + _root.saveyFile, 'itum199', _root.glassesName4);
setCookie('database' + _root.saveyFile, 'itum200', _root.glassesName5);
setCookie('database' + _root.saveyFile, 'itum201', _root.glassesName6);
setCookie('database' + _root.saveyFile, 'itum202', _root.glassesName7);
setCookie('database' + _root.saveyFile, 'itum203', _root.glassesName8);
setCookie('database' + _root.saveyFile, 'itum204', _root.equipBelt1);
setCookie('database' + _root.saveyFile, 'itum205', _root.equipBelt2);
setCookie('database' + _root.saveyFile, 'itum206', _root.equipBelt3);
setCookie('database' + _root.saveyFile, 'itum207', _root.equipBelt4);
setCookie('database' + _root.saveyFile, 'itum208', _root.equipBelt5);
setCookie('database' + _root.saveyFile, 'itum209', _root.equipBelt6);
setCookie('database' + _root.saveyFile, 'itum210', _root.equipBelt7);
setCookie('database' + _root.saveyFile, 'itum211', _root.equipBelt8);
setCookie('database' + _root.saveyFile, 'itum212', _root.beltLook);
setCookie('database' + _root.saveyFile, 'itum213', _root.beltLook2);
setCookie('database' + _root.saveyFile, 'itum214', _root.beltSkill1);
setCookie('database' + _root.saveyFile, 'itum215', _root.beltSkill2);
setCookie('database' + _root.saveyFile, 'itum216', _root.beltSkill3);
setCookie('database' + _root.saveyFile, 'itum217', _root.beltSkill4);
setCookie('database' + _root.saveyFile, 'itum218', _root.beltSkill5);
setCookie('database' + _root.saveyFile, 'itum219', _root.beltSkill6);
setCookie('database' + _root.saveyFile, 'itum220', _root.beltSkill7);
setCookie('database' + _root.saveyFile, 'itum221', _root.beltSkill8);
setCookie('database' + _root.saveyFile, 'itum222', _root.equipGlasses1);
setCookie('database' + _root.saveyFile, 'itum223', _root.equipGlasses2);
setCookie('database' + _root.saveyFile, 'itum224', _root.equipGlasses3);
setCookie('database' + _root.saveyFile, 'itum225', _root.equipGlasses4);
setCookie('database' + _root.saveyFile, 'itum226', _root.equipGlasses5);
setCookie('database' + _root.saveyFile, 'itum227', _root.equipGlasses6);
setCookie('database' + _root.saveyFile, 'itum228', _root.equipGlasses7);
setCookie('database' + _root.saveyFile, 'itum229', _root.equipGlasses8);
setCookie('database' + _root.saveyFile, 'itum230', _root.glassesLook1);
setCookie('database' + _root.saveyFile, 'itum231', _root.glassesLook2);
setCookie('database' + _root.saveyFile, 'itum232', _root.glassesSkill1);
setCookie('database' + _root.saveyFile, 'itum233', _root.glassesSkill2);
setCookie('database' + _root.saveyFile, 'itum234', _root.glassesSkill3);
setCookie('database' + _root.saveyFile, 'itum235', _root.glassesSkill4);
setCookie('database' + _root.saveyFile, 'itum236', _root.glassesSkill5);
setCookie('database' + _root.saveyFile, 'itum237', _root.glassesSkill6);
setCookie('database' + _root.saveyFile, 'itum238', _root.glassesSkill7);
setCookie('database' + _root.saveyFile, 'itum239', _root.glassesSkill8);
setCookie('database' + _root.saveyFile, 'itum240', _root.equipArmor1);
setCookie('database' + _root.saveyFile, 'itum241', _root.equipArmor2);
setCookie('database' + _root.saveyFile, 'itum242', _root.equipArmor3);
setCookie('database' + _root.saveyFile, 'itum243', _root.equipArmor4);
setCookie('database' + _root.saveyFile, 'itum244', _root.equipArmor5);
setCookie('database' + _root.saveyFile, 'itum245', _root.equipArmor6);
setCookie('database' + _root.saveyFile, 'itum246', _root.equipArmor7);
setCookie('database' + _root.saveyFile, 'itum247', _root.equipArmor8);
setCookie('database' + _root.saveyFile, 'itum248', _root.armorSkill1);
setCookie('database' + _root.saveyFile, 'itum249', _root.armorSkill2);
setCookie('database' + _root.saveyFile, 'itum250', _root.armorSkill3);
setCookie('database' + _root.saveyFile, 'itum251', _root.armorSkill4);
setCookie('database' + _root.saveyFile, 'itum252', _root.armorSkill5);
setCookie('database' + _root.saveyFile, 'itum253', _root.armorSkill6);
setCookie('database' + _root.saveyFile, 'itum254', _root.armorSkill7);
setCookie('database' + _root.saveyFile, 'itum255', _root.armorSkill8);
setCookie('database' + _root.saveyFile, 'itum256', _root.armorSkill9);
setCookie('database' + _root.saveyFile, 'itum257', _root.armorSkill10);
setCookie('database' + _root.saveyFile, 'itum258', _root.armorSkill11);
setCookie('database' + _root.saveyFile, 'itum259', _root.armorSkill12);
setCookie('database' + _root.saveyFile, 'itum260', _root.armorSkill13);
setCookie('database' + _root.saveyFile, 'itum261', _root.armorSkill14);
setCookie('database' + _root.saveyFile, 'itum262', _root.armorSkill15);
setCookie('database' + _root.saveyFile, 'itum263', _root.armorSkill16);
setCookie('database' + _root.saveyFile, 'itum264', _root.armorSkill17);
setCookie('database' + _root.saveyFile, 'itum265', _root.armorSkill18);
setCookie('database' + _root.saveyFile, 'itum266', _root.armorSkill19);
setCookie('database' + _root.saveyFile, 'itum267', _root.armorSkill20);
setCookie('database' + _root.saveyFile, 'itum268', _root.armorSkill21);
setCookie('database' + _root.saveyFile, 'itum269', _root.armorSkill22);
setCookie('database' + _root.saveyFile, 'itum270', _root.armorSkill23);
setCookie('database' + _root.saveyFile, 'itum271', _root.armorSkill24);
setCookie('database' + _root.saveyFile, 'itum272', _root.hairStyle2);
setCookie('database' + _root.saveyFile, 'itum273', _root.saveyYo);
setCookie('database' + _root.saveyFile, 'itum274', _root.order1);
setCookie('database' + _root.saveyFile, 'itum275', _root.order2);
setCookie('database' + _root.saveyFile, 'itum276', _root.lifeLeech);
setCookie('database' + _root.saveyFile, 'itum277', _root.magLeech);
setCookie('database' + _root.saveyFile, 'itum278', _root.helpModeOff);
setCookie('database' + _root.saveyFile, 'itum279', _root.chest1);
setCookie('database' + _root.saveyFile, 'itum280', _root.chest2);
setCookie('database' + _root.saveyFile, 'itum281', _root.chest3);
setCookie('database' + _root.saveyFile, 'itum282', _root.chest4);
setCookie('database' + _root.saveyFile, 'itum283', _root.chest5);
setCookie('database' + _root.saveyFile, 'itum284', _root.minutos);
setCookie('database' + _root.saveyFile, 'itum285', _root.minutos2);
setCookie('database' + _root.saveyFile, 'itum286', _root.hoursos);
setCookie('database' + _root.saveyFile, 'itum287', _root.hoursos2);
setCookie('database' + _root.saveyFile, 'itum288', _root.speedShoes);
setCookie('database' + _root.saveyFile, 'itum289', _root.chest6);
setCookie('database' + _root.saveyFile, 'itum290', _root.hoursos3);
setCookie('database' + _root.saveyFile, 'itum291', _root.minutos3);
setCookie('database' + _root.saveyFile, 'itum292', _root.healskilled2);
setCookie('database' + _root.saveyFile, 'itum293', _root.fireswodskilled);
setCookie('database' + _root.saveyFile, 'itum294', _root.lightswodskilled);
setCookie('database' + _root.saveyFile, 'itum295', _root.enchantskilled);
setCookie('database' + _root.saveyFile, 'itum296', _root.demiskilled);
setCookie('database' + _root.saveyFile, 'itum297', _root.confuseskilled);
setCookie('database' + _root.saveyFile, 'itum298', _root.ballLightskilled);
setCookie('database' + _root.saveyFile, 'itum299', _root.berserkskilled);
setCookie('database' + _root.saveyFile, 'itum300', _root.sheildskilled);
setCookie('database' + _root.saveyFile, 'itum301', _root.frogskilled);
setCookie('database' + _root.saveyFile, 'itum302', _root.flareskilled);
setCookie('database' + _root.saveyFile, 'itum303', _root.cometskilled);
setCookie('database' + _root.saveyFile, 'itum304', _root.skillpoint3);
setCookie('database' + _root.saveyFile, 'itum305', _root.holyskilled);
setCookie('database' + _root.saveyFile, 'itum306', _root.quickthrowskilled);
setCookie('database' + _root.saveyFile, 'itum307', _root.moneyskilled);
setCookie('database' + _root.saveyFile, 'itum308', _root.skillpointsskilled);
setCookie('database' + _root.saveyFile, 'itum309', _root.energyskilled);
setCookie('database' + _root.saveyFile, 'itum310', _root.vitalityskilled);
setCookie('database' + _root.saveyFile, 'itum311', _root.statusskilled);
setCookie('database' + _root.saveyFile, 'itum312', _root.expskilled);
setCookie('database' + _root.saveyFile, 'itum313', _root.shockwaveskilled);
setCookie('database' + _root.saveyFile, 'itum314', _root.powerbreakskilled);
setCookie('database' + _root.saveyFile, 'itum315', _root.multileechskilled);
setCookie('database' + _root.saveyFile, 'itum316', _root.multislashskilled);
setCookie('database' + _root.saveyFile, 'itum317', _root.counterskilled);
setCookie('database' + _root.saveyFile, 'itum318', _root.spamItem);
setCookie('database' + _root.saveyFile, 'itum319', _root.docStickItem);
setCookie('database' + _root.saveyFile, 'itum320', _root.smokeHatItem);
setCookie('database' + _root.saveyFile, 'itum321', _root.stickCourage);
setCookie('database' + _root.saveyFile, 'itum322', _root.supeSpeed);
setCookie('database' + _root.saveyFile, 'itum323', _root.mistOn);
setCookie('database' + _root.saveyFile, 'itum324', _root.girlBed);
setCookie('database' + _root.saveyFile, 'itum325', _root.story);
setCookie('database' + _root.saveyFile, 'itum326', _root.saveyYo2);
setCookie('database' + _root.saveyFile, 'itum327', _root.herosItem);
setCookie('database' + _root.saveyFile, 'itum328', _root.heroRing);
setCookie('database' + _root.saveyFile, 'itum329', _root.jerarmsItem);
setCookie('database' + _root.saveyFile, 'itum330', _root.gotIt1);
setCookie('database' + _root.saveyFile, 'itum331', _root.gotIt2);
setCookie('database' + _root.saveyFile, 'itum332', _root.gotIt3);
setCookie('database' + _root.saveyFile, 'itum333', _root.areaSave);
setCookie('database' + _root.saveyFile, 'itum334', _root.keyMe);
setCookie('database' + _root.saveyFile, 'itum335', _root.fluteItem);
setCookie('database' + _root.saveyFile, 'itum336', _root.defensePotion);
setCookie('database' + _root.saveyFile, 'itum337', _root.skillPotion);
setCookie('database' + _root.saveyFile, 'itum338', _root.magicPotion);
setCookie('database' + _root.saveyFile, 'itum339', _root.strengthPotion);
setCookie('database' + _root.saveyFile, 'itum340', _root.lifePotion);
setCookie('database' + _root.saveyFile, 'itum341', _root.supesCape);
data2 = 'Valid Data';
}
}
button 10329 {
on (release) {
_root.saveola.gotoAndPlay(2);
_root.saveyYo3 = 1;
_root.saveyFile = 2;
setCookie('database' + _root.saveyFile, 'itum1', _root.firemanskilled);
setCookie('database' + _root.saveyFile, 'itum2', _root.lighthorseskilled);
setCookie('database' + _root.saveyFile, 'itum3', _root.dragonskilled);
setCookie('database' + _root.saveyFile, 'itum4', _root.hypnotistskilled);
setCookie('database' + _root.saveyFile, 'itum5', _root._level0.limit2);
setCookie('database' + _root.saveyFile, 'itum6', _root.defaultPower);
setCookie('database' + _root.saveyFile, 'itum7', _root.enemyEncounter);
setCookie('database' + _root.saveyFile, 'itum8', _root.helpModeOn);
setCookie('database' + _root.saveyFile, 'itum9', _root.critical2);
setCookie('database' + _root.saveyFile, 'itum10', _root.ap2);
setCookie('database' + _root.saveyFile, 'itum11', _root.exp2);
setCookie('database' + _root.saveyFile, 'itum12', _root.EXPNeeded2);
setCookie('database' + _root.saveyFile, 'itum13', _root.clockSeconds);
setCookie('database' + _root.saveyFile, 'itum14', _root.clockMinutes);
setCookie('database' + _root.saveyFile, 'itum15', _root.clockHours);
setCookie('database' + _root.saveyFile, 'itum16', _root.qattackskilled);
setCookie('database' + _root.saveyFile, 'itum17', _root.dattackskilled);
setCookie('database' + _root.saveyFile, 'itum18', _root.nightmareskilled);
setCookie('database' + _root.saveyFile, 'itum19', _root.hpdrainskilled);
setCookie('database' + _root.saveyFile, 'itum20', _root.mpdrainskilled);
setCookie('database' + _root.saveyFile, 'itum21', _root.deathskilled);
setCookie('database' + _root.saveyFile, 'itum22', _root.hlevel);
setCookie('database' + _root.saveyFile, 'itum23', _root.energy2);
setCookie('database' + _root.saveyFile, 'itum24', _root.comebackskilled);
setCookie('database' + _root.saveyFile, 'itum25', _root.protectDefense);
setCookie('database' + _root.saveyFile, 'itum26', _root.shellDefense);
setCookie('database' + _root.saveyFile, 'itum27', _root.level2);
setCookie('database' + _root.saveyFile, 'itum28', _root.defense2);
setCookie('database' + _root.saveyFile, 'itum29', _root.vitality2);
setCookie('database' + _root.saveyFile, 'itum30', _root.skills2);
setCookie('database' + _root.saveyFile, 'itum31', _root.strength2);
setCookie('database' + _root.saveyFile, 'itum32', _root.mp2);
setCookie('database' + _root.saveyFile, 'itum33', _root.maxmp2);
setCookie('database' + _root.saveyFile, 'itum34', _root.activeMode);
setCookie('database' + _root.saveyFile, 'itum35', _root.charSwitchOn);
setCookie('database' + _root.saveyFile, 'itum36', _root.defense2);
setCookie('database' + _root.saveyFile, 'itum37', _root.char2);
setCookie('database' + _root.saveyFile, 'itum38', _root.maxhp2);
setCookie('database' + _root.saveyFile, 'itum39', _root.char2Alive);
setCookie('database' + _root.saveyFile, 'itum40', _root.hptwo2);
setCookie('database' + _root.saveyFile, 'itum41', _root.mptwo2);
setCookie('database' + _root.saveyFile, 'itum42', _root.char1Alive);
setCookie('database' + _root.saveyFile, 'itum43', _root.revive);
setCookie('database' + _root.saveyFile, 'itum44', _root.money);
setCookie('database' + _root.saveyFile, 'itum45', _root.notAnother);
setCookie('database' + _root.saveyFile, 'itum46', _root.ap);
setCookie('database' + _root.saveyFile, 'itum47', _root.moHp);
setCookie('database' + _root.saveyFile, 'itum48', _root.ultimaskilled);
setCookie('database' + _root.saveyFile, 'itum49', _root.furystormskilled);
setCookie('database' + _root.saveyFile, 'itum50', _root.slowskilled);
setCookie('database' + _root.saveyFile, 'itum51', _root.stopskilled);
setCookie('database' + _root.saveyFile, 'itum52', _root.shellskilled);
setCookie('database' + _root.saveyFile, 'itum53', _root.protectskilled);
setCookie('database' + _root.saveyFile, 'itum54', _root.hasteskilled);
setCookie('database' + _root.saveyFile, 'itum55', _root.bioskilled);
setCookie('database' + _root.saveyFile, 'itum56', _root.sleepskilled);
setCookie('database' + _root.saveyFile, 'itum57', _root.reviveskilled);
setCookie('database' + _root.saveyFile, 'itum58', _root.replenishskilled);
setCookie('database' + _root.saveyFile, 'itum59', _root.leechskilled);
setCookie('database' + _root.saveyFile, 'itum60', _root.healskilled);
setCookie('database' + _root.saveyFile, 'itum61', _root.fireskilled);
setCookie('database' + _root.saveyFile, 'itum62', _root.lightskilled);
setCookie('database' + _root.saveyFile, 'itum63', _root.iceskilled);
setCookie('database' + _root.saveyFile, 'itum64', _root.skillpoint2);
setCookie('database' + _root.saveyFile, 'itum65', _root.attack2);
setCookie('database' + _root.saveyFile, 'itum66', _root.speedEx2);
setCookie('database' + _root.saveyFile, 'itum67', _root.speed2);
setCookie('database' + _root.saveyFile, 'itum68', _root.moneyPlus);
setCookie('database' + _root.saveyFile, 'itum69', _root.EXPMore);
setCookie('database' + _root.saveyFile, 'itum70', _root.hptwo);
setCookie('database' + _root.saveyFile, 'itum71', _root.mptwo);
setCookie('database' + _root.saveyFile, 'itum72', _root.equipWeapon1);
setCookie('database' + _root.saveyFile, 'itum73', _root.equipWeapon2);
setCookie('database' + _root.saveyFile, 'itum74', _root.equipWeapon3);
setCookie('database' + _root.saveyFile, 'itum75', _root.equipWeapon4);
setCookie('database' + _root.saveyFile, 'itum76', _root.equipWeapon5);
setCookie('database' + _root.saveyFile, 'itum77', _root.equipWeapon6);
setCookie('database' + _root.saveyFile, 'itum78', _root.equipWeapon7);
setCookie('database' + _root.saveyFile, 'itum79', _root.equipWeapon8);
setCookie('database' + _root.saveyFile, 'itum80', _root.skills);
setCookie('database' + _root.saveyFile, 'itum81', _root.moEXP);
setCookie('database' + _root.saveyFile, 'itum82', _root.exp1);
setCookie('database' + _root.saveyFile, 'itum83', _root.fight2);
setCookie('database' + _root.saveyFile, 'itum84', _root.worldmap);
setCookie('database' + _root.saveyFile, 'itum85', _root.level);
setCookie('database' + _root.saveyFile, 'itum86', _root.speedEx);
setCookie('database' + _root.saveyFile, 'itum87', _root.defense);
setCookie('database' + _root.saveyFile, 'itum88', _root.energy);
setCookie('database' + _root.saveyFile, 'itum89', _root.vitality);
setCookie('database' + _root.saveyFile, 'itum90', _root.strength);
setCookie('database' + _root.saveyFile, 'itum91', _root.PercentLoaded);
setCookie('database' + _root.saveyFile, 'itum92', _root.hair);
setCookie('database' + _root.saveyFile, 'itum93', _root.potion);
setCookie('database' + _root.saveyFile, 'itum94', _root.ether);
setCookie('database' + _root.saveyFile, 'itum95', _root.hpotion);
setCookie('database' + _root.saveyFile, 'itum96', _root.xpotion);
setCookie('database' + _root.saveyFile, 'itum97', _root.elixir);
setCookie('database' + _root.saveyFile, 'itum98', _root.critical1);
setCookie('database' + _root.saveyFile, 'itum99', _root.limit);
setCookie('database' + _root.saveyFile, 'itum100', _root.mp1);
setCookie('database' + _root.saveyFile, 'itum101', _root.maxmp1);
setCookie('database' + _root.saveyFile, 'itum102', _root.char1);
setCookie('database' + _root.saveyFile, 'itum103', _root.maxhp);
setCookie('database' + _root.saveyFile, 'itum104', _root.speed);
setCookie('database' + _root.saveyFile, 'itum105', _root.moEXP);
setCookie('database' + _root.saveyFile, 'itum106', _root.EXPNeeded);
setCookie('database' + _root.saveyFile, 'itum107', _root.antidote);
setCookie('database' + _root.saveyFile, 'itum108', _root.activeMode);
setCookie('database' + _root.saveyFile, 'itum109', _root.waitMode);
setCookie('database' + _root.saveyFile, 'itum110', _root.weapon1);
setCookie('database' + _root.saveyFile, 'itum111', _root.weapon2);
setCookie('database' + _root.saveyFile, 'itum112', _root.weapon3);
setCookie('database' + _root.saveyFile, 'itum113', _root.weapon4);
setCookie('database' + _root.saveyFile, 'itum114', _root.weapon5);
setCookie('database' + _root.saveyFile, 'itum115', _root.weapon6);
setCookie('database' + _root.saveyFile, 'itum116', _root.weapon7);
setCookie('database' + _root.saveyFile, 'itum117', _root.weapon8);
setCookie('database' + _root.saveyFile, 'itum118', _root.armor1);
setCookie('database' + _root.saveyFile, 'itum119', _root.armor2);
setCookie('database' + _root.saveyFile, 'itum120', _root.armor3);
setCookie('database' + _root.saveyFile, 'itum121', _root.armor4);
setCookie('database' + _root.saveyFile, 'itum122', _root.armor5);
setCookie('database' + _root.saveyFile, 'itum123', _root.armor6);
setCookie('database' + _root.saveyFile, 'itum124', _root.armor7);
setCookie('database' + _root.saveyFile, 'itum125', _root.armor8);
setCookie('database' + _root.saveyFile, 'itum126', _root.belt1);
setCookie('database' + _root.saveyFile, 'itum127', _root.belt2);
setCookie('database' + _root.saveyFile, 'itum128', _root.belt3);
setCookie('database' + _root.saveyFile, 'itum129', _root.belt4);
setCookie('database' + _root.saveyFile, 'itum130', _root.belt5);
setCookie('database' + _root.saveyFile, 'itum131', _root.belt6);
setCookie('database' + _root.saveyFile, 'itum132', _root.belt7);
setCookie('database' + _root.saveyFile, 'itum133', _root.belt8);
setCookie('database' + _root.saveyFile, 'itum134', _root.glasses1);
setCookie('database' + _root.saveyFile, 'itum135', _root.glasses2);
setCookie('database' + _root.saveyFile, 'itum136', _root.glasses3);
setCookie('database' + _root.saveyFile, 'itum137', _root.glasses4);
setCookie('database' + _root.saveyFile, 'itum138', _root.glasses5);
setCookie('database' + _root.saveyFile, 'itum139', _root.glasses6);
setCookie('database' + _root.saveyFile, 'itum140', _root.glasses7);
setCookie('database' + _root.saveyFile, 'itum141', _root.glasses8);
setCookie('database' + _root.saveyFile, 'itum142', _root.weaponLook);
setCookie('database' + _root.saveyFile, 'itum143', _root.weaponLook2);
setCookie('database' + _root.saveyFile, 'itum144', _root.weaponSkill1);
setCookie('database' + _root.saveyFile, 'itum145', _root.weaponSkill2);
setCookie('database' + _root.saveyFile, 'itum146', _root.weaponSkill3);
setCookie('database' + _root.saveyFile, 'itum147', _root.weaponSkill4);
setCookie('database' + _root.saveyFile, 'itum148', _root.weaponSkill5);
setCookie('database' + _root.saveyFile, 'itum149', _root.weaponSkill6);
setCookie('database' + _root.saveyFile, 'itum150', _root.weaponSkill7);
setCookie('database' + _root.saveyFile, 'itum151', _root.weaponSkill8);
setCookie('database' + _root.saveyFile, 'itum152', _root.weaponSkill9);
setCookie('database' + _root.saveyFile, 'itum153', _root.weaponSkill10);
setCookie('database' + _root.saveyFile, 'itum154', _root.weaponSkill11);
setCookie('database' + _root.saveyFile, 'itum155', _root.weaponSkill12);
setCookie('database' + _root.saveyFile, 'itum156', _root.weaponSkill13);
setCookie('database' + _root.saveyFile, 'itum157', _root.weaponSkill14);
setCookie('database' + _root.saveyFile, 'itum158', _root.weaponSkill15);
setCookie('database' + _root.saveyFile, 'itum159', _root.weaponSkill16);
setCookie('database' + _root.saveyFile, 'itum160', _root.weaponSkill17);
setCookie('database' + _root.saveyFile, 'itum161', _root.weaponSkill18);
setCookie('database' + _root.saveyFile, 'itum162', _root.weaponSkill19);
setCookie('database' + _root.saveyFile, 'itum163', _root.weaponSkill20);
setCookie('database' + _root.saveyFile, 'itum164', _root.weaponSkill21);
setCookie('database' + _root.saveyFile, 'itum165', _root.weaponSkill22);
setCookie('database' + _root.saveyFile, 'itum166', _root.weaponSkill23);
setCookie('database' + _root.saveyFile, 'itum167', _root.weaponSkill24);
setCookie('database' + _root.saveyFile, 'itum168', _root.armorLook1);
setCookie('database' + _root.saveyFile, 'itum169', _root.armorLook2);
setCookie('database' + _root.saveyFile, 'itum170', _root.specialPlace1);
setCookie('database' + _root.saveyFile, 'itum171', _root.hairStyle);
setCookie('database' + _root.saveyFile, 'itum172', _root.armorName1);
setCookie('database' + _root.saveyFile, 'itum173', _root.armorName2);
setCookie('database' + _root.saveyFile, 'itum174', _root.armorName3);
setCookie('database' + _root.saveyFile, 'itum175', _root.armorName4);
setCookie('database' + _root.saveyFile, 'itum176', _root.armorName5);
setCookie('database' + _root.saveyFile, 'itum177', _root.armorName6);
setCookie('database' + _root.saveyFile, 'itum178', _root.armorName7);
setCookie('database' + _root.saveyFile, 'itum179', _root.armorName8);
setCookie('database' + _root.saveyFile, 'itum180', _root.beltName1);
setCookie('database' + _root.saveyFile, 'itum181', _root.beltName2);
setCookie('database' + _root.saveyFile, 'itum182', _root.beltName3);
setCookie('database' + _root.saveyFile, 'itum183', _root.beltName4);
setCookie('database' + _root.saveyFile, 'itum184', _root.beltName5);
setCookie('database' + _root.saveyFile, 'itum185', _root.beltName6);
setCookie('database' + _root.saveyFile, 'itum186', _root.beltName7);
setCookie('database' + _root.saveyFile, 'itum187', _root.beltName8);
setCookie('database' + _root.saveyFile, 'itum188', _root.weaponName1);
setCookie('database' + _root.saveyFile, 'itum189', _root.weaponName2);
setCookie('database' + _root.saveyFile, 'itum190', _root.weaponName3);
setCookie('database' + _root.saveyFile, 'itum191', _root.weaponName4);
setCookie('database' + _root.saveyFile, 'itum192', _root.weaponName5);
setCookie('database' + _root.saveyFile, 'itum193', _root.weaponName6);
setCookie('database' + _root.saveyFile, 'itum194', _root.weaponName7);
setCookie('database' + _root.saveyFile, 'itum195', _root.weaponName8);
setCookie('database' + _root.saveyFile, 'itum196', _root.glassesName1);
setCookie('database' + _root.saveyFile, 'itum197', _root.glassesName2);
setCookie('database' + _root.saveyFile, 'itum198', _root.glassesName3);
setCookie('database' + _root.saveyFile, 'itum199', _root.glassesName4);
setCookie('database' + _root.saveyFile, 'itum200', _root.glassesName5);
setCookie('database' + _root.saveyFile, 'itum201', _root.glassesName6);
setCookie('database' + _root.saveyFile, 'itum202', _root.glassesName7);
setCookie('database' + _root.saveyFile, 'itum203', _root.glassesName8);
setCookie('database' + _root.saveyFile, 'itum204', _root.equipBelt1);
setCookie('database' + _root.saveyFile, 'itum205', _root.equipBelt2);
setCookie('database' + _root.saveyFile, 'itum206', _root.equipBelt3);
setCookie('database' + _root.saveyFile, 'itum207', _root.equipBelt4);
setCookie('database' + _root.saveyFile, 'itum208', _root.equipBelt5);
setCookie('database' + _root.saveyFile, 'itum209', _root.equipBelt6);
setCookie('database' + _root.saveyFile, 'itum210', _root.equipBelt7);
setCookie('database' + _root.saveyFile, 'itum211', _root.equipBelt8);
setCookie('database' + _root.saveyFile, 'itum212', _root.beltLook);
setCookie('database' + _root.saveyFile, 'itum213', _root.beltLook2);
setCookie('database' + _root.saveyFile, 'itum214', _root.beltSkill1);
setCookie('database' + _root.saveyFile, 'itum215', _root.beltSkill2);
setCookie('database' + _root.saveyFile, 'itum216', _root.beltSkill3);
setCookie('database' + _root.saveyFile, 'itum217', _root.beltSkill4);
setCookie('database' + _root.saveyFile, 'itum218', _root.beltSkill5);
setCookie('database' + _root.saveyFile, 'itum219', _root.beltSkill6);
setCookie('database' + _root.saveyFile, 'itum220', _root.beltSkill7);
setCookie('database' + _root.saveyFile, 'itum221', _root.beltSkill8);
setCookie('database' + _root.saveyFile, 'itum222', _root.equipGlasses1);
setCookie('database' + _root.saveyFile, 'itum223', _root.equipGlasses2);
setCookie('database' + _root.saveyFile, 'itum224', _root.equipGlasses3);
setCookie('database' + _root.saveyFile, 'itum225', _root.equipGlasses4);
setCookie('database' + _root.saveyFile, 'itum226', _root.equipGlasses5);
setCookie('database' + _root.saveyFile, 'itum227', _root.equipGlasses6);
setCookie('database' + _root.saveyFile, 'itum228', _root.equipGlasses7);
setCookie('database' + _root.saveyFile, 'itum229', _root.equipGlasses8);
setCookie('database' + _root.saveyFile, 'itum230', _root.glassesLook1);
setCookie('database' + _root.saveyFile, 'itum231', _root.glassesLook2);
setCookie('database' + _root.saveyFile, 'itum232', _root.glassesSkill1);
setCookie('database' + _root.saveyFile, 'itum233', _root.glassesSkill2);
setCookie('database' + _root.saveyFile, 'itum234', _root.glassesSkill3);
setCookie('database' + _root.saveyFile, 'itum235', _root.glassesSkill4);
setCookie('database' + _root.saveyFile, 'itum236', _root.glassesSkill5);
setCookie('database' + _root.saveyFile, 'itum237', _root.glassesSkill6);
setCookie('database' + _root.saveyFile, 'itum238', _root.glassesSkill7);
setCookie('database' + _root.saveyFile, 'itum239', _root.glassesSkill8);
setCookie('database' + _root.saveyFile, 'itum240', _root.equipArmor1);
setCookie('database' + _root.saveyFile, 'itum241', _root.equipArmor2);
setCookie('database' + _root.saveyFile, 'itum242', _root.equipArmor3);
setCookie('database' + _root.saveyFile, 'itum243', _root.equipArmor4);
setCookie('database' + _root.saveyFile, 'itum244', _root.equipArmor5);
setCookie('database' + _root.saveyFile, 'itum245', _root.equipArmor6);
setCookie('database' + _root.saveyFile, 'itum246', _root.equipArmor7);
setCookie('database' + _root.saveyFile, 'itum247', _root.equipArmor8);
setCookie('database' + _root.saveyFile, 'itum248', _root.armorSkill1);
setCookie('database' + _root.saveyFile, 'itum249', _root.armorSkill2);
setCookie('database' + _root.saveyFile, 'itum250', _root.armorSkill3);
setCookie('database' + _root.saveyFile, 'itum251', _root.armorSkill4);
setCookie('database' + _root.saveyFile, 'itum252', _root.armorSkill5);
setCookie('database' + _root.saveyFile, 'itum253', _root.armorSkill6);
setCookie('database' + _root.saveyFile, 'itum254', _root.armorSkill7);
setCookie('database' + _root.saveyFile, 'itum255', _root.armorSkill8);
setCookie('database' + _root.saveyFile, 'itum256', _root.armorSkill9);
setCookie('database' + _root.saveyFile, 'itum257', _root.armorSkill10);
setCookie('database' + _root.saveyFile, 'itum258', _root.armorSkill11);
setCookie('database' + _root.saveyFile, 'itum259', _root.armorSkill12);
setCookie('database' + _root.saveyFile, 'itum260', _root.armorSkill13);
setCookie('database' + _root.saveyFile, 'itum261', _root.armorSkill14);
setCookie('database' + _root.saveyFile, 'itum262', _root.armorSkill15);
setCookie('database' + _root.saveyFile, 'itum263', _root.armorSkill16);
setCookie('database' + _root.saveyFile, 'itum264', _root.armorSkill17);
setCookie('database' + _root.saveyFile, 'itum265', _root.armorSkill18);
setCookie('database' + _root.saveyFile, 'itum266', _root.armorSkill19);
setCookie('database' + _root.saveyFile, 'itum267', _root.armorSkill20);
setCookie('database' + _root.saveyFile, 'itum268', _root.armorSkill21);
setCookie('database' + _root.saveyFile, 'itum269', _root.armorSkill22);
setCookie('database' + _root.saveyFile, 'itum270', _root.armorSkill23);
setCookie('database' + _root.saveyFile, 'itum271', _root.armorSkill24);
setCookie('database' + _root.saveyFile, 'itum272', _root.hairStyle2);
setCookie('database' + _root.saveyFile, 'itum273', _root.saveyYo);
setCookie('database' + _root.saveyFile, 'itum274', _root.order1);
setCookie('database' + _root.saveyFile, 'itum275', _root.order2);
setCookie('database' + _root.saveyFile, 'itum276', _root.lifeLeech);
setCookie('database' + _root.saveyFile, 'itum277', _root.magLeech);
setCookie('database' + _root.saveyFile, 'itum278', _root.helpModeOff);
setCookie('database' + _root.saveyFile, 'itum279', _root.chest1);
setCookie('database' + _root.saveyFile, 'itum280', _root.chest2);
setCookie('database' + _root.saveyFile, 'itum281', _root.chest3);
setCookie('database' + _root.saveyFile, 'itum282', _root.chest4);
setCookie('database' + _root.saveyFile, 'itum283', _root.chest5);
setCookie('database' + _root.saveyFile, 'itum284', _root.minutos);
setCookie('database' + _root.saveyFile, 'itum285', _root.minutos2);
setCookie('database' + _root.saveyFile, 'itum286', _root.hoursos);
setCookie('database' + _root.saveyFile, 'itum287', _root.hoursos2);
setCookie('database' + _root.saveyFile, 'itum288', _root.speedShoes);
setCookie('database' + _root.saveyFile, 'itum289', _root.chest6);
setCookie('database' + _root.saveyFile, 'itum290', _root.hoursos3);
setCookie('database' + _root.saveyFile, 'itum291', _root.minutos3);
setCookie('database' + _root.saveyFile, 'itum292', _root.healskilled2);
setCookie('database' + _root.saveyFile, 'itum293', _root.fireswodskilled);
setCookie('database' + _root.saveyFile, 'itum294', _root.lightswodskilled);
setCookie('database' + _root.saveyFile, 'itum295', _root.enchantskilled);
setCookie('database' + _root.saveyFile, 'itum296', _root.demiskilled);
setCookie('database' + _root.saveyFile, 'itum297', _root.confuseskilled);
setCookie('database' + _root.saveyFile, 'itum298', _root.ballLightskilled);
setCookie('database' + _root.saveyFile, 'itum299', _root.berserkskilled);
setCookie('database' + _root.saveyFile, 'itum300', _root.sheildskilled);
setCookie('database' + _root.saveyFile, 'itum301', _root.frogskilled);
setCookie('database' + _root.saveyFile, 'itum302', _root.flareskilled);
setCookie('database' + _root.saveyFile, 'itum303', _root.cometskilled);
setCookie('database' + _root.saveyFile, 'itum304', _root.skillpoint3);
setCookie('database' + _root.saveyFile, 'itum305', _root.holyskilled);
setCookie('database' + _root.saveyFile, 'itum306', _root.quickthrowskilled);
setCookie('database' + _root.saveyFile, 'itum307', _root.moneyskilled);
setCookie('database' + _root.saveyFile, 'itum308', _root.skillpointsskilled);
setCookie('database' + _root.saveyFile, 'itum309', _root.energyskilled);
setCookie('database' + _root.saveyFile, 'itum310', _root.vitalityskilled);
setCookie('database' + _root.saveyFile, 'itum311', _root.statusskilled);
setCookie('database' + _root.saveyFile, 'itum312', _root.expskilled);
setCookie('database' + _root.saveyFile, 'itum313', _root.shockwaveskilled);
setCookie('database' + _root.saveyFile, 'itum314', _root.powerbreakskilled);
setCookie('database' + _root.saveyFile, 'itum315', _root.multileechskilled);
setCookie('database' + _root.saveyFile, 'itum316', _root.multislashskilled);
setCookie('database' + _root.saveyFile, 'itum317', _root.counterskilled);
setCookie('database' + _root.saveyFile, 'itum318', _root.spamItem);
setCookie('database' + _root.saveyFile, 'itum319', _root.docStickItem);
setCookie('database' + _root.saveyFile, 'itum320', _root.smokeHatItem);
setCookie('database' + _root.saveyFile, 'itum321', _root.stickCourage);
setCookie('database' + _root.saveyFile, 'itum322', _root.supeSpeed);
setCookie('database' + _root.saveyFile, 'itum323', _root.mistOn);
setCookie('database' + _root.saveyFile, 'itum324', _root.girlBed);
setCookie('database' + _root.saveyFile, 'itum325', _root.story);
setCookie('database' + _root.saveyFile, 'itum326', _root.saveyYo3);
setCookie('database' + _root.saveyFile, 'itum327', _root.herosItem);
setCookie('database' + _root.saveyFile, 'itum328', _root.heroRing);
setCookie('database' + _root.saveyFile, 'itum329', _root.jerarmsItem);
setCookie('database' + _root.saveyFile, 'itum330', _root.gotIt1);
setCookie('database' + _root.saveyFile, 'itum331', _root.gotIt2);
setCookie('database' + _root.saveyFile, 'itum332', _root.gotIt3);
setCookie('database' + _root.saveyFile, 'itum333', _root.areaSave);
setCookie('database' + _root.saveyFile, 'itum334', _root.keyMe);
setCookie('database' + _root.saveyFile, 'itum335', _root.fluteItem);
setCookie('database' + _root.saveyFile, 'itum336', _root.defensePotion);
setCookie('database' + _root.saveyFile, 'itum337', _root.skillPotion);
setCookie('database' + _root.saveyFile, 'itum338', _root.magicPotion);
setCookie('database' + _root.saveyFile, 'itum339', _root.strengthPotion);
setCookie('database' + _root.saveyFile, 'itum340', _root.lifePotion);
setCookie('database' + _root.saveyFile, 'itum341', _root.supesCape);
data3 = 'Valid Data';
}
}
frame 482 {
if (_root.thisPlace.hitTest(_root.mapGuy) && _root.specialPlace1 == 1) {
_root.placeyMah._visible = true;
_root.goIn = 'Enter Unknown Place? Press a to enter';
} else {
if (_root.doomMountain.hitTest(_root.mapGuy)) {
_root.placeyMah._visible = true;
_root.goIn = 'Enter Mount Seymour? Press a to enter';
} else {
if (_root.cemeety.hitTest(_root.mapGuy)) {
_root.placeyMah._visible = true;
_root.goIn = 'Enter Graveyard? Press a';
} else {
if (_root.towny3o.hitTest(_root.mapGuy)) {
_root.placeyMah._visible = true;
_root.goIn = 'Enter Blemington? Press a to enter town';
} else {
if (_root.towny2.hitTest(_root.mapGuy)) {
_root.placeyMah._visible = true;
_root.goIn = 'Enter Abalonia? Press a to enter town';
} else {
if (_root.towny1.hitTest(_root.mapGuy)) {
_root.placeyMah._visible = true;
_root.goIn = 'Enter Jennings? Press a to enter town';
} else {
if (_root.thisPlace2.hitTest(_root.mapGuy) && _root.specialPlace2 == 1) {
_root.placeyMah._visible = true;
_root.goIn = 'Enter Unknown Place? Press a to enter';
} else {
if (!_root.mapGuy.hitTest(_root.towny1) && !_root.mapGuy.hitTest(_root.thisPlace2) && !_root.mapGuy.hitTest(_root.thisPlace) && !_root.mapGuy.hitTest(_root.towny2) && !_root.mapGuy.hitTest(_root.towny3o) && !_root.mapGuy.hitTest(_root.cemeety) && !_root.mapGuy.hitTest(_root.doomMountain)) {
_root.placeyMah._visible = false;
}
}
}
}
}
}
}
}
if (_root.specialPlacey2 == 1) {
_root.specialPlacey2 = 0;
gotoAndPlay(446);
} else {
if (_root.mountySe == 1) {
_root.mountySe = 0;
gotoAndPlay(369);
} else {
if (_root.towno3 == 1) {
_root.towno3 = 0;
gotoAndPlay(417);
} else {
if (_root.specialPlacey1 == 1) {
_root.specialPlacey1 = 0;
gotoAndPlay(443);
} else {
if (_root.towny2GoGo == 1) {
_root.towny2GoGo = 0;
gotoAndPlay(401);
} else {
if (_root.fight2 > 80 && _root.story >= 2) {
gotoAndPlay(484);
} else {
if (_root.cemmy1 == 1) {
_root.cemmy1 = 0;
gotoAndPlay(433);
} else {
if (_root.towny1GoGo == 1) {
_root.towny1GoGo = 0;
townmap1 = 1;
gotoAndPlay(397);
}
}
}
}
}
}
}
}
}
movieClip 10334 {
}
movieClip 10335 {
}
movieClip 10338 {
frame 1 {
stop();
}
}
movieClip 10340 {
frame 1 {
stop();
}
}
movieClip 10342 {
frame 1 {
stop();
}
}
movieClip 10344 {
frame 1 {
stop();
}
}
movieClip 10347 {
frame 1 {
stop();
}
frame 2 {
_root.placeyMah.gotoAndStop(2);
_root.goIn = 'Enter? Press a';
stop();
}
}
instance thisPlace of movieClip 10347 {
onClipEvent (load) {
if (_root.specialPlace1 != 1) {
this._visible = false;
}
}
}
movieClip 10349 {
}
instance thisPlace2 of movieClip 10349 {
onClipEvent (load) {
if (_root.specialPlace2 != 1) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.specialPlace2 != 1) {
this._visible = false;
} else {
if (this.hitTest(_root.mapGuy)) {
_root.placeyMah._visible = true;
_root.goIn = 'Enter Unknown Place? Press a to enter';
}
}
}
}
instance mapGuy of movieClip 8095 {
onClipEvent (keyPress 'a') {
if (this.hitTest(_root.towny1)) {
_root.towny1GoGo = 1;
} else {
if (this.hitTest(_root.towny2)) {
_root.towny2GoGo = 1;
} else {
if (this.hitTest(_root.cemeety)) {
_root.cemmy1 = 1;
} else {
if (this.hitTest(_root.towny3o)) {
_root.towno3 = 1;
} else {
if (this.hitTest(_root.thisPlace)) {
_root.specialPlacey1 = 1;
} else {
if (this.hitTest(_root.doomMountain)) {
_root.mountySe = 1;
} else {
if (this.hitTest(_root.thisPlace2)) {
_root.specialPlacey2 = 1;
}
}
}
}
}
}
}
}
onClipEvent (load) {
if (_root.backFromTown3 == 1) {
_root.backFromTown3 = 0;
eval(_root.mapGuy)._x = 396.3;
eval(_root.mapGuy)._y = 286.4;
} else {
if (_root.backTown2 == 1) {
_root.backTown2 = 0;
eval(_root.mapGuy)._x = 217.1;
eval(_root.mapGuy)._y = 225.8;
} else {
if (_root.backfromspec3 == 1) {
_root.backfromspec3 = 0;
eval(_root.mapGuy)._x = 292.5;
eval(_root.mapGuy)._y = 363.3;
} else {
if (_root.wMapBack == 1) {
_root.wMapBack = 0;
eval(_root.mapGuy)._x = 437.9;
eval(_root.mapGuy)._y = 175;
} else {
if (_root.elBacko1 == 1) {
_root.elBacko1 = 0;
eval(_root.mapGuy)._x = 135.1;
eval(_root.mapGuy)._y = 235.6;
} else {
if (_root.savemap == 1) {
_root.savemap = 0;
eval(_root.mapGuy)._x = _root.saveX2;
eval(_root.mapGuy)._y = _root.saveY2;
} else {
if (_root.backFromCem == 1) {
_root.backFromCem = 0;
eval(_root.mapGuy)._x = 519.1;
eval(_root.mapGuy)._y = 339.9;
}
}
}
}
}
}
}
_root.saveX2 = this._x;
_root.saveY2 = this._y;
if (_root.clockHours >= 1) {
_root.specialPlace1 = 1;
}
if (_root.clockHours >= 2) {
_root.specialPlace2 = 1;
}
_root.stopMove22 = 0;
if (_root.townMusOn2 != 1) {
_root.soundOn = 0;
_root.townMusOn = 0;
stopAllSounds();
}
if (_root.soundOn != 1 && _root.musicOff != 1) {
_root.soundOn = 1;
_root.townMusOn2 = 1;
attack = random(2) + 1;
if (attack == 1) {
_root.sound1.attachSound('walkTheme1');
_root.sound1.start(0, 65000);
} else {
_root.sound1.attachSound('walkTheme2');
_root.sound1.start(0, 65000);
}
}
}
onClipEvent (enterFrame) {
if (_root.fight2 > 80 && _root.story >= 2 && _root.mistOn != 0 || _root.stopMove22 == 1) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
} else {
if (Key.isDown(39) && Key.isDown(38)) {
if (_root.ocean.hitTest((getBounds(_root)).xMax, _y, true) || _root.ocean.hitTest(_x, (getBounds(_root)).yMin, true)) {
} else {
this._x += 3 + _root.speedShoes * 5;
this.gotoAndStop(6);
this._y -= 3 + _root.speedShoes * 5;
_root.saveX2 = this._x;
_root.saveY2 = this._y;
if (_root.useItFlute != 1) {
_root.fight2 += random(4) + 1;
}
}
} else {
if (Key.isDown(38) && Key.isDown(37)) {
if (_root.ocean.hitTest((getBounds(_root)).xMin, _y, true) || _root.ocean.hitTest(_x, (getBounds(_root)).yMin, true)) {
} else {
this._x -= 3 + _root.speedShoes * 5;
this._y -= 3 + _root.speedShoes * 5;
_root.saveX2 = this._x;
_root.saveY2 = this._y;
if (_root.useItFlute != 1) {
_root.fight2 += random(4) + 1;
}
this.gotoAndStop(6);
}
} else {
if (Key.isDown(40) && Key.isDown(39)) {
if (_root.ocean.hitTest((getBounds(_root)).xMax, _y, true) || _root.ocean.hitTest(_x, (getBounds(_root)).yMax, true)) {
} else {
this._y += 3 + _root.speedShoes * 5;
this._x += 3 + _root.speedShoes * 5;
_root.saveX2 = this._x;
_root.saveY2 = this._y;
if (_root.useItFlute != 1) {
_root.fight2 += random(4) + 1;
}
this.gotoAndStop(3);
}
} else {
if (Key.isDown(40) && Key.isDown(37)) {
if (_root.ocean.hitTest(_x, (getBounds(_root)).yMax, true) || _root.ocean.hitTest((getBounds(_root)).xMin, _y, true)) {
} else {
this._y += 3 + _root.speedShoes * 5;
this._x -= 3 + _root.speedShoes * 5;
_root.saveX2 = this._x;
_root.saveY2 = this._y;
if (_root.useItFlute != 1) {
_root.fight2 += random(4) + 1;
}
this.gotoAndStop(4);
}
} else {
if (Key.isDown(39)) {
if (_root.ocean.hitTest((getBounds(_root)).xMax, _y, true)) {
} else {
this._x += 3 + _root.speedShoes * 5;
_root.saveX2 = this._x;
if (_root.useItFlute != 1) {
_root.fight2 += random(4) + 1;
}
this.gotoAndStop(3);
}
} else {
if (Key.isDown(37)) {
if (_root.ocean.hitTest((getBounds(_root)).xMin, _y, true)) {
} else {
this._x -= 3 + _root.speedShoes * 5;
_root.saveX2 = this._x;
if (_root.useItFlute != 1) {
_root.fight2 += random(4) + 1;
}
this.gotoAndStop(4);
}
} else {
if (Key.isDown(38)) {
if (_root.ocean.hitTest(_x, (getBounds(_root)).yMin, true)) {
} else {
this._y -= 3 + _root.speedShoes * 5;
_root.saveY2 = this._y;
if (_root.useItFlute != 1) {
_root.fight2 += random(4) + 1;
}
this.gotoAndStop(6);
}
} else {
if (Key.isDown(40)) {
if (_root.ocean.hitTest(_x, (getBounds(_root)).yMax, true)) {
} else {
this._y += 3 + _root.speedShoes * 5;
_root.saveY2 = this._y;
if (_root.useItFlute != 1) {
_root.fight2 += random(4) + 1;
}
this.gotoAndStop(3);
}
} else {
if (!Key.isDown(39) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(40)) {
if (hahRight == 1) {
hahRight = 0;
this.gotoAndStop(1);
}
if (hahLeft == 1) {
hahLeft = 0;
this.gotoAndStop(2);
}
if (hahUp == 1) {
hahUp = 0;
this.gotoAndStop(9);
}
}
}
}
}
}
}
}
}
}
}
}
}
movieClip 10351 {
frame 9 {
gotoAndPlay(1);
}
}
instance of movieClip 10351 {
onClipEvent (load) {
if (_root.mistOn != 1) {
this._visible = false;
}
}
}
instance of movieClip 10351 {
onClipEvent (load) {
if (_root.mistOn != 1) {
this._visible = false;
}
}
}
instance placeyMah of movieClip 9311 {
onClipEvent (load) {
this._visible = false;
}
}
button 10352 {
on (keyPress 'q') {
_root.qualFun();
}
on (keyPress '<Space>') {
wordmapmenu = 1;
gotoAndPlay(460);
}
}
frame 483 {
gotoAndPlay(482);
}
instance towny3o of movieClip 10338 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mapGuy)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance towny2 of movieClip 10340 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mapGuy)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance towny1 of movieClip 10342 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mapGuy)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance cemeety of movieClip 10344 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mapGuy)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
movieClip 10354 {
frame 1 {
if (_root.specialPlace1 == 1) {
gotoAndStop(2);
} else {
stop();
}
}
frame 2 {
stop();
}
instance thisPlace of movieClip 10347 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mapGuy)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 7321 {
onClipEvent (load) {
this.gotoAndPlay(3);
}
}
instance of movieClip 7321 {
onClipEvent (load) {
this.gotoAndPlay(3);
}
}
instance of movieClip 7321 {
onClipEvent (load) {
this.gotoAndPlay(2);
}
}
frame 497 {
if (_root.level >= 32 || _root.level2 >= 32) {
_root.stillHarder = 3;
} else {
if (_root.level >= 22 || _root.level2 >= 22) {
_root.stillHarder = 2;
} else {
if (_root.level >= 14 || _root.level2 >= 14) {
_root.stillHarder = 1;
} else {
_root.stillHarder = 0;
}
}
}
savemap = 1;
_root.soundOn = 0;
_root.enemyPower();
_root.enemyColor = 0;
blah = random(17) + 1;
if (blah == 5) {
_root.enemyColor = random(5) + 1;
temp = random(4) + 2;
_root.hah22 += temp;
_root.hlevel += temp;
}
ghostEnemy = random(22) + 1;
_root.temp22 = 0;
if (_root.ghostEnemy == 5 || _root.ghostEnemy == 12) {
_root.temp22 = random(7 + _root.hlevel) + 3;
_root.hlevel += _root.temp22;
}
if (_root.enemyEncounter >= 7 - _root.stillHarder) {
_root.enemyEncounter = 0;
_root.defaultPower += 1;
_root.hlevel += 1;
}
if (_root.diff == 'Hard') {
_root.hah22 += 2;
_root.hlevel += 2;
} else {
if (_root.diff == 'Harder') {
_root.hah22 += 4;
_root.hlevel += 4;
} else {
if (_root.diff == 'Hardest') {
_root.hah22 += 5;
_root.hlevel += 5;
}
}
}
_root.enemyEncounter += 1;
_root.fight2 = 0;
enemyhp = random(100 + _root.hlevel * 20) + 40 + _root.hlevel * 30;
moo = random(21) + 1;
switch (moo) {
case 1:
break;
case 2:
enemy2 = 1;
break;
case 3:
enemy3 = 1;
break;
case 4:
enemy4 = 1;
break;
case 5:
enemy5 = 1;
break;
case 6:
enemy6 = 1;
break;
case 7:
enemy7 = 1;
break;
case 8:
enemy8 = 1;
break;
case 9:
enemy9 = 1;
break;
case 10:
enemy10 = 1;
break;
case 11:
_root.enemy11 = 1;
break;
case 12:
_root.enemy12 = 1;
break;
case 13:
_root.enemy14 = 1;
break;
case 14:
_root.enemy16 = 1;
break;
case 15:
_root.enemy17 = 1;
break;
case 16:
_root.enemy18 = 1;
break;
case 17:
_root.enemy19 = 1;
break;
case 18:
_root.enemy20 = 1;
break;
case 19:
_root.enemy13 = 1;
break;
case 20:
_root.enemy21 = 1;
break;
case 21:
if (_root.story >= 5) {
_root.boss1 = 1;
}
}
enemyspeed = random(4 + _root.hlevel * 0.5) + 3;
if (enemyspeed > 13) {
enemyspeed = 13;
}
stopAllSounds();
if (_root.char1Alive != true || _root.order1 != 'Order: 1') {
if (_root.char2Alive == true) {
_root.guy2 = 1;
gotoAndPlay(17);
} else {
gotoAndPlay(2);
}
} else {
gotoAndPlay(2);
}
}