Frame 1
_root.error._visible = false;
_root.credits._visible = false;
Stage.showMenu = false;
stop();
Frame 2
if (_root.Money == "Help") {
_root.goback._visible = true;
_root.start._visible = false;
} else {
_root.goback._visible = false;
_root.start._visible = true;
}
_root.mapback._visible = false;
_root.inventory._visible = false;
_root.fight._visible = false;
_root.thief._visible = false;
_root.magic._visible = false;
_root.storage._visible = false;
_root.sloterror._visible = false;
_root.sellerror._visible = false;
if (_root.Class == "Thief") {
_root.inventory.skill2._visible = false;
_root.inventory.skill4._visible = false;
} else if (_root.Class == "Wizard") {
_root.inventory.skill2._visible = false;
_root.inventory.skill3._visible = false;
} else {
_root.inventory.skill1._visible = false;
_root.inventory.skill2._visible = false;
_root.inventory.skill3._visible = false;
_root.inventory.skill4._visible = false;
}
_root.help._visible = false;
stop();
Frame 3
_root.sellerror._visible = false;
_root.sloterror._visible = false;
stop();
Instance of Symbol 408 MovieClip "sidebar" in Frame 3
onClipEvent (load) {
if (_root.Race == "Goblin") {
_root.sidebar.gotoAndStop(4);
} else if (_root.Race == "Human") {
_root.sidebar.gotoAndStop(2);
} else if (_root.Race == "Dwarf") {
_root.sidebar.gotoAndStop(5);
} else if (_root.Race == "Elf") {
_root.sidebar.gotoAndStop(3);
} else {
_root.sidebar.stop();
}
}
Frame 4
_root.weaponsell._visible = false;
_root.amuletsell._visible = false;
_root.sellconfirm._visible = false;
stop();
Frame 5
_root.armorsell._visible = false;
_root.sellconfirm._visible = false;
stop();
Frame 6
_root.towermovie._visible = false;
stop();
Frame 7
_root.storesell._visible = false;
_root.amuletsell._visible = false;
_root.stsellconfirm._visible = false;
stop();
Frame 8
_root.DiceTable._visible = false;
_root.tavernmovie._visible = false;
stop();
Frame 9
_root.guildmovie._visible = false;
stop();
Frame 10
if (_root.Class == "Thief") {
_root.inventory.skill2._visible = false;
_root.inventory.skill4._visible = false;
} else if (_root.Class == "Wizard") {
_root.inventory.skill2._visible = false;
_root.inventory.skill3._visible = false;
} else {
_root.inventory.skill1._visible = false;
_root.inventory.skill2._visible = false;
_root.inventory.skill3._visible = false;
_root.inventory.skill4._visible = false;
}
gotoAndPlay (15);
Instance of Symbol 408 MovieClip "sidebar" in Frame 10
onClipEvent (load) {
if (_root.Race == "Goblin") {
_root.sidebar.gotoAndStop(4);
} else if (_root.Race == "Human") {
_root.sidebar.gotoAndStop(2);
} else if (_root.Race == "Dwarf") {
_root.sidebar.gotoAndStop(5);
} else if (_root.Race == "Elf") {
_root.sidebar.gotoAndStop(3);
} else {
_root.sidebar.stop();
}
}
onClipEvent (load) {
if (_root.Class == Wizard) {
_root.FullMP = 10;
}
}
Frame 11
_root.mapback._visible = false;
_root.campingmovie._visible = false;
_root.inventory._visible = false;
_root.fight._visible = false;
_root.thief._visible = false;
_root.magic._visible = false;
_root.storage._visible = false;
_root.sloterror._visible = false;
_root.sellerror._visible = false;
if (_root.Class == "Thief") {
_root.inventory.skill2._visible = false;
_root.inventory.skill4._visible = false;
} else if (_root.Class == "Wizard") {
_root.inventory.skill2._visible = false;
_root.inventory.skill3._visible = false;
} else {
_root.inventory.skill1._visible = false;
_root.inventory.skill2._visible = false;
_root.inventory.skill3._visible = false;
_root.inventory.skill4._visible = false;
}
stop();
Instance of Symbol 1444 MovieClip "map" in Frame 11
onClipEvent (enterFrame) {
if (_root.why == 1) {
if (_root.exe == -1) {
gotoAndStop (2);
} else if (_root.exe == 0) {
gotoAndStop (3);
} else if (_root.exe == 1) {
gotoAndStop (4);
}
} else if (_root.why == 0) {
if (_root.exe == -1) {
gotoAndStop (6);
} else if (_root.exe == 0) {
gotoAndStop (7);
} else if (_root.exe == 1) {
gotoAndStop (8);
}
} else if (_root.why == -1) {
if (_root.exe == -1) {
gotoAndStop (10);
} else if (_root.exe == 0) {
gotoAndStop (11);
} else if (_root.exe == 1) {
gotoAndStop (12);
}
} else {
_root.why = 0;
_root.exe = 0;
gotoAndStop (7);
}
}
Instance of Symbol 408 MovieClip "sidebar" in Frame 11
onClipEvent (load) {
if (_root.Race == "Goblin") {
_root.sidebar.gotoAndStop(4);
} else if (_root.Race == "Human") {
_root.sidebar.gotoAndStop(2);
} else if (_root.Race == "Dwarf") {
_root.sidebar.gotoAndStop(5);
} else if (_root.Race == "Elf") {
_root.sidebar.gotoAndStop(3);
} else {
_root.sidebar.stop();
}
}
Instance of Symbol 1452 MovieClip "Places" in Frame 11
onClipEvent (enterFrame) {
if ((_root.Why == 0) && (_root.Exe == 0)) {
gotoAndStop (8);
} else if ((_root.Why == 1) && (_root.Exe == -1)) {
gotoAndStop (2);
} else if ((_root.Why == -1) && (_root.Exe == -1)) {
gotoAndStop (4);
} else if ((_root.Why == -1) && (_root.Exe == 1)) {
gotoAndStop (6);
} else if (((_root.Why == 0) && (_root.Exe == -1)) && (_root.Where == "Under")) {
gotoAndStop (3);
} else if (((_root.Why == 0) && (_root.Exe == 1)) && (_root.Where == "Under")) {
gotoAndStop (5);
} else {
gotoAndStop (1);
}
}
Frame 12
_root.mapback._visible = false;
_root.campingmovie._visible = false;
_root.inventory._visible = false;
_root.fight._visible = false;
_root.thief._visible = false;
_root.magic._visible = false;
_root.storage._visible = false;
_root.sloterror._visible = false;
_root.sellerror._visible = false;
if (_root.Class == "Thief") {
_root.inventory.skill2._visible = false;
_root.inventory.skill4._visible = false;
} else if (_root.Class == "Wizard") {
_root.inventory.skill2._visible = false;
_root.inventory.skill3._visible = false;
} else {
_root.inventory.skill1._visible = false;
_root.inventory.skill2._visible = false;
_root.inventory.skill3._visible = false;
_root.inventory.skill4._visible = false;
}
stop();
Instance of Symbol 1485 MovieClip "map" in Frame 12
onClipEvent (enterFrame) {
if (_root.exe == -1) {
gotoAndStop (2);
} else if (_root.exe == 0) {
gotoAndStop (3);
} else if (_root.exe == 1) {
gotoAndStop (4);
} else {
_root.why = 0;
_root.exe = 0;
gotoAndStop (3);
}
}
Frame 13
if (_root.Where == "Under") {
gotoAndStop (11);
} else {
_root.Where == "Under";
gotoAndStop (12);
}
Frame 14
if (_root.Where == "Under") {
gotoAndStop (12);
} else if (_root.Where == "Goblinia") {
gotoAndStop (12);
} else if (_root.Where == "Dwarfheim") {
gotoAndStop (12);
} else {
gotoAndStop (11);
}
Frame 15
_root.fightskills._visible = false;
_root.fightstorage._visible = false;
_root.elostturns = 1;
Battle = random(_root.SectionSkill);
if (Battle == "0") {
Battle0 = random(10);
if (Battle0 == "0") {
if ((_root.Where == "Fields") || (_root.Where == "Field")) {
gotoAndStop (18);
} else if (_root.Where == "Swamp") {
gotoAndStop (16);
} else if (_root.Where == "River") {
Battle1 = random(3);
if (Battle1 == "0") {
gotoAndStop (16);
} else if (Battle1 == "1") {
gotoAndStop (17);
} else {
gotoAndStop (18);
}
} else if (_root.Where == "Forest") {
gotoAndStop (17);
} else if (_root.Where == "Under") {
Battle1 = random(3);
if (Battle1 == "0") {
gotoAndStop (20);
} else {
gotoAndStop (19);
}
}
} else if ((Battle0 == "1") || (Battle0 == "2")) {
if ((_root.Where == "Fields") || (_root.Where == "Field")) {
gotoAndStop (17);
} else if (_root.Where == "Swamp") {
gotoAndStop (18);
} else if (_root.Where == "River") {
Battle1 = random(3);
if (Battle1 == "0") {
gotoAndStop (17);
} else if (Battle1 == "1") {
gotoAndStop (18);
} else {
gotoAndStop (16);
}
} else if (_root.Where == "Forest") {
gotoAndStop (16);
} else if (_root.Where == "Under") {
Battle1 = random(3);
if (Battle1 == "0") {
gotoAndStop (19);
} else {
gotoAndStop (20);
}
}
} else if ((_root.Where == "Fields") || (_root.Where == "Field")) {
gotoAndStop (16);
} else if (_root.Where == "Swamp") {
gotoAndStop (17);
} else if (_root.Where == "River") {
Battle1 = random(3);
if (Battle1 == "0") {
gotoAndStop (18);
} else if (Battle1 == "1") {
gotoAndStop (16);
} else {
gotoAndStop (17);
}
} else if (_root.Where == "Forest") {
gotoAndStop (18);
} else if (_root.Where == "Under") {
Battle1 = random(2);
if (Battle1 == "0") {
gotoAndStop (20);
} else {
gotoAndStop (19);
}
}
} else if (Battle == "1") {
Battle1 = random(3);
if (Battle1 == "0") {
gotoAndStop (16);
} else if (Battle1 == "1") {
gotoAndStop (17);
} else if (Battle1 == "2") {
gotoAndStop (18);
}
} else {
Battle1 = random(6);
if (Battle1 == "0") {
gotoAndStop (16);
} else if (Battle1 == "1") {
gotoAndStop (17);
} else if (Battle1 == "2") {
gotoAndStop (18);
} else if (Battle1 == "3") {
gotoAndStop (19);
} else if (Battle1 == "4") {
gotoAndStop (20);
} else if (Battle1 == "5") {
gotoAndStop (21);
} else {
gotoAndStop (21);
}
}
Instance of Symbol 1502 MovieClip "sidebar" in Frame 15
onClipEvent (load) {
if (_root.Race == "Goblin") {
_root.sidebar.gotoAndStop(4);
} else if (_root.Race == "Human") {
_root.sidebar.gotoAndStop(2);
} else if (_root.Race == "Dwarf") {
_root.sidebar.gotoAndStop(5);
} else if (_root.Race == "Elf") {
_root.sidebar.gotoAndStop(3);
} else {
_root.sidebar.stop();
}
}
Frame 16
_root.eFullHP = math.Round(math.Random(10) * 30);
if ((_root.FullHP - 50) >= 10) {
_root.eFullHP = _root.eFullHP + ((_root.FullHP - 50) * _root.SectionSkill);
} else {
_root.eFullHP = _root.eFullHP + (10 * _root.SectionSkill);
}
_root.eHP = _root.eFullHP;
_root.eSpeed = 4;
_root.eAtt = 3 * _root.SectionSkill;
Frame 17
_root.eFullHP = math.Round(math.Random(10) * 50);
if ((_root.FullHP - 50) >= 10) {
_root.eFullHP = _root.eFullHP + ((_root.FullHP - 50) * _root.SectionSkill);
} else {
_root.eFullHP = _root.eFullHP + (10 * _root.SectionSkill);
}
_root.eHP = _root.eFullHP;
_root.eSpeed = 3;
_root.eAtt = 6 * _root.SectionSkill;
Frame 18
_root.eFullHP = math.Round(math.Random(10) * 55);
if ((_root.FullHP - 50) >= 10) {
_root.eFullHP = _root.eFullHP + ((_root.FullHP - 50) * _root.SectionSkill);
} else {
_root.eFullHP = _root.eFullHP + (10 * _root.SectionSkill);
}
_root.eHP = _root.eFullHP;
_root.eSpeed = 5;
_root.eAtt = 9 * _root.SectionSkill;
Frame 19
_root.eFullHP = math.Round(math.Random(10) * 35);
if ((_root.FullHP - 50) >= 10) {
_root.eFullHP = _root.eFullHP + ((_root.FullHP - 50) * _root.SectionSkill);
} else {
_root.eFullHP = _root.eFullHP + (10 * _root.SectionSkill);
}
_root.eHP = _root.eFullHP;
_root.eSpeed = 4;
_root.eAtt = 4 * _root.SectionSkill;
Frame 20
_root.eFullHP = math.Round(math.Random(10) * 45);
if ((_root.FullHP - 50) >= 10) {
_root.eFullHP = _root.eFullHP + ((_root.FullHP - 50) * _root.SectionSkill);
} else {
_root.eFullHP = _root.eFullHP + (10 * _root.SectionSkill);
}
_root.eHP = _root.eFullHP;
_root.eSpeed = 3;
_root.eAtt = 5 * _root.SectionSkill;
Frame 21
_root.eFullHP = math.Round((_root.FullHP * 0.4) * _root.SectionSkill);
if ((_root.FullHP - 50) >= 10) {
_root.eFullHP = _root.eFullHP + ((_root.FullHP - 50) * _root.SectionSkill);
} else {
_root.eFullHP = _root.eFullHP + math.Round(math.Random(10) * 10);
}
_root.eHP = _root.eFullHP;
_root.eSpeed = 3;
if ((_root.FullHP - 50) >= 2) {
_root.eAtt = 18 + (_root.FullHP - 50);
} else {
_root.eAtt = 18;
}
Frame 22
_root.error._visible = false;
_root.credits._visible = false;
Stage.showMenu = false;
stop();
Symbol 16 Button
on (release) {
_root.GotoAndStop(22);
}
Symbol 17 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 17 MovieClip Frame 2
gotoAndPlay (1);
Symbol 30 Button
on (release) {
_root.help._visible = true;
_root.help.gotoAndStop(1);
}
Symbol 31 Button
on (release) {
_root.help._visible = true;
_root.help.gotoAndStop(2);
}
Symbol 32 Button
on (release) {
_root.help._visible = true;
_root.help.gotoAndStop(3);
}
Symbol 33 Button
on (release) {
_root.help._visible = true;
_root.help.gotoAndStop(6);
}
Symbol 34 Button
on (release) {
_root.help._visible = true;
_root.help.gotoAndStop(5);
}
Symbol 35 Button
on (release) {
_root.help._visible = true;
_root.help.gotoAndStop(4);
}
Symbol 42 Button
on (release) {
gotoAndStop (22);
}
Symbol 43 Button
on (release) {
if (_root.Where == "Under") {
gotoAndPlay (12);
} else {
gotoAndPlay (11);
}
}
Symbol 44 Button
on (release) {
_root.help._visible = true;
_root.help.gotoAndStop(7);
}
Symbol 47 Button
on (release) {
_root.help._visible = true;
_root.help.gotoAndStop(8);
}
Symbol 52 Button
on (release) {
Randnum = random(7) + 2;
gotoAndStop(Randnum);
}
Symbol 61 MovieClip Frame 1
stop();
Symbol 66 Button
on (release) {
_root.Help._visible = false;
}
Symbol 70 Button
on (release) {
gotoAndStop (2);
}
Symbol 72 Button
on (release) {
gotoAndStop (3);
}
Symbol 73 Button
on (release) {
gotoAndStop (1);
}
Symbol 75 Button
on (release) {
gotoAndStop (4);
}
Symbol 77 Button
on (release) {
gotoAndStop (5);
}
Symbol 79 MovieClip Frame 1
stop();
Symbol 83 Button
on (release) {
nextFrame();
}
Symbol 87 Button
on (release) {
prevFrame();
}
Symbol 96 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 1
stop();
Symbol 151 Button
on (release) {
if (_root.rhand != Empty) {
if (_root.rhand == "Magic Staff") {
_root.Fireball = _root.Fireball - 1;
_root.Heal = _root.Heal - 1;
_root.Thunder = _root.Thunder - 1;
_root.Ice = _root.Ice - 1;
_root.MShield = _root.MShield - 1;
}
if (_root.Slot1 == Empty) {
_root.Slot1 = _root.rhand;
_root.Slot1a = "W";
_root.rhand = Empty;
} else if (_root.Slot2 == Empty) {
_root.Slot2 = _root.rhand;
_root.Slot2a = "W";
_root.rhand = Empty;
} else if (_root.Slot3 == Empty) {
_root.Slot3 = _root.rhand;
_root.Slot3a = "W";
_root.rhand = Empty;
} else if (_root.Slot4 == Empty) {
_root.Slot4 = _root.rhand;
_root.Slot4a = "W";
_root.rhand = Empty;
} else if (_root.Slot5 == Empty) {
_root.Slot5 = _root.rhand;
_root.Slot5a = "W";
_root.rhand = Empty;
} else if (_root.Slot6 == Empty) {
_root.Slot6 = _root.rhand;
_root.Slot6a = "W";
_root.rhand = Empty;
} else if (_root.Slot7 == Empty) {
_root.Slot7 = _root.rhand;
_root.Slot7a = "W";
_root.rhand = Empty;
} else if (_root.Slot8 == Empty) {
_root.Slot8 = _root.rhand;
_root.Slot8a = "W";
_root.rhand = Empty;
} else if (_root.Slot9 == Empty) {
_root.Slot9 = _root.rhand;
_root.Slot9a = "W";
_root.rhand = Empty;
} else if (_root.Slot0 == Empty) {
_root.Slot0 = _root.rhand;
_root.Slot0a = "W";
_root.rhand = Empty;
} else {
_root.sloterror._visible = true;
sloterror = true;
}
if (sloterror != true) {
_root.rhanda = 0;
_root.rhandd = 0;
_root.rhands = 0;
_root.WeaponType = Empty;
}
}
}
Symbol 158 MovieClip Frame 1
if (_root.Dump == "y") {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
Symbol 165 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 1
stop();
Symbol 208 Button
on (release) {
gotoAndStop (3);
}
Symbol 212 Button
on (release) {
gotoAndStop (2);
}
Symbol 217 Button
on (release) {
_root.mapback._visible = false;
_root.inventory._visible = true;
_root.storage._visible = true;
}
Symbol 227 Button
on (release) {
gotoAndStop (4);
}
Symbol 229 Button
on (release) {
gotoAndStop (1);
}
Symbol 235 Button
on (release) {
gotoAndStop (1);
}
Symbol 236 Button
on (release) {
gotoAndStop (4);
}
Symbol 239 Button
on (release) {
gotoAndStop (2);
}
Symbol 240 Button
on (release) {
gotoAndStop (3);
}
Symbol 241 MovieClip Frame 1
stop();
Symbol 256 Button
on (press) {
_root.magic._visible = true;
_root.thief._visible = false;
_root.fight._visible = false;
_root.storage._visible = false;
}
Symbol 258 Button
on (press) {
_root.thief._visible = true;
_root.magic._visible = false;
_root.fight._visible = false;
_root.storage._visible = false;
}
Symbol 260 Button
on (press) {
_root.fight._visible = true;
_root.magic._visible = false;
_root.thief._visible = false;
_root.storage._visible = false;
}
Symbol 290 Button
on (press) {
_root.storage._visible = true;
_root.magic._visible = false;
_root.thief._visible = false;
_root.fight._visible = false;
}
Symbol 295 Button
on (release) {
_root.inventory._visible = false;
_root.magic._visible = false;
_root.thief._visible = false;
_root.fight._visible = false;
_root.storage._visible = false;
_root.campbutton._visible = true;
_root.battlebutton._visible = true;
_root.places.townbutton._visible = true;
}
Symbol 299 Button
on (release) {
if (_root.head == Empty) {
} else {
if (_root.Slot1 == Empty) {
_root.Slot1 = _root.head;
_root.Slot1a = "H";
_root.head = Empty;
} else if (_root.Slot2 == Empty) {
_root.Slot2 = _root.head;
_root.Slot2a = "H";
_root.head = Empty;
} else if (_root.Slot3 == Empty) {
_root.Slot3 = _root.head;
_root.Slot3a = "H";
_root.head = Empty;
} else if (_root.Slot4 == Empty) {
_root.Slot4 = _root.head;
_root.Slot4a = "H";
_root.head = Empty;
} else if (_root.Slot5 == Empty) {
_root.Slot5 = _root.head;
_root.Slot5a = "H";
_root.head = Empty;
} else if (_root.Slot6 == Empty) {
_root.Slot6 = _root.head;
_root.Slot6a = "H";
_root.head = Empty;
} else if (_root.Slot7 == Empty) {
_root.Slot7 = _root.head;
_root.Slot7a = "H";
_root.head = Empty;
} else if (_root.Slot8 == Empty) {
_root.Slot8 = _root.head;
_root.Slot8a = "H";
_root.head = Empty;
} else if (_root.Slot9 == Empty) {
_root.Slot9 = _root.head;
_root.Slot9a = "H";
_root.head = Empty;
} else if (_root.Slot0 == Empty) {
_root.Slot0 = _root.head;
_root.Slot0a = "H";
_root.head = Empty;
} else {
_root.sloterror._visible = true;
sloterror = true;
}
if (sloterror != true) {
_root.heada = 0;
_root.headd = 0;
}
}
}
Symbol 300 Button
on (release) {
if (sloterror != true) {
if (_root.amulet == "Pheonix Feather") {
} else if (_root.amulet == "Aura of Peace") {
_root.Align = _root.Align - 20;
} else if (_root.amulet == "Aura of Chaos") {
_root.Align = _root.Align + 20;
} else if (_root.amulet == "Crystal Ball") {
_root.Fireball = _root.Fireball - 1;
_root.Heal = _root.Heal - 1;
_root.Thunder = _root.Thunder - 1;
_root.Ice = _root.Ice - 1;
_root.MShield = _root.MShield - 1;
} else if (_root.amulet == "Eye of Surtur") {
_root.Fireball = _root.Fireball - 1;
} else if (_root.amulet == "Blue Cross") {
_root.Heal = _root.Heal - 1;
} else if (_root.amulet == "Thor's Hammer") {
_root.Thunder = _root.Thunder - 1;
} else if (_root.amulet == "Snowflake") {
_root.Ice = _root.Ice - 1;
} else if (_root.amulet == "Bluegold") {
_root.MShield = _root.MShield - 1;
} else if (_root.amulet == "Shadow Stone") {
_root.Sneak = _root.Sneak - 3;
_root.Burgle = _root.Burgle - 3;
} else if (_root.amulet == "Silver Tongue") {
_root.Backstab = _root.Backstab - 2;
} else if (_root.amulet == "Lion's Heart") {
_root.twohit = _root.twohit - 3;
_root.Parry = _root.Parry - 3;
} else if (_root.amulet == "Star of Pain") {
_root.Berserk = _root.Berserk - 1;
} else if (_root.amulet == "Olive Branch") {
_root.Stave = _root.Stave - 10;
} else if (_root.amulet == "Bear's Paw") {
_root.Maul = _root.Maul - 10;
} else if (_root.amulet == "Tusk") {
_root.Stab = _root.Stab - 10;
} else if (_root.amulet == "Tiger Claw") {
_root.Slash = _root.Slash - 10;
} else if (_root.amulet == "Arrowhead") {
_root.Stave = _root.Stave - 5;
_root.Maul = _root.Maul - 5;
_root.Stab = _root.Stab - 5;
_root.Slash = _root.Slash - 5;
} else if (_root.amulet == "Turtle Shell") {
_root.Block = _root.Block - 10;
} else if (_root.amulet == "Dumbbell") {
_root.Str = _root.Str - 1;
} else if (_root.amulet == "Roc Wing") {
_root.Speed = _root.Speed - 1;
} else if (_root.amulet == "Compass") {
_root.RealAdventures = _root.RealAdventures - 10;
} else if (_root.amulet == "Toad Stool") {
_root.FullHP = _root.FullHP - 10;
} else if (_root.amulet == "Mana Crystal") {
_root.FullMP = _root.FullMP - 10;
}
}
}
on (release) {
if (_root.amulet != Empty) {
if (_root.Slot1 == Empty) {
_root.Slot1 = _root.amulet;
_root.Slot1a = "A";
_root.amulet = Empty;
} else if (_root.Slot2 == Empty) {
_root.Slot2 = _root.amulet;
_root.Slot2a = "A";
_root.amulet = Empty;
} else if (_root.Slot3 == Empty) {
_root.Slot3 = _root.amulet;
_root.Slot3a = "A";
_root.amulet = Empty;
} else if (_root.Slot4 == Empty) {
_root.Slot4 = _root.amulet;
_root.Slot4a = "A";
_root.amulet = Empty;
} else if (_root.Slot5 == Empty) {
_root.Slot5 = _root.amulet;
_root.Slot5a = "A";
_root.amulet = Empty;
} else if (_root.Slot6 == Empty) {
_root.Slot6 = _root.amulet;
_root.Slot6a = "A";
_root.amulet = Empty;
} else if (_root.Slot7 == Empty) {
_root.Slot7 = _root.amulet;
_root.Slot7a = "A";
_root.amulet = Empty;
} else if (_root.Slot8 == Empty) {
_root.Slot8 = _root.amulet;
_root.Slot8a = "A";
_root.amulet = Empty;
} else if (_root.Slot9 == Empty) {
_root.Slot9 = _root.amulet;
_root.Slot9a = "A";
_root.amulet = Empty;
} else if (_root.Slot0 == Empty) {
_root.Slot0 = _root.amulet;
_root.Slot0a = "A";
_root.amulet = Empty;
} else {
_root.sloterror._visible = true;
sloterror = true;
}
}
}
Symbol 301 Button
on (release) {
if (_root.body != Empty) {
if (_root.Slot1 == Empty) {
_root.Slot1 = _root.body;
_root.Slot1a = "B";
_root.body = Empty;
} else if (_root.Slot2 == Empty) {
_root.Slot2 = _root.body;
_root.Slot2a = "B";
_root.body = Empty;
} else if (_root.Slot3 == Empty) {
_root.Slot3 = _root.body;
_root.Slot3a = "B";
_root.body = Empty;
} else if (_root.Slot4 == Empty) {
_root.Slot4 = _root.body;
_root.Slot4a = "B";
_root.body = Empty;
} else if (_root.Slot5 == Empty) {
_root.Slot5 = _root.body;
_root.Slot5a = "B";
_root.body = Empty;
} else if (_root.Slot6 == Empty) {
_root.Slot6 = _root.body;
_root.Slot6a = "B";
_root.body = Empty;
} else if (_root.Slot7 == Empty) {
_root.Slot7 = _root.body;
_root.Slot7a = "B";
_root.body = Empty;
} else if (_root.Slot8 == Empty) {
_root.Slot8 = _root.body;
_root.Slot8a = "B";
_root.body = Empty;
} else if (_root.Slot9 == Empty) {
_root.Slot9 = _root.body;
_root.Slot9a = "B";
_root.body = Empty;
} else if (_root.Slot0 == Empty) {
_root.Slot0 = _root.body;
_root.Slot0a = "B";
_root.body = Empty;
} else {
_root.sloterror._visible = true;
sloterror = true;
}
if (sloterror != true) {
_root.bodya = 0;
_root.bodyd = 0;
}
}
}
Symbol 302 Button
on (release) {
if (_root.lhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Slot1 = _root.lhand;
_root.Slot1a = "S";
_root.lhand = Empty;
} else if (_root.Slot2 == Empty) {
_root.Slot2 = _root.lhand;
_root.Slot2a = "S";
_root.lhand = Empty;
} else if (_root.Slot3 == Empty) {
_root.Slot3 = _root.lhand;
_root.Slot3a = "S";
_root.lhand = Empty;
} else if (_root.Slot4 == Empty) {
_root.Slot4 = _root.lhand;
_root.Slot4a = "S";
_root.lhand = Empty;
} else if (_root.Slot5 == Empty) {
_root.Slot5 = _root.lhand;
_root.Slot5a = "S";
_root.lhand = Empty;
} else if (_root.Slot6 == Empty) {
_root.Slot6 = _root.lhand;
_root.Slot6a = "S";
_root.lhand = Empty;
} else if (_root.Slot7 == Empty) {
_root.Slot7 = _root.lhand;
_root.Slot7a = "S";
_root.lhand = Empty;
} else if (_root.Slot8 == Empty) {
_root.Slot8 = _root.lhand;
_root.Slot8a = "S";
_root.lhand = Empty;
} else if (_root.Slot9 == Empty) {
_root.Slot9 = _root.lhand;
_root.Slot9a = "S";
_root.lhand = Empty;
} else if (_root.Slot0 == Empty) {
_root.Slot0 = _root.lhand;
_root.Slot0a = "S";
_root.lhand = Empty;
} else {
_root.sloterror._visible = true;
sloterror = true;
}
if (sloterror != true) {
_root.lhanda = 0;
_root.lhandd = 0;
_root.lhands = 0;
}
}
}
Symbol 303 Button
on (release) {
if (_root.feet != Empty) {
if (_root.Slot1 == Empty) {
_root.Slot1 = _root.feet;
_root.Slot1a = "F";
_root.feet = Empty;
} else if (_root.Slot2 == Empty) {
_root.Slot2 = _root.feet;
_root.Slot2a = "F";
_root.feet = Empty;
} else if (_root.Slot3 == Empty) {
_root.Slot3 = _root.feet;
_root.Slot3a = "F";
_root.feet = Empty;
} else if (_root.Slot4 == Empty) {
_root.Slot4 = _root.feet;
_root.Slot4a = "F";
_root.feet = Empty;
} else if (_root.Slot5 == Empty) {
_root.Slot5 = _root.feet;
_root.Slot5a = "F";
_root.feet = Empty;
} else if (_root.Slot6 == Empty) {
_root.Slot6 = _root.feet;
_root.Slot6a = "F";
_root.feet = Empty;
} else if (_root.Slot7 == Empty) {
_root.Slot7 = _root.feet;
_root.Slot7a = "F";
_root.feet = Empty;
} else if (_root.Slot8 == Empty) {
_root.Slot8 = _root.feet;
_root.Slot8a = "F";
_root.feet = Empty;
} else if (_root.Slot9 == Empty) {
_root.Slot9 = _root.feet;
_root.Slot9a = "F";
_root.feet = Empty;
} else if (_root.Slot0 == Empty) {
_root.Slot0 = _root.feet;
_root.Slot0a = "F";
_root.feet = Empty;
} else {
_root.sloterror._visible = true;
sloterror = true;
}
if (sloterror != true) {
_root.feeta = 0;
_root.feetd = 0;
}
}
}
Symbol 315 Button
on (release) {
_root.fight._visible = false;
}
Symbol 324 Button
on (release) {
_root.thief._visible = false;
}
Symbol 338 Button
on (release) {
_root.magic._visible = false;
}
Symbol 345 Button
on (release) {
if ((_root.Slot1a == 0) || (_root.Slot1a == "00")) {
_root.Slot1a = Empty;
_root.Slot1 = Empty;
}
CSlot = _root.Slot1;
if (_root.Dump == "y") {
_root.DumpSlot = _root.Slot1;
_root.DumpslotA = _root.Slot1a;
_root.Slot1 = Empty;
_root.Slot1a = 0;
_root.Dump = "n";
} else if ((_root.Slot1a == "W") && (_root.rhand == Empty)) {
_root.rhand = CSlot;
_root.Slot1 = Empty;
_root.Slot1a = 0;
if (CSlot == "T. Spear") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "T. Pike") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "T. Axe") {
_root.rhanda = 13;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Hammer") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Club") {
_root.rhanda = 11;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 2;
_root.WeaponType = "Stab";
} else if (CSlot == "T. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "T. Sword") {
_root.rhanda = 7;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "T. Heavy Sword") {
_root.rhanda = 8;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "G. Spear") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "G. Pike") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Stave";
} else if (CSlot == "G. Axe") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "G. Mace") {
_root.rhanda = 10;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "G. Knife") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Dagger") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 2;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Blade") {
_root.rhanda = 3;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Big Knife") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "G. Scymetar") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Staff") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Spear") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Pike") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Axe") {
_root.rhanda = 12;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Hammer") {
_root.rhanda = 10;
_root.rhandd = 3;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Mace") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "H. Broad Sword") {
_root.rhanda = 8;
_root.rhandd = 2;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Rapier") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Scimitar") {
_root.rhanda = 6;
_root.rhandd = 2;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Staff") {
_root.rhanda = 4;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "D. Pike") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "D. Axe") {
_root.rhanda = 12;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "D. Hammer") {
_root.rhanda = 10;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "D. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "D. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "D. Long Sword") {
_root.rhanda = 7;
_root.rhandd = 2;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Short Sword") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Broad Sword") {
_root.rhanda = 8;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Slash";
} else if (CSlot == "E. Staff") {
_root.rhanda = 4;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "E. Spear") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "E. Hammer") {
_root.rhanda = 10;
_root.rhandd = 1;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "E. Mace") {
_root.rhanda = 10;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "E. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Dagger") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Long Sword") {
_root.rhanda = 8;
_root.rhandd = 1;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "E. Short Sword") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "Flaming Sword") {
_root.rhanda = 9;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "Magic Staff") {
_root.rhanda = 5;
_root.rhandd = 2;
_root.rhands = 3;
_root.Fireball = _root.Fireball + 1;
_root.Heal = _root.Heal + 1;
_root.Thunder = _root.Thunder + 1;
_root.Ice = _root.Ice + 1;
_root.MShield = _root.MShield + 1;
_root.WeaponType = "Stave";
} else if (CSlot == "Trident") {
_root.rhanda = 8;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Stave";
}
} else if ((_root.Slot1a == "S") && (_root.lhand == Empty)) {
_root.lhand = CSlot;
_root.Slot1 = Empty;
_root.Slot1a = 0;
if (CSlot == "T. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 2;
} else if (CSlot == "G. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 3;
} else if (CSlot == "G. Targe") {
_root.lhanda = 2;
_root.lhandd = 3;
_root.lhands = 2;
} else if (CSlot == "H. Shield") {
_root.lhanda = 0;
_root.lhandd = 5;
_root.lhands = 3;
} else if (CSlot == "H. Targe") {
_root.lhanda = 1;
_root.lhandd = 4;
_root.lhands = 3;
} else if (CSlot == "D. Shield") {
_root.lhanda = 0;
_root.lhandd = 5;
_root.lhands = 4;
} else if (CSlot == "E. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 4;
} else if (CSlot == "Main Gauche") {
_root.lhanda = 3;
_root.lhandd = 1;
_root.lhands = 3;
}
} else if ((_root.Slot1a == "H") && (_root.head == Empty)) {
_root.head = CSlot;
_root.Slot1 = Empty;
_root.Slot1a = 0;
if (CSlot == "T. Cap") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "T. Helmet") {
_root.heada = 2;
_root.headd = 2;
} else if (CSlot == "T. Pointy Hat") {
_root.heada = 1;
_root.headd = 0;
} else if (CSlot == "G. Hood") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "G. Helmet") {
_root.heada = 1;
_root.headd = 3;
} else if (CSlot == "G. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "H. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "H. Helmet") {
_root.heada = 0;
_root.headd = 4;
} else if (CSlot == "H. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "D. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "D. Helmet") {
_root.heada = 0;
_root.headd = 5;
} else if (CSlot == "D. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "E. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "E. Helmet") {
_root.heada = 0;
_root.headd = 3;
} else if (CSlot == "E. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "Horned Helm") {
_root.heada = 3;
_root.headd = 3;
}
} else if ((_root.Slot1a == "B") && (_root.body == Empty)) {
_root.body = CSlot;
_root.Slot1 = Empty;
_root.Slot1a = 0;
if (CSlot == "T. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "T. Copper") {
_root.bodya = 1;
_root.bodyd = 5;
} else if (CSlot == "T. Iron") {
_root.bodya = 2;
_root.bodyd = 5;
} else if (CSlot == "T. Robe") {
_root.bodya = 0;
_root.bodyd = 2;
} else if (CSlot == "G. Leather") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "G. Copper") {
_root.bodya = 1;
_root.bodyd = 4;
} else if (CSlot == "G. Iron") {
_root.bodya = 1;
_root.bodyd = 6;
} else if (CSlot == "G. Robe") {
_root.bodya = 0;
_root.bodyd = 2;
} else if (CSlot == "H. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "H. Bronze") {
_root.bodya = 0;
_root.bodyd = 6;
} else if (CSlot == "H. Iron") {
_root.bodya = 0;
_root.bodyd = 7;
} else if (CSlot == "H. Robe") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "D. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "D. Chainmail") {
_root.bodya = 0;
_root.bodyd = 6;
} else if (CSlot == "D. Iron") {
_root.bodya = 1;
_root.bodyd = 7;
} else if (CSlot == "D. Robe") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "E. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "E. Chainmail") {
_root.bodya = 0;
_root.bodyd = 5;
} else if (CSlot == "E. Iron") {
_root.bodya = 0;
_root.bodyd = 7;
} else if (CSlot == "E. Robe") {
_root.bodya = 0;
_root.bodyd = 4;
}
} else if ((_root.Slot1a == "F") && (_root.feet == Empty)) {
_root.feet = CSlot;
_root.Slot1 = Empty;
_root.Slot1a = 0;
if (CSlot == "T. Sandals") {
_root.feeta = 1;
_root.feetd = 1;
} else if (CSlot == "T. Boots") {
_root.feeta = 1;
_root.feetd = 2;
} else if (CSlot == "G. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "G. Boots") {
_root.feeta = 2;
_root.feetd = 2;
} else if (CSlot == "H. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "H. Shoes") {
_root.feeta = 0;
_root.feetd = 2;
} else if (CSlot == "H. Boots") {
_root.feeta = 1;
_root.feetd = 3;
} else if (CSlot == "D. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "D. Shoes") {
_root.feeta = 0;
_root.feetd = 2;
} else if (CSlot == "D. Boots") {
_root.feeta = 0;
_root.feetd = 4;
} else if (CSlot == "E. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "E. Shoes") {
_root.feeta = 0;
_root.feetd = 3;
} else if (CSlot == "Steel Toe") {
_root.feeta = 2;
_root.feetd = 3;
}
} else if ((_root.Slot1a == "A") && (_root.amulet == Empty)) {
if (CSlot == "Pheonix Feather") {
_root.amulet = "Pheonix Feather";
} else if (CSlot == "Aura of Peace") {
_root.amulet = "Aura of Peace";
_root.Align = _root.Align + 20;
} else if (CSlot == "Aura of Chaos") {
_root.amulet = "Aura of Chaos";
_root.Align = _root.Align - 20;
} else if (CSlot == "Crystal Ball") {
_root.amulet = "Crystal Ball";
_root.Fireball = _root.Fireball + 1;
_root.Heal = _root.Heal + 1;
_root.Thunder = _root.Thunder + 1;
_root.Ice = _root.Ice + 1;
_root.MShield = _root.MShield + 1;
} else if (CSlot == "Eye of Surtur") {
_root.amulet = "Eye of Surtur";
_root.Fireball = _root.Fireball + 1;
} else if (CSlot == "Blue Cross") {
_root.amulet = "Blue Cross";
_root.Heal = _root.Heal + 1;
} else if (CSlot == "Thor's Hammer") {
_root.amulet = "Thor's Hammer";
_root.Thunder = _root.Thunder + 1;
} else if (CSlot == "Snowflake") {
_root.amulet = "Snowflake";
_root.Ice = _root.Ice + 1;
} else if (CSlot == "Bluegold") {
_root.amulet = "Bluegold";
_root.MShield = _root.MShield + 1;
} else if (CSlot == "Shadow Stone") {
_root.amulet = "Shadow Stone";
_root.Sneak = _root.Sneak + 3;
_root.Burgle = _root.Burgle + 3;
} else if (CSlot == "Silver Tongue") {
_root.amulet = "Silver Tongue";
_root.Backstab = _root.Backstab + 2;
} else if (CSlot == "Lion's Heart") {
_root.amulet = "Lion's Heart";
_root.twohit = _root.twohit + 3;
_root.Parry = _root.Parry + 3;
} else if (CSlot == "Star of Pain") {
_root.amulet = "Star of Pain";
_root.Berserk = _root.Berserk + 1;
} else if (CSlot == "Olive Branch") {
_root.amulet = "Olive Branch";
_root.Stave = _root.Stave + 10;
} else if (CSlot == "Bear's Paw") {
_root.amulet = "Bear's Paw";
_root.Maul = _root.Maul + 10;
} else if (CSlot == "Tusk") {
_root.amulet = "Tusk";
_root.Stab = _root.Stab + 10;
} else if (CSlot == "Tiger Claw") {
_root.amulet = "Tiger Claw";
_root.Slash = _root.Slash + 10;
} else if (CSlot == "Arrowhead") {
_root.amulet = "Arrowhead";
_root.Stave = _root.Stave + 5;
_root.Maul = _root.Maul + 5;
_root.Stab = _root.Stab + 5;
_root.Slash = _root.Slash + 5;
} else if (CSlot == "Turtle Shell") {
_root.amulet = "Turtle Shell";
_root.Block = _root.Block + 10;
} else if (CSlot == "Dumbbell") {
_root.amulet = "Dumbbell";
_root.Str = _root.Str + 1;
} else if (CSlot == "Roc Wing") {
_root.amulet = "Roc Wing";
_root.Speed = _root.Speed + 1;
} else if (CSlot == "Compass") {
_root.amulet = "Compass";
_root.RealAdventures = _root.RealAdventures + 10;
} else if (CSlot == "Toad Stool") {
_root.amulet = "Toad Stool";
_root.FullHP = _root.FullHP + 10;
} else if (CSlot == "Mana Crystal") {
_root.amulet = "Mana Crystal";
_root.FullMP = _root.FullMP + 10;
}
} else if (_root.Slot1a >= 1) {
if (CSlot == "Dragon's Tear") {
_root.MP = _root.MP + (0.2 * _root.FullMP);
_root.Slot1a = _root.Slot1a - 1;
if (_root.Slot1a <= 0) {
_root.Slot1 = Empty;
}
} else if (CSlot == "Gems") {
if (_root.FullMP > _root.MP) {
if (_root.FullMP > (_root.MP + 5)) {
_root.MP = _root.MP + 5;
_root.Slot1a = _root.Slot1a - 1;
} else {
_root.MP = _root.FullMP;
_root.Slot1a = _root.Slot1a - 1;
}
if (_root.Slot1a <= 0) {
_root.Slot1 = Empty;
}
}
} else if (CSlot == "Healing Potion") {
if (_root.FullHP > _root.HP) {
if (_root.FullHP > (_root.HP + 30)) {
_root.HP = _root.HP + 30;
_root.Slot1a = _root.Slot1a - 1;
} else {
_root.HP = _root.FullHP;
_root.Slot1a = _root.Slot1a - 1;
}
if (_root.Slot1a <= 0) {
_root.Slot1 = Empty;
}
}
} else if (CSlot == "Thunder Token") {
} else if (((((CSlot == "Rum") || (CSlot == "Vodka")) || (CSlot == "Whiskey")) || (CSlot == "Mead")) || (CSlot == "Wine")) {
} else if (CSlot == "Tent") {
} else if ((((CSlot == "Gold") || (CSlot == "Silver")) || (CSlot == "Bronze")) || (CSlot == "Copper")) {
} else if (CSlot == "Bandage") {
if (_root.FullHP > _root.HP) {
if (_root.FullHP > (_root.HP + 10)) {
_root.HP = _root.HP + 10;
_root.Slot1a = _root.Slot1a - 1;
} else {
_root.HP = _root.FullHP;
_root.Slot1a = _root.Slot1a - 1;
}
if (_root.Slot1a <= 0) {
_root.Slot1 = Empty;
}
}
} else if (CSlot == "Golden Apple") {
if (_root.FullHP == _root.HP) {
} else {
_root.HP = _root.FullHP;
_root.Slot1a = _root.Slot1a - 1;
}
if (_root.Slot1a <= 0) {
_root.Slot1 = Empty;
}
} else if (CSlot == "Matches") {
} else if (CSlot == "Sleeping Bag") {
} else if (CSlot == "Coffee") {
_root.Adventures = _root.Adventures + 5;
_root.Slot1a = _root.Slot1a - 1;
if (_root.Slot1a <= 0) {
_root.Slot1 = Empty;
}
} else if (((((CSlot == "Chicken") || (CSlot == "Mushrooms")) || (CSlot == "Bread")) || (CSlot == "Pork")) || (CSlot == "Beans")) {
} else if (CSlot == "Map") {
_root.mapback._visible = true;
_root.inventory._visible = false;
_root.storage._visible = false;
}
}
}
Symbol 348 Button
on (release) {
if ((_root.Slot2a == 0) || (_root.Slot2a == "00")) {
_root.Slot2a = Empty;
_root.Slot2 = Empty;
}
CSlot = _root.Slot2;
if (_root.Dump == "y") {
_root.DumpSlot = _root.Slot2;
_root.DumpslotA = _root.Slot2a;
_root.Slot2 = Empty;
_root.Slot2a = 0;
_root.Dump = "n";
} else if ((_root.Slot2a == "W") && (_root.rhand == Empty)) {
_root.rhand = CSlot;
_root.Slot2 = Empty;
_root.Slot2a = 0;
if (CSlot == "T. Spear") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "T. Pike") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "T. Axe") {
_root.rhanda = 13;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Hammer") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Club") {
_root.rhanda = 11;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 2;
_root.WeaponType = "Stab";
} else if (CSlot == "T. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "T. Sword") {
_root.rhanda = 7;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "T. Heavy Sword") {
_root.rhanda = 8;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "G. Spear") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "G. Pike") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Stave";
} else if (CSlot == "G. Axe") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "G. Mace") {
_root.rhanda = 10;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "G. Knife") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Dagger") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 2;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Blade") {
_root.rhanda = 3;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Big Knife") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "G. Scymetar") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Staff") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Spear") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Pike") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Axe") {
_root.rhanda = 12;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Hammer") {
_root.rhanda = 10;
_root.rhandd = 3;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Mace") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "H. Broad Sword") {
_root.rhanda = 8;
_root.rhandd = 2;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Rapier") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Scimitar") {
_root.rhanda = 6;
_root.rhandd = 2;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Staff") {
_root.rhanda = 4;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "D. Pike") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "D. Axe") {
_root.rhanda = 12;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "D. Hammer") {
_root.rhanda = 10;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "D. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "D. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "D. Long Sword") {
_root.rhanda = 7;
_root.rhandd = 2;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Short Sword") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Broad Sword") {
_root.rhanda = 8;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Slash";
} else if (CSlot == "E. Staff") {
_root.rhanda = 4;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "E. Spear") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "E. Hammer") {
_root.rhanda = 10;
_root.rhandd = 1;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "E. Mace") {
_root.rhanda = 10;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "E. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Dagger") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Long Sword") {
_root.rhanda = 8;
_root.rhandd = 1;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "E. Short Sword") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "Flaming Sword") {
_root.rhanda = 9;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "Magic Staff") {
_root.rhanda = 5;
_root.rhandd = 2;
_root.rhands = 3;
_root.Fireball = _root.Fireball + 1;
_root.Heal = _root.Heal + 1;
_root.Thunder = _root.Thunder + 1;
_root.Ice = _root.Ice + 1;
_root.MShield = _root.MShield + 1;
_root.WeaponType = "Stave";
} else if (CSlot == "Trident") {
_root.rhanda = 8;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Stave";
}
} else if ((_root.Slot2a == "S") && (_root.lhand == Empty)) {
_root.lhand = CSlot;
_root.Slot2 = Empty;
_root.Slot2a = 0;
if (CSlot == "T. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 2;
} else if (CSlot == "G. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 3;
} else if (CSlot == "G. Targe") {
_root.lhanda = 2;
_root.lhandd = 3;
_root.lhands = 2;
} else if (CSlot == "H. Shield") {
_root.lhanda = 0;
_root.lhandd = 5;
_root.lhands = 3;
} else if (CSlot == "H. Targe") {
_root.lhanda = 1;
_root.lhandd = 4;
_root.lhands = 3;
} else if (CSlot == "D. Shield") {
_root.lhanda = 0;
_root.lhandd = 5;
_root.lhands = 4;
} else if (CSlot == "E. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 4;
} else if (CSlot == "Main Gauche") {
_root.lhanda = 3;
_root.lhandd = 1;
_root.lhands = 3;
}
} else if ((_root.Slot2a == "H") && (_root.head == Empty)) {
_root.head = CSlot;
_root.Slot2 = empty;
_root.Slot2a = 0;
if (CSlot == "T. Cap") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "T. Helmet") {
_root.heada = 2;
_root.headd = 2;
} else if (CSlot == "T. Pointy Hat") {
_root.heada = 1;
_root.headd = 0;
} else if (CSlot == "G. Hood") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "G. Helmet") {
_root.heada = 1;
_root.headd = 3;
} else if (CSlot == "G. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "H. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "H. Helmet") {
_root.heada = 0;
_root.headd = 4;
} else if (CSlot == "H. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "D. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "D. Helmet") {
_root.heada = 0;
_root.headd = 5;
} else if (CSlot == "D. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "E. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "E. Helmet") {
_root.heada = 0;
_root.headd = 3;
} else if (CSlot == "E. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "Horned Helm") {
_root.heada = 3;
_root.headd = 3;
}
} else if ((_root.Slot2a == "B") && (_root.body == Empty)) {
_root.body = CSlot;
_root.Slot2 = empty;
_root.Slot2a = 0;
if (CSlot == "T. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "T. Copper") {
_root.bodya = 1;
_root.bodyd = 5;
} else if (CSlot == "T. Iron") {
_root.bodya = 2;
_root.bodyd = 5;
} else if (CSlot == "T. Robe") {
_root.bodya = 0;
_root.bodyd = 2;
} else if (CSlot == "G. Leather") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "G. Copper") {
_root.bodya = 1;
_root.bodyd = 4;
} else if (CSlot == "G. Iron") {
_root.bodya = 1;
_root.bodyd = 6;
} else if (CSlot == "G. Robe") {
_root.bodya = 0;
_root.bodyd = 2;
} else if (CSlot == "H. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "H. Bronze") {
_root.bodya = 0;
_root.bodyd = 6;
} else if (CSlot == "H. Iron") {
_root.bodya = 0;
_root.bodyd = 7;
} else if (CSlot == "H. Robe") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "D. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "D. Chainmail") {
_root.bodya = 0;
_root.bodyd = 6;
} else if (CSlot == "D. Iron") {
_root.bodya = 1;
_root.bodyd = 7;
} else if (CSlot == "D. Robe") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "E. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "E. Chainmail") {
_root.bodya = 0;
_root.bodyd = 5;
} else if (CSlot == "E. Iron") {
_root.bodya = 0;
_root.bodyd = 7;
} else if (CSlot == "E. Robe") {
_root.bodya = 0;
_root.bodyd = 4;
}
} else if ((_root.Slot2a == "F") && (_root.feet == Empty)) {
_root.feet = CSlot;
_root.Slot2 = empty;
_root.Slot2a = 0;
if (CSlot == "T. Sandals") {
_root.feeta = 1;
_root.feetd = 1;
} else if (CSlot == "T. Boots") {
_root.feeta = 1;
_root.feetd = 2;
} else if (CSlot == "G. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "G. Boots") {
_root.feeta = 2;
_root.feetd = 2;
} else if (CSlot == "H. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "H. Shoes") {
_root.feeta = 0;
_root.feetd = 2;
} else if (CSlot == "H. Boots") {
_root.feeta = 1;
_root.feetd = 3;
} else if (CSlot == "D. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "D. Shoes") {
_root.feeta = 0;
_root.feetd = 2;
} else if (CSlot == "D. Boots") {
_root.feeta = 0;
_root.feetd = 4;
} else if (CSlot == "E. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "E. Shoes") {
_root.feeta = 0;
_root.feetd = 3;
} else if (CSlot == "Steel Toe") {
_root.feeta = 2;
_root.feetd = 3;
}
} else if ((_root.Slot2a == "A") && (_root.amulet == Empty)) {
if (CSlot == "Pheonix Feather") {
_root.amulet = "Pheonix Feather";
} else if (CSlot == "Aura of Peace") {
_root.amulet = "Aura of Peace";
_root.Align = _root.Align + 20;
} else if (CSlot == "Aura of Chaos") {
_root.amulet = "Aura of Chaos";
_root.Align = _root.Align - 20;
} else if (CSlot == "Crystal Ball") {
_root.amulet = "Crystal Ball";
_root.Fireball = _root.Fireball + 1;
_root.Heal = _root.Heal + 1;
_root.Thunder = _root.Thunder + 1;
_root.Ice = _root.Ice + 1;
_root.MShield = _root.MShield + 1;
} else if (CSlot == "Eye of Surtur") {
_root.amulet = "Eye of Surtur";
_root.Fireball = _root.Fireball + 1;
} else if (CSlot == "Blue Cross") {
_root.amulet = "Blue Cross";
_root.Heal = _root.Heal + 1;
} else if (CSlot == "Thor's Hammer") {
_root.amulet = "Thor's Hammer";
_root.Thunder = _root.Thunder + 1;
} else if (CSlot == "Snowflake") {
_root.amulet = "Snowflake";
_root.Ice = _root.Ice + 1;
} else if (CSlot == "Bluegold") {
_root.amulet = "Bluegold";
_root.MShield = _root.MShield + 1;
} else if (CSlot == "Shadow Stone") {
_root.amulet = "Shadow Stone";
_root.Sneak = _root.Sneak + 3;
_root.Burgle = _root.Burgle + 3;
} else if (CSlot == "Silver Tongue") {
_root.amulet = "Silver Tongue";
_root.Backstab = _root.Backstab + 2;
} else if (CSlot == "Lion's Heart") {
_root.amulet = "Lion's Heart";
_root.twohit = _root.twohit + 3;
_root.Parry = _root.Parry + 3;
} else if (CSlot == "Star of Pain") {
_root.amulet = "Star of Pain";
_root.Berserk = _root.Berserk + 1;
} else if (CSlot == "Olive Branch") {
_root.amulet = "Olive Branch";
_root.Stave = _root.Stave + 10;
} else if (CSlot == "Bear's Paw") {
_root.amulet = "Bear's Paw";
_root.Maul = _root.Maul + 10;
} else if (CSlot == "Tusk") {
_root.amulet = "Tusk";
_root.Stab = _root.Stab + 10;
} else if (CSlot == "Tiger Claw") {
_root.amulet = "Tiger Claw";
_root.Slash = _root.Slash + 10;
} else if (CSlot == "Arrowhead") {
_root.amulet = "Arrowhead";
_root.Stave = _root.Stave + 5;
_root.Maul = _root.Maul + 5;
_root.Stab = _root.Stab + 5;
_root.Slash = _root.Slash + 5;
} else if (CSlot == "Turtle Shell") {
_root.amulet = "Turtle Shell";
_root.Block = _root.Block + 10;
} else if (CSlot == "Dumbbell") {
_root.amulet = "Dumbbell";
_root.Str = _root.Str + 1;
} else if (CSlot == "Roc Wing") {
_root.amulet = "Roc Wing";
_root.Speed = _root.Speed + 1;
} else if (CSlot == "Compass") {
_root.amulet = "Compass";
_root.RealAdventures = _root.RealAdventures + 10;
} else if (CSlot == "Toad Stool") {
_root.amulet = "Toad Stool";
_root.FullHP = _root.FullHP + 10;
} else if (CSlot == "Mana Crystal") {
_root.amulet = "Mana Crystal";
_root.FullMP = _root.FullMP + 10;
}
} else if (_root.Slot2a >= 1) {
if (CSlot == "Dragon's Tear") {
_root.MP = _root.MP + (0.2 * _root.FullMP);
_root.Slot2a = _root.Slot2a - 1;
if (_root.Slot2a <= 0) {
_root.Slot2 = Empty;
}
} else if (CSlot == "Gems") {
if (_root.FullMP > _root.MP) {
if (_root.FullMP > (_root.MP + 5)) {
_root.MP = _root.MP + 5;
_root.Slot2a = _root.Slot2a - 1;
} else {
_root.MP = _root.FullMP;
_root.Slot2a = _root.Slot2a - 1;
}
if (_root.Slot2a <= 0) {
_root.Slot2 = Empty;
}
}
} else if (CSlot == "Healing Potion") {
if (_root.FullHP > _root.HP) {
if (_root.FullHP > (_root.HP + 30)) {
_root.HP = _root.HP + 30;
_root.Slot2a = _root.Slot2a - 1;
} else {
_root.HP = _root.FullHP;
_root.Slot2a = _root.Slot2a - 1;
}
if (_root.Slot2a <= 0) {
_root.Slot2 = Empty;
}
}
} else if (CSlot == "Thunder Token") {
} else if (((((CSlot == "Rum") || (CSlot == "Vodka")) || (CSlot == "Whiskey")) || (CSlot == "Mead")) || (CSlot == "Wine")) {
} else if (CSlot == "Tent") {
} else if ((((CSlot == "Gold") || (CSlot == "Silver")) || (CSlot == "Bronze")) || (CSlot == "Copper")) {
} else if (CSlot == "Bandage") {
if (_root.FullHP > _root.HP) {
if (_root.FullHP > (_root.HP + 10)) {
_root.HP = _root.HP + 10;
_root.Slot2a = _root.Slot2a - 1;
} else {
_root.HP = _root.FullHP;
_root.Slot2a = _root.Slot2a - 1;
}
if (_root.Slot2a <= 0) {
_root.Slot2 = Empty;
}
}
} else if (CSlot == "Golden Apple") {
if (_root.FullHP == _root.HP) {
} else {
_root.HP = _root.FullHP;
_root.Slot2a = _root.Slot2a - 1;
}
if (_root.Slot2a <= 0) {
_root.Slot2 = Empty;
}
} else if (CSlot == "Matches") {
} else if (CSlot == "Sleeping Bag") {
} else if (CSlot == "Coffee") {
_root.Adventures = _root.Adventures + 5;
_root.Slot2a = _root.Slot2a - 1;
if (_root.Slot2a <= 0) {
_root.Slot2 = Empty;
}
} else if (((((CSlot == "Chicken") || (CSlot == "Mushrooms")) || (CSlot == "Bread")) || (CSlot == "Pork")) || (CSlot == "Beans")) {
} else if (CSlot == "Map") {
_root.mapback._visible = true;
_root.inventory._visible = false;
_root.storage._visible = false;
}
}
}
Symbol 351 Button
on (release) {
if ((_root.Slot3a == 0) || (_root.Slot3a == "00")) {
_root.Slot3a = Empty;
_root.Slot3 = Empty;
}
CSlot = _root.Slot3;
if (_root.Dump == "y") {
_root.DumpSlot = _root.Slot3;
_root.DumpslotA = _root.Slot3a;
_root.Slot3 = Empty;
_root.Slot3a = 0;
_root.Dump = "n";
} else if ((_root.Slot3a == "W") && (_root.rhand == Empty)) {
_root.rhand = CSlot;
_root.Slot3 = Empty;
_root.Slot3a = 0;
if (CSlot == "T. Spear") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "T. Pike") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "T. Axe") {
_root.rhanda = 13;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Hammer") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Club") {
_root.rhanda = 11;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 2;
_root.WeaponType = "Stab";
} else if (CSlot == "T. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "T. Sword") {
_root.rhanda = 7;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "T. Heavy Sword") {
_root.rhanda = 8;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "G. Spear") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "G. Pike") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Stave";
} else if (CSlot == "G. Axe") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "G. Mace") {
_root.rhanda = 10;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "G. Knife") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Dagger") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 2;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Blade") {
_root.rhanda = 3;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Big Knife") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "G. Scymetar") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Staff") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Spear") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Pike") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Axe") {
_root.rhanda = 12;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Hammer") {
_root.rhanda = 10;
_root.rhandd = 3;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Mace") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "H. Broad Sword") {
_root.rhanda = 8;
_root.rhandd = 2;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Rapier") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Scimitar") {
_root.rhanda = 6;
_root.rhandd = 2;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Staff") {
_root.rhanda = 4;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "D. Pike") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "D. Axe") {
_root.rhanda = 12;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "D. Hammer") {
_root.rhanda = 10;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "D. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "D. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "D. Long Sword") {
_root.rhanda = 7;
_root.rhandd = 2;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Short Sword") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Broad Sword") {
_root.rhanda = 8;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Slash";
} else if (CSlot == "E. Staff") {
_root.rhanda = 4;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "E. Spear") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "E. Hammer") {
_root.rhanda = 10;
_root.rhandd = 1;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "E. Mace") {
_root.rhanda = 10;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "E. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Dagger") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Long Sword") {
_root.rhanda = 8;
_root.rhandd = 1;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "E. Short Sword") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "Flaming Sword") {
_root.rhanda = 9;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "Magic Staff") {
_root.rhanda = 5;
_root.rhandd = 2;
_root.rhands = 3;
_root.Fireball = _root.Fireball + 1;
_root.Heal = _root.Heal + 1;
_root.Thunder = _root.Thunder + 1;
_root.Ice = _root.Ice + 1;
_root.MShield = _root.MShield + 1;
_root.WeaponType = "Stave";
} else if (CSlot == "Trident") {
_root.rhanda = 8;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Stave";
}
} else if ((_root.Slot3a == "S") && (_root.lhand == Empty)) {
_root.lhand = CSlot;
_root.Slot3 = Empty;
_root.Slot3a = 0;
if (CSlot == "T. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 2;
} else if (CSlot == "G. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 3;
} else if (CSlot == "G. Targe") {
_root.lhanda = 2;
_root.lhandd = 3;
_root.lhands = 2;
} else if (CSlot == "H. Shield") {
_root.lhanda = 0;
_root.lhandd = 5;
_root.lhands = 3;
} else if (CSlot == "H. Targe") {
_root.lhanda = 1;
_root.lhandd = 4;
_root.lhands = 3;
} else if (CSlot == "D. Shield") {
_root.lhanda = 0;
_root.lhandd = 5;
_root.lhands = 4;
} else if (CSlot == "E. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 4;
} else if (CSlot == "Main Gauche") {
_root.lhanda = 3;
_root.lhandd = 1;
_root.lhands = 3;
}
} else if ((_root.Slot3a == "H") && (_root.head == Empty)) {
_root.head = CSlot;
_root.Slot3 = empty;
_root.Slot3a = 0;
if (CSlot == "T. Cap") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "T. Helmet") {
_root.heada = 2;
_root.headd = 2;
} else if (CSlot == "T. Pointy Hat") {
_root.heada = 1;
_root.headd = 0;
} else if (CSlot == "G. Hood") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "G. Helmet") {
_root.heada = 1;
_root.headd = 3;
} else if (CSlot == "G. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "H. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "H. Helmet") {
_root.heada = 0;
_root.headd = 4;
} else if (CSlot == "H. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "D. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "D. Helmet") {
_root.heada = 0;
_root.headd = 5;
} else if (CSlot == "D. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "E. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "E. Helmet") {
_root.heada = 0;
_root.headd = 3;
} else if (CSlot == "E. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "Horned Helm") {
_root.heada = 3;
_root.headd = 3;
}
} else if ((_root.Slot3a == "B") && (_root.body == Empty)) {
_root.body = CSlot;
_root.Slot3 = empty;
_root.Slot3a = 0;
if (CSlot == "T. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "T. Copper") {
_root.bodya = 1;
_root.bodyd = 5;
} else if (CSlot == "T. Iron") {
_root.bodya = 2;
_root.bodyd = 5;
} else if (CSlot == "T. Robe") {
_root.bodya = 0;
_root.bodyd = 2;
} else if (CSlot == "G. Leather") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "G. Copper") {
_root.bodya = 1;
_root.bodyd = 4;
} else if (CSlot == "G. Iron") {
_root.bodya = 1;
_root.bodyd = 6;
} else if (CSlot == "G. Robe") {
_root.bodya = 0;
_root.bodyd = 2;
} else if (CSlot == "H. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "H. Bronze") {
_root.bodya = 0;
_root.bodyd = 6;
} else if (CSlot == "H. Iron") {
_root.bodya = 0;
_root.bodyd = 7;
} else if (CSlot == "H. Robe") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "D. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "D. Chainmail") {
_root.bodya = 0;
_root.bodyd = 6;
} else if (CSlot == "D. Iron") {
_root.bodya = 1;
_root.bodyd = 7;
} else if (CSlot == "D. Robe") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "E. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "E. Chainmail") {
_root.bodya = 0;
_root.bodyd = 5;
} else if (CSlot == "E. Iron") {
_root.bodya = 0;
_root.bodyd = 7;
} else if (CSlot == "E. Robe") {
_root.bodya = 0;
_root.bodyd = 4;
}
} else if ((_root.Slot3a == "F") && (_root.feet == Empty)) {
_root.feet = CSlot;
_root.Slot3 = empty;
_root.Slot3a = 0;
if (CSlot == "T. Sandals") {
_root.feeta = 1;
_root.feetd = 1;
} else if (CSlot == "T. Boots") {
_root.feeta = 1;
_root.feetd = 2;
} else if (CSlot == "G. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "G. Boots") {
_root.feeta = 2;
_root.feetd = 2;
} else if (CSlot == "H. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "H. Shoes") {
_root.feeta = 0;
_root.feetd = 2;
} else if (CSlot == "H. Boots") {
_root.feeta = 1;
_root.feetd = 3;
} else if (CSlot == "D. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "D. Shoes") {
_root.feeta = 0;
_root.feetd = 2;
} else if (CSlot == "D. Boots") {
_root.feeta = 0;
_root.feetd = 4;
} else if (CSlot == "E. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "E. Shoes") {
_root.feeta = 0;
_root.feetd = 3;
} else if (CSlot == "Steel Toe") {
_root.feeta = 2;
_root.feetd = 3;
}
} else if ((_root.Slot3a == "A") && (_root.amulet == Empty)) {
if (CSlot == "Pheonix Feather") {
_root.amulet = "Pheonix Feather";
} else if (CSlot == "Aura of Peace") {
_root.amulet = "Aura of Peace";
_root.Align = _root.Align + 20;
} else if (CSlot == "Aura of Chaos") {
_root.amulet = "Aura of Chaos";
_root.Align = _root.Align - 20;
} else if (CSlot == "Crystal Ball") {
_root.amulet = "Crystal Ball";
_root.Fireball = _root.Fireball + 1;
_root.Heal = _root.Heal + 1;
_root.Thunder = _root.Thunder + 1;
_root.Ice = _root.Ice + 1;
_root.MShield = _root.MShield + 1;
} else if (CSlot == "Eye of Surtur") {
_root.amulet = "Eye of Surtur";
_root.Fireball = _root.Fireball + 1;
} else if (CSlot == "Blue Cross") {
_root.amulet = "Blue Cross";
_root.Heal = _root.Heal + 1;
} else if (CSlot == "Thor's Hammer") {
_root.amulet = "Thor's Hammer";
_root.Thunder = _root.Thunder + 1;
} else if (CSlot == "Snowflake") {
_root.amulet = "Snowflake";
_root.Ice = _root.Ice + 1;
} else if (CSlot == "Bluegold") {
_root.amulet = "Bluegold";
_root.MShield = _root.MShield + 1;
} else if (CSlot == "Shadow Stone") {
_root.amulet = "Shadow Stone";
_root.Sneak = _root.Sneak + 3;
_root.Burgle = _root.Burgle + 3;
} else if (CSlot == "Silver Tongue") {
_root.amulet = "Silver Tongue";
_root.Backstab = _root.Backstab + 2;
} else if (CSlot == "Lion's Heart") {
_root.amulet = "Lion's Heart";
_root.twohit = _root.twohit + 3;
_root.Parry = _root.Parry + 3;
} else if (CSlot == "Star of Pain") {
_root.amulet = "Star of Pain";
_root.Berserk = _root.Berserk + 1;
} else if (CSlot == "Olive Branch") {
_root.amulet = "Olive Branch";
_root.Stave = _root.Stave + 10;
} else if (CSlot == "Bear's Paw") {
_root.amulet = "Bear's Paw";
_root.Maul = _root.Maul + 10;
} else if (CSlot == "Tusk") {
_root.amulet = "Tusk";
_root.Stab = _root.Stab + 10;
} else if (CSlot == "Tiger Claw") {
_root.amulet = "Tiger Claw";
_root.Slash = _root.Slash + 10;
} else if (CSlot == "Arrowhead") {
_root.amulet = "Arrowhead";
_root.Stave = _root.Stave + 5;
_root.Maul = _root.Maul + 5;
_root.Stab = _root.Stab + 5;
_root.Slash = _root.Slash + 5;
} else if (CSlot == "Turtle Shell") {
_root.amulet = "Turtle Shell";
_root.Block = _root.Block + 10;
} else if (CSlot == "Dumbbell") {
_root.amulet = "Dumbbell";
_root.Str = _root.Str + 1;
} else if (CSlot == "Roc Wing") {
_root.amulet = "Roc Wing";
_root.Speed = _root.Speed + 1;
} else if (CSlot == "Compass") {
_root.amulet = "Compass";
_root.RealAdventures = _root.RealAdventures + 10;
} else if (CSlot == "Toad Stool") {
_root.amulet = "Toad Stool";
_root.FullHP = _root.FullHP + 10;
} else if (CSlot == "Mana Crystal") {
_root.amulet = "Mana Crystal";
_root.FullMP = _root.FullMP + 10;
}
} else if (_root.Slot3a >= 1) {
if (CSlot == "Dragon's Tear") {
_root.MP = _root.MP + (0.2 * _root.FullMP);
_root.Slot3a = _root.Slot3a - 1;
if (_root.Slot3a <= 0) {
_root.Slot3 = Empty;
}
} else if (CSlot == "Gems") {
if (_root.FullMP > _root.MP) {
if (_root.FullMP > (_root.MP + 5)) {
_root.MP = _root.MP + 5;
_root.Slot3a = _root.Slot3a - 1;
} else {
_root.MP = _root.FullMP;
_root.Slot3a = _root.Slot3a - 1;
}
if (_root.Slot3a <= 0) {
_root.Slot3 = Empty;
}
}
} else if (CSlot == "Healing Potion") {
if (_root.FullHP > _root.HP) {
if (_root.FullHP > (_root.HP + 30)) {
_root.HP = _root.HP + 30;
_root.Slot3a = _root.Slot3a - 1;
} else {
_root.HP = _root.FullHP;
_root.Slot3a = _root.Slot3a - 1;
}
if (_root.Slot3a <= 0) {
_root.Slot3 = Empty;
}
}
} else if (CSlot == "Thunder Token") {
} else if (((((CSlot == "Rum") || (CSlot == "Vodka")) || (CSlot == "Whiskey")) || (CSlot == "Mead")) || (CSlot == "Wine")) {
} else if (CSlot == "Tent") {
} else if ((((CSlot == "Gold") || (CSlot == "Silver")) || (CSlot == "Bronze")) || (CSlot == "Copper")) {
} else if (CSlot == "Bandage") {
if (_root.FullHP > _root.HP) {
if (_root.FullHP > (_root.HP + 10)) {
_root.HP = _root.HP + 10;
_root.Slot3a = _root.Slot3a - 1;
} else {
_root.HP = _root.FullHP;
_root.Slot3a = _root.Slot3a - 1;
}
if (_root.Slot3a <= 0) {
_root.Slot3 = Empty;
}
}
} else if (CSlot == "Golden Apple") {
if (_root.FullHP == _root.HP) {
} else {
_root.HP = _root.FullHP;
_root.Slot3a = _root.Slot3a - 1;
}
if (_root.Slot3a <= 0) {
_root.Slot3 = Empty;
}
} else if (CSlot == "Matches") {
} else if (CSlot == "Sleeping Bag") {
} else if (CSlot == "Coffee") {
_root.Adventures = _root.Adventures + 5;
_root.Slot3a = _root.Slot3a - 1;
if (_root.Slot3a <= 0) {
_root.Slot3 = Empty;
}
} else if (((((CSlot == "Chicken") || (CSlot == "Mushrooms")) || (CSlot == "Bread")) || (CSlot == "Pork")) || (CSlot == "Beans")) {
} else if (CSlot == "Map") {
_root.mapback._visible = true;
_root.inventory._visible = false;
_root.storage._visible = false;
}
}
}
Symbol 354 Button
on (release) {
if ((_root.Slot4a == 0) || (_root.Slot4a == "00")) {
_root.Slot4a = Empty;
_root.Slot4 = Empty;
}
CSlot = _root.Slot4;
if (_root.Dump == "y") {
_root.DumpSlot = _root.Slot4;
_root.DumpslotA = _root.Slot4a;
_root.Slot4 = Empty;
_root.Slot4a = 0;
_root.Dump = "n";
} else if ((_root.Slot4a == "W") && (_root.rhand == Empty)) {
_root.rhand = CSlot;
_root.Slot4 = Empty;
_root.Slot4a = 0;
if (CSlot == "T. Spear") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "T. Pike") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "T. Axe") {
_root.rhanda = 13;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Hammer") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Club") {
_root.rhanda = 11;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 2;
_root.WeaponType = "Stab";
} else if (CSlot == "T. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "T. Sword") {
_root.rhanda = 7;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "T. Heavy Sword") {
_root.rhanda = 8;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "G. Spear") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "G. Pike") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Stave";
} else if (CSlot == "G. Axe") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "G. Mace") {
_root.rhanda = 10;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "G. Knife") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Dagger") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 2;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Blade") {
_root.rhanda = 3;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Big Knife") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "G. Scymetar") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Staff") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Spear") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Pike") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Axe") {
_root.rhanda = 12;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Hammer") {
_root.rhanda = 10;
_root.rhandd = 3;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Mace") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "H. Broad Sword") {
_root.rhanda = 8;
_root.rhandd = 2;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Rapier") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Scimitar") {
_root.rhanda = 6;
_root.rhandd = 2;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Staff") {
_root.rhanda = 4;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "D. Pike") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "D. Axe") {
_root.rhanda = 12;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "D. Hammer") {
_root.rhanda = 10;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "D. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "D. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "D. Long Sword") {
_root.rhanda = 7;
_root.rhandd = 2;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Short Sword") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Broad Sword") {
_root.rhanda = 8;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Slash";
} else if (CSlot == "E. Staff") {
_root.rhanda = 4;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "E. Spear") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "E. Hammer") {
_root.rhanda = 10;
_root.rhandd = 1;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "E. Mace") {
_root.rhanda = 10;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "E. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Dagger") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Long Sword") {
_root.rhanda = 8;
_root.rhandd = 1;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "E. Short Sword") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "Flaming Sword") {
_root.rhanda = 9;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "Magic Staff") {
_root.rhanda = 5;
_root.rhandd = 2;
_root.rhands = 3;
_root.Fireball = _root.Fireball + 1;
_root.Heal = _root.Heal + 1;
_root.Thunder = _root.Thunder + 1;
_root.Ice = _root.Ice + 1;
_root.MShield = _root.MShield + 1;
_root.WeaponType = "Stave";
} else if (CSlot == "Trident") {
_root.rhanda = 8;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Stave";
}
} else if ((_root.Slot4a == "S") && (_root.lhand == Empty)) {
_root.lhand = CSlot;
_root.Slot4 = Empty;
_root.Slot4a = 0;
if (CSlot == "T. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 2;
} else if (CSlot == "G. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 3;
} else if (CSlot == "G. Targe") {
_root.lhanda = 2;
_root.lhandd = 3;
_root.lhands = 2;
} else if (CSlot == "H. Shield") {
_root.lhanda = 0;
_root.lhandd = 5;
_root.lhands = 3;
} else if (CSlot == "H. Targe") {
_root.lhanda = 1;
_root.lhandd = 4;
_root.lhands = 3;
} else if (CSlot == "D. Shield") {
_root.lhanda = 0;
_root.lhandd = 5;
_root.lhands = 4;
} else if (CSlot == "E. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 4;
} else if (CSlot == "Main Gauche") {
_root.lhanda = 3;
_root.lhandd = 1;
_root.lhands = 3;
}
} else if ((_root.Slot4a == "H") && (_root.head == Empty)) {
_root.head = CSlot;
_root.Slot4 = empty;
_root.Slot4a = 0;
if (CSlot == "T. Cap") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "T. Helmet") {
_root.heada = 2;
_root.headd = 2;
} else if (CSlot == "T. Pointy Hat") {
_root.heada = 1;
_root.headd = 0;
} else if (CSlot == "G. Hood") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "G. Helmet") {
_root.heada = 1;
_root.headd = 3;
} else if (CSlot == "G. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "H. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "H. Helmet") {
_root.heada = 0;
_root.headd = 4;
} else if (CSlot == "H. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "D. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "D. Helmet") {
_root.heada = 0;
_root.headd = 5;
} else if (CSlot == "D. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "E. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "E. Helmet") {
_root.heada = 0;
_root.headd = 3;
} else if (CSlot == "E. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "Horned Helm") {
_root.heada = 3;
_root.headd = 3;
}
} else if ((_root.Slot4a == "B") && (_root.body == Empty)) {
_root.body = CSlot;
_root.Slot4 = empty;
_root.Slot4a = 0;
if (CSlot == "T. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "T. Copper") {
_root.bodya = 1;
_root.bodyd = 5;
} else if (CSlot == "T. Iron") {
_root.bodya = 2;
_root.bodyd = 5;
} else if (CSlot == "T. Robe") {
_root.bodya = 0;
_root.bodyd = 2;
} else if (CSlot == "G. Leather") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "G. Copper") {
_root.bodya = 1;
_root.bodyd = 4;
} else if (CSlot == "G. Iron") {
_root.bodya = 1;
_root.bodyd = 6;
} else if (CSlot == "G. Robe") {
_root.bodya = 0;
_root.bodyd = 2;
} else if (CSlot == "H. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "H. Bronze") {
_root.bodya = 0;
_root.bodyd = 6;
} else if (CSlot == "H. Iron") {
_root.bodya = 0;
_root.bodyd = 7;
} else if (CSlot == "H. Robe") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "D. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "D. Chainmail") {
_root.bodya = 0;
_root.bodyd = 6;
} else if (CSlot == "D. Iron") {
_root.bodya = 1;
_root.bodyd = 7;
} else if (CSlot == "D. Robe") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "E. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "E. Chainmail") {
_root.bodya = 0;
_root.bodyd = 5;
} else if (CSlot == "E. Iron") {
_root.bodya = 0;
_root.bodyd = 7;
} else if (CSlot == "E. Robe") {
_root.bodya = 0;
_root.bodyd = 4;
}
} else if ((_root.Slot4a == "F") && (_root.feet == Empty)) {
_root.feet = CSlot;
_root.Slot4 = empty;
_root.Slot4a = 0;
if (CSlot == "T. Sandals") {
_root.feeta = 1;
_root.feetd = 1;
} else if (CSlot == "T. Boots") {
_root.feeta = 1;
_root.feetd = 2;
} else if (CSlot == "G. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "G. Boots") {
_root.feeta = 2;
_root.feetd = 2;
} else if (CSlot == "H. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "H. Shoes") {
_root.feeta = 0;
_root.feetd = 2;
} else if (CSlot == "H. Boots") {
_root.feeta = 1;
_root.feetd = 3;
} else if (CSlot == "D. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "D. Shoes") {
_root.feeta = 0;
_root.feetd = 2;
} else if (CSlot == "D. Boots") {
_root.feeta = 0;
_root.feetd = 4;
} else if (CSlot == "E. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "E. Shoes") {
_root.feeta = 0;
_root.feetd = 3;
} else if (CSlot == "Steel Toe") {
_root.feeta = 2;
_root.feetd = 3;
}
} else if ((_root.Slot4a == "A") && (_root.amulet == Empty)) {
if (CSlot == "Pheonix Feather") {
_root.amulet = "Pheonix Feather";
} else if (CSlot == "Aura of Peace") {
_root.amulet = "Aura of Peace";
_root.Align = _root.Align + 20;
} else if (CSlot == "Aura of Chaos") {
_root.amulet = "Aura of Chaos";
_root.Align = _root.Align - 20;
} else if (CSlot == "Crystal Ball") {
_root.amulet = "Crystal Ball";
_root.Fireball = _root.Fireball + 1;
_root.Heal = _root.Heal + 1;
_root.Thunder = _root.Thunder + 1;
_root.Ice = _root.Ice + 1;
_root.MShield = _root.MShield + 1;
} else if (CSlot == "Eye of Surtur") {
_root.amulet = "Eye of Surtur";
_root.Fireball = _root.Fireball + 1;
} else if (CSlot == "Blue Cross") {
_root.amulet = "Blue Cross";
_root.Heal = _root.Heal + 1;
} else if (CSlot == "Thor's Hammer") {
_root.amulet = "Thor's Hammer";
_root.Thunder = _root.Thunder + 1;
} else if (CSlot == "Snowflake") {
_root.amulet = "Snowflake";
_root.Ice = _root.Ice + 1;
} else if (CSlot == "Bluegold") {
_root.amulet = "Bluegold";
_root.MShield = _root.MShield + 1;
} else if (CSlot == "Shadow Stone") {
_root.amulet = "Shadow Stone";
_root.Sneak = _root.Sneak + 3;
_root.Burgle = _root.Burgle + 3;
} else if (CSlot == "Silver Tongue") {
_root.amulet = "Silver Tongue";
_root.Backstab = _root.Backstab + 2;
} else if (CSlot == "Lion's Heart") {
_root.amulet = "Lion's Heart";
_root.twohit = _root.twohit + 3;
_root.Parry = _root.Parry + 3;
} else if (CSlot == "Star of Pain") {
_root.amulet = "Star of Pain";
_root.Berserk = _root.Berserk + 1;
} else if (CSlot == "Olive Branch") {
_root.amulet = "Olive Branch";
_root.Stave = _root.Stave + 10;
} else if (CSlot == "Bear's Paw") {
_root.amulet = "Bear's Paw";
_root.Maul = _root.Maul + 10;
} else if (CSlot == "Tusk") {
_root.amulet = "Tusk";
_root.Stab = _root.Stab + 10;
} else if (CSlot == "Tiger Claw") {
_root.amulet = "Tiger Claw";
_root.Slash = _root.Slash + 10;
} else if (CSlot == "Arrowhead") {
_root.amulet = "Arrowhead";
_root.Stave = _root.Stave + 5;
_root.Maul = _root.Maul + 5;
_root.Stab = _root.Stab + 5;
_root.Slash = _root.Slash + 5;
} else if (CSlot == "Turtle Shell") {
_root.amulet = "Turtle Shell";
_root.Block = _root.Block + 10;
} else if (CSlot == "Dumbbell") {
_root.amulet = "Dumbbell";
_root.Str = _root.Str + 1;
} else if (CSlot == "Roc Wing") {
_root.amulet = "Roc Wing";
_root.Speed = _root.Speed + 1;
} else if (CSlot == "Compass") {
_root.amulet = "Compass";
_root.RealAdventures = _root.RealAdventures + 10;
} else if (CSlot == "Toad Stool") {
_root.amulet = "Toad Stool";
_root.FullHP = _root.FullHP + 10;
} else if (CSlot == "Mana Crystal") {
_root.amulet = "Mana Crystal";
_root.FullMP = _root.FullMP + 10;
}
} else if (_root.Slot4a >= 1) {
if (CSlot == "Dragon's Tear") {
_root.MP = _root.MP + (0.2 * _root.FullMP);
_root.Slot4a = _root.Slot4a - 1;
if (_root.Slot4a <= 0) {
_root.Slot4 = Empty;
}
} else if (CSlot == "Gems") {
if (_root.FullMP > _root.MP) {
if (_root.FullMP > (_root.MP + 5)) {
_root.MP = _root.MP + 5;
_root.Slot4a = _root.Slot4a - 1;
} else {
_root.MP = _root.FullMP;
_root.Slot4a = _root.Slot4a - 1;
}
if (_root.Slot4a <= 0) {
_root.Slot4 = Empty;
}
}
} else if (CSlot == "Healing Potion") {
if (_root.FullHP > _root.HP) {
if (_root.FullHP > (_root.HP + 30)) {
_root.HP = _root.HP + 30;
_root.Slot4a = _root.Slot4a - 1;
} else {
_root.HP = _root.FullHP;
_root.Slot4a = _root.Slot4a - 1;
}
if (_root.Slot4a <= 0) {
_root.Slot4 = Empty;
}
}
} else if (CSlot == "Thunder Token") {
} else if (((((CSlot == "Rum") || (CSlot == "Vodka")) || (CSlot == "Whiskey")) || (CSlot == "Mead")) || (CSlot == "Wine")) {
} else if (CSlot == "Tent") {
} else if ((((CSlot == "Gold") || (CSlot == "Silver")) || (CSlot == "Bronze")) || (CSlot == "Copper")) {
} else if (CSlot == "Bandage") {
if (_root.FullHP > _root.HP) {
if (_root.FullHP > (_root.HP + 10)) {
_root.HP = _root.HP + 10;
_root.Slot4a = _root.Slot4a - 1;
} else {
_root.HP = _root.FullHP;
_root.Slot4a = _root.Slot4a - 1;
}
if (_root.Slot4a <= 0) {
_root.Slot4 = Empty;
}
}
} else if (CSlot == "Golden Apple") {
if (_root.FullHP == _root.HP) {
} else {
_root.HP = _root.FullHP;
_root.Slot4a = _root.Slot4a - 1;
}
if (_root.Slot4a <= 0) {
_root.Slot4 = Empty;
}
} else if (CSlot == "Matches") {
} else if (CSlot == "Sleeping Bag") {
} else if (CSlot == "Coffee") {
_root.Adventures = _root.Adventures + 5;
_root.Slot4a = _root.Slot4a - 1;
if (_root.Slot4a <= 0) {
_root.Slot4 = Empty;
}
} else if (((((CSlot == "Chicken") || (CSlot == "Mushrooms")) || (CSlot == "Bread")) || (CSlot == "Pork")) || (CSlot == "Beans")) {
} else if (CSlot == "Map") {
_root.mapback._visible = true;
_root.inventory._visible = false;
_root.storage._visible = false;
}
}
}
Symbol 357 Button
on (release) {
if ((_root.Slot5a == 0) || (_root.Slot5a == "00")) {
_root.Slot5a = Empty;
_root.Slot5 = Empty;
}
CSlot = _root.Slot5;
if (_root.Dump == "y") {
_root.DumpSlot = _root.Slot5;
_root.DumpslotA = _root.Slot5a;
_root.Slot5 = Empty;
_root.Slot5a = 0;
_root.Dump = "n";
} else if ((_root.Slot5a == "W") && (_root.rhand == Empty)) {
_root.rhand = CSlot;
_root.Slot5 = Empty;
_root.Slot5a = 0;
if (CSlot == "T. Spear") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "T. Pike") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "T. Axe") {
_root.rhanda = 13;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Hammer") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Club") {
_root.rhanda = 11;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 2;
_root.WeaponType = "Stab";
} else if (CSlot == "T. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "T. Sword") {
_root.rhanda = 7;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "T. Heavy Sword") {
_root.rhanda = 8;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "G. Spear") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "G. Pike") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Stave";
} else if (CSlot == "G. Axe") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "G. Mace") {
_root.rhanda = 10;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "G. Knife") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Dagger") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 2;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Blade") {
_root.rhanda = 3;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Big Knife") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "G. Scymetar") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Staff") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Spear") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Pike") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Axe") {
_root.rhanda = 12;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Hammer") {
_root.rhanda = 10;
_root.rhandd = 3;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Mace") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "H. Broad Sword") {
_root.rhanda = 8;
_root.rhandd = 2;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Rapier") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Scimitar") {
_root.rhanda = 6;
_root.rhandd = 2;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Staff") {
_root.rhanda = 4;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "D. Pike") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "D. Axe") {
_root.rhanda = 12;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "D. Hammer") {
_root.rhanda = 10;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "D. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "D. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "D. Long Sword") {
_root.rhanda = 7;
_root.rhandd = 2;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Short Sword") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Broad Sword") {
_root.rhanda = 8;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Slash";
} else if (CSlot == "E. Staff") {
_root.rhanda = 4;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "E. Spear") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "E. Hammer") {
_root.rhanda = 10;
_root.rhandd = 1;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "E. Mace") {
_root.rhanda = 10;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "E. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Dagger") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Long Sword") {
_root.rhanda = 8;
_root.rhandd = 1;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "E. Short Sword") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "Flaming Sword") {
_root.rhanda = 9;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "Magic Staff") {
_root.rhanda = 5;
_root.rhandd = 2;
_root.rhands = 3;
_root.Fireball = _root.Fireball + 1;
_root.Heal = _root.Heal + 1;
_root.Thunder = _root.Thunder + 1;
_root.Ice = _root.Ice + 1;
_root.MShield = _root.MShield + 1;
_root.WeaponType = "Stave";
} else if (CSlot == "Trident") {
_root.rhanda = 8;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Stave";
}
} else if ((_root.Slot5a == "S") && (_root.lhand == Empty)) {
_root.lhand = CSlot;
_root.Slot5 = Empty;
_root.Slot5a = 0;
if (CSlot == "T. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 2;
} else if (CSlot == "G. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 3;
} else if (CSlot == "G. Targe") {
_root.lhanda = 2;
_root.lhandd = 3;
_root.lhands = 2;
} else if (CSlot == "H. Shield") {
_root.lhanda = 0;
_root.lhandd = 5;
_root.lhands = 3;
} else if (CSlot == "H. Targe") {
_root.lhanda = 1;
_root.lhandd = 4;
_root.lhands = 3;
} else if (CSlot == "D. Shield") {
_root.lhanda = 0;
_root.lhandd = 5;
_root.lhands = 4;
} else if (CSlot == "E. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 4;
} else if (CSlot == "Main Gauche") {
_root.lhanda = 3;
_root.lhandd = 1;
_root.lhands = 3;
}
} else if ((_root.Slot5a == "H") && (_root.head == Empty)) {
_root.head = CSlot;
_root.Slot5 = empty;
_root.Slot5a = 0;
if (CSlot == "T. Cap") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "T. Helmet") {
_root.heada = 2;
_root.headd = 2;
} else if (CSlot == "T. Pointy Hat") {
_root.heada = 1;
_root.headd = 0;
} else if (CSlot == "G. Hood") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "G. Helmet") {
_root.heada = 1;
_root.headd = 3;
} else if (CSlot == "G. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "H. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "H. Helmet") {
_root.heada = 0;
_root.headd = 4;
} else if (CSlot == "H. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "D. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "D. Helmet") {
_root.heada = 0;
_root.headd = 5;
} else if (CSlot == "D. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "E. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "E. Helmet") {
_root.heada = 0;
_root.headd = 3;
} else if (CSlot == "E. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "Horned Helm") {
_root.heada = 3;
_root.headd = 3;
}
} else if ((_root.Slot5a == "B") && (_root.body == Empty)) {
_root.body = CSlot;
_root.Slot5 = empty;
_root.Slot5a = 0;
if (CSlot == "T. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "T. Copper") {
_root.bodya = 1;
_root.bodyd = 5;
} else if (CSlot == "T. Iron") {
_root.bodya = 2;
_root.bodyd = 5;
} else if (CSlot == "T. Robe") {
_root.bodya = 0;
_root.bodyd = 2;
} else if (CSlot == "G. Leather") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "G. Copper") {
_root.bodya = 1;
_root.bodyd = 4;
} else if (CSlot == "G. Iron") {
_root.bodya = 1;
_root.bodyd = 6;
} else if (CSlot == "G. Robe") {
_root.bodya = 0;
_root.bodyd = 2;
} else if (CSlot == "H. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "H. Bronze") {
_root.bodya = 0;
_root.bodyd = 6;
} else if (CSlot == "H. Iron") {
_root.bodya = 0;
_root.bodyd = 7;
} else if (CSlot == "H. Robe") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "D. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "D. Chainmail") {
_root.bodya = 0;
_root.bodyd = 6;
} else if (CSlot == "D. Iron") {
_root.bodya = 1;
_root.bodyd = 7;
} else if (CSlot == "D. Robe") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "E. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "E. Chainmail") {
_root.bodya = 0;
_root.bodyd = 5;
} else if (CSlot == "E. Iron") {
_root.bodya = 0;
_root.bodyd = 7;
} else if (CSlot == "E. Robe") {
_root.bodya = 0;
_root.bodyd = 4;
}
} else if ((_root.Slot5a == "F") && (_root.feet == Empty)) {
_root.feet = CSlot;
_root.Slot5 = empty;
_root.Slot5a = 0;
if (CSlot == "T. Sandals") {
_root.feeta = 1;
_root.feetd = 1;
} else if (CSlot == "T. Boots") {
_root.feeta = 1;
_root.feetd = 2;
} else if (CSlot == "G. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "G. Boots") {
_root.feeta = 2;
_root.feetd = 2;
} else if (CSlot == "H. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "H. Shoes") {
_root.feeta = 0;
_root.feetd = 2;
} else if (CSlot == "H. Boots") {
_root.feeta = 1;
_root.feetd = 3;
} else if (CSlot == "D. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "D. Shoes") {
_root.feeta = 0;
_root.feetd = 2;
} else if (CSlot == "D. Boots") {
_root.feeta = 0;
_root.feetd = 4;
} else if (CSlot == "E. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "E. Shoes") {
_root.feeta = 0;
_root.feetd = 3;
} else if (CSlot == "Steel Toe") {
_root.feeta = 2;
_root.feetd = 3;
}
} else if ((_root.Slot5a == "A") && (_root.amulet == Empty)) {
if (CSlot == "Pheonix Feather") {
_root.amulet = "Pheonix Feather";
} else if (CSlot == "Aura of Peace") {
_root.amulet = "Aura of Peace";
_root.Align = _root.Align + 20;
} else if (CSlot == "Aura of Chaos") {
_root.amulet = "Aura of Chaos";
_root.Align = _root.Align - 20;
} else if (CSlot == "Crystal Ball") {
_root.amulet = "Crystal Ball";
_root.Fireball = _root.Fireball + 1;
_root.Heal = _root.Heal + 1;
_root.Thunder = _root.Thunder + 1;
_root.Ice = _root.Ice + 1;
_root.MShield = _root.MShield + 1;
} else if (CSlot == "Eye of Surtur") {
_root.amulet = "Eye of Surtur";
_root.Fireball = _root.Fireball + 1;
} else if (CSlot == "Blue Cross") {
_root.amulet = "Blue Cross";
_root.Heal = _root.Heal + 1;
} else if (CSlot == "Thor's Hammer") {
_root.amulet = "Thor's Hammer";
_root.Thunder = _root.Thunder + 1;
} else if (CSlot == "Snowflake") {
_root.amulet = "Snowflake";
_root.Ice = _root.Ice + 1;
} else if (CSlot == "Bluegold") {
_root.amulet = "Bluegold";
_root.MShield = _root.MShield + 1;
} else if (CSlot == "Shadow Stone") {
_root.amulet = "Shadow Stone";
_root.Sneak = _root.Sneak + 3;
_root.Burgle = _root.Burgle + 3;
} else if (CSlot == "Silver Tongue") {
_root.amulet = "Silver Tongue";
_root.Backstab = _root.Backstab + 2;
} else if (CSlot == "Lion's Heart") {
_root.amulet = "Lion's Heart";
_root.twohit = _root.twohit + 3;
_root.Parry = _root.Parry + 3;
} else if (CSlot == "Star of Pain") {
_root.amulet = "Star of Pain";
_root.Berserk = _root.Berserk + 1;
} else if (CSlot == "Olive Branch") {
_root.amulet = "Olive Branch";
_root.Stave = _root.Stave + 10;
} else if (CSlot == "Bear's Paw") {
_root.amulet = "Bear's Paw";
_root.Maul = _root.Maul + 10;
} else if (CSlot == "Tusk") {
_root.amulet = "Tusk";
_root.Stab = _root.Stab + 10;
} else if (CSlot == "Tiger Claw") {
_root.amulet = "Tiger Claw";
_root.Slash = _root.Slash + 10;
} else if (CSlot == "Arrowhead") {
_root.amulet = "Arrowhead";
_root.Stave = _root.Stave + 5;
_root.Maul = _root.Maul + 5;
_root.Stab = _root.Stab + 5;
_root.Slash = _root.Slash + 5;
} else if (CSlot == "Turtle Shell") {
_root.amulet = "Turtle Shell";
_root.Block = _root.Block + 10;
} else if (CSlot == "Dumbbell") {
_root.amulet = "Dumbbell";
_root.Str = _root.Str + 1;
} else if (CSlot == "Roc Wing") {
_root.amulet = "Roc Wing";
_root.Speed = _root.Speed + 1;
} else if (CSlot == "Compass") {
_root.amulet = "Compass";
_root.RealAdventures = _root.RealAdventures + 10;
} else if (CSlot == "Toad Stool") {
_root.amulet = "Toad Stool";
_root.FullHP = _root.FullHP + 10;
} else if (CSlot == "Mana Crystal") {
_root.amulet = "Mana Crystal";
_root.FullMP = _root.FullMP + 10;
}
} else if (_root.Slot5a >= 1) {
if (CSlot == "Dragon's Tear") {
_root.MP = _root.MP + (0.2 * _root.FullMP);
_root.Slot5a = _root.Slot5a - 1;
if (_root.Slot5a <= 0) {
_root.Slot5 = Empty;
}
} else if (CSlot == "Gems") {
if (_root.FullMP > _root.MP) {
if (_root.FullMP > (_root.MP + 5)) {
_root.MP = _root.MP + 5;
_root.Slot5a = _root.Slot5a - 1;
} else {
_root.MP = _root.FullMP;
_root.Slot5a = _root.Slot5a - 1;
}
if (_root.Slot5a <= 0) {
_root.Slot5 = Empty;
}
}
} else if (CSlot == "Healing Potion") {
if (_root.FullHP > _root.HP) {
if (_root.FullHP > (_root.HP + 30)) {
_root.HP = _root.HP + 30;
_root.Slot5a = _root.Slot5a - 1;
} else {
_root.HP = _root.FullHP;
_root.Slot5a = _root.Slot5a - 1;
}
if (_root.Slot5a <= 0) {
_root.Slot5 = Empty;
}
}
} else if (CSlot == "Thunder Token") {
} else if (((((CSlot == "Rum") || (CSlot == "Vodka")) || (CSlot == "Whiskey")) || (CSlot == "Mead")) || (CSlot == "Wine")) {
} else if (CSlot == "Tent") {
} else if ((((CSlot == "Gold") || (CSlot == "Silver")) || (CSlot == "Bronze")) || (CSlot == "Copper")) {
} else if (CSlot == "Bandage") {
if (_root.FullHP > _root.HP) {
if (_root.FullHP > (_root.HP + 10)) {
_root.HP = _root.HP + 10;
_root.Slot5a = _root.Slot5a - 1;
} else {
_root.HP = _root.FullHP;
_root.Slot5a = _root.Slot5a - 1;
}
if (_root.Slot5a <= 0) {
_root.Slot5 = Empty;
}
}
} else if (CSlot == "Golden Apple") {
if (_root.FullHP == _root.HP) {
} else {
_root.HP = _root.FullHP;
_root.Slot5a = _root.Slot5a - 1;
}
if (_root.Slot5a <= 0) {
_root.Slot5 = Empty;
}
} else if (CSlot == "Matches") {
} else if (CSlot == "Sleeping Bag") {
} else if (CSlot == "Coffee") {
_root.Adventures = _root.Adventures + 5;
_root.Slot5a = _root.Slot5a - 1;
if (_root.Slot5a <= 0) {
_root.Slot5 = Empty;
}
} else if (((((CSlot == "Chicken") || (CSlot == "Mushrooms")) || (CSlot == "Bread")) || (CSlot == "Pork")) || (CSlot == "Beans")) {
} else if (CSlot == "Map") {
_root.mapback._visible = true;
_root.inventory._visible = false;
_root.storage._visible = false;
}
}
}
Symbol 360 Button
on (release) {
if ((_root.Slot6a == 0) || (_root.Slot6a == "00")) {
_root.Slot6a = Empty;
_root.Slot6 = Empty;
}
CSlot = _root.Slot6;
if (_root.Dump == "y") {
_root.DumpSlot = _root.Slot6;
_root.DumpslotA = _root.Slot6a;
_root.Slot6 = Empty;
_root.Slot6a = 0;
_root.Dump = "n";
} else if ((_root.Slot6a == "W") && (_root.rhand == Empty)) {
_root.rhand = CSlot;
_root.Slot6 = Empty;
_root.Slot6a = 0;
if (CSlot == "T. Spear") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "T. Pike") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "T. Axe") {
_root.rhanda = 13;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Hammer") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Club") {
_root.rhanda = 11;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 2;
_root.WeaponType = "Stab";
} else if (CSlot == "T. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "T. Sword") {
_root.rhanda = 7;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "T. Heavy Sword") {
_root.rhanda = 8;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "G. Spear") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "G. Pike") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Stave";
} else if (CSlot == "G. Axe") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "G. Mace") {
_root.rhanda = 10;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "G. Knife") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Dagger") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 2;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Blade") {
_root.rhanda = 3;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Big Knife") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "G. Scymetar") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Staff") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Spear") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Pike") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Axe") {
_root.rhanda = 12;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Hammer") {
_root.rhanda = 10;
_root.rhandd = 3;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Mace") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "H. Broad Sword") {
_root.rhanda = 8;
_root.rhandd = 2;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Rapier") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Scimitar") {
_root.rhanda = 6;
_root.rhandd = 2;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Staff") {
_root.rhanda = 4;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "D. Pike") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "D. Axe") {
_root.rhanda = 12;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "D. Hammer") {
_root.rhanda = 10;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "D. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "D. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "D. Long Sword") {
_root.rhanda = 7;
_root.rhandd = 2;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Short Sword") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Broad Sword") {
_root.rhanda = 8;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Slash";
} else if (CSlot == "E. Staff") {
_root.rhanda = 4;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "E. Spear") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "E. Hammer") {
_root.rhanda = 10;
_root.rhandd = 1;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "E. Mace") {
_root.rhanda = 10;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "E. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Dagger") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Long Sword") {
_root.rhanda = 8;
_root.rhandd = 1;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "E. Short Sword") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "Flaming Sword") {
_root.rhanda = 9;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "Magic Staff") {
_root.rhanda = 5;
_root.rhandd = 2;
_root.rhands = 3;
_root.Fireball = _root.Fireball + 1;
_root.Heal = _root.Heal + 1;
_root.Thunder = _root.Thunder + 1;
_root.Ice = _root.Ice + 1;
_root.MShield = _root.MShield + 1;
_root.WeaponType = "Stave";
} else if (CSlot == "Trident") {
_root.rhanda = 8;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Stave";
}
} else if ((_root.Slot6a == "S") && (_root.lhand == Empty)) {
_root.lhand = CSlot;
_root.Slot6 = Empty;
_root.Slot6a = 0;
if (CSlot == "T. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 2;
} else if (CSlot == "G. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 3;
} else if (CSlot == "G. Targe") {
_root.lhanda = 2;
_root.lhandd = 3;
_root.lhands = 2;
} else if (CSlot == "H. Shield") {
_root.lhanda = 0;
_root.lhandd = 5;
_root.lhands = 3;
} else if (CSlot == "H. Targe") {
_root.lhanda = 1;
_root.lhandd = 4;
_root.lhands = 3;
} else if (CSlot == "D. Shield") {
_root.lhanda = 0;
_root.lhandd = 5;
_root.lhands = 4;
} else if (CSlot == "E. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 4;
} else if (CSlot == "Main Gauche") {
_root.lhanda = 3;
_root.lhandd = 1;
_root.lhands = 3;
}
} else if ((_root.Slot6a == "H") && (_root.head == Empty)) {
_root.head = CSlot;
_root.Slot6 = empty;
_root.Slot6a = 0;
if (CSlot == "T. Cap") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "T. Helmet") {
_root.heada = 2;
_root.headd = 2;
} else if (CSlot == "T. Pointy Hat") {
_root.heada = 1;
_root.headd = 0;
} else if (CSlot == "G. Hood") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "G. Helmet") {
_root.heada = 1;
_root.headd = 3;
} else if (CSlot == "G. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "H. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "H. Helmet") {
_root.heada = 0;
_root.headd = 4;
} else if (CSlot == "H. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "D. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "D. Helmet") {
_root.heada = 0;
_root.headd = 5;
} else if (CSlot == "D. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "E. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "E. Helmet") {
_root.heada = 0;
_root.headd = 3;
} else if (CSlot == "E. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "Horned Helm") {
_root.heada = 3;
_root.headd = 3;
}
} else if ((_root.Slot6a == "B") && (_root.body == Empty)) {
_root.body = CSlot;
_root.Slot6 = empty;
_root.Slot6a = 0;
if (CSlot == "T. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "T. Copper") {
_root.bodya = 1;
_root.bodyd = 5;
} else if (CSlot == "T. Iron") {
_root.bodya = 2;
_root.bodyd = 5;
} else if (CSlot == "T. Robe") {
_root.bodya = 0;
_root.bodyd = 2;
} else if (CSlot == "G. Leather") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "G. Copper") {
_root.bodya = 1;
_root.bodyd = 4;
} else if (CSlot == "G. Iron") {
_root.bodya = 1;
_root.bodyd = 6;
} else if (CSlot == "G. Robe") {
_root.bodya = 0;
_root.bodyd = 2;
} else if (CSlot == "H. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "H. Bronze") {
_root.bodya = 0;
_root.bodyd = 6;
} else if (CSlot == "H. Iron") {
_root.bodya = 0;
_root.bodyd = 7;
} else if (CSlot == "H. Robe") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "D. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "D. Chainmail") {
_root.bodya = 0;
_root.bodyd = 6;
} else if (CSlot == "D. Iron") {
_root.bodya = 1;
_root.bodyd = 7;
} else if (CSlot == "D. Robe") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "E. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "E. Chainmail") {
_root.bodya = 0;
_root.bodyd = 5;
} else if (CSlot == "E. Iron") {
_root.bodya = 0;
_root.bodyd = 7;
} else if (CSlot == "E. Robe") {
_root.bodya = 0;
_root.bodyd = 4;
}
} else if ((_root.Slot6a == "F") && (_root.feet == Empty)) {
_root.feet = CSlot;
_root.Slot6 = empty;
_root.Slot6a = 0;
if (CSlot == "T. Sandals") {
_root.feeta = 1;
_root.feetd = 1;
} else if (CSlot == "T. Boots") {
_root.feeta = 1;
_root.feetd = 2;
} else if (CSlot == "G. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "G. Boots") {
_root.feeta = 2;
_root.feetd = 2;
} else if (CSlot == "H. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "H. Shoes") {
_root.feeta = 0;
_root.feetd = 2;
} else if (CSlot == "H. Boots") {
_root.feeta = 1;
_root.feetd = 3;
} else if (CSlot == "D. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "D. Shoes") {
_root.feeta = 0;
_root.feetd = 2;
} else if (CSlot == "D. Boots") {
_root.feeta = 0;
_root.feetd = 4;
} else if (CSlot == "E. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "E. Shoes") {
_root.feeta = 0;
_root.feetd = 3;
} else if (CSlot == "Steel Toe") {
_root.feeta = 2;
_root.feetd = 3;
}
} else if ((_root.Slot6a == "A") && (_root.amulet == Empty)) {
if (CSlot == "Pheonix Feather") {
_root.amulet = "Pheonix Feather";
} else if (CSlot == "Aura of Peace") {
_root.amulet = "Aura of Peace";
_root.Align = _root.Align + 20;
} else if (CSlot == "Aura of Chaos") {
_root.amulet = "Aura of Chaos";
_root.Align = _root.Align - 20;
} else if (CSlot == "Crystal Ball") {
_root.amulet = "Crystal Ball";
_root.Fireball = _root.Fireball + 1;
_root.Heal = _root.Heal + 1;
_root.Thunder = _root.Thunder + 1;
_root.Ice = _root.Ice + 1;
_root.MShield = _root.MShield + 1;
} else if (CSlot == "Eye of Surtur") {
_root.amulet = "Eye of Surtur";
_root.Fireball = _root.Fireball + 1;
} else if (CSlot == "Blue Cross") {
_root.amulet = "Blue Cross";
_root.Heal = _root.Heal + 1;
} else if (CSlot == "Thor's Hammer") {
_root.amulet = "Thor's Hammer";
_root.Thunder = _root.Thunder + 1;
} else if (CSlot == "Snowflake") {
_root.amulet = "Snowflake";
_root.Ice = _root.Ice + 1;
} else if (CSlot == "Bluegold") {
_root.amulet = "Bluegold";
_root.MShield = _root.MShield + 1;
} else if (CSlot == "Shadow Stone") {
_root.amulet = "Shadow Stone";
_root.Sneak = _root.Sneak + 3;
_root.Burgle = _root.Burgle + 3;
} else if (CSlot == "Silver Tongue") {
_root.amulet = "Silver Tongue";
_root.Backstab = _root.Backstab + 2;
} else if (CSlot == "Lion's Heart") {
_root.amulet = "Lion's Heart";
_root.twohit = _root.twohit + 3;
_root.Parry = _root.Parry + 3;
} else if (CSlot == "Star of Pain") {
_root.amulet = "Star of Pain";
_root.Berserk = _root.Berserk + 1;
} else if (CSlot == "Olive Branch") {
_root.amulet = "Olive Branch";
_root.Stave = _root.Stave + 10;
} else if (CSlot == "Bear's Paw") {
_root.amulet = "Bear's Paw";
_root.Maul = _root.Maul + 10;
} else if (CSlot == "Tusk") {
_root.amulet = "Tusk";
_root.Stab = _root.Stab + 10;
} else if (CSlot == "Tiger Claw") {
_root.amulet = "Tiger Claw";
_root.Slash = _root.Slash + 10;
} else if (CSlot == "Arrowhead") {
_root.amulet = "Arrowhead";
_root.Stave = _root.Stave + 5;
_root.Maul = _root.Maul + 5;
_root.Stab = _root.Stab + 5;
_root.Slash = _root.Slash + 5;
} else if (CSlot == "Turtle Shell") {
_root.amulet = "Turtle Shell";
_root.Block = _root.Block + 10;
} else if (CSlot == "Dumbbell") {
_root.amulet = "Dumbbell";
_root.Str = _root.Str + 1;
} else if (CSlot == "Roc Wing") {
_root.amulet = "Roc Wing";
_root.Speed = _root.Speed + 1;
} else if (CSlot == "Compass") {
_root.amulet = "Compass";
_root.RealAdventures = _root.RealAdventures + 10;
} else if (CSlot == "Toad Stool") {
_root.amulet = "Toad Stool";
_root.FullHP = _root.FullHP + 10;
} else if (CSlot == "Mana Crystal") {
_root.amulet = "Mana Crystal";
_root.FullMP = _root.FullMP + 10;
}
} else if (_root.Slot6a >= 1) {
if (CSlot == "Dragon's Tear") {
_root.MP = _root.MP + (0.2 * _root.FullMP);
_root.Slot6a = _root.Slot6a - 1;
if (_root.Slot6a <= 0) {
_root.Slot6 = Empty;
}
} else if (CSlot == "Gems") {
if (_root.FullMP > _root.MP) {
if (_root.FullMP > (_root.MP + 5)) {
_root.MP = _root.MP + 5;
_root.Slot6a = _root.Slot6a - 1;
} else {
_root.MP = _root.FullMP;
_root.Slot6a = _root.Slot6a - 1;
}
if (_root.Slot6a <= 0) {
_root.Slot6 = Empty;
}
}
} else if (CSlot == "Healing Potion") {
if (_root.FullHP > _root.HP) {
if (_root.FullHP > (_root.HP + 30)) {
_root.HP = _root.HP + 30;
_root.Slot6a = _root.Slot6a - 1;
} else {
_root.HP = _root.FullHP;
_root.Slot6a = _root.Slot6a - 1;
}
if (_root.Slot6a <= 0) {
_root.Slot6 = Empty;
}
}
} else if (CSlot == "Thunder Token") {
} else if (((((CSlot == "Rum") || (CSlot == "Vodka")) || (CSlot == "Whiskey")) || (CSlot == "Mead")) || (CSlot == "Wine")) {
} else if (CSlot == "Tent") {
} else if ((((CSlot == "Gold") || (CSlot == "Silver")) || (CSlot == "Bronze")) || (CSlot == "Copper")) {
} else if (CSlot == "Bandage") {
if (_root.FullHP > _root.HP) {
if (_root.FullHP > (_root.HP + 10)) {
_root.HP = _root.HP + 10;
_root.Slot6a = _root.Slot6a - 1;
} else {
_root.HP = _root.FullHP;
_root.Slot6a = _root.Slot6a - 1;
}
if (_root.Slot6a <= 0) {
_root.Slot6 = Empty;
}
}
} else if (CSlot == "Golden Apple") {
if (_root.FullHP == _root.HP) {
} else {
_root.HP = _root.FullHP;
_root.Slot6a = _root.Slot6a - 1;
}
if (_root.Slot6a <= 0) {
_root.Slot6 = Empty;
}
} else if (CSlot == "Matches") {
} else if (CSlot == "Sleeping Bag") {
} else if (CSlot == "Coffee") {
_root.Adventures = _root.Adventures + 5;
_root.Slot6a = _root.Slot6a - 1;
if (_root.Slot6a <= 0) {
_root.Slot6 = Empty;
}
} else if (((((CSlot == "Chicken") || (CSlot == "Mushrooms")) || (CSlot == "Bread")) || (CSlot == "Pork")) || (CSlot == "Beans")) {
} else if (CSlot == "Map") {
_root.mapback._visible = true;
_root.inventory._visible = false;
_root.storage._visible = false;
}
}
}
Symbol 363 Button
on (release) {
if ((_root.Slot7a == 0) || (_root.Slot7a == "00")) {
_root.Slot7a = Empty;
_root.Slot7 = Empty;
}
CSlot = _root.Slot7;
if (_root.Dump == "y") {
_root.DumpSlot = _root.Slot7;
_root.DumpslotA = _root.Slot7a;
_root.Slot7 = Empty;
_root.Slot7a = 0;
_root.Dump = "n";
} else if ((_root.Slot7a == "W") && (_root.rhand == Empty)) {
_root.rhand = CSlot;
_root.Slot7 = Empty;
_root.Slot7a = 0;
if (CSlot == "T. Spear") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "T. Pike") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "T. Axe") {
_root.rhanda = 13;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Hammer") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Club") {
_root.rhanda = 11;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 2;
_root.WeaponType = "Stab";
} else if (CSlot == "T. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "T. Sword") {
_root.rhanda = 7;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "T. Heavy Sword") {
_root.rhanda = 8;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "G. Spear") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "G. Pike") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Stave";
} else if (CSlot == "G. Axe") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "G. Mace") {
_root.rhanda = 10;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "G. Knife") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Dagger") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 2;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Blade") {
_root.rhanda = 3;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Big Knife") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "G. Scymetar") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Staff") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Spear") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Pike") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Axe") {
_root.rhanda = 12;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Hammer") {
_root.rhanda = 10;
_root.rhandd = 3;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Mace") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "H. Broad Sword") {
_root.rhanda = 8;
_root.rhandd = 2;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Rapier") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Scimitar") {
_root.rhanda = 6;
_root.rhandd = 2;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Staff") {
_root.rhanda = 4;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "D. Pike") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "D. Axe") {
_root.rhanda = 12;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "D. Hammer") {
_root.rhanda = 10;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "D. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "D. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "D. Long Sword") {
_root.rhanda = 7;
_root.rhandd = 2;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Short Sword") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Broad Sword") {
_root.rhanda = 8;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Slash";
} else if (CSlot == "E. Staff") {
_root.rhanda = 4;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "E. Spear") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "E. Hammer") {
_root.rhanda = 10;
_root.rhandd = 1;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "E. Mace") {
_root.rhanda = 10;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "E. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Dagger") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Long Sword") {
_root.rhanda = 8;
_root.rhandd = 1;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "E. Short Sword") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "Flaming Sword") {
_root.rhanda = 9;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "Magic Staff") {
_root.rhanda = 5;
_root.rhandd = 2;
_root.rhands = 3;
_root.Fireball = _root.Fireball + 1;
_root.Heal = _root.Heal + 1;
_root.Thunder = _root.Thunder + 1;
_root.Ice = _root.Ice + 1;
_root.MShield = _root.MShield + 1;
_root.WeaponType = "Stave";
} else if (CSlot == "Trident") {
_root.rhanda = 8;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Stave";
}
} else if ((_root.Slot7a == "S") && (_root.lhand == Empty)) {
_root.lhand = CSlot;
_root.Slot7 = Empty;
_root.Slot7a = 0;
if (CSlot == "T. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 2;
} else if (CSlot == "G. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 3;
} else if (CSlot == "G. Targe") {
_root.lhanda = 2;
_root.lhandd = 3;
_root.lhands = 2;
} else if (CSlot == "H. Shield") {
_root.lhanda = 0;
_root.lhandd = 5;
_root.lhands = 3;
} else if (CSlot == "H. Targe") {
_root.lhanda = 1;
_root.lhandd = 4;
_root.lhands = 3;
} else if (CSlot == "D. Shield") {
_root.lhanda = 0;
_root.lhandd = 5;
_root.lhands = 4;
} else if (CSlot == "E. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 4;
} else if (CSlot == "Main Gauche") {
_root.lhanda = 3;
_root.lhandd = 1;
_root.lhands = 3;
}
} else if ((_root.Slot7a == "H") && (_root.head == Empty)) {
_root.head = CSlot;
_root.Slot7 = empty;
_root.Slot7a = 0;
if (CSlot == "T. Cap") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "T. Helmet") {
_root.heada = 2;
_root.headd = 2;
} else if (CSlot == "T. Pointy Hat") {
_root.heada = 1;
_root.headd = 0;
} else if (CSlot == "G. Hood") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "G. Helmet") {
_root.heada = 1;
_root.headd = 3;
} else if (CSlot == "G. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "H. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "H. Helmet") {
_root.heada = 0;
_root.headd = 4;
} else if (CSlot == "H. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "D. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "D. Helmet") {
_root.heada = 0;
_root.headd = 5;
} else if (CSlot == "D. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "E. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "E. Helmet") {
_root.heada = 0;
_root.headd = 3;
} else if (CSlot == "E. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "Horned Helm") {
_root.heada = 3;
_root.headd = 3;
}
} else if ((_root.Slot7a == "B") && (_root.body == Empty)) {
_root.body = CSlot;
_root.Slot7 = empty;
_root.Slot7a = 0;
if (CSlot == "T. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "T. Copper") {
_root.bodya = 1;
_root.bodyd = 5;
} else if (CSlot == "T. Iron") {
_root.bodya = 2;
_root.bodyd = 5;
} else if (CSlot == "T. Robe") {
_root.bodya = 0;
_root.bodyd = 2;
} else if (CSlot == "G. Leather") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "G. Copper") {
_root.bodya = 1;
_root.bodyd = 4;
} else if (CSlot == "G. Iron") {
_root.bodya = 1;
_root.bodyd = 6;
} else if (CSlot == "G. Robe") {
_root.bodya = 0;
_root.bodyd = 2;
} else if (CSlot == "H. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "H. Bronze") {
_root.bodya = 0;
_root.bodyd = 6;
} else if (CSlot == "H. Iron") {
_root.bodya = 0;
_root.bodyd = 7;
} else if (CSlot == "H. Robe") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "D. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "D. Chainmail") {
_root.bodya = 0;
_root.bodyd = 6;
} else if (CSlot == "D. Iron") {
_root.bodya = 1;
_root.bodyd = 7;
} else if (CSlot == "D. Robe") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "E. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "E. Chainmail") {
_root.bodya = 0;
_root.bodyd = 5;
} else if (CSlot == "E. Iron") {
_root.bodya = 0;
_root.bodyd = 7;
} else if (CSlot == "E. Robe") {
_root.bodya = 0;
_root.bodyd = 4;
}
} else if ((_root.Slot7a == "F") && (_root.feet == Empty)) {
_root.feet = CSlot;
_root.Slot7 = empty;
_root.Slot7a = 0;
if (CSlot == "T. Sandals") {
_root.feeta = 1;
_root.feetd = 1;
} else if (CSlot == "T. Boots") {
_root.feeta = 1;
_root.feetd = 2;
} else if (CSlot == "G. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "G. Boots") {
_root.feeta = 2;
_root.feetd = 2;
} else if (CSlot == "H. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "H. Shoes") {
_root.feeta = 0;
_root.feetd = 2;
} else if (CSlot == "H. Boots") {
_root.feeta = 1;
_root.feetd = 3;
} else if (CSlot == "D. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "D. Shoes") {
_root.feeta = 0;
_root.feetd = 2;
} else if (CSlot == "D. Boots") {
_root.feeta = 0;
_root.feetd = 4;
} else if (CSlot == "E. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "E. Shoes") {
_root.feeta = 0;
_root.feetd = 3;
} else if (CSlot == "Steel Toe") {
_root.feeta = 2;
_root.feetd = 3;
}
} else if ((_root.Slot7a == "A") && (_root.amulet == Empty)) {
if (CSlot == "Pheonix Feather") {
_root.amulet = "Pheonix Feather";
} else if (CSlot == "Aura of Peace") {
_root.amulet = "Aura of Peace";
_root.Align = _root.Align + 20;
} else if (CSlot == "Aura of Chaos") {
_root.amulet = "Aura of Chaos";
_root.Align = _root.Align - 20;
} else if (CSlot == "Crystal Ball") {
_root.amulet = "Crystal Ball";
_root.Fireball = _root.Fireball + 1;
_root.Heal = _root.Heal + 1;
_root.Thunder = _root.Thunder + 1;
_root.Ice = _root.Ice + 1;
_root.MShield = _root.MShield + 1;
} else if (CSlot == "Eye of Surtur") {
_root.amulet = "Eye of Surtur";
_root.Fireball = _root.Fireball + 1;
} else if (CSlot == "Blue Cross") {
_root.amulet = "Blue Cross";
_root.Heal = _root.Heal + 1;
} else if (CSlot == "Thor's Hammer") {
_root.amulet = "Thor's Hammer";
_root.Thunder = _root.Thunder + 1;
} else if (CSlot == "Snowflake") {
_root.amulet = "Snowflake";
_root.Ice = _root.Ice + 1;
} else if (CSlot == "Bluegold") {
_root.amulet = "Bluegold";
_root.MShield = _root.MShield + 1;
} else if (CSlot == "Shadow Stone") {
_root.amulet = "Shadow Stone";
_root.Sneak = _root.Sneak + 3;
_root.Burgle = _root.Burgle + 3;
} else if (CSlot == "Silver Tongue") {
_root.amulet = "Silver Tongue";
_root.Backstab = _root.Backstab + 2;
} else if (CSlot == "Lion's Heart") {
_root.amulet = "Lion's Heart";
_root.twohit = _root.twohit + 3;
_root.Parry = _root.Parry + 3;
} else if (CSlot == "Star of Pain") {
_root.amulet = "Star of Pain";
_root.Berserk = _root.Berserk + 1;
} else if (CSlot == "Olive Branch") {
_root.amulet = "Olive Branch";
_root.Stave = _root.Stave + 10;
} else if (CSlot == "Bear's Paw") {
_root.amulet = "Bear's Paw";
_root.Maul = _root.Maul + 10;
} else if (CSlot == "Tusk") {
_root.amulet = "Tusk";
_root.Stab = _root.Stab + 10;
} else if (CSlot == "Tiger Claw") {
_root.amulet = "Tiger Claw";
_root.Slash = _root.Slash + 10;
} else if (CSlot == "Arrowhead") {
_root.amulet = "Arrowhead";
_root.Stave = _root.Stave + 5;
_root.Maul = _root.Maul + 5;
_root.Stab = _root.Stab + 5;
_root.Slash = _root.Slash + 5;
} else if (CSlot == "Turtle Shell") {
_root.amulet = "Turtle Shell";
_root.Block = _root.Block + 10;
} else if (CSlot == "Dumbbell") {
_root.amulet = "Dumbbell";
_root.Str = _root.Str + 1;
} else if (CSlot == "Roc Wing") {
_root.amulet = "Roc Wing";
_root.Speed = _root.Speed + 1;
} else if (CSlot == "Compass") {
_root.amulet = "Compass";
_root.RealAdventures = _root.RealAdventures + 10;
} else if (CSlot == "Toad Stool") {
_root.amulet = "Toad Stool";
_root.FullHP = _root.FullHP + 10;
} else if (CSlot == "Mana Crystal") {
_root.amulet = "Mana Crystal";
_root.FullMP = _root.FullMP + 10;
}
} else if (_root.Slot7a >= 1) {
if (CSlot == "Dragon's Tear") {
_root.MP = _root.MP + (0.2 * _root.FullMP);
_root.Slot7a = _root.Slot7a - 1;
if (_root.Slot7a <= 0) {
_root.Slot7 = Empty;
}
} else if (CSlot == "Gems") {
if (_root.FullMP > _root.MP) {
if (_root.FullMP > (_root.MP + 5)) {
_root.MP = _root.MP + 5;
_root.Slot7a = _root.Slot7a - 1;
} else {
_root.MP = _root.FullMP;
_root.Slot7a = _root.Slot7a - 1;
}
if (_root.Slot7a <= 0) {
_root.Slot7 = Empty;
}
}
} else if (CSlot == "Healing Potion") {
if (_root.FullHP > _root.HP) {
if (_root.FullHP > (_root.HP + 30)) {
_root.HP = _root.HP + 30;
_root.Slot7a = _root.Slot7a - 1;
} else {
_root.HP = _root.FullHP;
_root.Slot7a = _root.Slot7a - 1;
}
if (_root.Slot7a <= 0) {
_root.Slot7 = Empty;
}
}
} else if (CSlot == "Thunder Token") {
} else if (((((CSlot == "Rum") || (CSlot == "Vodka")) || (CSlot == "Whiskey")) || (CSlot == "Mead")) || (CSlot == "Wine")) {
} else if (CSlot == "Tent") {
} else if ((((CSlot == "Gold") || (CSlot == "Silver")) || (CSlot == "Bronze")) || (CSlot == "Copper")) {
} else if (CSlot == "Bandage") {
if (_root.FullHP > _root.HP) {
if (_root.FullHP > (_root.HP + 10)) {
_root.HP = _root.HP + 10;
_root.Slot7a = _root.Slot7a - 1;
} else {
_root.HP = _root.FullHP;
_root.Slot7a = _root.Slot7a - 1;
}
if (_root.Slot7a <= 0) {
_root.Slot7 = Empty;
}
}
} else if (CSlot == "Golden Apple") {
if (_root.FullHP == _root.HP) {
} else {
_root.HP = _root.FullHP;
_root.Slot7a = _root.Slot7a - 1;
}
if (_root.Slot7a <= 0) {
_root.Slot7 = Empty;
}
} else if (CSlot == "Matches") {
} else if (CSlot == "Sleeping Bag") {
} else if (CSlot == "Coffee") {
_root.Adventures = _root.Adventures + 5;
_root.Slot7a = _root.Slot7a - 1;
if (_root.Slot7a <= 0) {
_root.Slot7 = Empty;
}
} else if (((((CSlot == "Chicken") || (CSlot == "Mushrooms")) || (CSlot == "Bread")) || (CSlot == "Pork")) || (CSlot == "Beans")) {
} else if (CSlot == "Map") {
_root.mapback._visible = true;
_root.inventory._visible = false;
_root.storage._visible = false;
}
}
}
Symbol 366 Button
on (release) {
if ((_root.Slot8a == 0) || (_root.Slot8a == "00")) {
_root.Slot8a = Empty;
_root.Slot8 = Empty;
}
CSlot = _root.Slot8;
if (_root.Dump == "y") {
_root.DumpSlot = _root.Slot8;
_root.DumpslotA = _root.Slot8a;
_root.Slot8 = Empty;
_root.Slot8a = 0;
_root.Dump = "n";
} else if ((_root.Slot8a == "W") && (_root.rhand == Empty)) {
_root.rhand = CSlot;
_root.Slot8 = Empty;
_root.Slot8a = 0;
if (CSlot == "T. Spear") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "T. Pike") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "T. Axe") {
_root.rhanda = 13;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Hammer") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Club") {
_root.rhanda = 11;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 2;
_root.WeaponType = "Stab";
} else if (CSlot == "T. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "T. Sword") {
_root.rhanda = 7;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "T. Heavy Sword") {
_root.rhanda = 8;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "G. Spear") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "G. Pike") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Stave";
} else if (CSlot == "G. Axe") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "G. Mace") {
_root.rhanda = 10;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "G. Knife") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Dagger") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 2;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Blade") {
_root.rhanda = 3;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Big Knife") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "G. Scymetar") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Staff") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Spear") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Pike") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Axe") {
_root.rhanda = 12;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Hammer") {
_root.rhanda = 10;
_root.rhandd = 3;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Mace") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "H. Broad Sword") {
_root.rhanda = 8;
_root.rhandd = 2;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Rapier") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Scimitar") {
_root.rhanda = 6;
_root.rhandd = 2;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Staff") {
_root.rhanda = 4;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "D. Pike") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "D. Axe") {
_root.rhanda = 12;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "D. Hammer") {
_root.rhanda = 10;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "D. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "D. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "D. Long Sword") {
_root.rhanda = 7;
_root.rhandd = 2;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Short Sword") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Broad Sword") {
_root.rhanda = 8;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Slash";
} else if (CSlot == "E. Staff") {
_root.rhanda = 4;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "E. Spear") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "E. Hammer") {
_root.rhanda = 10;
_root.rhandd = 1;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "E. Mace") {
_root.rhanda = 10;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "E. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Dagger") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Long Sword") {
_root.rhanda = 8;
_root.rhandd = 1;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "E. Short Sword") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "Flaming Sword") {
_root.rhanda = 9;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "Magic Staff") {
_root.rhanda = 5;
_root.rhandd = 2;
_root.rhands = 3;
_root.Fireball = _root.Fireball + 1;
_root.Heal = _root.Heal + 1;
_root.Thunder = _root.Thunder + 1;
_root.Ice = _root.Ice + 1;
_root.MShield = _root.MShield + 1;
_root.WeaponType = "Stave";
} else if (CSlot == "Trident") {
_root.rhanda = 8;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Stave";
}
} else if ((_root.Slot8a == "S") && (_root.lhand == Empty)) {
_root.lhand = CSlot;
_root.Slot8 = Empty;
_root.Slot8a = 0;
if (CSlot == "T. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 2;
} else if (CSlot == "G. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 3;
} else if (CSlot == "G. Targe") {
_root.lhanda = 2;
_root.lhandd = 3;
_root.lhands = 2;
} else if (CSlot == "H. Shield") {
_root.lhanda = 0;
_root.lhandd = 5;
_root.lhands = 3;
} else if (CSlot == "H. Targe") {
_root.lhanda = 1;
_root.lhandd = 4;
_root.lhands = 3;
} else if (CSlot == "D. Shield") {
_root.lhanda = 0;
_root.lhandd = 5;
_root.lhands = 4;
} else if (CSlot == "E. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 4;
} else if (CSlot == "Main Gauche") {
_root.lhanda = 3;
_root.lhandd = 1;
_root.lhands = 3;
}
} else if ((_root.Slot8a == "H") && (_root.head == Empty)) {
_root.head = CSlot;
_root.Slot8 = empty;
_root.Slot8a = 0;
if (CSlot == "T. Cap") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "T. Helmet") {
_root.heada = 2;
_root.headd = 2;
} else if (CSlot == "T. Pointy Hat") {
_root.heada = 1;
_root.headd = 0;
} else if (CSlot == "G. Hood") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "G. Helmet") {
_root.heada = 1;
_root.headd = 3;
} else if (CSlot == "G. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "H. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "H. Helmet") {
_root.heada = 0;
_root.headd = 4;
} else if (CSlot == "H. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "D. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "D. Helmet") {
_root.heada = 0;
_root.headd = 5;
} else if (CSlot == "D. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "E. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "E. Helmet") {
_root.heada = 0;
_root.headd = 3;
} else if (CSlot == "E. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "Horned Helm") {
_root.heada = 3;
_root.headd = 3;
}
} else if ((_root.Slot8a == "B") && (_root.body == Empty)) {
_root.body = CSlot;
_root.Slot8 = empty;
_root.Slot8a = 0;
if (CSlot == "T. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "T. Copper") {
_root.bodya = 1;
_root.bodyd = 5;
} else if (CSlot == "T. Iron") {
_root.bodya = 2;
_root.bodyd = 5;
} else if (CSlot == "T. Robe") {
_root.bodya = 0;
_root.bodyd = 2;
} else if (CSlot == "G. Leather") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "G. Copper") {
_root.bodya = 1;
_root.bodyd = 4;
} else if (CSlot == "G. Iron") {
_root.bodya = 1;
_root.bodyd = 6;
} else if (CSlot == "G. Robe") {
_root.bodya = 0;
_root.bodyd = 2;
} else if (CSlot == "H. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "H. Bronze") {
_root.bodya = 0;
_root.bodyd = 6;
} else if (CSlot == "H. Iron") {
_root.bodya = 0;
_root.bodyd = 7;
} else if (CSlot == "H. Robe") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "D. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "D. Chainmail") {
_root.bodya = 0;
_root.bodyd = 6;
} else if (CSlot == "D. Iron") {
_root.bodya = 1;
_root.bodyd = 7;
} else if (CSlot == "D. Robe") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "E. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "E. Chainmail") {
_root.bodya = 0;
_root.bodyd = 5;
} else if (CSlot == "E. Iron") {
_root.bodya = 0;
_root.bodyd = 7;
} else if (CSlot == "E. Robe") {
_root.bodya = 0;
_root.bodyd = 4;
}
} else if ((_root.Slot8a == "F") && (_root.feet == Empty)) {
_root.feet = CSlot;
_root.Slot8 = empty;
_root.Slot8a = 0;
if (CSlot == "T. Sandals") {
_root.feeta = 1;
_root.feetd = 1;
} else if (CSlot == "T. Boots") {
_root.feeta = 1;
_root.feetd = 2;
} else if (CSlot == "G. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "G. Boots") {
_root.feeta = 2;
_root.feetd = 2;
} else if (CSlot == "H. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "H. Shoes") {
_root.feeta = 0;
_root.feetd = 2;
} else if (CSlot == "H. Boots") {
_root.feeta = 1;
_root.feetd = 3;
} else if (CSlot == "D. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "D. Shoes") {
_root.feeta = 0;
_root.feetd = 2;
} else if (CSlot == "D. Boots") {
_root.feeta = 0;
_root.feetd = 4;
} else if (CSlot == "E. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "E. Shoes") {
_root.feeta = 0;
_root.feetd = 3;
} else if (CSlot == "Steel Toe") {
_root.feeta = 2;
_root.feetd = 3;
}
} else if ((_root.Slot8a == "A") && (_root.amulet == Empty)) {
if (CSlot == "Pheonix Feather") {
_root.amulet = "Pheonix Feather";
} else if (CSlot == "Aura of Peace") {
_root.amulet = "Aura of Peace";
_root.Align = _root.Align + 20;
} else if (CSlot == "Aura of Chaos") {
_root.amulet = "Aura of Chaos";
_root.Align = _root.Align - 20;
} else if (CSlot == "Crystal Ball") {
_root.amulet = "Crystal Ball";
_root.Fireball = _root.Fireball + 1;
_root.Heal = _root.Heal + 1;
_root.Thunder = _root.Thunder + 1;
_root.Ice = _root.Ice + 1;
_root.MShield = _root.MShield + 1;
} else if (CSlot == "Eye of Surtur") {
_root.amulet = "Eye of Surtur";
_root.Fireball = _root.Fireball + 1;
} else if (CSlot == "Blue Cross") {
_root.amulet = "Blue Cross";
_root.Heal = _root.Heal + 1;
} else if (CSlot == "Thor's Hammer") {
_root.amulet = "Thor's Hammer";
_root.Thunder = _root.Thunder + 1;
} else if (CSlot == "Snowflake") {
_root.amulet = "Snowflake";
_root.Ice = _root.Ice + 1;
} else if (CSlot == "Bluegold") {
_root.amulet = "Bluegold";
_root.MShield = _root.MShield + 1;
} else if (CSlot == "Shadow Stone") {
_root.amulet = "Shadow Stone";
_root.Sneak = _root.Sneak + 3;
_root.Burgle = _root.Burgle + 3;
} else if (CSlot == "Silver Tongue") {
_root.amulet = "Silver Tongue";
_root.Backstab = _root.Backstab + 2;
} else if (CSlot == "Lion's Heart") {
_root.amulet = "Lion's Heart";
_root.twohit = _root.twohit + 3;
_root.Parry = _root.Parry + 3;
} else if (CSlot == "Star of Pain") {
_root.amulet = "Star of Pain";
_root.Berserk = _root.Berserk + 1;
} else if (CSlot == "Olive Branch") {
_root.amulet = "Olive Branch";
_root.Stave = _root.Stave + 10;
} else if (CSlot == "Bear's Paw") {
_root.amulet = "Bear's Paw";
_root.Maul = _root.Maul + 10;
} else if (CSlot == "Tusk") {
_root.amulet = "Tusk";
_root.Stab = _root.Stab + 10;
} else if (CSlot == "Tiger Claw") {
_root.amulet = "Tiger Claw";
_root.Slash = _root.Slash + 10;
} else if (CSlot == "Arrowhead") {
_root.amulet = "Arrowhead";
_root.Stave = _root.Stave + 5;
_root.Maul = _root.Maul + 5;
_root.Stab = _root.Stab + 5;
_root.Slash = _root.Slash + 5;
} else if (CSlot == "Turtle Shell") {
_root.amulet = "Turtle Shell";
_root.Block = _root.Block + 10;
} else if (CSlot == "Dumbbell") {
_root.amulet = "Dumbbell";
_root.Str = _root.Str + 1;
} else if (CSlot == "Roc Wing") {
_root.amulet = "Roc Wing";
_root.Speed = _root.Speed + 1;
} else if (CSlot == "Compass") {
_root.amulet = "Compass";
_root.RealAdventures = _root.RealAdventures + 10;
} else if (CSlot == "Toad Stool") {
_root.amulet = "Toad Stool";
_root.FullHP = _root.FullHP + 10;
} else if (CSlot == "Mana Crystal") {
_root.amulet = "Mana Crystal";
_root.FullMP = _root.FullMP + 10;
}
} else if (_root.Slot8a >= 1) {
if (CSlot == "Dragon's Tear") {
_root.MP = _root.MP + (0.2 * _root.FullMP);
_root.Slot8a = _root.Slot8a - 1;
if (_root.Slot8a <= 0) {
_root.Slot8 = Empty;
}
} else if (CSlot == "Gems") {
if (_root.FullMP > _root.MP) {
if (_root.FullMP > (_root.MP + 5)) {
_root.MP = _root.MP + 5;
_root.Slot8a = _root.Slot8a - 1;
} else {
_root.MP = _root.FullMP;
_root.Slot8a = _root.Slot8a - 1;
}
if (_root.Slot8a <= 0) {
_root.Slot8 = Empty;
}
}
} else if (CSlot == "Healing Potion") {
if (_root.FullHP > _root.HP) {
if (_root.FullHP > (_root.HP + 30)) {
_root.HP = _root.HP + 30;
_root.Slot8a = _root.Slot8a - 1;
} else {
_root.HP = _root.FullHP;
_root.Slot8a = _root.Slot8a - 1;
}
if (_root.Slot8a <= 0) {
_root.Slot8 = Empty;
}
}
} else if (CSlot == "Thunder Token") {
} else if (((((CSlot == "Rum") || (CSlot == "Vodka")) || (CSlot == "Whiskey")) || (CSlot == "Mead")) || (CSlot == "Wine")) {
} else if (CSlot == "Tent") {
} else if ((((CSlot == "Gold") || (CSlot == "Silver")) || (CSlot == "Bronze")) || (CSlot == "Copper")) {
} else if (CSlot == "Bandage") {
if (_root.FullHP > _root.HP) {
if (_root.FullHP > (_root.HP + 10)) {
_root.HP = _root.HP + 10;
_root.Slot8a = _root.Slot8a - 1;
} else {
_root.HP = _root.FullHP;
_root.Slot8a = _root.Slot8a - 1;
}
if (_root.Slot8a <= 0) {
_root.Slot8 = Empty;
}
}
} else if (CSlot == "Golden Apple") {
if (_root.FullHP == _root.HP) {
} else {
_root.HP = _root.FullHP;
_root.Slot8a = _root.Slot8a - 1;
}
if (_root.Slot8a <= 0) {
_root.Slot8 = Empty;
}
} else if (CSlot == "Matches") {
} else if (CSlot == "Sleeping Bag") {
} else if (CSlot == "Coffee") {
_root.Adventures = _root.Adventures + 5;
_root.Slot8a = _root.Slot8a - 1;
if (_root.Slot8a <= 0) {
_root.Slot8 = Empty;
}
} else if (((((CSlot == "Chicken") || (CSlot == "Mushrooms")) || (CSlot == "Bread")) || (CSlot == "Pork")) || (CSlot == "Beans")) {
} else if (CSlot == "Map") {
_root.mapback._visible = true;
_root.inventory._visible = false;
_root.storage._visible = false;
}
}
}
Symbol 369 Button
on (release) {
if ((_root.Slot9a == 0) || (_root.Slot9a == "00")) {
_root.Slot9a = Empty;
_root.Slot9 = Empty;
}
CSlot = _root.Slot9;
if (_root.Dump == "y") {
_root.DumpSlot = _root.Slot9;
_root.DumpslotA = _root.Slot9a;
_root.Slot9 = Empty;
_root.Slot9a = 0;
_root.Dump = "n";
} else if ((_root.Slot9a == "W") && (_root.rhand == Empty)) {
_root.rhand = CSlot;
_root.Slot9 = Empty;
_root.Slot9a = 0;
if (CSlot == "T. Spear") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "T. Pike") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "T. Axe") {
_root.rhanda = 13;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Hammer") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Club") {
_root.rhanda = 11;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 2;
_root.WeaponType = "Stab";
} else if (CSlot == "T. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "T. Sword") {
_root.rhanda = 7;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "T. Heavy Sword") {
_root.rhanda = 8;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "G. Spear") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "G. Pike") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Stave";
} else if (CSlot == "G. Axe") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "G. Mace") {
_root.rhanda = 10;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "G. Knife") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Dagger") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 2;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Blade") {
_root.rhanda = 3;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Big Knife") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "G. Scymetar") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Staff") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Spear") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Pike") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Axe") {
_root.rhanda = 12;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Hammer") {
_root.rhanda = 10;
_root.rhandd = 3;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Mace") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "H. Broad Sword") {
_root.rhanda = 8;
_root.rhandd = 2;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Rapier") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Scimitar") {
_root.rhanda = 6;
_root.rhandd = 2;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Staff") {
_root.rhanda = 4;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "D. Pike") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "D. Axe") {
_root.rhanda = 12;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "D. Hammer") {
_root.rhanda = 10;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "D. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "D. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "D. Long Sword") {
_root.rhanda = 7;
_root.rhandd = 2;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Short Sword") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Broad Sword") {
_root.rhanda = 8;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Slash";
} else if (CSlot == "E. Staff") {
_root.rhanda = 4;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "E. Spear") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "E. Hammer") {
_root.rhanda = 10;
_root.rhandd = 1;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "E. Mace") {
_root.rhanda = 10;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "E. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Dagger") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Long Sword") {
_root.rhanda = 8;
_root.rhandd = 1;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "E. Short Sword") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "Flaming Sword") {
_root.rhanda = 9;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "Magic Staff") {
_root.rhanda = 5;
_root.rhandd = 2;
_root.rhands = 3;
_root.Fireball = _root.Fireball + 1;
_root.Heal = _root.Heal + 1;
_root.Thunder = _root.Thunder + 1;
_root.Ice = _root.Ice + 1;
_root.MShield = _root.MShield + 1;
_root.WeaponType = "Stave";
} else if (CSlot == "Trident") {
_root.rhanda = 8;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Stave";
}
} else if ((_root.Slot9a == "S") && (_root.lhand == Empty)) {
_root.lhand = CSlot;
_root.Slot9 = Empty;
_root.Slot9a = 0;
if (CSlot == "T. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 2;
} else if (CSlot == "G. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 3;
} else if (CSlot == "G. Targe") {
_root.lhanda = 2;
_root.lhandd = 3;
_root.lhands = 2;
} else if (CSlot == "H. Shield") {
_root.lhanda = 0;
_root.lhandd = 5;
_root.lhands = 3;
} else if (CSlot == "H. Targe") {
_root.lhanda = 1;
_root.lhandd = 4;
_root.lhands = 3;
} else if (CSlot == "D. Shield") {
_root.lhanda = 0;
_root.lhandd = 5;
_root.lhands = 4;
} else if (CSlot == "E. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 4;
} else if (CSlot == "Main Gauche") {
_root.lhanda = 3;
_root.lhandd = 1;
_root.lhands = 3;
}
} else if ((_root.Slot9a == "H") && (_root.head == Empty)) {
_root.head = CSlot;
_root.Slot9 = empty;
_root.Slot9a = 0;
if (CSlot == "T. Cap") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "T. Helmet") {
_root.heada = 2;
_root.headd = 2;
} else if (CSlot == "T. Pointy Hat") {
_root.heada = 1;
_root.headd = 0;
} else if (CSlot == "G. Hood") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "G. Helmet") {
_root.heada = 1;
_root.headd = 3;
} else if (CSlot == "G. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "H. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "H. Helmet") {
_root.heada = 0;
_root.headd = 4;
} else if (CSlot == "H. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "D. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "D. Helmet") {
_root.heada = 0;
_root.headd = 5;
} else if (CSlot == "D. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "E. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "E. Helmet") {
_root.heada = 0;
_root.headd = 3;
} else if (CSlot == "E. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "Horned Helm") {
_root.heada = 3;
_root.headd = 3;
}
} else if ((_root.Slot9a == "B") && (_root.body == Empty)) {
_root.body = CSlot;
_root.Slot9 = empty;
_root.Slot9a = 0;
if (CSlot == "T. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "T. Copper") {
_root.bodya = 1;
_root.bodyd = 5;
} else if (CSlot == "T. Iron") {
_root.bodya = 2;
_root.bodyd = 5;
} else if (CSlot == "T. Robe") {
_root.bodya = 0;
_root.bodyd = 2;
} else if (CSlot == "G. Leather") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "G. Copper") {
_root.bodya = 1;
_root.bodyd = 4;
} else if (CSlot == "G. Iron") {
_root.bodya = 1;
_root.bodyd = 6;
} else if (CSlot == "G. Robe") {
_root.bodya = 0;
_root.bodyd = 2;
} else if (CSlot == "H. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "H. Bronze") {
_root.bodya = 0;
_root.bodyd = 6;
} else if (CSlot == "H. Iron") {
_root.bodya = 0;
_root.bodyd = 7;
} else if (CSlot == "H. Robe") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "D. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "D. Chainmail") {
_root.bodya = 0;
_root.bodyd = 6;
} else if (CSlot == "D. Iron") {
_root.bodya = 1;
_root.bodyd = 7;
} else if (CSlot == "D. Robe") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "E. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "E. Chainmail") {
_root.bodya = 0;
_root.bodyd = 5;
} else if (CSlot == "E. Iron") {
_root.bodya = 0;
_root.bodyd = 7;
} else if (CSlot == "E. Robe") {
_root.bodya = 0;
_root.bodyd = 4;
}
} else if ((_root.Slot9a == "F") && (_root.feet == Empty)) {
_root.feet = CSlot;
_root.Slot9 = empty;
_root.Slot9a = 0;
if (CSlot == "T. Sandals") {
_root.feeta = 1;
_root.feetd = 1;
} else if (CSlot == "T. Boots") {
_root.feeta = 1;
_root.feetd = 2;
} else if (CSlot == "G. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "G. Boots") {
_root.feeta = 2;
_root.feetd = 2;
} else if (CSlot == "H. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "H. Shoes") {
_root.feeta = 0;
_root.feetd = 2;
} else if (CSlot == "H. Boots") {
_root.feeta = 1;
_root.feetd = 3;
} else if (CSlot == "D. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "D. Shoes") {
_root.feeta = 0;
_root.feetd = 2;
} else if (CSlot == "D. Boots") {
_root.feeta = 0;
_root.feetd = 4;
} else if (CSlot == "E. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "E. Shoes") {
_root.feeta = 0;
_root.feetd = 3;
} else if (CSlot == "Steel Toe") {
_root.feeta = 2;
_root.feetd = 3;
}
} else if ((_root.Slot9a == "A") && (_root.amulet == Empty)) {
if (CSlot == "Pheonix Feather") {
_root.amulet = "Pheonix Feather";
} else if (CSlot == "Aura of Peace") {
_root.amulet = "Aura of Peace";
_root.Align = _root.Align + 20;
} else if (CSlot == "Aura of Chaos") {
_root.amulet = "Aura of Chaos";
_root.Align = _root.Align - 20;
} else if (CSlot == "Crystal Ball") {
_root.amulet = "Crystal Ball";
_root.Fireball = _root.Fireball + 1;
_root.Heal = _root.Heal + 1;
_root.Thunder = _root.Thunder + 1;
_root.Ice = _root.Ice + 1;
_root.MShield = _root.MShield + 1;
} else if (CSlot == "Eye of Surtur") {
_root.amulet = "Eye of Surtur";
_root.Fireball = _root.Fireball + 1;
} else if (CSlot == "Blue Cross") {
_root.amulet = "Blue Cross";
_root.Heal = _root.Heal + 1;
} else if (CSlot == "Thor's Hammer") {
_root.amulet = "Thor's Hammer";
_root.Thunder = _root.Thunder + 1;
} else if (CSlot == "Snowflake") {
_root.amulet = "Snowflake";
_root.Ice = _root.Ice + 1;
} else if (CSlot == "Bluegold") {
_root.amulet = "Bluegold";
_root.MShield = _root.MShield + 1;
} else if (CSlot == "Shadow Stone") {
_root.amulet = "Shadow Stone";
_root.Sneak = _root.Sneak + 3;
_root.Burgle = _root.Burgle + 3;
} else if (CSlot == "Silver Tongue") {
_root.amulet = "Silver Tongue";
_root.Backstab = _root.Backstab + 2;
} else if (CSlot == "Lion's Heart") {
_root.amulet = "Lion's Heart";
_root.twohit = _root.twohit + 3;
_root.Parry = _root.Parry + 3;
} else if (CSlot == "Star of Pain") {
_root.amulet = "Star of Pain";
_root.Berserk = _root.Berserk + 1;
} else if (CSlot == "Olive Branch") {
_root.amulet = "Olive Branch";
_root.Stave = _root.Stave + 10;
} else if (CSlot == "Bear's Paw") {
_root.amulet = "Bear's Paw";
_root.Maul = _root.Maul + 10;
} else if (CSlot == "Tusk") {
_root.amulet = "Tusk";
_root.Stab = _root.Stab + 10;
} else if (CSlot == "Tiger Claw") {
_root.amulet = "Tiger Claw";
_root.Slash = _root.Slash + 10;
} else if (CSlot == "Arrowhead") {
_root.amulet = "Arrowhead";
_root.Stave = _root.Stave + 5;
_root.Maul = _root.Maul + 5;
_root.Stab = _root.Stab + 5;
_root.Slash = _root.Slash + 5;
} else if (CSlot == "Turtle Shell") {
_root.amulet = "Turtle Shell";
_root.Block = _root.Block + 10;
} else if (CSlot == "Dumbbell") {
_root.amulet = "Dumbbell";
_root.Str = _root.Str + 1;
} else if (CSlot == "Roc Wing") {
_root.amulet = "Roc Wing";
_root.Speed = _root.Speed + 1;
} else if (CSlot == "Compass") {
_root.amulet = "Compass";
_root.RealAdventures = _root.RealAdventures + 10;
} else if (CSlot == "Toad Stool") {
_root.amulet = "Toad Stool";
_root.FullHP = _root.FullHP + 10;
} else if (CSlot == "Mana Crystal") {
_root.amulet = "Mana Crystal";
_root.FullMP = _root.FullMP + 10;
}
} else if (_root.Slot9a >= 1) {
if (CSlot == "Dragon's Tear") {
_root.MP = _root.MP + (0.2 * _root.FullMP);
_root.Slot9a = _root.Slot9a - 1;
if (_root.Slot9a <= 0) {
_root.Slot9 = Empty;
}
} else if (CSlot == "Gems") {
if (_root.FullMP > _root.MP) {
if (_root.FullMP > (_root.MP + 5)) {
_root.MP = _root.MP + 5;
_root.Slot9a = _root.Slot9a - 1;
} else {
_root.MP = _root.FullMP;
_root.Slot9a = _root.Slot9a - 1;
}
if (_root.Slot9a <= 0) {
_root.Slot9 = Empty;
}
}
} else if (CSlot == "Healing Potion") {
if (_root.FullHP > _root.HP) {
if (_root.FullHP > (_root.HP + 30)) {
_root.HP = _root.HP + 30;
_root.Slot9a = _root.Slot9a - 1;
} else {
_root.HP = _root.FullHP;
_root.Slot9a = _root.Slot9a - 1;
}
if (_root.Slot9a <= 0) {
_root.Slot9 = Empty;
}
}
} else if (CSlot == "Thunder Token") {
} else if (((((CSlot == "Rum") || (CSlot == "Vodka")) || (CSlot == "Whiskey")) || (CSlot == "Mead")) || (CSlot == "Wine")) {
} else if (CSlot == "Tent") {
} else if ((((CSlot == "Gold") || (CSlot == "Silver")) || (CSlot == "Bronze")) || (CSlot == "Copper")) {
} else if (CSlot == "Bandage") {
if (_root.FullHP > _root.HP) {
if (_root.FullHP > (_root.HP + 10)) {
_root.HP = _root.HP + 10;
_root.Slot9a = _root.Slot9a - 1;
} else {
_root.HP = _root.FullHP;
_root.Slot9a = _root.Slot9a - 1;
}
if (_root.Slot9a <= 0) {
_root.Slot9 = Empty;
}
}
} else if (CSlot == "Golden Apple") {
if (_root.FullHP == _root.HP) {
} else {
_root.HP = _root.FullHP;
_root.Slot9a = _root.Slot9a - 1;
}
if (_root.Slot9a <= 0) {
_root.Slot9 = Empty;
}
} else if (CSlot == "Matches") {
} else if (CSlot == "Sleeping Bag") {
} else if (CSlot == "Coffee") {
_root.Adventures = _root.Adventures + 5;
_root.Slot9a = _root.Slot9a - 1;
if (_root.Slot9a <= 0) {
_root.Slot9 = Empty;
}
} else if (((((CSlot == "Chicken") || (CSlot == "Mushrooms")) || (CSlot == "Bread")) || (CSlot == "Pork")) || (CSlot == "Beans")) {
} else if (CSlot == "Map") {
_root.mapback._visible = true;
_root.inventory._visible = false;
_root.storage._visible = false;
}
}
}
Symbol 372 Button
on (release) {
if ((_root.Slot0a == 0) || (_root.Slot0a == "00")) {
_root.Slot0a = Empty;
_root.Slot0 = Empty;
}
CSlot = _root.Slot0;
if (_root.Dump == "y") {
_root.DumpSlot = _root.Slot0;
_root.DumpslotA = _root.Slot0a;
_root.Slot0 = Empty;
_root.Slot0a = 0;
_root.Dump = "n";
} else if ((_root.Slot0a == "W") && (_root.rhand == Empty)) {
_root.rhand = CSlot;
_root.Slot0 = Empty;
_root.Slot0a = 0;
if (CSlot == "T. Spear") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "T. Pike") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "T. Axe") {
_root.rhanda = 13;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Hammer") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Club") {
_root.rhanda = 11;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "T. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 2;
_root.WeaponType = "Stab";
} else if (CSlot == "T. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "T. Sword") {
_root.rhanda = 7;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "T. Heavy Sword") {
_root.rhanda = 8;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "G. Spear") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "G. Pike") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Stave";
} else if (CSlot == "G. Axe") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "G. Mace") {
_root.rhanda = 10;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "G. Knife") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Dagger") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 2;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Blade") {
_root.rhanda = 3;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "G. Big Knife") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "G. Scymetar") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Staff") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Spear") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Pike") {
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (CSlot == "H. Axe") {
_root.rhanda = 12;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Hammer") {
_root.rhanda = 10;
_root.rhandd = 3;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Mace") {
_root.rhanda = 11;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "H. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "H. Broad Sword") {
_root.rhanda = 8;
_root.rhandd = 2;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Rapier") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Slash";
} else if (CSlot == "H. Scimitar") {
_root.rhanda = 6;
_root.rhandd = 2;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Staff") {
_root.rhanda = 4;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "D. Pike") {
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "D. Axe") {
_root.rhanda = 12;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "D. Hammer") {
_root.rhanda = 10;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Maul";
} else if (CSlot == "D. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "D. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "D. Long Sword") {
_root.rhanda = 7;
_root.rhandd = 2;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Short Sword") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "D. Broad Sword") {
_root.rhanda = 8;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Slash";
} else if (CSlot == "E. Staff") {
_root.rhanda = 4;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (CSlot == "E. Spear") {
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (CSlot == "E. Hammer") {
_root.rhanda = 10;
_root.rhandd = 1;
_root.rhands = 0;
_root.WeaponType = "Maul";
} else if (CSlot == "E. Mace") {
_root.rhanda = 10;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Maul";
} else if (CSlot == "E. Knife") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Dagger") {
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Blade") {
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Stab";
} else if (CSlot == "E. Long Sword") {
_root.rhanda = 8;
_root.rhandd = 1;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (CSlot == "E. Short Sword") {
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "Flaming Sword") {
_root.rhanda = 9;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (CSlot == "Magic Staff") {
_root.rhanda = 5;
_root.rhandd = 2;
_root.rhands = 3;
_root.Fireball = _root.Fireball + 1;
_root.Heal = _root.Heal + 1;
_root.Thunder = _root.Thunder + 1;
_root.Ice = _root.Ice + 1;
_root.MShield = _root.MShield + 1;
_root.WeaponType = "Stave";
} else if (CSlot == "Trident") {
_root.rhanda = 8;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Stave";
}
} else if ((_root.Slot0a == "S") && (_root.lhand == Empty)) {
_root.lhand = CSlot;
_root.Slot0 = Empty;
_root.Slot0a = 0;
if (CSlot == "T. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 2;
} else if (CSlot == "G. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 3;
} else if (CSlot == "G. Targe") {
_root.lhanda = 2;
_root.lhandd = 3;
_root.lhands = 2;
} else if (CSlot == "H. Shield") {
_root.lhanda = 0;
_root.lhandd = 5;
_root.lhands = 3;
} else if (CSlot == "H. Targe") {
_root.lhanda = 1;
_root.lhandd = 4;
_root.lhands = 3;
} else if (CSlot == "D. Shield") {
_root.lhanda = 0;
_root.lhandd = 5;
_root.lhands = 4;
} else if (CSlot == "E. Shield") {
_root.lhanda = 0;
_root.lhandd = 4;
_root.lhands = 4;
} else if (CSlot == "Main Gauche") {
_root.lhanda = 3;
_root.lhandd = 1;
_root.lhands = 3;
}
} else if ((_root.Slot0a == "H") && (_root.head == Empty)) {
_root.head = CSlot;
_root.Slot0 = empty;
_root.Slot0a = 0;
if (CSlot == "T. Cap") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "T. Helmet") {
_root.heada = 2;
_root.headd = 2;
} else if (CSlot == "T. Pointy Hat") {
_root.heada = 1;
_root.headd = 0;
} else if (CSlot == "G. Hood") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "G. Helmet") {
_root.heada = 1;
_root.headd = 3;
} else if (CSlot == "G. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "H. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "H. Helmet") {
_root.heada = 0;
_root.headd = 4;
} else if (CSlot == "H. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "D. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "D. Helmet") {
_root.heada = 0;
_root.headd = 5;
} else if (CSlot == "D. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "E. Cap") {
_root.heada = 0;
_root.headd = 2;
} else if (CSlot == "E. Helmet") {
_root.heada = 0;
_root.headd = 3;
} else if (CSlot == "E. Pointy Hat") {
_root.heada = 0;
_root.headd = 1;
} else if (CSlot == "Horned Helm") {
_root.heada = 3;
_root.headd = 3;
}
} else if ((_root.Slot0a == "B") && (_root.body == Empty)) {
_root.body = CSlot;
_root.Slot0 = empty;
_root.Slot0a = 0;
if (CSlot == "T. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "T. Copper") {
_root.bodya = 1;
_root.bodyd = 5;
} else if (CSlot == "T. Iron") {
_root.bodya = 2;
_root.bodyd = 5;
} else if (CSlot == "T. Robe") {
_root.bodya = 0;
_root.bodyd = 2;
} else if (CSlot == "G. Leather") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "G. Copper") {
_root.bodya = 1;
_root.bodyd = 4;
} else if (CSlot == "G. Iron") {
_root.bodya = 1;
_root.bodyd = 6;
} else if (CSlot == "G. Robe") {
_root.bodya = 0;
_root.bodyd = 2;
} else if (CSlot == "H. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "H. Bronze") {
_root.bodya = 0;
_root.bodyd = 6;
} else if (CSlot == "H. Iron") {
_root.bodya = 0;
_root.bodyd = 7;
} else if (CSlot == "H. Robe") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "D. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "D. Chainmail") {
_root.bodya = 0;
_root.bodyd = 6;
} else if (CSlot == "D. Iron") {
_root.bodya = 1;
_root.bodyd = 7;
} else if (CSlot == "D. Robe") {
_root.bodya = 0;
_root.bodyd = 3;
} else if (CSlot == "E. Leather") {
_root.bodya = 0;
_root.bodyd = 4;
} else if (CSlot == "E. Chainmail") {
_root.bodya = 0;
_root.bodyd = 5;
} else if (CSlot == "E. Iron") {
_root.bodya = 0;
_root.bodyd = 7;
} else if (CSlot == "E. Robe") {
_root.bodya = 0;
_root.bodyd = 4;
}
} else if ((_root.Slot0a == "F") && (_root.feet == Empty)) {
_root.feet = CSlot;
_root.Slot0 = empty;
_root.Slot0a = 0;
if (CSlot == "T. Sandals") {
_root.feeta = 1;
_root.feetd = 1;
} else if (CSlot == "T. Boots") {
_root.feeta = 1;
_root.feetd = 2;
} else if (CSlot == "G. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "G. Boots") {
_root.feeta = 2;
_root.feetd = 2;
} else if (CSlot == "H. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "H. Shoes") {
_root.feeta = 0;
_root.feetd = 2;
} else if (CSlot == "H. Boots") {
_root.feeta = 1;
_root.feetd = 3;
} else if (CSlot == "D. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "D. Shoes") {
_root.feeta = 0;
_root.feetd = 2;
} else if (CSlot == "D. Boots") {
_root.feeta = 0;
_root.feetd = 4;
} else if (CSlot == "E. Sandals") {
_root.feeta = 0;
_root.feetd = 1;
} else if (CSlot == "E. Shoes") {
_root.feeta = 0;
_root.feetd = 3;
} else if (CSlot == "Steel Toe") {
_root.feeta = 2;
_root.feetd = 3;
}
} else if ((_root.Slot0a == "A") && (_root.amulet == Empty)) {
if (CSlot == "Pheonix Feather") {
_root.amulet = "Pheonix Feather";
} else if (CSlot == "Aura of Peace") {
_root.amulet = "Aura of Peace";
_root.Align = _root.Align + 20;
} else if (CSlot == "Aura of Chaos") {
_root.amulet = "Aura of Chaos";
_root.Align = _root.Align - 20;
} else if (CSlot == "Crystal Ball") {
_root.amulet = "Crystal Ball";
_root.Fireball = _root.Fireball + 1;
_root.Heal = _root.Heal + 1;
_root.Thunder = _root.Thunder + 1;
_root.Ice = _root.Ice + 1;
_root.MShield = _root.MShield + 1;
} else if (CSlot == "Eye of Surtur") {
_root.amulet = "Eye of Surtur";
_root.Fireball = _root.Fireball + 1;
} else if (CSlot == "Blue Cross") {
_root.amulet = "Blue Cross";
_root.Heal = _root.Heal + 1;
} else if (CSlot == "Thor's Hammer") {
_root.amulet = "Thor's Hammer";
_root.Thunder = _root.Thunder + 1;
} else if (CSlot == "Snowflake") {
_root.amulet = "Snowflake";
_root.Ice = _root.Ice + 1;
} else if (CSlot == "Bluegold") {
_root.amulet = "Bluegold";
_root.MShield = _root.MShield + 1;
} else if (CSlot == "Shadow Stone") {
_root.amulet = "Shadow Stone";
_root.Sneak = _root.Sneak + 3;
_root.Burgle = _root.Burgle + 3;
} else if (CSlot == "Silver Tongue") {
_root.amulet = "Silver Tongue";
_root.Backstab = _root.Backstab + 2;
} else if (CSlot == "Lion's Heart") {
_root.amulet = "Lion's Heart";
_root.twohit = _root.twohit + 3;
_root.Parry = _root.Parry + 3;
} else if (CSlot == "Star of Pain") {
_root.amulet = "Star of Pain";
_root.Berserk = _root.Berserk + 1;
} else if (CSlot == "Olive Branch") {
_root.amulet = "Olive Branch";
_root.Stave = _root.Stave + 10;
} else if (CSlot == "Bear's Paw") {
_root.amulet = "Bear's Paw";
_root.Maul = _root.Maul + 10;
} else if (CSlot == "Tusk") {
_root.amulet = "Tusk";
_root.Stab = _root.Stab + 10;
} else if (CSlot == "Tiger Claw") {
_root.amulet = "Tiger Claw";
_root.Slash = _root.Slash + 10;
} else if (CSlot == "Arrowhead") {
_root.amulet = "Arrowhead";
_root.Stave = _root.Stave + 5;
_root.Maul = _root.Maul + 5;
_root.Stab = _root.Stab + 5;
_root.Slash = _root.Slash + 5;
} else if (CSlot == "Turtle Shell") {
_root.amulet = "Turtle Shell";
_root.Block = _root.Block + 10;
} else if (CSlot == "Dumbbell") {
_root.amulet = "Dumbbell";
_root.Str = _root.Str + 1;
} else if (CSlot == "Roc Wing") {
_root.amulet = "Roc Wing";
_root.Speed = _root.Speed + 1;
} else if (CSlot == "Compass") {
_root.amulet = "Compass";
_root.RealAdventures = _root.RealAdventures + 10;
} else if (CSlot == "Toad Stool") {
_root.amulet = "Toad Stool";
_root.FullHP = _root.FullHP + 10;
} else if (CSlot == "Mana Crystal") {
_root.amulet = "Mana Crystal";
_root.FullMP = _root.FullMP + 10;
}
} else if (_root.Slot0a >= 1) {
if (CSlot == "Dragon's Tear") {
_root.MP = _root.MP + (0.2 * _root.FullMP);
_root.Slot0a = _root.Slot0a - 1;
if (_root.Slot0a <= 0) {
_root.Slot0 = Empty;
}
} else if (CSlot == "Gems") {
if (_root.FullMP > _root.MP) {
if (_root.FullMP > (_root.MP + 5)) {
_root.MP = _root.MP + 5;
_root.Slot0a = _root.Slot0a - 1;
} else {
_root.MP = _root.FullMP;
_root.Slot0a = _root.Slot0a - 1;
}
if (_root.Slot0a <= 0) {
_root.Slot0 = Empty;
}
}
} else if (CSlot == "Healing Potion") {
if (_root.FullHP > _root.HP) {
if (_root.FullHP > (_root.HP + 30)) {
_root.HP = _root.HP + 30;
_root.Slot0a = _root.Slot0a - 1;
} else {
_root.HP = _root.FullHP;
_root.Slot0a = _root.Slot0a - 1;
}
if (_root.Slot0a <= 0) {
_root.Slot0 = Empty;
}
}
} else if (CSlot == "Thunder Token") {
} else if (((((CSlot == "Rum") || (CSlot == "Vodka")) || (CSlot == "Whiskey")) || (CSlot == "Mead")) || (CSlot == "Wine")) {
} else if (CSlot == "Tent") {
} else if ((((CSlot == "Gold") || (CSlot == "Silver")) || (CSlot == "Bronze")) || (CSlot == "Copper")) {
} else if (CSlot == "Bandage") {
if (_root.FullHP > _root.HP) {
if (_root.FullHP > (_root.HP + 10)) {
_root.HP = _root.HP + 10;
_root.Slot0a = _root.Slot0a - 1;
} else {
_root.HP = _root.FullHP;
_root.Slot0a = _root.Slot0a - 1;
}
if (_root.Slot0a <= 0) {
_root.Slot0 = Empty;
}
}
} else if (CSlot == "Golden Apple") {
if (_root.FullHP == _root.HP) {
} else {
_root.HP = _root.FullHP;
_root.Slot0a = _root.Slot0a - 1;
}
if (_root.Slot0a <= 0) {
_root.Slot0 = Empty;
}
} else if (CSlot == "Matches") {
} else if (CSlot == "Sleeping Bag") {
} else if (CSlot == "Coffee") {
_root.Adventures = _root.Adventures + 5;
_root.Slot0a = _root.Slot0a - 1;
if (_root.Slot0a <= 0) {
_root.Slot0 = Empty;
}
} else if (((((CSlot == "Chicken") || (CSlot == "Mushrooms")) || (CSlot == "Bread")) || (CSlot == "Pork")) || (CSlot == "Beans")) {
} else if (CSlot == "Map") {
_root.mapback._visible = true;
_root.inventory._visible = false;
_root.storage._visible = false;
}
}
}
Symbol 374 Button
on (release) {
_root.Dump = "y";
}
Symbol 375 Button
on (release) {
if (_root.DumpSlot != Empty) {
if (_root.Slot1 == Empty) {
_root.Slot1 = _root.DumpSlot;
_root.Slot1a = _root.DumpslotA;
_root.DumpSlot = Empty;
_root.DumpslotA = 0;
} else if (_root.Slot2 == Empty) {
_root.Slot2 = _root.DumpSlot;
_root.Slot2a = _root.DumpslotA;
_root.DumpSlot = Empty;
_root.DumpslotA = 0;
} else if (_root.Slot3 == Empty) {
_root.Slot3 = _root.DumpSlot;
_root.Slot3a = _root.DumpslotA;
_root.DumpSlot = Empty;
_root.DumpslotA = 0;
} else if (_root.Slot4 == Empty) {
} else if (_root.Slot5 == Empty) {
} else if (_root.Slot6 == Empty) {
} else if (_root.Slot7 == Empty) {
} else if (_root.Slot8 == Empty) {
} else if (_root.Slot9 == Empty) {
} else if (_root.Slot0 == Empty) {
}
}
}
Symbol 376 Button
on (release) {
_root.storage._visible = false;
}
Symbol 380 Button
on (release) {
_root.sloterror._visible = false;
}
Symbol 384 Button
on (release) {
_root.sellprice = Empty;
_root.SellPriceA = Empty;
_root.sellSlot = Empty;
_root.SSlot = Empty;
_root.CSlot = Empty;
_root.sellerror._visible = false;
_root.weaponsell._visible = false;
_root.storesell._visible = false;
_root.armorsell._visible = false;
gotoAndStop (1);
}
Symbol 408 MovieClip Frame 1
if (_root.align <= -70) {
_root.sidebar.alignment = "Pure Evil";
} else if (_root.align <= -50) {
_root.sidebar.alignment = "Evil";
} else if (_root.align <= -30) {
_root.sidebar.alignment = "Naughty";
} else if (_root.align <= 29) {
_root.sidebar.alignment = "Neutral";
} else if (_root.align >= 70) {
_root.sidebar.alignment = "Pure Good";
} else if (_root.align >= 50) {
_root.sidebar.alignment = "Good";
} else if (_root.align >= 30) {
_root.sidebar.alignment = "Nice";
}
Symbol 409 Button
on (press) {
_root.inventory._visible = true;
}
Symbol 413 Button
on (release) {
_root.gotoAndStop(5);
}
Symbol 416 Button
on (release) {
_root.gotoAndStop(8);
}
Symbol 418 Button
on (release) {
_root.gotoAndStop(7);
}
Symbol 420 Button
on (release) {
_root.gotoAndStop(4);
}
Symbol 423 Button
on (release) {
_root.gotoAndStop(6);
}
Symbol 425 Button
on (release) {
_root.gotoAndStop(9);
}
Symbol 428 MovieClip Frame 1
if ((_root.Why == -1) && (_root.Exe == -1)) {
_root.Where = "Humanton";
gotoAndStop (2);
} else if ((_root.Why == 1) && (_root.Exe == -1)) {
_root.Where = "Trollburg";
gotoAndStop (3);
} else if ((_root.Why == 0) && (_root.Exe == -1)) {
_root.Where = "Goblinia";
gotoAndStop (4);
} else if ((_root.Why == 0) && (_root.Exe == 1)) {
_root.Where = "Dwarfheim";
gotoAndStop (5);
} else if ((_root.Why == -1) && (_root.Exe == 1)) {
_root.Where = "Elfville";
gotoAndStop (6);
}
Symbol 429 Button
on (release) {
if (_root.Where == "Goblinia") {
gotoAndStop (12);
} else if (_root.Where == "Dwarfheim") {
gotoAndStop (12);
} else {
gotoAndStop (11);
}
}
Symbol 430 Button
on (release) {
if (_root.Exe == 7) {
gotoAndStop (11);
} else if ((_root.Exe == -5) && (_root.Why == 4)) {
gotoAndStop (11);
} else {
gotoAndStop (3);
}
}
Symbol 433 Button
on (release) {
_root.weaponsell._visible = true;
}
Symbol 440 Button
on (rollOver) {
_root.Test = "Stave";
_root.testa = 6;
_root.testd = 0;
_root.tests = 3;
}
on (release) {
if (_root.Money >= Math.round(63 * (1 + _root.discount))) {
MoneyPaid = Math.round(63 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "T. Pike";
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "T. Pike";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "T. Pike";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "T. Pike";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "T. Pike";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "T. Pike";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "T. Pike";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "T. Pike";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "T. Pike";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "T. Pike";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "T. Pike";
_root.Slot0a = "W";
}
}
}
}
Symbol 446 Button
on (rollOver) {
_root.Test = "Stab";
_root.testa = 1;
_root.testd = 0;
_root.tests = 2;
}
on (release) {
if (_root.Money >= Math.round(12 * (1 + _root.discount))) {
MoneyPaid = Math.round(12 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "T. Knife";
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 2;
_root.WeaponType = "Stab";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "T. Knife";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "T. Knife";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "T. Knife";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "T. Knife";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "T. Knife";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "T. Knife";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "T. Knife";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "T. Knife";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "T. Knife";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "T. Knife";
_root.Slot0a = "W";
}
}
}
}
Symbol 447 Button
on (rollOver) {
_root.Test = "Stave";
_root.testa = 5;
_root.testd = 0;
_root.tests = 3;
}
on (release) {
if (_root.Money >= Math.round(53 * (1 + _root.discount))) {
MoneyPaid = Math.round(53 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "T. Spear";
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "T. Spear";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "T. Spear";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "T. Spear";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "T. Spear";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "T. Spear";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "T. Spear";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "T. Spear";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "T. Spear";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "T. Spear";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "T. Spear";
_root.Slot0a = "W";
}
}
}
}
Symbol 448 Button
on (rollOver) {
_root.Test = "Slash";
_root.testa = 7;
_root.testd = 1;
_root.tests = 2;
}
on (release) {
if (_root.Money >= Math.round(78 * (1 + _root.discount))) {
MoneyPaid = Math.round(78 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "T. Sword";
_root.rhanda = 7;
_root.rhandd = 1;
_root.rhands = 2;
_root.WeaponType = "Slash";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "T. Sword";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "T. Sword";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "T. Sword";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "T. Sword";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "T. Sword";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "T. Sword";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "T. Sword";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "T. Sword";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "T. Sword";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "T. Sword";
_root.Slot0a = "W";
}
}
}
}
Symbol 455 Button
on (rollOver) {
_root.Test = "Stab";
_root.testa = 2;
_root.testd = 0;
_root.tests = 4;
}
on (release) {
if (_root.Money >= Math.round(24 * (1 + _root.discount))) {
MoneyPaid = Math.round(24 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "T. Blade";
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "T. Blade";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "T. Blade";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "T. Blade";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "T. Blade";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "T. Blade";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "T. Blade";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "T. Blade";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "T. Blade";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "T. Blade";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "T. Blade";
_root.Slot0a = "W";
}
}
}
}
Symbol 457 Button
on (rollOver) {
_root.Test = "Slash";
_root.testa = 8;
_root.testd = 0;
_root.tests = 4;
}
on (release) {
if (_root.Money >= Math.round(84 * (1 + _root.discount))) {
MoneyPaid = Math.round(84 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "T. Heavy Sword";
_root.rhanda = 8;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "T. Heavy Sword";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "T. Heavy Sword";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "T. Heavy Sword";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "T. Heavy Sword";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "T. Heavy Sword";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "T. Heavy Sword";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "T. Heavy Sword";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "T. Heavy Sword";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "T. Heavy Sword";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "T. Heavy Sword";
_root.Slot0a = "W";
}
}
}
}
Symbol 460 Button
on (rollOver) {
_root.Test = "Stab";
_root.testa = 2;
_root.testd = 0;
_root.tests = 2;
}
on (release) {
if (_root.Money >= Math.round(22 * (1 + _root.discount))) {
MoneyPaid = Math.round(22 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "G. Dagger";
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 2;
_root.WeaponType = "Stab";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "G. Dagger";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "G. Dagger";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "G. Dagger";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "G. Dagger";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "G. Dagger";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "G. Dagger";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "G. Dagger";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "G. Dagger";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "G. Dagger";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "G. Dagger";
_root.Slot0a = "W";
}
}
}
}
Symbol 461 Button
on (rollOver) {
_root.Test = "Stave";
_root.testa = 7;
_root.testd = 0;
_root.tests = 4;
}
on (release) {
if (_root.Money >= Math.round(74 * (1 + _root.discount))) {
MoneyPaid = Math.round(74 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "G. Spear";
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "G. Spear";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "G. Spear";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "G. Spear";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "G. Spear";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "G. Spear";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "G. Spear";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "G. Spear";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "G. Spear";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "G. Spear";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "G. Spear";
_root.Slot0a = "W";
}
}
}
}
Symbol 462 Button
on (rollOver) {
_root.Test = "Slash";
_root.testa = 5;
_root.testd = 0;
_root.tests = 3;
}
on (release) {
if (_root.Money >= Math.round(53 * (1 + _root.discount))) {
MoneyPaid = Math.round(53 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "G. Big Knife";
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "G. Big Knife";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "G. Big Knife";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "G. Big Knife";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "G. Big Knife";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "G. Big Knife";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "G. Big Knife";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "G. Big Knife";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "G. Big Knife";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "G. Big Knife";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "G. Big Knife";
_root.Slot0a = "W";
}
}
}
}
Symbol 463 Button
on (rollOver) {
_root.Test = "Stab";
_root.testa = 3;
_root.testd = 0;
_root.tests = 4;
}
on (release) {
if (_root.Money >= Math.round(34 * (1 + _root.discount))) {
MoneyPaid = Math.round(34 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "G. Blade";
_root.rhanda = 3;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "G. Blade";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "G. Blade";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "G. Blade";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "G. Blade";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "G. Blade";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "G. Blade";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "G. Blade";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "G. Blade";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "G. Blade";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "G. Blade";
_root.Slot0a = "W";
}
}
}
}
Symbol 471 Button
on (rollOver) {
_root.Test = "Stab";
_root.testa = 2;
_root.testd = 0;
_root.tests = 3;
}
on (release) {
if (_root.Money >= Math.round(23 * (1 + _root.discount))) {
MoneyPaid = Math.round(23 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "G. Knife";
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "G. Knife";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "G. Knife";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "G. Knife";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "G. Knife";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "G. Knife";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "G. Knife";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "G. Knife";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "G. Knife";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "G. Knife";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "G. Knife";
_root.Slot0a = "W";
}
}
}
}
Symbol 472 Button
on (rollOver) {
_root.Test = "Slash";
_root.testa = 6;
_root.testd = 0;
_root.tests = 4;
}
on (release) {
if (_root.Money >= Math.round(64 * (1 + _root.discount))) {
MoneyPaid = Math.round(64 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "G. Scymetar";
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "G. Scymetar";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "G. Scymetar";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "G. Scymetar";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "G. Scymetar";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "G. Scymetar";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "G. Scymetar";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "G. Scymetar";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "G. Scymetar";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "G. Scymetar";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "G. Scymetar";
_root.Slot0a = "W";
}
}
}
}
Symbol 476 Button
on (rollOver) {
_root.Test = "Stab";
_root.testa = 1;
_root.testd = 0;
_root.tests = 3;
}
on (release) {
if (_root.Money >= Math.round(13 * (1 + _root.discount))) {
MoneyPaid = Math.round(13 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "H. Knife";
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "H. Knife";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "H. Knife";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "H. Knife";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "H. Knife";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "H. Knife";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "H. Knife";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "H. Knife";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "H. Knife";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "H. Knife";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "H. Knife";
_root.Slot0a = "W";
}
}
}
}
Symbol 477 Button
on (rollOver) {
_root.Test = "Slash";
_root.testa = 6;
_root.testd = 2;
_root.tests = 3;
}
on (release) {
if (_root.Money >= Math.round(73 * (1 + _root.discount))) {
MoneyPaid = Math.round(73 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "H. Scimitar";
_root.rhanda = 6;
_root.rhandd = 2;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "H. Scimitar";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "H. Scimitar";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "H. Scimitar";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "H. Scimitar";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "H. Scimitar";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "H. Scimitar";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "H. Scimitar";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "H. Scimitar";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "H. Scimitar";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "H. Scimitar";
_root.Slot0a = "W";
}
}
}
}
Symbol 478 Button
on (rollOver) {
_root.Test = "Slash";
_root.testa = 5;
_root.testd = 0;
_root.tests = 5;
}
on (release) {
if (_root.Money >= Math.round(55 * (1 + _root.discount))) {
MoneyPaid = Math.round(55 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "H. Rapier";
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Slash";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "H. Rapier";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "H. Rapier";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "H. Rapier";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "H. Rapier";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "H. Rapier";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "H. Rapier";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "H. Rapier";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "H. Rapier";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "H. Rapier";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "H. Rapier";
_root.Slot0a = "W";
}
}
}
}
Symbol 485 Button
on (rollOver) {
_root.Test = "Slash";
_root.testa = 8;
_root.testd = 2;
_root.tests = 3;
}
on (release) {
if (_root.Money >= Math.round(93 * (1 + _root.discount))) {
MoneyPaid = Math.round(93 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "H. Broad Sword";
_root.rhanda = 8;
_root.rhandd = 2;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "H. Broad Sword";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "H. Broad Sword";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "H. Broad Sword";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "H. Broad Sword";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "H. Broad Sword";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "H. Broad Sword";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "H. Broad Sword";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "H. Broad Sword";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "H. Broad Sword";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "H. Broad Sword";
_root.Slot0a = "W";
}
}
}
}
Symbol 486 Button
on (rollOver) {
_root.Test = "Stave";
_root.testa = 6;
_root.testd = 0;
_root.tests = 3;
}
on (release) {
if (_root.Money >= Math.round(63 * (1 + _root.discount))) {
MoneyPaid = Math.round(63 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "H. Spear";
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "H. Spear";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "H. Spear";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "H. Spear";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "H. Spear";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "H. Spear";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "H. Spear";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "H. Spear";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "H. Spear";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "H. Spear";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "H. Spear";
_root.Slot0a = "W";
}
}
}
}
Symbol 490 Button
on (rollOver) {
_root.Test = "Stave";
_root.testa = 7;
_root.testd = 0;
_root.tests = 3;
}
on (release) {
if (_root.Money >= Math.round(73 * (1 + _root.discount))) {
MoneyPaid = Math.round(73 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "H. Pike";
_root.rhanda = 7;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stave";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "H. Pike";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "H. Pike";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "H. Pike";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "H. Pike";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "H. Pike";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "H. Pike";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "H. Pike";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "H. Pike";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "H. Pike";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "H. Pike";
_root.Slot0a = "W";
}
}
}
}
Symbol 492 Button
on (rollOver) {
_root.Test = "Stab";
_root.testa = 1;
_root.testd = 0;
_root.tests = 3;
}
on (release) {
if (_root.Money >= Math.round(13 * (1 + _root.discount))) {
MoneyPaid = Math.round(13 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "D. Knife";
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "D. Knife";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "D. Knife";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "D. Knife";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "D. Knife";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "D. Knife";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "D. Knife";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "D. Knife";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "D. Knife";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "D. Knife";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "D. Knife";
_root.Slot0a = "W";
}
}
}
}
Symbol 493 Button
on (rollOver) {
_root.Test = "Slash";
_root.testa = 8;
_root.testd = 2;
_root.tests = 2;
}
on (release) {
if (_root.Money >= Math.round(92 * (1 + _root.discount))) {
MoneyPaid = Math.round(92 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "D. Broad Sword";
_root.rhanda = 8;
_root.rhandd = 2;
_root.rhands = 2;
_root.WeaponType = "Slash";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "D. Broad Sword";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "D. Broad Sword";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "D. Broad Sword";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "D. Broad Sword";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "D. Broad Sword";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "D. Broad Sword";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "D. Broad Sword";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "D. Broad Sword";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "D. Broad Sword";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "D. Broad Sword";
_root.Slot0a = "W";
}
}
}
}
Symbol 494 Button
on (rollOver) {
_root.Test = "Slash";
_root.testa = 7;
_root.testd = 2;
_root.tests = 4;
}
on (release) {
if (_root.Money >= Math.round(84 * (1 + _root.discount))) {
MoneyPaid = Math.round(84 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "D. Long Sword";
_root.rhanda = 7;
_root.rhandd = 2;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "D. Long Sword";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "D. Long Sword";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "D. Long Sword";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "D. Long Sword";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "D. Long Sword";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "D. Long Sword";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "D. Long Sword";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "D. Long Sword";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "D. Long Sword";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "D. Long Sword";
_root.Slot0a = "W";
}
}
}
}
Symbol 495 Button
on (rollOver) {
_root.Test = "Stave";
_root.testa = 4;
_root.testd = 1;
_root.tests = 1;
}
on (release) {
if (_root.Money >= Math.round(46 * (1 + _root.discount))) {
MoneyPaid = Math.round(46 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "D. Staff";
_root.rhanda = 4;
_root.rhandd = 1;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "D. Staff";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "D. Staff";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "D. Staff";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "D. Staff";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "D. Staff";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "D. Staff";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "D. Staff";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "D. Staff";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "D. Staff";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "D. Staff";
_root.Slot0a = "W";
}
}
}
}
Symbol 503 Button
on (rollOver) {
_root.Test = "Stab";
_root.testa = 2;
_root.testd = 0;
_root.tests = 4;
}
on (release) {
if (_root.Money >= Math.round(24 * (1 + _root.discount))) {
MoneyPaid = Math.round(24 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "D. Blade";
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stab";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "D. Blade";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "D. Blade";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "D. Blade";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "D. Blade";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "D. Blade";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "D. Blade";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "D. Blade";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "D. Blade";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "D. Blade";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "D. Blade";
_root.Slot0a = "W";
}
}
}
}
Symbol 504 Button
on (rollOver) {
_root.Test = "Stave";
_root.testa = 6;
_root.testd = 0;
_root.tests = 4;
}
on (release) {
if (_root.Money >= Math.round(64 * (1 + _root.discount))) {
MoneyPaid = Math.round(64 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "D. Pike";
_root.rhanda = 6;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "D. Pike";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "D. Pike";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "D. Pike";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "D. Pike";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "D. Pike";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "D. Pike";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "D. Pike";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "D. Pike";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "D. Pike";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "D. Pike";
_root.Slot0a = "W";
}
}
}
}
Symbol 507 Button
on (rollOver) {
_root.Test = "Stab";
_root.testa = 1;
_root.testd = 0;
_root.tests = 3;
}
on (release) {
if (_root.Money >= Math.round(13 * (1 + _root.discount))) {
MoneyPaid = Math.round(13 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "E. Dagger";
_root.rhanda = 1;
_root.rhandd = 0;
_root.rhands = 3;
_root.WeaponType = "Stab";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "E. Dagger";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "E. Dagger";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "E. Dagger";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "E. Dagger";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "E. Dagger";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "E. Dagger";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "E. Dagger";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "E. Dagger";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "E. Dagger";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "E. Dagger";
_root.Slot0a = "W";
}
}
}
}
Symbol 508 Button
on (rollOver) {
_root.Test = "Slash";
_root.testa = 8;
_root.testd = 1;
_root.tests = 4;
}
on (release) {
if (_root.Money >= Math.round(89 * (1 + _root.discount))) {
MoneyPaid = Math.round(89 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "E. Long Sword";
_root.rhanda = 8;
_root.rhandd = 1;
_root.rhands = 4;
_root.WeaponType = "Slash";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "E. Long Sword";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "E. Long Sword";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "E. Long Sword";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "E. Long Sword";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "E. Long Sword";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "E. Long Sword";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "E. Long Sword";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "E. Long Sword";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "E. Long Sword";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "E. Long Sword";
_root.Slot0a = "W";
}
}
}
}
Symbol 509 Button
on (rollOver) {
_root.Test = "Stave";
_root.testa = 5;
_root.testd = 0;
_root.tests = 4;
}
on (release) {
if (_root.Money >= Math.round(54 * (1 + _root.discount))) {
MoneyPaid = Math.round(54 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "E. Spear";
_root.rhanda = 5;
_root.rhandd = 0;
_root.rhands = 4;
_root.WeaponType = "Stave";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "E. Spear";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "E. Spear";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "E. Spear";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "E. Spear";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "E. Spear";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "E. Spear";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "E. Spear";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "E. Spear";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "E. Spear";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "E. Spear";
_root.Slot0a = "W";
}
}
}
}
Symbol 510 Button
on (rollOver) {
_root.Test = "Slash";
_root.testa = 5;
_root.testd = 1;
_root.tests = 3;
}
on (release) {
if (_root.Money >= Math.round(58 * (1 + _root.discount))) {
MoneyPaid = Math.round(58 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "E. Short Sword";
_root.rhanda = 5;
_root.rhandd = 1;
_root.rhands = 3;
_root.WeaponType = "Slash";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "E. Short Sword";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "E. Short Sword";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "E. Short Sword";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "E. Short Sword";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "E. Short Sword";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "E. Short Sword";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "E. Short Sword";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "E. Short Sword";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "E. Short Sword";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "E. Short Sword";
_root.Slot0a = "W";
}
}
}
}
Symbol 517 Button
on (rollOver) {
_root.Test = "Stave";
_root.testa = 4;
_root.testd = 2;
_root.tests = 1;
}
on (release) {
if (_root.Money >= Math.round(51 * (1 + _root.discount))) {
MoneyPaid = Math.round(51 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "E. Staff";
_root.rhanda = 4;
_root.rhandd = 2;
_root.rhands = 1;
_root.WeaponType = "Stave";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "E. Staff";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "E. Staff";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "E. Staff";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "E. Staff";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "E. Staff";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "E. Staff";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "E. Staff";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "E. Staff";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "E. Staff";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "E. Staff";
_root.Slot0a = "W";
}
}
}
}
Symbol 520 Button
on (rollOver) {
_root.Test = "Stab";
_root.testa = 2;
_root.testd = 0;
_root.tests = 5;
}
on (release) {
if (_root.Money >= Math.round(25 * (1 + _root.discount))) {
MoneyPaid = Math.round(25 * (1 + _root.discount));
if (_root.rhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.rhand = "E. Blade";
_root.rhanda = 2;
_root.rhandd = 0;
_root.rhands = 5;
_root.WeaponType = "Stab";
} else if (_root.rhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "E. Blade";
_root.Slot1a = "W";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "E. Blade";
_root.Slot2a = "W";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "E. Blade";
_root.Slot3a = "W";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "E. Blade";
_root.Slot4a = "W";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "E. Blade";
_root.Slot5a = "W";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "E. Blade";
_root.Slot6a = "W";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "E. Blade";
_root.Slot7a = "W";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "E. Blade";
_root.Slot8a = "W";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "E. Blade";
_root.Slot9a = "W";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "E. Blade";
_root.Slot0a = "W";
}
}
}
}
Symbol 522 MovieClip Frame 1
if (_root.Where == "Trollburg") {
gotoAndStop (2);
} else if (_root.Where == "Goblinia") {
gotoAndStop (3);
} else if (_root.Where == "Humanton") {
gotoAndStop (4);
} else if (_root.Where == "Dwarfheim") {
gotoAndStop (5);
} else if (_root.Where == "Elfville") {
gotoAndStop (6);
}
Symbol 522 MovieClip Frame 2
_root.discount = _root.align + 50;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
price1 = Math.round(12 * (1 + _root.discount));
price2 = Math.round(53 * (1 + _root.discount));
price3 = Math.round(24 * (1 + _root.discount));
price4 = Math.round(84 * (1 + _root.discount));
price5 = Math.round(78 * (1 + _root.discount));
price6 = Math.round(63 * (1 + _root.discount));
Symbol 522 MovieClip Frame 3
_root.discount = _root.align + 30;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
price1 = Math.round(22 * (1 + _root.discount));
price2 = Math.round(23 * (1 + _root.discount));
price3 = Math.round(74 * (1 + _root.discount));
price4 = Math.round(53 * (1 + _root.discount));
price5 = Math.round(34 * (1 + _root.discount));
price6 = Math.round(64 * (1 + _root.discount));
Symbol 522 MovieClip Frame 4
_root.discount = _root.align;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
price1 = Math.round(13 * (1 + _root.discount));
price2 = Math.round(73 * (1 + _root.discount));
price3 = Math.round(73 * (1 + _root.discount));
price4 = Math.round(93 * (1 + _root.discount));
price5 = Math.round(55 * (1 + _root.discount));
price6 = Math.round(63 * (1 + _root.discount));
Symbol 522 MovieClip Frame 5
_root.discount = _root.align - 30;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
price1 = Math.round(13 * (1 + _root.discount));
price2 = Math.round(24 * (1 + _root.discount));
price3 = Math.round(64 * (1 + _root.discount));
price4 = Math.round(92 * (1 + _root.discount));
price5 = Math.round(84 * (1 + _root.discount));
price6 = Math.round(46 * (1 + _root.discount));
Symbol 522 MovieClip Frame 6
_root.discount = _root.align - 50;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
price1 = Math.round(13 * (1 + _root.discount));
price2 = Math.round(89 * (1 + _root.discount));
price3 = Math.round(54 * (1 + _root.discount));
price4 = Math.round(51 * (1 + _root.discount));
price5 = Math.round(58 * (1 + _root.discount));
price6 = Math.round(25 * (1 + _root.discount));
Symbol 524 Button
on (release) {
_root.SSlot = _root.Slot1;
CSlot = _root.Slot1;
if (_root.Slot1a == "A") {
_root.typeerror = "no";
_root.sellslot = CSlot;
if (CSlot == "Pheonix Feather") {
_root.sellprice = 80;
} else if (CSlot == "Aura of Peace") {
_root.sellprice = 85;
} else if (CSlot == "Aura of Chaos") {
_root.sellprice = 85;
} else if (CSlot == "Crystal Ball") {
_root.sellprice = 250;
} else if (CSlot == "Eye of Surtur") {
_root.sellprice = 50;
} else if (CSlot == "Blue Cross") {
_root.sellprice = 50;
} else if (CSlot == "Thor's Hammer") {
_root.sellprice = 50;
} else if (CSlot == "Snowflake") {
_root.sellprice = 50;
} else if (CSlot == "Bluegold") {
_root.sellprice = 50;
} else if (CSlot == "Shadow Stone") {
_root.sellprice = 75;
} else if (CSlot == "Silver Tongue") {
_root.sellprice = 60;
} else if (CSlot == "Lion's Heart") {
_root.sellprice = 75;
} else if (CSlot == "Star of Pain") {
_root.sellprice = 50;
} else if (CSlot == "Olive Branch") {
_root.sellprice = 100;
} else if (CSlot == "Bear's Paw") {
_root.sellprice = 100;
} else if (CSlot == "Tusk") {
_root.sellprice = 100;
} else if (CSlot == "Tiger Claw") {
_root.sellprice = 100;
} else if (CSlot == "Arrowhead") {
_root.sellprice = 200;
} else if (CSlot == "Turtle Shell") {
_root.sellprice = 100;
} else if (CSlot == "Dumbbell") {
_root.sellprice = 100;
} else if (CSlot == "Roc Wing") {
_root.sellprice = 100;
} else if (CSlot == "Compass") {
_root.sellprice = 150;
} else if (CSlot == "Toad Stool") {
_root.sellprice = 150;
} else if (CSlot == "Mana Crystal") {
_root.sellprice = 150;
}
} else {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 527 Button
on (release) {
_root.SSlot = _root.Slot2;
CSlot = _root.Slot2;
if (_root.Slot2a == "A") {
_root.typeerror = "no";
_root.sellslot = CSlot;
if (CSlot == "Pheonix Feather") {
_root.sellprice = 80;
} else if (CSlot == "Aura of Peace") {
_root.sellprice = 85;
} else if (CSlot == "Aura of Chaos") {
_root.sellprice = 85;
} else if (CSlot == "Crystal Ball") {
_root.sellprice = 250;
} else if (CSlot == "Eye of Surtur") {
_root.sellprice = 50;
} else if (CSlot == "Blue Cross") {
_root.sellprice = 50;
} else if (CSlot == "Thor's Hammer") {
_root.sellprice = 50;
} else if (CSlot == "Snowflake") {
_root.sellprice = 50;
} else if (CSlot == "Bluegold") {
_root.sellprice = 50;
} else if (CSlot == "Shadow Stone") {
_root.sellprice = 75;
} else if (CSlot == "Silver Tongue") {
_root.sellprice = 60;
} else if (CSlot == "Lion's Heart") {
_root.sellprice = 75;
} else if (CSlot == "Star of Pain") {
_root.sellprice = 50;
} else if (CSlot == "Olive Branch") {
_root.sellprice = 100;
} else if (CSlot == "Bear's Paw") {
_root.sellprice = 100;
} else if (CSlot == "Tusk") {
_root.sellprice = 100;
} else if (CSlot == "Tiger Claw") {
_root.sellprice = 100;
} else if (CSlot == "Arrowhead") {
_root.sellprice = 200;
} else if (CSlot == "Turtle Shell") {
_root.sellprice = 100;
} else if (CSlot == "Dumbbell") {
_root.sellprice = 100;
} else if (CSlot == "Roc Wing") {
_root.sellprice = 100;
} else if (CSlot == "Compass") {
_root.sellprice = 150;
} else if (CSlot == "Toad Stool") {
_root.sellprice = 150;
} else if (CSlot == "Mana Crystal") {
_root.sellprice = 150;
}
} else {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 530 Button
on (release) {
_root.SSlot = _root.Slot3;
CSlot = _root.Slot3;
if (_root.Slot3a == "A") {
_root.typeerror = "no";
_root.sellslot = CSlot;
if (CSlot == "Pheonix Feather") {
_root.sellprice = 80;
} else if (CSlot == "Aura of Peace") {
_root.sellprice = 85;
} else if (CSlot == "Aura of Chaos") {
_root.sellprice = 85;
} else if (CSlot == "Crystal Ball") {
_root.sellprice = 250;
} else if (CSlot == "Eye of Surtur") {
_root.sellprice = 50;
} else if (CSlot == "Blue Cross") {
_root.sellprice = 50;
} else if (CSlot == "Thor's Hammer") {
_root.sellprice = 50;
} else if (CSlot == "Snowflake") {
_root.sellprice = 50;
} else if (CSlot == "Bluegold") {
_root.sellprice = 50;
} else if (CSlot == "Shadow Stone") {
_root.sellprice = 75;
} else if (CSlot == "Silver Tongue") {
_root.sellprice = 60;
} else if (CSlot == "Lion's Heart") {
_root.sellprice = 75;
} else if (CSlot == "Star of Pain") {
_root.sellprice = 50;
} else if (CSlot == "Olive Branch") {
_root.sellprice = 100;
} else if (CSlot == "Bear's Paw") {
_root.sellprice = 100;
} else if (CSlot == "Tusk") {
_root.sellprice = 100;
} else if (CSlot == "Tiger Claw") {
_root.sellprice = 100;
} else if (CSlot == "Arrowhead") {
_root.sellprice = 200;
} else if (CSlot == "Turtle Shell") {
_root.sellprice = 100;
} else if (CSlot == "Dumbbell") {
_root.sellprice = 100;
} else if (CSlot == "Roc Wing") {
_root.sellprice = 100;
} else if (CSlot == "Compass") {
_root.sellprice = 150;
} else if (CSlot == "Toad Stool") {
_root.sellprice = 150;
} else if (CSlot == "Mana Crystal") {
_root.sellprice = 150;
}
} else {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 533 Button
on (release) {
_root.SSlot = _root.Slot4;
CSlot = _root.Slot4;
if (_root.Slot4a == "A") {
_root.typeerror = "no";
_root.sellslot = CSlot;
if (CSlot == "Pheonix Feather") {
_root.sellprice = 80;
} else if (CSlot == "Aura of Peace") {
_root.sellprice = 85;
} else if (CSlot == "Aura of Chaos") {
_root.sellprice = 85;
} else if (CSlot == "Crystal Ball") {
_root.sellprice = 250;
} else if (CSlot == "Eye of Surtur") {
_root.sellprice = 50;
} else if (CSlot == "Blue Cross") {
_root.sellprice = 50;
} else if (CSlot == "Thor's Hammer") {
_root.sellprice = 50;
} else if (CSlot == "Snowflake") {
_root.sellprice = 50;
} else if (CSlot == "Bluegold") {
_root.sellprice = 50;
} else if (CSlot == "Shadow Stone") {
_root.sellprice = 75;
} else if (CSlot == "Silver Tongue") {
_root.sellprice = 60;
} else if (CSlot == "Lion's Heart") {
_root.sellprice = 75;
} else if (CSlot == "Star of Pain") {
_root.sellprice = 50;
} else if (CSlot == "Olive Branch") {
_root.sellprice = 100;
} else if (CSlot == "Bear's Paw") {
_root.sellprice = 100;
} else if (CSlot == "Tusk") {
_root.sellprice = 100;
} else if (CSlot == "Tiger Claw") {
_root.sellprice = 100;
} else if (CSlot == "Arrowhead") {
_root.sellprice = 200;
} else if (CSlot == "Turtle Shell") {
_root.sellprice = 100;
} else if (CSlot == "Dumbbell") {
_root.sellprice = 100;
} else if (CSlot == "Roc Wing") {
_root.sellprice = 100;
} else if (CSlot == "Compass") {
_root.sellprice = 150;
} else if (CSlot == "Toad Stool") {
_root.sellprice = 150;
} else if (CSlot == "Mana Crystal") {
_root.sellprice = 150;
}
} else {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 536 Button
on (release) {
_root.SSlot = _root.Slot5;
CSlot = _root.Slot5;
if (_root.Slot5a == "A") {
_root.typeerror = "no";
_root.sellslot = CSlot;
if (CSlot == "Pheonix Feather") {
_root.sellprice = 80;
} else if (CSlot == "Aura of Peace") {
_root.sellprice = 85;
} else if (CSlot == "Aura of Chaos") {
_root.sellprice = 85;
} else if (CSlot == "Crystal Ball") {
_root.sellprice = 250;
} else if (CSlot == "Eye of Surtur") {
_root.sellprice = 50;
} else if (CSlot == "Blue Cross") {
_root.sellprice = 50;
} else if (CSlot == "Thor's Hammer") {
_root.sellprice = 50;
} else if (CSlot == "Snowflake") {
_root.sellprice = 50;
} else if (CSlot == "Bluegold") {
_root.sellprice = 50;
} else if (CSlot == "Shadow Stone") {
_root.sellprice = 75;
} else if (CSlot == "Silver Tongue") {
_root.sellprice = 60;
} else if (CSlot == "Lion's Heart") {
_root.sellprice = 75;
} else if (CSlot == "Star of Pain") {
_root.sellprice = 50;
} else if (CSlot == "Olive Branch") {
_root.sellprice = 100;
} else if (CSlot == "Bear's Paw") {
_root.sellprice = 100;
} else if (CSlot == "Tusk") {
_root.sellprice = 100;
} else if (CSlot == "Tiger Claw") {
_root.sellprice = 100;
} else if (CSlot == "Arrowhead") {
_root.sellprice = 200;
} else if (CSlot == "Turtle Shell") {
_root.sellprice = 100;
} else if (CSlot == "Dumbbell") {
_root.sellprice = 100;
} else if (CSlot == "Roc Wing") {
_root.sellprice = 100;
} else if (CSlot == "Compass") {
_root.sellprice = 150;
} else if (CSlot == "Toad Stool") {
_root.sellprice = 150;
} else if (CSlot == "Mana Crystal") {
_root.sellprice = 150;
}
} else {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 539 Button
on (release) {
_root.SSlot = _root.Slot6;
CSlot = _root.Slot6;
if (_root.Slot6a == "A") {
_root.typeerror = "no";
_root.sellslot = CSlot;
if (CSlot == "Pheonix Feather") {
_root.sellprice = 80;
} else if (CSlot == "Aura of Peace") {
_root.sellprice = 85;
} else if (CSlot == "Aura of Chaos") {
_root.sellprice = 85;
} else if (CSlot == "Crystal Ball") {
_root.sellprice = 250;
} else if (CSlot == "Eye of Surtur") {
_root.sellprice = 50;
} else if (CSlot == "Blue Cross") {
_root.sellprice = 50;
} else if (CSlot == "Thor's Hammer") {
_root.sellprice = 50;
} else if (CSlot == "Snowflake") {
_root.sellprice = 50;
} else if (CSlot == "Bluegold") {
_root.sellprice = 50;
} else if (CSlot == "Shadow Stone") {
_root.sellprice = 75;
} else if (CSlot == "Silver Tongue") {
_root.sellprice = 60;
} else if (CSlot == "Lion's Heart") {
_root.sellprice = 75;
} else if (CSlot == "Star of Pain") {
_root.sellprice = 50;
} else if (CSlot == "Olive Branch") {
_root.sellprice = 100;
} else if (CSlot == "Bear's Paw") {
_root.sellprice = 100;
} else if (CSlot == "Tusk") {
_root.sellprice = 100;
} else if (CSlot == "Tiger Claw") {
_root.sellprice = 100;
} else if (CSlot == "Arrowhead") {
_root.sellprice = 200;
} else if (CSlot == "Turtle Shell") {
_root.sellprice = 100;
} else if (CSlot == "Dumbbell") {
_root.sellprice = 100;
} else if (CSlot == "Roc Wing") {
_root.sellprice = 100;
} else if (CSlot == "Compass") {
_root.sellprice = 150;
} else if (CSlot == "Toad Stool") {
_root.sellprice = 150;
} else if (CSlot == "Mana Crystal") {
_root.sellprice = 150;
}
} else {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 542 Button
on (release) {
_root.SSlot = _root.Slot7;
CSlot = _root.Slot7;
if (_root.Slot7a == "A") {
_root.typeerror = "no";
_root.sellslot = CSlot;
if (CSlot == "Pheonix Feather") {
_root.sellprice = 80;
} else if (CSlot == "Aura of Peace") {
_root.sellprice = 85;
} else if (CSlot == "Aura of Chaos") {
_root.sellprice = 85;
} else if (CSlot == "Crystal Ball") {
_root.sellprice = 250;
} else if (CSlot == "Eye of Surtur") {
_root.sellprice = 50;
} else if (CSlot == "Blue Cross") {
_root.sellprice = 50;
} else if (CSlot == "Thor's Hammer") {
_root.sellprice = 50;
} else if (CSlot == "Snowflake") {
_root.sellprice = 50;
} else if (CSlot == "Bluegold") {
_root.sellprice = 50;
} else if (CSlot == "Shadow Stone") {
_root.sellprice = 75;
} else if (CSlot == "Silver Tongue") {
_root.sellprice = 60;
} else if (CSlot == "Lion's Heart") {
_root.sellprice = 75;
} else if (CSlot == "Star of Pain") {
_root.sellprice = 50;
} else if (CSlot == "Olive Branch") {
_root.sellprice = 100;
} else if (CSlot == "Bear's Paw") {
_root.sellprice = 100;
} else if (CSlot == "Tusk") {
_root.sellprice = 100;
} else if (CSlot == "Tiger Claw") {
_root.sellprice = 100;
} else if (CSlot == "Arrowhead") {
_root.sellprice = 200;
} else if (CSlot == "Turtle Shell") {
_root.sellprice = 100;
} else if (CSlot == "Dumbbell") {
_root.sellprice = 100;
} else if (CSlot == "Roc Wing") {
_root.sellprice = 100;
} else if (CSlot == "Compass") {
_root.sellprice = 150;
} else if (CSlot == "Toad Stool") {
_root.sellprice = 150;
} else if (CSlot == "Mana Crystal") {
_root.sellprice = 150;
}
} else {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 545 Button
on (release) {
_root.SSlot = _root.Slot8;
CSlot = _root.Slot8;
if (_root.Slot8a == "A") {
_root.typeerror = "no";
_root.sellslot = CSlot;
if (CSlot == "Pheonix Feather") {
_root.sellprice = 80;
} else if (CSlot == "Aura of Peace") {
_root.sellprice = 85;
} else if (CSlot == "Aura of Chaos") {
_root.sellprice = 85;
} else if (CSlot == "Crystal Ball") {
_root.sellprice = 250;
} else if (CSlot == "Eye of Surtur") {
_root.sellprice = 50;
} else if (CSlot == "Blue Cross") {
_root.sellprice = 50;
} else if (CSlot == "Thor's Hammer") {
_root.sellprice = 50;
} else if (CSlot == "Snowflake") {
_root.sellprice = 50;
} else if (CSlot == "Bluegold") {
_root.sellprice = 50;
} else if (CSlot == "Shadow Stone") {
_root.sellprice = 75;
} else if (CSlot == "Silver Tongue") {
_root.sellprice = 60;
} else if (CSlot == "Lion's Heart") {
_root.sellprice = 75;
} else if (CSlot == "Star of Pain") {
_root.sellprice = 50;
} else if (CSlot == "Olive Branch") {
_root.sellprice = 100;
} else if (CSlot == "Bear's Paw") {
_root.sellprice = 100;
} else if (CSlot == "Tusk") {
_root.sellprice = 100;
} else if (CSlot == "Tiger Claw") {
_root.sellprice = 100;
} else if (CSlot == "Arrowhead") {
_root.sellprice = 200;
} else if (CSlot == "Turtle Shell") {
_root.sellprice = 100;
} else if (CSlot == "Dumbbell") {
_root.sellprice = 100;
} else if (CSlot == "Roc Wing") {
_root.sellprice = 100;
} else if (CSlot == "Compass") {
_root.sellprice = 150;
} else if (CSlot == "Toad Stool") {
_root.sellprice = 150;
} else if (CSlot == "Mana Crystal") {
_root.sellprice = 150;
}
} else {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 548 Button
on (release) {
_root.SSlot = _root.Slot9;
CSlot = _root.Slot9;
if (_root.Slot9a == "A") {
_root.typeerror = "no";
_root.sellslot = CSlot;
if (CSlot == "Pheonix Feather") {
_root.sellprice = 80;
} else if (CSlot == "Aura of Peace") {
_root.sellprice = 85;
} else if (CSlot == "Aura of Chaos") {
_root.sellprice = 85;
} else if (CSlot == "Crystal Ball") {
_root.sellprice = 250;
} else if (CSlot == "Eye of Surtur") {
_root.sellprice = 50;
} else if (CSlot == "Blue Cross") {
_root.sellprice = 50;
} else if (CSlot == "Thor's Hammer") {
_root.sellprice = 50;
} else if (CSlot == "Snowflake") {
_root.sellprice = 50;
} else if (CSlot == "Bluegold") {
_root.sellprice = 50;
} else if (CSlot == "Shadow Stone") {
_root.sellprice = 75;
} else if (CSlot == "Silver Tongue") {
_root.sellprice = 60;
} else if (CSlot == "Lion's Heart") {
_root.sellprice = 75;
} else if (CSlot == "Star of Pain") {
_root.sellprice = 50;
} else if (CSlot == "Olive Branch") {
_root.sellprice = 100;
} else if (CSlot == "Bear's Paw") {
_root.sellprice = 100;
} else if (CSlot == "Tusk") {
_root.sellprice = 100;
} else if (CSlot == "Tiger Claw") {
_root.sellprice = 100;
} else if (CSlot == "Arrowhead") {
_root.sellprice = 200;
} else if (CSlot == "Turtle Shell") {
_root.sellprice = 100;
} else if (CSlot == "Dumbbell") {
_root.sellprice = 100;
} else if (CSlot == "Roc Wing") {
_root.sellprice = 100;
} else if (CSlot == "Compass") {
_root.sellprice = 150;
} else if (CSlot == "Toad Stool") {
_root.sellprice = 150;
} else if (CSlot == "Mana Crystal") {
_root.sellprice = 150;
}
} else {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 551 Button
on (release) {
_root.SSlot = _root.Slot0;
CSlot = _root.Slot0;
if (_root.Slot0a == "A") {
_root.typeerror = "no";
_root.sellslot = CSlot;
if (CSlot == "Pheonix Feather") {
_root.sellprice = 80;
} else if (CSlot == "Aura of Peace") {
_root.sellprice = 85;
} else if (CSlot == "Aura of Chaos") {
_root.sellprice = 85;
} else if (CSlot == "Crystal Ball") {
_root.sellprice = 250;
} else if (CSlot == "Eye of Surtur") {
_root.sellprice = 50;
} else if (CSlot == "Blue Cross") {
_root.sellprice = 50;
} else if (CSlot == "Thor's Hammer") {
_root.sellprice = 50;
} else if (CSlot == "Snowflake") {
_root.sellprice = 50;
} else if (CSlot == "Bluegold") {
_root.sellprice = 50;
} else if (CSlot == "Shadow Stone") {
_root.sellprice = 75;
} else if (CSlot == "Silver Tongue") {
_root.sellprice = 60;
} else if (CSlot == "Lion's Heart") {
_root.sellprice = 75;
} else if (CSlot == "Star of Pain") {
_root.sellprice = 50;
} else if (CSlot == "Olive Branch") {
_root.sellprice = 100;
} else if (CSlot == "Bear's Paw") {
_root.sellprice = 100;
} else if (CSlot == "Tusk") {
_root.sellprice = 100;
} else if (CSlot == "Tiger Claw") {
_root.sellprice = 100;
} else if (CSlot == "Arrowhead") {
_root.sellprice = 200;
} else if (CSlot == "Turtle Shell") {
_root.sellprice = 100;
} else if (CSlot == "Dumbbell") {
_root.sellprice = 100;
} else if (CSlot == "Roc Wing") {
_root.sellprice = 100;
} else if (CSlot == "Compass") {
_root.sellprice = 150;
} else if (CSlot == "Toad Stool") {
_root.sellprice = 150;
} else if (CSlot == "Mana Crystal") {
_root.sellprice = 150;
}
} else {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 553 Button
on (release) {
_root.amuletsell._visible = false;
}
Symbol 557 Button
on (release) {
_root.SSlot = _root.Slot1;
CSlot = _root.Slot1;
if (_root.Slot1a == "W") {
_root.typeerror = "no";
_root.sellslot = CSlot;
if (CSlot == "T. Spear") {
_root.sellprice = 28;
} else if (CSlot == "T. Pike") {
_root.sellprice = 33;
} else if (CSlot == "T. Axe") {
_root.sellprice = 69;
} else if (CSlot == "T. Hammer") {
_root.sellprice = 58;
} else if (CSlot == "T. Club") {
_root.sellprice = 61;
} else if (CSlot == "T. Knife") {
_root.sellprice = 7;
} else if (CSlot == "T. Blade") {
_root.sellprice = 14;
} else if (CSlot == "T. Sword") {
_root.sellprice = 40;
} else if (CSlot == "T. Heavy Sword") {
_root.sellprice = 44;
} else if (CSlot == "G. Spear") {
_root.sellprice = 39;
} else if (CSlot == "G. Pike") {
_root.sellprice = 40;
} else if (CSlot == "G. Axe") {
_root.sellprice = 57;
} else if (CSlot == "G. Mace") {
_root.sellprice = 55;
} else if (CSlot == "G. Knife") {
_root.sellprice = 13;
} else if (CSlot == "G. Dagger") {
_root.sellprice = 12;
} else if (CSlot == "G. Blade") {
_root.sellprice = 19;
} else if (CSlot == "G. Big Knife") {
_root.sellprice = 28;
} else if (CSlot == "G. Scymetar") {
_root.sellprice = 34;
} else if (CSlot == "H. Staff") {
_root.sellprice = 28;
} else if (CSlot == "H. Spear") {
_root.sellprice = 33;
} else if (CSlot == "H. Pike") {
_root.sellprice = 38;
} else if (CSlot == "H. Axe") {
_root.sellprice = 65;
} else if (CSlot == "H. Hammer") {
_root.sellprice = 62;
} else if (CSlot == "H. Mace") {
_root.sellprice = 59;
} else if (CSlot == "H. Knife") {
_root.sellprice = 8;
} else if (CSlot == "H. Broad Sword") {
_root.sellprice = 47;
} else if (CSlot == "H. Rapier") {
_root.sellprice = 30;
} else if (CSlot == "H. Scimitar") {
_root.sellprice = 37;
} else if (CSlot == "D. Staff") {
_root.sellprice = 23;
} else if (CSlot == "D. Pike") {
_root.sellprice = 34;
} else if (CSlot == "D. Axe") {
_root.sellprice = 66;
} else if (CSlot == "D. Hammer") {
_root.sellprice = 56;
} else if (CSlot == "D. Knife") {
_root.sellprice = 8;
} else if (CSlot == "D. Blade") {
_root.sellprice = 14;
} else if (CSlot == "D. Long Sword") {
_root.sellprice = 43;
} else if (CSlot == "D. Short Sword") {
_root.sellprice = 30;
} else if (CSlot == "D. Broad Sword") {
_root.sellprice = 46;
} else if (CSlot == "E. Staff") {
_root.sellprice = 25;
} else if (CSlot == "E. Spear") {
_root.sellprice = 29;
} else if (CSlot == "E. Hammer") {
_root.sellprice = 52;
} else if (CSlot == "E. Mace") {
_root.sellprice = 53;
} else if (CSlot == "E. Knife") {
_root.sellprice = 9;
} else if (CSlot == "E. Dagger") {
_root.sellprice = 8;
} else if (CSlot == "E. Blade") {
_root.sellprice = 15;
} else if (CSlot == "E. Long Sword") {
_root.sellprice = 46;
} else if (CSlot == "E. Short Sword") {
_root.sellprice = 30;
} else if (CSlot == "Flaming Sword") {
_root.sellprice = 150;
} else if (CSlot == "Magic Staff") {
_root.sellprice = 282;
} else if (CSlot == "Trident") {
_root.sellprice = 44;
} else if (CSlot == "Main Gauche") {
_root.sellprice = 20;
}
} else {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 560 Button
on (release) {
_root.SSlot = _root.Slot2;
CSlot = _root.Slot2;
if (_root.Slot2a == "W") {
_root.typeerror = "no";
_root.sellslot = CSlot;
if (CSlot == "T. Spear") {
_root.sellprice = 28;
} else if (CSlot == "T. Pike") {
_root.sellprice = 33;
} else if (CSlot == "T. Axe") {
_root.sellprice = 69;
} else if (CSlot == "T. Hammer") {
_root.sellprice = 58;
} else if (CSlot == "T. Club") {
_root.sellprice = 61;
} else if (CSlot == "T. Knife") {
_root.sellprice = 7;
} else if (CSlot == "T. Blade") {
_root.sellprice = 14;
} else if (CSlot == "T. Sword") {
_root.sellprice = 40;
} else if (CSlot == "T. Heavy Sword") {
_root.sellprice = 44;
} else if (CSlot == "G. Spear") {
_root.sellprice = 39;
} else if (CSlot == "G. Pike") {
_root.sellprice = 40;
} else if (CSlot == "G. Axe") {
_root.sellprice = 57;
} else if (CSlot == "G. Mace") {
_root.sellprice = 55;
} else if (CSlot == "G. Knife") {
_root.sellprice = 13;
} else if (CSlot == "G. Dagger") {
_root.sellprice = 12;
} else if (CSlot == "G. Blade") {
_root.sellprice = 19;
} else if (CSlot == "G. Big Knife") {
_root.sellprice = 28;
} else if (CSlot == "G. Scymetar") {
_root.sellprice = 34;
} else if (CSlot == "H. Staff") {
_root.sellprice = 28;
} else if (CSlot == "H. Spear") {
_root.sellprice = 33;
} else if (CSlot == "H. Pike") {
_root.sellprice = 38;
} else if (CSlot == "H. Axe") {
_root.sellprice = 65;
} else if (CSlot == "H. Hammer") {
_root.sellprice = 62;
} else if (CSlot == "H. Mace") {
_root.sellprice = 59;
} else if (CSlot == "H. Knife") {
_root.sellprice = 8;
} else if (CSlot == "H. Broad Sword") {
_root.sellprice = 47;
} else if (CSlot == "H. Rapier") {
_root.sellprice = 30;
} else if (CSlot == "H. Scimitar") {
_root.sellprice = 37;
} else if (CSlot == "D. Staff") {
_root.sellprice = 23;
} else if (CSlot == "D. Pike") {
_root.sellprice = 34;
} else if (CSlot == "D. Axe") {
_root.sellprice = 66;
} else if (CSlot == "D. Hammer") {
_root.sellprice = 56;
} else if (CSlot == "D. Knife") {
_root.sellprice = 8;
} else if (CSlot == "D. Blade") {
_root.sellprice = 14;
} else if (CSlot == "D. Long Sword") {
_root.sellprice = 43;
} else if (CSlot == "D. Short Sword") {
_root.sellprice = 30;
} else if (CSlot == "D. Broad Sword") {
_root.sellprice = 46;
} else if (CSlot == "E. Staff") {
_root.sellprice = 25;
} else if (CSlot == "E. Spear") {
_root.sellprice = 29;
} else if (CSlot == "E. Hammer") {
_root.sellprice = 52;
} else if (CSlot == "E. Mace") {
_root.sellprice = 53;
} else if (CSlot == "E. Knife") {
_root.sellprice = 9;
} else if (CSlot == "E. Dagger") {
_root.sellprice = 8;
} else if (CSlot == "E. Blade") {
_root.sellprice = 15;
} else if (CSlot == "E. Long Sword") {
_root.sellprice = 46;
} else if (CSlot == "E. Short Sword") {
_root.sellprice = 30;
} else if (CSlot == "Flaming Sword") {
_root.sellprice = 150;
} else if (CSlot == "Magic Staff") {
_root.sellprice = 282;
} else if (CSlot == "Trident") {
_root.sellprice = 44;
} else if (CSlot == "Main Gauche") {
_root.sellprice = 20;
}
} else {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 563 Button
on (release) {
_root.SSlot = _root.Slot3;
CSlot = _root.Slot3;
if (_root.Slot3a == "W") {
_root.typeerror = "no";
_root.sellslot = CSlot;
if (CSlot == "T. Spear") {
_root.sellprice = 28;
} else if (CSlot == "T. Pike") {
_root.sellprice = 33;
} else if (CSlot == "T. Axe") {
_root.sellprice = 69;
} else if (CSlot == "T. Hammer") {
_root.sellprice = 58;
} else if (CSlot == "T. Club") {
_root.sellprice = 61;
} else if (CSlot == "T. Knife") {
_root.sellprice = 7;
} else if (CSlot == "T. Blade") {
_root.sellprice = 14;
} else if (CSlot == "T. Sword") {
_root.sellprice = 40;
} else if (CSlot == "T. Heavy Sword") {
_root.sellprice = 44;
} else if (CSlot == "G. Spear") {
_root.sellprice = 39;
} else if (CSlot == "G. Pike") {
_root.sellprice = 40;
} else if (CSlot == "G. Axe") {
_root.sellprice = 57;
} else if (CSlot == "G. Mace") {
_root.sellprice = 55;
} else if (CSlot == "G. Knife") {
_root.sellprice = 13;
} else if (CSlot == "G. Dagger") {
_root.sellprice = 12;
} else if (CSlot == "G. Blade") {
_root.sellprice = 19;
} else if (CSlot == "G. Big Knife") {
_root.sellprice = 28;
} else if (CSlot == "G. Scymetar") {
_root.sellprice = 34;
} else if (CSlot == "H. Staff") {
_root.sellprice = 28;
} else if (CSlot == "H. Spear") {
_root.sellprice = 33;
} else if (CSlot == "H. Pike") {
_root.sellprice = 38;
} else if (CSlot == "H. Axe") {
_root.sellprice = 65;
} else if (CSlot == "H. Hammer") {
_root.sellprice = 62;
} else if (CSlot == "H. Mace") {
_root.sellprice = 59;
} else if (CSlot == "H. Knife") {
_root.sellprice = 8;
} else if (CSlot == "H. Broad Sword") {
_root.sellprice = 47;
} else if (CSlot == "H. Rapier") {
_root.sellprice = 30;
} else if (CSlot == "H. Scimitar") {
_root.sellprice = 37;
} else if (CSlot == "D. Staff") {
_root.sellprice = 23;
} else if (CSlot == "D. Pike") {
_root.sellprice = 34;
} else if (CSlot == "D. Axe") {
_root.sellprice = 66;
} else if (CSlot == "D. Hammer") {
_root.sellprice = 56;
} else if (CSlot == "D. Knife") {
_root.sellprice = 8;
} else if (CSlot == "D. Blade") {
_root.sellprice = 14;
} else if (CSlot == "D. Long Sword") {
_root.sellprice = 43;
} else if (CSlot == "D. Short Sword") {
_root.sellprice = 30;
} else if (CSlot == "D. Broad Sword") {
_root.sellprice = 46;
} else if (CSlot == "E. Staff") {
_root.sellprice = 25;
} else if (CSlot == "E. Spear") {
_root.sellprice = 29;
} else if (CSlot == "E. Hammer") {
_root.sellprice = 52;
} else if (CSlot == "E. Mace") {
_root.sellprice = 53;
} else if (CSlot == "E. Knife") {
_root.sellprice = 9;
} else if (CSlot == "E. Dagger") {
_root.sellprice = 8;
} else if (CSlot == "E. Blade") {
_root.sellprice = 15;
} else if (CSlot == "E. Long Sword") {
_root.sellprice = 46;
} else if (CSlot == "E. Short Sword") {
_root.sellprice = 30;
} else if (CSlot == "Flaming Sword") {
_root.sellprice = 150;
} else if (CSlot == "Magic Staff") {
_root.sellprice = 282;
} else if (CSlot == "Trident") {
_root.sellprice = 44;
} else if (CSlot == "Main Gauche") {
_root.sellprice = 20;
}
} else {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 566 Button
on (release) {
_root.SSlot = _root.Slot4;
CSlot = _root.Slot4;
if (_root.Slot4a == "W") {
_root.typeerror = "no";
_root.sellslot = CSlot;
if (CSlot == "T. Spear") {
_root.sellprice = 28;
} else if (CSlot == "T. Pike") {
_root.sellprice = 33;
} else if (CSlot == "T. Axe") {
_root.sellprice = 69;
} else if (CSlot == "T. Hammer") {
_root.sellprice = 58;
} else if (CSlot == "T. Club") {
_root.sellprice = 61;
} else if (CSlot == "T. Knife") {
_root.sellprice = 7;
} else if (CSlot == "T. Blade") {
_root.sellprice = 14;
} else if (CSlot == "T. Sword") {
_root.sellprice = 40;
} else if (CSlot == "T. Heavy Sword") {
_root.sellprice = 44;
} else if (CSlot == "G. Spear") {
_root.sellprice = 39;
} else if (CSlot == "G. Pike") {
_root.sellprice = 40;
} else if (CSlot == "G. Axe") {
_root.sellprice = 57;
} else if (CSlot == "G. Mace") {
_root.sellprice = 55;
} else if (CSlot == "G. Knife") {
_root.sellprice = 13;
} else if (CSlot == "G. Dagger") {
_root.sellprice = 12;
} else if (CSlot == "G. Blade") {
_root.sellprice = 19;
} else if (CSlot == "G. Big Knife") {
_root.sellprice = 28;
} else if (CSlot == "G. Scymetar") {
_root.sellprice = 34;
} else if (CSlot == "H. Staff") {
_root.sellprice = 28;
} else if (CSlot == "H. Spear") {
_root.sellprice = 33;
} else if (CSlot == "H. Pike") {
_root.sellprice = 38;
} else if (CSlot == "H. Axe") {
_root.sellprice = 65;
} else if (CSlot == "H. Hammer") {
_root.sellprice = 62;
} else if (CSlot == "H. Mace") {
_root.sellprice = 59;
} else if (CSlot == "H. Knife") {
_root.sellprice = 8;
} else if (CSlot == "H. Broad Sword") {
_root.sellprice = 47;
} else if (CSlot == "H. Rapier") {
_root.sellprice = 30;
} else if (CSlot == "H. Scimitar") {
_root.sellprice = 37;
} else if (CSlot == "D. Staff") {
_root.sellprice = 23;
} else if (CSlot == "D. Pike") {
_root.sellprice = 34;
} else if (CSlot == "D. Axe") {
_root.sellprice = 66;
} else if (CSlot == "D. Hammer") {
_root.sellprice = 56;
} else if (CSlot == "D. Knife") {
_root.sellprice = 8;
} else if (CSlot == "D. Blade") {
_root.sellprice = 14;
} else if (CSlot == "D. Long Sword") {
_root.sellprice = 43;
} else if (CSlot == "D. Short Sword") {
_root.sellprice = 30;
} else if (CSlot == "D. Broad Sword") {
_root.sellprice = 46;
} else if (CSlot == "E. Staff") {
_root.sellprice = 25;
} else if (CSlot == "E. Spear") {
_root.sellprice = 29;
} else if (CSlot == "E. Hammer") {
_root.sellprice = 52;
} else if (CSlot == "E. Mace") {
_root.sellprice = 53;
} else if (CSlot == "E. Knife") {
_root.sellprice = 9;
} else if (CSlot == "E. Dagger") {
_root.sellprice = 8;
} else if (CSlot == "E. Blade") {
_root.sellprice = 15;
} else if (CSlot == "E. Long Sword") {
_root.sellprice = 46;
} else if (CSlot == "E. Short Sword") {
_root.sellprice = 30;
} else if (CSlot == "Flaming Sword") {
_root.sellprice = 150;
} else if (CSlot == "Magic Staff") {
_root.sellprice = 282;
} else if (CSlot == "Trident") {
_root.sellprice = 44;
} else if (CSlot == "Main Gauche") {
_root.sellprice = 20;
}
} else {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 569 Button
on (release) {
_root.SSlot = _root.Slot5;
CSlot = _root.Slot5;
if (_root.Slot5a == "W") {
_root.typeerror = "no";
_root.sellslot = CSlot;
if (CSlot == "T. Spear") {
_root.sellprice = 28;
} else if (CSlot == "T. Pike") {
_root.sellprice = 33;
} else if (CSlot == "T. Axe") {
_root.sellprice = 69;
} else if (CSlot == "T. Hammer") {
_root.sellprice = 58;
} else if (CSlot == "T. Club") {
_root.sellprice = 61;
} else if (CSlot == "T. Knife") {
_root.sellprice = 7;
} else if (CSlot == "T. Blade") {
_root.sellprice = 14;
} else if (CSlot == "T. Sword") {
_root.sellprice = 40;
} else if (CSlot == "T. Heavy Sword") {
_root.sellprice = 44;
} else if (CSlot == "G. Spear") {
_root.sellprice = 39;
} else if (CSlot == "G. Pike") {
_root.sellprice = 40;
} else if (CSlot == "G. Axe") {
_root.sellprice = 57;
} else if (CSlot == "G. Mace") {
_root.sellprice = 55;
} else if (CSlot == "G. Knife") {
_root.sellprice = 13;
} else if (CSlot == "G. Dagger") {
_root.sellprice = 12;
} else if (CSlot == "G. Blade") {
_root.sellprice = 19;
} else if (CSlot == "G. Big Knife") {
_root.sellprice = 28;
} else if (CSlot == "G. Scymetar") {
_root.sellprice = 34;
} else if (CSlot == "H. Staff") {
_root.sellprice = 28;
} else if (CSlot == "H. Spear") {
_root.sellprice = 33;
} else if (CSlot == "H. Pike") {
_root.sellprice = 38;
} else if (CSlot == "H. Axe") {
_root.sellprice = 65;
} else if (CSlot == "H. Hammer") {
_root.sellprice = 62;
} else if (CSlot == "H. Mace") {
_root.sellprice = 59;
} else if (CSlot == "H. Knife") {
_root.sellprice = 8;
} else if (CSlot == "H. Broad Sword") {
_root.sellprice = 47;
} else if (CSlot == "H. Rapier") {
_root.sellprice = 30;
} else if (CSlot == "H. Scimitar") {
_root.sellprice = 37;
} else if (CSlot == "D. Staff") {
_root.sellprice = 23;
} else if (CSlot == "D. Pike") {
_root.sellprice = 34;
} else if (CSlot == "D. Axe") {
_root.sellprice = 66;
} else if (CSlot == "D. Hammer") {
_root.sellprice = 56;
} else if (CSlot == "D. Knife") {
_root.sellprice = 8;
} else if (CSlot == "D. Blade") {
_root.sellprice = 14;
} else if (CSlot == "D. Long Sword") {
_root.sellprice = 43;
} else if (CSlot == "D. Short Sword") {
_root.sellprice = 30;
} else if (CSlot == "D. Broad Sword") {
_root.sellprice = 46;
} else if (CSlot == "E. Staff") {
_root.sellprice = 25;
} else if (CSlot == "E. Spear") {
_root.sellprice = 29;
} else if (CSlot == "E. Hammer") {
_root.sellprice = 52;
} else if (CSlot == "E. Mace") {
_root.sellprice = 53;
} else if (CSlot == "E. Knife") {
_root.sellprice = 9;
} else if (CSlot == "E. Dagger") {
_root.sellprice = 8;
} else if (CSlot == "E. Blade") {
_root.sellprice = 15;
} else if (CSlot == "E. Long Sword") {
_root.sellprice = 46;
} else if (CSlot == "E. Short Sword") {
_root.sellprice = 30;
} else if (CSlot == "Flaming Sword") {
_root.sellprice = 150;
} else if (CSlot == "Magic Staff") {
_root.sellprice = 282;
} else if (CSlot == "Trident") {
_root.sellprice = 44;
} else if (CSlot == "Main Gauche") {
_root.sellprice = 20;
}
} else {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 572 Button
on (release) {
_root.SSlot = _root.Slot6;
CSlot = _root.Slot6;
if (_root.Slot6a == "W") {
_root.typeerror = "no";
_root.sellslot = CSlot;
if (CSlot == "T. Spear") {
_root.sellprice = 28;
} else if (CSlot == "T. Pike") {
_root.sellprice = 33;
} else if (CSlot == "T. Axe") {
_root.sellprice = 69;
} else if (CSlot == "T. Hammer") {
_root.sellprice = 58;
} else if (CSlot == "T. Club") {
_root.sellprice = 61;
} else if (CSlot == "T. Knife") {
_root.sellprice = 7;
} else if (CSlot == "T. Blade") {
_root.sellprice = 14;
} else if (CSlot == "T. Sword") {
_root.sellprice = 40;
} else if (CSlot == "T. Heavy Sword") {
_root.sellprice = 44;
} else if (CSlot == "G. Spear") {
_root.sellprice = 39;
} else if (CSlot == "G. Pike") {
_root.sellprice = 40;
} else if (CSlot == "G. Axe") {
_root.sellprice = 57;
} else if (CSlot == "G. Mace") {
_root.sellprice = 55;
} else if (CSlot == "G. Knife") {
_root.sellprice = 13;
} else if (CSlot == "G. Dagger") {
_root.sellprice = 12;
} else if (CSlot == "G. Blade") {
_root.sellprice = 19;
} else if (CSlot == "G. Big Knife") {
_root.sellprice = 28;
} else if (CSlot == "G. Scymetar") {
_root.sellprice = 34;
} else if (CSlot == "H. Staff") {
_root.sellprice = 28;
} else if (CSlot == "H. Spear") {
_root.sellprice = 33;
} else if (CSlot == "H. Pike") {
_root.sellprice = 38;
} else if (CSlot == "H. Axe") {
_root.sellprice = 65;
} else if (CSlot == "H. Hammer") {
_root.sellprice = 62;
} else if (CSlot == "H. Mace") {
_root.sellprice = 59;
} else if (CSlot == "H. Knife") {
_root.sellprice = 8;
} else if (CSlot == "H. Broad Sword") {
_root.sellprice = 47;
} else if (CSlot == "H. Rapier") {
_root.sellprice = 30;
} else if (CSlot == "H. Scimitar") {
_root.sellprice = 37;
} else if (CSlot == "D. Staff") {
_root.sellprice = 23;
} else if (CSlot == "D. Pike") {
_root.sellprice = 34;
} else if (CSlot == "D. Axe") {
_root.sellprice = 66;
} else if (CSlot == "D. Hammer") {
_root.sellprice = 56;
} else if (CSlot == "D. Knife") {
_root.sellprice = 8;
} else if (CSlot == "D. Blade") {
_root.sellprice = 14;
} else if (CSlot == "D. Long Sword") {
_root.sellprice = 43;
} else if (CSlot == "D. Short Sword") {
_root.sellprice = 30;
} else if (CSlot == "D. Broad Sword") {
_root.sellprice = 46;
} else if (CSlot == "E. Staff") {
_root.sellprice = 25;
} else if (CSlot == "E. Spear") {
_root.sellprice = 29;
} else if (CSlot == "E. Hammer") {
_root.sellprice = 52;
} else if (CSlot == "E. Mace") {
_root.sellprice = 53;
} else if (CSlot == "E. Knife") {
_root.sellprice = 9;
} else if (CSlot == "E. Dagger") {
_root.sellprice = 8;
} else if (CSlot == "E. Blade") {
_root.sellprice = 15;
} else if (CSlot == "E. Long Sword") {
_root.sellprice = 46;
} else if (CSlot == "E. Short Sword") {
_root.sellprice = 30;
} else if (CSlot == "Flaming Sword") {
_root.sellprice = 150;
} else if (CSlot == "Magic Staff") {
_root.sellprice = 282;
} else if (CSlot == "Trident") {
_root.sellprice = 44;
} else if (CSlot == "Main Gauche") {
_root.sellprice = 20;
}
} else {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 575 Button
on (release) {
_root.SSlot = _root.Slot7;
CSlot = _root.Slot7;
if (_root.Slot7a == "W") {
_root.typeerror = "no";
_root.sellslot = CSlot;
if (CSlot == "T. Spear") {
_root.sellprice = 28;
} else if (CSlot == "T. Pike") {
_root.sellprice = 33;
} else if (CSlot == "T. Axe") {
_root.sellprice = 69;
} else if (CSlot == "T. Hammer") {
_root.sellprice = 58;
} else if (CSlot == "T. Club") {
_root.sellprice = 61;
} else if (CSlot == "T. Knife") {
_root.sellprice = 7;
} else if (CSlot == "T. Blade") {
_root.sellprice = 14;
} else if (CSlot == "T. Sword") {
_root.sellprice = 40;
} else if (CSlot == "T. Heavy Sword") {
_root.sellprice = 44;
} else if (CSlot == "G. Spear") {
_root.sellprice = 39;
} else if (CSlot == "G. Pike") {
_root.sellprice = 40;
} else if (CSlot == "G. Axe") {
_root.sellprice = 57;
} else if (CSlot == "G. Mace") {
_root.sellprice = 55;
} else if (CSlot == "G. Knife") {
_root.sellprice = 13;
} else if (CSlot == "G. Dagger") {
_root.sellprice = 12;
} else if (CSlot == "G. Blade") {
_root.sellprice = 19;
} else if (CSlot == "G. Big Knife") {
_root.sellprice = 28;
} else if (CSlot == "G. Scymetar") {
_root.sellprice = 34;
} else if (CSlot == "H. Staff") {
_root.sellprice = 28;
} else if (CSlot == "H. Spear") {
_root.sellprice = 33;
} else if (CSlot == "H. Pike") {
_root.sellprice = 38;
} else if (CSlot == "H. Axe") {
_root.sellprice = 65;
} else if (CSlot == "H. Hammer") {
_root.sellprice = 62;
} else if (CSlot == "H. Mace") {
_root.sellprice = 59;
} else if (CSlot == "H. Knife") {
_root.sellprice = 8;
} else if (CSlot == "H. Broad Sword") {
_root.sellprice = 47;
} else if (CSlot == "H. Rapier") {
_root.sellprice = 30;
} else if (CSlot == "H. Scimitar") {
_root.sellprice = 37;
} else if (CSlot == "D. Staff") {
_root.sellprice = 23;
} else if (CSlot == "D. Pike") {
_root.sellprice = 34;
} else if (CSlot == "D. Axe") {
_root.sellprice = 66;
} else if (CSlot == "D. Hammer") {
_root.sellprice = 56;
} else if (CSlot == "D. Knife") {
_root.sellprice = 8;
} else if (CSlot == "D. Blade") {
_root.sellprice = 14;
} else if (CSlot == "D. Long Sword") {
_root.sellprice = 43;
} else if (CSlot == "D. Short Sword") {
_root.sellprice = 30;
} else if (CSlot == "D. Broad Sword") {
_root.sellprice = 46;
} else if (CSlot == "E. Staff") {
_root.sellprice = 25;
} else if (CSlot == "E. Spear") {
_root.sellprice = 29;
} else if (CSlot == "E. Hammer") {
_root.sellprice = 52;
} else if (CSlot == "E. Mace") {
_root.sellprice = 53;
} else if (CSlot == "E. Knife") {
_root.sellprice = 9;
} else if (CSlot == "E. Dagger") {
_root.sellprice = 8;
} else if (CSlot == "E. Blade") {
_root.sellprice = 15;
} else if (CSlot == "E. Long Sword") {
_root.sellprice = 46;
} else if (CSlot == "E. Short Sword") {
_root.sellprice = 30;
} else if (CSlot == "Flaming Sword") {
_root.sellprice = 150;
} else if (CSlot == "Magic Staff") {
_root.sellprice = 282;
} else if (CSlot == "Trident") {
_root.sellprice = 44;
} else if (CSlot == "Main Gauche") {
_root.sellprice = 20;
}
} else {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 578 Button
on (release) {
_root.SSlot = _root.Slot8;
CSlot = _root.Slot8;
if (_root.Slot8a == "W") {
_root.typeerror = "no";
_root.sellslot = CSlot;
if (CSlot == "T. Spear") {
_root.sellprice = 28;
} else if (CSlot == "T. Pike") {
_root.sellprice = 33;
} else if (CSlot == "T. Axe") {
_root.sellprice = 69;
} else if (CSlot == "T. Hammer") {
_root.sellprice = 58;
} else if (CSlot == "T. Club") {
_root.sellprice = 61;
} else if (CSlot == "T. Knife") {
_root.sellprice = 7;
} else if (CSlot == "T. Blade") {
_root.sellprice = 14;
} else if (CSlot == "T. Sword") {
_root.sellprice = 40;
} else if (CSlot == "T. Heavy Sword") {
_root.sellprice = 44;
} else if (CSlot == "G. Spear") {
_root.sellprice = 39;
} else if (CSlot == "G. Pike") {
_root.sellprice = 40;
} else if (CSlot == "G. Axe") {
_root.sellprice = 57;
} else if (CSlot == "G. Mace") {
_root.sellprice = 55;
} else if (CSlot == "G. Knife") {
_root.sellprice = 13;
} else if (CSlot == "G. Dagger") {
_root.sellprice = 12;
} else if (CSlot == "G. Blade") {
_root.sellprice = 19;
} else if (CSlot == "G. Big Knife") {
_root.sellprice = 28;
} else if (CSlot == "G. Scymetar") {
_root.sellprice = 34;
} else if (CSlot == "H. Staff") {
_root.sellprice = 28;
} else if (CSlot == "H. Spear") {
_root.sellprice = 33;
} else if (CSlot == "H. Pike") {
_root.sellprice = 38;
} else if (CSlot == "H. Axe") {
_root.sellprice = 65;
} else if (CSlot == "H. Hammer") {
_root.sellprice = 62;
} else if (CSlot == "H. Mace") {
_root.sellprice = 59;
} else if (CSlot == "H. Knife") {
_root.sellprice = 8;
} else if (CSlot == "H. Broad Sword") {
_root.sellprice = 47;
} else if (CSlot == "H. Rapier") {
_root.sellprice = 30;
} else if (CSlot == "H. Scimitar") {
_root.sellprice = 37;
} else if (CSlot == "D. Staff") {
_root.sellprice = 23;
} else if (CSlot == "D. Pike") {
_root.sellprice = 34;
} else if (CSlot == "D. Axe") {
_root.sellprice = 66;
} else if (CSlot == "D. Hammer") {
_root.sellprice = 56;
} else if (CSlot == "D. Knife") {
_root.sellprice = 8;
} else if (CSlot == "D. Blade") {
_root.sellprice = 14;
} else if (CSlot == "D. Long Sword") {
_root.sellprice = 43;
} else if (CSlot == "D. Short Sword") {
_root.sellprice = 30;
} else if (CSlot == "D. Broad Sword") {
_root.sellprice = 46;
} else if (CSlot == "E. Staff") {
_root.sellprice = 25;
} else if (CSlot == "E. Spear") {
_root.sellprice = 29;
} else if (CSlot == "E. Hammer") {
_root.sellprice = 52;
} else if (CSlot == "E. Mace") {
_root.sellprice = 53;
} else if (CSlot == "E. Knife") {
_root.sellprice = 9;
} else if (CSlot == "E. Dagger") {
_root.sellprice = 8;
} else if (CSlot == "E. Blade") {
_root.sellprice = 15;
} else if (CSlot == "E. Long Sword") {
_root.sellprice = 46;
} else if (CSlot == "E. Short Sword") {
_root.sellprice = 30;
} else if (CSlot == "Flaming Sword") {
_root.sellprice = 150;
} else if (CSlot == "Magic Staff") {
_root.sellprice = 282;
} else if (CSlot == "Trident") {
_root.sellprice = 44;
} else if (CSlot == "Main Gauche") {
_root.sellprice = 20;
}
} else {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 581 Button
on (release) {
_root.SSlot = _root.Slot9;
CSlot = _root.Slot9;
if (_root.Slot9a == "W") {
_root.typeerror = "no";
_root.sellslot = CSlot;
if (CSlot == "T. Spear") {
_root.sellprice = 28;
} else if (CSlot == "T. Pike") {
_root.sellprice = 33;
} else if (CSlot == "T. Axe") {
_root.sellprice = 69;
} else if (CSlot == "T. Hammer") {
_root.sellprice = 58;
} else if (CSlot == "T. Club") {
_root.sellprice = 61;
} else if (CSlot == "T. Knife") {
_root.sellprice = 7;
} else if (CSlot == "T. Blade") {
_root.sellprice = 14;
} else if (CSlot == "T. Sword") {
_root.sellprice = 40;
} else if (CSlot == "T. Heavy Sword") {
_root.sellprice = 44;
} else if (CSlot == "G. Spear") {
_root.sellprice = 39;
} else if (CSlot == "G. Pike") {
_root.sellprice = 40;
} else if (CSlot == "G. Axe") {
_root.sellprice = 57;
} else if (CSlot == "G. Mace") {
_root.sellprice = 55;
} else if (CSlot == "G. Knife") {
_root.sellprice = 13;
} else if (CSlot == "G. Dagger") {
_root.sellprice = 12;
} else if (CSlot == "G. Blade") {
_root.sellprice = 19;
} else if (CSlot == "G. Big Knife") {
_root.sellprice = 28;
} else if (CSlot == "G. Scymetar") {
_root.sellprice = 34;
} else if (CSlot == "H. Staff") {
_root.sellprice = 28;
} else if (CSlot == "H. Spear") {
_root.sellprice = 33;
} else if (CSlot == "H. Pike") {
_root.sellprice = 38;
} else if (CSlot == "H. Axe") {
_root.sellprice = 65;
} else if (CSlot == "H. Hammer") {
_root.sellprice = 62;
} else if (CSlot == "H. Mace") {
_root.sellprice = 59;
} else if (CSlot == "H. Knife") {
_root.sellprice = 8;
} else if (CSlot == "H. Broad Sword") {
_root.sellprice = 47;
} else if (CSlot == "H. Rapier") {
_root.sellprice = 30;
} else if (CSlot == "H. Scimitar") {
_root.sellprice = 37;
} else if (CSlot == "D. Staff") {
_root.sellprice = 23;
} else if (CSlot == "D. Pike") {
_root.sellprice = 34;
} else if (CSlot == "D. Axe") {
_root.sellprice = 66;
} else if (CSlot == "D. Hammer") {
_root.sellprice = 56;
} else if (CSlot == "D. Knife") {
_root.sellprice = 8;
} else if (CSlot == "D. Blade") {
_root.sellprice = 14;
} else if (CSlot == "D. Long Sword") {
_root.sellprice = 43;
} else if (CSlot == "D. Short Sword") {
_root.sellprice = 30;
} else if (CSlot == "D. Broad Sword") {
_root.sellprice = 46;
} else if (CSlot == "E. Staff") {
_root.sellprice = 25;
} else if (CSlot == "E. Spear") {
_root.sellprice = 29;
} else if (CSlot == "E. Hammer") {
_root.sellprice = 52;
} else if (CSlot == "E. Mace") {
_root.sellprice = 53;
} else if (CSlot == "E. Knife") {
_root.sellprice = 9;
} else if (CSlot == "E. Dagger") {
_root.sellprice = 8;
} else if (CSlot == "E. Blade") {
_root.sellprice = 15;
} else if (CSlot == "E. Long Sword") {
_root.sellprice = 46;
} else if (CSlot == "E. Short Sword") {
_root.sellprice = 30;
} else if (CSlot == "Flaming Sword") {
_root.sellprice = 150;
} else if (CSlot == "Magic Staff") {
_root.sellprice = 282;
} else if (CSlot == "Trident") {
_root.sellprice = 44;
} else if (CSlot == "Main Gauche") {
_root.sellprice = 20;
}
} else {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 584 Button
on (release) {
_root.SSlot = _root.Slot0;
CSlot = _root.Slot0;
if (_root.Slot0a == "W") {
_root.typeerror = "no";
_root.sellslot = CSlot;
if (CSlot == "T. Spear") {
_root.sellprice = 28;
} else if (CSlot == "T. Pike") {
_root.sellprice = 33;
} else if (CSlot == "T. Axe") {
_root.sellprice = 69;
} else if (CSlot == "T. Hammer") {
_root.sellprice = 58;
} else if (CSlot == "T. Club") {
_root.sellprice = 61;
} else if (CSlot == "T. Knife") {
_root.sellprice = 7;
} else if (CSlot == "T. Blade") {
_root.sellprice = 14;
} else if (CSlot == "T. Sword") {
_root.sellprice = 40;
} else if (CSlot == "T. Heavy Sword") {
_root.sellprice = 44;
} else if (CSlot == "G. Spear") {
_root.sellprice = 39;
} else if (CSlot == "G. Pike") {
_root.sellprice = 40;
} else if (CSlot == "G. Axe") {
_root.sellprice = 57;
} else if (CSlot == "G. Mace") {
_root.sellprice = 55;
} else if (CSlot == "G. Knife") {
_root.sellprice = 13;
} else if (CSlot == "G. Dagger") {
_root.sellprice = 12;
} else if (CSlot == "G. Blade") {
_root.sellprice = 19;
} else if (CSlot == "G. Big Knife") {
_root.sellprice = 28;
} else if (CSlot == "G. Scymetar") {
_root.sellprice = 34;
} else if (CSlot == "H. Staff") {
_root.sellprice = 28;
} else if (CSlot == "H. Spear") {
_root.sellprice = 33;
} else if (CSlot == "H. Pike") {
_root.sellprice = 38;
} else if (CSlot == "H. Axe") {
_root.sellprice = 65;
} else if (CSlot == "H. Hammer") {
_root.sellprice = 62;
} else if (CSlot == "H. Mace") {
_root.sellprice = 59;
} else if (CSlot == "H. Knife") {
_root.sellprice = 8;
} else if (CSlot == "H. Broad Sword") {
_root.sellprice = 47;
} else if (CSlot == "H. Rapier") {
_root.sellprice = 30;
} else if (CSlot == "H. Scimitar") {
_root.sellprice = 37;
} else if (CSlot == "D. Staff") {
_root.sellprice = 23;
} else if (CSlot == "D. Pike") {
_root.sellprice = 34;
} else if (CSlot == "D. Axe") {
_root.sellprice = 66;
} else if (CSlot == "D. Hammer") {
_root.sellprice = 56;
} else if (CSlot == "D. Knife") {
_root.sellprice = 8;
} else if (CSlot == "D. Blade") {
_root.sellprice = 14;
} else if (CSlot == "D. Long Sword") {
_root.sellprice = 43;
} else if (CSlot == "D. Short Sword") {
_root.sellprice = 30;
} else if (CSlot == "D. Broad Sword") {
_root.sellprice = 46;
} else if (CSlot == "E. Staff") {
_root.sellprice = 25;
} else if (CSlot == "E. Spear") {
_root.sellprice = 29;
} else if (CSlot == "E. Hammer") {
_root.sellprice = 52;
} else if (CSlot == "E. Mace") {
_root.sellprice = 53;
} else if (CSlot == "E. Knife") {
_root.sellprice = 9;
} else if (CSlot == "E. Dagger") {
_root.sellprice = 8;
} else if (CSlot == "E. Blade") {
_root.sellprice = 15;
} else if (CSlot == "E. Long Sword") {
_root.sellprice = 46;
} else if (CSlot == "E. Short Sword") {
_root.sellprice = 30;
} else if (CSlot == "Flaming Sword") {
_root.sellprice = 150;
} else if (CSlot == "Magic Staff") {
_root.sellprice = 282;
} else if (CSlot == "Trident") {
_root.sellprice = 44;
} else if (CSlot == "Main Gauche") {
_root.sellprice = 20;
}
} else {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 586 Button
on (release) {
_root.weaponsell._visible = false;
}
Symbol 588 Button
on (release) {
play();
}
Symbol 590 Button
on (release) {
_root.sellprice = Empty;
_root.SellPriceA = Empty;
_root.sellSlot = Empty;
_root.SSlot = Empty;
_root.CSlot = Empty;
_root.sellerror._visible = false;
_root.armorsell._visible = false;
_root.Weaponsell._visible = false;
_root.sellconfirm._visible = false;
gotoAndStop (1);
}
Symbol 597 Button
on (release) {
if (_root.sellpriceA <= 1) {
_root.Money = _root.Money + 1;
} else {
_root.Money = _root.Money + Math.round(_root.sellpriceA * (1 - _root.discount));
}
if (_root.SSlot == _root.Slot1) {
_root.Slot1 = Empty;
_root.Slot1a = 0;
} else if (_root.SSlot == _root.Slot2) {
_root.Slot2 = Empty;
_root.Slot2a = 0;
} else if (_root.SSlot == _root.Slot3) {
_root.Slot3 = Empty;
_root.Slot3a = 0;
} else if (_root.SSlot == _root.Slot4) {
_root.Slot4 = Empty;
_root.Slot4a = 0;
} else if (_root.SSlot == _root.Slot5) {
_root.Slot5 = Empty;
_root.Slot5a = 0;
} else if (_root.SSlot == _root.Slot6) {
_root.Slot6 = Empty;
_root.Slot6a = 0;
} else if (_root.SSlot == _root.Slot7) {
_root.Slot7 = Empty;
_root.Slot7a = 0;
} else if (_root.SSlot == _root.Slot8) {
_root.Slot8 = Empty;
_root.Slot8a = 0;
} else if (_root.SSlot == _root.Slot9) {
_root.Slot9 = Empty;
_root.Slot9a = 0;
} else if (_root.SSlot == _root.Slot0) {
_root.Slot0 = Empty;
_root.Slot0a = 0;
}
_root.sellconfirm._visible = false;
gotoAndStop (1);
}
Symbol 598 Button
on (release) {
_root.sellprice = Empty;
_root.SellPriceA = Empty;
_root.sellSlot = Empty;
_root.SSlot = Empty;
_root.CSlot = Empty;
_root.sellerror._visible = false;
_root.sellconfirm._visible = false;
gotoAndStop (1);
}
Symbol 600 MovieClip Frame 1
stop();
Symbol 600 MovieClip Frame 2
_root.SellPriceA = Math.round(_root.sellprice * (1 - _root.discount));
if (_root.SellPriceA < 1) {
_root.SellPriceA = 1;
}
stop();
Symbol 601 Button
on (release) {
gotoAndStop (3);
}
Symbol 603 Button
on (release) {
_root.armorsell._visible = true;
}
Symbol 610 Button
on (rollOver) {
_root.Test = "Head";
_root.testa = 2;
_root.testd = 2;
}
on (release) {
if (_root.Money >= Math.round(70 * (1 + _root.discount))) {
MoneyPaid = Math.round(70 * (1 + _root.discount));
if (_root.head == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.head = "T. Helmet";
_root.heada = 2;
_root.headd = 2;
} else if (_root.head != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "T. Helmet";
_root.Slot1a = "H";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "T. Helmet";
_root.Slot2a = "H";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "T. Helmet";
_root.Slot3a = "H";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "T. Helmet";
_root.Slot4a = "H";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "T. Helmet";
_root.Slot5a = "H";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "T. Helmet";
_root.Slot6a = "H";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "T. Helmet";
_root.Slot7a = "H";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "T. Helmet";
_root.Slot8a = "H";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "T. Helmet";
_root.Slot9a = "H";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "T. Helmet";
_root.Slot0a = "H";
}
}
}
}
Symbol 611 Button
on (rollOver) {
_root.Test = "Body";
_root.testa = 1;
_root.testd = 5;
}
on (release) {
if (_root.Money >= Math.round(115 * (1 + _root.discount))) {
MoneyPaid = Math.round(115 * (1 + _root.discount));
if (_root.body == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.body = "T. Copper";
_root.bodya = 1;
_root.bodyd = 5;
} else if (_root.body != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "T. Copper";
_root.Slot1a = "B";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "T. Copper";
_root.Slot2a = "B";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "T. Copper";
_root.Slot3a = "B";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "T. Copper";
_root.Slot4a = "B";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "T. Copper";
_root.Slot5a = "B";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "T. Copper";
_root.Slot6a = "B";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "T. Copper";
_root.Slot7a = "B";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "T. Copper";
_root.Slot8a = "B";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "T. Copper";
_root.Slot9a = "B";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "T. Copper";
_root.Slot0a = "B";
}
}
}
}
Symbol 614 Button
on (rollOver) {
_root.Test = "Feet";
_root.testa = 1;
_root.testd = 2;
}
on (release) {
if (_root.Money >= Math.round(55 * (1 + _root.discount))) {
MoneyPaid = Math.round(55 * (1 + _root.discount));
if (_root.feet == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.feet = "T. Boots";
_root.feeta = 1;
_root.feetd = 2;
} else if (_root.feet != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "T. Boots";
_root.Slot1a = "F";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "T. Boots";
_root.Slot2a = "F";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "T. Boots";
_root.Slot3a = "F";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "T. Boots";
_root.Slot4a = "F";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "T. Boots";
_root.Slot5a = "F";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "T. Boots";
_root.Slot6a = "F";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "T. Boots";
_root.Slot7a = "F";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "T. Boots";
_root.Slot8a = "F";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "T. Boots";
_root.Slot9a = "F";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "T. Boots";
_root.Slot0a = "F";
}
}
}
}
Symbol 617 Button
on (rollOver) {
_root.Test = "Head";
_root.testa = 0;
_root.testd = 1;
}
on (release) {
if (_root.Money >= Math.round(20 * (1 + _root.discount))) {
MoneyPaid = Math.round(20 * (1 + _root.discount));
if (_root.head == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.head = "T. Cap";
_root.heada = 0;
_root.headd = 1;
} else if (_root.head != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "T. Cap";
_root.Slot1a = "H";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "T. Cap";
_root.Slot2a = "H";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "T. Cap";
_root.Slot3a = "H";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "T. Cap";
_root.Slot4a = "H";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "T. Cap";
_root.Slot5a = "H";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "T. Cap";
_root.Slot6a = "H";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "T. Cap";
_root.Slot7a = "H";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "T. Cap";
_root.Slot8a = "H";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "T. Cap";
_root.Slot9a = "H";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "T. Cap";
_root.Slot0a = "H";
}
}
}
}
Symbol 620 Button
on (rollOver) {
_root.Test = "Body";
_root.testa = 0;
_root.testd = 4;
}
on (release) {
if (_root.Money >= Math.round(80 * (1 + _root.discount))) {
MoneyPaid = Math.round(80 * (1 + _root.discount));
if (_root.body == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.body = "T. Leather";
_root.bodya = 0;
_root.bodyd = 4;
} else if (_root.body != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "T. Leather";
_root.Slot1a = "B";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "T. Leather";
_root.Slot2a = "B";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "T. Leather";
_root.Slot3a = "B";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "T. Leather";
_root.Slot4a = "B";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "T. Leather";
_root.Slot5a = "B";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "T. Leather";
_root.Slot6a = "B";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "T. Leather";
_root.Slot7a = "B";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "T. Leather";
_root.Slot8a = "B";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "T. Leather";
_root.Slot9a = "B";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "T. Leather";
_root.Slot0a = "B";
}
}
}
}
Symbol 623 Button
on (rollOver) {
_root.Test = "Head";
_root.testa = 1;
_root.testd = 0;
}
on (release) {
if (_root.Money >= Math.round(15 * (1 + _root.discount))) {
MoneyPaid = Math.round(15 * (1 + _root.discount));
if (_root.head == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.head = "T. Pointy Hat";
_root.heada = 1;
_root.headd = 0;
} else if (_root.head != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "T. Pointy Hat";
_root.Slot1a = "H";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "T. Pointy Hat";
_root.Slot2a = "H";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "T. Pointy Hat";
_root.Slot3a = "H";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "T. Pointy Hat";
_root.Slot4a = "H";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "T. Pointy Hat";
_root.Slot5a = "H";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "T. Pointy Hat";
_root.Slot6a = "H";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "T. Pointy Hat";
_root.Slot7a = "H";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "T. Pointy Hat";
_root.Slot8a = "H";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "T. Pointy Hat";
_root.Slot9a = "H";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "T. Pointy Hat";
_root.Slot0a = "H";
}
}
}
}
Symbol 626 Button
on (rollOver) {
_root.Test = "Head";
_root.testa = 0;
_root.testd = 2;
}
on (release) {
if (_root.Money >= Math.round(40 * (1 + _root.discount))) {
MoneyPaid = Math.round(40 * (1 + _root.discount));
if (_root.head == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.head = "G. Hood";
_root.heada = 0;
_root.headd = 2;
} else if (_root.head != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "G. Hood";
_root.Slot1a = "H";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "G. Hood";
_root.Slot2a = "H";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "G. Hood";
_root.Slot3a = "H";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "G. Hood";
_root.Slot4a = "H";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "G. Hood";
_root.Slot5a = "H";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "G. Hood";
_root.Slot6a = "H";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "G. Hood";
_root.Slot7a = "H";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "G. Hood";
_root.Slot8a = "H";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "G. Hood";
_root.Slot9a = "H";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "G. Hood";
_root.Slot0a = "H";
}
}
}
}
Symbol 627 Button
on (rollOver) {
_root.Test = "Left Hand +2s";
_root.testa = 2;
_root.testd = 3;
}
on (release) {
if (_root.Money >= Math.round(112 * (1 + _root.discount))) {
MoneyPaid = Math.round(112 * (1 + _root.discount));
if (_root.lhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.lhand = "G. Targe";
_root.lhanda = 2;
_root.lhandd = 3;
_root.lhands = 2;
} else if (_root.lhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "G. Targe";
_root.Slot1a = "S";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "G. Targe";
_root.Slot2a = "S";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "G. Targe";
_root.Slot3a = "S";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "G. Targe";
_root.Slot4a = "S";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "G. Targe";
_root.Slot5a = "S";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "G. Targe";
_root.Slot6a = "S";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "G. Targe";
_root.Slot7a = "S";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "G. Targe";
_root.Slot8a = "S";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "G. Targe";
_root.Slot9a = "S";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "G. Targe";
_root.Slot0a = "S";
}
}
}
}
Symbol 632 Button
on (rollOver) {
_root.Test = "Head";
_root.testa = 1;
_root.testd = 3;
}
on (release) {
if (_root.Money >= Math.round(75 * (1 + _root.discount))) {
MoneyPaid = Math.round(75 * (1 + _root.discount));
if (_root.head == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.head = "G. Helmet";
_root.heada = 1;
_root.headd = 3;
} else if (_root.head != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "G. Helmet";
_root.Slot1a = "H";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "G. Helmet";
_root.Slot2a = "H";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "G. Helmet";
_root.Slot3a = "H";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "G. Helmet";
_root.Slot4a = "H";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "G. Helmet";
_root.Slot5a = "H";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "G. Helmet";
_root.Slot6a = "H";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "G. Helmet";
_root.Slot7a = "H";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "G. Helmet";
_root.Slot8a = "H";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "G. Helmet";
_root.Slot9a = "H";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "G. Helmet";
_root.Slot0a = "H";
}
}
}
}
Symbol 633 Button
on (rollOver) {
_root.Test = "Body";
_root.testa = 0;
_root.testd = 2;
}
on (release) {
if (_root.Money >= Math.round(40 * (1 + _root.discount))) {
MoneyPaid = Math.round(40 * (1 + _root.discount));
if (_root.body == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.body = "G. Robe";
_root.bodya = 0;
_root.bodyd = 2;
} else if (_root.body != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "G. Robe";
_root.Slot1a = "B";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "G. Robe";
_root.Slot2a = "B";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "G. Robe";
_root.Slot3a = "B";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "G. Robe";
_root.Slot4a = "B";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "G. Robe";
_root.Slot5a = "B";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "G. Robe";
_root.Slot6a = "B";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "G. Robe";
_root.Slot7a = "B";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "G. Robe";
_root.Slot8a = "B";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "G. Robe";
_root.Slot9a = "B";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "G. Robe";
_root.Slot0a = "B";
}
}
}
}
Symbol 634 Button
on (rollOver) {
_root.Test = "Feet";
_root.testa = 0;
_root.testd = 1;
}
on (release) {
if (_root.Money >= Math.round(20 * (1 + _root.discount))) {
MoneyPaid = Math.round(20 * (1 + _root.discount));
if (_root.feet == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.feet = "G. Sandals";
_root.feeta = 0;
_root.feetd = 1;
} else if (_root.feet != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "G. Sandals";
_root.Slot1a = "F";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "G. Sandals";
_root.Slot2a = "F";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "G. Sandals";
_root.Slot3a = "F";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "G. Sandals";
_root.Slot4a = "F";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "G. Sandals";
_root.Slot5a = "F";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "G. Sandals";
_root.Slot6a = "F";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "G. Sandals";
_root.Slot7a = "F";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "G. Sandals";
_root.Slot8a = "F";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "G. Sandals";
_root.Slot9a = "F";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "G. Sandals";
_root.Slot0a = "F";
}
}
}
}
Symbol 640 Button
on (rollOver) {
_root.Test = "Body";
_root.testa = 1;
_root.testd = 4;
}
on (release) {
if (_root.Money >= Math.round(95 * (1 + _root.discount))) {
MoneyPaid = Math.round(95 * (1 + _root.discount));
if (_root.body == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.body = "G. Copper";
_root.bodya = 1;
_root.bodyd = 4;
} else if (_root.body != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "G. Copper";
_root.Slot1a = "B";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "G. Copper";
_root.Slot2a = "B";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "G. Copper";
_root.Slot3a = "B";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "G. Copper";
_root.Slot4a = "B";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "G. Copper";
_root.Slot5a = "B";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "G. Copper";
_root.Slot6a = "B";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "G. Copper";
_root.Slot7a = "B";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "G. Copper";
_root.Slot8a = "B";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "G. Copper";
_root.Slot9a = "B";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "G. Copper";
_root.Slot0a = "B";
}
}
}
}
Symbol 642 Button
on (rollOver) {
_root.Test = "Body";
_root.testa = 0;
_root.testd = 4;
}
on (release) {
if (_root.Money >= Math.round(80 * (1 + _root.discount))) {
MoneyPaid = Math.round(80 * (1 + _root.discount));
if (_root.body == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.body = "H. Leather";
_root.bodya = 0;
_root.bodyd = 4;
} else if (_root.body != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "H. Leather";
_root.Slot1a = "B";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "H. Leather";
_root.Slot2a = "B";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "H. Leather";
_root.Slot3a = "B";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "H. Leather";
_root.Slot4a = "B";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "H. Leather";
_root.Slot5a = "B";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "H. Leather";
_root.Slot6a = "B";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "H. Leather";
_root.Slot7a = "B";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "H. Leather";
_root.Slot8a = "B";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "H. Leather";
_root.Slot9a = "B";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "H. Leather";
_root.Slot0a = "B";
}
}
}
}
Symbol 643 Button
on (rollOver) {
_root.Test = "Feet";
_root.testa = 0;
_root.testd = 1;
}
on (release) {
if (_root.Money >= Math.round(20 * (1 + _root.discount))) {
MoneyPaid = Math.round(20 * (1 + _root.discount));
if (_root.feet == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.feet = "H. Sandals";
_root.feeta = 0;
_root.feetd = 1;
} else if (_root.feet != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "H. Sandals";
_root.Slot1a = "F";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "H. Sandals";
_root.Slot2a = "F";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "H. Sandals";
_root.Slot3a = "F";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "H. Sandals";
_root.Slot4a = "F";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "H. Sandals";
_root.Slot5a = "F";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "H. Sandals";
_root.Slot6a = "F";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "H. Sandals";
_root.Slot7a = "F";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "H. Sandals";
_root.Slot8a = "F";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "H. Sandals";
_root.Slot9a = "F";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "H. Sandals";
_root.Slot0a = "F";
}
}
}
}
Symbol 644 Button
on (rollOver) {
_root.Test = "Head";
_root.testa = 0;
_root.testd = 4;
}
on (release) {
if (_root.Money >= Math.round(80 * (1 + _root.discount))) {
MoneyPaid = Math.round(80 * (1 + _root.discount));
if (_root.head == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.head = "H. Helmet";
_root.heada = 0;
_root.headd = 4;
} else if (_root.head != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "H. Helmet";
_root.Slot1a = "H";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "H. Helmet";
_root.Slot2a = "H";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "H. Helmet";
_root.Slot3a = "H";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "H. Helmet";
_root.Slot4a = "H";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "H. Helmet";
_root.Slot5a = "H";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "H. Helmet";
_root.Slot6a = "H";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "H. Helmet";
_root.Slot7a = "H";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "H. Helmet";
_root.Slot8a = "H";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "H. Helmet";
_root.Slot9a = "H";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "H. Helmet";
_root.Slot0a = "H";
}
}
}
}
Symbol 648 Button
on (rollOver) {
_root.Test = "Left Hand +3s";
_root.testa = 0;
_root.testd = 5;
}
on (release) {
if (_root.Money >= Math.round(133 * (1 + _root.discount))) {
MoneyPaid = Math.round(133 * (1 + _root.discount));
if (_root.lhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.lhand = "H. Shield";
_root.lhanda = 0;
_root.lhandd = 5;
_root.lhands = 3;
} else if (_root.lhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "H. Shield";
_root.Slot1a = "S";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "H. Shield";
_root.Slot2a = "S";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "H. Shield";
_root.Slot3a = "S";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "H. Shield";
_root.Slot4a = "S";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "H. Shield";
_root.Slot5a = "S";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "H. Shield";
_root.Slot6a = "S";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "H. Shield";
_root.Slot7a = "S";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "H. Shield";
_root.Slot8a = "S";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "H. Shield";
_root.Slot9a = "S";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "H. Shield";
_root.Slot0a = "S";
}
}
}
}
Symbol 651 Button
on (rollOver) {
_root.Test = "Body";
_root.testa = 0;
_root.testd = 6;
}
on (release) {
if (_root.Money >= Math.round(120 * (1 + _root.discount))) {
MoneyPaid = Math.round(120 * (1 + _root.discount));
if (_root.body == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.body = "H. Bronze";
_root.bodya = 0;
_root.bodyd = 6;
} else if (_root.body != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "H. Bronze";
_root.Slot1a = "B";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "H. Bronze";
_root.Slot2a = "B";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "H. Bronze";
_root.Slot3a = "B";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "H. Bronze";
_root.Slot4a = "B";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "H. Bronze";
_root.Slot5a = "B";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "H. Bronze";
_root.Slot6a = "B";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "H. Bronze";
_root.Slot7a = "B";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "H. Bronze";
_root.Slot8a = "B";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "H. Bronze";
_root.Slot9a = "B";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "H. Bronze";
_root.Slot0a = "B";
}
}
}
}
Symbol 654 Button
on (rollOver) {
_root.Test = "Head";
_root.testa = 0;
_root.testd = 1;
}
on (release) {
if (_root.Money >= Math.round(20 * (1 + _root.discount))) {
MoneyPaid = Math.round(20 * (1 + _root.discount));
if (_root.head == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.head = "H. Pointy Hat";
_root.heada = 0;
_root.headd = 1;
} else if (_root.head != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "H. Pointy Hat";
_root.Slot1a = "H";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "H. Pointy Hat";
_root.Slot2a = "H";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "H. Pointy Hat";
_root.Slot3a = "H";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "H. Pointy Hat";
_root.Slot4a = "H";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "H. Pointy Hat";
_root.Slot5a = "H";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "H. Pointy Hat";
_root.Slot6a = "H";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "H. Pointy Hat";
_root.Slot7a = "H";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "H. Pointy Hat";
_root.Slot8a = "H";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "H. Pointy Hat";
_root.Slot9a = "H";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "H. Pointy Hat";
_root.Slot0a = "H";
}
}
}
}
Symbol 656 Button
on (rollOver) {
_root.Test = "Head";
_root.testa = 0;
_root.testd = 2;
}
on (release) {
if (_root.Money >= Math.round(40 * (1 + _root.discount))) {
MoneyPaid = Math.round(40 * (1 + _root.discount));
if (_root.head == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.head = "D. Cap";
_root.heada = 0;
_root.headd = 2;
} else if (_root.head != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "D. Cap";
_root.Slot1a = "H";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "D. Cap";
_root.Slot2a = "H";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "D. Cap";
_root.Slot3a = "H";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "D. Cap";
_root.Slot4a = "H";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "D. Cap";
_root.Slot5a = "H";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "D. Cap";
_root.Slot6a = "H";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "D. Cap";
_root.Slot7a = "H";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "D. Cap";
_root.Slot8a = "H";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "D. Cap";
_root.Slot9a = "H";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "D. Cap";
_root.Slot0a = "H";
}
}
}
}
Symbol 657 Button
on (rollOver) {
_root.Test = "Body";
_root.testa = 0;
_root.testd = 6;
}
on (release) {
if (_root.Money >= Math.round(120 * (1 + _root.discount))) {
MoneyPaid = Math.round(120 * (1 + _root.discount));
if (_root.body == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.body = "D. Chainmail";
_root.bodya = 0;
_root.bodyd = 6;
} else if (_root.body != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "D. Chainmail";
_root.Slot1a = "B";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "D. Chainmail";
_root.Slot2a = "B";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "D. Chainmail";
_root.Slot3a = "B";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "D. Chainmail";
_root.Slot4a = "B";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "D. Chainmail";
_root.Slot5a = "B";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "D. Chainmail";
_root.Slot6a = "B";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "D. Chainmail";
_root.Slot7a = "B";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "D. Chainmail";
_root.Slot8a = "B";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "D. Chainmail";
_root.Slot9a = "B";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "D. Chainmail";
_root.Slot0a = "B";
}
}
}
}
Symbol 658 Button
on (rollOver) {
_root.Test = "Body";
_root.testa = 0;
_root.testd = 4;
}
on (release) {
if (_root.Money >= Math.round(80 * (1 + _root.discount))) {
MoneyPaid = Math.round(80 * (1 + _root.discount));
if (_root.body == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.body = "D. Leather";
_root.bodya = 0;
_root.bodyd = 4;
} else if (_root.body != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "D. Leather";
_root.Slot1a = "B";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "D. Leather";
_root.Slot2a = "B";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "D. Leather";
_root.Slot3a = "B";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "D. Leather";
_root.Slot4a = "B";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "D. Leather";
_root.Slot5a = "B";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "D. Leather";
_root.Slot6a = "B";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "D. Leather";
_root.Slot7a = "B";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "D. Leather";
_root.Slot8a = "B";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "D. Leather";
_root.Slot9a = "B";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "D. Leather";
_root.Slot0a = "B";
}
}
}
}
Symbol 659 Button
on (rollOver) {
_root.Test = "Left Hand +4s";
_root.testa = 0;
_root.testd = 5;
}
on (release) {
if (_root.Money >= Math.round(144 * (1 + _root.discount))) {
MoneyPaid = Math.round(144 * (1 + _root.discount));
if (_root.lhand == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.lhand = "D. Shield";
_root.lhanda = 0;
_root.lhandd = 5;
_root.lhands = 4;
} else if (_root.lhand != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "D. Shield";
_root.Slot1a = "S";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "D. Shield";
_root.Slot2a = "S";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "D. Shield";
_root.Slot3a = "S";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "D. Shield";
_root.Slot4a = "S";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "D. Shield";
_root.Slot5a = "S";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "D. Shield";
_root.Slot6a = "S";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "D. Shield";
_root.Slot7a = "S";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "D. Shield";
_root.Slot8a = "S";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "D. Shield";
_root.Slot9a = "S";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "D. Shield";
_root.Slot0a = "S";
}
}
}
}
Symbol 666 Button
on (rollOver) {
_root.Test = "Head";
_root.testa = 0;
_root.testd = 5;
}
on (release) {
if (_root.Money >= Math.round(100 * (1 + _root.discount))) {
MoneyPaid = Math.round(100 * (1 + _root.discount));
if (_root.head == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.head = "D. Helmet";
_root.heada = 0;
_root.headd = 5;
} else if (_root.head != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "D. Helmet";
_root.Slot1a = "H";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "D. Helmet";
_root.Slot2a = "H";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "D. Helmet";
_root.Slot3a = "H";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "D. Helmet";
_root.Slot4a = "H";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "D. Helmet";
_root.Slot5a = "H";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "D. Helmet";
_root.Slot6a = "H";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "D. Helmet";
_root.Slot7a = "H";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "D. Helmet";
_root.Slot8a = "H";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "D. Helmet";
_root.Slot9a = "H";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "D. Helmet";
_root.Slot0a = "H";
}
}
}
}
Symbol 667 Button
on (rollOver) {
_root.Test = "Feet";
_root.testa = 0;
_root.testd = 2;
}
on (release) {
if (_root.Money >= Math.round(40 * (1 + _root.discount))) {
MoneyPaid = Math.round(40 * (1 + _root.discount));
if (_root.feet == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.feet = "D. Shoes";
_root.feeta = 0;
_root.feetd = 2;
} else if (_root.feet != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "D. Shoes";
_root.Slot1a = "F";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "D. Shoes";
_root.Slot2a = "F";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "D. Shoes";
_root.Slot3a = "F";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "D. Shoes";
_root.Slot4a = "F";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "D. Shoes";
_root.Slot5a = "F";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "D. Shoes";
_root.Slot6a = "F";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "D. Shoes";
_root.Slot7a = "F";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "D. Shoes";
_root.Slot8a = "F";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "D. Shoes";
_root.Slot9a = "F";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "D. Shoes";
_root.Slot0a = "F";
}
}
}
}
Symbol 671 Button
on (rollOver) {
_root.Test = "Head";
_root.testa = 0;
_root.testd = 2;
}
on (release) {
if (_root.Money >= Math.round(40 * (1 + _root.discount))) {
MoneyPaid = Math.round(40 * (1 + _root.discount));
if (_root.head == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.head = "E. Cap";
_root.heada = 0;
_root.headd = 2;
} else if (_root.head != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "E. Cap";
_root.Slot1a = "H";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "E. Cap";
_root.Slot2a = "H";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "E. Cap";
_root.Slot3a = "H";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "E. Cap";
_root.Slot4a = "H";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "E. Cap";
_root.Slot5a = "H";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "E. Cap";
_root.Slot6a = "H";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "E. Cap";
_root.Slot7a = "H";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "E. Cap";
_root.Slot8a = "H";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "E. Cap";
_root.Slot9a = "H";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "E. Cap";
_root.Slot0a = "H";
}
}
}
}
Symbol 672 Button
on (rollOver) {
_root.Test = "Body";
_root.testa = 0;
_root.testd = 4;
}
on (release) {
if (_root.Money >= Math.round(80 * (1 + _root.discount))) {
MoneyPaid = Math.round(80 * (1 + _root.discount));
if (_root.body == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.body = "E. Leather";
_root.bodya = 0;
_root.bodyd = 4;
} else if (_root.body != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "E. Leather";
_root.Slot1a = "B";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "E. Leather";
_root.Slot2a = "B";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "E. Leather";
_root.Slot3a = "B";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "E. Leather";
_root.Slot4a = "B";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "E. Leather";
_root.Slot5a = "B";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "E. Leather";
_root.Slot6a = "B";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "E. Leather";
_root.Slot7a = "B";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "E. Leather";
_root.Slot8a = "B";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "E. Leather";
_root.Slot9a = "B";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "E. Leather";
_root.Slot0a = "B";
}
}
}
}
Symbol 673 Button
on (rollOver) {
_root.Test = "Body";
_root.testa = 0;
_root.testd = 4;
}
on (release) {
if (_root.Money >= Math.round(80 * (1 + _root.discount))) {
MoneyPaid = Math.round(80 * (1 + _root.discount));
if (_root.body == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.body = "E. Robe";
_root.bodya = 0;
_root.bodyd = 4;
} else if (_root.body != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "E. Robe";
_root.Slot1a = "B";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "E. Robe";
_root.Slot2a = "B";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "E. Robe";
_root.Slot3a = "B";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "E. Robe";
_root.Slot4a = "B";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "E. Robe";
_root.Slot5a = "B";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "E. Robe";
_root.Slot6a = "B";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "E. Robe";
_root.Slot7a = "B";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "E. Robe";
_root.Slot8a = "B";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "E. Robe";
_root.Slot9a = "B";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "E. Robe";
_root.Slot0a = "B";
}
}
}
}
Symbol 674 Button
on (rollOver) {
_root.Test = "Head";
_root.testa = 0;
_root.testd = 4;
}
on (release) {
if (_root.Money >= Math.round(80 * (1 + _root.discount))) {
MoneyPaid = Math.round(80 * (1 + _root.discount));
if (_root.head == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.head = "E. Helmet";
_root.heada = 0;
_root.headd = 4;
} else if (_root.head != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "E. Helmet";
_root.Slot1a = "H";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "E. Helmet";
_root.Slot2a = "H";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "E. Helmet";
_root.Slot3a = "H";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "E. Helmet";
_root.Slot4a = "H";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "E. Helmet";
_root.Slot5a = "H";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "E. Helmet";
_root.Slot6a = "H";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "E. Helmet";
_root.Slot7a = "H";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "E. Helmet";
_root.Slot8a = "H";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "E. Helmet";
_root.Slot9a = "H";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "E. Helmet";
_root.Slot0a = "H";
}
}
}
}
Symbol 679 Button
on (rollOver) {
_root.Test = "Feet";
_root.testa = 0;
_root.testd = 3;
}
on (release) {
if (_root.Money >= Math.round(60 * (1 + _root.discount))) {
MoneyPaid = Math.round(60 * (1 + _root.discount));
if (_root.feet == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.feet = "E. Shoes";
_root.feeta = 0;
_root.feetd = 3;
} else if (_root.feet != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "E. Shoes";
_root.Slot1a = "F";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "E. Shoes";
_root.Slot2a = "F";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "E. Shoes";
_root.Slot3a = "F";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "E. Shoes";
_root.Slot4a = "F";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "E. Shoes";
_root.Slot5a = "F";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "E. Shoes";
_root.Slot6a = "F";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "E. Shoes";
_root.Slot7a = "F";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "E. Shoes";
_root.Slot8a = "F";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "E. Shoes";
_root.Slot9a = "F";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "E. Shoes";
_root.Slot0a = "F";
}
}
}
}
Symbol 681 Button
on (rollOver) {
_root.Test = "Body";
_root.testa = 0;
_root.testd = 5;
}
on (release) {
if (_root.Money >= Math.round(100 * (1 + _root.discount))) {
MoneyPaid = Math.round(100 * (1 + _root.discount));
if (_root.body == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.body = "E. Chainmail";
_root.bodya = 0;
_root.bodyd = 5;
} else if (_root.body != Empty) {
if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = "E. Chainmail";
_root.Slot1a = "B";
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = "E. Chainmail";
_root.Slot2a = "B";
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = "E. Chainmail";
_root.Slot3a = "B";
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = "E. Chainmail";
_root.Slot4a = "B";
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = "E. Chainmail";
_root.Slot5a = "B";
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = "E. Chainmail";
_root.Slot6a = "B";
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = "E. Chainmail";
_root.Slot7a = "B";
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = "E. Chainmail";
_root.Slot8a = "B";
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = "E. Chainmail";
_root.Slot9a = "B";
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = "E. Chainmail";
_root.Slot0a = "B";
}
}
}
}
Symbol 683 MovieClip Frame 1
if (_root.Where == "Trollburg") {
gotoAndStop (2);
} else if (_root.Where == "Goblinia") {
gotoAndStop (3);
} else if (_root.Where == "Humanton") {
gotoAndStop (4);
} else if (_root.Where == "Dwarfheim") {
gotoAndStop (5);
} else if (_root.Where == "Elfville") {
gotoAndStop (6);
}
Symbol 683 MovieClip Frame 2
_root.discount = _root.align + 50;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
price1 = Math.round(70 * (1 + _root.discount));
price2 = Math.round(20 * (1 + _root.discount));
price3 = Math.round(80 * (1 + _root.discount));
price4 = Math.round(55 * (1 + _root.discount));
price5 = Math.round(115 * (1 + _root.discount));
price6 = Math.round(15 * (1 + _root.discount));
Symbol 683 MovieClip Frame 3
_root.discount = _root.align + 30;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
price1 = Math.round(40 * (1 + _root.discount));
price2 = Math.round(75 * (1 + _root.discount));
price3 = Math.round(40 * (1 + _root.discount));
price4 = Math.round(20 * (1 + _root.discount));
price5 = Math.round(95 * (1 + _root.discount));
price6 = Math.round(112 * (1 + _root.discount));
Symbol 683 MovieClip Frame 4
_root.discount = _root.align;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
price1 = Math.round(120 * (1 + _root.discount));
price2 = Math.round(133 * (1 + _root.discount));
price3 = Math.round(80 * (1 + _root.discount));
price4 = Math.round(20 * (1 + _root.discount));
price5 = Math.round(80 * (1 + _root.discount));
price6 = Math.round(20 * (1 + _root.discount));
Symbol 683 MovieClip Frame 5
_root.discount = _root.align - 30;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
price1 = Math.round(40 * (1 + _root.discount));
price2 = Math.round(120 * (1 + _root.discount));
price3 = Math.round(100 * (1 + _root.discount));
price4 = Math.round(80 * (1 + _root.discount));
price5 = Math.round(40 * (1 + _root.discount));
price6 = Math.round(144 * (1 + _root.discount));
Symbol 683 MovieClip Frame 6
_root.discount = _root.align - 50;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
price1 = Math.round(40 * (1 + _root.discount));
price2 = Math.round(80 * (1 + _root.discount));
price3 = Math.round(100 * (1 + _root.discount));
price4 = Math.round(60 * (1 + _root.discount));
price5 = Math.round(80 * (1 + _root.discount));
price6 = Math.round(80 * (1 + _root.discount));
Symbol 685 Button
on (release) {
_root.SSlot = _root.Slot1;
CSlot = _root.Slot1;
_root.sellslot = CSlot;
if (_root.Slot1a == "S") {
_root.typeerror = "no";
if (CSlot == "T. Shield") {
_root.sellprice = 78;
} else if (CSlot == "G. Shield") {
_root.sellprice = 87;
} else if (CSlot == "G. Targe") {
_root.sellprice = 87;
} else if (CSlot == "H. Shield") {
_root.sellprice = 102;
} else if (CSlot == "H. Targe") {
_root.sellprice = 99;
} else if (CSlot == "D. Shield") {
_root.sellprice = 111;
} else if (CSlot == "E. Shield") {
_root.sellprice = 96;
} else if (CSlot == "Main Gauche") {
_root.sellprice = 78;
}
} else if (_root.Slot1a == "H") {
_root.typeerror = "no";
if (CSlot == "T. Cap") {
_root.sellprice = 15;
} else if (CSlot == "T. Helmet") {
_root.sellprice = 54;
} else if (CSlot == "T. Pointy Hat") {
_root.sellprice = 12;
} else if (CSlot == "G. Hood") {
_root.sellprice = 30;
} else if (CSlot == "G. Helmet") {
_root.sellprice = 57;
} else if (CSlot == "G. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "H. Cap") {
_root.sellprice = 30;
} else if (CSlot == "H. Helmet") {
_root.sellprice = 60;
} else if (CSlot == "H. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "D. Cap") {
_root.sellprice = 30;
} else if (CSlot == "D. Helmet") {
_root.sellprice = 75;
} else if (CSlot == "D. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "E. Cap") {
_root.sellprice = 30;
} else if (CSlot == "E. Helmet") {
_root.sellprice = 45;
} else if (CSlot == "E. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "Horned Helm") {
_root.sellprice = 81;
}
} else if (_root.Slot1a == "B") {
_root.typeerror = "no";
if (CSlot == "T. Leather") {
_root.sellprice = 60;
} else if (CSlot == "T. Copper") {
_root.sellprice = 87;
} else if (CSlot == "T. Iron") {
_root.sellprice = 99;
} else if (CSlot == "T. Robe") {
_root.sellprice = 30;
} else if (CSlot == "G. Leather") {
_root.sellprice = 45;
} else if (CSlot == "G. Copper") {
_root.sellprice = 72;
} else if (CSlot == "G. Iron") {
_root.sellprice = 102;
} else if (CSlot == "G. Robe") {
_root.sellprice = 30;
} else if (CSlot == "H. Leather") {
_root.sellprice = 60;
} else if (CSlot == "H. Bronze") {
_root.sellprice = 90;
} else if (CSlot == "H. Iron") {
_root.sellprice = 105;
} else if (CSlot == "H. Robe") {
_root.sellprice = 45;
} else if (CSlot == "D. Leather") {
_root.sellprice = 60;
} else if (CSlot == "D. Chainmail") {
_root.sellprice = 90;
} else if (CSlot == "D. Iron") {
_root.sellprice = 117;
} else if (CSlot == "D. Robe") {
_root.sellprice = 45;
} else if (CSlot == "E. Leather") {
_root.sellprice = 60;
} else if (CSlot == "E. Chainmail") {
_root.sellprice = 75;
} else if (CSlot == "E. Iron") {
_root.sellprice = 105;
} else if (CSlot == "E. Robe") {
_root.sellprice = 60;
}
} else if (_root.Slot1a == "F") {
_root.typeerror = "no";
if (CSlot == "T. Sandals") {
_root.sellprice = 27;
} else if (CSlot == "T. Boots") {
_root.sellprice = 42;
} else if (CSlot == "G. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "G. Boots") {
_root.sellprice = 54;
} else if (CSlot == "H. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "H. Shoes") {
_root.sellprice = 30;
} else if (CSlot == "H. Boots") {
_root.sellprice = 57;
} else if (CSlot == "D. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "D. Shoes") {
_root.sellprice = 30;
} else if (CSlot == "D. Boots") {
_root.sellprice = 60;
} else if (CSlot == "E. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "E. Shoes") {
_root.sellprice = 45;
} else if (CSlot == "Steel Toe") {
_root.sellprice = 69;
}
} else if ((_root.Slot1a != Empty) || (_root.Slot1a == Empty)) {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 688 Button
on (release) {
_root.SSlot = _root.Slot2;
CSlot = _root.Slot2;
_root.sellslot = CSlot;
if (_root.Slot2a == "S") {
_root.typeerror = "no";
if (CSlot == "T. Shield") {
_root.sellprice = 78;
} else if (CSlot == "G. Shield") {
_root.sellprice = 87;
} else if (CSlot == "G. Targe") {
_root.sellprice = 87;
} else if (CSlot == "H. Shield") {
_root.sellprice = 102;
} else if (CSlot == "H. Targe") {
_root.sellprice = 99;
} else if (CSlot == "D. Shield") {
_root.sellprice = 111;
} else if (CSlot == "E. Shield") {
_root.sellprice = 96;
} else if (CSlot == "Main Gauche") {
_root.sellprice = 78;
}
} else if (_root.Slot2a == "H") {
_root.typeerror = "no";
if (CSlot == "T. Cap") {
_root.sellprice = 15;
} else if (CSlot == "T. Helmet") {
_root.sellprice = 54;
} else if (CSlot == "T. Pointy Hat") {
_root.sellprice = 12;
} else if (CSlot == "G. Hood") {
_root.sellprice = 30;
} else if (CSlot == "G. Helmet") {
_root.sellprice = 57;
} else if (CSlot == "G. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "H. Cap") {
_root.sellprice = 30;
} else if (CSlot == "H. Helmet") {
_root.sellprice = 60;
} else if (CSlot == "H. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "D. Cap") {
_root.sellprice = 30;
} else if (CSlot == "D. Helmet") {
_root.sellprice = 75;
} else if (CSlot == "D. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "E. Cap") {
_root.sellprice = 30;
} else if (CSlot == "E. Helmet") {
_root.sellprice = 45;
} else if (CSlot == "E. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "Horned Helm") {
_root.sellprice = 81;
}
} else if (_root.Slot2a == "B") {
_root.typeerror = "no";
if (CSlot == "T. Leather") {
_root.sellprice = 60;
} else if (CSlot == "T. Copper") {
_root.sellprice = 87;
} else if (CSlot == "T. Iron") {
_root.sellprice = 99;
} else if (CSlot == "T. Robe") {
_root.sellprice = 30;
} else if (CSlot == "G. Leather") {
_root.sellprice = 45;
} else if (CSlot == "G. Copper") {
_root.sellprice = 72;
} else if (CSlot == "G. Iron") {
_root.sellprice = 102;
} else if (CSlot == "G. Robe") {
_root.sellprice = 30;
} else if (CSlot == "H. Leather") {
_root.sellprice = 60;
} else if (CSlot == "H. Bronze") {
_root.sellprice = 90;
} else if (CSlot == "H. Iron") {
_root.sellprice = 105;
} else if (CSlot == "H. Robe") {
_root.sellprice = 45;
} else if (CSlot == "D. Leather") {
_root.sellprice = 60;
} else if (CSlot == "D. Chainmail") {
_root.sellprice = 90;
} else if (CSlot == "D. Iron") {
_root.sellprice = 117;
} else if (CSlot == "D. Robe") {
_root.sellprice = 45;
} else if (CSlot == "E. Leather") {
_root.sellprice = 60;
} else if (CSlot == "E. Chainmail") {
_root.sellprice = 75;
} else if (CSlot == "E. Iron") {
_root.sellprice = 105;
} else if (CSlot == "E. Robe") {
_root.sellprice = 60;
}
} else if (_root.Slot2a == "F") {
_root.typeerror = "no";
if (CSlot == "T. Sandals") {
_root.sellprice = 27;
} else if (CSlot == "T. Boots") {
_root.sellprice = 42;
} else if (CSlot == "G. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "G. Boots") {
_root.sellprice = 54;
} else if (CSlot == "H. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "H. Shoes") {
_root.sellprice = 30;
} else if (CSlot == "H. Boots") {
_root.sellprice = 57;
} else if (CSlot == "D. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "D. Shoes") {
_root.sellprice = 30;
} else if (CSlot == "D. Boots") {
_root.sellprice = 60;
} else if (CSlot == "E. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "E. Shoes") {
_root.sellprice = 45;
} else if (CSlot == "Steel Toe") {
_root.sellprice = 69;
}
} else if ((_root.Slot2a != Empty) || (_root.Slot2a == Empty)) {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 691 Button
on (release) {
_root.SSlot = _root.Slot3;
CSlot = _root.Slot3;
_root.sellslot = CSlot;
if (_root.Slot3a == "S") {
_root.typeerror = "no";
if (CSlot == "T. Shield") {
_root.sellprice = 78;
} else if (CSlot == "G. Shield") {
_root.sellprice = 87;
} else if (CSlot == "G. Targe") {
_root.sellprice = 87;
} else if (CSlot == "H. Shield") {
_root.sellprice = 102;
} else if (CSlot == "H. Targe") {
_root.sellprice = 99;
} else if (CSlot == "D. Shield") {
_root.sellprice = 111;
} else if (CSlot == "E. Shield") {
_root.sellprice = 96;
} else if (CSlot == "Main Gauche") {
_root.sellprice = 78;
}
} else if (_root.Slot3a == "H") {
_root.typeerror = "no";
if (CSlot == "T. Cap") {
_root.sellprice = 15;
} else if (CSlot == "T. Helmet") {
_root.sellprice = 54;
} else if (CSlot == "T. Pointy Hat") {
_root.sellprice = 12;
} else if (CSlot == "G. Hood") {
_root.sellprice = 30;
} else if (CSlot == "G. Helmet") {
_root.sellprice = 57;
} else if (CSlot == "G. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "H. Cap") {
_root.sellprice = 30;
} else if (CSlot == "H. Helmet") {
_root.sellprice = 60;
} else if (CSlot == "H. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "D. Cap") {
_root.sellprice = 30;
} else if (CSlot == "D. Helmet") {
_root.sellprice = 75;
} else if (CSlot == "D. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "E. Cap") {
_root.sellprice = 30;
} else if (CSlot == "E. Helmet") {
_root.sellprice = 45;
} else if (CSlot == "E. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "Horned Helm") {
_root.sellprice = 81;
}
} else if (_root.Slot3a == "B") {
_root.typeerror = "no";
if (CSlot == "T. Leather") {
_root.sellprice = 60;
} else if (CSlot == "T. Copper") {
_root.sellprice = 87;
} else if (CSlot == "T. Iron") {
_root.sellprice = 99;
} else if (CSlot == "T. Robe") {
_root.sellprice = 30;
} else if (CSlot == "G. Leather") {
_root.sellprice = 45;
} else if (CSlot == "G. Copper") {
_root.sellprice = 72;
} else if (CSlot == "G. Iron") {
_root.sellprice = 102;
} else if (CSlot == "G. Robe") {
_root.sellprice = 30;
} else if (CSlot == "H. Leather") {
_root.sellprice = 60;
} else if (CSlot == "H. Bronze") {
_root.sellprice = 90;
} else if (CSlot == "H. Iron") {
_root.sellprice = 105;
} else if (CSlot == "H. Robe") {
_root.sellprice = 45;
} else if (CSlot == "D. Leather") {
_root.sellprice = 60;
} else if (CSlot == "D. Chainmail") {
_root.sellprice = 90;
} else if (CSlot == "D. Iron") {
_root.sellprice = 117;
} else if (CSlot == "D. Robe") {
_root.sellprice = 45;
} else if (CSlot == "E. Leather") {
_root.sellprice = 60;
} else if (CSlot == "E. Chainmail") {
_root.sellprice = 75;
} else if (CSlot == "E. Iron") {
_root.sellprice = 105;
} else if (CSlot == "E. Robe") {
_root.sellprice = 60;
}
} else if (_root.Slot3a == "F") {
_root.typeerror = "no";
if (CSlot == "T. Sandals") {
_root.sellprice = 27;
} else if (CSlot == "T. Boots") {
_root.sellprice = 42;
} else if (CSlot == "G. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "G. Boots") {
_root.sellprice = 54;
} else if (CSlot == "H. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "H. Shoes") {
_root.sellprice = 30;
} else if (CSlot == "H. Boots") {
_root.sellprice = 57;
} else if (CSlot == "D. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "D. Shoes") {
_root.sellprice = 30;
} else if (CSlot == "D. Boots") {
_root.sellprice = 60;
} else if (CSlot == "E. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "E. Shoes") {
_root.sellprice = 45;
} else if (CSlot == "Steel Toe") {
_root.sellprice = 69;
}
} else if ((_root.Slot3a != Empty) || (_root.Slot3a == Empty)) {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 694 Button
on (release) {
_root.SSlot = _root.Slot4;
CSlot = _root.Slot4;
_root.sellslot = CSlot;
if (_root.Slot4a == "S") {
_root.typeerror = "no";
if (CSlot == "T. Shield") {
_root.sellprice = 78;
} else if (CSlot == "G. Shield") {
_root.sellprice = 87;
} else if (CSlot == "G. Targe") {
_root.sellprice = 87;
} else if (CSlot == "H. Shield") {
_root.sellprice = 102;
} else if (CSlot == "H. Targe") {
_root.sellprice = 99;
} else if (CSlot == "D. Shield") {
_root.sellprice = 111;
} else if (CSlot == "E. Shield") {
_root.sellprice = 96;
} else if (CSlot == "Main Gauche") {
_root.sellprice = 78;
}
} else if (_root.Slot4a == "H") {
_root.typeerror = "no";
if (CSlot == "T. Cap") {
_root.sellprice = 15;
} else if (CSlot == "T. Helmet") {
_root.sellprice = 54;
} else if (CSlot == "T. Pointy Hat") {
_root.sellprice = 12;
} else if (CSlot == "G. Hood") {
_root.sellprice = 30;
} else if (CSlot == "G. Helmet") {
_root.sellprice = 57;
} else if (CSlot == "G. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "H. Cap") {
_root.sellprice = 30;
} else if (CSlot == "H. Helmet") {
_root.sellprice = 60;
} else if (CSlot == "H. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "D. Cap") {
_root.sellprice = 30;
} else if (CSlot == "D. Helmet") {
_root.sellprice = 75;
} else if (CSlot == "D. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "E. Cap") {
_root.sellprice = 30;
} else if (CSlot == "E. Helmet") {
_root.sellprice = 45;
} else if (CSlot == "E. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "Horned Helm") {
_root.sellprice = 81;
}
} else if (_root.Slot4a == "B") {
_root.typeerror = "no";
if (CSlot == "T. Leather") {
_root.sellprice = 60;
} else if (CSlot == "T. Copper") {
_root.sellprice = 87;
} else if (CSlot == "T. Iron") {
_root.sellprice = 99;
} else if (CSlot == "T. Robe") {
_root.sellprice = 30;
} else if (CSlot == "G. Leather") {
_root.sellprice = 45;
} else if (CSlot == "G. Copper") {
_root.sellprice = 72;
} else if (CSlot == "G. Iron") {
_root.sellprice = 102;
} else if (CSlot == "G. Robe") {
_root.sellprice = 30;
} else if (CSlot == "H. Leather") {
_root.sellprice = 60;
} else if (CSlot == "H. Bronze") {
_root.sellprice = 90;
} else if (CSlot == "H. Iron") {
_root.sellprice = 105;
} else if (CSlot == "H. Robe") {
_root.sellprice = 45;
} else if (CSlot == "D. Leather") {
_root.sellprice = 60;
} else if (CSlot == "D. Chainmail") {
_root.sellprice = 90;
} else if (CSlot == "D. Iron") {
_root.sellprice = 117;
} else if (CSlot == "D. Robe") {
_root.sellprice = 45;
} else if (CSlot == "E. Leather") {
_root.sellprice = 60;
} else if (CSlot == "E. Chainmail") {
_root.sellprice = 75;
} else if (CSlot == "E. Iron") {
_root.sellprice = 105;
} else if (CSlot == "E. Robe") {
_root.sellprice = 60;
}
} else if (_root.Slot4a == "F") {
_root.typeerror = "no";
if (CSlot == "T. Sandals") {
_root.sellprice = 27;
} else if (CSlot == "T. Boots") {
_root.sellprice = 42;
} else if (CSlot == "G. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "G. Boots") {
_root.sellprice = 54;
} else if (CSlot == "H. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "H. Shoes") {
_root.sellprice = 30;
} else if (CSlot == "H. Boots") {
_root.sellprice = 57;
} else if (CSlot == "D. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "D. Shoes") {
_root.sellprice = 30;
} else if (CSlot == "D. Boots") {
_root.sellprice = 60;
} else if (CSlot == "E. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "E. Shoes") {
_root.sellprice = 45;
} else if (CSlot == "Steel Toe") {
_root.sellprice = 69;
}
} else if ((_root.Slot4a != Empty) || (_root.Slot4a == Empty)) {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 697 Button
on (release) {
_root.SSlot = _root.Slot5;
CSlot = _root.Slot5;
_root.sellslot = CSlot;
if (_root.Slot5a == "S") {
_root.typeerror = "no";
if (CSlot == "T. Shield") {
_root.sellprice = 78;
} else if (CSlot == "G. Shield") {
_root.sellprice = 87;
} else if (CSlot == "G. Targe") {
_root.sellprice = 87;
} else if (CSlot == "H. Shield") {
_root.sellprice = 102;
} else if (CSlot == "H. Targe") {
_root.sellprice = 99;
} else if (CSlot == "D. Shield") {
_root.sellprice = 111;
} else if (CSlot == "E. Shield") {
_root.sellprice = 96;
} else if (CSlot == "Main Gauche") {
_root.sellprice = 78;
}
} else if (_root.Slot5a == "H") {
_root.typeerror = "no";
if (CSlot == "T. Cap") {
_root.sellprice = 15;
} else if (CSlot == "T. Helmet") {
_root.sellprice = 54;
} else if (CSlot == "T. Pointy Hat") {
_root.sellprice = 12;
} else if (CSlot == "G. Hood") {
_root.sellprice = 30;
} else if (CSlot == "G. Helmet") {
_root.sellprice = 57;
} else if (CSlot == "G. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "H. Cap") {
_root.sellprice = 30;
} else if (CSlot == "H. Helmet") {
_root.sellprice = 60;
} else if (CSlot == "H. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "D. Cap") {
_root.sellprice = 30;
} else if (CSlot == "D. Helmet") {
_root.sellprice = 75;
} else if (CSlot == "D. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "E. Cap") {
_root.sellprice = 30;
} else if (CSlot == "E. Helmet") {
_root.sellprice = 45;
} else if (CSlot == "E. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "Horned Helm") {
_root.sellprice = 81;
}
} else if (_root.Slot5a == "B") {
_root.typeerror = "no";
if (CSlot == "T. Leather") {
_root.sellprice = 60;
} else if (CSlot == "T. Copper") {
_root.sellprice = 87;
} else if (CSlot == "T. Iron") {
_root.sellprice = 99;
} else if (CSlot == "T. Robe") {
_root.sellprice = 30;
} else if (CSlot == "G. Leather") {
_root.sellprice = 45;
} else if (CSlot == "G. Copper") {
_root.sellprice = 72;
} else if (CSlot == "G. Iron") {
_root.sellprice = 102;
} else if (CSlot == "G. Robe") {
_root.sellprice = 30;
} else if (CSlot == "H. Leather") {
_root.sellprice = 60;
} else if (CSlot == "H. Bronze") {
_root.sellprice = 90;
} else if (CSlot == "H. Iron") {
_root.sellprice = 105;
} else if (CSlot == "H. Robe") {
_root.sellprice = 45;
} else if (CSlot == "D. Leather") {
_root.sellprice = 60;
} else if (CSlot == "D. Chainmail") {
_root.sellprice = 90;
} else if (CSlot == "D. Iron") {
_root.sellprice = 117;
} else if (CSlot == "D. Robe") {
_root.sellprice = 45;
} else if (CSlot == "E. Leather") {
_root.sellprice = 60;
} else if (CSlot == "E. Chainmail") {
_root.sellprice = 75;
} else if (CSlot == "E. Iron") {
_root.sellprice = 105;
} else if (CSlot == "E. Robe") {
_root.sellprice = 60;
}
} else if (_root.Slot5a == "F") {
_root.typeerror = "no";
if (CSlot == "T. Sandals") {
_root.sellprice = 27;
} else if (CSlot == "T. Boots") {
_root.sellprice = 42;
} else if (CSlot == "G. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "G. Boots") {
_root.sellprice = 54;
} else if (CSlot == "H. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "H. Shoes") {
_root.sellprice = 30;
} else if (CSlot == "H. Boots") {
_root.sellprice = 57;
} else if (CSlot == "D. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "D. Shoes") {
_root.sellprice = 30;
} else if (CSlot == "D. Boots") {
_root.sellprice = 60;
} else if (CSlot == "E. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "E. Shoes") {
_root.sellprice = 45;
} else if (CSlot == "Steel Toe") {
_root.sellprice = 69;
}
} else if ((_root.Slot5a != Empty) || (_root.Slot5a == Empty)) {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 700 Button
on (release) {
_root.SSlot = _root.Slot6;
CSlot = _root.Slot6;
_root.sellslot = CSlot;
if (_root.Slot6a == "S") {
_root.typeerror = "no";
if (CSlot == "T. Shield") {
_root.sellprice = 78;
} else if (CSlot == "G. Shield") {
_root.sellprice = 87;
} else if (CSlot == "G. Targe") {
_root.sellprice = 87;
} else if (CSlot == "H. Shield") {
_root.sellprice = 102;
} else if (CSlot == "H. Targe") {
_root.sellprice = 99;
} else if (CSlot == "D. Shield") {
_root.sellprice = 111;
} else if (CSlot == "E. Shield") {
_root.sellprice = 96;
} else if (CSlot == "Main Gauche") {
_root.sellprice = 78;
}
} else if (_root.Slot6a == "H") {
_root.typeerror = "no";
if (CSlot == "T. Cap") {
_root.sellprice = 15;
} else if (CSlot == "T. Helmet") {
_root.sellprice = 54;
} else if (CSlot == "T. Pointy Hat") {
_root.sellprice = 12;
} else if (CSlot == "G. Hood") {
_root.sellprice = 30;
} else if (CSlot == "G. Helmet") {
_root.sellprice = 57;
} else if (CSlot == "G. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "H. Cap") {
_root.sellprice = 30;
} else if (CSlot == "H. Helmet") {
_root.sellprice = 60;
} else if (CSlot == "H. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "D. Cap") {
_root.sellprice = 30;
} else if (CSlot == "D. Helmet") {
_root.sellprice = 75;
} else if (CSlot == "D. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "E. Cap") {
_root.sellprice = 30;
} else if (CSlot == "E. Helmet") {
_root.sellprice = 45;
} else if (CSlot == "E. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "Horned Helm") {
_root.sellprice = 81;
}
} else if (_root.Slot6a == "B") {
_root.typeerror = "no";
if (CSlot == "T. Leather") {
_root.sellprice = 60;
} else if (CSlot == "T. Copper") {
_root.sellprice = 87;
} else if (CSlot == "T. Iron") {
_root.sellprice = 99;
} else if (CSlot == "T. Robe") {
_root.sellprice = 30;
} else if (CSlot == "G. Leather") {
_root.sellprice = 45;
} else if (CSlot == "G. Copper") {
_root.sellprice = 72;
} else if (CSlot == "G. Iron") {
_root.sellprice = 102;
} else if (CSlot == "G. Robe") {
_root.sellprice = 30;
} else if (CSlot == "H. Leather") {
_root.sellprice = 60;
} else if (CSlot == "H. Bronze") {
_root.sellprice = 90;
} else if (CSlot == "H. Iron") {
_root.sellprice = 105;
} else if (CSlot == "H. Robe") {
_root.sellprice = 45;
} else if (CSlot == "D. Leather") {
_root.sellprice = 60;
} else if (CSlot == "D. Chainmail") {
_root.sellprice = 90;
} else if (CSlot == "D. Iron") {
_root.sellprice = 117;
} else if (CSlot == "D. Robe") {
_root.sellprice = 45;
} else if (CSlot == "E. Leather") {
_root.sellprice = 60;
} else if (CSlot == "E. Chainmail") {
_root.sellprice = 75;
} else if (CSlot == "E. Iron") {
_root.sellprice = 105;
} else if (CSlot == "E. Robe") {
_root.sellprice = 60;
}
} else if (_root.Slot6a == "F") {
_root.typeerror = "no";
if (CSlot == "T. Sandals") {
_root.sellprice = 27;
} else if (CSlot == "T. Boots") {
_root.sellprice = 42;
} else if (CSlot == "G. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "G. Boots") {
_root.sellprice = 54;
} else if (CSlot == "H. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "H. Shoes") {
_root.sellprice = 30;
} else if (CSlot == "H. Boots") {
_root.sellprice = 57;
} else if (CSlot == "D. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "D. Shoes") {
_root.sellprice = 30;
} else if (CSlot == "D. Boots") {
_root.sellprice = 60;
} else if (CSlot == "E. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "E. Shoes") {
_root.sellprice = 45;
} else if (CSlot == "Steel Toe") {
_root.sellprice = 69;
}
} else if ((_root.Slot6a != Empty) || (_root.Slot6a == Empty)) {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 703 Button
on (release) {
_root.SSlot = _root.Slot7;
CSlot = _root.Slot7;
_root.sellslot = CSlot;
if (_root.Slot7a == "S") {
_root.typeerror = "no";
if (CSlot == "T. Shield") {
_root.sellprice = 78;
} else if (CSlot == "G. Shield") {
_root.sellprice = 87;
} else if (CSlot == "G. Targe") {
_root.sellprice = 87;
} else if (CSlot == "H. Shield") {
_root.sellprice = 102;
} else if (CSlot == "H. Targe") {
_root.sellprice = 99;
} else if (CSlot == "D. Shield") {
_root.sellprice = 111;
} else if (CSlot == "E. Shield") {
_root.sellprice = 96;
} else if (CSlot == "Main Gauche") {
_root.sellprice = 78;
}
} else if (_root.Slot7a == "H") {
_root.typeerror = "no";
if (CSlot == "T. Cap") {
_root.sellprice = 15;
} else if (CSlot == "T. Helmet") {
_root.sellprice = 54;
} else if (CSlot == "T. Pointy Hat") {
_root.sellprice = 12;
} else if (CSlot == "G. Hood") {
_root.sellprice = 30;
} else if (CSlot == "G. Helmet") {
_root.sellprice = 57;
} else if (CSlot == "G. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "H. Cap") {
_root.sellprice = 30;
} else if (CSlot == "H. Helmet") {
_root.sellprice = 60;
} else if (CSlot == "H. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "D. Cap") {
_root.sellprice = 30;
} else if (CSlot == "D. Helmet") {
_root.sellprice = 75;
} else if (CSlot == "D. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "E. Cap") {
_root.sellprice = 30;
} else if (CSlot == "E. Helmet") {
_root.sellprice = 45;
} else if (CSlot == "E. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "Horned Helm") {
_root.sellprice = 81;
}
} else if (_root.Slot7a == "B") {
_root.typeerror = "no";
if (CSlot == "T. Leather") {
_root.sellprice = 60;
} else if (CSlot == "T. Copper") {
_root.sellprice = 87;
} else if (CSlot == "T. Iron") {
_root.sellprice = 99;
} else if (CSlot == "T. Robe") {
_root.sellprice = 30;
} else if (CSlot == "G. Leather") {
_root.sellprice = 45;
} else if (CSlot == "G. Copper") {
_root.sellprice = 72;
} else if (CSlot == "G. Iron") {
_root.sellprice = 102;
} else if (CSlot == "G. Robe") {
_root.sellprice = 30;
} else if (CSlot == "H. Leather") {
_root.sellprice = 60;
} else if (CSlot == "H. Bronze") {
_root.sellprice = 90;
} else if (CSlot == "H. Iron") {
_root.sellprice = 105;
} else if (CSlot == "H. Robe") {
_root.sellprice = 45;
} else if (CSlot == "D. Leather") {
_root.sellprice = 60;
} else if (CSlot == "D. Chainmail") {
_root.sellprice = 90;
} else if (CSlot == "D. Iron") {
_root.sellprice = 117;
} else if (CSlot == "D. Robe") {
_root.sellprice = 45;
} else if (CSlot == "E. Leather") {
_root.sellprice = 60;
} else if (CSlot == "E. Chainmail") {
_root.sellprice = 75;
} else if (CSlot == "E. Iron") {
_root.sellprice = 105;
} else if (CSlot == "E. Robe") {
_root.sellprice = 60;
}
} else if (_root.Slot7a == "F") {
_root.typeerror = "no";
if (CSlot == "T. Sandals") {
_root.sellprice = 27;
} else if (CSlot == "T. Boots") {
_root.sellprice = 42;
} else if (CSlot == "G. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "G. Boots") {
_root.sellprice = 54;
} else if (CSlot == "H. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "H. Shoes") {
_root.sellprice = 30;
} else if (CSlot == "H. Boots") {
_root.sellprice = 57;
} else if (CSlot == "D. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "D. Shoes") {
_root.sellprice = 30;
} else if (CSlot == "D. Boots") {
_root.sellprice = 60;
} else if (CSlot == "E. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "E. Shoes") {
_root.sellprice = 45;
} else if (CSlot == "Steel Toe") {
_root.sellprice = 69;
}
} else if ((_root.Slot7a != Empty) || (_root.Slot7a == Empty)) {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 706 Button
on (release) {
_root.SSlot = _root.Slot8;
CSlot = _root.Slot8;
_root.sellslot = CSlot;
if (_root.Slot8a == "S") {
_root.typeerror = "no";
if (CSlot == "T. Shield") {
_root.sellprice = 78;
} else if (CSlot == "G. Shield") {
_root.sellprice = 87;
} else if (CSlot == "G. Targe") {
_root.sellprice = 87;
} else if (CSlot == "H. Shield") {
_root.sellprice = 102;
} else if (CSlot == "H. Targe") {
_root.sellprice = 99;
} else if (CSlot == "D. Shield") {
_root.sellprice = 111;
} else if (CSlot == "E. Shield") {
_root.sellprice = 96;
} else if (CSlot == "Main Gauche") {
_root.sellprice = 78;
}
} else if (_root.Slot8a == "H") {
_root.typeerror = "no";
if (CSlot == "T. Cap") {
_root.sellprice = 15;
} else if (CSlot == "T. Helmet") {
_root.sellprice = 54;
} else if (CSlot == "T. Pointy Hat") {
_root.sellprice = 12;
} else if (CSlot == "G. Hood") {
_root.sellprice = 30;
} else if (CSlot == "G. Helmet") {
_root.sellprice = 57;
} else if (CSlot == "G. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "H. Cap") {
_root.sellprice = 30;
} else if (CSlot == "H. Helmet") {
_root.sellprice = 60;
} else if (CSlot == "H. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "D. Cap") {
_root.sellprice = 30;
} else if (CSlot == "D. Helmet") {
_root.sellprice = 75;
} else if (CSlot == "D. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "E. Cap") {
_root.sellprice = 30;
} else if (CSlot == "E. Helmet") {
_root.sellprice = 45;
} else if (CSlot == "E. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "Horned Helm") {
_root.sellprice = 81;
}
} else if (_root.Slot8a == "B") {
_root.typeerror = "no";
if (CSlot == "T. Leather") {
_root.sellprice = 60;
} else if (CSlot == "T. Copper") {
_root.sellprice = 87;
} else if (CSlot == "T. Iron") {
_root.sellprice = 99;
} else if (CSlot == "T. Robe") {
_root.sellprice = 30;
} else if (CSlot == "G. Leather") {
_root.sellprice = 45;
} else if (CSlot == "G. Copper") {
_root.sellprice = 72;
} else if (CSlot == "G. Iron") {
_root.sellprice = 102;
} else if (CSlot == "G. Robe") {
_root.sellprice = 30;
} else if (CSlot == "H. Leather") {
_root.sellprice = 60;
} else if (CSlot == "H. Bronze") {
_root.sellprice = 90;
} else if (CSlot == "H. Iron") {
_root.sellprice = 105;
} else if (CSlot == "H. Robe") {
_root.sellprice = 45;
} else if (CSlot == "D. Leather") {
_root.sellprice = 60;
} else if (CSlot == "D. Chainmail") {
_root.sellprice = 90;
} else if (CSlot == "D. Iron") {
_root.sellprice = 117;
} else if (CSlot == "D. Robe") {
_root.sellprice = 45;
} else if (CSlot == "E. Leather") {
_root.sellprice = 60;
} else if (CSlot == "E. Chainmail") {
_root.sellprice = 75;
} else if (CSlot == "E. Iron") {
_root.sellprice = 105;
} else if (CSlot == "E. Robe") {
_root.sellprice = 60;
}
} else if (_root.Slot8a == "F") {
_root.typeerror = "no";
if (CSlot == "T. Sandals") {
_root.sellprice = 27;
} else if (CSlot == "T. Boots") {
_root.sellprice = 42;
} else if (CSlot == "G. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "G. Boots") {
_root.sellprice = 54;
} else if (CSlot == "H. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "H. Shoes") {
_root.sellprice = 30;
} else if (CSlot == "H. Boots") {
_root.sellprice = 57;
} else if (CSlot == "D. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "D. Shoes") {
_root.sellprice = 30;
} else if (CSlot == "D. Boots") {
_root.sellprice = 60;
} else if (CSlot == "E. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "E. Shoes") {
_root.sellprice = 45;
} else if (CSlot == "Steel Toe") {
_root.sellprice = 69;
}
} else if ((_root.Slot8a != Empty) || (_root.Slot8a == Empty)) {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 709 Button
on (release) {
_root.SSlot = _root.Slot9;
CSlot = _root.Slot9;
_root.sellslot = CSlot;
if (_root.Slot9a == "S") {
_root.typeerror = "no";
if (CSlot == "T. Shield") {
_root.sellprice = 78;
} else if (CSlot == "G. Shield") {
_root.sellprice = 87;
} else if (CSlot == "G. Targe") {
_root.sellprice = 87;
} else if (CSlot == "H. Shield") {
_root.sellprice = 102;
} else if (CSlot == "H. Targe") {
_root.sellprice = 99;
} else if (CSlot == "D. Shield") {
_root.sellprice = 111;
} else if (CSlot == "E. Shield") {
_root.sellprice = 96;
} else if (CSlot == "Main Gauche") {
_root.sellprice = 78;
}
} else if (_root.Slot9a == "H") {
_root.typeerror = "no";
if (CSlot == "T. Cap") {
_root.sellprice = 15;
} else if (CSlot == "T. Helmet") {
_root.sellprice = 54;
} else if (CSlot == "T. Pointy Hat") {
_root.sellprice = 12;
} else if (CSlot == "G. Hood") {
_root.sellprice = 30;
} else if (CSlot == "G. Helmet") {
_root.sellprice = 57;
} else if (CSlot == "G. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "H. Cap") {
_root.sellprice = 30;
} else if (CSlot == "H. Helmet") {
_root.sellprice = 60;
} else if (CSlot == "H. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "D. Cap") {
_root.sellprice = 30;
} else if (CSlot == "D. Helmet") {
_root.sellprice = 75;
} else if (CSlot == "D. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "E. Cap") {
_root.sellprice = 30;
} else if (CSlot == "E. Helmet") {
_root.sellprice = 45;
} else if (CSlot == "E. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "Horned Helm") {
_root.sellprice = 81;
}
} else if (_root.Slot9a == "B") {
_root.typeerror = "no";
if (CSlot == "T. Leather") {
_root.sellprice = 60;
} else if (CSlot == "T. Copper") {
_root.sellprice = 87;
} else if (CSlot == "T. Iron") {
_root.sellprice = 99;
} else if (CSlot == "T. Robe") {
_root.sellprice = 30;
} else if (CSlot == "G. Leather") {
_root.sellprice = 45;
} else if (CSlot == "G. Copper") {
_root.sellprice = 72;
} else if (CSlot == "G. Iron") {
_root.sellprice = 102;
} else if (CSlot == "G. Robe") {
_root.sellprice = 30;
} else if (CSlot == "H. Leather") {
_root.sellprice = 60;
} else if (CSlot == "H. Bronze") {
_root.sellprice = 90;
} else if (CSlot == "H. Iron") {
_root.sellprice = 105;
} else if (CSlot == "H. Robe") {
_root.sellprice = 45;
} else if (CSlot == "D. Leather") {
_root.sellprice = 60;
} else if (CSlot == "D. Chainmail") {
_root.sellprice = 90;
} else if (CSlot == "D. Iron") {
_root.sellprice = 117;
} else if (CSlot == "D. Robe") {
_root.sellprice = 45;
} else if (CSlot == "E. Leather") {
_root.sellprice = 60;
} else if (CSlot == "E. Chainmail") {
_root.sellprice = 75;
} else if (CSlot == "E. Iron") {
_root.sellprice = 105;
} else if (CSlot == "E. Robe") {
_root.sellprice = 60;
}
} else if (_root.Slot9a == "F") {
_root.typeerror = "no";
if (CSlot == "T. Sandals") {
_root.sellprice = 27;
} else if (CSlot == "T. Boots") {
_root.sellprice = 42;
} else if (CSlot == "G. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "G. Boots") {
_root.sellprice = 54;
} else if (CSlot == "H. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "H. Shoes") {
_root.sellprice = 30;
} else if (CSlot == "H. Boots") {
_root.sellprice = 57;
} else if (CSlot == "D. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "D. Shoes") {
_root.sellprice = 30;
} else if (CSlot == "D. Boots") {
_root.sellprice = 60;
} else if (CSlot == "E. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "E. Shoes") {
_root.sellprice = 45;
} else if (CSlot == "Steel Toe") {
_root.sellprice = 69;
}
} else if ((_root.Slot9a != Empty) || (_root.Slot9a == Empty)) {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 712 Button
on (release) {
_root.SSlot = _root.Slot0;
CSlot = _root.Slot0;
_root.sellslot = CSlot;
if (_root.Slot0a == "S") {
_root.typeerror = "no";
if (CSlot == "T. Shield") {
_root.sellprice = 78;
} else if (CSlot == "G. Shield") {
_root.sellprice = 87;
} else if (CSlot == "G. Targe") {
_root.sellprice = 87;
} else if (CSlot == "H. Shield") {
_root.sellprice = 102;
} else if (CSlot == "H. Targe") {
_root.sellprice = 99;
} else if (CSlot == "D. Shield") {
_root.sellprice = 111;
} else if (CSlot == "E. Shield") {
_root.sellprice = 96;
} else if (CSlot == "Main Gauche") {
_root.sellprice = 78;
}
} else if (_root.Slot0a == "H") {
_root.typeerror = "no";
if (CSlot == "T. Cap") {
_root.sellprice = 15;
} else if (CSlot == "T. Helmet") {
_root.sellprice = 54;
} else if (CSlot == "T. Pointy Hat") {
_root.sellprice = 12;
} else if (CSlot == "G. Hood") {
_root.sellprice = 30;
} else if (CSlot == "G. Helmet") {
_root.sellprice = 57;
} else if (CSlot == "G. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "H. Cap") {
_root.sellprice = 30;
} else if (CSlot == "H. Helmet") {
_root.sellprice = 60;
} else if (CSlot == "H. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "D. Cap") {
_root.sellprice = 30;
} else if (CSlot == "D. Helmet") {
_root.sellprice = 75;
} else if (CSlot == "D. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "E. Cap") {
_root.sellprice = 30;
} else if (CSlot == "E. Helmet") {
_root.sellprice = 45;
} else if (CSlot == "E. Pointy Hat") {
_root.sellprice = 15;
} else if (CSlot == "Horned Helm") {
_root.sellprice = 81;
}
} else if (_root.Slot0a == "B") {
_root.typeerror = "no";
if (CSlot == "T. Leather") {
_root.sellprice = 60;
} else if (CSlot == "T. Copper") {
_root.sellprice = 87;
} else if (CSlot == "T. Iron") {
_root.sellprice = 99;
} else if (CSlot == "T. Robe") {
_root.sellprice = 30;
} else if (CSlot == "G. Leather") {
_root.sellprice = 45;
} else if (CSlot == "G. Copper") {
_root.sellprice = 72;
} else if (CSlot == "G. Iron") {
_root.sellprice = 102;
} else if (CSlot == "G. Robe") {
_root.sellprice = 30;
} else if (CSlot == "H. Leather") {
_root.sellprice = 60;
} else if (CSlot == "H. Bronze") {
_root.sellprice = 90;
} else if (CSlot == "H. Iron") {
_root.sellprice = 105;
} else if (CSlot == "H. Robe") {
_root.sellprice = 45;
} else if (CSlot == "D. Leather") {
_root.sellprice = 60;
} else if (CSlot == "D. Chainmail") {
_root.sellprice = 90;
} else if (CSlot == "D. Iron") {
_root.sellprice = 117;
} else if (CSlot == "D. Robe") {
_root.sellprice = 45;
} else if (CSlot == "E. Leather") {
_root.sellprice = 60;
} else if (CSlot == "E. Chainmail") {
_root.sellprice = 75;
} else if (CSlot == "E. Iron") {
_root.sellprice = 105;
} else if (CSlot == "E. Robe") {
_root.sellprice = 60;
}
} else if (_root.Slot0a == "F") {
_root.typeerror = "no";
if (CSlot == "T. Sandals") {
_root.sellprice = 27;
} else if (CSlot == "T. Boots") {
_root.sellprice = 42;
} else if (CSlot == "G. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "G. Boots") {
_root.sellprice = 54;
} else if (CSlot == "H. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "H. Shoes") {
_root.sellprice = 30;
} else if (CSlot == "H. Boots") {
_root.sellprice = 57;
} else if (CSlot == "D. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "D. Shoes") {
_root.sellprice = 30;
} else if (CSlot == "D. Boots") {
_root.sellprice = 60;
} else if (CSlot == "E. Sandals") {
_root.sellprice = 15;
} else if (CSlot == "E. Shoes") {
_root.sellprice = 45;
} else if (CSlot == "Steel Toe") {
_root.sellprice = 69;
}
} else if ((_root.Slot0a != Empty) || (_root.Slot0a == Empty)) {
_root.typeerror = "yes";
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.sellconfirm.gotoAndStop(2);
_root.sellconfirm._visible = true;
}
}
Symbol 714 Button
on (release) {
_root.armorsell._visible = false;
_root.sellconfirm._visible = false;
_root.sellerror._visible = false;
}
Symbol 721 Button
on (release) {
if ((_root.Money >= price1) && (_root.Adventures >= 1)) {
_root.Money = _root.Money - price1;
_root.Fireball = _root.Fireball + 1;
_root.Adventures = _root.Adventures - 1;
_root.towermovie._visible = true;
_root.towermovie.gotoAndPlay(45);
gotoAndPlay (1);
}
}
Symbol 723 Button
on (release) {
if ((_root.Money >= price2) && (_root.Adventures >= 1)) {
_root.Money = _root.Money - price2;
_root.Heal = _root.Heal + 1;
_root.Adventures = _root.Adventures - 1;
_root.towermovie._visible = true;
_root.towermovie.gotoAndPlay(59);
gotoAndPlay (1);
}
}
Symbol 726 Button
on (release) {
if ((_root.Money >= price3) && (_root.Adventures >= 1)) {
_root.Money = _root.Money - price3;
_root.Thunder = _root.Thunder + 1;
_root.Adventures = _root.Adventures - 1;
_root.towermovie._visible = true;
_root.towermovie.gotoAndPlay(73);
gotoAndPlay (1);
}
}
Symbol 729 Button
on (release) {
if ((_root.Money >= price4) && (_root.Adventures >= 1)) {
_root.Money = _root.Money - price4;
_root.Adventures = _root.Adventures - 1;
_root.towermovie._visible = true;
_root.towermovie.gotoAndPlay(2);
gotoAndPlay (1);
}
}
Symbol 732 Button
on (release) {
if ((_root.Money >= price1) && (_root.Adventures >= 1)) {
_root.Money = _root.Money - price1;
_root.Heal = _root.Heal + 1;
_root.Adventures = _root.Adventures - 1;
_root.towermovie._visible = true;
_root.towermovie.gotoAndPlay(59);
gotoAndPlay (1);
}
}
Symbol 734 Button
on (release) {
if ((_root.Money >= price2) && (_root.Adventures >= 1)) {
_root.Money = _root.Money - price2;
_root.Thunder = _root.Thunder + 1;
_root.Adventures = _root.Adventures - 1;
_root.towermovie._visible = true;
_root.towermovie.gotoAndPlay(73);
gotoAndPlay (1);
}
}
Symbol 736 Button
on (release) {
if ((_root.Money >= price3) && (_root.Adventures >= 1)) {
_root.Money = _root.Money - price3;
_root.Ice = _root.Ice + 1;
_root.Adventures = _root.Adventures - 1;
_root.towermovie._visible = true;
_root.towermovie.gotoAndPlay(87);
gotoAndPlay (1);
}
}
Symbol 740 Button
on (release) {
if ((_root.Money >= price1) && (_root.Adventures >= 1)) {
_root.Money = _root.Money - price1;
_root.Thunder = _root.Thunder + 1;
_root.Adventures = _root.Adventures - 1;
_root.towermovie._visible = true;
_root.towermovie.gotoAndPlay(73);
gotoAndPlay (1);
}
}
Symbol 742 Button
on (release) {
if ((_root.Money >= price2) && (_root.Adventures >= 1)) {
_root.Money = _root.Money - Price2;
_root.Ice = _root.Ice + 1;
_root.Adventures = _root.Adventures - 1;
_root.towermovie._visible = true;
_root.towermovie.gotoAndPlay(87);
gotoAndPlay (1);
}
}
Symbol 744 Button
on (release) {
if ((_root.Money >= price3) && (_root.Adventures >= 1)) {
_root.Money = _root.Money - price3;
_root.MShield = _root.MShield + 1;
_root.Adventures = _root.Adventures - 1;
_root.towermovie._visible = true;
_root.towermovie.gotoAndPlay(101);
gotoAndPlay (1);
}
}
Symbol 748 Button
on (release) {
if ((_root.Money >= price1) && (_root.Adventures >= 1)) {
_root.Money = _root.Money - price1;
_root.Ice = _root.Ice + 1;
_root.Adventures = _root.Adventures - 1;
_root.towermovie._visible = true;
_root.towermovie.gotoAndPlay(87);
gotoAndPlay (1);
}
}
Symbol 750 Button
on (release) {
if ((_root.Money >= price2) && (_root.Adventures >= 1)) {
_root.Money = _root.Money - price2;
_root.MShield = _root.MShield + 1;
_root.Adventures = _root.Adventures - 1;
_root.towermovie._visible = true;
_root.towermovie.gotoAndPlay(101);
gotoAndPlay (1);
}
}
Symbol 752 Button
on (release) {
if ((_root.Money >= price3) && (_root.Adventures >= 1)) {
_root.Money = _root.Money - price3;
_root.Fireball = _root.Fireball + 1;
_root.Adventures = _root.Adventures - 1;
_root.towermovie._visible = true;
_root.towermovie.gotoAndPlay(45);
gotoAndPlay (1);
}
}
Symbol 756 Button
on (release) {
if ((_root.Money >= price1) && (_root.Adventures >= 1)) {
_root.Money = _root.Money - price1;
_root.MShield = _root.MShield + 1;
_root.Adventures = _root.Adventures - 1;
_root.towermovie._visible = true;
_root.towermovie.gotoAndPlay(101);
gotoAndPlay (1);
}
}
Symbol 758 Button
on (release) {
if ((_root.Money >= price2) && (_root.Adventures >= 1)) {
_root.Money = _root.Money - price2;
_root.Fireball = _root.Fireball + 1;
_root.Adventures = _root.Adventures - 1;
_root.towermovie._visible = true;
_root.towermovie.gotoAndPlay(45);
gotoAndPlay (1);
}
}
Symbol 760 Button
on (release) {
if ((_root.Money >= price3) && (_root.Adventures >= 1)) {
_root.Money = _root.Money - price3;
_root.Heal = _root.Heal + 1;
_root.Adventures = _root.Adventures - 1;
_root.towermovie._visible = true;
_root.towermovie.gotoAndPlay(59);
gotoAndPlay (1);
}
}
Symbol 763 MovieClip Frame 1
if (_root.Where == "Trollburg") {
gotoAndStop (2);
} else if (_root.Where == "Goblinia") {
gotoAndStop (3);
} else if (_root.Where == "Humanton") {
gotoAndStop (4);
} else if (_root.Where == "Dwarfheim") {
gotoAndStop (5);
} else if (_root.Where == "Elfville") {
gotoAndStop (6);
} else {
stop();
}
Symbol 763 MovieClip Frame 2
_root.discount = _root.align + 50;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
if (_root.Class == "Wizard") {
price1 = Math.round(((_root.Fireball * 100) + 100) * (1 + _root.discount));
price2 = Math.round(((_root.Heal * 100) + 100) * (1 + _root.discount));
price3 = Math.round(((_root.Thunderbolt * 100) + 100) * (1 + _root.discount));
price4 = Math.round(50 * (1 + _root.discount));
} else {
price1 = Math.round(((_root.Fireball * 110) + 100) * (1 + _root.discount));
price2 = Math.round(((_root.Heal * 120) + 100) * (1 + _root.discount));
price3 = Math.round(((_root.Thunderbolt * 130) + 100) * (1 + _root.discount));
price4 = Math.round(70 * (1 + _root.discount));
}
Symbol 763 MovieClip Frame 3
_root.discount = _root.align + 30;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
if (_root.Class == "Wizard") {
price1 = Math.round(((_root.Heal * 100) + 100) * (1 + _root.discount));
price2 = Math.round(((_root.Thunderbolt * 100) + 100) * (1 + _root.discount));
price3 = Math.round(((_root.Ice * 100) + 100) * (1 + _root.discount));
price4 = Math.round(50 * (1 + _root.discount));
} else {
price1 = Math.round(((_root.Heal * 110) + 100) * (1 + _root.discount));
price2 = Math.round(((_root.Thunder * 120) + 100) * (1 + _root.discount));
price3 = Math.round(((_root.Ice * 130) + 100) * (1 + _root.discount));
price4 = Math.round(70 * (1 + _root.discount));
}
Symbol 763 MovieClip Frame 4
_root.discount = _root.align;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
if (_root.Class == "Wizard") {
price1 = Math.round(((_root.Thunderbolt * 100) + 100) * (1 + _root.discount));
price2 = Math.round(((_root.Ice * 100) + 100) * (1 + _root.discount));
price3 = Math.round(((_root.MShield * 100) + 100) * (1 + _root.discount));
price4 = Math.round(50 * (1 + _root.discount));
} else {
price1 = Math.round(((_root.Thunder * 110) + 100) * (1 + _root.discount));
price2 = Math.round(((_root.Ice * 120) + 100) * (1 + _root.discount));
price3 = Math.round(((_root.MShield * 130) + 100) * (1 + _root.discount));
price4 = Math.round(70 * (1 + _root.discount));
}
Symbol 763 MovieClip Frame 5
_root.discount = _root.align - 30;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
if (_root.Class == "Wizard") {
price1 = Math.round(((_root.Ice * 100) + 100) * (1 + _root.discount));
price2 = Math.round(((_root.MShield * 100) + 100) * (1 + _root.discount));
price3 = Math.round(((_root.Fireball * 100) + 100) * (1 + _root.discount));
price4 = Math.round(50 * (1 + _root.discount));
} else {
price1 = Math.round(((_root.Ice * 110) + 100) * (1 + _root.discount));
price2 = Math.round(((_root.MShield * 120) + 100) * (1 + _root.discount));
price3 = Math.round(((_root.Fireball * 130) + 100) * (1 + _root.discount));
price4 = Math.round(70 * (1 + _root.discount));
}
Symbol 763 MovieClip Frame 6
_root.discount = _root.align - 50;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
if (_root.Class == "Wizard") {
price1 = Math.round(((_root.MShield * 100) + 100) * (1 + _root.discount));
price2 = Math.round(((_root.Fireball * 100) + 100) * (1 + _root.discount));
price3 = Math.round(((_root.Heal * 100) + 100) * (1 + _root.discount));
price4 = Math.round(50 * (1 + _root.discount));
} else {
price1 = Math.round(((_root.MShield * 110) + 100) * (1 + _root.discount));
price2 = Math.round(((_root.Fireball * 120) + 100) * (1 + _root.discount));
price3 = Math.round(((_root.Heal * 130) + 100) * (1 + _root.discount));
price4 = Math.round(70 * (1 + _root.discount));
}
Symbol 787 MovieClip Frame 1
if (_root.body == "T. Leather") {
gotoAndStop (2);
} else if (_root.body == "T. Copper") {
gotoAndStop (3);
} else if (_root.body == "T. Iron") {
gotoAndStop (4);
} else if (_root.body == "T. Robe") {
gotoAndStop (5);
} else if (_root.body == "G. Leather") {
gotoAndStop (6);
} else if (_root.body == "G. Copper") {
gotoAndStop (7);
} else if (_root.body == "G. Iron") {
gotoAndStop (8);
} else if (_root.body == "G. Robe") {
gotoAndStop (9);
} else if (_root.body == "H. Leather") {
gotoAndStop (10);
} else if (_root.body == "H. Bronze") {
gotoAndStop (11);
} else if (_root.body == "H. Iron") {
gotoAndStop (12);
} else if (_root.body == "H. Robe") {
gotoAndStop (13);
} else if (_root.body == "D. Leather") {
gotoAndStop (14);
} else if (_root.body == "D. Chainmail") {
gotoAndStop (15);
} else if (_root.body == "D. Iron") {
gotoAndStop (16);
} else if (_root.body == "D. Robe") {
gotoAndStop (17);
} else if (_root.body == "E. Leather") {
gotoAndStop (18);
} else if (_root.body == "E. Chainmail") {
gotoAndStop (19);
} else if (_root.body == "E. Iron") {
gotoAndStop (20);
} else if (_root.body == "E. Robe") {
gotoAndStop (21);
} else {
stop();
}
Symbol 797 MovieClip Frame 1
if (_root.Race == "Troll") {
gotoAndStop (2);
} else if (_root.Race == "Goblin") {
gotoAndStop (3);
} else if (_root.Race == "Dwarf") {
gotoAndStop (4);
} else if (_root.Race == "Elf") {
gotoAndStop (5);
}
stop();
Symbol 803 MovieClip Frame 1
if (_root.Race == "Troll") {
gotoAndStop (2);
} else if (_root.Race == "Goblin") {
gotoAndStop (3);
} else if (_root.Race == "Dwarf") {
gotoAndStop (4);
} else if (_root.Race == "Elf") {
gotoAndStop (5);
} else {
stop();
}
Symbol 817 MovieClip Frame 1
if (_root.feet == "H. Sandals") {
gotoAndStop (2);
} else if (_root.feet == "H. Shoes") {
gotoAndStop (3);
} else if (_root.feet == "H. Boots") {
gotoAndStop (4);
} else if (_root.feet == "T. Sandals") {
gotoAndStop (5);
} else if (_root.feet == "T. Boots") {
gotoAndStop (6);
} else if (_root.feet == "G. Sandals") {
gotoAndStop (7);
} else if (_root.feet == "G. Boots") {
gotoAndStop (8);
} else if (_root.feet == "D. Sandals") {
gotoAndStop (9);
} else if (_root.feet == "D. Shoes") {
gotoAndStop (10);
} else if (_root.feet == "D. Boots") {
gotoAndStop (11);
} else if (_root.feet == "E. Sandals") {
gotoAndStop (12);
} else if (_root.feet == "E. Shoes") {
gotoAndStop (13);
} else if (_root.feet == "Steel Toe") {
gotoAndStop (14);
} else {
stop();
}
Symbol 821 MovieClip Frame 1
if (_root.head == "T. Cap") {
gotoAndStop (2);
} else if (_root.head == "T. Helmet") {
gotoAndStop (3);
} else if (_root.head == "T. Pointy Hat") {
gotoAndStop (4);
} else if (_root.head == "G. Hood") {
gotoAndStop (5);
} else if (_root.head == "G. Helmet") {
gotoAndStop (6);
} else if (_root.head == "G. Pointy Hat") {
gotoAndStop (7);
} else if (_root.head == "H. Cap") {
gotoAndStop (8);
} else if (_root.head == "H. Helmet") {
gotoAndStop (9);
} else if (_root.head == "H. Pointy Hat") {
gotoAndStop (10);
} else if (_root.head == "D. Cap") {
gotoAndStop (11);
} else if (_root.head == "D. Helmet") {
gotoAndStop (12);
} else if (_root.head == "D. Pointy Hat") {
gotoAndStop (13);
} else if (_root.head == "E. Cap") {
gotoAndStop (14);
} else if (_root.head == "E. Helmet") {
gotoAndStop (15);
} else if (_root.head == "E. Pointy Hat") {
gotoAndStop (16);
} else {
stop();
}
Symbol 843 MovieClip Frame 1
if (_root.body == "T. Leather") {
gotoAndStop (2);
} else if (_root.body == "T. Copper") {
gotoAndStop (3);
} else if (_root.body == "T. Iron") {
gotoAndStop (4);
} else if (_root.body == "T. Robe") {
gotoAndStop (5);
} else if (_root.body == "G. Leather") {
gotoAndStop (6);
} else if (_root.body == "G. Copper") {
gotoAndStop (7);
} else if (_root.body == "G. Iron") {
gotoAndStop (8);
} else if (_root.body == "G. Robe") {
gotoAndStop (9);
} else if (_root.body == "H. Leather") {
gotoAndStop (10);
} else if (_root.body == "H. Bronze") {
gotoAndStop (11);
} else if (_root.body == "H. Iron") {
gotoAndStop (12);
} else if (_root.body == "H. Robe") {
gotoAndStop (13);
} else if (_root.body == "D. Leather") {
gotoAndStop (14);
} else if (_root.body == "D. Chainmail") {
gotoAndStop (15);
} else if (_root.body == "D. Iron") {
gotoAndStop (16);
} else if (_root.body == "D. Robe") {
gotoAndStop (17);
} else if (_root.body == "E. Leather") {
gotoAndStop (18);
} else if (_root.body == "E. Chainmail") {
gotoAndStop (19);
} else if (_root.body == "E. Iron") {
gotoAndStop (20);
} else if (_root.body == "E. Robe") {
gotoAndStop (21);
} else {
stop();
}
Symbol 853 MovieClip Frame 1
if ((_root.Race == "Troll") && (_root.Sex == "Sir")) {
gotoAndStop (3);
} else if ((_root.Race == "Goblin") && (_root.Sex == "Sir")) {
gotoAndStop (5);
} else if ((_root.Race == "Dwarf") && (_root.Sex == "Sir")) {
gotoAndStop (7);
} else if ((_root.Race == "Elf") && (_root.Sex == "Sir")) {
gotoAndStop (9);
} else if ((_root.Race == "Human") && (_root.Sex == "Lady")) {
gotoAndStop (2);
} else if ((_root.Race == "Troll") && (_root.Sex == "Lady")) {
gotoAndStop (4);
} else if ((_root.Race == "Goblin") && (_root.Sex == "Lady")) {
gotoAndStop (6);
} else if ((_root.Race == "Dwarf") && (_root.Sex == "Lady")) {
gotoAndStop (8);
} else if ((_root.Race == "Elf") && (_root.Sex == "Lady")) {
gotoAndStop (10);
}
stop();
Symbol 871 MovieClip Frame 1
if (_root.head == "T. Cap") {
gotoAndStop (2);
} else if (_root.head == "T. Helmet") {
gotoAndStop (3);
} else if (_root.head == "T. Pointy Hat") {
gotoAndStop (4);
} else if (_root.head == "G. Hood") {
gotoAndStop (5);
} else if (_root.head == "G. Helmet") {
gotoAndStop (6);
} else if (_root.head == "G. Pointy Hat") {
gotoAndStop (7);
} else if (_root.head == "H. Cap") {
gotoAndStop (8);
} else if (_root.head == "H. Helmet") {
gotoAndStop (9);
} else if (_root.head == "H. Pointy Hat") {
gotoAndStop (10);
} else if (_root.head == "D. Cap") {
gotoAndStop (11);
} else if (_root.head == "D. Helmet") {
gotoAndStop (12);
} else if (_root.head == "D. Pointy Hat") {
gotoAndStop (13);
} else if (_root.head == "E. Cap") {
gotoAndStop (14);
} else if (_root.head == "E. Helmet") {
gotoAndStop (15);
} else if (_root.head == "E. Pointy Hat") {
gotoAndStop (16);
} else if (_root.head == "Horned Helm") {
gotoAndStop (17);
} else {
stop();
}
Symbol 881 MovieClip Frame 1
if ((_root.Race == "Troll") && (_root.Sex == "Sir")) {
gotoAndStop (3);
} else if ((_root.Race == "Goblin") && (_root.Sex == "Sir")) {
gotoAndStop (5);
} else if ((_root.Race == "Dwarf") && (_root.Sex == "Sir")) {
gotoAndStop (7);
} else if ((_root.Race == "Elf") && (_root.Sex == "Sir")) {
gotoAndStop (9);
} else if ((_root.Race == "Human") && (_root.Sex == "Lady")) {
gotoAndStop (2);
} else if ((_root.Race == "Troll") && (_root.Sex == "Lady")) {
gotoAndStop (4);
} else if ((_root.Race == "Goblin") && (_root.Sex == "Lady")) {
gotoAndStop (6);
} else if ((_root.Race == "Dwarf") && (_root.Sex == "Lady")) {
gotoAndStop (8);
} else if ((_root.Race == "Elf") && (_root.Sex == "Lady")) {
gotoAndStop (10);
}
stop();
Symbol 906 MovieClip Frame 1
if (_root.amulet == "Pheonix Feather") {
gotoAndStop (2);
} else if (_root.amulet == "Aura of Peace") {
gotoAndStop (3);
} else if (_root.amulet == "Aura of Chaos") {
gotoAndStop (4);
} else if (_root.amulet == "Crystal Ball") {
gotoAndStop (5);
} else if (_root.amulet == "Eye of Surtur") {
gotoAndStop (6);
} else if (_root.amulet == "Blue Cross") {
gotoAndStop (7);
} else if (_root.amulet == "Thor's Hammer") {
gotoAndStop (8);
} else if (_root.amulet == "Snowflake") {
gotoAndStop (9);
} else if (_root.amulet == "Bluegold") {
gotoAndStop (10);
} else if (_root.amulet == "Shadow Stone") {
gotoAndStop (11);
} else if (_root.amulet == "Silver Tongue") {
gotoAndStop (12);
} else if (_root.amulet == "Lion's Heart") {
gotoAndStop (13);
} else if (_root.amulet == "Star of Pain") {
gotoAndStop (14);
} else if (_root.amulet == "Olive Branch") {
gotoAndStop (15);
} else if (_root.amulet == "Bear's Paw") {
gotoAndStop (16);
} else if (_root.amulet == "Tusk") {
gotoAndStop (17);
} else if (_root.amulet == "Tiger Claw") {
gotoAndStop (18);
} else if (_root.amulet == "Arrowhead") {
gotoAndStop (19);
} else if (_root.amulet == "Turtle Shell") {
gotoAndStop (20);
} else if (_root.amulet == "Dumbbell") {
gotoAndStop (21);
} else if (_root.amulet == "Roc Wing") {
gotoAndStop (22);
} else if (_root.amulet == "Compass") {
gotoAndStop (23);
} else if (_root.amulet == "Toad Stool") {
gotoAndStop (24);
} else if (_root.amulet == "Mana Crystal") {
gotoAndStop (25);
} else {
stop();
}
Symbol 917 MovieClip Frame 1
if ((_root.Race == "Troll") && (_root.Sex == "Sir")) {
gotoAndStop (3);
} else if ((_root.Race == "Goblin") && (_root.Sex == "Sir")) {
gotoAndStop (5);
} else if ((_root.Race == "Dwarf") && (_root.Sex == "Sir")) {
gotoAndStop (7);
} else if ((_root.Race == "Elf") && (_root.Sex == "Sir")) {
gotoAndStop (9);
} else if ((_root.Race == "Human") && (_root.Sex == "Lady")) {
gotoAndStop (2);
} else if ((_root.Race == "Troll") && (_root.Sex == "Lady")) {
gotoAndStop (4);
} else if ((_root.Race == "Goblin") && (_root.Sex == "Lady")) {
gotoAndStop (6);
} else if ((_root.Race == "Dwarf") && (_root.Sex == "Lady")) {
gotoAndStop (8);
} else if ((_root.Race == "Elf") && (_root.Sex == "Lady")) {
gotoAndStop (10);
} else {
stop();
}
Symbol 930 MovieClip Frame 1
RandRand = random(3);
if (RandRand == 0) {
stop();
} else if (RandRand == 1) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
Symbol 954 MovieClip Frame 1
play();
Symbol 954 MovieClip Frame 24
gotoAndPlay (1);
Symbol 956 Button
on (release) {
_root.towermovie._visible = false;
gotoAndStop (1);
}
Symbol 969 MovieClip Frame 1
if ((_root.Race == "Troll") && (_root.Sex == "Sir")) {
gotoAndStop (3);
} else if ((_root.Race == "Goblin") && (_root.Sex == "Sir")) {
gotoAndStop (5);
} else if ((_root.Race == "Dwarf") && (_root.Sex == "Sir")) {
gotoAndStop (7);
} else if ((_root.Race == "Elf") && (_root.Sex == "Sir")) {
gotoAndStop (9);
} else if ((_root.Race == "Human") && (_root.Sex == "Lady")) {
gotoAndStop (2);
} else if ((_root.Race == "Troll") && (_root.Sex == "Lady")) {
gotoAndStop (4);
} else if ((_root.Race == "Goblin") && (_root.Sex == "Lady")) {
gotoAndStop (6);
} else if ((_root.Race == "Dwarf") && (_root.Sex == "Lady")) {
gotoAndStop (8);
} else if ((_root.Race == "Elf") && (_root.Sex == "Lady")) {
gotoAndStop (10);
} else {
stop();
}
Symbol 987 MovieClip Frame 1
play();
Symbol 987 MovieClip Frame 24
gotoAndPlay (1);
Symbol 989 MovieClip Frame 1
if (_root.rhand == "H. Rapier") {
gotoAndStop (2);
} else if (_root.rhand == "H. Scimitar") {
gotoAndStop (3);
} else if (_root.rhand == "T. Sword") {
gotoAndStop (4);
} else if (_root.rhand == "T. Heavy Sword") {
gotoAndStop (5);
} else if (_root.rhand == "G. Big Knife") {
gotoAndStop (6);
} else if (_root.rhand == "G. Scymetar") {
gotoAndStop (7);
} else if (_root.rhand == "D. Broad Sword") {
gotoAndStop (8);
} else if (_root.rhand == "D. Long Sword") {
gotoAndStop (9);
} else if (_root.rhand == "D. Short Sword") {
gotoAndStop (10);
} else if (_root.rhand == "E. Long Sword") {
gotoAndStop (11);
} else if (_root.rhand == "E. Short Sword") {
gotoAndStop (12);
} else if (_root.rhand == "Flaming Sword") {
gotoAndStop (13);
} else {
stop();
}
Symbol 1006 MovieClip Frame 1
play();
Symbol 1006 MovieClip Frame 12
gotoAndPlay (1);
Symbol 1007 MovieClip Frame 1
if (_root.rhand == "H. Spear") {
gotoAndStop (2);
} else if (_root.rhand == "H. Pike") {
gotoAndStop (3);
} else if (_root.rhand == "T. Spear") {
gotoAndStop (4);
} else if (_root.rhand == "T. Pike") {
gotoAndStop (5);
} else if (_root.rhand == "G. Spear") {
gotoAndStop (6);
} else if (_root.rhand == "G. Pike") {
gotoAndStop (7);
} else if (_root.rhand == "D. Staff") {
gotoAndStop (8);
} else if (_root.rhand == "D. Pike") {
gotoAndStop (9);
} else if (_root.rhand == "E. Staff") {
gotoAndStop (10);
} else if (_root.rhand == "E. Spear") {
gotoAndStop (11);
} else if (_root.rhand == "H. Staff") {
gotoAndStop (1);
} else if (_root.rhand == "Trident") {
gotoAndStop (12);
} else if (_root.rhand == "Magic Staff") {
gotoAndStop (13);
}
Symbol 1020 MovieClip Frame 1
if (_root.rhand == "H. Hammer") {
gotoAndStop (2);
} else if (_root.rhand == "H. Mace") {
gotoAndStop (3);
} else if (_root.rhand == "T. Axe") {
gotoAndStop (4);
} else if (_root.rhand == "T. Hammer") {
gotoAndStop (5);
} else if (_root.rhand == "T. Club") {
gotoAndStop (6);
} else if (_root.rhand == "G. Axe") {
gotoAndStop (7);
} else if (_root.rhand == "G. Mace") {
gotoAndStop (8);
} else if (_root.rhand == "D. Axe") {
gotoAndStop (9);
} else if (_root.rhand == "D. Hammer") {
gotoAndStop (10);
} else if (_root.rhand == "E. Hammer") {
gotoAndStop (11);
} else if (_root.rhand == "E. Mace") {
gotoAndStop (12);
} else {
stop();
}
_root.handa = 12;
_root.handd = 2;
_root.hands = 2;
Symbol 1020 MovieClip Frame 2
_root.handa = 10;
_root.handd = 3;
_root.hands = 1;
Symbol 1020 MovieClip Frame 3
_root.handa = 11;
_root.handd = 1;
_root.hands = 3;
Symbol 1020 MovieClip Frame 4
_root.handa = 13;
_root.handd = 1;
_root.hands = 3;
Symbol 1020 MovieClip Frame 5
_root.handa = 11;
_root.handd = 1;
_root.hands = 2;
Symbol 1020 MovieClip Frame 6
_root.handa = 11;
_root.handd = 2;
_root.hands = 3;
Symbol 1020 MovieClip Frame 7
_root.handa = 11;
_root.handd = 1;
_root.hands = 1;
Symbol 1020 MovieClip Frame 8
_root.handa = 10;
_root.handd = 2;
_root.hands = 2;
Symbol 1020 MovieClip Frame 9
_root.handa = 12;
_root.handd = 2;
_root.hands = 3;
Symbol 1020 MovieClip Frame 10
_root.handa = 10;
_root.handd = 2;
_root.hands = 2;
Symbol 1020 MovieClip Frame 11
_root.handa = 10;
_root.handd = 1;
_root.hands = 1;
Symbol 1020 MovieClip Frame 12
_root.handa = 10;
_root.handd = 1;
_root.hands = 2;
Symbol 1032 MovieClip Frame 1
if (_root.rhand == "T. Knife") {
gotoAndStop (2);
} else if (_root.rhand == "T. Blade") {
gotoAndStop (3);
} else if (_root.rhand == "G. Knife") {
gotoAndStop (4);
} else if (_root.rhand == "G. Dagger") {
gotoAndStop (5);
} else if (_root.rhand == "G. Blade") {
gotoAndStop (6);
} else if (_root.rhand == "D. Knife") {
gotoAndStop (7);
} else if (_root.rhand == "D. Blade") {
gotoAndStop (8);
} else if (_root.rhand == "E. Knife") {
gotoAndStop (9);
} else if (_root.rhand == "E. Dagger") {
gotoAndStop (10);
} else if (_root.rhand == "E. Blade") {
gotoAndStop (11);
} else {
stop();
}
Symbol 1033 MovieClip Frame 1
if (_root.WeaponType == "Stave") {
gotoAndStop (2);
} else if (_root.WeaponType == "Maul") {
gotoAndStop (3);
} else if (_root.WeaponType == "Stab") {
gotoAndStop (4);
} else if ((_root.WeaponType == Empty) || (_root.rhand == Empty)) {
gotoAndStop (5);
} else {
stop();
}
Symbol 1042 MovieClip Frame 1
if (_root.lhand == "H. Targe") {
gotoAndStop (2);
} else if (_root.lhand == "T. Shield") {
gotoAndStop (3);
} else if (_root.lhand == "G. Shield") {
gotoAndStop (4);
} else if (_root.lhand == "G. Targe") {
gotoAndStop (5);
} else if (_root.lhand == "D. Shield") {
gotoAndStop (6);
} else if (_root.lhand == "E. Shield") {
gotoAndStop (7);
} else if (_root.lhand == "Main Gauche") {
gotoAndStop (8);
} else {
stop();
}
Symbol 1043 MovieClip Frame 1
if (_root.lhand != Empty) {
gotoAndStop (2);
} else {
stop();
}
Symbol 1047 MovieClip Frame 6
gotoAndPlay (1);
Symbol 1057 MovieClip Frame 1
stop();
_root.eRHand = Empty;
_root.eLHand = Empty;
_root.eAmulet = Empty;
_root.eHead = Empty;
_root.eFeet = Empty;
_root.eBody = Empty;
_root.eType = Empty;
RandRace = random(2);
if (RandRace == 0) {
if (((_root.Where == "Troma") || (_root.Where == "Grue-Thak")) || (_root.Where == "Morna")) {
_root.eRace = "Troll";
} else if (((_root.Where == "Grimdue") || (_root.Where == "Limb-Ar")) || (_root.Where == "Rimsho")) {
_root.eRace = "Goblin";
} else if (((_root.Where == "Rosefield") || (_root.Where == "Pine Rapids")) || (_root.Where == "Nortville")) {
_root.eRace = "Human";
} else if (((_root.Where == "Gemlea") || (_root.Where == "Jotunheim")) || (_root.Where == "Utgard")) {
_root.eRace = "Dwarf";
} else if (((_root.Where == "Everwood") || (_root.Where == "Glenvale")) || (_root.Where == "Elm Valley")) {
_root.eRace = "Elf";
}
} else {
RandRace = random(5);
if (RandRace == 0) {
_root.eRace = "Troll";
} else if (RandRace == 1) {
_root.eRace = "Goblin";
} else if (RandRace == 2) {
_root.eRace = "Human";
} else if (RandRace == 3) {
_root.eRace = "Dwarf";
} else {
_root.eRace = "Elf";
}
}
RandClass = random(3);
if (RandClass == 0) {
_root.eClass = "Warrior";
_root.eSkill = Empty;
} else if (RandClass == 1) {
_root.eClass = "Wizard";
_root.eSkill = Empty;
} else {
_root.eClass = "Thief";
RanSkill = random(3);
if (RanSkill == 0) {
_root.eSkill = "Sneak";
} else if (RanSkill == 1) {
_root.eSkill = "Burgle";
} else {
_root.eSkill = "Backstab";
}
}
RanSex = random(5);
if (RanSkill >= 1) {
_root.eSex = "M";
} else {
_root.eSex = "F";
}
if (_root.eClass == "Warrior") {
if (_root.eRace == "Troll") {
_root.eHead = "T. Helmet";
RandBody = random(3);
if (RandBody == 0) {
_root.eBody = "T. Leather";
} else if (RandBody == 1) {
_root.eBody = "T. Copper";
} else {
_root.eBody = "T. Iron";
}
_root.eFeet = "T. Boots";
} else if (_root.eRace == "Goblin") {
_root.eHead = "G. Helmet";
RandBody = random(3);
if (RandBody == 0) {
_root.eBody = "G. Leather";
} else if (RandBody == 1) {
_root.eBody = "G. Copper";
} else {
_root.eBody = "G. Iron";
}
_root.eFeet = "G. Boots";
} else if (_root.eRace == "Human") {
_root.eHead = "H. Helmet";
RandBody = random(3);
if (RandBody == 0) {
_root.eBody = "H. Leather";
} else if (RandBody == 1) {
_root.eBody = "H. Bronze";
} else {
_root.eBody = "H. Iron";
}
_root.eFeet = "H. Boots";
} else if (_root.eRace == "Dwarf") {
_root.eHead = "D. Helmet";
RandBody = random(3);
if (RandBody == 0) {
_root.eBody = "D. Leather";
} else if (RandBody == 1) {
_root.eBody = "D. Chainmail";
} else {
_root.eBody = "D. Iron";
}
_root.eFeet = "D. Boots";
} else if (_root.eRace == "Elf") {
_root.eHead = "E. Helmet";
RandBody = random(3);
if (RandBody == 0) {
_root.eBody = "E. Leather";
} else if (RandBody == 1) {
_root.eBody = "E. Chainmail";
} else {
_root.eBody = "E. Iron";
}
_root.eFeet = "E. Shoes";
}
} else if (_root.eClass == "Thief") {
if (_root.eRace == "Troll") {
_root.eHead = "T. Cap";
RandBody = random(2);
if (RandBody == 0) {
_root.eBody = "T. Leather";
} else if (RandBody == 1) {
_root.eBody = "T. Copper";
}
_root.eFeet = "T. Boots";
} else if (_root.eRace == "Goblin") {
_root.eHead = "G. Hood";
RandBody = random(2);
if (RandBody == 0) {
_root.eBody = "G. Leather";
} else if (RandBody == 1) {
_root.eBody = "G. Copper";
}
_root.eFeet = "G. Sandals";
} else if (_root.eRace == "Human") {
_root.eHead = "H. Cap";
RandBody = random(2);
if (RandBody == 0) {
_root.eBody = "H. Leather";
} else if (RandBody == 1) {
_root.eBody = "H. Bronze";
}
_root.eFeet = "H. Shoes";
} else if (_root.eRace == "Dwarf") {
_root.eHead = "D. Cap";
RandBody = random(2);
if (RandBody == 0) {
_root.eBody = "D. Leather";
} else if (RandBody == 1) {
_root.eBody = "D. Chainmail";
}
_root.eFeet = "D. Shoes";
} else if (_root.eRace == "Elf") {
_root.eHead = "E. Cap";
RandBody = random(2);
if (RandBody == 0) {
_root.eBody = "E. Leather";
} else if (RandBody == 1) {
_root.eBody = "E. Chainmail";
}
_root.eFeet = "E. Shoes";
}
} else if (_root.eClass == "Wizard") {
if (_root.eRace == "Troll") {
_root.eHead = "T. Pointy Hat";
_root.eBody = "T. Robe";
_root.eFeet = "T. Sandals";
} else if (_root.eRace == "Goblin") {
_root.eHead = "G. Pointy Hat";
_root.eBody = "G. Robe";
_root.eFeet = "G. Sandals";
} else if (_root.eRace == "Human") {
_root.eHead = "H. Pointy Hat";
_root.eBody = "H. Robe";
_root.eFeet = "H. Sandals";
} else if (_root.eRace == "Dwarf") {
_root.eHead = "D. Pointy Hat";
_root.eBody = "D. Robe";
_root.eFeet = "D. Sandals";
} else if (_root.eRace == "Elf") {
_root.eHead = "E. Pointy Hat";
_root.eBody = "E. Robe";
_root.eFeet = "E. Sandals";
}
}
RandRand = random(4);
if (RandRand == 0) {
RandRand = random(25);
if (RandRand == 0) {
_root.eAmulet = "Pheonix Feather";
} else if (RandRand == 1) {
_root.eAmulet = "Aura of Peace";
} else if (RandRand == 2) {
_root.eAmulet = "Aura of Chaos";
} else if (RandRand == 3) {
_root.eAmulet = "Crystal Ball";
} else if (RandRand == 4) {
_root.eAmulet = "Eye of Surtur";
} else if (RandRand == 5) {
_root.eAmulet = "Blue Cross";
} else if (RandRand == 6) {
_root.eAmulet = "Thor's Hammer";
} else if (RandRand == 7) {
_root.eAmulet = "Snowflake";
} else if (RandRand == 8) {
_root.eAmulet = "Bluegold";
} else if (RandRand == 9) {
_root.eAmulet = "Shadow Stone";
} else if (RandRand == 10) {
_root.eAmulet = "Silver Tongue";
} else if (RandRand == 11) {
_root.eAmulet = "Lion's Heart";
} else if (RandRand == 12) {
_root.eAmulet = "Star of Pain";
} else if (RandRand == 13) {
_root.eAmulet = "Olive Branch";
} else if (RandRand == 14) {
_root.eAmulet = "Bear's Paw";
} else if (RandRand == 15) {
_root.eAmulet = "Tusk";
} else if (RandRand == 16) {
_root.eAmulet = "Tiger Claw";
} else if (RandRand == 17) {
_root.eAmulet = "Arrowhead";
} else if (RandRand == 18) {
_root.eAmulet = "Turtle Shell";
} else if (RandRand == 19) {
_root.eAmulet = "Dumbbell";
} else if (RandRand == 20) {
_root.eAmulet = "Roc Wing";
} else if (RandRand == 21) {
_root.eAmulet = "Compass";
} else if (RandRand == 22) {
_root.eAmulet = "Toad Stool";
} else if (RandRand == 23) {
_root.eAmulet = "Mana Crystal";
} else if (RandRand == 24) {
_root.eAmulet = Empty;
}
} else if (RandRand == 1) {
RandRand = random(17);
if (RandRand == 0) {
_root.eHead = "T. Cap";
} else if (RandRand == 1) {
_root.eHead = "T. Helmet";
} else if (RandRand == 2) {
_root.eHead = "T. Pointy Hat";
} else if (RandRand == 3) {
_root.eHead = "G. Hood";
} else if (RandRand == 4) {
_root.eHead = "G. Helmet";
} else if (RandRand == 5) {
_root.eHead = "G. Pointy Hat";
} else if (RandRand == 6) {
_root.eHead = "H. Cap";
} else if (RandRand == 7) {
_root.eHead = "H. Helmet";
} else if (RandRand == 8) {
_root.eHead = "H. Pointy Hat";
} else if (RandRand == 9) {
_root.eHead = "D. Cap";
} else if (RandRand == 10) {
_root.eHead = "D. Helmet";
} else if (RandRand == 11) {
_root.eHead = "D. Pointy Hat";
} else if (RandRand == 12) {
_root.eHead = "E. Cap";
} else if (RandRand == 13) {
_root.eHead = "E. Helmet";
} else if (RandRand == 14) {
_root.eHead = "E. Pointy Hat";
} else if (RandRand == 15) {
_root.eHead = Empty;
} else if (RandRand == 16) {
_root.eHead = "Horned Helm";
}
} else if (RandRand == 2) {
RandRand = random(21);
if (RandRand == 0) {
_root.eBody = Empty;
} else if (RandRand == 1) {
_root.eBody = "T. Leather";
} else if (RandRand == 2) {
_root.eBody = "T. Copper";
} else if (RandRand == 3) {
_root.eBody = "T. Iron";
} else if (RandRand == 4) {
_root.eBody = "T. Robe";
} else if (RandRand == 5) {
_root.eBody = "G. Leather";
} else if (RandRand == 6) {
_root.eBody = "G. Copper";
} else if (RandRand == 7) {
_root.eBody = "G. Iron";
} else if (RandRand == 8) {
_root.eBody = "G. Robe";
} else if (RandRand == 9) {
_root.eBody = "H. Leather";
} else if (RandRand == 10) {
_root.eBody = "H. Bronze";
} else if (RandRand == 11) {
_root.eBody = "H. Iron";
} else if (RandRand == 12) {
_root.eBody = "H. Robe";
} else if (RandRand == 13) {
_root.eBody = "D. Leather";
} else if (RandRand == 14) {
_root.eBody = "D. Chainmail";
} else if (RandRand == 15) {
_root.eBody = "D. Iron";
} else if (RandRand == 16) {
_root.eBody = "D. Robe";
} else if (RandRand == 17) {
_root.eBody = "E. Leather";
} else if (RandRand == 18) {
_root.eBody = "E. Chainmail";
} else if (RandRand == 19) {
_root.eBody = "E. Iron";
} else if (RandRand == 20) {
_root.eBody = "E. Robe";
}
} else if (RandRand == 3) {
RandRand = random(14);
if (RandRand == 0) {
_root.eFeet = Empty;
} else if (RandRand == 1) {
_root.eFeet = "T. Sandals";
} else if (RandRand == 2) {
_root.eFeet = "T. Boots";
} else if (RandRand == 3) {
_root.eFeet = "G. Sandals";
} else if (RandRand == 4) {
_root.eFeet = "G. Boots";
} else if (RandRand == 5) {
_root.eFeet = "H. Sandals";
} else if (RandRand == 6) {
_root.eFeet = "H. Shoes";
} else if (RandRand == 7) {
_root.eFeet = "H. Boots";
} else if (RandRand == 8) {
_root.eFeet = "D. Sandals";
} else if (RandRand == 9) {
_root.eFeet = "D. Shoes";
} else if (RandRand == 10) {
_root.eFeet = "D. Boots";
} else if (RandRand == 11) {
_root.eFeet = "E. Sandals";
} else if (RandRand == 12) {
_root.eFeet = "E. Shoes";
} else if (RandRand == 13) {
_root.eFeet = "Steel Toe";
}
}
Symbol 1057 MovieClip Frame 20
RandRand = random(3);
if (RandRand == 0) {
play();
} else if ((RandRand == 1) && (_root.class == "Wizard")) {
play();
} else {
gotoAndPlay (34);
}
Symbol 1057 MovieClip Frame 33
_root.FullMP = _root.FullMP + 1;
stop();
Symbol 1057 MovieClip Frame 44
stop();
Symbol 1057 MovieClip Frame 58
gain = "Fireball +1!";
stop();
Symbol 1057 MovieClip Frame 72
gain = "Heal +1!";
stop();
Symbol 1057 MovieClip Frame 86
gain = "Thunderbolt +1!";
stop();
Symbol 1057 MovieClip Frame 100
gain = "Ice +1!";
stop();
Symbol 1057 MovieClip Frame 114
gain = "Magic Shield +1!";
stop();
Symbol 1059 Button
on (release) {
_root.storesell._visible = true;
}
Symbol 1073 Button
on (release) {
if (_root.Money >= Math.round(35 * (1 + _root.discount))) {
MoneyPaid = Math.round(35 * (1 + _root.discount));
Item = "Map";
if (_root.Slot1 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1a = _root.Slot1a + 1;
} else if (_root.Slot2 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2a = _root.Slot2a + 1;
} else if (_root.Slot3 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3a = _root.Slot3a + 1;
} else if (_root.Slot4 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4a = _root.Slot4a + 1;
} else if (_root.Slot5 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5a = _root.Slot5a + 1;
} else if (_root.Slot6 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6a = _root.Slot6a + 1;
} else if (_root.Slot7 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7a = _root.Slot7a + 1;
} else if (_root.Slot8 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8a = _root.Slot8a + 1;
} else if (_root.Slot9 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9a = _root.Slot9a + 1;
} else if (_root.Slot0 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0a = _root.Slot0a + 1;
} else if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = Item;
_root.Slot1a = 1;
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = Item;
_root.Slot2a = 1;
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = Item;
_root.Slot3a = 1;
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = Item;
_root.Slot4a = 1;
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = Item;
_root.Slot5a = 1;
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = Item;
_root.Slot6a = 1;
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = Item;
_root.Slot7a = 1;
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = Item;
_root.Slot8a = 1;
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = Item;
_root.Slot9a = 1;
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = Item;
_root.Slot0a = 1;
}
}
}
Symbol 1074 Button
on (release) {
if (_root.Money >= Math.round(50 * (1 + _root.discount))) {
MoneyPaid = Math.round(50 * (1 + _root.discount));
Item = "Tent";
if (_root.Slot1 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1a = _root.Slot1a + 1;
} else if (_root.Slot2 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2a = _root.Slot2a + 1;
} else if (_root.Slot3 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3a = _root.Slot3a + 1;
} else if (_root.Slot4 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4a = _root.Slot4a + 1;
} else if (_root.Slot5 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5a = _root.Slot5a + 1;
} else if (_root.Slot6 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6a = _root.Slot6a + 1;
} else if (_root.Slot7 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7a = _root.Slot7a + 1;
} else if (_root.Slot8 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8a = _root.Slot8a + 1;
} else if (_root.Slot9 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9a = _root.Slot9a + 1;
} else if (_root.Slot0 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0a = _root.Slot0a + 1;
} else if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = Item;
_root.Slot1a = 1;
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = Item;
_root.Slot2a = 1;
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = Item;
_root.Slot3a = 1;
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = Item;
_root.Slot4a = 1;
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = Item;
_root.Slot5a = 1;
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = Item;
_root.Slot6a = 1;
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = Item;
_root.Slot7a = 1;
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = Item;
_root.Slot8a = 1;
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = Item;
_root.Slot9a = 1;
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = Item;
_root.Slot0a = 1;
}
}
}
Symbol 1075 Button
on (release) {
if (_root.Money >= Math.round(30 * (1 + _root.discount))) {
MoneyPaid = Math.round(30 * (1 + _root.discount));
Item = "Bandage";
if (_root.Slot1 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1a = _root.Slot1a + 1;
} else if (_root.Slot2 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2a = _root.Slot2a + 1;
} else if (_root.Slot3 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3a = _root.Slot3a + 1;
} else if (_root.Slot4 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4a = _root.Slot4a + 1;
} else if (_root.Slot5 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5a = _root.Slot5a + 1;
} else if (_root.Slot6 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6a = _root.Slot6a + 1;
} else if (_root.Slot7 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7a = _root.Slot7a + 1;
} else if (_root.Slot8 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8a = _root.Slot8a + 1;
} else if (_root.Slot9 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9a = _root.Slot9a + 1;
} else if (_root.Slot0 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0a = _root.Slot0a + 1;
} else if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = Item;
_root.Slot1a = 1;
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = Item;
_root.Slot2a = 1;
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = Item;
_root.Slot3a = 1;
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = Item;
_root.Slot4a = 1;
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = Item;
_root.Slot5a = 1;
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = Item;
_root.Slot6a = 1;
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = Item;
_root.Slot7a = 1;
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = Item;
_root.Slot8a = 1;
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = Item;
_root.Slot9a = 1;
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = Item;
_root.Slot0a = 1;
}
}
}
Symbol 1076 Button
on (release) {
if (_root.Money >= Math.round(60 * (1 + _root.discount))) {
MoneyPaid = Math.round(60 * (1 + _root.discount));
Item = "Sleeping Bag";
if (_root.Slot1 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1a = _root.Slot1a + 1;
} else if (_root.Slot2 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2a = _root.Slot2a + 1;
} else if (_root.Slot3 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3a = _root.Slot3a + 1;
} else if (_root.Slot4 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4a = _root.Slot4a + 1;
} else if (_root.Slot5 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5a = _root.Slot5a + 1;
} else if (_root.Slot6 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6a = _root.Slot6a + 1;
} else if (_root.Slot7 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7a = _root.Slot7a + 1;
} else if (_root.Slot8 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8a = _root.Slot8a + 1;
} else if (_root.Slot9 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9a = _root.Slot9a + 1;
} else if (_root.Slot0 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0a = _root.Slot0a + 1;
} else if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = Item;
_root.Slot1a = 1;
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = Item;
_root.Slot2a = 1;
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = Item;
_root.Slot3a = 1;
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = Item;
_root.Slot4a = 1;
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = Item;
_root.Slot5a = 1;
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = Item;
_root.Slot6a = 1;
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = Item;
_root.Slot7a = 1;
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = Item;
_root.Slot8a = 1;
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = Item;
_root.Slot9a = 1;
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = Item;
_root.Slot0a = 1;
}
}
}
Symbol 1077 Button
on (release) {
if (_root.Money >= Math.round(10 * (1 + _root.discount))) {
MoneyPaid = Math.round(10 * (1 + _root.discount));
Item = "Matches";
if (_root.Slot1 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1a = _root.Slot1a + 1;
} else if (_root.Slot2 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2a = _root.Slot2a + 1;
} else if (_root.Slot3 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3a = _root.Slot3a + 1;
} else if (_root.Slot4 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4a = _root.Slot4a + 1;
} else if (_root.Slot5 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5a = _root.Slot5a + 1;
} else if (_root.Slot6 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6a = _root.Slot6a + 1;
} else if (_root.Slot7 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7a = _root.Slot7a + 1;
} else if (_root.Slot8 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8a = _root.Slot8a + 1;
} else if (_root.Slot9 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9a = _root.Slot9a + 1;
} else if (_root.Slot0 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0a = _root.Slot0a + 1;
} else if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = Item;
_root.Slot1a = 1;
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = Item;
_root.Slot2a = 1;
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = Item;
_root.Slot3a = 1;
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = Item;
_root.Slot4a = 1;
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = Item;
_root.Slot5a = 1;
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = Item;
_root.Slot6a = 1;
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = Item;
_root.Slot7a = 1;
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = Item;
_root.Slot8a = 1;
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = Item;
_root.Slot9a = 1;
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = Item;
_root.Slot0a = 1;
}
}
}
Symbol 1078 Button
on (release) {
if (_root.Money >= Math.round(7 * (1 + _root.discount))) {
MoneyPaid = Math.round(7 * (1 + _root.discount));
Item = "Chicken";
if (_root.Slot1 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1a = _root.Slot1a + 1;
} else if (_root.Slot2 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2a = _root.Slot2a + 1;
} else if (_root.Slot3 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3a = _root.Slot3a + 1;
} else if (_root.Slot4 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4a = _root.Slot4a + 1;
} else if (_root.Slot5 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5a = _root.Slot5a + 1;
} else if (_root.Slot6 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6a = _root.Slot6a + 1;
} else if (_root.Slot7 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7a = _root.Slot7a + 1;
} else if (_root.Slot8 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8a = _root.Slot8a + 1;
} else if (_root.Slot9 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9a = _root.Slot9a + 1;
} else if (_root.Slot0 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0a = _root.Slot0a + 1;
} else if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = Item;
_root.Slot1a = 1;
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = Item;
_root.Slot2a = 1;
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = Item;
_root.Slot3a = 1;
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = Item;
_root.Slot4a = 1;
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = Item;
_root.Slot5a = 1;
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = Item;
_root.Slot6a = 1;
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = Item;
_root.Slot7a = 1;
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = Item;
_root.Slot8a = 1;
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = Item;
_root.Slot9a = 1;
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = Item;
_root.Slot0a = 1;
}
}
}
Symbol 1088 Button
on (release) {
if (_root.Money >= Math.round(7 * (1 + _root.discount))) {
MoneyPaid = Math.round(7 * (1 + _root.discount));
Item = "Mushrooms";
if (_root.Slot1 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1a = _root.Slot1a + 1;
} else if (_root.Slot2 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2a = _root.Slot2a + 1;
} else if (_root.Slot3 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3a = _root.Slot3a + 1;
} else if (_root.Slot4 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4a = _root.Slot4a + 1;
} else if (_root.Slot5 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5a = _root.Slot5a + 1;
} else if (_root.Slot6 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6a = _root.Slot6a + 1;
} else if (_root.Slot7 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7a = _root.Slot7a + 1;
} else if (_root.Slot8 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8a = _root.Slot8a + 1;
} else if (_root.Slot9 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9a = _root.Slot9a + 1;
} else if (_root.Slot0 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0a = _root.Slot0a + 1;
} else if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = Item;
_root.Slot1a = 1;
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = Item;
_root.Slot2a = 1;
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = Item;
_root.Slot3a = 1;
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = Item;
_root.Slot4a = 1;
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = Item;
_root.Slot5a = 1;
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = Item;
_root.Slot6a = 1;
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = Item;
_root.Slot7a = 1;
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = Item;
_root.Slot8a = 1;
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = Item;
_root.Slot9a = 1;
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = Item;
_root.Slot0a = 1;
}
}
}
Symbol 1098 Button
on (release) {
if (_root.Money >= Math.round(7 * (1 + _root.discount))) {
MoneyPaid = Math.round(7 * (1 + _root.discount));
Item = "Bread";
if (_root.Slot1 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1a = _root.Slot1a + 1;
} else if (_root.Slot2 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2a = _root.Slot2a + 1;
} else if (_root.Slot3 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3a = _root.Slot3a + 1;
} else if (_root.Slot4 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4a = _root.Slot4a + 1;
} else if (_root.Slot5 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5a = _root.Slot5a + 1;
} else if (_root.Slot6 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6a = _root.Slot6a + 1;
} else if (_root.Slot7 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7a = _root.Slot7a + 1;
} else if (_root.Slot8 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8a = _root.Slot8a + 1;
} else if (_root.Slot9 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9a = _root.Slot9a + 1;
} else if (_root.Slot0 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0a = _root.Slot0a + 1;
} else if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = Item;
_root.Slot1a = 1;
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = Item;
_root.Slot2a = 1;
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = Item;
_root.Slot3a = 1;
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = Item;
_root.Slot4a = 1;
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = Item;
_root.Slot5a = 1;
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = Item;
_root.Slot6a = 1;
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = Item;
_root.Slot7a = 1;
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = Item;
_root.Slot8a = 1;
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = Item;
_root.Slot9a = 1;
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = Item;
_root.Slot0a = 1;
}
}
}
Symbol 1106 Button
on (release) {
if (_root.Money >= Math.round(7 * (1 + _root.discount))) {
MoneyPaid = Math.round(7 * (1 + _root.discount));
Item = "Pork";
if (_root.Slot1 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1a = _root.Slot1a + 1;
} else if (_root.Slot2 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2a = _root.Slot2a + 1;
} else if (_root.Slot3 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3a = _root.Slot3a + 1;
} else if (_root.Slot4 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4a = _root.Slot4a + 1;
} else if (_root.Slot5 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5a = _root.Slot5a + 1;
} else if (_root.Slot6 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6a = _root.Slot6a + 1;
} else if (_root.Slot7 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7a = _root.Slot7a + 1;
} else if (_root.Slot8 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8a = _root.Slot8a + 1;
} else if (_root.Slot9 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9a = _root.Slot9a + 1;
} else if (_root.Slot0 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0a = _root.Slot0a + 1;
} else if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = Item;
_root.Slot1a = 1;
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = Item;
_root.Slot2a = 1;
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = Item;
_root.Slot3a = 1;
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = Item;
_root.Slot4a = 1;
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = Item;
_root.Slot5a = 1;
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = Item;
_root.Slot6a = 1;
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = Item;
_root.Slot7a = 1;
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = Item;
_root.Slot8a = 1;
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = Item;
_root.Slot9a = 1;
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = Item;
_root.Slot0a = 1;
}
}
}
Symbol 1116 Button
on (release) {
if (_root.Money >= Math.round(7 * (1 + _root.discount))) {
MoneyPaid = Math.round(7 * (1 + _root.discount));
Item = "Beans";
if (_root.Slot1 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1a = _root.Slot1a + 1;
} else if (_root.Slot2 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2a = _root.Slot2a + 1;
} else if (_root.Slot3 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3a = _root.Slot3a + 1;
} else if (_root.Slot4 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4a = _root.Slot4a + 1;
} else if (_root.Slot5 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5a = _root.Slot5a + 1;
} else if (_root.Slot6 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6a = _root.Slot6a + 1;
} else if (_root.Slot7 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7a = _root.Slot7a + 1;
} else if (_root.Slot8 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8a = _root.Slot8a + 1;
} else if (_root.Slot9 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9a = _root.Slot9a + 1;
} else if (_root.Slot0 == Item) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0a = _root.Slot0a + 1;
} else if (_root.Slot1 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot1 = Item;
_root.Slot1a = 1;
} else if (_root.Slot2 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot2 = Item;
_root.Slot2a = 1;
} else if (_root.Slot3 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot3 = Item;
_root.Slot3a = 1;
} else if (_root.Slot4 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot4 = Item;
_root.Slot4a = 1;
} else if (_root.Slot5 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot5 = Item;
_root.Slot5a = 1;
} else if (_root.Slot6 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot6 = Item;
_root.Slot6a = 1;
} else if (_root.Slot7 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot7 = Item;
_root.Slot7a = 1;
} else if (_root.Slot8 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot8 = Item;
_root.Slot8a = 1;
} else if (_root.Slot9 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot9 = Item;
_root.Slot9a = 1;
} else if (_root.Slot0 == Empty) {
_root.Money = _root.Money - MoneyPaid;
_root.Slot0 = Item;
_root.Slot0a = 1;
}
}
}
Symbol 1117 MovieClip Frame 1
if (_root.Where == "Trollburg") {
gotoAndStop (2);
} else if (_root.Where == "Goblinia") {
gotoAndStop (3);
} else if (_root.Where == "Humanton") {
gotoAndStop (4);
} else if (_root.Where == "Dwarfheim") {
gotoAndStop (5);
} else if (_root.Where == "Elfville") {
gotoAndStop (6);
}
Symbol 1117 MovieClip Frame 2
_root.discount = _root.align + 50;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
price1 = Math.round(35 * (1 + _root.discount));
price2 = Math.round(50 * (1 + _root.discount));
price3 = Math.round(30 * (1 + _root.discount));
price4 = Math.round(10 * (1 + _root.discount));
price5 = Math.round(60 * (1 + _root.discount));
price6 = Math.round(7 * (1 + _root.discount));
Symbol 1117 MovieClip Frame 3
_root.discount = _root.align + 30;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
price1 = Math.round(35 * (1 + _root.discount));
price2 = Math.round(50 * (1 + _root.discount));
price3 = Math.round(30 * (1 + _root.discount));
price4 = Math.round(10 * (1 + _root.discount));
price5 = Math.round(60 * (1 + _root.discount));
price6 = Math.round(7 * (1 + _root.discount));
Symbol 1117 MovieClip Frame 4
_root.discount = _root.align;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
price1 = Math.round(35 * (1 + _root.discount));
price2 = Math.round(50 * (1 + _root.discount));
price3 = Math.round(30 * (1 + _root.discount));
price4 = Math.round(10 * (1 + _root.discount));
price5 = Math.round(60 * (1 + _root.discount));
price6 = Math.round(7 * (1 + _root.discount));
Symbol 1117 MovieClip Frame 5
_root.discount = _root.align - 30;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
price1 = Math.round(35 * (1 + _root.discount));
price2 = Math.round(50 * (1 + _root.discount));
price3 = Math.round(30 * (1 + _root.discount));
price4 = Math.round(10 * (1 + _root.discount));
price5 = Math.round(60 * (1 + _root.discount));
price6 = Math.round(7 * (1 + _root.discount));
Symbol 1117 MovieClip Frame 6
_root.discount = _root.align - 50;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
price1 = Math.round(35 * (1 + _root.discount));
price2 = Math.round(50 * (1 + _root.discount));
price3 = Math.round(30 * (1 + _root.discount));
price4 = Math.round(10 * (1 + _root.discount));
price5 = Math.round(60 * (1 + _root.discount));
price6 = Math.round(7 * (1 + _root.discount));
Symbol 1119 Button
on (release) {
_root.SSlot = "Slot1";
CSlot = _root.Slot1;
_root.sellslot = CSlot;
if (((((((_root.Slot1a == "S") || (_root.Slot1a == "W")) || (_root.Slot1a == "H")) || (_root.Slot1a == "F")) || (_root.Slot1a == "B")) || (_root.Slot1a == Empty)) || (_root.Slot1a <= 0)) {
_root.typeerror = "yes";
} else if (_root.Slot1a != Empty) {
_root.typeerror = "no";
if (CSlot == "Dragon's Tear") {
_root.sellprice = 90;
} else if (CSlot == "Gems") {
_root.sellprice = 20;
} else if (CSlot == "Healing Potion") {
_root.sellprice = 75;
} else if (CSlot == "Thunder Token") {
_root.sellprice = 70;
} else if (((((CSlot == "Rum") || (CSlot == "Vodka")) || (CSlot == "Whiskey")) || (CSlot == "Mead")) || (CSlot == "Wine")) {
_root.sellprice = 20;
} else if (CSlot == "Tent") {
_root.sellprice = 45;
} else if (CSlot == "Gold") {
_root.sellprice = 100;
} else if (CSlot == "Silver") {
_root.sellprice = 10;
} else if (CSlot == "Bronze") {
_root.sellprice = 5;
} else if (CSlot == "Copper") {
_root.sellprice = 2;
} else if (CSlot == "Bandage") {
_root.sellprice = 25;
} else if (CSlot == "Golden Apple") {
_root.sellprice = 100;
} else if (CSlot == "Matches") {
_root.sellprice = 5;
} else if (CSlot == "Sleeping Bag") {
_root.sellprice = 55;
} else if (CSlot == "Coffee") {
_root.sellprice = 80;
} else if (((((CSlot == "Chicken") || (CSlot == "Mushrooms")) || (CSlot == "Bread")) || (CSlot == "Pork")) || (CSlot == "Beans")) {
_root.sellprice = 2;
} else if (CSlot == "Map") {
_root.sellprice = 25;
} else if (_root.Slot2a == "A") {
_root.sellprice = 50;
}
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.stsellconfirm.gotoAndStop(2);
_root.stsellconfirm._visible = true;
}
}
Symbol 1122 Button
on (release) {
_root.SSlot = "Slot2";
CSlot = _root.Slot2;
_root.sellslot = CSlot;
if (((((((_root.Slot2a == "S") || (_root.Slot2a == "W")) || (_root.Slot2a == "H")) || (_root.Slot2a == "F")) || (_root.Slot2a == "B")) || (_root.Slot2a == Empty)) || (_root.Slot2a <= 0)) {
_root.typeerror = "yes";
} else if (_root.Slot2a != Empty) {
_root.typeerror = "no";
if (CSlot == "Dragon's Tear") {
_root.sellprice = 90;
} else if (CSlot == "Gems") {
_root.sellprice = 20;
} else if (CSlot == "Healing Potion") {
_root.sellprice = 75;
} else if (CSlot == "Thunder Token") {
_root.sellprice = 70;
} else if (((((CSlot == "Rum") || (CSlot == "Vodka")) || (CSlot == "Whiskey")) || (CSlot == "Mead")) || (CSlot == "Wine")) {
_root.sellprice = 20;
} else if (CSlot == "Tent") {
_root.sellprice = 45;
} else if (CSlot == "Gold") {
_root.sellprice = 100;
} else if (CSlot == "Silver") {
_root.sellprice = 10;
} else if (CSlot == "Bronze") {
_root.sellprice = 5;
} else if (CSlot == "Copper") {
_root.sellprice = 2;
} else if (CSlot == "Bandage") {
_root.sellprice = 25;
} else if (CSlot == "Golden Apple") {
_root.sellprice = 100;
} else if (CSlot == "Matches") {
_root.sellprice = 5;
} else if (CSlot == "Sleeping Bag") {
_root.sellprice = 55;
} else if (CSlot == "Coffee") {
_root.sellprice = 80;
} else if (((((CSlot == "Chicken") || (CSlot == "Mushrooms")) || (CSlot == "Bread")) || (CSlot == "Pork")) || (CSlot == "Beans")) {
_root.sellprice = 2;
} else if (CSlot == "Map") {
_root.sellprice = 25;
} else if (_root.Slot2a == "A") {
_root.sellprice = 50;
}
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.stsellconfirm.gotoAndStop(2);
_root.stsellconfirm._visible = true;
}
}
Symbol 1125 Button
on (release) {
_root.SSlot = "Slot3";
CSlot = _root.Slot3;
_root.sellslot = CSlot;
if (((((((_root.Slot3a == "S") || (_root.Slot3a == "W")) || (_root.Slot3a == "H")) || (_root.Slot3a == "F")) || (_root.Slot3a == "B")) || (_root.Slot3a == Empty)) || (_root.Slot3a <= 0)) {
_root.typeerror = "yes";
} else if (_root.Slot3a != Empty) {
_root.typeerror = "no";
if (CSlot == "Dragon's Tear") {
_root.sellprice = 90;
} else if (CSlot == "Gems") {
_root.sellprice = 20;
} else if (CSlot == "Healing Potion") {
_root.sellprice = 75;
} else if (CSlot == "Thunder Token") {
_root.sellprice = 70;
} else if (((((CSlot == "Rum") || (CSlot == "Vodka")) || (CSlot == "Whiskey")) || (CSlot == "Mead")) || (CSlot == "Wine")) {
_root.sellprice = 20;
} else if (CSlot == "Tent") {
_root.sellprice = 45;
} else if (CSlot == "Gold") {
_root.sellprice = 100;
} else if (CSlot == "Silver") {
_root.sellprice = 10;
} else if (CSlot == "Bronze") {
_root.sellprice = 5;
} else if (CSlot == "Copper") {
_root.sellprice = 2;
} else if (CSlot == "Bandage") {
_root.sellprice = 25;
} else if (CSlot == "Golden Apple") {
_root.sellprice = 100;
} else if (CSlot == "Matches") {
_root.sellprice = 5;
} else if (CSlot == "Sleeping Bag") {
_root.sellprice = 55;
} else if (CSlot == "Coffee") {
_root.sellprice = 80;
} else if (((((CSlot == "Chicken") || (CSlot == "Mushrooms")) || (CSlot == "Bread")) || (CSlot == "Pork")) || (CSlot == "Beans")) {
_root.sellprice = 2;
} else if (CSlot == "Map") {
_root.sellprice = 25;
} else if (_root.Slot2a == "A") {
_root.sellprice = 50;
}
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.stsellconfirm.gotoAndStop(2);
_root.stsellconfirm._visible = true;
}
}
Symbol 1128 Button
on (release) {
_root.SSlot = "Slot4";
CSlot = _root.Slot4;
_root.sellslot = CSlot;
if (((((((_root.Slot4a == "S") || (_root.Slot4a == "W")) || (_root.Slot4a == "H")) || (_root.Slot4a == "F")) || (_root.Slot4a == "B")) || (_root.Slot4a == Empty)) || (_root.Slot4a <= 0)) {
_root.typeerror = "yes";
} else if (_root.Slot4a != Empty) {
_root.typeerror = "no";
if (CSlot == "Dragon's Tear") {
_root.sellprice = 90;
} else if (CSlot == "Gems") {
_root.sellprice = 20;
} else if (CSlot == "Healing Potion") {
_root.sellprice = 75;
} else if (CSlot == "Thunder Token") {
_root.sellprice = 70;
} else if (((((CSlot == "Rum") || (CSlot == "Vodka")) || (CSlot == "Whiskey")) || (CSlot == "Mead")) || (CSlot == "Wine")) {
_root.sellprice = 20;
} else if (CSlot == "Tent") {
_root.sellprice = 45;
} else if (CSlot == "Gold") {
_root.sellprice = 100;
} else if (CSlot == "Silver") {
_root.sellprice = 10;
} else if (CSlot == "Bronze") {
_root.sellprice = 5;
} else if (CSlot == "Copper") {
_root.sellprice = 2;
} else if (CSlot == "Bandage") {
_root.sellprice = 25;
} else if (CSlot == "Golden Apple") {
_root.sellprice = 100;
} else if (CSlot == "Matches") {
_root.sellprice = 5;
} else if (CSlot == "Sleeping Bag") {
_root.sellprice = 55;
} else if (CSlot == "Coffee") {
_root.sellprice = 80;
} else if (((((CSlot == "Chicken") || (CSlot == "Mushrooms")) || (CSlot == "Bread")) || (CSlot == "Pork")) || (CSlot == "Beans")) {
_root.sellprice = 2;
} else if (CSlot == "Map") {
_root.sellprice = 25;
} else if (_root.Slot2a == "A") {
_root.sellprice = 50;
}
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.stsellconfirm.gotoAndStop(2);
_root.stsellconfirm._visible = true;
}
}
Symbol 1131 Button
on (release) {
_root.SSlot = "Slot5";
CSlot = _root.Slot5;
_root.sellslot = CSlot;
if (((((((_root.Slot5a == "S") || (_root.Slot5a == "W")) || (_root.Slot5a == "H")) || (_root.Slot5a == "F")) || (_root.Slot5a == "B")) || (_root.Slot5a == Empty)) || (_root.Slot5a <= 0)) {
_root.typeerror = "yes";
} else if (_root.Slot5a != Empty) {
_root.typeerror = "no";
if (CSlot == "Dragon's Tear") {
_root.sellprice = 90;
} else if (CSlot == "Gems") {
_root.sellprice = 20;
} else if (CSlot == "Healing Potion") {
_root.sellprice = 75;
} else if (CSlot == "Thunder Token") {
_root.sellprice = 70;
} else if (((((CSlot == "Rum") || (CSlot == "Vodka")) || (CSlot == "Whiskey")) || (CSlot == "Mead")) || (CSlot == "Wine")) {
_root.sellprice = 20;
} else if (CSlot == "Tent") {
_root.sellprice = 45;
} else if (CSlot == "Gold") {
_root.sellprice = 100;
} else if (CSlot == "Silver") {
_root.sellprice = 10;
} else if (CSlot == "Bronze") {
_root.sellprice = 5;
} else if (CSlot == "Copper") {
_root.sellprice = 2;
} else if (CSlot == "Bandage") {
_root.sellprice = 25;
} else if (CSlot == "Golden Apple") {
_root.sellprice = 100;
} else if (CSlot == "Matches") {
_root.sellprice = 5;
} else if (CSlot == "Sleeping Bag") {
_root.sellprice = 55;
} else if (CSlot == "Coffee") {
_root.sellprice = 80;
} else if (((((CSlot == "Chicken") || (CSlot == "Mushrooms")) || (CSlot == "Bread")) || (CSlot == "Pork")) || (CSlot == "Beans")) {
_root.sellprice = 2;
} else if (CSlot == "Map") {
_root.sellprice = 25;
} else if (_root.Slot2a == "A") {
_root.sellprice = 50;
}
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.stsellconfirm.gotoAndStop(2);
_root.stsellconfirm._visible = true;
}
}
Symbol 1134 Button
on (release) {
_root.SSlot = "Slot6";
CSlot = _root.Slot6;
_root.sellslot = CSlot;
if (((((((_root.Slot6a == "S") || (_root.Slot6a == "W")) || (_root.Slot6a == "H")) || (_root.Slot6a == "F")) || (_root.Slot6a == "B")) || (_root.Slot6a == Empty)) || (_root.Slot6a <= 0)) {
_root.typeerror = "yes";
} else if (_root.Slot6a != Empty) {
_root.typeerror = "no";
if (CSlot == "Dragon's Tear") {
_root.sellprice = 90;
} else if (CSlot == "Gems") {
_root.sellprice = 20;
} else if (CSlot == "Healing Potion") {
_root.sellprice = 75;
} else if (CSlot == "Thunder Token") {
_root.sellprice = 70;
} else if (((((CSlot == "Rum") || (CSlot == "Vodka")) || (CSlot == "Whiskey")) || (CSlot == "Mead")) || (CSlot == "Wine")) {
_root.sellprice = 20;
} else if (CSlot == "Tent") {
_root.sellprice = 45;
} else if (CSlot == "Gold") {
_root.sellprice = 100;
} else if (CSlot == "Silver") {
_root.sellprice = 10;
} else if (CSlot == "Bronze") {
_root.sellprice = 5;
} else if (CSlot == "Copper") {
_root.sellprice = 2;
} else if (CSlot == "Bandage") {
_root.sellprice = 25;
} else if (CSlot == "Golden Apple") {
_root.sellprice = 100;
} else if (CSlot == "Matches") {
_root.sellprice = 5;
} else if (CSlot == "Sleeping Bag") {
_root.sellprice = 55;
} else if (CSlot == "Coffee") {
_root.sellprice = 80;
} else if (((((CSlot == "Chicken") || (CSlot == "Mushrooms")) || (CSlot == "Bread")) || (CSlot == "Pork")) || (CSlot == "Beans")) {
_root.sellprice = 2;
} else if (CSlot == "Map") {
_root.sellprice = 25;
} else if (_root.Slot2a == "A") {
_root.sellprice = 50;
}
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.stsellconfirm.gotoAndStop(2);
_root.stsellconfirm._visible = true;
}
}
Symbol 1137 Button
on (release) {
_root.SSlot = "Slot7";
CSlot = _root.Slot7;
_root.sellslot = CSlot;
if (((((((_root.Slot7a == "S") || (_root.Slot7a == "W")) || (_root.Slot7a == "H")) || (_root.Slot7a == "F")) || (_root.Slot7a == "B")) || (_root.Slot7a == Empty)) || (_root.Slot7a <= 0)) {
_root.typeerror = "yes";
} else if (_root.Slot7a != Empty) {
_root.typeerror = "no";
if (CSlot == "Dragon's Tear") {
_root.sellprice = 90;
} else if (CSlot == "Gems") {
_root.sellprice = 20;
} else if (CSlot == "Healing Potion") {
_root.sellprice = 75;
} else if (CSlot == "Thunder Token") {
_root.sellprice = 70;
} else if (((((CSlot == "Rum") || (CSlot == "Vodka")) || (CSlot == "Whiskey")) || (CSlot == "Mead")) || (CSlot == "Wine")) {
_root.sellprice = 20;
} else if (CSlot == "Tent") {
_root.sellprice = 45;
} else if (CSlot == "Gold") {
_root.sellprice = 100;
} else if (CSlot == "Silver") {
_root.sellprice = 10;
} else if (CSlot == "Bronze") {
_root.sellprice = 5;
} else if (CSlot == "Copper") {
_root.sellprice = 2;
} else if (CSlot == "Bandage") {
_root.sellprice = 25;
} else if (CSlot == "Golden Apple") {
_root.sellprice = 100;
} else if (CSlot == "Matches") {
_root.sellprice = 5;
} else if (CSlot == "Sleeping Bag") {
_root.sellprice = 55;
} else if (CSlot == "Coffee") {
_root.sellprice = 80;
} else if (((((CSlot == "Chicken") || (CSlot == "Mushrooms")) || (CSlot == "Bread")) || (CSlot == "Pork")) || (CSlot == "Beans")) {
_root.sellprice = 2;
} else if (CSlot == "Map") {
_root.sellprice = 25;
} else if (_root.Slot2a == "A") {
_root.sellprice = 50;
}
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.stsellconfirm.gotoAndStop(2);
_root.stsellconfirm._visible = true;
}
}
Symbol 1140 Button
on (release) {
_root.SSlot = "Slot8";
CSlot = _root.Slot8;
_root.sellslot = CSlot;
if (((((((_root.Slot8a == "S") || (_root.Slot8a == "W")) || (_root.Slot8a == "H")) || (_root.Slot8a == "F")) || (_root.Slot8a == "B")) || (_root.Slot8a == Empty)) || (_root.Slot8a <= 0)) {
_root.typeerror = "yes";
} else if (_root.Slot8a != Empty) {
_root.typeerror = "no";
if (CSlot == "Dragon's Tear") {
_root.sellprice = 90;
} else if (CSlot == "Gems") {
_root.sellprice = 20;
} else if (CSlot == "Healing Potion") {
_root.sellprice = 75;
} else if (CSlot == "Thunder Token") {
_root.sellprice = 70;
} else if (((((CSlot == "Rum") || (CSlot == "Vodka")) || (CSlot == "Whiskey")) || (CSlot == "Mead")) || (CSlot == "Wine")) {
_root.sellprice = 20;
} else if (CSlot == "Tent") {
_root.sellprice = 45;
} else if (CSlot == "Gold") {
_root.sellprice = 100;
} else if (CSlot == "Silver") {
_root.sellprice = 10;
} else if (CSlot == "Bronze") {
_root.sellprice = 5;
} else if (CSlot == "Copper") {
_root.sellprice = 2;
} else if (CSlot == "Bandage") {
_root.sellprice = 25;
} else if (CSlot == "Golden Apple") {
_root.sellprice = 100;
} else if (CSlot == "Matches") {
_root.sellprice = 5;
} else if (CSlot == "Sleeping Bag") {
_root.sellprice = 55;
} else if (CSlot == "Coffee") {
_root.sellprice = 80;
} else if (((((CSlot == "Chicken") || (CSlot == "Mushrooms")) || (CSlot == "Bread")) || (CSlot == "Pork")) || (CSlot == "Beans")) {
_root.sellprice = 2;
} else if (CSlot == "Map") {
_root.sellprice = 25;
} else if (_root.Slot2a == "A") {
_root.sellprice = 50;
}
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.stsellconfirm.gotoAndStop(2);
_root.stsellconfirm._visible = true;
}
}
Symbol 1143 Button
on (release) {
_root.SSlot = "Slot9";
CSlot = _root.Slot9;
_root.sellslot = CSlot;
if (((((((_root.Slot9a == "S") || (_root.Slot9a == "W")) || (_root.Slot9a == "H")) || (_root.Slot9a == "F")) || (_root.Slot9a == "B")) || (_root.Slot9a == Empty)) || (_root.Slot9a <= 0)) {
_root.typeerror = "yes";
} else if (_root.Slot9a != Empty) {
_root.typeerror = "no";
if (CSlot == "Dragon's Tear") {
_root.sellprice = 90;
} else if (CSlot == "Gems") {
_root.sellprice = 20;
} else if (CSlot == "Healing Potion") {
_root.sellprice = 75;
} else if (CSlot == "Thunder Token") {
_root.sellprice = 70;
} else if (((((CSlot == "Rum") || (CSlot == "Vodka")) || (CSlot == "Whiskey")) || (CSlot == "Mead")) || (CSlot == "Wine")) {
_root.sellprice = 20;
} else if (CSlot == "Tent") {
_root.sellprice = 45;
} else if (CSlot == "Gold") {
_root.sellprice = 100;
} else if (CSlot == "Silver") {
_root.sellprice = 10;
} else if (CSlot == "Bronze") {
_root.sellprice = 5;
} else if (CSlot == "Copper") {
_root.sellprice = 2;
} else if (CSlot == "Bandage") {
_root.sellprice = 25;
} else if (CSlot == "Golden Apple") {
_root.sellprice = 100;
} else if (CSlot == "Matches") {
_root.sellprice = 5;
} else if (CSlot == "Sleeping Bag") {
_root.sellprice = 55;
} else if (CSlot == "Coffee") {
_root.sellprice = 80;
} else if (((((CSlot == "Chicken") || (CSlot == "Mushrooms")) || (CSlot == "Bread")) || (CSlot == "Pork")) || (CSlot == "Beans")) {
_root.sellprice = 2;
} else if (CSlot == "Map") {
_root.sellprice = 25;
} else if (_root.Slot2a == "A") {
_root.sellprice = 50;
}
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.stsellconfirm.gotoAndStop(2);
_root.stsellconfirm._visible = true;
}
}
Symbol 1146 Button
on (release) {
_root.SSlot = "Slot0";
CSlot = _root.Slot0;
_root.sellslot = CSlot;
if (((((((_root.Slot0a == "S") || (_root.Slot0a == "W")) || (_root.Slot0a == "H")) || (_root.Slot0a == "F")) || (_root.Slot0a == "B")) || (_root.Slot0a == Empty)) || (_root.Slot0a <= 0)) {
_root.typeerror = "yes";
} else if (_root.Slot0a != Empty) {
_root.typeerror = "no";
if (CSlot == "Dragon's Tear") {
_root.sellprice = 90;
} else if (CSlot == "Gems") {
_root.sellprice = 20;
} else if (CSlot == "Healing Potion") {
_root.sellprice = 75;
} else if (CSlot == "Thunder Token") {
_root.sellprice = 70;
} else if (((((CSlot == "Rum") || (CSlot == "Vodka")) || (CSlot == "Whiskey")) || (CSlot == "Mead")) || (CSlot == "Wine")) {
_root.sellprice = 20;
} else if (CSlot == "Tent") {
_root.sellprice = 45;
} else if (CSlot == "Gold") {
_root.sellprice = 100;
} else if (CSlot == "Silver") {
_root.sellprice = 10;
} else if (CSlot == "Bronze") {
_root.sellprice = 5;
} else if (CSlot == "Copper") {
_root.sellprice = 2;
} else if (CSlot == "Bandage") {
_root.sellprice = 25;
} else if (CSlot == "Golden Apple") {
_root.sellprice = 100;
} else if (CSlot == "Matches") {
_root.sellprice = 5;
} else if (CSlot == "Sleeping Bag") {
_root.sellprice = 55;
} else if (CSlot == "Coffee") {
_root.sellprice = 80;
} else if (((((CSlot == "Chicken") || (CSlot == "Mushrooms")) || (CSlot == "Bread")) || (CSlot == "Pork")) || (CSlot == "Beans")) {
_root.sellprice = 2;
} else if (CSlot == "Map") {
_root.sellprice = 25;
} else if (_root.Slot2a == "A") {
_root.sellprice = 50;
}
}
if (_root.typeerror == "yes") {
_root.sellerror._visible = true;
} else if (_root.typeerror == "no") {
_root.stsellconfirm.gotoAndStop(2);
_root.stsellconfirm._visible = true;
}
}
Symbol 1148 Button
on (release) {
_root.storesell._visible = false;
_root.stsellconfirm._visible = false;
_root.sellerror._visible = false;
}
Symbol 1150 Button
on (release) {
_root.sellamt = "all";
}
Symbol 1152 Button
on (release) {
_root.sellamt = 1;
}
Symbol 1153 MovieClip Frame 1
_root.sellamt = 1;
Symbol 1155 Button
on (release) {
_root.sellprice = Empty;
_root.SellPriceA = Empty;
_root.sellSlot = Empty;
_root.SSlot = Empty;
_root.CSlot = Empty;
_root.sellerror._visible = false;
_root.storesell._visible = false;
_root.stsellconfirm._visible = false;
gotoAndStop (1);
}
Symbol 1158 Button
on (release) {
if (_root.sellpriceA <= 1) {
_root.Money = _root.Money + 1;
} else {
_root.Money = _root.Money + Math.round(_root.sellpriceA * (1 - _root.discount));
}
if (_root.SSlot == "Slot1") {
_root.Slot1a = _root.Slot1a - _root.SellAmtA;
if (_root.Slot1a <= 0) {
_root.Slot1a = Empty;
_root.Slot1 = Empty;
}
} else if (_root.SSlot == "Slot2") {
_root.Slot2a = _root.Slot2a - _root.SellAmtA;
if (_root.Slot2a <= 0) {
_root.Slot2a = Empty;
_root.Slot2 = Empty;
}
} else if (_root.SSlot == "Slot3") {
_root.Slot3a = _root.Slot3a - _root.SellAmtA;
if (_root.Slot3a <= 0) {
_root.Slot3a = Empty;
_root.Slot3 = Empty;
}
} else if (_root.SSlot == "Slot4") {
_root.Slot4a = _root.Slot4a - _root.SellAmtA;
if (_root.Slot4a <= 0) {
_root.Slot4a = Empty;
_root.Slot4 = Empty;
}
} else if (_root.SSlot == "Slot5") {
_root.Slot5a = _root.Slot5a - _root.SellAmtA;
if (_root.Slot5a <= 0) {
_root.Slot5a = Empty;
_root.Slot5 = Empty;
}
} else if (_root.SSlot == "Slot6") {
_root.Slot6a = _root.Slot6a - _root.SellAmtA;
if (_root.Slot6a <= 0) {
_root.Slot6a = Empty;
_root.Slot6 = Empty;
}
} else if (_root.SSlot == "Slot7") {
_root.Slot7a = _root.Slot7a - _root.SellAmtA;
if (_root.Slot7a <= 0) {
_root.Slot7a = Empty;
_root.Slot7 = Empty;
}
} else if (_root.SSlot == "Slot8") {
_root.Slot8a = _root.Slot8a - _root.SellAmtA;
if (_root.Slot8a <= 0) {
_root.Slot8a = Empty;
_root.Slot8 = Empty;
}
} else if (_root.SSlot == "Slot9") {
_root.Slot9a = _root.Slot9a - _root.SellAmtA;
if (_root.Slot9a <= 0) {
_root.Slot9a = Empty;
_root.Slot9 = Empty;
}
} else if (_root.SSlot == "Slot0") {
_root.Slot0a = _root.Slot0a - _root.SellAmtA;
if (_root.Slot0a <= 0) {
_root.Slot0a = Empty;
_root.Slot0 = Empty;
}
}
_root.stsellconfirm._visible = false;
gotoAndStop (1);
}
Symbol 1159 Button
on (release) {
_root.sellprice = Empty;
_root.SellPriceA = Empty;
_root.sellSlot = Empty;
_root.SSlot = Empty;
_root.CSlot = Empty;
_root.sellerror._visible = false;
_root.stsellconfirm._visible = false;
gotoAndStop (1);
}
Symbol 1162 MovieClip Frame 1
stop();
Symbol 1162 MovieClip Frame 2
if (_root.sellamt == 1) {
_root.SellAmtA = 1;
} else if (_root.sellamt == "all") {
if (_root.SSlot == "Slot1") {
_root.SellAmtA = _root.slot1a;
} else if (_root.SSlot == "Slot2") {
_root.SellAmtA = _root.slot2a;
} else if (_root.SSlot == "Slot3") {
_root.SellAmtA = _root.slot3a;
} else if (_root.SSlot == "Slot4") {
_root.SellAmtA = _root.slot4a;
} else if (_root.SSlot == "Slot5") {
_root.SellAmtA = _root.slot5a;
} else if (_root.SSlot == "Slot6") {
_root.SellAmtA = _root.slot6a;
} else if (_root.SSlot == "Slot7") {
_root.SellAmtA = _root.slot7a;
} else if (_root.SSlot == "Slot8") {
_root.SellAmtA = _root.slot8a;
} else if (_root.SSlot == "Slot9") {
_root.SellAmtA = _root.slot9a;
} else if (_root.SSlot == "Slot0") {
_root.SellAmtA = _root.slot0a;
}
}
_root.SellPriceA = Math.round((_root.sellprice * _root.SellAmtA) * (1 - _root.discount));
if (_root.SellPriceA < 1) {
}
stop();
Symbol 1167 Button
on (release) {
if ((_root.Money >= Math.round(10 * (1 + _root.discount))) && (_root.Adventures >= 1)) {
_root.Money = _root.Money - Math.round(10 * (1 + _root.discount));
_root.Adventures = _root.Adventures - 1;
_root.tavernmovie.gotoAndPlay(2);
_root.tavernmovie._visible = true;
}
}
Symbol 1168 Button
on (release) {
if (_root.Money >= Math.round(130 * (1 + _root.discount))) {
_root.Money = _root.Money - Math.round(130 * (1 + _root.discount));
_root.Adventures = _root.RealAdventures;
_root.HP = _root.FullHP;
_root.MP = _root.FullMP;
_root.tavernmovie.gotoAndPlay(39);
_root.tavernmovie._visible = true;
}
}
Symbol 1171 Button
on (release) {
_root.DiceTable._visible = true;
}
Symbol 1186 MovieClip Frame 1
if (_root.Where == "Trollburg") {
gotoAndStop (2);
} else if (_root.Where == "Goblinia") {
gotoAndStop (3);
} else if (_root.Where == "Humanton") {
gotoAndStop (4);
} else if (_root.Where == "Dwarfheim") {
gotoAndStop (5);
} else if (_root.Where == "Elfville") {
gotoAndStop (6);
}
Symbol 1186 MovieClip Frame 2
_root.discount = _root.align + 50;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
price1 = Math.round(10 * (1 + _root.discount));
price2 = Math.round(130 * (1 + _root.discount));
Symbol 1186 MovieClip Frame 3
_root.discount = _root.align + 30;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
price1 = Math.round(10 * (1 + _root.discount));
price2 = Math.round(130 * (1 + _root.discount));
Symbol 1186 MovieClip Frame 4
_root.discount = _root.align;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
price1 = Math.round(10 * (1 + _root.discount));
price2 = Math.round(130 * (1 + _root.discount));
Symbol 1186 MovieClip Frame 5
_root.discount = _root.align - 30;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
price1 = Math.round(10 * (1 + _root.discount));
price2 = Math.round(130 * (1 + _root.discount));
Symbol 1186 MovieClip Frame 6
_root.discount = _root.align - 50;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
price1 = Math.round(10 * (1 + _root.discount));
price2 = Math.round(130 * (1 + _root.discount));
Symbol 1195 MovieClip Frame 1
stop();
Symbol 1196 Button
on (release) {
if (betamt == Empty) {
} else if (bettype == Empty) {
} else if (_root.Money >= betamt) {
gotoAndPlay (2);
}
}
Symbol 1200 Button
on (release) {
_root.DiceTable._visible = false;
}
Symbol 1201 Button
on (release) {
betamt = betamt + 1;
}
Symbol 1205 Button
on (release) {
betamt = betamt + 10;
}
Symbol 1206 Button
on (release) {
betamt = betamt + 5;
}
Symbol 1209 Button
on (release) {
bettype = "Odd";
}
Symbol 1212 Button
on (release) {
bettype = "Even";
}
Symbol 1224 Button
on (release) {
bettype = "Three";
}
Symbol 1225 Button
on (release) {
bettype = "Four";
}
Symbol 1226 Button
on (release) {
bettype = "Five";
}
Symbol 1227 Button
on (release) {
bettype = "Six";
}
Symbol 1228 Button
on (release) {
bettype = "Seven";
}
Symbol 1229 Button
on (release) {
bettype = "Eight";
}
Symbol 1230 Button
on (release) {
bettype = "Nine";
}
Symbol 1231 Button
on (release) {
bettype = "Ten";
}
Symbol 1232 Button
on (release) {
bettype = "Eleven";
}
Symbol 1233 Button
on (release) {
bettype = "Twelve";
}
Symbol 1234 Button
on (release) {
betamt = 0;
bettype = Empty;
}
Symbol 1235 Button
on (release) {
gotoAndStop (1);
}
Symbol 1242 MovieClip Frame 1
stop();
Symbol 1242 MovieClip Frame 2
RandDice1 = random(6);
if (RandDice1 == 0) {
D1 = 1;
Dice1.gotoAndStop(2);
} else if (RandDice1 == 1) {
D1 = 2;
Dice1.gotoAndStop(3);
} else if (RandDice1 == 2) {
D1 = 3;
Dice1.gotoAndStop(4);
} else if (RandDice1 == 3) {
D1 = 4;
Dice1.gotoAndStop(5);
} else if (RandDice1 == 4) {
D1 = 5;
Dice1.gotoAndStop(6);
} else if (RandDice1 == 5) {
D1 = 6;
Dice1.gotoAndStop(7);
}
RandDice2 = random(6);
if (RandDice2 == 0) {
D2 = 1;
Dice2.gotoAndStop(2);
} else if (RandDice2 == 1) {
D2 = 2;
Dice2.gotoAndStop(3);
} else if (RandDice2 == 2) {
D2 = 3;
Dice2.gotoAndStop(4);
} else if (RandDice2 == 3) {
D2 = 4;
Dice2.gotoAndStop(5);
} else if (RandDice2 == 4) {
D2 = 5;
Dice2.gotoAndStop(6);
} else if (RandDice2 == 5) {
D2 = 6;
Dice2.gotoAndStop(7);
}
DT = D1 + D2;
if (DT == 2) {
outcome = "Snake Eyes!";
gain = 0;
_root.Money = _root.Money - betamt;
} else if (DT == 3) {
if (bettype == "Odd") {
outcome = "You Win!";
gain = math.Round(betamt * 1.5);
_root.Money = _root.Money + gain;
} else if (bettype == "Three") {
outcome = "You Win!";
gain = betamt * 3;
_root.Money = _root.Money + gain;
} else {
outcome = "You Lose!";
gain = 0;
_root.Money = _root.Money - betamt;
}
} else if (DT == 4) {
if (bettype == "Even") {
outcome = "You Win!";
gain = math.Round(betamt * 1.5);
_root.Money = _root.Money + gain;
} else if (bettype == "Four") {
outcome = "You Win!";
gain = betamt * 3;
_root.Money = _root.Money + gain;
} else {
outcome = "You Lose!";
gain = 0;
_root.Money = _root.Money - betamt;
}
} else if (DT == 5) {
if (bettype == "Odd") {
outcome = "You Win!";
gain = math.Round(betamt * 1.5);
_root.Money = _root.Money + gain;
} else if (bettype == "Five") {
outcome = "You Win!";
gain = betamt * 3;
_root.Money = _root.Money + gain;
} else {
outcome = "You Lose!";
gain = 0;
_root.Money = _root.Money - betamt;
}
} else if (DT == 6) {
if (bettype == "Even") {
outcome = "You Win!";
gain = math.Round(betamt * 1.5);
_root.Money = _root.Money + gain;
} else if (bettype == "Six") {
outcome = "You Win!";
gain = betamt * 3;
_root.Money = _root.Money + gain;
} else {
outcome = "You Lose!";
gain = 0;
_root.Money = _root.Money - betamt;
}
} else if (DT == 7) {
if (bettype == "Odd") {
outcome = "You Win!";
gain = math.Round(betamt * 1.5);
_root.Money = _root.Money + gain;
} else if (bettype == "Seven") {
outcome = "You Win!";
gain = betamt * 3;
_root.Money = _root.Money + gain;
} else {
outcome = "You Lose!";
gain = 0;
_root.Money = _root.Money - betamt;
}
} else if (DT == 8) {
if (bettype == "Even") {
outcome = "You Win!";
gain = math.Round(betamt * 1.5);
_root.Money = _root.Money + gain;
} else if (bettype == "Eight") {
outcome = "You Win!";
gain = betamt * 3;
_root.Money = _root.Money + gain;
} else {
outcome = "You Lose!";
gain = 0;
_root.Money = _root.Money - betamt;
}
} else if (DT == 9) {
if (bettype == "Odd") {
outcome = "You Win!";
gain = math.Round(betamt * 1.5);
_root.Money = _root.Money + gain;
} else if (bettype == "Nine") {
outcome = "You Win!";
gain = betamt * 3;
_root.Money = _root.Money + gain;
} else {
outcome = "You Lose!";
gain = 0;
_root.Money = _root.Money - betamt;
}
} else if (DT == 10) {
if (bettype == "Even") {
outcome = "You Win!";
gain = math.Round(betamt * 1.5);
_root.Money = _root.Money + gain;
} else if (bettype == "Ten") {
outcome = "You Win!";
gain = betamt * 3;
_root.Money = _root.Money + gain;
} else {
outcome = "You Lose!";
gain = 0;
_root.Money = _root.Money - betamt;
}
} else if (DT == 11) {
if (bettype == "Odd") {
outcome = "You Win!";
gain = math.Round(betamt * 1.5);
_root.Money = _root.Money + gain;
} else if (bettype == "Eleven") {
outcome = "You Win!";
gain = betamt * 3;
_root.Money = _root.Money + gain;
} else {
outcome = "You Lose!";
gain = 0;
_root.Money = _root.Money - betamt;
}
} else if (DT == 12) {
if (bettype == "Even") {
outcome = "You Win!";
gain = math.Round(betamt * 1.5);
_root.Money = _root.Money + gain;
} else if (bettype == "Twelve") {
outcome = "You Win!";
gain = betamt * 4;
_root.Money = _root.Money + gain;
} else {
outcome = "You Lose!";
gain = 0;
_root.Money = _root.Money - betamt;
}
}
stop();
Symbol 1248 MovieClip Frame 1
if (_root.eBody == "T. Leather") {
gotoAndStop (2);
} else if (_root.eBody == "T. Copper") {
gotoAndStop (3);
} else if (_root.eBody == "T. Iron") {
gotoAndStop (4);
} else if (_root.eBody == "T. Robe") {
gotoAndStop (5);
} else if (_root.eBody == "G. Leather") {
gotoAndStop (6);
} else if (_root.eBody == "G. Copper") {
gotoAndStop (7);
} else if (_root.eBody == "G. Iron") {
gotoAndStop (8);
} else if (_root.eBody == "G. Robe") {
gotoAndStop (9);
} else if (_root.eBody == "H. Leather") {
gotoAndStop (10);
} else if (_root.eBody == "H. Bronze") {
gotoAndStop (11);
} else if (_root.eBody == "H. Iron") {
gotoAndStop (12);
} else if (_root.eBody == "H. Robe") {
gotoAndStop (13);
} else if (_root.eBody == "D. Leather") {
gotoAndStop (14);
} else if (_root.eBody == "D. Chainmail") {
gotoAndStop (15);
} else if (_root.eBody == "D. Iron") {
gotoAndStop (16);
} else if (_root.eBody == "D. Robe") {
gotoAndStop (17);
} else if (_root.eBody == "E. Leather") {
gotoAndStop (18);
} else if (_root.eBody == "E. Chainmail") {
gotoAndStop (19);
} else if (_root.eBody == "E. Iron") {
gotoAndStop (20);
} else if (_root.eBody == "E. Robe") {
gotoAndStop (21);
} else {
stop();
}
Symbol 1250 MovieClip Frame 1
if (_root.eRace == "Troll") {
gotoAndStop (2);
} else if (_root.eRace == "Goblin") {
gotoAndStop (3);
} else if (_root.eRace == "Dwarf") {
gotoAndStop (4);
} else if (_root.eRace == "Elf") {
gotoAndStop (5);
}
stop();
Symbol 1251 MovieClip Frame 1
if (_root.eLHand == "H. Targe") {
gotoAndStop (2);
} else if (_root.eLHand == "T. Shield") {
gotoAndStop (3);
} else if (_root.eLHand == "G. Shield") {
gotoAndStop (4);
} else if (_root.eLHand == "G. Targe") {
gotoAndStop (5);
} else if (_root.eLHand == "D. Shield") {
gotoAndStop (6);
} else if (_root.eLHand == "E. Shield") {
gotoAndStop (7);
} else if (_root.eLHand == "Main Gauche") {
gotoAndStop (8);
} else {
stop();
}
Symbol 1252 MovieClip Frame 1
if (_root.elhand != Empty) {
gotoAndStop (2);
} else {
stop();
}
Symbol 1254 MovieClip Frame 1
if (_root.eRace == "Troll") {
gotoAndStop (2);
} else if (_root.eRace == "Goblin") {
gotoAndStop (3);
} else if (_root.eRace == "Dwarf") {
gotoAndStop (4);
} else if (_root.eRace == "Elf") {
gotoAndStop (5);
} else {
stop();
}
Symbol 1259 MovieClip Frame 1
if (_root.eFeet == "H. Sandals") {
gotoAndStop (2);
} else if (_root.eFeet == "H. Shoes") {
gotoAndStop (3);
} else if (_root.eFeet == "H. Boots") {
gotoAndStop (4);
} else if (_root.eFeet == "T. Sandals") {
gotoAndStop (5);
} else if (_root.eFeet == "T. Boots") {
gotoAndStop (6);
} else if (_root.eFeet == "G. Sandals") {
gotoAndStop (7);
} else if (_root.eFeet == "G. Boots") {
gotoAndStop (8);
} else if (_root.eFeet == "D. Sandals") {
gotoAndStop (9);
} else if (_root.eFeet == "D. Shoes") {
gotoAndStop (10);
} else if (_root.eFeet == "D. Boots") {
gotoAndStop (11);
} else if (_root.eFeet == "E. Sandals") {
gotoAndStop (12);
} else if (_root.eFeet == "E. Shoes") {
gotoAndStop (13);
} else if (_root.eFeet == "Steel Toe") {
gotoAndStop (14);
} else {
stop();
}
Symbol 1260 MovieClip Frame 1
if (_root.eHead == "T. Cap") {
gotoAndStop (2);
} else if (_root.eHead == "T. Helmet") {
gotoAndStop (3);
} else if (_root.eHead == "T. Pointy Hat") {
gotoAndStop (4);
} else if (_root.eHead == "G. Hood") {
gotoAndStop (5);
} else if (_root.eHead == "G. Helmet") {
gotoAndStop (6);
} else if (_root.eHead == "G. Pointy Hat") {
gotoAndStop (7);
} else if (_root.eHead == "H. Cap") {
gotoAndStop (8);
} else if (_root.eHead == "H. Helmet") {
gotoAndStop (9);
} else if (_root.eHead == "H. Pointy Hat") {
gotoAndStop (10);
} else if (_root.eHead == "D. Cap") {
gotoAndStop (11);
} else if (_root.eHead == "D. Helmet") {
gotoAndStop (12);
} else if (_root.eHead == "D. Pointy Hat") {
gotoAndStop (13);
} else if (_root.eHead == "E. Cap") {
gotoAndStop (14);
} else if (_root.eHead == "E. Helmet") {
gotoAndStop (15);
} else if (_root.eHead == "E. Pointy Hat") {
gotoAndStop (16);
} else {
stop();
}
Symbol 1268 MovieClip Frame 1
if (_root.eBody == "T. Leather") {
gotoAndStop (2);
} else if (_root.eBody == "T. Copper") {
gotoAndStop (3);
} else if (_root.eBody == "T. Iron") {
gotoAndStop (4);
} else if (_root.eBody == "T. Robe") {
gotoAndStop (5);
} else if (_root.eBody == "G. Leather") {
gotoAndStop (6);
} else if (_root.eBody == "G. Copper") {
gotoAndStop (7);
} else if (_root.eBody == "G. Iron") {
gotoAndStop (8);
} else if (_root.eBody == "G. Robe") {
gotoAndStop (9);
} else if (_root.eBody == "H. Leather") {
gotoAndStop (10);
} else if (_root.eBody == "H. Bronze") {
gotoAndStop (11);
} else if (_root.eBody == "H. Iron") {
gotoAndStop (12);
} else if (_root.eBody == "H. Robe") {
gotoAndStop (13);
} else if (_root.eBody == "D. Leather") {
gotoAndStop (14);
} else if (_root.eBody == "D. Chainmail") {
gotoAndStop (15);
} else if (_root.eBody == "D. Iron") {
gotoAndStop (16);
} else if (_root.eBody == "D. Robe") {
gotoAndStop (17);
} else if (_root.eBody == "E. Leather") {
gotoAndStop (18);
} else if (_root.eBody == "E. Chainmail") {
gotoAndStop (19);
} else if (_root.eBody == "E. Iron") {
gotoAndStop (20);
} else if (_root.eBody == "E. Robe") {
gotoAndStop (21);
} else {
stop();
}
Symbol 1269 MovieClip Frame 1
if ((_root.eRace == "Troll") && (_root.eSex == "M")) {
gotoAndStop (3);
} else if ((_root.eRace == "Goblin") && (_root.eSex == "M")) {
gotoAndStop (5);
} else if ((_root.eRace == "Dwarf") && (_root.eSex == "M")) {
gotoAndStop (7);
} else if ((_root.eRace == "Elf") && (_root.eSex == "M")) {
gotoAndStop (9);
} else if ((_root.eRace == "Human") && (_root.eSex == "F")) {
gotoAndStop (2);
} else if ((_root.eRace == "Troll") && (_root.eSex == "F")) {
gotoAndStop (4);
} else if ((_root.eRace == "Goblin") && (_root.eSex == "F")) {
gotoAndStop (6);
} else if ((_root.eRace == "Dwarf") && (_root.eSex == "F")) {
gotoAndStop (8);
} else if ((_root.eRace == "Elf") && (_root.eSex == "F")) {
gotoAndStop (10);
}
stop();
Symbol 1281 MovieClip Frame 1
if ((_root.eRace == "Troll") && (_root.eSex == "M")) {
gotoAndStop (3);
} else if ((_root.eRace == "Goblin") && (_root.eSex == "M")) {
gotoAndStop (5);
} else if ((_root.eRace == "Dwarf") && (_root.eSex == "M")) {
gotoAndStop (7);
} else if ((_root.eRace == "Elf") && (_root.eSex == "M")) {
gotoAndStop (9);
} else if ((_root.eRace == "Human") && (_root.eSex == "F")) {
gotoAndStop (2);
} else if ((_root.eRace == "Troll") && (_root.eSex == "F")) {
gotoAndStop (4);
} else if ((_root.eRace == "Goblin") && (_root.eSex == "F")) {
gotoAndStop (6);
} else if ((_root.eRace == "Dwarf") && (_root.eSex == "F")) {
gotoAndStop (8);
} else if ((_root.eRace == "Elf") && (_root.eSex == "F")) {
gotoAndStop (10);
} else {
stop();
}
Symbol 1292 MovieClip Frame 1
if ((_root.eRace == "Troll") && (_root.eSex == "M")) {
gotoAndStop (3);
} else if ((_root.eRace == "Goblin") && (_root.eSex == "M")) {
gotoAndStop (5);
} else if ((_root.eRace == "Dwarf") && (_root.eSex == "M")) {
gotoAndStop (7);
} else if ((_root.eRace == "Elf") && (_root.eSex == "M")) {
gotoAndStop (9);
} else if ((_root.eRace == "Human") && (_root.eSex == "F")) {
gotoAndStop (2);
} else if ((_root.eRace == "Troll") && (_root.eSex == "F")) {
gotoAndStop (4);
} else if ((_root.eRace == "Goblin") && (_root.eSex == "F")) {
gotoAndStop (6);
} else if ((_root.eRace == "Dwarf") && (_root.eSex == "F")) {
gotoAndStop (8);
} else if ((_root.eRace == "Elf") && (_root.eSex == "F")) {
gotoAndStop (10);
} else {
stop();
}
Symbol 1300 MovieClip Frame 1
if ((_root.eRace == "Troll") && (_root.eSex == "M")) {
gotoAndStop (3);
} else if ((_root.eRace == "Goblin") && (_root.eSex == "M")) {
gotoAndStop (5);
} else if ((_root.eRace == "Dwarf") && (_root.eSex == "M")) {
gotoAndStop (7);
} else if ((_root.eRace == "Elf") && (_root.eSex == "M")) {
gotoAndStop (9);
} else if ((_root.eRace == "Human") && (_root.eSex == "F")) {
gotoAndStop (2);
} else if ((_root.eRace == "Troll") && (_root.eSex == "F")) {
gotoAndStop (4);
} else if ((_root.eRace == "Goblin") && (_root.eSex == "F")) {
gotoAndStop (6);
} else if ((_root.eRace == "Dwarf") && (_root.eSex == "F")) {
gotoAndStop (8);
} else if ((_root.eRace == "Elf") && (_root.eSex == "F")) {
gotoAndStop (10);
} else {
stop();
}
Symbol 1301 MovieClip Frame 1
stop();
Symbol 1307 MovieClip Frame 1
if (_root.eHead == "T. Cap") {
gotoAndStop (2);
} else if (_root.eHead == "T. Helmet") {
gotoAndStop (3);
} else if (_root.eHead == "T. Pointy Hat") {
gotoAndStop (4);
} else if (_root.eHead == "G. Hood") {
gotoAndStop (5);
} else if (_root.eHead == "G. Helmet") {
gotoAndStop (6);
} else if (_root.eHead == "G. Pointy Hat") {
gotoAndStop (7);
} else if (_root.eHead == "H. Cap") {
gotoAndStop (8);
} else if (_root.eHead == "H. Helmet") {
gotoAndStop (9);
} else if (_root.eHead == "H. Pointy Hat") {
gotoAndStop (10);
} else if (_root.eHead == "D. Cap") {
gotoAndStop (11);
} else if (_root.eHead == "D. Helmet") {
gotoAndStop (12);
} else if (_root.eHead == "D. Pointy Hat") {
gotoAndStop (13);
} else if (_root.eHead == "E. Cap") {
gotoAndStop (14);
} else if (_root.eHead == "E. Helmet") {
gotoAndStop (15);
} else if (_root.eHead == "E. Pointy Hat") {
gotoAndStop (16);
} else if (_root.eHead == "Horned Helm") {
gotoAndStop (17);
} else {
stop();
}
Symbol 1317 MovieClip Frame 1
if ((_root.eRace == "Troll") && (_root.eSex == "M")) {
gotoAndStop (3);
} else if ((_root.eRace == "Goblin") && (_root.eSex == "M")) {
gotoAndStop (5);
} else if ((_root.eRace == "Dwarf") && (_root.eSex == "M")) {
gotoAndStop (7);
} else if ((_root.eRace == "Elf") && (_root.eSex == "M")) {
gotoAndStop (9);
} else if ((_root.eRace == "Human") && (_root.eSex == "F")) {
gotoAndStop (2);
} else if ((_root.eRace == "Troll") && (_root.eSex == "F")) {
gotoAndStop (4);
} else if ((_root.eRace == "Goblin") && (_root.eSex == "F")) {
gotoAndStop (6);
} else if ((_root.eRace == "Dwarf") && (_root.eSex == "F")) {
gotoAndStop (8);
} else if ((_root.eRace == "Elf") && (_root.eSex == "F")) {
gotoAndStop (10);
}
stop();
Symbol 1326 MovieClip Frame 1
if (_root.eAmulet == "Pheonix Feather") {
gotoAndStop (2);
} else if (_root.eAmulet == "Aura of Peace") {
gotoAndStop (3);
} else if (_root.eAmulet == "Aura of Chaos") {
gotoAndStop (4);
} else if (_root.eAmulet == "Crystal Ball") {
gotoAndStop (5);
} else if (_root.eAmulet == "Eye of Surtur") {
gotoAndStop (6);
} else if (_root.eAmulet == "Blue Cross") {
gotoAndStop (7);
} else if (_root.eAmulet == "Thor's Hammer") {
gotoAndStop (8);
} else if (_root.eAmulet == "Snowflake") {
gotoAndStop (9);
} else if (_root.eAmulet == "Bluegold") {
gotoAndStop (10);
} else if (_root.eAmulet == "Shadow Stone") {
gotoAndStop (11);
} else if (_root.eAmulet == "Silver Tongue") {
gotoAndStop (12);
} else if (_root.eAmulet == "Lion's Heart") {
gotoAndStop (13);
} else if (_root.eAmulet == "Star of Pain") {
gotoAndStop (14);
} else if (_root.eAmulet == "Olive Branch") {
gotoAndStop (15);
} else if (_root.eAmulet == "Bear's Paw") {
gotoAndStop (16);
} else if (_root.eAmulet == "Tusk") {
gotoAndStop (17);
} else if (_root.eAmulet == "Tiger Claw") {
gotoAndStop (18);
} else if (_root.eAmulet == "Arrowhead") {
gotoAndStop (19);
} else if (_root.eAmulet == "Turtle Shell") {
gotoAndStop (20);
} else if (_root.eAmulet == "Dumbbell") {
gotoAndStop (21);
} else if (_root.eAmulet == "Roc Wing") {
gotoAndStop (22);
} else if (_root.eAmulet == "Compass") {
gotoAndStop (23);
} else if (_root.eAmulet == "Toad Stool") {
gotoAndStop (24);
} else if (_root.eAmulet == "Mana Crystal") {
gotoAndStop (25);
} else {
stop();
}
Symbol 1339 MovieClip Frame 1
if (_root.eRHand == "H. Rapier") {
gotoAndStop (2);
} else if (_root.eRHand == "H. Scimitar") {
gotoAndStop (3);
} else if (_root.eRHand == "T. Sword") {
gotoAndStop (4);
} else if (_root.eRHand == "T. Heavy Sword") {
gotoAndStop (5);
} else if (_root.eRHand == "G. Big Knife") {
gotoAndStop (6);
} else if (_root.eRHand == "G. Scymetar") {
gotoAndStop (7);
} else if (_root.eRHand == "D. Broad Sword") {
gotoAndStop (8);
} else if (_root.eRHand == "D. Long Sword") {
gotoAndStop (9);
} else if (_root.eRHand == "D. Short Sword") {
gotoAndStop (10);
} else if (_root.eRHand == "E. Long Sword") {
gotoAndStop (11);
} else if (_root.eRHand == "E. Short Sword") {
gotoAndStop (12);
} else if (_root.eRHand == "Flaming Sword") {
gotoAndStop (13);
} else {
stop();
}
Symbol 1340 MovieClip Frame 1
if (_root.eRHand == "H. Spear") {
gotoAndStop (2);
} else if (_root.eRHand == "H. Pike") {
gotoAndStop (3);
} else if (_root.eRHand == "T. Spear") {
gotoAndStop (4);
} else if (_root.eRHand == "T. Pike") {
gotoAndStop (5);
} else if (_root.eRHand == "G. Spear") {
gotoAndStop (6);
} else if (_root.eRHand == "G. Pike") {
gotoAndStop (7);
} else if (_root.eRHand == "D. Staff") {
gotoAndStop (8);
} else if (_root.eRHand == "D. Pike") {
gotoAndStop (9);
} else if (_root.eRHand == "E. Staff") {
gotoAndStop (10);
} else if (_root.eRHand == "E. Spear") {
gotoAndStop (11);
} else if (_root.eRHand == "H. Staff") {
gotoAndStop (1);
} else if (_root.eRHand == "Trident") {
gotoAndStop (12);
} else if (_root.eRHand == "Magic Staff") {
gotoAndStop (13);
}
Symbol 1346 MovieClip Frame 1
if (_root.eRHand == "H. Hammer") {
gotoAndStop (2);
} else if (_root.eRHand == "H. Mace") {
gotoAndStop (3);
} else if (_root.eRHand == "T. Axe") {
gotoAndStop (4);
} else if (_root.eRHand == "T. Hammer") {
gotoAndStop (5);
} else if (_root.eRHand == "T. Club") {
gotoAndStop (6);
} else if (_root.eRHand == "G. Axe") {
gotoAndStop (7);
} else if (_root.eRHand == "G. Mace") {
gotoAndStop (8);
} else if (_root.eRHand == "D. Axe") {
gotoAndStop (9);
} else if (_root.eRHand == "D. Hammer") {
gotoAndStop (10);
} else if (_root.eRHand == "E. Hammer") {
gotoAndStop (11);
} else if (_root.eRHand == "E. Mace") {
gotoAndStop (12);
} else {
stop();
}
_root.handa = 12;
_root.handd = 2;
_root.hands = 2;
Symbol 1346 MovieClip Frame 2
_root.handa = 10;
_root.handd = 3;
_root.hands = 1;
Symbol 1346 MovieClip Frame 3
_root.handa = 11;
_root.handd = 1;
_root.hands = 3;
Symbol 1346 MovieClip Frame 4
_root.handa = 13;
_root.handd = 1;
_root.hands = 3;
Symbol 1346 MovieClip Frame 5
_root.handa = 11;
_root.handd = 1;
_root.hands = 2;
Symbol 1346 MovieClip Frame 6
_root.handa = 11;
_root.handd = 2;
_root.hands = 3;
Symbol 1346 MovieClip Frame 7
_root.handa = 11;
_root.handd = 1;
_root.hands = 1;
Symbol 1346 MovieClip Frame 8
_root.handa = 10;
_root.handd = 2;
_root.hands = 2;
Symbol 1346 MovieClip Frame 9
_root.handa = 12;
_root.handd = 2;
_root.hands = 3;
Symbol 1346 MovieClip Frame 10
_root.handa = 10;
_root.handd = 2;
_root.hands = 2;
Symbol 1346 MovieClip Frame 11
_root.handa = 10;
_root.handd = 1;
_root.hands = 1;
Symbol 1346 MovieClip Frame 12
_root.handa = 10;
_root.handd = 1;
_root.hands = 2;
Symbol 1351 MovieClip Frame 1
if (_root.eRHand == "T. Knife") {
gotoAndStop (2);
} else if (_root.eRHand == "T. Blade") {
gotoAndStop (3);
} else if (_root.eRHand == "G. Knife") {
gotoAndStop (4);
} else if (_root.eRHand == "G. Dagger") {
gotoAndStop (5);
} else if (_root.eRHand == "G. Blade") {
gotoAndStop (6);
} else if (_root.eRHand == "D. Knife") {
gotoAndStop (7);
} else if (_root.eRHand == "D. Blade") {
gotoAndStop (8);
} else if (_root.eRHand == "E. Knife") {
gotoAndStop (9);
} else if (_root.eRHand == "E. Dagger") {
gotoAndStop (10);
} else if (_root.eRHand == "E. Blade") {
gotoAndStop (11);
} else {
stop();
}
Symbol 1352 MovieClip Frame 1
if (_root.eType == "Stave") {
gotoAndStop (2);
} else if (_root.eType == "Maul") {
gotoAndStop (3);
} else if (_root.eType == "Stab") {
gotoAndStop (4);
} else if ((_root.eType == Empty) || (_root.eRHand == Empty)) {
gotoAndStop (5);
} else {
stop();
}
Symbol 1353 MovieClip Frame 1
if (_root.WeaponType == "Slash") {
gotoAndStop (9);
} else if (_root.WeaponType == "Maul") {
gotoAndStop (17);
} else if (_root.WeaponType == "Stave") {
gotoAndStop (25);
} else if (_root.WeaponType == "Stab") {
gotoAndStop (33);
}
stop();
Symbol 1356 MovieClip Frame 1
if (_root.Race == "Troll") {
gotoAndStop (2);
} else if (_root.Race == "Goblin") {
gotoAndStop (3);
} else if (_root.Race == "Dwarf") {
gotoAndStop (4);
} else if (_root.Race == "Elf") {
gotoAndStop (5);
}
stop();
Symbol 1363 Button
on (release) {
_root.tavernmovie._visible = false;
gotoAndStop (1);
}
Symbol 1376 MovieClip Frame 1
if ((_root.Race == "Troll") && (_root.Sex == "Sir")) {
gotoAndStop (3);
} else if ((_root.Race == "Goblin") && (_root.Sex == "Sir")) {
gotoAndStop (5);
} else if ((_root.Race == "Dwarf") && (_root.Sex == "Sir")) {
gotoAndStop (7);
} else if ((_root.Race == "Elf") && (_root.Sex == "Sir")) {
gotoAndStop (9);
} else if ((_root.Race == "Human") && (_root.Sex == "Lady")) {
gotoAndStop (2);
} else if ((_root.Race == "Troll") && (_root.Sex == "Lady")) {
gotoAndStop (4);
} else if ((_root.Race == "Goblin") && (_root.Sex == "Lady")) {
gotoAndStop (6);
} else if ((_root.Race == "Dwarf") && (_root.Sex == "Lady")) {
gotoAndStop (8);
} else if ((_root.Race == "Elf") && (_root.Sex == "Lady")) {
gotoAndStop (10);
}
stop();
Symbol 1382 MovieClip Frame 1
stop();
_root.eRHand = Empty;
_root.eLHand = Empty;
_root.eAmulet = Empty;
_root.eHead = Empty;
_root.eFeet = Empty;
_root.eBody = Empty;
_root.eType = Empty;
RandRace = random(2);
if (RandRace == 0) {
if (((_root.Where == "Troma") || (_root.Where == "Grue-Thak")) || (_root.Where == "Morna")) {
_root.eRace = "Troll";
} else if (((_root.Where == "Grimdue") || (_root.Where == "Limb-Ar")) || (_root.Where == "Rimsho")) {
_root.eRace = "Goblin";
} else if (((_root.Where == "Rosefield") || (_root.Where == "Pine Rapids")) || (_root.Where == "Nortville")) {
_root.eRace = "Human";
} else if (((_root.Where == "Gemlea") || (_root.Where == "Jotunheim")) || (_root.Where == "Utgard")) {
_root.eRace = "Dwarf";
} else if (((_root.Where == "Everwood") || (_root.Where == "Glenvale")) || (_root.Where == "Elm Valley")) {
_root.eRace = "Elf";
}
} else {
RandRace = random(5);
if (RandRace == 0) {
_root.eRace = "Troll";
} else if (RandRace == 1) {
_root.eRace = "Goblin";
} else if (RandRace == 2) {
_root.eRace = "Human";
} else if (RandRace == 3) {
_root.eRace = "Dwarf";
} else {
_root.eRace = "Elf";
}
}
RandClass = random(3);
if (RandClass == 0) {
_root.eClass = "Warrior";
_root.eSkill = Empty;
} else if (RandClass == 1) {
_root.eClass = "Wizard";
_root.eSkill = Empty;
} else {
_root.eClass = "Thief";
RanSkill = random(3);
if (RanSkill == 0) {
_root.eSkill = "Sneak";
} else if (RanSkill == 1) {
_root.eSkill = "Burgle";
} else {
_root.eSkill = "Backstab";
}
}
RanSex = random(5);
if (RanSkill >= 1) {
_root.eSex = "M";
} else {
_root.eSex = "F";
}
if (_root.eClass == "Warrior") {
if (_root.eRace == "Troll") {
_root.eHead = "T. Helmet";
RandBody = random(3);
if (RandBody == 0) {
_root.eBody = "T. Leather";
} else if (RandBody == 1) {
_root.eBody = "T. Copper";
} else {
_root.eBody = "T. Iron";
}
_root.eFeet = "T. Boots";
} else if (_root.eRace == "Goblin") {
_root.eHead = "G. Helmet";
RandBody = random(3);
if (RandBody == 0) {
_root.eBody = "G. Leather";
} else if (RandBody == 1) {
_root.eBody = "G. Copper";
} else {
_root.eBody = "G. Iron";
}
_root.eFeet = "G. Boots";
} else if (_root.eRace == "Human") {
_root.eHead = "H. Helmet";
RandBody = random(3);
if (RandBody == 0) {
_root.eBody = "H. Leather";
} else if (RandBody == 1) {
_root.eBody = "H. Bronze";
} else {
_root.eBody = "H. Iron";
}
_root.eFeet = "H. Boots";
} else if (_root.eRace == "Dwarf") {
_root.eHead = "D. Helmet";
RandBody = random(3);
if (RandBody == 0) {
_root.eBody = "D. Leather";
} else if (RandBody == 1) {
_root.eBody = "D. Chainmail";
} else {
_root.eBody = "D. Iron";
}
_root.eFeet = "D. Boots";
} else if (_root.eRace == "Elf") {
_root.eHead = "E. Helmet";
RandBody = random(3);
if (RandBody == 0) {
_root.eBody = "E. Leather";
} else if (RandBody == 1) {
_root.eBody = "E. Chainmail";
} else {
_root.eBody = "E. Iron";
}
_root.eFeet = "E. Shoes";
}
} else if (_root.eClass == "Thief") {
if (_root.eRace == "Troll") {
_root.eHead = "T. Cap";
RandBody = random(2);
if (RandBody == 0) {
_root.eBody = "T. Leather";
} else if (RandBody == 1) {
_root.eBody = "T. Copper";
}
_root.eFeet = "T. Boots";
} else if (_root.eRace == "Goblin") {
_root.eHead = "G. Hood";
RandBody = random(2);
if (RandBody == 0) {
_root.eBody = "G. Leather";
} else if (RandBody == 1) {
_root.eBody = "G. Copper";
}
_root.eFeet = "G. Sandals";
} else if (_root.eRace == "Human") {
_root.eHead = "H. Cap";
RandBody = random(2);
if (RandBody == 0) {
_root.eBody = "H. Leather";
} else if (RandBody == 1) {
_root.eBody = "H. Bronze";
}
_root.eFeet = "H. Shoes";
} else if (_root.eRace == "Dwarf") {
_root.eHead = "D. Cap";
RandBody = random(2);
if (RandBody == 0) {
_root.eBody = "D. Leather";
} else if (RandBody == 1) {
_root.eBody = "D. Chainmail";
}
_root.eFeet = "D. Shoes";
} else if (_root.eRace == "Elf") {
_root.eHead = "E. Cap";
RandBody = random(2);
if (RandBody == 0) {
_root.eBody = "E. Leather";
} else if (RandBody == 1) {
_root.eBody = "E. Chainmail";
}
_root.eFeet = "E. Shoes";
}
} else if (_root.eClass == "Wizard") {
if (_root.eRace == "Troll") {
_root.eHead = "T. Pointy Hat";
_root.eBody = "T. Robe";
_root.eFeet = "T. Sandals";
} else if (_root.eRace == "Goblin") {
_root.eHead = "G. Pointy Hat";
_root.eBody = "G. Robe";
_root.eFeet = "G. Sandals";
} else if (_root.eRace == "Human") {
_root.eHead = "H. Pointy Hat";
_root.eBody = "H. Robe";
_root.eFeet = "H. Sandals";
} else if (_root.eRace == "Dwarf") {
_root.eHead = "D. Pointy Hat";
_root.eBody = "D. Robe";
_root.eFeet = "D. Sandals";
} else if (_root.eRace == "Elf") {
_root.eHead = "E. Pointy Hat";
_root.eBody = "E. Robe";
_root.eFeet = "E. Sandals";
}
}
RandRand = random(4);
if (RandRand == 0) {
RandRand = random(25);
if (RandRand == 0) {
_root.eAmulet = "Pheonix Feather";
} else if (RandRand == 1) {
_root.eAmulet = "Aura of Peace";
} else if (RandRand == 2) {
_root.eAmulet = "Aura of Chaos";
} else if (RandRand == 3) {
_root.eAmulet = "Crystal Ball";
} else if (RandRand == 4) {
_root.eAmulet = "Eye of Surtur";
} else if (RandRand == 5) {
_root.eAmulet = "Blue Cross";
} else if (RandRand == 6) {
_root.eAmulet = "Thor's Hammer";
} else if (RandRand == 7) {
_root.eAmulet = "Snowflake";
} else if (RandRand == 8) {
_root.eAmulet = "Bluegold";
} else if (RandRand == 9) {
_root.eAmulet = "Shadow Stone";
} else if (RandRand == 10) {
_root.eAmulet = "Silver Tongue";
} else if (RandRand == 11) {
_root.eAmulet = "Lion's Heart";
} else if (RandRand == 12) {
_root.eAmulet = "Star of Pain";
} else if (RandRand == 13) {
_root.eAmulet = "Olive Branch";
} else if (RandRand == 14) {
_root.eAmulet = "Bear's Paw";
} else if (RandRand == 15) {
_root.eAmulet = "Tusk";
} else if (RandRand == 16) {
_root.eAmulet = "Tiger Claw";
} else if (RandRand == 17) {
_root.eAmulet = "Arrowhead";
} else if (RandRand == 18) {
_root.eAmulet = "Turtle Shell";
} else if (RandRand == 19) {
_root.eAmulet = "Dumbbell";
} else if (RandRand == 20) {
_root.eAmulet = "Roc Wing";
} else if (RandRand == 21) {
_root.eAmulet = "Compass";
} else if (RandRand == 22) {
_root.eAmulet = "Toad Stool";
} else if (RandRand == 23) {
_root.eAmulet = "Mana Crystal";
} else if (RandRand == 24) {
_root.eAmulet = Empty;
}
} else if (RandRand == 1) {
RandRand = random(17);
if (RandRand == 0) {
_root.eHead = "T. Cap";
} else if (RandRand == 1) {
_root.eHead = "T. Helmet";
} else if (RandRand == 2) {
_root.eHead = "T. Pointy Hat";
} else if (RandRand == 3) {
_root.eHead = "G. Hood";
} else if (RandRand == 4) {
_root.eHead = "G. Helmet";
} else if (RandRand == 5) {
_root.eHead = "G. Pointy Hat";
} else if (RandRand == 6) {
_root.eHead = "H. Cap";
} else if (RandRand == 7) {
_root.eHead = "H. Helmet";
} else if (RandRand == 8) {
_root.eHead = "H. Pointy Hat";
} else if (RandRand == 9) {
_root.eHead = "D. Cap";
} else if (RandRand == 10) {
_root.eHead = "D. Helmet";
} else if (RandRand == 11) {
_root.eHead = "D. Pointy Hat";
} else if (RandRand == 12) {
_root.eHead = "E. Cap";
} else if (RandRand == 13) {
_root.eHead = "E. Helmet";
} else if (RandRand == 14) {
_root.eHead = "E. Pointy Hat";
} else if (RandRand == 15) {
_root.eHead = Empty;
} else if (RandRand == 16) {
_root.eHead = "Horned Helm";
}
} else if (RandRand == 2) {
RandRand = random(21);
if (RandRand == 0) {
_root.eBody = Empty;
} else if (RandRand == 1) {
_root.eBody = "T. Leather";
} else if (RandRand == 2) {
_root.eBody = "T. Copper";
} else if (RandRand == 3) {
_root.eBody = "T. Iron";
} else if (RandRand == 4) {
_root.eBody = "T. Robe";
} else if (RandRand == 5) {
_root.eBody = "G. Leather";
} else if (RandRand == 6) {
_root.eBody = "G. Copper";
} else if (RandRand == 7) {
_root.eBody = "G. Iron";
} else if (RandRand == 8) {
_root.eBody = "G. Robe";
} else if (RandRand == 9) {
_root.eBody = "H. Leather";
} else if (RandRand == 10) {
_root.eBody = "H. Bronze";
} else if (RandRand == 11) {
_root.eBody = "H. Iron";
} else if (RandRand == 12) {
_root.eBody = "H. Robe";
} else if (RandRand == 13) {
_root.eBody = "D. Leather";
} else if (RandRand == 14) {
_root.eBody = "D. Chainmail";
} else if (RandRand == 15) {
_root.eBody = "D. Iron";
} else if (RandRand == 16) {
_root.eBody = "D. Robe";
} else if (RandRand == 17) {
_root.eBody = "E. Leather";
} else if (RandRand == 18) {
_root.eBody = "E. Chainmail";
} else if (RandRand == 19) {
_root.eBody = "E. Iron";
} else if (RandRand == 20) {
_root.eBody = "E. Robe";
}
} else if (RandRand == 3) {
RandRand = random(14);
if (RandRand == 0) {
_root.eFeet = Empty;
} else if (RandRand == 1) {
_root.eFeet = "T. Sandals";
} else if (RandRand == 2) {
_root.eFeet = "T. Boots";
} else if (RandRand == 3) {
_root.eFeet = "G. Sandals";
} else if (RandRand == 4) {
_root.eFeet = "G. Boots";
} else if (RandRand == 5) {
_root.eFeet = "H. Sandals";
} else if (RandRand == 6) {
_root.eFeet = "H. Shoes";
} else if (RandRand == 7) {
_root.eFeet = "H. Boots";
} else if (RandRand == 8) {
_root.eFeet = "D. Sandals";
} else if (RandRand == 9) {
_root.eFeet = "D. Shoes";
} else if (RandRand == 10) {
_root.eFeet = "D. Boots";
} else if (RandRand == 11) {
_root.eFeet = "E. Sandals";
} else if (RandRand == 12) {
_root.eFeet = "E. Shoes";
} else if (RandRand == 13) {
_root.eFeet = "Steel Toe";
}
}
Symbol 1382 MovieClip Frame 29
RandRand = random(3);
if (RandRand == 0) {
play();
} else if (RandRand == 1) {
gotoAndPlay (33);
} else if (_root.eRace == "Troll") {
if ((_root.align <= -20) && (_root.align >= -80)) {
play();
} else {
gotoAndPlay (33);
}
} else if (_root.eRace == "Goblin") {
if ((_root.align <= 0) && (_root.align >= -60)) {
play();
} else {
gotoAndPlay (33);
}
} else if (_root.eRace == "Human") {
if ((_root.align <= 30) && (_root.align >= -30)) {
play();
} else {
gotoAndPlay (33);
}
} else if (_root.eRace == "Dwarf") {
if ((_root.align >= 0) && (_root.align <= 60)) {
play();
} else {
gotoAndPlay (33);
}
} else if (_root.eRace == "Elf") {
if ((_root.align >= 20) && (_root.align <= 80)) {
play();
} else {
gotoAndPlay (33);
}
}
Symbol 1382 MovieClip Frame 32
stop();
if (_root.eClass == "Thief") {
if (_root.eSkill == "Sneak") {
_root.Sneak = _root.Sneak + 1;
gain = "Sneak +1!";
} else if (_root.eSkill == "Burgle") {
_root.Burgle = _root.Burgle + 1;
gain = "Burgle +1!";
} else if (_root.eSkill == "Backstab") {
_root.Backstab = _root.Backstab + 1;
gain = "Backstab +1!";
}
} else if (_root.eRace == "Troll") {
if (_root.Align <= -50) {
_root.Align = _root.Align + 1;
gain = "You grow nicer!";
} else {
_root.Align = _root.Align - 2;
gain = "You grow more evil!";
}
} else if (_root.eRace == "Goblin") {
if (_root.Align <= -30) {
_root.Align = _root.Align + 1;
gain = "You grow nicer!";
} else {
_root.Align = _root.Align - 1;
gain = "You grow naughtier!";
}
} else if (_root.eRace == "Human") {
if (_root.Align <= 0) {
_root.Align = _root.Align + 1;
gain = "You grow nicer!";
} else {
_root.Align = _root.Align - 1;
gain = "You grow naughtier!";
}
} else if (_root.eRace == "Dwarf") {
if (_root.Align <= 30) {
_root.Align = _root.Align + 1;
gain = "You grow nicer!";
} else {
_root.Align = _root.Align - 1;
gain = "You grow naughtier!";
}
} else if (_root.eRace == "Elf") {
if (_root.Align <= 50) {
_root.Align = _root.Align + 2;
gain = "You grow more good!";
} else {
_root.Align = _root.Align - 1;
gain = "You grow naughtier!";
}
}
Symbol 1382 MovieClip Frame 38
stop();
gain = "You are ignored!";
Symbol 1382 MovieClip Frame 64
stop();
Symbol 1385 Button
on (release) {
if ((_root.Money >= price1) && (_root.Adventures >= 1)) {
_root.Money = _root.Money - price1;
_root.Berserk = _root.Berserk + 1;
_root.Adventures = _root.Adventures - 1;
_root.guildmovie._visible = true;
_root.guildmovie.gotoAndPlay(45);
gotoAndPlay (1);
}
}
Symbol 1388 Button
on (release) {
if ((_root.Money >= price2) && (_root.Adventures >= 1)) {
_root.Money = _root.Money - price2;
_root.TwoHit = _root.TwoHit + 1;
_root.Adventures = _root.Adventures - 1;
_root.guildmovie._visible = true;
_root.guildmovie.gotoAndPlay(73);
gotoAndPlay (1);
}
}
Symbol 1390 Button
on (release) {
if ((_root.Money >= price3) && (_root.Adventures >= 1)) {
_root.Money = _root.Money - price3;
_root.Parry = _root.Parry + 1;
_root.Adventures = _root.Adventures - 1;
_root.guildmovie._visible = true;
_root.guildmovie.gotoAndPlay(59);
gotoAndPlay (1);
}
}
Symbol 1393 Button
on (release) {
if ((_root.Money >= price4) && (_root.Adventures >= 1)) {
_root.Money = _root.Money - price4;
_root.Adventures = _root.Adventures - 1;
_root.guildmovie._visible = true;
_root.guildmovie.gotoAndPlay(2);
gotoAndPlay (1);
}
}
Symbol 1415 MovieClip Frame 1
if (_root.Where == "Trollburg") {
gotoAndStop (2);
} else if (_root.Where == "Goblinia") {
gotoAndStop (3);
} else if (_root.Where == "Humanton") {
gotoAndStop (4);
} else if (_root.Where == "Dwarfheim") {
gotoAndStop (5);
} else if (_root.Where == "Elfville") {
gotoAndStop (6);
} else {
stop();
}
Symbol 1415 MovieClip Frame 2
_root.discount = _root.align + 50;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
if (_root.Class == "Warrior") {
price1 = Math.round(((_root.Berserk * 100) + 100) * (1 + _root.discount));
price2 = Math.round(((_root.TwoHit * 100) + 100) * (1 + _root.discount));
price3 = Math.round(((_root.Parry * 100) + 100) * (1 + _root.discount));
price4 = Math.round(50 * (1 + _root.discount));
} else {
price1 = Math.round(((_root.Berserk * 120) + 100) * (1 + _root.discount));
price2 = Math.round(((_root.TwoHit * 120) + 100) * (1 + _root.discount));
price3 = Math.round(((_root.Parry * 120) + 100) * (1 + _root.discount));
price4 = Math.round(70 * (1 + _root.discount));
}
Symbol 1415 MovieClip Frame 3
_root.discount = _root.align + 30;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
if (_root.Class == "Warrior") {
price1 = Math.round(((_root.Berserk * 100) + 100) * (1 + _root.discount));
price2 = Math.round(((_root.TwoHit * 100) + 100) * (1 + _root.discount));
price3 = Math.round(((_root.Parry * 100) + 100) * (1 + _root.discount));
price4 = Math.round(50 * (1 + _root.discount));
} else {
price1 = Math.round(((_root.Berserk * 120) + 100) * (1 + _root.discount));
price2 = Math.round(((_root.TwoHit * 120) + 100) * (1 + _root.discount));
price3 = Math.round(((_root.Parry * 120) + 100) * (1 + _root.discount));
price4 = Math.round(70 * (1 + _root.discount));
}
Symbol 1415 MovieClip Frame 4
_root.discount = _root.align;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
if (_root.Class == "Warrior") {
price1 = Math.round(((_root.Berserk * 100) + 100) * (1 + _root.discount));
price2 = Math.round(((_root.TwoHit * 100) + 100) * (1 + _root.discount));
price3 = Math.round(((_root.Parry * 100) + 100) * (1 + _root.discount));
price4 = Math.round(50 * (1 + _root.discount));
} else {
price1 = Math.round(((_root.Berserk * 120) + 100) * (1 + _root.discount));
price2 = Math.round(((_root.TwoHit * 120) + 100) * (1 + _root.discount));
price3 = Math.round(((_root.Parry * 120) + 100) * (1 + _root.discount));
price4 = Math.round(70 * (1 + _root.discount));
}
Symbol 1415 MovieClip Frame 5
_root.discount = _root.align - 30;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
if (_root.Class == "Warrior") {
price1 = Math.round(((_root.Berserk * 100) + 100) * (1 + _root.discount));
price2 = Math.round(((_root.TwoHit * 100) + 100) * (1 + _root.discount));
price3 = Math.round(((_root.Parry * 100) + 100) * (1 + _root.discount));
price4 = Math.round(50 * (1 + _root.discount));
} else {
price1 = Math.round(((_root.Berserk * 120) + 100) * (1 + _root.discount));
price2 = Math.round(((_root.TwoHit * 120) + 100) * (1 + _root.discount));
price3 = Math.round(((_root.Parry * 120) + 100) * (1 + _root.discount));
price4 = Math.round(70 * (1 + _root.discount));
}
Symbol 1415 MovieClip Frame 6
_root.discount = _root.align - 50;
if (_root.discount > 0) {
_root.discount = _root.discount * 0.01;
} else {
_root.discount = _root.discount * -0.01;
}
if (_root.Class == "Warrior") {
price1 = Math.round(((_root.Berserk * 100) + 100) * (1 + _root.discount));
price2 = Math.round(((_root.TwoHit * 100) + 100) * (1 + _root.discount));
price3 = Math.round(((_root.Parry * 100) + 100) * (1 + _root.discount));
price4 = Math.round(50 * (1 + _root.discount));
} else {
price1 = Math.round(((_root.Berserk * 120) + 100) * (1 + _root.discount));
price2 = Math.round(((_root.TwoHit * 120) + 100) * (1 + _root.discount));
price3 = Math.round(((_root.Parry * 120) + 100) * (1 + _root.discount));
price4 = Math.round(70 * (1 + _root.discount));
}
Symbol 1418 Button
on (release) {
_root.guildmovie._visible = false;
gotoAndStop (1);
}
Symbol 1422 MovieClip Frame 1
stop();
_root.eRHand = Empty;
_root.eLHand = Empty;
_root.eAmulet = Empty;
_root.eHead = Empty;
_root.eFeet = Empty;
_root.eBody = Empty;
_root.eType = Empty;
RandRace = random(2);
if (RandRace == 0) {
if (((_root.Where == "Troma") || (_root.Where == "Grue-Thak")) || (_root.Where == "Morna")) {
_root.eRace = "Troll";
} else if (((_root.Where == "Grimdue") || (_root.Where == "Limb-Ar")) || (_root.Where == "Rimsho")) {
_root.eRace = "Goblin";
} else if (((_root.Where == "Rosefield") || (_root.Where == "Pine Rapids")) || (_root.Where == "Nortville")) {
_root.eRace = "Human";
} else if (((_root.Where == "Gemlea") || (_root.Where == "Jotunheim")) || (_root.Where == "Utgard")) {
_root.eRace = "Dwarf";
} else if (((_root.Where == "Everwood") || (_root.Where == "Glenvale")) || (_root.Where == "Elm Valley")) {
_root.eRace = "Elf";
}
} else {
RandRace = random(5);
if (RandRace == 0) {
_root.eRace = "Troll";
} else if (RandRace == 1) {
_root.eRace = "Goblin";
} else if (RandRace == 2) {
_root.eRace = "Human";
} else if (RandRace == 3) {
_root.eRace = "Dwarf";
} else {
_root.eRace = "Elf";
}
}
RandClass = random(3);
if (RandClass == 0) {
_root.eClass = "Warrior";
_root.eSkill = Empty;
} else if (RandClass == 1) {
_root.eClass = "Wizard";
_root.eSkill = Empty;
} else {
_root.eClass = "Thief";
RanSkill = random(3);
if (RanSkill == 0) {
_root.eSkill = "Sneak";
} else if (RanSkill == 1) {
_root.eSkill = "Burgle";
} else {
_root.eSkill = "Backstab";
}
}
RanSex = random(5);
if (RanSkill >= 1) {
_root.eSex = "M";
} else {
_root.eSex = "F";
}
if (_root.eClass == "Warrior") {
if (_root.eRace == "Troll") {
_root.eHead = "T. Helmet";
RandBody = random(3);
if (RandBody == 0) {
_root.eBody = "T. Leather";
} else if (RandBody == 1) {
_root.eBody = "T. Copper";
} else {
_root.eBody = "T. Iron";
}
_root.eFeet = "T. Boots";
} else if (_root.eRace == "Goblin") {
_root.eHead = "G. Helmet";
RandBody = random(3);
if (RandBody == 0) {
_root.eBody = "G. Leather";
} else if (RandBody == 1) {
_root.eBody = "G. Copper";
} else {
_root.eBody = "G. Iron";
}
_root.eFeet = "G. Boots";
} else if (_root.eRace == "Human") {
_root.eHead = "H. Helmet";
RandBody = random(3);
if (RandBody == 0) {
_root.eBody = "H. Leather";
} else if (RandBody == 1) {
_root.eBody = "H. Bronze";
} else {
_root.eBody = "H. Iron";
}
_root.eFeet = "H. Boots";
} else if (_root.eRace == "Dwarf") {
_root.eHead = "D. Helmet";
RandBody = random(3);
if (RandBody == 0) {
_root.eBody = "D. Leather";
} else if (RandBody == 1) {
_root.eBody = "D. Chainmail";
} else {
_root.eBody = "D. Iron";
}
_root.eFeet = "D. Boots";
} else if (_root.eRace == "Elf") {
_root.eHead = "E. Helmet";
RandBody = random(3);
if (RandBody == 0) {
_root.eBody = "E. Leather";
} else if (RandBody == 1) {
_root.eBody = "E. Chainmail";
} else {
_root.eBody = "E. Iron";
}
_root.eFeet = "E. Shoes";
}
} else if (_root.eClass == "Thief") {
if (_root.eRace == "Troll") {
_root.eHead = "T. Cap";
RandBody = random(2);
if (RandBody == 0) {
_root.eBody = "T. Leather";
} else if (RandBody == 1) {
_root.eBody = "T. Copper";
}
_root.eFeet = "T. Boots";
} else if (_root.eRace == "Goblin") {
_root.eHead = "G. Hood";
RandBody = random(2);
if (RandBody == 0) {
_root.eBody = "G. Leather";
} else if (RandBody == 1) {
_root.eBody = "G. Copper";
}
_root.eFeet = "G. Sandals";
} else if (_root.eRace == "Human") {
_root.eHead = "H. Cap";
RandBody = random(2);
if (RandBody == 0) {
_root.eBody = "H. Leather";
} else if (RandBody == 1) {
_root.eBody = "H. Bronze";
}
_root.eFeet = "H. Shoes";
} else if (_root.eRace == "Dwarf") {
_root.eHead = "D. Cap";
RandBody = random(2);
if (RandBody == 0) {
_root.eBody = "D. Leather";
} else if (RandBody == 1) {
_root.eBody = "D. Chainmail";
}
_root.eFeet = "D. Shoes";
} else if (_root.eRace == "Elf") {
_root.eHead = "E. Cap";
RandBody = random(2);
if (RandBody == 0) {
_root.eBody = "E. Leather";
} else if (RandBody == 1) {
_root.eBody = "E. Chainmail";
}
_root.eFeet = "E. Shoes";
}
} else if (_root.eClass == "Wizard") {
if (_root.eRace == "Troll") {
_root.eHead = "T. Pointy Hat";
_root.eBody = "T. Robe";
_root.eFeet = "T. Sandals";
} else if (_root.eRace == "Goblin") {
_root.eHead = "G. Pointy Hat";
_root.eBody = "G. Robe";
_root.eFeet = "G. Sandals";
} else if (_root.eRace == "Human") {
_root.eHead = "H. Pointy Hat";
_root.eBody = "H. Robe";
_root.eFeet = "H. Sandals";
} else if (_root.eRace == "Dwarf") {
_root.eHead = "D. Pointy Hat";
_root.eBody = "D. Robe";
_root.eFeet = "D. Sandals";
} else if (_root.eRace == "Elf") {
_root.eHead = "E. Pointy Hat";
_root.eBody = "E. Robe";
_root.eFeet = "E. Sandals";
}
}
RandRand = random(4);
if (RandRand == 0) {
RandRand = random(25);
if (RandRand == 0) {
_root.eAmulet = "Pheonix Feather";
} else if (RandRand == 1) {
_root.eAmulet = "Aura of Peace";
} else if (RandRand == 2) {
_root.eAmulet = "Aura of Chaos";
} else if (RandRand == 3) {
_root.eAmulet = "Crystal Ball";
} else if (RandRand == 4) {
_root.eAmulet = "Eye of Surtur";
} else if (RandRand == 5) {
_root.eAmulet = "Blue Cross";
} else if (RandRand == 6) {
_root.eAmulet = "Thor's Hammer";
} else if (RandRand == 7) {
_root.eAmulet = "Snowflake";
} else if (RandRand == 8) {
_root.eAmulet = "Bluegold";
} else if (RandRand == 9) {
_root.eAmulet = "Shadow Stone";
} else if (RandRand == 10) {
_root.eAmulet = "Silver Tongue";
} else if (RandRand == 11) {
_root.eAmulet = "Lion's Heart";
} else if (RandRand == 12) {
_root.eAmulet = "Star of Pain";
} else if (RandRand == 13) {
_root.eAmulet = "Olive Branch";
} else if (RandRand == 14) {
_root.eAmulet = "Bear's Paw";
} else if (RandRand == 15) {
_root.eAmulet = "Tusk";
} else if (RandRand == 16) {
_root.eAmulet = "Tiger Claw";
} else if (RandRand == 17) {
_root.eAmulet = "Arrowhead";
} else if (RandRand == 18) {
_root.eAmulet = "Turtle Shell";
} else if (RandRand == 19) {
_root.eAmulet = "Dumbbell";
} else if (RandRand == 20) {
_root.eAmulet = "Roc Wing";
} else if (RandRand == 21) {
_root.eAmulet = "Compass";
} else if (RandRand == 22) {
_root.eAmulet = "Toad Stool";
} else if (RandRand == 23) {
_root.eAmulet = "Mana Crystal";
} else if (RandRand == 24) {
_root.eAmulet = Empty;
}
} else if (RandRand == 1) {
RandRand = random(17);
if (RandRand == 0) {
_root.eHead = "T. Cap";
} else if (RandRand == 1) {
_root.eHead = "T. Helmet";
} else if (RandRand == 2) {
_root.eHead = "T. Pointy Hat";
} else if (RandRand == 3) {
_root.eHead = "G. Hood";
} else if (RandRand == 4) {
_root.eHead = "G. Helmet";
} else if (RandRand == 5) {
_root.eHead = "G. Pointy Hat";
} else if (RandRand == 6) {
_root.eHead = "H. Cap";
} else if (RandRand == 7) {
_root.eHead = "H. Helmet";
} else if (RandRand == 8) {
_root.eHead = "H. Pointy Hat";
} else if (RandRand == 9) {
_root.eHead = "D. Cap";
} else if (RandRand == 10) {
_root.eHead = "D. Helmet";
} else if (RandRand == 11) {
_root.eHead = "D. Pointy Hat";
} else if (RandRand == 12) {
_root.eHead = "E. Cap";
} else if (RandRand == 13) {
_root.eHead = "E. Helmet";
} else if (RandRand == 14) {
_root.eHead = "E. Pointy Hat";
} else if (RandRand == 15) {
_root.eHead = Empty;
} else if (RandRand == 16) {
_root.eHead = "Horned Helm";
}
} else if (RandRand == 2) {
RandRand = random(21);
if (RandRand == 0) {
_root.eBody = Empty;
} else if (RandRand == 1) {
_root.eBody = "T. Leather";
} else if (RandRand == 2) {
_root.eBody = "T. Copper";
} else if (RandRand == 3) {
_root.eBody = "T. Iron";
} else if (RandRand == 4) {
_root.eBody = "T. Robe";
} else if (RandRand == 5) {
_root.eBody = "G. Leather";
} else if (RandRand == 6) {
_root.eBody = "G. Copper";
} else if (RandRand == 7) {
_root.eBody = "G. Iron";
} else if (RandRand == 8) {
_root.eBody = "G. Robe";
} else if (RandRand == 9) {
_root.eBody = "H. Leather";
} else if (RandRand == 10) {
_root.eBody = "H. Bronze";
} else if (RandRand == 11) {
_root.eBody = "H. Iron";
} else if (RandRand == 12) {
_root.eBody = "H. Robe";
} else if (RandRand == 13) {
_root.eBody = "D. Leather";
} else if (RandRand == 14) {
_root.eBody = "D. Chainmail";
} else if (RandRand == 15) {
_root.eBody = "D. Iron";
} else if (RandRand == 16) {
_root.eBody = "D. Robe";
} else if (RandRand == 17) {
_root.eBody = "E. Leather";
} else if (RandRand == 18) {
_root.eBody = "E. Chainmail";
} else if (RandRand == 19) {
_root.eBody = "E. Iron";
} else if (RandRand == 20) {
_root.eBody = "E. Robe";
}
} else if (RandRand == 3) {
RandRand = random(14);
if (RandRand == 0) {
_root.eFeet = Empty;
} else if (RandRand == 1) {
_root.eFeet = "T. Sandals";
} else if (RandRand == 2) {
_root.eFeet = "T. Boots";
} else if (RandRand == 3) {
_root.eFeet = "G. Sandals";
} else if (RandRand == 4) {
_root.eFeet = "G. Boots";
} else if (RandRand == 5) {
_root.eFeet = "H. Sandals";
} else if (RandRand == 6) {
_root.eFeet = "H. Shoes";
} else if (RandRand == 7) {
_root.eFeet = "H. Boots";
} else if (RandRand == 8) {
_root.eFeet = "D. Sandals";
} else if (RandRand == 9) {
_root.eFeet = "D. Shoes";
} else if (RandRand == 10) {
_root.eFeet = "D. Boots";
} else if (RandRand == 11) {
_root.eFeet = "E. Sandals";
} else if (RandRand == 12) {
_root.eFeet = "E. Shoes";
} else if (RandRand == 13) {
_root.eFeet = "Steel Toe";
}
}
Symbol 1422 MovieClip Frame 23
RandRand = random(4);
if (RandRand == 0) {
if (_root.WeaponType == "Stab") {
_root.Stab = _root.Stab + 1;
gain = "Stab +1!";
} else if (_root.WeaponType == "Stave") {
_root.Stave = _root.Stave + 1;
gain = "Stave +1!";
} else if (_root.WeaponType == "Maul") {
_root.Maul = _root.Maul + 1;
gain = "Maul +1!";
} else if (_root.WeaponType == "Slash") {
_root.Slash = _root.Slash + 1;
gain = "Slash +1!";
} else {
_root.Block = _root.Block + 1;
gain = "Block +1!";
}
} else if (RandRand == 1) {
RandRand = random(6);
if (RandRand == 0) {
_root.Stab = _root.Stab + 1;
gain = "Stab +1!";
} else if (RandRand == 1) {
_root.Stave = _root.Stave + 1;
gain = "Stave +1!";
} else if (RandRand == 2) {
_root.Maul = _root.Maul + 1;
gain = "Maul +1!";
} else if (RandRand == 3) {
_root.Slash = _root.Slash + 1;
gain = "Slash +1!";
} else {
_root.Block = _root.Block + 1;
gain = "Block +1!";
}
} else if (RandRand == 2) {
_root.FullHP = _root.FullHP + 1;
gain = "HP +1!";
} else {
gotoAndPlay (34);
}
Symbol 1422 MovieClip Frame 33
stop();
Symbol 1422 MovieClip Frame 44
stop();
Symbol 1422 MovieClip Frame 58
gain = "Berserk +1!";
stop();
Symbol 1422 MovieClip Frame 72
gain = "Parry +1!";
stop();
Symbol 1422 MovieClip Frame 86
gain = "Two Hits +1!";
stop();
Symbol 1423 Button
on (release) {
gotoAndPlay (14);
}
Symbol 1424 Button
on (release) {
gotoAndStop (1);
}
Symbol 1444 MovieClip Frame 2
_root.Vertical = "NoUp";
_root.Horizontal = "NoLeft";
_root.SectionSkill = 1;
_root.Where = "Swamp";
Symbol 1444 MovieClip Frame 3
_root.Vertical = "NoUp";
_root.Horizontal = "";
_root.SectionSkill = 2;
_root.Where = "River";
Symbol 1444 MovieClip Frame 4
_root.Horizontal = "NoRight";
_root.Vertical = "NoUp";
_root.SectionSkill = 3;
_root.Where = "River";
Symbol 1444 MovieClip Frame 6
_root.Horizontal = "NoLeft";
_root.Vertical = "";
_root.SectionSkill = 2;
_root.Where = "Swamp";
Symbol 1444 MovieClip Frame 7
_root.Horizontal = "";
_root.Vertical = "";
_root.SectionSkill = 2;
_root.Where = "River";
Symbol 1444 MovieClip Frame 8
_root.Horizontal = "NoRight";
_root.Vertical = "";
_root.SectionSkill = 2;
_root.Where = "Forest";
Symbol 1444 MovieClip Frame 10
_root.Horizontal = "NoLeft";
_root.Vertical = "NoDown";
_root.SectionSkill = 1;
_root.Where = "Fields";
Symbol 1444 MovieClip Frame 11
_root.Vertical = "NoDown";
_root.Horizontal = "";
_root.Where = "Fields";
_root.SectionSkill = 2;
Symbol 1444 MovieClip Frame 12
_root.Horizontal = "NoRight";
_root.Vertical = "NoDown";
_root.Where = "Forest";
_root.SectionSkill = 1;
Symbol 1444 MovieClip Frame 13
Symbol 1445 Button
on (press) {
_root.inventory._visible = true;
_root.campbutton._visible = false;
_root.battlebutton._visible = false;
_root.places.townbutton._visible = false;
}
Symbol 1446 Button
on (release) {
_root.gotoAndStop(3);
}
Symbol 1447 MovieClip Frame 1
if ((_root.Why == -1) && (_root.Exe == -1)) {
gotoAndStop (2);
} else if ((_root.Why == 1) && (_root.Exe == -1)) {
gotoAndStop (3);
} else if ((_root.Why == 0) && (_root.Exe == -1)) {
gotoAndStop (4);
} else if ((_root.Why == 0) && (_root.Exe == 1)) {
gotoAndStop (5);
} else if ((_root.Why == -1) && (_root.Exe == 1)) {
gotoAndStop (6);
}
Symbol 1448 Button
on (release) {
if (_root.Adventures >= 1) {
_root.Adventures = _root.Adventures - 1;
_root.gotoAndPlay(13);
}
}
Symbol 1451 MovieClip Frame 1
if (_root.Where == "Under") {
gotoAndStop (2);
} else {
stop();
}
Symbol 1452 MovieClip Frame 1
_root.Place = "None";
Symbol 1452 MovieClip Frame 2
_root.townbutton._visible = true;
Symbol 1453 Button
on (release) {
if (_root.Horizontal == "NoRight") {
} else if (_root.Speed >= 10) {
if (_root.Adventures >= 1) {
RandRand = random(5);
if (RandRand < _root.SectionSkill) {
_root.Adventures = _root.Adventures - 1;
gotoAndPlay (10);
} else {
_root.Adventures = _root.Adventures - 1;
_root.exe = _root.exe + 1;
if (_root.MP < _root.FullMP) {
_root.MP = _root.MP + ((((_root.Fireball + _root.Heal) + _root.Thunder) + _root.Ice) + _root.MShield);
if (_root.MP > _root.FullMP) {
_root.MP = _root.FullMP;
}
}
}
}
} else if (_root.Adventures >= (10 - (1 * Speed))) {
RandRand = random(5);
if (RandRand < _root.SectionSkill) {
_root.Adventures = _root.Adventures - 1;
gotoAndPlay (10);
} else {
_root.Adventures = _root.Adventures - (10 - (1 * Speed));
_root.exe = _root.exe + 1;
if (_root.MP < _root.FullMP) {
_root.MP = _root.MP + ((((_root.Fireball + _root.Heal) + _root.Thunder) + _root.Ice) + _root.MShield);
if (_root.MP > _root.FullMP) {
_root.MP = _root.FullMP;
}
}
}
}
}
Symbol 1454 Button
on (release) {
if (_root.Horizontal == "NoLeft") {
} else if (_root.Speed >= 10) {
if (_root.Adventures >= 1) {
RandRand = random(5);
if (RandRand < _root.SectionSkill) {
_root.Adventures = _root.Adventures - 1;
gotoAndPlay (10);
} else {
_root.Adventures = _root.Adventures - 1;
_root.exe = _root.exe - 1;
if (_root.MP < _root.FullMP) {
_root.MP = _root.MP + ((((_root.Fireball + _root.Heal) + _root.Thunder) + _root.Ice) + _root.MShield);
if (_root.MP > _root.FullMP) {
_root.MP = _root.FullMP;
}
}
}
}
} else if (_root.Adventures >= (10 - (1 * Speed))) {
RandRand = random(5);
if (RandRand < _root.SectionSkill) {
_root.Adventures = _root.Adventures - 1;
gotoAndPlay (10);
} else {
_root.Adventures = _root.Adventures - (10 - (1 * Speed));
_root.exe = _root.exe - 1;
if (_root.MP < _root.FullMP) {
_root.MP = _root.MP + ((((_root.Fireball + _root.Heal) + _root.Thunder) + _root.Ice) + _root.MShield);
if (_root.MP > _root.FullMP) {
_root.MP = _root.FullMP;
}
}
}
}
}
Symbol 1455 Button
on (release) {
if (_root.Vertical == "NoDown") {
} else if (_root.Speed >= 10) {
if (_root.Adventures >= 1) {
RandRand = random(5);
if (RandRand < _root.SectionSkill) {
_root.Adventures = _root.Adventures - 1;
gotoAndPlay (10);
} else {
_root.Adventures = _root.Adventures - 1;
_root.why = _root.why - 1;
if (_root.MP < _root.FullMP) {
_root.MP = _root.MP + ((((_root.Fireball + _root.Heal) + _root.Thunder) + _root.Ice) + _root.MShield);
if (_root.MP > _root.FullMP) {
_root.MP = _root.FullMP;
}
}
}
}
} else if (_root.Adventures >= (10 - (1 * Speed))) {
RandRand = random(5);
if (RandRand < _root.SectionSkill) {
_root.Adventures = _root.Adventures - 1;
gotoAndPlay (10);
} else {
_root.Adventures = _root.Adventures - (10 - (1 * Speed));
_root.why = _root.why - 1;
if (_root.MP < _root.FullMP) {
_root.MP = _root.MP + ((((_root.Fireball + _root.Heal) + _root.Thunder) + _root.Ice) + _root.MShield);
if (_root.MP > _root.FullMP) {
_root.MP = _root.FullMP;
}
}
}
}
}
Symbol 1456 Button
on (release) {
if (_root.Vertical == "NoUp") {
} else if (_root.Speed >= 10) {
if (_root.Adventures >= 1) {
RandRand = random(5);
if (RandRand < _root.SectionSkill) {
_root.Adventures = _root.Adventures - 1;
gotoAndPlay (10);
} else {
_root.Adventures = _root.Adventures - 1;
_root.why = _root.why + 1;
if (_root.MP < _root.FullMP) {
_root.MP = _root.MP + ((((_root.Fireball + _root.Heal) + _root.Thunder) + _root.Ice) + _root.MShield);
if (_root.MP > _root.FullMP) {
_root.MP = _root.FullMP;
}
}
}
}
} else if (_root.Adventures >= (10 - (1 * Speed))) {
RandRand = random(5);
if (RandRand < _root.SectionSkill) {
_root.Adventures = _root.Adventures - 1;
gotoAndPlay (10);
} else {
_root.Adventures = _root.Adventures - (10 - (1 * Speed));
_root.why = _root.why + 1;
if (_root.MP < _root.FullMP) {
_root.MP = _root.MP + ((((_root.Fireball + _root.Heal) + _root.Thunder) + _root.Ice) + _root.MShield);
if (_root.MP > _root.FullMP) {
_root.MP = _root.FullMP;
}
}
}
}
}
Symbol 1457 Button
on (release) {
_root.campingmovie._visible = true;
_root.campingmovie.gotoAndPlay(2);
}
Symbol 1458 Button
on (release) {
if (_root.Adventures >= 1) {
_root.Adventures = _root.Adventures - 1;
gotoAndStop (10);
}
}
Symbol 1474 MovieClip Frame 1
play();
Symbol 1474 MovieClip Frame 17
gotoAndPlay (1);
Symbol 1476 Button
on (release) {
_root.campingmovie._visible = false;
}
Symbol 1480 MovieClip Frame 1
stop();
Symbol 1480 MovieClip Frame 2
if ((_root.Slot1 == "Sleeping Bag") && (_root.Slot1a >= 1)) {
sleepingbag._visible = true;
_root.Slot1a = _root.Slot1a - 1;
} else if ((_root.Slot2 == "Sleeping Bag") && (_root.Slot2a >= 1)) {
sleepingbag._visible = true;
_root.Slot2a = _root.Slot2a - 1;
} else if ((_root.Slot3 == "Sleeping Bag") && (_root.Slot3a >= 1)) {
sleepingbag._visible = true;
_root.Slot3a = _root.Slot3a - 1;
} else if ((_root.Slot4 == "Sleeping Bag") && (_root.Slot4a >= 1)) {
sleepingbag._visible = true;
_root.Slot4a = _root.Slot4a - 1;
} else if ((_root.Slot5 == "Sleeping Bag") && (_root.Slot5a >= 1)) {
sleepingbag._visible = true;
_root.Slot5a = _root.Slot5a - 1;
} else if ((_root.Slot6 == "Sleeping Bag") && (_root.Slot6a >= 1)) {
sleepingbag._visible = true;
_root.Slot6a = _root.Slot6a - 1;
} else if ((_root.Slot7 == "Sleeping Bag") && (_root.Slot7a >= 1)) {
sleepingbag._visible = true;
_root.Slot7a = _root.Slot7a - 1;
} else if ((_root.Slot8 == "Sleeping Bag") && (_root.Slot8a >= 1)) {
sleepingbag._visible = true;
_root.Slot8a = _root.Slot8a - 1;
} else if ((_root.Slot9 == "Sleeping Bag") && (_root.Slot9a >= 1)) {
sleepingbag._visible = true;
_root.Slot9a = _root.Slot9a - 1;
} else if ((_root.Slot0 == "Sleeping Bag") && (_root.Slot0a >= 1)) {
sleepingbag._visible = true;
_root.Slot0a = _root.Slot0a - 1;
} else {
sleepingbag._visible = false;
}
if ((_root.Slot1 == "Tent") && (_root.Slot1a >= 1)) {
Tentfront._visible = true;
_root.Slot1a = _root.Slot1a - 1;
} else if ((_root.slot2 == "Tent") && (_root.slot2a >= 1)) {
Tentfront._visible = true;
_root.Slot2a = _root.Slot2a - 1;
} else if ((_root.slot3 == "Tent") && (_root.slot3a >= 1)) {
tentfront._visible = true;
_root.Slot3a = _root.Slot3a - 1;
} else if ((_root.slot4 == "Tent") && (_root.slot4a >= 1)) {
tentfront._visible = true;
_root.Slot4a = _root.Slot4a - 1;
} else if ((_root.slot5 == "Tent") && (_root.slot5a >= 1)) {
tentfront._visible = true;
_root.Slot5a = _root.Slot5a - 1;
} else if ((_root.slot6 == "Tent") && (_root.slot6a >= 1)) {
tentfront._visible = true;
_root.Slot6a = _root.Slot6a - 1;
} else if ((_root.slot7 == "Tent") && (_root.slot7a >= 1)) {
tentfront._visible = true;
_root.Slot7a = _root.Slot7a - 1;
} else if ((_root.slot8 == "Tent") && (_root.slot8a >= 1)) {
tentfront._visible = true;
_root.Slot8a = _root.Slot8a - 1;
} else if ((_root.slot9 == "Tent") && (_root.slot9a >= 1)) {
tentfront._visible = true;
_root.Slot9a = _root.Slot9a - 1;
} else if ((_root.slot0 == "Tent") && (_root.slot0a >= 1)) {
tentfront._visible = true;
_root.Slot0a = _root.Slot0a - 1;
} else {
tentfront._visible = false;
}
if (tentfront._visible == true) {
tentback._visible = true;
} else {
tentback._visible = false;
}
if ((_root.Slot1 == "Matches") && (_root.Slot1a >= 1)) {
fire._visible = true;
_root.Slot1a = _root.Slot1a - 1;
} else if ((_root.slot2 == "Matches") && (_root.slot2a >= 1)) {
fire._visible = true;
_root.Slot2a = _root.Slot2a - 1;
} else if ((_root.slot3 == "Matches") && (_root.slot3a >= 1)) {
fire._visible = true;
_root.Slot3a = _root.Slot3a - 1;
} else if ((_root.slot4 == "Matches") && (_root.slot4a >= 1)) {
fire._visible = true;
_root.Slot4a = _root.Slot4a - 1;
} else if ((_root.slot5 == "Matches") && (_root.slot5a >= 1)) {
fire._visible = true;
_root.Slot5a = _root.Slot5a - 1;
} else if ((_root.slot6 == "Matches") && (_root.slot6a >= 1)) {
fire._visible = true;
_root.Slot6a = _root.Slot6a - 1;
} else if ((_root.slot7 == "Matches") && (_root.slot7a >= 1)) {
fire._visible = true;
_root.Slot7a = _root.Slot7a - 1;
} else if ((_root.slot8 == "Matches") && (_root.slot8a >= 1)) {
fire._visible = true;
_root.Slot8a = _root.Slot8a - 1;
} else if ((_root.slot9 == "Matches") && (_root.slot9a >= 1)) {
fire._visible = true;
_root.Slot9a = _root.Slot9a - 1;
} else if ((_root.slot0 == "Matches") && (_root.slot0a >= 1)) {
fire._visible = true;
_root.Slot0a = _root.Slot0a - 1;
} else {
fire._visible = false;
}
_root.eRHand = Empty;
_root.eLHand = Empty;
_root.eAmulet = Empty;
_root.eHead = Empty;
_root.eFeet = Empty;
_root.eBody = Empty;
_root.eType = Empty;
RandRace = random(2);
if (RandRace == 0) {
if (((_root.Where == "Troma") || (_root.Where == "Grue-Thak")) || (_root.Where == "Morna")) {
_root.eRace = "Troll";
} else if (((_root.Where == "Grimdue") || (_root.Where == "Limb-Ar")) || (_root.Where == "Rimsho")) {
_root.eRace = "Goblin";
} else if (((_root.Where == "Rosefield") || (_root.Where == "Pine Rapids")) || (_root.Where == "Nortville")) {
_root.eRace = "Human";
} else if (((_root.Where == "Gemlea") || (_root.Where == "Jotunheim")) || (_root.Where == "Utgard")) {
_root.eRace = "Dwarf";
} else if (((_root.Where == "Everwood") || (_root.Where == "Glenvale")) || (_root.Where == "Elm Valley")) {
_root.eRace = "Elf";
}
} else {
RandRace = random(5);
if (RandRace == 0) {
_root.eRace = "Troll";
} else if (RandRace == 1) {
_root.eRace = "Goblin";
} else if (RandRace == 2) {
_root.eRace = "Human";
} else if (RandRace == 3) {
_root.eRace = "Dwarf";
} else {
_root.eRace = "Elf";
}
}
RandClass = random(3);
if (RandClass == 0) {
_root.eClass = "Warrior";
_root.eSkill = Empty;
} else if (RandClass == 1) {
_root.eClass = "Wizard";
_root.eSkill = Empty;
} else {
_root.eClass = "Thief";
RanSkill = random(3);
if (RanSkill == 0) {
_root.eSkill = "Sneak";
} else if (RanSkill == 1) {
_root.eSkill = "Burgle";
} else {
_root.eSkill = "Backstab";
}
}
RanSex = random(5);
if (RanSkill >= 1) {
_root.eSex = "M";
} else {
_root.eSex = "F";
}
if (_root.eClass == "Warrior") {
if (_root.eRace == "Troll") {
_root.eHead = "T. Helmet";
RandBody = random(3);
if (RandBody == 0) {
_root.eBody = "T. Leather";
} else if (RandBody == 1) {
_root.eBody = "T. Copper";
} else {
_root.eBody = "T. Iron";
}
_root.eFeet = "T. Boots";
} else if (_root.eRace == "Goblin") {
_root.eHead = "G. Helmet";
RandBody = random(3);
if (RandBody == 0) {
_root.eBody = "G. Leather";
} else if (RandBody == 1) {
_root.eBody = "G. Copper";
} else {
_root.eBody = "G. Iron";
}
_root.eFeet = "G. Boots";
} else if (_root.eRace == "Human") {
_root.eHead = "H. Helmet";
RandBody = random(3);
if (RandBody == 0) {
_root.eBody = "H. Leather";
} else if (RandBody == 1) {
_root.eBody = "H. Bronze";
} else {
_root.eBody = "H. Iron";
}
_root.eFeet = "H. Boots";
} else if (_root.eRace == "Dwarf") {
_root.eHead = "D. Helmet";
RandBody = random(3);
if (RandBody == 0) {
_root.eBody = "D. Leather";
} else {
_root.eBody = "D. Iron";
}
_root.eFeet = "D. Boots";
} else if (_root.eRace == "Elf") {
_root.eHead = "E. Helmet";
RandBody = random(3);
if (RandBody == 0) {
_root.eBody = "E. Leather";
} else {
_root.eBody = "E. Iron";
}
_root.eFeet = "E. Shoes";
}
} else if (_root.eClass == "Thief") {
if (_root.eRace == "Troll") {
_root.eHead = "T. Cap";
RandBody = random(2);
if (RandBody == 0) {
_root.eBody = "T. Leather";
} else if (RandBody == 1) {
_root.eBody = "T. Copper";
}
_root.eFeet = "T. Boots";
} else if (_root.eRace == "Goblin") {
_root.eHead = "G. Hood";
RandBody = random(2);
if (RandBody == 0) {
_root.eBody = "G. Leather";
} else if (RandBody == 1) {
_root.eBody = "G. Copper";
}
_root.eFeet = "G. Sandals";
} else if (_root.eRace == "Human") {
_root.eHead = "H. Cap";
RandBody = random(2);
if (RandBody == 0) {
_root.eBody = "H. Leather";
} else if (RandBody == 1) {
_root.eBody = "H. Bronze";
}
_root.eFeet = "H. Shoes";
} else if (_root.eRace == "Dwarf") {
_root.eHead = "D. Cap";
_root.eBody = "D. Leather";
_root.eFeet = "D. Shoes";
} else if (_root.eRace == "Elf") {
_root.eHead = "E. Cap";
_root.eBody = "E. Leather";
_root.eFeet = "E. Shoes";
}
} else if (_root.eClass == "Wizard") {
if (_root.eRace == "Troll") {
_root.eHead = "T. Pointy Hat";
_root.eBody = "T. Robe";
_root.eFeet = "T. Sandals";
} else if (_root.eRace == "Goblin") {
_root.eHead = "G. Pointy Hat";
_root.eBody = "G. Robe";
_root.eFeet = "G. Sandals";
} else if (_root.eRace == "Human") {
_root.eHead = "H. Pointy Hat";
_root.eBody = "H. Robe";
_root.eFeet = "H. Sandals";
} else if (_root.eRace == "Dwarf") {
_root.eHead = "D. Pointy Hat";
_root.eBody = "D. Robe";
_root.eFeet = "D. Sandals";
} else if (_root.eRace == "Elf") {
_root.eHead = "E. Pointy Hat";
_root.eBody = "E. Robe";
_root.eFeet = "E. Sandals";
}
}
RandRand = random(4);
if (RandRand == 0) {
RandRand = random(25);
if (RandRand == 0) {
_root.eAmulet = "Pheonix Feather";
} else if (RandRand == 1) {
_root.eAmulet = "Aura of Peace";
} else if (RandRand == 2) {
_root.eAmulet = "Aura of Chaos";
} else if (RandRand == 3) {
_root.eAmulet = "Crystal Ball";
} else if (RandRand == 4) {
_root.eAmulet = "Eye of Surtur";
} else if (RandRand == 5) {
_root.eAmulet = "Blue Cross";
} else if (RandRand == 6) {
_root.eAmulet = "Thor's Hammer";
} else if (RandRand == 7) {
_root.eAmulet = "Snowflake";
} else if (RandRand == 8) {
_root.eAmulet = "Bluegold";
} else if (RandRand == 9) {
_root.eAmulet = "Shadow Stone";
} else if (RandRand == 10) {
_root.eAmulet = "Silver Tongue";
} else if (RandRand == 11) {
_root.eAmulet = "Lion's Heart";
} else if (RandRand == 12) {
_root.eAmulet = "Star of Pain";
} else if (RandRand == 13) {
_root.eAmulet = "Olive Branch";
} else if (RandRand == 14) {
_root.eAmulet = "Bear's Paw";
} else if (RandRand == 15) {
_root.eAmulet = "Tusk";
} else if (RandRand == 16) {
_root.eAmulet = "Tiger Claw";
} else if (RandRand == 17) {
_root.eAmulet = "Arrowhead";
} else if (RandRand == 18) {
_root.eAmulet = "Turtle Shell";
} else if (RandRand == 19) {
_root.eAmulet = "Dumbbell";
} else if (RandRand == 20) {
_root.eAmulet = "Roc Wing";
} else if (RandRand == 21) {
_root.eAmulet = "Compass";
} else if (RandRand == 22) {
_root.eAmulet = "Toad Stool";
} else if (RandRand == 23) {
_root.eAmulet = "Mana Crystal";
} else if (RandRand == 24) {
_root.eAmulet = Empty;
}
} else if (RandRand == 1) {
RandRand = random(17);
if (RandRand == 0) {
_root.eHead = "T. Cap";
} else if (RandRand == 1) {
_root.eHead = "T. Helmet";
} else if (RandRand == 2) {
_root.eHead = "T. Pointy Hat";
} else if (RandRand == 3) {
_root.eHead = "G. Hood";
} else if (RandRand == 4) {
_root.eHead = "G. Helmet";
} else if (RandRand == 5) {
_root.eHead = "G. Pointy Hat";
} else if (RandRand == 6) {
_root.eHead = "H. Cap";
} else if (RandRand == 7) {
_root.eHead = "H. Helmet";
} else if (RandRand == 8) {
_root.eHead = "H. Pointy Hat";
} else if (RandRand == 9) {
_root.eHead = "D. Cap";
} else if (RandRand == 10) {
_root.eHead = "D. Helmet";
} else if (RandRand == 11) {
_root.eHead = "D. Pointy Hat";
} else if (RandRand == 12) {
_root.eHead = "E. Cap";
} else if (RandRand == 13) {
_root.eHead = "E. Helmet";
} else if (RandRand == 14) {
_root.eHead = "E. Pointy Hat";
} else if (RandRand == 15) {
_root.eHead = Empty;
} else if (RandRand == 16) {
_root.eHead = "Horned Helm";
}
} else if (RandRand == 2) {
RandRand = random(21);
if (RandRand == 0) {
_root.eBody = Empty;
} else if (RandRand == 1) {
_root.eBody = "T. Leather";
} else if (RandRand == 2) {
_root.eBody = "T. Copper";
} else if (RandRand == 3) {
_root.eBody = "T. Iron";
} else if (RandRand == 4) {
_root.eBody = "T. Robe";
} else if (RandRand == 5) {
_root.eBody = "G. Leather";
} else if (RandRand == 6) {
_root.eBody = "G. Copper";
} else if (RandRand == 7) {
_root.eBody = "G. Iron";
} else if (RandRand == 8) {
_root.eBody = "G. Robe";
} else if (RandRand == 9) {
_root.eBody = "H. Leather";
} else if (RandRand == 10) {
_root.eBody = "H. Bronze";
} else if (RandRand == 11) {
_root.eBody = "H. Iron";
} else if (RandRand == 12) {
_root.eBody = "H. Robe";
} else if (RandRand == 13) {
_root.eBody = "D. Leather";
} else if (RandRand == 15) {
_root.eBody = "D. Iron";
} else if (RandRand == 16) {
_root.eBody = "D. Robe";
} else if (RandRand == 17) {
_root.eBody = "E. Leather";
} else if (RandRand == 19) {
_root.eBody = "E. Iron";
} else {
_root.eBody = "E. Robe";
}
} else if (RandRand == 3) {
RandRand = random(14);
if (RandRand == 0) {
_root.eFeet = Empty;
} else if (RandRand == 1) {
_root.eFeet = "T. Sandals";
} else if (RandRand == 2) {
_root.eFeet = "T. Boots";
} else if (RandRand == 3) {
_root.eFeet = "G. Sandals";
} else if (RandRand == 4) {
_root.eFeet = "G. Boots";
} else if (RandRand == 5) {
_root.eFeet = "H. Sandals";
} else if (RandRand == 6) {
_root.eFeet = "H. Shoes";
} else if (RandRand == 7) {
_root.eFeet = "H. Boots";
} else if (RandRand == 8) {
_root.eFeet = "D. Sandals";
} else if (RandRand == 9) {
_root.eFeet = "D. Shoes";
} else if (RandRand == 10) {
_root.eFeet = "D. Boots";
} else if (RandRand == 11) {
_root.eFeet = "E. Sandals";
} else if (RandRand == 12) {
_root.eFeet = "E. Shoes";
} else if (RandRand == 13) {
_root.eFeet = "Steel Toe";
}
}
Symbol 1480 MovieClip Frame 3
if ((((((_root.Slot1 == "Chicken") || (_root.Slot1 == "Bread")) || (_root.Slot1 == "Mushrooms")) || (_root.Slot1 == "Pork")) || (_root.Slot1 == "Beans")) && (_root.Slot1a >= 1)) {
_root.Slot1a = _root.Slot1a - 1;
food = "yes";
} else if ((((((_root.Slot2 == "Chicken") || (_root.Slot2 == "Bread")) || (_root.Slot2 == "Mushrooms")) || (_root.Slot2 == "Pork")) || (_root.Slot2 == "Beans")) && (_root.Slot2a >= 1)) {
_root.Slot2a = _root.Slot2a - 1;
food = "yes";
} else if ((((((_root.Slot3 == "Chicken") || (_root.Slot3 == "Bread")) || (_root.Slot3 == "Mushrooms")) || (_root.Slot3 == "Pork")) || (_root.Slot3 == "Beans")) && (_root.Slot3a >= 1)) {
_root.Slot3a = _root.Slot3a - 1;
food = "yes";
} else if ((((((_root.Slot4 == "Chicken") || (_root.Slot4 == "Bread")) || (_root.Slot4 == "Mushrooms")) || (_root.Slot4 == "Pork")) || (_root.Slot4 == "Beans")) && (_root.Slot4a >= 1)) {
_root.Slot4a = _root.Slot4a - 1;
food = "yes";
} else if ((((((_root.Slot5 == "Chicken") || (_root.Slot5 == "Bread")) || (_root.Slot5 == "Mushrooms")) || (_root.Slot5 == "Pork")) || (_root.Slot5 == "Beans")) && (_root.Slot5a >= 1)) {
_root.Slot5a = _root.Slot5a - 1;
food = "yes";
} else if ((((((_root.Slot6 == "Chicken") || (_root.Slot6 == "Bread")) || (_root.Slot6 == "Mushrooms")) || (_root.Slot6 == "Pork")) || (_root.Slot6 == "Beans")) && (_root.Slot6a >= 1)) {
_root.Slot6a = _root.Slot6a - 1;
food = "yes";
} else if ((((((_root.Slot7 == "Chicken") || (_root.Slot7 == "Bread")) || (_root.Slot7 == "Mushrooms")) || (_root.Slot7 == "Pork")) || (_root.Slot7 == "Beans")) && (_root.Slot7a >= 1)) {
_root.Slot7a = _root.Slot7a - 1;
food = "yes";
} else if ((((((_root.Slot8 == "Chicken") || (_root.Slot8 == "Bread")) || (_root.Slot8 == "Mushrooms")) || (_root.Slot8 == "Pork")) || (_root.Slot8 == "Beans")) && (_root.Slot8a >= 1)) {
_root.Slot8a = _root.Slot8a - 1;
food = "yes";
} else if ((((((_root.Slot9 == "Chicken") || (_root.Slot9 == "Bread")) || (_root.Slot9 == "Mushrooms")) || (_root.Slot9 == "Pork")) || (_root.Slot9 == "Beans")) && (_root.Slot9a >= 1)) {
_root.Slot9a = _root.Slot9a - 1;
food = "yes";
} else if ((((((_root.Slot0 == "Chicken") || (_root.Slot0 == "Bread")) || (_root.Slot0 == "Mushrooms")) || (_root.Slot0 == "Pork")) || (_root.Slot0 == "Beans")) && (_root.Slot0a >= 1)) {
_root.Slot0a = _root.Slot0a - 1;
food = "yes";
} else {
food = "no";
}
if ((sleepingbag._visible == true) && (food == "yes")) {
_root.HP = _root.FullHP;
_root.MP = _root.FullMP;
} else if ((sleepingbag._visible == false) && (food == "yes")) {
_root.HP = math.round(_root.FullHP * 0.85);
_root.MP = math.round(_root.FullMP * 0.9);
} else {
_root.HP = math.round(_root.FullHP * 0.7);
_root.MP = math.round(_root.FullMP * 0.8);
}
if ((tentback._visible == true) && (food == "yes")) {
_root.Adventures = _root.RealAdventures;
} else if ((tentback._visible == false) && (food == "yes")) {
_root.Adventures = math.round(_root.RealAdventures * 0.9);
} else {
_root.Adventures = math.round(_root.RealAdventures * 0.7);
}
Randnum = random(_root.Sectionskill);
if (Randnum == 0) {
play();
} else if (Randnum == 1) {
if (fire._visible == true) {
gotoAndPlay (38);
} else {
gotoAndPlay (85);
}
} else {
gotoAndPlay (85);
}
Symbol 1480 MovieClip Frame 37
stop();
Symbol 1480 MovieClip Frame 84
stop();
Symbol 1480 MovieClip Frame 131
RandNum = random(11) + 1;
if (RandNum == 1) {
_root.Slot1a = Empty;
_root.Slot1 = Empty;
} else if (RandNum == 2) {
_root.Slot2a = Empty;
_root.Slot2 = Empty;
} else if (RandNum == 3) {
_root.Slot3a = Empty;
_root.Slot3 = Empty;
} else if (RandNum == 4) {
_root.Slot4a = Empty;
_root.Slot4 = Empty;
} else if (RandNum == 5) {
_root.Slot5a = Empty;
_root.Slot5 = Empty;
} else if (RandNum == 6) {
_root.Slot6a = Empty;
_root.Slot6 = Empty;
} else if (RandNum == 7) {
_root.Slot7a = Empty;
_root.Slot7 = Empty;
} else if (RandNum == 8) {
_root.Slot8a = Empty;
_root.Slot8 = Empty;
} else if (RandNum == 9) {
_root.Slot9a = Empty;
_root.Slot9 = Empty;
} else if (RandNum == 10) {
_root.Slot0a = Empty;
_root.Slot0 = Empty;
} else {
_root.Money = math.round(_root.Money * 0.8);
}
_root.Money = math.round(_root.Money * 0.9);
Symbol 1480 MovieClip Frame 133
stop();
stop();
Symbol 1485 MovieClip Frame 2
_root.Where = "Under";
_root.Vertical = "None";
_root.Horizontal = "NoLeft";
_root.SectionSkill = 1;
Symbol 1485 MovieClip Frame 3
_root.Where = "Under";
_root.Vertical = "None";
_root.SectionSkill = 2;
_root.Horizontal = "";
Symbol 1485 MovieClip Frame 4
_root.Where = "Under";
_root.Vertical = "None";
_root.SectionSkill = 1;
_root.Horizontal = "NoRight";
Symbol 1485 MovieClip Frame 5
_root.Where = "Under";
_root.Vertical = "None";
_root.SectionSkill = 2;
_root.Horizontal = "";
Symbol 1486 Button
on (release) {
if ((_root.Horizontal == "NoRight") || (_root.Horizontal == "None")) {
} else if (_root.Speed >= 10) {
if (_root.Adventures >= 1) {
RandRand = random(5);
if (RandRand < _root.SectionSkill) {
_root.Adventures = _root.Adventures - 1;
gotoAndPlay (10);
} else {
_root.Adventures = _root.Adventures - 1;
_root.exe = _root.exe + 1;
if (_root.MP < _root.FullMP) {
_root.MP = _root.MP + ((((_root.Fireball + _root.Heal) + _root.Thunder) + _root.Ice) + _root.MShield);
if (_root.MP > _root.FullMP) {
_root.MP = _root.FullMP;
}
}
}
}
} else if (_root.Adventures >= (10 - (1 * Speed))) {
RandRand = random(5);
if (RandRand < _root.SectionSkill) {
_root.Adventures = _root.Adventures - 1;
gotoAndPlay (10);
} else {
_root.Adventures = _root.Adventures - (10 - (1 * Speed));
_root.exe = _root.exe + 1;
if (_root.MP < _root.FullMP) {
_root.MP = _root.MP + ((((_root.Fireball + _root.Heal) + _root.Thunder) + _root.Ice) + _root.MShield);
if (_root.MP > _root.FullMP) {
_root.MP = _root.FullMP;
}
}
}
}
}
Symbol 1487 Button
on (release) {
if ((_root.Horizontal == "NoLeft") || (_root.Horizontal == "None")) {
} else if (_root.Speed >= 10) {
if (_root.Adventures >= 1) {
RandRand = random(5);
if (RandRand < _root.SectionSkill) {
_root.Adventures = _root.Adventures - 1;
gotoAndPlay (10);
} else {
_root.Adventures = _root.Adventures - 1;
_root.exe = _root.exe - 1;
if (_root.MP < _root.FullMP) {
_root.MP = _root.MP + ((((_root.Fireball + _root.Heal) + _root.Thunder) + _root.Ice) + _root.MShield);
if (_root.MP > _root.FullMP) {
_root.MP = _root.FullMP;
}
}
}
}
} else if (_root.Adventures >= (10 - (1 * Speed))) {
RandRand = random(5);
if (RandRand < _root.SectionSkill) {
_root.Adventures = _root.Adventures - 1;
gotoAndPlay (10);
} else {
_root.Adventures = _root.Adventures - (10 - (1 * Speed));
_root.exe = _root.exe - 1;
if (_root.MP < _root.FullMP) {
_root.MP = _root.MP + ((((_root.Fireball + _root.Heal) + _root.Thunder) + _root.Ice) + _root.MShield);
if (_root.MP > _root.FullMP) {
_root.MP = _root.FullMP;
}
}
}
}
}
Symbol 1488 Button
on (release) {
if ((_root.Vertical == "NoDown") || (_root.Vertical == "None")) {
} else if (_root.Speed >= 10) {
if (_root.Adventures >= 1) {
RandRand = random(5);
if (RandRand < _root.SectionSkill) {
_root.Adventures = _root.Adventures - 1;
gotoAndPlay (10);
} else {
_root.Adventures = _root.Adventures - 1;
_root.why = _root.why - 1;
if (_root.MP < _root.FullMP) {
_root.MP = _root.MP + ((((_root.Fireball + _root.Heal) + _root.Thunder) + _root.Ice) + _root.MShield);
if (_root.MP > _root.FullMP) {
_root.MP = _root.FullMP;
}
}
}
}
} else if (_root.Adventures >= (10 - (1 * Speed))) {
RandRand = random(5);
if (RandRand < _root.SectionSkill) {
_root.Adventures = _root.Adventures - 1;
gotoAndPlay (10);
} else {
_root.Adventures = _root.Adventures - (10 - (1 * Speed));
_root.why = _root.why - 1;
if (_root.MP < _root.FullMP) {
_root.MP = _root.MP + ((((_root.Fireball + _root.Heal) + _root.Thunder) + _root.Ice) + _root.MShield);
if (_root.MP > _root.FullMP) {
_root.MP = _root.FullMP;
}
}
}
}
}
Symbol 1489 Button
on (release) {
if ((_root.Vertical == "NoUp") || (_root.Vertical == "None")) {
} else if (_root.Speed >= 10) {
if (_root.Adventures >= 1) {
RandRand = random(5);
if (RandRand < _root.SectionSkill) {
_root.Adventures = _root.Adventures - 1;
gotoAndPlay (10);
} else {
_root.Adventures = _root.Adventures - 1;
_root.why = _root.why + 1;
if (_root.MP < _root.FullMP) {
_root.MP = _root.MP + ((((_root.Fireball + _root.Heal) + _root.Thunder) + _root.Ice) + _root.MShield);
if (_root.MP > _root.FullMP) {
_root.MP = _root.FullMP;
}
}
}
}
} else if (_root.Adventures >= (10 - (1 * Speed))) {
RandRand = random(5);
if (RandRand < _root.SectionSkill) {
_root.Adventures = _root.Adventures - 1;
gotoAndPlay (10);
} else {
_root.Adventures = _root.Adventures - (10 - (1 * Speed));
_root.why = _root.why + 1;
if (_root.MP < _root.FullMP) {
_root.MP = _root.MP + ((((_root.Fireball + _root.Heal) + _root.Thunder) + _root.Ice) + _root.MShield);
if (_root.MP > _root.FullMP) {
_root.MP = _root.FullMP;
}
}
}
}
}
Symbol 1496 MovieClip Frame 1
level = _root.SectionSkill * 100;
if (_root.Where == "River") {
gotoAndStop (2);
} else if (_root.Where == "Fields") {
gotoAndStop (3);
} else if (_root.Where == "Field") {
gotoAndStop (3);
} else if (_root.Where == "Forest") {
gotoAndStop (4);
} else if (_root.Where == "Swamp") {
gotoAndStop (5);
} else if (_root.Where == "Under") {
gotoAndStop (6);
} else {
stop();
}
Symbol 1502 MovieClip Frame 1
if (_root.align <= -70) {
_root.sidebar.alignment = "Pure Evil";
} else if (_root.align <= -50) {
_root.sidebar.alignment = "Evil";
} else if (_root.align <= -30) {
_root.sidebar.alignment = "Naughty";
} else if (_root.align <= 29) {
_root.sidebar.alignment = "Neutral";
} else if (_root.align >= 70) {
_root.sidebar.alignment = "Pure Good";
} else if (_root.align >= 50) {
_root.sidebar.alignment = "Good";
} else if (_root.align >= 30) {
_root.sidebar.alignment = "Nice";
}
Symbol 1508 Button
on (release) {
_root.fightskills._visible = false;
}
Symbol 1509 Button
on (release) {
if (_root.Berserk >= 1) {
_root.fight.gotoAndPlay(26);
_root.fightskills._visible = false;
}
}
Symbol 1511 Button
on (release) {
if (((_root.fireball >= 1) && (_root.MP >= 10)) && (_root.lhand == Empty)) {
_root.fight.gotoAndPlay(37);
_root.fightskills._visible = false;
}
}
Symbol 1512 Button
on (release) {
if (((_root.heal >= 1) && (_root.MP >= 10)) && (_root.lhand == Empty)) {
if (_root.HP < _root.FullHP) {
_root.edamage = _root.Heal * -10;
_root.MP = _root.MP - 10;
_root.HP = _root.HP - _root.edamage;
if (_root.HP > _root.FullHP) {
_root.HP = _root.FullHP;
}
_root.fight.gotoAndPlay(48);
_root.fightskills._visible = false;
}
}
}
Symbol 1513 Button
on (release) {
if (((_root.thunder >= 1) && (_root.MP >= (11 - _root.Thunder))) && (_root.lhand == Empty)) {
_root.fight.gotoAndPlay(59);
_root.fightskills._visible = false;
}
}
Symbol 1514 Button
on (release) {
if (((_root.ice >= 1) && (_root.MP >= 10)) && (_root.lhand == Empty)) {
_root.fight.gotoAndPlay(70);
_root.fightskills._visible = false;
}
}
Symbol 1515 Button
on (release) {
if (((_root.mshield >= 1) && (_root.MP >= 10)) && (_root.lhand == Empty)) {
_root.fight.gotoAndPlay(81);
_root.fightskills._visible = false;
}
}
Symbol 1519 Button
on (release) {
CSlot = _root.Slot1;
if ((((((_root.Slot1a == "W") || (_root.Slot1a == "S")) || (_root.Slot1a == "H")) || (_root.Slot1a == "B")) || (_root.Slot1a == "F")) || (_root.Slot1a == "A")) {
} else if (_root.Slot1a >= 1) {
if (CSlot == "Dragon's Tear") {
if (_root.MP < _root.FullMP) {
_root.Slot1a = _root.Slot1a - 1;
if (_root.Slot1a <= 0) {
_root.Slot1 = Empty;
}
_root.edamage = "Full MP";
_root.MP = _root.FullMP;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Gems") {
if (_root.MP < _root.FullMP) {
_root.Slot1a = _root.Slot1a - 1;
if (_root.Slot1a <= 0) {
_root.Slot1 = Empty;
}
_root.edamage = -5;
_root.MP = _root.MP - _root.edamage;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Healing Potion") {
if (_root.HP < _root.FullHP) {
_root.Slot1a = _root.Slot1a - 1;
if (_root.Slot1a <= 0) {
_root.Slot1 = Empty;
}
_root.edamage = -30;
_root.HP = _root.HP - _root.edamage;
if (_root.HP > _root.FullHP) {
_root.HP = _root.FullHP;
}
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Thunder Token") {
_root.Slot1a = _root.Slot1a - 1;
if (_root.Slot1a <= 0) {
_root.Slot1 = Empty;
}
_root.item = "Token";
_root.fight.gotoAndPlay(59);
_root.fightstorage._visible = false;
} else if (CSlot == "Bandage") {
if (_root.HP < _root.FullHP) {
_root.Slot1a = _root.Slot1a - 1;
if (_root.Slot1a <= 0) {
_root.Slot1 = Empty;
}
_root.edamage = -10;
_root.HP = _root.HP - _root.edamage;
if (_root.HP > _root.FullHP) {
_root.HP = _root.FullHP;
}
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Golden Apple") {
if (_root.HP < _root.FullHP) {
_root.Slot1a = _root.Slot1a - 1;
if (_root.Slot1a <= 0) {
_root.Slot1 = Empty;
}
_root.edamage = "Full HP";
_root.HP = _root.FullHP;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
}
}
}
Symbol 1522 Button
on (release) {
CSlot = _root.Slot2;
if ((((((_root.slot2a == "w") || (_root.slot2a == "s")) || (_root.slot2a == "h")) || (_root.slot2a == "b")) || (_root.slot2a == "f")) || (_root.Slot2a == "a")) {
} else if (_root.Slot2a >= 1) {
if (CSlot == "Dragon's Tear") {
if (_root.MP < _root.FullMP) {
_root.Slot2a = _root.Slot2a - 1;
if (_root.Slot2a <= 0) {
_root.Slot2 = empty;
}
_root.edamage = "Full MP";
_root.MP = _root.FullMP;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Gems") {
if (_root.MP < _root.FullMP) {
_root.Slot2a = _root.Slot2a - 1;
if (_root.Slot2a <= 0) {
_root.Slot2 = empty;
}
_root.edamage = -5;
_root.MP = _root.MP - _root.edamage;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Healing Potion") {
if (_root.HP < _root.FullHP) {
_root.Slot2a = _root.Slot2a - 1;
if (_root.Slot2a <= 0) {
_root.Slot2 = empty;
}
_root.edamage = -30;
_root.HP = _root.HP - _root.edamage;
if (_root.HP > _root.FullHP) {
_root.HP = _root.FullHP;
}
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Thunder Token") {
_root.Slot2a = _root.Slot2a - 1;
if (_root.Slot2a <= 0) {
_root.Slot2 = empty;
}
_root.item = "Token";
_root.fight.gotoAndPlay(59);
_root.fightstorage._visible = false;
} else if (CSlot == "Bandage") {
if (_root.HP < _root.FullHP) {
_root.Slot2a = _root.Slot2a - 1;
if (_root.Slot2a <= 0) {
_root.Slot2 = empty;
}
_root.edamage = -10;
_root.HP = _root.HP - _root.edamage;
if (_root.HP > _root.FullHP) {
_root.HP = _root.FullHP;
}
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Golden Apple") {
if (_root.HP < _root.FullHP) {
_root.Slot2a = _root.Slot2a - 1;
if (_root.Slot2a <= 0) {
_root.Slot2 = empty;
}
_root.edamage = "Full HP";
_root.HP = _root.FullHP;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
}
}
}
Symbol 1525 Button
on (release) {
CSlot = _root.Slot3;
if ((((((_root.Slot3a == "w") || (_root.Slot3a == "s")) || (_root.Slot3a == "h")) || (_root.Slot3a == "b")) || (_root.Slot3a == "f")) || (_root.Slot3a == "a")) {
} else if (_root.Slot3a >= 1) {
if (CSlot == "Dragon's Tear") {
if (_root.MP < _root.FullMP) {
_root.Slot3a = _root.Slot3a - 1;
if (_root.Slot3a <= 0) {
_root.Slot3 = empty;
}
_root.edamage = "Full MP";
_root.MP = _root.FullMP;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Gems") {
if (_root.MP < _root.FullMP) {
_root.Slot3a = _root.Slot3a - 1;
if (_root.Slot3a <= 0) {
_root.Slot3 = empty;
}
_root.edamage = -5;
_root.MP = _root.MP - _root.edamage;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Healing Potion") {
if (_root.HP < _root.FullHP) {
_root.Slot3a = _root.Slot3a - 1;
if (_root.Slot3a <= 0) {
_root.Slot3 = empty;
}
_root.edamage = -30;
_root.HP = _root.HP - _root.edamage;
if (_root.HP > _root.FullHP) {
_root.HP = _root.FullHP;
}
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Thunder Token") {
_root.Slot3a = _root.Slot3a - 1;
if (_root.Slot3a <= 0) {
_root.Slot3 = empty;
}
_root.item = "Token";
_root.fight.gotoAndPlay(59);
_root.fightstorage._visible = false;
} else if (CSlot == "Bandage") {
if (_root.HP < _root.FullHP) {
_root.Slot3a = _root.Slot3a - 1;
if (_root.Slot3a <= 0) {
_root.Slot3 = empty;
}
_root.edamage = -10;
_root.HP = _root.HP - _root.edamage;
if (_root.HP > _root.FullHP) {
_root.HP = _root.FullHP;
}
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Golden Apple") {
if (_root.HP < _root.FullHP) {
_root.Slot3a = _root.Slot3a - 1;
if (_root.Slot3a <= 0) {
_root.Slot3 = empty;
}
_root.edamage = "Full HP";
_root.HP = _root.FullHP;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
}
}
}
Symbol 1528 Button
on (release) {
CSlot = _root.Slot4;
if ((((((_root.Slot4a == "w") || (_root.Slot4a == "s")) || (_root.Slot4a == "h")) || (_root.Slot4a == "b")) || (_root.Slot4a == "f")) || (_root.Slot4a == "a")) {
} else if (_root.Slot4a >= 1) {
if (CSlot == "Dragon's Tear") {
if (_root.MP < _root.FullMP) {
_root.Slot4a = _root.Slot4a - 1;
if (_root.Slot4a <= 0) {
_root.Slot4 = empty;
}
_root.edamage = "Full MP";
_root.MP = _root.FullMP;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Gems") {
if (_root.MP < _root.FullMP) {
_root.Slot4a = _root.Slot4a - 1;
if (_root.Slot4a <= 0) {
_root.Slot4 = empty;
}
_root.edamage = -5;
_root.MP = _root.MP - _root.edamage;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Healing Potion") {
if (_root.HP < _root.FullHP) {
_root.Slot4a = _root.Slot4a - 1;
if (_root.Slot4a <= 0) {
_root.Slot4 = empty;
}
_root.edamage = -30;
_root.HP = _root.HP - _root.edamage;
if (_root.HP > _root.FullHP) {
_root.HP = _root.FullHP;
}
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Thunder Token") {
_root.Slot4a = _root.Slot4a - 1;
if (_root.Slot4a <= 0) {
_root.Slot4 = empty;
}
_root.item = "Token";
_root.fight.gotoAndPlay(59);
_root.fightstorage._visible = false;
} else if (CSlot == "Bandage") {
if (_root.HP < _root.FullHP) {
_root.Slot4a = _root.Slot4a - 1;
if (_root.Slot4a <= 0) {
_root.Slot4 = empty;
}
_root.edamage = -10;
_root.HP = _root.HP - _root.edamage;
if (_root.HP > _root.FullHP) {
_root.HP = _root.FullHP;
}
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Golden Apple") {
if (_root.HP < _root.FullHP) {
_root.Slot4a = _root.Slot4a - 1;
if (_root.Slot4a <= 0) {
_root.Slot4 = empty;
}
_root.edamage = "Full HP";
_root.HP = _root.FullHP;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
}
}
}
Symbol 1531 Button
on (release) {
CSlot = _root.Slot5;
if ((((((_root.Slot5a == "w") || (_root.Slot5a == "s")) || (_root.Slot5a == "h")) || (_root.Slot5a == "b")) || (_root.Slot5a == "f")) || (_root.Slot5a == "a")) {
} else if (_root.Slot5a >= 1) {
if (CSlot == "Dragon's Tear") {
if (_root.MP < _root.FullMP) {
_root.Slot5a = _root.Slot5a - 1;
if (_root.Slot5a <= 0) {
_root.Slot5 = empty;
}
_root.edamage = "Full MP";
_root.MP = _root.FullMP;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Gems") {
if (_root.MP < _root.FullMP) {
_root.Slot5a = _root.Slot5a - 1;
if (_root.Slot5a <= 0) {
_root.Slot5 = empty;
}
_root.edamage = -5;
_root.MP = _root.MP - _root.edamage;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Healing Potion") {
if (_root.HP < _root.FullHP) {
_root.Slot5a = _root.Slot5a - 1;
if (_root.Slot5a <= 0) {
_root.Slot5 = empty;
}
_root.edamage = -30;
_root.HP = _root.HP - _root.edamage;
if (_root.HP > _root.FullHP) {
_root.HP = _root.FullHP;
}
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Thunder Token") {
_root.Slot5a = _root.Slot5a - 1;
if (_root.Slot5a <= 0) {
_root.Slot5 = empty;
}
_root.item = "Token";
_root.fight.gotoAndPlay(59);
_root.fightstorage._visible = false;
} else if (CSlot == "Bandage") {
if (_root.HP < _root.FullHP) {
_root.Slot5a = _root.Slot5a - 1;
if (_root.Slot5a <= 0) {
_root.Slot5 = empty;
}
_root.edamage = -10;
_root.HP = _root.HP - _root.edamage;
if (_root.HP > _root.FullHP) {
_root.HP = _root.FullHP;
}
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Golden Apple") {
if (_root.HP < _root.FullHP) {
_root.Slot5a = _root.Slot5a - 1;
if (_root.Slot5a <= 0) {
_root.Slot5 = empty;
}
_root.edamage = "Full HP";
_root.HP = _root.FullHP;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
}
}
}
Symbol 1534 Button
on (release) {
CSlot = _root.Slot6;
if ((((((_root.Slot6a == "w") || (_root.Slot6a == "s")) || (_root.Slot6a == "h")) || (_root.Slot6a == "b")) || (_root.Slot6a == "f")) || (_root.Slot6a == "a")) {
} else if (_root.Slot6a >= 1) {
if (CSlot == "Dragon's Tear") {
if (_root.MP < _root.FullMP) {
_root.Slot6a = _root.Slot6a - 1;
if (_root.Slot6a <= 0) {
_root.Slot6 = empty;
}
_root.edamage = "Full MP";
_root.MP = _root.FullMP;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Gems") {
if (_root.MP < _root.FullMP) {
_root.Slot6a = _root.Slot6a - 1;
if (_root.Slot6a <= 0) {
_root.Slot6 = empty;
}
_root.edamage = -5;
_root.MP = _root.MP - _root.edamage;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Healing Potion") {
if (_root.HP < _root.FullHP) {
_root.Slot6a = _root.Slot6a - 1;
if (_root.Slot6a <= 0) {
_root.Slot6 = empty;
}
_root.edamage = -30;
_root.HP = _root.HP - _root.edamage;
if (_root.HP > _root.FullHP) {
_root.HP = _root.FullHP;
}
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Thunder Token") {
_root.Slot6a = _root.Slot6a - 1;
if (_root.Slot6a <= 0) {
_root.Slot6 = empty;
}
_root.item = "Token";
_root.fight.gotoAndPlay(59);
_root.fightstorage._visible = false;
} else if (CSlot == "Bandage") {
if (_root.HP < _root.FullHP) {
_root.Slot6a = _root.Slot6a - 1;
if (_root.Slot6a <= 0) {
_root.Slot6 = empty;
}
_root.edamage = -10;
_root.HP = _root.HP - _root.edamage;
if (_root.HP > _root.FullHP) {
_root.HP = _root.FullHP;
}
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Golden Apple") {
if (_root.HP < _root.FullHP) {
_root.Slot6a = _root.Slot6a - 1;
if (_root.Slot6a <= 0) {
_root.Slot6 = empty;
}
_root.edamage = "Full HP";
_root.HP = _root.FullHP;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
}
}
}
Symbol 1537 Button
on (release) {
CSlot = _root.Slot7;
if ((((((_root.Slot7a == "w") || (_root.Slot7a == "s")) || (_root.Slot7a == "h")) || (_root.Slot7a == "b")) || (_root.Slot7a == "f")) || (_root.Slot7a == "a")) {
} else if (_root.Slot7a >= 1) {
if (CSlot == "Dragon's Tear") {
if (_root.MP < _root.FullMP) {
_root.Slot7a = _root.Slot7a - 1;
if (_root.Slot7a <= 0) {
_root.Slot7 = empty;
}
_root.edamage = "Full MP";
_root.MP = _root.FullMP;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Gems") {
if (_root.MP < _root.FullMP) {
_root.Slot7a = _root.Slot7a - 1;
if (_root.Slot7a <= 0) {
_root.Slot7 = empty;
}
_root.edamage = -5;
_root.MP = _root.MP - _root.edamage;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Healing Potion") {
if (_root.HP < _root.FullHP) {
_root.Slot7a = _root.Slot7a - 1;
if (_root.Slot7a <= 0) {
_root.Slot7 = empty;
}
_root.edamage = -30;
_root.HP = _root.HP - _root.edamage;
if (_root.HP > _root.FullHP) {
_root.HP = _root.FullHP;
}
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Thunder Token") {
_root.Slot7a = _root.Slot7a - 1;
if (_root.Slot7a <= 0) {
_root.Slot7 = empty;
}
_root.item = "Token";
_root.fight.gotoAndPlay(59);
_root.fightstorage._visible = false;
} else if (CSlot == "Bandage") {
if (_root.HP < _root.FullHP) {
_root.Slot7a = _root.Slot7a - 1;
if (_root.Slot7a <= 0) {
_root.Slot7 = empty;
}
_root.edamage = -10;
_root.HP = _root.HP - _root.edamage;
if (_root.HP > _root.FullHP) {
_root.HP = _root.FullHP;
}
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Golden Apple") {
if (_root.HP < _root.FullHP) {
_root.Slot7a = _root.Slot7a - 1;
if (_root.Slot7a <= 0) {
_root.Slot7 = empty;
}
_root.edamage = "Full HP";
_root.HP = _root.FullHP;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
}
}
}
Symbol 1540 Button
on (release) {
CSlot = _root.Slot8;
if ((((((_root.Slot8a == "w") || (_root.Slot8a == "s")) || (_root.Slot8a == "h")) || (_root.Slot8a == "b")) || (_root.Slot8a == "f")) || (_root.Slot8a == "a")) {
} else if (_root.Slot8a >= 1) {
if (CSlot == "Dragon's Tear") {
if (_root.MP < _root.FullMP) {
_root.Slot8a = _root.Slot8a - 1;
if (_root.Slot8a <= 0) {
_root.Slot8 = empty;
}
_root.edamage = "Full MP";
_root.MP = _root.FullMP;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Gems") {
if (_root.MP < _root.FullMP) {
_root.Slot8a = _root.Slot8a - 1;
if (_root.Slot8a <= 0) {
_root.Slot8 = empty;
}
_root.edamage = -5;
_root.MP = _root.MP - _root.edamage;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Healing Potion") {
if (_root.HP < _root.FullHP) {
_root.Slot8a = _root.Slot8a - 1;
if (_root.Slot8a <= 0) {
_root.Slot8 = empty;
}
_root.edamage = -30;
_root.HP = _root.HP - _root.edamage;
if (_root.HP > _root.FullHP) {
_root.HP = _root.FullHP;
}
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Thunder Token") {
_root.Slot8a = _root.Slot8a - 1;
if (_root.Slot8a <= 0) {
_root.Slot8 = empty;
}
_root.item = "Token";
_root.fight.gotoAndPlay(59);
_root.fightstorage._visible = false;
} else if (CSlot == "Bandage") {
if (_root.HP < _root.FullHP) {
_root.Slot8a = _root.Slot8a - 1;
if (_root.Slot8a <= 0) {
_root.Slot8 = empty;
}
_root.edamage = -10;
_root.HP = _root.HP - _root.edamage;
if (_root.HP > _root.FullHP) {
_root.HP = _root.FullHP;
}
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Golden Apple") {
if (_root.HP < _root.FullHP) {
_root.Slot8a = _root.Slot8a - 1;
if (_root.Slot8a <= 0) {
_root.Slot8 = empty;
}
_root.edamage = "Full HP";
_root.HP = _root.FullHP;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
}
}
}
Symbol 1543 Button
on (release) {
CSlot = _root.Slot9;
if ((((((_root.Slot9a == "w") || (_root.Slot9a == "s")) || (_root.Slot9a == "h")) || (_root.Slot9a == "b")) || (_root.Slot9a == "f")) || (_root.Slot9a == "a")) {
} else if (_root.Slot9a >= 1) {
if (CSlot == "Dragon's Tear") {
if (_root.MP < _root.FullMP) {
_root.Slot9a = _root.Slot9a - 1;
if (_root.Slot9a <= 0) {
_root.Slot9 = empty;
}
_root.edamage = "Full MP";
_root.MP = _root.FullMP;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Gems") {
if (_root.MP < _root.FullMP) {
_root.Slot9a = _root.Slot9a - 1;
if (_root.Slot9a <= 0) {
_root.Slot9 = empty;
}
_root.edamage = -5;
_root.MP = _root.MP - _root.edamage;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Healing Potion") {
if (_root.HP < _root.FullHP) {
_root.Slot9a = _root.Slot9a - 1;
if (_root.Slot9a <= 0) {
_root.Slot9 = empty;
}
_root.edamage = -30;
_root.HP = _root.HP - _root.edamage;
if (_root.HP > _root.FullHP) {
_root.HP = _root.FullHP;
}
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Thunder Token") {
_root.Slot9a = _root.Slot9a - 1;
if (_root.Slot9a <= 0) {
_root.Slot9 = empty;
}
_root.item = "Token";
_root.fight.gotoAndPlay(59);
_root.fightstorage._visible = false;
} else if (CSlot == "Bandage") {
if (_root.HP < _root.FullHP) {
_root.Slot9a = _root.Slot9a - 1;
if (_root.Slot9a <= 0) {
_root.Slot9 = empty;
}
_root.edamage = -10;
_root.HP = _root.HP - _root.edamage;
if (_root.HP > _root.FullHP) {
_root.HP = _root.FullHP;
}
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Golden Apple") {
if (_root.HP < _root.FullHP) {
_root.Slot9a = _root.Slot9a - 1;
if (_root.Slot9a <= 0) {
_root.Slot9 = empty;
}
_root.edamage = "Full HP";
_root.HP = _root.FullHP;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
}
}
}
Symbol 1546 Button
on (release) {
CSlot = _root.Slot0;
if ((((((_root.Slot0a == "w") || (_root.Slot0a == "s")) || (_root.Slot0a == "h")) || (_root.Slot0a == "b")) || (_root.Slot0a == "f")) || (_root.Slot0a == "a")) {
} else if (_root.Slot0a >= 1) {
if (CSlot == "Dragon's Tear") {
if (_root.MP < _root.FullMP) {
_root.Slot0a = _root.Slot0a - 1;
if (_root.Slot0a <= 0) {
_root.Slot0 = empty;
}
_root.edamage = "Full MP";
_root.MP = _root.FullMP;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Gems") {
if (_root.MP < _root.FullMP) {
_root.Slot0a = _root.Slot0a - 1;
if (_root.Slot0a <= 0) {
_root.Slot0 = empty;
}
_root.edamage = -5;
_root.MP = _root.MP - _root.edamage;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Healing Potion") {
if (_root.HP < _root.FullHP) {
_root.Slot0a = _root.Slot0a - 1;
if (_root.Slot0a <= 0) {
_root.Slot0 = empty;
}
_root.edamage = -30;
_root.HP = _root.HP - _root.edamage;
if (_root.HP > _root.FullHP) {
_root.HP = _root.FullHP;
}
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Thunder Token") {
_root.Slot0a = _root.Slot0a - 1;
if (_root.Slot0a <= 0) {
_root.Slot0 = empty;
}
_root.item = "Token";
_root.fight.gotoAndPlay(59);
_root.fightstorage._visible = false;
} else if (CSlot == "Bandage") {
if (_root.HP < _root.FullHP) {
_root.Slot0a = _root.Slot0a - 1;
if (_root.Slot0a <= 0) {
_root.Slot0 = empty;
}
_root.edamage = -10;
_root.HP = _root.HP - _root.edamage;
if (_root.HP > _root.FullHP) {
_root.HP = _root.FullHP;
}
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
} else if (CSlot == "Golden Apple") {
if (_root.HP < _root.FullHP) {
_root.Slot0a = _root.Slot0a - 1;
if (_root.Slot0a <= 0) {
_root.Slot0 = empty;
}
_root.edamage = "Full HP";
_root.HP = _root.FullHP;
_root.fight.gotoAndPlay(48);
_root.fightstorage._visible = false;
}
}
}
}
Symbol 1548 Button
on (release) {
_root.fightstorage._visible = false;
}
Symbol 1552 MovieClip Frame 1
stop();
Symbol 1552 MovieClip Frame 2
play();
Symbol 1552 MovieClip Frame 15
gotoAndPlay (2);
Symbol 1552 MovieClip Frame 16
play();
Symbol 1552 MovieClip Frame 30
gotoAndPlay (16);
Symbol 1562 Button
on (release) {
_root.fightskills._visible = true;
}
Symbol 1563 Button
on (release) {
if (_root.lhand == Empty) {
_root.fightstorage._visible = true;
}
}
Symbol 1565 Button
on (release) {
gotoAndPlay (15);
}
Symbol 1567 Button
on (release) {
_root.gotoAndPlay(14);
}
Symbol 1572 Button
on (release) {
gotoAndPlay (130);
}
Symbol 1768 Button
on (release) {
_root.gotoAndPlay(14);
}
Symbol 1778 MovieClip Frame 1
Attack = ((((_root.Str + _root.heada) + _root.bodya) + _root.lhanda) + _root.feeta) + _root.rhanda;
Defense = (((_root.headd + _root.bodyd) + _root.lhandd) + _root.feetd) + _root.rhandd;
if ((_root.WeaponType == "Stave") && ((_root.Class == "Wizard") || (_root.Class == "Warrior"))) {
Skill = _root.rhands * _root.Stave;
} else if ((_root.WeaponType == "Maul") && (_root.Class == "Warrior")) {
Skill = _root.rhands * _root.Maul;
} else if (_root.WeaponType == "Stab") {
Skill = _root.rhands * _root.Stab;
} else if ((_root.WeaponType == "Slash") && ((_root.Class == "Thief") || (_root.Class == "Warrior"))) {
Skill = _root.rhands * _root.Slash;
} else {
Skill = _root.rhands + 1;
}
if (_root.Sneak >= 10) {
RandRand = random(_root.Sneak + 1);
if (RandRand <= _root.Sneak) {
gotoAndStop (2);
} else if (_root.eSpeed <= _root.Speed) {
gotoAndPlay (3);
} else {
gotoAndPlay (92);
}
} else if (_root.Sneak >= 0) {
RandRand = random(10);
if (RandRand <= _root.Sneak) {
gotoAndStop (2);
} else if (_root.eSpeed <= _root.Speed) {
gotoAndPlay (3);
} else {
gotoAndPlay (92);
}
}
Symbol 1778 MovieClip Frame 3
lostturns = lostturns + 1;
_root.elostturns = _root.elostturns + 1;
if (lostturns <= 0) {
gotoAndPlay (92);
}
if (_root.MP < _root.FullMP) {
_root.MP = _root.MP + ((((_root.Fireball + _root.Heal) + _root.Thunder) + _root.Ice) + _root.MShield);
if (_root.MP > _root.FullMP) {
_root.MP = _root.FullMP;
}
}
msturns = msturns + 1;
if (msturns <= 0) {
_root.fight.Effect.gotoAndPlay(16);
} else {
_root.fight.Effect.gotoAndStop(1);
}
if (_root.elostturns >= 1) {
_root.fight.mouse.Effect.gotoAndStop(1);
} else {
_root.fight.mouse.Effect.gotoAndPlay(2);
}
Symbol 1778 MovieClip Frame 14
gotoAndPlay (4);
Symbol 1778 MovieClip Frame 21
_root.damage = Attack + random(Skill);
_root.eHP = _root.eHP - _root.damage;
Symbol 1778 MovieClip Frame 25
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else if (_root.TwoHit >= 10) {
RandRand = random(_root.TwoHit + 1);
if (RandRand <= _root.TwoHit) {
gotoAndPlay (15);
} else {
gotoAndPlay (92);
}
} else if (_root.TwoHit >= 1) {
RandRand = random(10);
if (RandRand <= _root.TwoHit) {
gotoAndPlay (15);
} else {
gotoAndPlay (92);
}
} else {
gotoAndPlay (92);
}
Symbol 1778 MovieClip Frame 33
_root.damage = random((_root.Berserk + 1) * (Attack + Skill)) + Attack;
lostturns = -1 * _root.Berserk;
_root.eHP = _root.eHP - _root.damage;
Symbol 1778 MovieClip Frame 36
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (92);
}
Symbol 1778 MovieClip Frame 43
_root.damage = _root.Fireball * 10;
_root.MP = _root.MP - 10;
_root.eHP = _root.eHP - _root.damage;
Symbol 1778 MovieClip Frame 47
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (92);
}
Symbol 1778 MovieClip Frame 58
gotoAndPlay (92);
Symbol 1778 MovieClip Frame 65
if (_root.item == "Token") {
_root.damage = 30;
_root.eHP = _root.eHP - _root.damage;
} else {
_root.damage = 30;
_root.MP = _root.MP - (11 - _root.Thunder);
_root.eHP = _root.eHP - _root.damage;
}
_root.item = Empty;
Symbol 1778 MovieClip Frame 69
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (92);
}
Symbol 1778 MovieClip Frame 74
_root.MP = _root.MP - 10;
_root.elostturns = -1 * _root.Ice;
_root.damage = _root.elostturns;
_root.fight.mouse.Effect.gotoAndPlay(2);
Symbol 1778 MovieClip Frame 80
gotoAndPlay (92);
Symbol 1778 MovieClip Frame 87
_root.MP = _root.MP - 10;
msturns = -1 * _root.MShield;
_root.edamage = msturns;
Symbol 1778 MovieClip Frame 91
_root.fight.Effect.gotoAndPlay(16);
gotoAndPlay (92);
Symbol 1778 MovieClip Frame 92
if (_root.elostturns <= 0) {
gotoAndPlay (3);
} else {
RandRand = random(3);
if ((RandRand == 0) && (_root.eHP <= (0.5 * _root.eFullHP))) {
gotoAndPlay (141);
} else {
BlockDef = (_root.lhands * _root.Block) + 1;
if (_root.Parry >= 1) {
RandRand = random(10);
if (RandRand <= _root.Parry) {
gotoAndPlay (114);
} else if (_root.block >= 1) {
RandRand = random(10);
if (RandRand <= _root.block) {
gotoAndPlay (103);
}
}
} else {
RandRand = random(10);
if (RandRand <= _root.block) {
gotoAndPlay (103);
}
}
play();
}
}
Symbol 1778 MovieClip Frame 97
_root.edamage = _root.eAtt - random(Defense);
if (_root.edamage <= 0) {
_root.edamage = 0;
}
_root.HP = _root.HP - _root.edamage;
Symbol 1778 MovieClip Frame 102
if (_root.HP <= 0) {
gotoAndPlay (152);
} else {
gotoAndPlay (3);
}
Symbol 1778 MovieClip Frame 108
_root.edamage = _root.eAtt - (Defense + BlockDef);
if (_root.edamage <= 0) {
_root.edamage = 0;
}
_root.HP = _root.HP - _root.edamage;
Symbol 1778 MovieClip Frame 113
if (_root.HP <= 0) {
gotoAndPlay (152);
} else {
gotoAndPlay (3);
}
Symbol 1778 MovieClip Frame 119
_root.edamage = _root.eAtt - (Defense + BlockDef);
if (_root.edamage <= 0) {
_root.edamage = 0;
}
_root.HP = _root.HP - _root.edamage;
Symbol 1778 MovieClip Frame 122
_root.damage = round(Attack * (_root.Parry * 0.1)) + 1;
_root.eHP = _root.eHP - _root.damage;
Symbol 1778 MovieClip Frame 129
if (_root.HP <= 0) {
gotoAndPlay (152);
} else if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (3);
}
Symbol 1778 MovieClip Frame 135
if (_root.Class != "Wizard") {
RandRand = random(_root.eSpeed + _root.Speed);
if (RandRand <= _root.Speed) {
_root.gotoAndPlay(14);
} else {
play();
}
} else {
RandRand = random((_root.eSpeed + _root.Speed) - 1);
if (RandRand <= (_root.Speed - 1)) {
_root.gotoAndPlay(14);
} else {
play();
}
}
Symbol 1778 MovieClip Frame 140
gotoAndPlay (92);
Symbol 1778 MovieClip Frame 145
RandRand = random(_root.eSpeed + _root.Speed);
if (RandRand <= _root.eSpeed) {
_root.gotoAndPlay(14);
} else {
play();
}
Symbol 1778 MovieClip Frame 151
gotoAndPlay (3);
Symbol 1778 MovieClip Frame 162
if (_root.amulet == "Pheonix Feather") {
_root.HP = math.round(_root.FullHP * 0.5);
_root.amulet = Empty;
_root.gotoAndPlay(3);
} else {
_root.HP = math.round(_root.FullHP * 0.1);
_root.FullHP = math.round(_root.FullHP * 0.9);
RandNum = random(11) + 1;
if (RandNum == 1) {
_root.Slot1a = Empty;
_root.Slot1 = Empty;
} else if (RandNum == 2) {
_root.Slot2a = Empty;
_root.Slot2 = Empty;
} else if (RandNum == 3) {
_root.Slot3a = Empty;
_root.Slot3 = Empty;
} else if (RandNum == 4) {
_root.Slot4a = Empty;
_root.Slot4 = Empty;
} else if (RandNum == 5) {
_root.Slot5a = Empty;
_root.Slot5 = Empty;
} else if (RandNum == 6) {
_root.Slot6a = Empty;
_root.Slot6 = Empty;
} else if (RandNum == 7) {
_root.Slot7a = Empty;
_root.Slot7 = Empty;
} else if (RandNum == 8) {
_root.Slot8a = Empty;
_root.Slot8 = Empty;
} else if (RandNum == 9) {
_root.Slot9a = Empty;
_root.Slot9 = Empty;
} else if (RandNum == 10) {
_root.Slot0a = Empty;
_root.Slot0 = Empty;
} else {
_root.Money = Empty;
}
RandNum = random(5) + 1;
_root.Money = math.round(_root.Money * (RandNum * 0.1));
_root.gotoAndPlay(14);
}
Symbol 1778 MovieClip Frame 173
RandRand = random(3);
if (RandRand == 0) {
gain2 = "Bronze";
RandRand = random(10) + 1;
gain1 = RandRand;
Item = "Bronze";
if (_root.Slot1 == Item) {
_root.Slot1a = _root.Slot1a + RandRand;
} else if (_root.Slot2 == Item) {
_root.Slot2a = _root.Slot2a + RandRand;
} else if (_root.Slot3 == Item) {
_root.Slot3a = _root.Slot3a + RandRand;
} else if (_root.Slot4 == Item) {
_root.Slot4a = _root.Slot4a + RandRand;
} else if (_root.Slot5 == Item) {
_root.Slot5a = _root.Slot5a + RandRand;
} else if (_root.Slot6 == Item) {
_root.Slot6a = _root.Slot6a + RandRand;
} else if (_root.Slot7 == Item) {
_root.Slot7a = _root.Slot7a + RandRand;
} else if (_root.Slot8 == Item) {
_root.Slot8a = _root.Slot8a + RandRand;
} else if (_root.Slot9 == Item) {
_root.Slot9a = _root.Slot9a + RandRand;
} else if (_root.Slot0 == Item) {
_root.Slot0a = _root.Slot0a + RandRand;
} else if (_root.Slot1 == Empty) {
_root.Slot1 = Item;
_root.Slot1a = RandRand;
} else if (_root.Slot2 == Empty) {
_root.Slot2 = Item;
_root.Slot2a = RandRand;
} else if (_root.Slot3 == Empty) {
_root.Slot3 = Item;
_root.Slot3a = RandRand;
} else if (_root.Slot4 == Empty) {
_root.Slot4 = Item;
_root.Slot4a = RandRand;
} else if (_root.Slot5 == Empty) {
_root.Slot5 = Item;
_root.Slot5a = RandRand;
} else if (_root.Slot6 == Empty) {
_root.Slot6 = Item;
_root.Slot6a = RandRand;
} else if (_root.Slot7 == Empty) {
_root.Slot7 = Item;
_root.Slot7a = RandRand;
} else if (_root.Slot8 == Empty) {
_root.Slot8 = Item;
_root.Slot8a = RandRand;
} else if (_root.Slot9 == Empty) {
_root.Slot9 = Item;
_root.Slot9a = RandRand;
} else if (_root.Slot0 == Empty) {
_root.Slot0 = Item;
_root.Slot0a = RandRand;
}
} else {
gain1 = "$";
RandRand = random(_root.eFullHP);
gain2 = RandRand;
_root.Money = _root.Money + RandRand;
}
RandRand = random((((((10 + _root.Stab) + _root.Stave) + _root.Slash) + _root.Maul) + _root.Block) + (_root.FullHP - 50));
if (RandRand == 0) {
if (_root.WeaponType == "Stab") {
_root.Stab = _root.Stab + 1;
gain3 = "Stab +1!";
} else if (_root.WeaponType == "Stave") {
_root.Stave = _root.Stave + 1;
gain3 = "Stave +1!";
} else if (_root.WeaponType == "Maul") {
_root.Maul = _root.Maul + 1;
gain3 = "Maul +1!";
} else if (_root.WeaponType == "Slash") {
_root.Slash = _root.Slash + 1;
gain3 = "Slash +1!";
} else {
_root.FullHP = _root.FullHP + 1;
gain3 = "HP +1!";
}
} else if (RandRand == 1) {
if (_root.Class == "Wizard") {
_root.FullMP = _root.FullMP + 1;
gain3 = "MP +1!";
} else {
_root.FullHP = _root.FullHP + 1;
gain3 = "HP +1!";
}
} else {
gain3 = Empty;
}
stop();
Symbol 1787 Button
on (release) {
gotoAndPlay (15);
}
Symbol 1792 Button
on (release) {
gotoAndPlay (130);
}
Symbol 1997 MovieClip Frame 1
Attack = ((((_root.Str + _root.heada) + _root.bodya) + _root.lhanda) + _root.feeta) + _root.rhanda;
Defense = (((_root.headd + _root.bodyd) + _root.lhandd) + _root.feetd) + _root.rhandd;
if ((_root.WeaponType == "Stave") && ((_root.Class == "Wizard") || (_root.Class == "Warrior"))) {
Skill = _root.rhands * _root.Stave;
} else if ((_root.WeaponType == "Maul") && (_root.Class == "Warrior")) {
Skill = _root.rhands * _root.Maul;
} else if (_root.WeaponType == "Stab") {
Skill = _root.rhands * _root.Stab;
} else if ((_root.WeaponType == "Slash") && ((_root.Class == "Thief") || (_root.Class == "Warrior"))) {
Skill = _root.rhands * _root.Slash;
} else {
Skill = _root.rhands + 1;
}
if (_root.Sneak >= 10) {
RandRand = random(_root.Sneak + 1);
if (RandRand <= _root.Sneak) {
gotoAndStop (2);
} else if (_root.eSpeed <= _root.Speed) {
gotoAndPlay (3);
} else {
gotoAndPlay (92);
}
} else if (_root.Sneak >= 0) {
RandRand = random(10);
if (RandRand <= _root.Sneak) {
gotoAndStop (2);
} else if (_root.eSpeed <= _root.Speed) {
gotoAndPlay (3);
} else {
gotoAndPlay (92);
}
}
Symbol 1997 MovieClip Frame 3
lostturns = lostturns + 1;
msturns = msturns + 1;
_root.elostturns = _root.elostturns + 1;
if (lostturns <= 0) {
gotoAndPlay (92);
}
if (_root.MP < _root.FullMP) {
_root.MP = _root.MP + ((((_root.Fireball + _root.Heal) + _root.Thunder) + _root.Ice) + _root.MShield);
if (_root.MP > _root.FullMP) {
_root.MP = _root.FullMP;
}
}
if (msturns <= 0) {
_root.fight.Effect.gotoAndPlay(16);
} else if (lostturns <= 0) {
_root.fight.Effect.gotoAndPlay(2);
} else {
_root.fight.Effect.gotoAndStop(1);
}
if (_root.elostturns >= 1) {
_root.fight.spider.Effect.gotoAndStop(1);
} else {
_root.fight.spider.Effect.gotoAndPlay(2);
}
Symbol 1997 MovieClip Frame 14
gotoAndPlay (4);
Symbol 1997 MovieClip Frame 21
_root.damage = Attack + random(Skill);
_root.eHP = _root.eHP - _root.damage;
Symbol 1997 MovieClip Frame 25
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else if (_root.TwoHit >= 10) {
RandRand = random(_root.TwoHit + 1);
if (RandRand <= _root.TwoHit) {
gotoAndPlay (15);
} else {
gotoAndPlay (92);
}
} else if (_root.TwoHit >= 1) {
RandRand = random(10);
if (RandRand <= _root.TwoHit) {
gotoAndPlay (15);
} else {
gotoAndPlay (92);
}
} else {
gotoAndPlay (92);
}
Symbol 1997 MovieClip Frame 33
_root.damage = random((_root.Berserk + 1) * (Attack + Skill)) + Attack;
lostturns = -1 * _root.Berserk;
_root.eHP = _root.eHP - _root.damage;
Symbol 1997 MovieClip Frame 36
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (92);
}
Symbol 1997 MovieClip Frame 43
_root.damage = _root.Fireball * 10;
_root.MP = _root.MP - 10;
_root.eHP = _root.eHP - _root.damage;
Symbol 1997 MovieClip Frame 47
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (92);
}
Symbol 1997 MovieClip Frame 58
gotoAndPlay (92);
Symbol 1997 MovieClip Frame 65
if (_root.item == "Token") {
_root.damage = 30;
_root.eHP = _root.eHP - _root.damage;
} else {
_root.damage = 30;
_root.MP = _root.MP - (11 - _root.Thunder);
_root.eHP = _root.eHP - _root.damage;
}
_root.item = Empty;
Symbol 1997 MovieClip Frame 69
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (92);
}
Symbol 1997 MovieClip Frame 74
_root.MP = _root.MP - 10;
_root.elostturns = -1 * _root.Ice;
_root.damage = _root.elostturns;
_root.fight.spider.Effect.gotoAndPlay(2);
Symbol 1997 MovieClip Frame 80
gotoAndPlay (92);
Symbol 1997 MovieClip Frame 87
_root.MP = _root.MP - 10;
msturns = -1 * _root.MShield;
_root.edamage = msturns;
Symbol 1997 MovieClip Frame 91
_root.fight.Effect.gotoAndPlay(16);
gotoAndPlay (92);
Symbol 1997 MovieClip Frame 92
if (_root.elostturns <= 0) {
gotoAndPlay (3);
} else {
RandRand = random(3);
if ((RandRand == 0) && (lostturns >= 1)) {
gotoAndPlay (141);
} else {
BlockDef = (_root.lhands * _root.Block) + 1;
if (_root.Parry >= 1) {
RandRand = random(10);
if (RandRand <= _root.Parry) {
gotoAndPlay (114);
} else if (_root.block >= 1) {
RandRand = random(10);
if (RandRand <= _root.block) {
gotoAndPlay (103);
}
}
} else {
RandRand = random(10);
if (RandRand <= _root.block) {
gotoAndPlay (103);
}
}
play();
}
}
Symbol 1997 MovieClip Frame 97
_root.edamage = _root.eAtt - random(Defense);
if (_root.edamage <= 0) {
_root.edamage = 0;
}
_root.HP = _root.HP - _root.edamage;
Symbol 1997 MovieClip Frame 102
if (_root.HP <= 0) {
gotoAndPlay (152);
} else {
gotoAndPlay (3);
}
Symbol 1997 MovieClip Frame 108
_root.edamage = _root.eAtt - (Defense + BlockDef);
if (_root.edamage <= 0) {
_root.edamage = 0;
}
_root.HP = _root.HP - _root.edamage;
Symbol 1997 MovieClip Frame 113
if (_root.HP <= 0) {
gotoAndPlay (152);
} else {
gotoAndPlay (3);
}
Symbol 1997 MovieClip Frame 119
_root.edamage = _root.eAtt - (Defense + BlockDef);
if (_root.edamage <= 0) {
_root.edamage = 0;
}
_root.HP = _root.HP - _root.edamage;
Symbol 1997 MovieClip Frame 122
_root.damage = round(Attack * (_root.Parry * 0.1)) + 1;
_root.eHP = _root.eHP - _root.damage;
Symbol 1997 MovieClip Frame 129
if (_root.HP <= 0) {
gotoAndPlay (152);
} else if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (3);
}
Symbol 1997 MovieClip Frame 135
if (_root.Class != "Wizard") {
RandRand = random(_root.eSpeed + _root.Speed);
if (RandRand <= _root.Speed) {
_root.gotoAndPlay(14);
} else {
play();
}
} else {
RandRand = random((_root.eSpeed + _root.Speed) - 1);
if (RandRand <= (_root.Speed - 1)) {
_root.gotoAndPlay(14);
} else {
play();
}
}
Symbol 1997 MovieClip Frame 140
gotoAndPlay (92);
Symbol 1997 MovieClip Frame 145
lostturns = -1 * _root.SectionSkill;
_root.edamage = lostturns;
Symbol 1997 MovieClip Frame 151
_root.fight.Effect.gotoAndPlay(2);
gotoAndPlay (3);
Symbol 1997 MovieClip Frame 162
if (_root.amulet == "Pheonix Feather") {
_root.HP = math.round(_root.FullHP * 0.5);
_root.amulet = Empty;
_root.gotoAndPlay(3);
} else {
_root.HP = math.round(_root.FullHP * 0.1);
_root.FullHP = math.round(_root.FullHP * 0.9);
RandNum = random(11) + 1;
if (RandNum == 1) {
_root.Slot1a = Empty;
_root.Slot1 = Empty;
} else if (RandNum == 2) {
_root.Slot2a = Empty;
_root.Slot2 = Empty;
} else if (RandNum == 3) {
_root.Slot3a = Empty;
_root.Slot3 = Empty;
} else if (RandNum == 4) {
_root.Slot4a = Empty;
_root.Slot4 = Empty;
} else if (RandNum == 5) {
_root.Slot5a = Empty;
_root.Slot5 = Empty;
} else if (RandNum == 6) {
_root.Slot6a = Empty;
_root.Slot6 = Empty;
} else if (RandNum == 7) {
_root.Slot7a = Empty;
_root.Slot7 = Empty;
} else if (RandNum == 8) {
_root.Slot8a = Empty;
_root.Slot8 = Empty;
} else if (RandNum == 9) {
_root.Slot9a = Empty;
_root.Slot9 = Empty;
} else if (RandNum == 10) {
_root.Slot0a = Empty;
_root.Slot0 = Empty;
} else {
_root.Money = Empty;
}
RandNum = random(5) + 1;
_root.Money = math.round(_root.Money * (RandNum * 0.1));
_root.gotoAndPlay(14);
}
Symbol 1997 MovieClip Frame 173
RandRand = random(3);
if (RandRand == 0) {
gain2 = "Silver";
RandRand = random(10) + 1;
gain1 = RandRand;
Item = "Silver";
if (_root.Slot1 == Item) {
_root.Slot1a = _root.Slot1a + RandRand;
} else if (_root.Slot2 == Item) {
_root.Slot2a = _root.Slot2a + RandRand;
} else if (_root.Slot3 == Item) {
_root.Slot3a = _root.Slot3a + RandRand;
} else if (_root.Slot4 == Item) {
_root.Slot4a = _root.Slot4a + RandRand;
} else if (_root.Slot5 == Item) {
_root.Slot5a = _root.Slot5a + RandRand;
} else if (_root.Slot6 == Item) {
_root.Slot6a = _root.Slot6a + RandRand;
} else if (_root.Slot7 == Item) {
_root.Slot7a = _root.Slot7a + RandRand;
} else if (_root.Slot8 == Item) {
_root.Slot8a = _root.Slot8a + RandRand;
} else if (_root.Slot9 == Item) {
_root.Slot9a = _root.Slot9a + RandRand;
} else if (_root.Slot0 == Item) {
_root.Slot0a = _root.Slot0a + RandRand;
} else if (_root.Slot1 == Empty) {
_root.Slot1 = Item;
_root.Slot1a = RandRand;
} else if (_root.Slot2 == Empty) {
_root.Slot2 = Item;
_root.Slot2a = RandRand;
} else if (_root.Slot3 == Empty) {
_root.Slot3 = Item;
_root.Slot3a = RandRand;
} else if (_root.Slot4 == Empty) {
_root.Slot4 = Item;
_root.Slot4a = RandRand;
} else if (_root.Slot5 == Empty) {
_root.Slot5 = Item;
_root.Slot5a = RandRand;
} else if (_root.Slot6 == Empty) {
_root.Slot6 = Item;
_root.Slot6a = RandRand;
} else if (_root.Slot7 == Empty) {
_root.Slot7 = Item;
_root.Slot7a = RandRand;
} else if (_root.Slot8 == Empty) {
_root.Slot8 = Item;
_root.Slot8a = RandRand;
} else if (_root.Slot9 == Empty) {
_root.Slot9 = Item;
_root.Slot9a = RandRand;
} else if (_root.Slot0 == Empty) {
_root.Slot0 = Item;
_root.Slot0a = RandRand;
}
} else {
gain1 = "$";
RandRand = random(_root.eFullHP);
gain2 = RandRand;
_root.Money = _root.Money + RandRand;
}
RandRand = random((((((10 + _root.Stab) + _root.Stave) + _root.Slash) + _root.Maul) + _root.Block) + (_root.FullHP - 50));
if (RandRand == 0) {
if (_root.WeaponType == "Stab") {
_root.Stab = _root.Stab + 1;
gain3 = "Stab +1!";
} else if (_root.WeaponType == "Stave") {
_root.Stave = _root.Stave + 1;
gain3 = "Stave +1!";
} else if (_root.WeaponType == "Maul") {
_root.Maul = _root.Maul + 1;
gain3 = "Maul +1!";
} else if (_root.WeaponType == "Slash") {
_root.Slash = _root.Slash + 1;
gain3 = "Slash +1!";
} else {
_root.FullHP = _root.FullHP + 1;
gain3 = "HP +1!";
}
} else if (RandRand == 1) {
if (_root.Class == "Wizard") {
_root.FullMP = _root.FullMP + 1;
gain3 = "MP +1!";
} else {
_root.FullHP = _root.FullHP + 1;
gain3 = "HP +1!";
}
} else {
gain3 = Empty;
}
stop();
Symbol 2006 Button
on (release) {
gotoAndPlay (15);
}
Symbol 2016 Button
on (release) {
gotoAndPlay (130);
}
Symbol 2217 MovieClip Frame 1
Attack = ((((_root.Str + _root.heada) + _root.bodya) + _root.lhanda) + _root.feeta) + _root.rhanda;
Defense = (((_root.headd + _root.bodyd) + _root.lhandd) + _root.feetd) + _root.rhandd;
if ((_root.WeaponType == "Stave") && ((_root.Class == "Wizard") || (_root.Class == "Warrior"))) {
Skill = _root.rhands * _root.Stave;
} else if ((_root.WeaponType == "Maul") && (_root.Class == "Warrior")) {
Skill = _root.rhands * _root.Maul;
} else if (_root.WeaponType == "Stab") {
Skill = _root.rhands * _root.Stab;
} else if ((_root.WeaponType == "Slash") && ((_root.Class == "Thief") || (_root.Class == "Warrior"))) {
Skill = _root.rhands * _root.Slash;
} else {
Skill = _root.rhands + 1;
}
if (_root.Sneak >= 10) {
RandRand = random(_root.Sneak + 1);
if (RandRand <= _root.Sneak) {
gotoAndStop (2);
} else if (_root.eSpeed <= _root.Speed) {
gotoAndPlay (3);
} else {
gotoAndPlay (92);
}
} else if (_root.Sneak >= 0) {
RandRand = random(10);
if (RandRand <= _root.Sneak) {
gotoAndStop (2);
} else if (_root.eSpeed <= _root.Speed) {
gotoAndPlay (3);
} else {
gotoAndPlay (92);
}
}
Symbol 2217 MovieClip Frame 3
lostturns = lostturns + 1;
_root.elostturns = _root.elostturns + 1;
if (lostturns <= 0) {
gotoAndPlay (92);
}
if (_root.MP < _root.FullMP) {
_root.MP = _root.MP + ((((_root.Fireball + _root.Heal) + _root.Thunder) + _root.Ice) + _root.MShield);
if (_root.MP > _root.FullMP) {
_root.MP = _root.FullMP;
}
}
msturns = msturns + 1;
if (msturns <= 0) {
_root.fight.Effect.gotoAndPlay(16);
} else {
_root.fight.Effect.gotoAndStop(1);
}
if (_root.elostturns >= 1) {
_root.fight.wolf.Effect.gotoAndStop(1);
} else {
_root.fight.wolf.Effect.gotoAndPlay(2);
}
Symbol 2217 MovieClip Frame 14
gotoAndPlay (4);
Symbol 2217 MovieClip Frame 21
_root.damage = Attack + random(Skill);
_root.eHP = _root.eHP - _root.damage;
Symbol 2217 MovieClip Frame 25
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else if (_root.TwoHit >= 10) {
RandRand = random(_root.TwoHit + 1);
if (RandRand <= _root.TwoHit) {
gotoAndPlay (15);
} else {
gotoAndPlay (92);
}
} else if (_root.TwoHit >= 1) {
RandRand = random(10);
if (RandRand <= _root.TwoHit) {
gotoAndPlay (15);
} else {
gotoAndPlay (92);
}
} else {
gotoAndPlay (92);
}
Symbol 2217 MovieClip Frame 33
_root.damage = random((_root.Berserk + 1) * (Attack + Skill)) + Attack;
lostturns = -1 * _root.Berserk;
_root.eHP = _root.eHP - _root.damage;
Symbol 2217 MovieClip Frame 36
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (92);
}
Symbol 2217 MovieClip Frame 43
_root.damage = _root.Fireball * 10;
_root.MP = _root.MP - 10;
_root.eHP = _root.eHP - _root.damage;
Symbol 2217 MovieClip Frame 47
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (92);
}
Symbol 2217 MovieClip Frame 58
gotoAndPlay (92);
Symbol 2217 MovieClip Frame 65
if (_root.item == "Token") {
_root.damage = 30;
_root.eHP = _root.eHP - _root.damage;
} else {
_root.damage = 30;
_root.MP = _root.MP - (11 - _root.Thunder);
_root.eHP = _root.eHP - _root.damage;
}
_root.item = Empty;
Symbol 2217 MovieClip Frame 69
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (92);
}
Symbol 2217 MovieClip Frame 74
_root.MP = _root.MP - 10;
_root.elostturns = -1 * _root.Ice;
_root.damage = _root.elostturns;
_root.fight.wolf.Effect.gotoAndPlay(2);
Symbol 2217 MovieClip Frame 80
gotoAndPlay (92);
Symbol 2217 MovieClip Frame 87
_root.MP = _root.MP - 10;
msturns = -1 * _root.MShield;
_root.edamage = msturns;
Symbol 2217 MovieClip Frame 91
_root.fight.Effect.gotoAndPlay(16);
gotoAndPlay (92);
Symbol 2217 MovieClip Frame 92
if (_root.elostturns <= 0) {
gotoAndPlay (3);
} else {
RandRand = random(3);
if ((RandRand == 0) && (_root.eHP <= (0.2 * _root.eFullHP))) {
gotoAndPlay (141);
} else {
BlockDef = (_root.lhands * _root.Block) + 1;
if (_root.Parry >= 1) {
RandRand = random(10);
if (RandRand <= _root.Parry) {
gotoAndPlay (114);
} else if (_root.block >= 1) {
RandRand = random(10);
if (RandRand <= _root.block) {
gotoAndPlay (103);
}
}
} else {
RandRand = random(10);
if (RandRand <= _root.block) {
gotoAndPlay (103);
}
}
play();
}
}
Symbol 2217 MovieClip Frame 97
_root.edamage = _root.eAtt - random(Defense);
if (_root.edamage <= 0) {
_root.edamage = 0;
}
_root.HP = _root.HP - _root.edamage;
Symbol 2217 MovieClip Frame 102
if (_root.HP <= 0) {
gotoAndPlay (152);
} else {
gotoAndPlay (3);
}
Symbol 2217 MovieClip Frame 108
_root.edamage = _root.eAtt - (Defense + BlockDef);
if (_root.edamage <= 0) {
_root.edamage = 0;
}
_root.HP = _root.HP - _root.edamage;
Symbol 2217 MovieClip Frame 113
if (_root.HP <= 0) {
gotoAndPlay (152);
} else {
gotoAndPlay (3);
}
Symbol 2217 MovieClip Frame 119
_root.edamage = _root.eAtt - (Defense + BlockDef);
if (_root.edamage <= 0) {
_root.edamage = 0;
}
_root.HP = _root.HP - _root.edamage;
Symbol 2217 MovieClip Frame 122
_root.damage = round(Attack * (_root.Parry * 0.1)) + 1;
_root.eHP = _root.eHP - _root.damage;
Symbol 2217 MovieClip Frame 129
if (_root.HP <= 0) {
gotoAndPlay (152);
} else if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (3);
}
Symbol 2217 MovieClip Frame 135
if (_root.Class != "Wizard") {
RandRand = random(_root.eSpeed + _root.Speed);
if (RandRand <= _root.Speed) {
_root.gotoAndPlay(14);
} else {
play();
}
} else {
RandRand = random((_root.eSpeed + _root.Speed) - 1);
if (RandRand <= (_root.Speed - 1)) {
_root.gotoAndPlay(14);
} else {
play();
}
}
Symbol 2217 MovieClip Frame 140
gotoAndPlay (92);
Symbol 2217 MovieClip Frame 145
RandRand = random(_root.eSpeed + _root.Speed);
if (RandRand <= _root.eSpeed) {
_root.gotoAndPlay(14);
} else {
play();
}
Symbol 2217 MovieClip Frame 151
gotoAndPlay (3);
Symbol 2217 MovieClip Frame 162
if (_root.amulet == "Pheonix Feather") {
_root.HP = math.round(_root.FullHP * 0.5);
_root.amulet = Empty;
_root.gotoAndPlay(3);
} else {
_root.HP = math.round(_root.FullHP * 0.1);
_root.FullHP = math.round(_root.FullHP * 0.9);
RandNum = random(11) + 1;
if (RandNum == 1) {
_root.Slot1a = Empty;
_root.Slot1 = Empty;
} else if (RandNum == 2) {
_root.Slot2a = Empty;
_root.Slot2 = Empty;
} else if (RandNum == 3) {
_root.Slot3a = Empty;
_root.Slot3 = Empty;
} else if (RandNum == 4) {
_root.Slot4a = Empty;
_root.Slot4 = Empty;
} else if (RandNum == 5) {
_root.Slot5a = Empty;
_root.Slot5 = Empty;
} else if (RandNum == 6) {
_root.Slot6a = Empty;
_root.Slot6 = Empty;
} else if (RandNum == 7) {
_root.Slot7a = Empty;
_root.Slot7 = Empty;
} else if (RandNum == 8) {
_root.Slot8a = Empty;
_root.Slot8 = Empty;
} else if (RandNum == 9) {
_root.Slot9a = Empty;
_root.Slot9 = Empty;
} else if (RandNum == 10) {
_root.Slot0a = Empty;
_root.Slot0 = Empty;
} else {
_root.Money = Empty;
}
RandNum = random(5) + 1;
_root.Money = math.round(_root.Money * (RandNum * 0.1));
_root.gotoAndPlay(14);
}
Symbol 2217 MovieClip Frame 173
RandRand = random(3);
if (RandRand == 0) {
gain2 = "Bronze";
RandRand = random(10) + 1;
gain1 = RandRand;
Item = "Bronze";
if (_root.Slot1 == Item) {
_root.Slot1a = _root.Slot1a + RandRand;
} else if (_root.Slot2 == Item) {
_root.Slot2a = _root.Slot2a + RandRand;
} else if (_root.Slot3 == Item) {
_root.Slot3a = _root.Slot3a + RandRand;
} else if (_root.Slot4 == Item) {
_root.Slot4a = _root.Slot4a + RandRand;
} else if (_root.Slot5 == Item) {
_root.Slot5a = _root.Slot5a + RandRand;
} else if (_root.Slot6 == Item) {
_root.Slot6a = _root.Slot6a + RandRand;
} else if (_root.Slot7 == Item) {
_root.Slot7a = _root.Slot7a + RandRand;
} else if (_root.Slot8 == Item) {
_root.Slot8a = _root.Slot8a + RandRand;
} else if (_root.Slot9 == Item) {
_root.Slot9a = _root.Slot9a + RandRand;
} else if (_root.Slot0 == Item) {
_root.Slot0a = _root.Slot0a + RandRand;
} else if (_root.Slot1 == Empty) {
_root.Slot1 = Item;
_root.Slot1a = RandRand;
} else if (_root.Slot2 == Empty) {
_root.Slot2 = Item;
_root.Slot2a = RandRand;
} else if (_root.Slot3 == Empty) {
_root.Slot3 = Item;
_root.Slot3a = RandRand;
} else if (_root.Slot4 == Empty) {
_root.Slot4 = Item;
_root.Slot4a = RandRand;
} else if (_root.Slot5 == Empty) {
_root.Slot5 = Item;
_root.Slot5a = RandRand;
} else if (_root.Slot6 == Empty) {
_root.Slot6 = Item;
_root.Slot6a = RandRand;
} else if (_root.Slot7 == Empty) {
_root.Slot7 = Item;
_root.Slot7a = RandRand;
} else if (_root.Slot8 == Empty) {
_root.Slot8 = Item;
_root.Slot8a = RandRand;
} else if (_root.Slot9 == Empty) {
_root.Slot9 = Item;
_root.Slot9a = RandRand;
} else if (_root.Slot0 == Empty) {
_root.Slot0 = Item;
_root.Slot0a = RandRand;
}
} else {
gain1 = "$";
RandRand = random(_root.eFullHP);
gain2 = RandRand;
_root.Money = _root.Money + RandRand;
}
RandRand = random((((((10 + _root.Stab) + _root.Stave) + _root.Slash) + _root.Maul) + _root.Block) + (_root.FullHP - 50));
if (RandRand == 0) {
if (_root.WeaponType == "Stab") {
_root.Stab = _root.Stab + 1;
gain3 = "Stab +1!";
} else if (_root.WeaponType == "Stave") {
_root.Stave = _root.Stave + 1;
gain3 = "Stave +1!";
} else if (_root.WeaponType == "Maul") {
_root.Maul = _root.Maul + 1;
gain3 = "Maul +1!";
} else if (_root.WeaponType == "Slash") {
_root.Slash = _root.Slash + 1;
gain3 = "Slash +1!";
} else {
_root.FullHP = _root.FullHP + 1;
gain3 = "HP +1!";
}
} else if (RandRand == 1) {
if (_root.Class == "Wizard") {
_root.FullMP = _root.FullMP + 1;
gain3 = "MP +1!";
} else {
_root.FullHP = _root.FullHP + 1;
gain3 = "HP +1!";
}
} else {
gain3 = Empty;
}
stop();
Symbol 2223 Button
on (release) {
gotoAndPlay (15);
}
Symbol 2231 Button
on (release) {
gotoAndPlay (130);
}
Symbol 2432 MovieClip Frame 1
Attack = ((((_root.Str + _root.heada) + _root.bodya) + _root.lhanda) + _root.feeta) + _root.rhanda;
Defense = (((_root.headd + _root.bodyd) + _root.lhandd) + _root.feetd) + _root.rhandd;
if ((_root.WeaponType == "Stave") && ((_root.Class == "Wizard") || (_root.Class == "Warrior"))) {
Skill = _root.rhands * _root.Stave;
} else if ((_root.WeaponType == "Maul") && (_root.Class == "Warrior")) {
Skill = _root.rhands * _root.Maul;
} else if (_root.WeaponType == "Stab") {
Skill = _root.rhands * _root.Stab;
} else if ((_root.WeaponType == "Slash") && ((_root.Class == "Thief") || (_root.Class == "Warrior"))) {
Skill = _root.rhands * _root.Slash;
} else {
Skill = _root.rhands + 1;
}
if (_root.Sneak >= 10) {
RandRand = random(_root.Sneak + 1);
if (RandRand <= _root.Sneak) {
gotoAndStop (2);
} else if (_root.eSpeed <= _root.Speed) {
gotoAndPlay (3);
} else {
gotoAndPlay (92);
}
} else if (_root.Sneak >= 0) {
RandRand = random(10);
if (RandRand <= _root.Sneak) {
gotoAndStop (2);
} else if (_root.eSpeed <= _root.Speed) {
gotoAndPlay (3);
} else {
gotoAndPlay (92);
}
}
Symbol 2432 MovieClip Frame 3
lostturns = lostturns + 1;
_root.elostturns = _root.elostturns + 1;
if (lostturns <= 0) {
gotoAndPlay (92);
}
if (_root.MP < _root.FullMP) {
_root.MP = _root.MP + ((((_root.Fireball + _root.Heal) + _root.Thunder) + _root.Ice) + _root.MShield);
if (_root.MP > _root.FullMP) {
_root.MP = _root.FullMP;
}
}
msturns = msturns + 1;
if (msturns <= 0) {
_root.fight.Effect.gotoAndPlay(16);
} else {
_root.fight.Effect.gotoAndStop(1);
}
if (_root.elostturns >= 1) {
_root.fight.bat.Effect.gotoAndStop(1);
} else {
_root.fight.bat.Effect.gotoAndPlay(2);
}
Symbol 2432 MovieClip Frame 14
gotoAndPlay (4);
Symbol 2432 MovieClip Frame 21
_root.damage = Attack + random(Skill);
_root.eHP = _root.eHP - _root.damage;
Symbol 2432 MovieClip Frame 25
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else if (_root.TwoHit >= 10) {
RandRand = random(_root.TwoHit + 1);
if (RandRand <= _root.TwoHit) {
gotoAndPlay (15);
} else {
gotoAndPlay (92);
}
} else if (_root.TwoHit >= 1) {
RandRand = random(10);
if (RandRand <= _root.TwoHit) {
gotoAndPlay (15);
} else {
gotoAndPlay (92);
}
} else {
gotoAndPlay (92);
}
Symbol 2432 MovieClip Frame 33
_root.damage = random((_root.Berserk + 1) * (Attack + Skill)) + Attack;
lostturns = -1 * _root.Berserk;
_root.eHP = _root.eHP - _root.damage;
Symbol 2432 MovieClip Frame 36
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (92);
}
Symbol 2432 MovieClip Frame 43
_root.damage = _root.Fireball * 10;
_root.MP = _root.MP - 10;
_root.eHP = _root.eHP - _root.damage;
Symbol 2432 MovieClip Frame 47
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (92);
}
Symbol 2432 MovieClip Frame 58
gotoAndPlay (92);
Symbol 2432 MovieClip Frame 65
if (_root.item == "Token") {
_root.damage = 30;
_root.eHP = _root.eHP - _root.damage;
} else {
_root.damage = 30;
_root.MP = _root.MP - (11 - _root.Thunder);
_root.eHP = _root.eHP - _root.damage;
}
_root.item = Empty;
Symbol 2432 MovieClip Frame 69
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (92);
}
Symbol 2432 MovieClip Frame 74
_root.MP = _root.MP - 10;
_root.elostturns = -1 * _root.Ice;
_root.damage = _root.elostturns;
_root.fight.bat.Effect.gotoAndPlay(2);
Symbol 2432 MovieClip Frame 80
gotoAndPlay (92);
Symbol 2432 MovieClip Frame 87
_root.MP = _root.MP - 10;
msturns = -1 * _root.MShield;
_root.edamage = msturns;
Symbol 2432 MovieClip Frame 91
_root.fight.Effect.gotoAndPlay(16);
gotoAndPlay (92);
Symbol 2432 MovieClip Frame 92
if (_root.elostturns <= 0) {
gotoAndPlay (3);
} else {
RandRand = random(3);
if ((RandRand == 0) && (_root.eHP <= (0.4 * _root.eFullHP))) {
gotoAndPlay (141);
} else {
BlockDef = (_root.lhands * _root.Block) + 1;
if (_root.Parry >= 1) {
RandRand = random(10);
if (RandRand <= _root.Parry) {
gotoAndPlay (114);
} else if (_root.block >= 1) {
RandRand = random(10);
if (RandRand <= _root.block) {
gotoAndPlay (103);
}
}
} else {
RandRand = random(10);
if (RandRand <= _root.block) {
gotoAndPlay (103);
}
}
play();
}
}
Symbol 2432 MovieClip Frame 97
_root.edamage = _root.eAtt - random(Defense);
if (_root.edamage <= 0) {
_root.edamage = 0;
}
_root.HP = _root.HP - _root.edamage;
Symbol 2432 MovieClip Frame 102
if (_root.HP <= 0) {
gotoAndPlay (152);
} else {
gotoAndPlay (3);
}
Symbol 2432 MovieClip Frame 108
_root.edamage = _root.eAtt - (Defense + BlockDef);
if (_root.edamage <= 0) {
_root.edamage = 0;
}
_root.HP = _root.HP - _root.edamage;
Symbol 2432 MovieClip Frame 113
if (_root.HP <= 0) {
gotoAndPlay (152);
} else {
gotoAndPlay (3);
}
Symbol 2432 MovieClip Frame 119
_root.edamage = _root.eAtt - (Defense + BlockDef);
if (_root.edamage <= 0) {
_root.edamage = 0;
}
_root.HP = _root.HP - _root.edamage;
Symbol 2432 MovieClip Frame 122
_root.damage = round(Attack * (_root.Parry * 0.1)) + 1;
_root.eHP = _root.eHP - _root.damage;
Symbol 2432 MovieClip Frame 129
if (_root.HP <= 0) {
gotoAndPlay (152);
} else if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (3);
}
Symbol 2432 MovieClip Frame 135
if (_root.Class != "Wizard") {
RandRand = random(_root.eSpeed + _root.Speed);
if (RandRand <= _root.Speed) {
_root.gotoAndPlay(14);
} else {
play();
}
} else {
RandRand = random((_root.eSpeed + _root.Speed) - 1);
if (RandRand <= (_root.Speed - 1)) {
_root.gotoAndPlay(14);
} else {
play();
}
}
Symbol 2432 MovieClip Frame 140
gotoAndPlay (92);
Symbol 2432 MovieClip Frame 145
RandRand = random(_root.eSpeed + _root.Speed);
if (RandRand <= _root.eSpeed) {
_root.gotoAndPlay(14);
} else {
play();
}
Symbol 2432 MovieClip Frame 151
gotoAndPlay (3);
Symbol 2432 MovieClip Frame 162
if (_root.amulet == "Pheonix Feather") {
_root.HP = math.round(_root.FullHP * 0.5);
_root.amulet = Empty;
_root.gotoAndPlay(3);
} else {
_root.HP = math.round(_root.FullHP * 0.1);
_root.FullHP = math.round(_root.FullHP * 0.9);
RandNum = random(11) + 1;
if (RandNum == 1) {
_root.Slot1a = Empty;
_root.Slot1 = Empty;
} else if (RandNum == 2) {
_root.Slot2a = Empty;
_root.Slot2 = Empty;
} else if (RandNum == 3) {
_root.Slot3a = Empty;
_root.Slot3 = Empty;
} else if (RandNum == 4) {
_root.Slot4a = Empty;
_root.Slot4 = Empty;
} else if (RandNum == 5) {
_root.Slot5a = Empty;
_root.Slot5 = Empty;
} else if (RandNum == 6) {
_root.Slot6a = Empty;
_root.Slot6 = Empty;
} else if (RandNum == 7) {
_root.Slot7a = Empty;
_root.Slot7 = Empty;
} else if (RandNum == 8) {
_root.Slot8a = Empty;
_root.Slot8 = Empty;
} else if (RandNum == 9) {
_root.Slot9a = Empty;
_root.Slot9 = Empty;
} else if (RandNum == 10) {
_root.Slot0a = Empty;
_root.Slot0 = Empty;
} else {
_root.Money = Empty;
}
RandNum = random(5) + 1;
_root.Money = math.round(_root.Money * (RandNum * 0.1));
_root.gotoAndPlay(14);
}
Symbol 2432 MovieClip Frame 173
RandRand = random(3);
if (RandRand == 0) {
gain2 = "Copper";
RandRand = random(10) + 1;
gain1 = RandRand;
Item = "Copper";
if (_root.Slot1 == Item) {
_root.Slot1a = _root.Slot1a + RandRand;
} else if (_root.Slot2 == Item) {
_root.Slot2a = _root.Slot2a + RandRand;
} else if (_root.Slot3 == Item) {
_root.Slot3a = _root.Slot3a + RandRand;
} else if (_root.Slot4 == Item) {
_root.Slot4a = _root.Slot4a + RandRand;
} else if (_root.Slot5 == Item) {
_root.Slot5a = _root.Slot5a + RandRand;
} else if (_root.Slot6 == Item) {
_root.Slot6a = _root.Slot6a + RandRand;
} else if (_root.Slot7 == Item) {
_root.Slot7a = _root.Slot7a + RandRand;
} else if (_root.Slot8 == Item) {
_root.Slot8a = _root.Slot8a + RandRand;
} else if (_root.Slot9 == Item) {
_root.Slot9a = _root.Slot9a + RandRand;
} else if (_root.Slot0 == Item) {
_root.Slot0a = _root.Slot0a + RandRand;
} else if (_root.Slot1 == Empty) {
_root.Slot1 = Item;
_root.Slot1a = RandRand;
} else if (_root.Slot2 == Empty) {
_root.Slot2 = Item;
_root.Slot2a = RandRand;
} else if (_root.Slot3 == Empty) {
_root.Slot3 = Item;
_root.Slot3a = RandRand;
} else if (_root.Slot4 == Empty) {
_root.Slot4 = Item;
_root.Slot4a = RandRand;
} else if (_root.Slot5 == Empty) {
_root.Slot5 = Item;
_root.Slot5a = RandRand;
} else if (_root.Slot6 == Empty) {
_root.Slot6 = Item;
_root.Slot6a = RandRand;
} else if (_root.Slot7 == Empty) {
_root.Slot7 = Item;
_root.Slot7a = RandRand;
} else if (_root.Slot8 == Empty) {
_root.Slot8 = Item;
_root.Slot8a = RandRand;
} else if (_root.Slot9 == Empty) {
_root.Slot9 = Item;
_root.Slot9a = RandRand;
} else if (_root.Slot0 == Empty) {
_root.Slot0 = Item;
_root.Slot0a = RandRand;
}
} else {
gain1 = "$";
RandRand = random(_root.eFullHP);
gain2 = RandRand;
_root.Money = _root.Money + RandRand;
}
RandRand = random((((((10 + _root.Stab) + _root.Stave) + _root.Slash) + _root.Maul) + _root.Block) + (_root.FullHP - 50));
if (RandRand == 0) {
if (_root.WeaponType == "Stab") {
_root.Stab = _root.Stab + 1;
gain3 = "Stab +1!";
} else if (_root.WeaponType == "Stave") {
_root.Stave = _root.Stave + 1;
gain3 = "Stave +1!";
} else if (_root.WeaponType == "Maul") {
_root.Maul = _root.Maul + 1;
gain3 = "Maul +1!";
} else if (_root.WeaponType == "Slash") {
_root.Slash = _root.Slash + 1;
gain3 = "Slash +1!";
} else {
_root.FullHP = _root.FullHP + 1;
gain3 = "HP +1!";
}
} else if (RandRand == 1) {
if (_root.Class == "Wizard") {
_root.FullMP = _root.FullMP + 1;
gain3 = "MP +1!";
} else {
_root.FullHP = _root.FullHP + 1;
gain3 = "HP +1!";
}
} else {
gain3 = Empty;
}
stop();
Symbol 2441 Button
on (release) {
gotoAndPlay (15);
}
Symbol 2450 Button
on (release) {
gotoAndPlay (130);
}
Symbol 2651 MovieClip Frame 1
Attack = ((((_root.Str + _root.heada) + _root.bodya) + _root.lhanda) + _root.feeta) + _root.rhanda;
Defense = (((_root.headd + _root.bodyd) + _root.lhandd) + _root.feetd) + _root.rhandd;
if ((_root.WeaponType == "Stave") && ((_root.Class == "Wizard") || (_root.Class == "Warrior"))) {
Skill = _root.rhands * _root.Stave;
} else if ((_root.WeaponType == "Maul") && (_root.Class == "Warrior")) {
Skill = _root.rhands * _root.Maul;
} else if (_root.WeaponType == "Stab") {
Skill = _root.rhands * _root.Stab;
} else if ((_root.WeaponType == "Slash") && ((_root.Class == "Thief") || (_root.Class == "Warrior"))) {
Skill = _root.rhands * _root.Slash;
} else {
Skill = _root.rhands + 1;
}
if (_root.Sneak >= 10) {
RandRand = random(_root.Sneak + 1);
if (RandRand <= _root.Sneak) {
gotoAndStop (2);
} else if (_root.eSpeed <= _root.Speed) {
gotoAndPlay (3);
} else {
gotoAndPlay (92);
}
} else if (_root.Sneak >= 0) {
RandRand = random(10);
if (RandRand <= _root.Sneak) {
gotoAndStop (2);
} else if (_root.eSpeed <= _root.Speed) {
gotoAndPlay (3);
} else {
gotoAndPlay (92);
}
}
Symbol 2651 MovieClip Frame 3
lostturns = lostturns + 1;
msturns = msturns + 1;
_root.elostturns = _root.elostturns + 1;
if (lostturns <= 0) {
gotoAndPlay (92);
}
if (_root.MP < _root.FullMP) {
_root.MP = _root.MP + ((((_root.Fireball + _root.Heal) + _root.Thunder) + _root.Ice) + _root.MShield);
if (_root.MP > _root.FullMP) {
_root.MP = _root.FullMP;
}
}
if (msturns <= 0) {
_root.fight.Effect.gotoAndPlay(16);
} else if (lostturns <= 0) {
_root.fight.Effect.gotoAndPlay(2);
} else {
_root.fight.Effect.gotoAndStop(1);
}
if (_root.elostturns >= 1) {
_root.fight.spider.Effect.gotoAndStop(1);
} else {
_root.fight.spider.Effect.gotoAndPlay(2);
}
Symbol 2651 MovieClip Frame 14
gotoAndPlay (4);
Symbol 2651 MovieClip Frame 21
_root.damage = Attack + random(Skill);
_root.eHP = _root.eHP - _root.damage;
Symbol 2651 MovieClip Frame 25
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else if (_root.TwoHit >= 10) {
RandRand = random(_root.TwoHit + 1);
if (RandRand <= _root.TwoHit) {
gotoAndPlay (15);
} else {
gotoAndPlay (92);
}
} else if (_root.TwoHit >= 1) {
RandRand = random(10);
if (RandRand <= _root.TwoHit) {
gotoAndPlay (15);
} else {
gotoAndPlay (92);
}
} else {
gotoAndPlay (92);
}
Symbol 2651 MovieClip Frame 33
_root.damage = random((_root.Berserk + 1) * (Attack + Skill)) + Attack;
lostturns = -1 * _root.Berserk;
_root.eHP = _root.eHP - _root.damage;
Symbol 2651 MovieClip Frame 36
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (92);
}
Symbol 2651 MovieClip Frame 43
_root.damage = _root.Fireball * 10;
_root.MP = _root.MP - 10;
_root.eHP = _root.eHP - _root.damage;
Symbol 2651 MovieClip Frame 47
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (92);
}
Symbol 2651 MovieClip Frame 58
gotoAndPlay (92);
Symbol 2651 MovieClip Frame 65
if (_root.item == "Token") {
_root.damage = 30;
_root.eHP = _root.eHP - _root.damage;
} else {
_root.damage = 30;
_root.MP = _root.MP - (11 - _root.Thunder);
_root.eHP = _root.eHP - _root.damage;
}
_root.item = Empty;
Symbol 2651 MovieClip Frame 69
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (92);
}
Symbol 2651 MovieClip Frame 74
_root.MP = _root.MP - 10;
_root.elostturns = -1 * _root.Ice;
_root.damage = _root.elostturns;
_root.fight.spider.Effect.gotoAndPlay(2);
Symbol 2651 MovieClip Frame 80
gotoAndPlay (92);
Symbol 2651 MovieClip Frame 87
_root.MP = _root.MP - 10;
msturns = -1 * _root.MShield;
_root.edamage = msturns;
Symbol 2651 MovieClip Frame 91
_root.fight.Effect.gotoAndPlay(16);
gotoAndPlay (92);
Symbol 2651 MovieClip Frame 92
if (_root.elostturns <= 0) {
gotoAndPlay (3);
} else {
RandRand = random(3);
if ((RandRand == 0) && (lostturns >= 0)) {
gotoAndPlay (141);
} else {
BlockDef = (_root.lhands * _root.Block) + 1;
if (_root.Parry >= 1) {
RandRand = random(10);
if (RandRand <= _root.Parry) {
gotoAndPlay (114);
} else if (_root.block >= 1) {
RandRand = random(10);
if (RandRand <= _root.block) {
gotoAndPlay (103);
}
}
} else {
RandRand = random(10);
if (RandRand <= _root.block) {
gotoAndPlay (103);
}
}
play();
}
}
Symbol 2651 MovieClip Frame 97
_root.edamage = _root.eAtt - random(Defense);
if (_root.edamage <= 0) {
_root.edamage = 0;
}
_root.HP = _root.HP - _root.edamage;
Symbol 2651 MovieClip Frame 102
if (_root.HP <= 0) {
gotoAndPlay (152);
} else {
gotoAndPlay (3);
}
Symbol 2651 MovieClip Frame 108
_root.edamage = _root.eAtt - (Defense + BlockDef);
if (_root.edamage <= 0) {
_root.edamage = 0;
}
_root.HP = _root.HP - _root.edamage;
Symbol 2651 MovieClip Frame 113
if (_root.HP <= 0) {
gotoAndPlay (152);
} else {
gotoAndPlay (3);
}
Symbol 2651 MovieClip Frame 119
_root.edamage = _root.eAtt - (Defense + BlockDef);
if (_root.edamage <= 0) {
_root.edamage = 0;
}
_root.HP = _root.HP - _root.edamage;
Symbol 2651 MovieClip Frame 122
_root.damage = round(Attack * (_root.Parry * 0.1)) + 1;
_root.eHP = _root.eHP - _root.damage;
Symbol 2651 MovieClip Frame 129
if (_root.HP <= 0) {
gotoAndPlay (152);
} else if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (3);
}
Symbol 2651 MovieClip Frame 135
if (_root.Class != "Wizard") {
RandRand = random(_root.eSpeed + _root.Speed);
if (RandRand <= _root.Speed) {
_root.gotoAndPlay(14);
} else {
play();
}
} else {
RandRand = random((_root.eSpeed + _root.Speed) - 1);
if (RandRand <= (_root.Speed - 1)) {
_root.gotoAndPlay(14);
} else {
play();
}
}
Symbol 2651 MovieClip Frame 140
gotoAndPlay (92);
Symbol 2651 MovieClip Frame 145
lostturns = -1 * _root.SectionSkill;
_root.edamage = lostturns;
Symbol 2651 MovieClip Frame 151
_root.fight.Effect.gotoAndPlay(2);
gotoAndPlay (3);
Symbol 2651 MovieClip Frame 162
if (_root.amulet == "Pheonix Feather") {
_root.HP = math.round(_root.FullHP * 0.5);
_root.amulet = Empty;
_root.gotoAndPlay(3);
} else {
_root.HP = math.round(_root.FullHP * 0.1);
_root.FullHP = math.round(_root.FullHP * 0.9);
RandNum = random(11) + 1;
if (RandNum == 1) {
_root.Slot1a = Empty;
_root.Slot1 = Empty;
} else if (RandNum == 2) {
_root.Slot2a = Empty;
_root.Slot2 = Empty;
} else if (RandNum == 3) {
_root.Slot3a = Empty;
_root.Slot3 = Empty;
} else if (RandNum == 4) {
_root.Slot4a = Empty;
_root.Slot4 = Empty;
} else if (RandNum == 5) {
_root.Slot5a = Empty;
_root.Slot5 = Empty;
} else if (RandNum == 6) {
_root.Slot6a = Empty;
_root.Slot6 = Empty;
} else if (RandNum == 7) {
_root.Slot7a = Empty;
_root.Slot7 = Empty;
} else if (RandNum == 8) {
_root.Slot8a = Empty;
_root.Slot8 = Empty;
} else if (RandNum == 9) {
_root.Slot9a = Empty;
_root.Slot9 = Empty;
} else if (RandNum == 10) {
_root.Slot0a = Empty;
_root.Slot0 = Empty;
} else {
_root.Money = Empty;
}
RandNum = random(5) + 1;
_root.Money = math.round(_root.Money * (RandNum * 0.1));
_root.gotoAndPlay(14);
}
Symbol 2651 MovieClip Frame 173
RandRand = random(3);
if (RandRand == 0) {
gain2 = "Bronze";
RandRand = random(10) + 1;
gain1 = RandRand;
Item = "Bronze";
if (_root.Slot1 == Item) {
_root.Slot1a = _root.Slot1a + RandRand;
} else if (_root.Slot2 == Item) {
_root.Slot2a = _root.Slot2a + RandRand;
} else if (_root.Slot3 == Item) {
_root.Slot3a = _root.Slot3a + RandRand;
} else if (_root.Slot4 == Item) {
_root.Slot4a = _root.Slot4a + RandRand;
} else if (_root.Slot5 == Item) {
_root.Slot5a = _root.Slot5a + RandRand;
} else if (_root.Slot6 == Item) {
_root.Slot6a = _root.Slot6a + RandRand;
} else if (_root.Slot7 == Item) {
_root.Slot7a = _root.Slot7a + RandRand;
} else if (_root.Slot8 == Item) {
_root.Slot8a = _root.Slot8a + RandRand;
} else if (_root.Slot9 == Item) {
_root.Slot9a = _root.Slot9a + RandRand;
} else if (_root.Slot0 == Item) {
_root.Slot0a = _root.Slot0a + RandRand;
} else if (_root.Slot1 == Empty) {
_root.Slot1 = Item;
_root.Slot1a = RandRand;
} else if (_root.Slot2 == Empty) {
_root.Slot2 = Item;
_root.Slot2a = RandRand;
} else if (_root.Slot3 == Empty) {
_root.Slot3 = Item;
_root.Slot3a = RandRand;
} else if (_root.Slot4 == Empty) {
_root.Slot4 = Item;
_root.Slot4a = RandRand;
} else if (_root.Slot5 == Empty) {
_root.Slot5 = Item;
_root.Slot5a = RandRand;
} else if (_root.Slot6 == Empty) {
_root.Slot6 = Item;
_root.Slot6a = RandRand;
} else if (_root.Slot7 == Empty) {
_root.Slot7 = Item;
_root.Slot7a = RandRand;
} else if (_root.Slot8 == Empty) {
_root.Slot8 = Item;
_root.Slot8a = RandRand;
} else if (_root.Slot9 == Empty) {
_root.Slot9 = Item;
_root.Slot9a = RandRand;
} else if (_root.Slot0 == Empty) {
_root.Slot0 = Item;
_root.Slot0a = RandRand;
}
} else {
gain1 = "$";
RandRand = random(_root.eFullHP);
gain2 = RandRand;
_root.Money = _root.Money + RandRand;
}
RandRand = random((((((10 + _root.Stab) + _root.Stave) + _root.Slash) + _root.Maul) + _root.Block) + (_root.FullHP - 50));
if (RandRand == 0) {
if (_root.WeaponType == "Stab") {
_root.Stab = _root.Stab + 1;
gain3 = "Stab +1!";
} else if (_root.WeaponType == "Stave") {
_root.Stave = _root.Stave + 1;
gain3 = "Stave +1!";
} else if (_root.WeaponType == "Maul") {
_root.Maul = _root.Maul + 1;
gain3 = "Maul +1!";
} else if (_root.WeaponType == "Slash") {
_root.Slash = _root.Slash + 1;
gain3 = "Slash +1!";
} else {
_root.FullHP = _root.FullHP + 1;
gain3 = "HP +1!";
}
} else if (RandRand == 1) {
if (_root.Class == "Wizard") {
_root.FullMP = _root.FullMP + 1;
gain3 = "MP +1!";
} else {
_root.FullHP = _root.FullHP + 1;
gain3 = "HP +1!";
}
} else {
gain3 = Empty;
}
stop();
Symbol 2660 Button
on (release) {
gotoAndPlay (15);
}
Symbol 2667 Button
on (release) {
gotoAndPlay (130);
}
Symbol 2872 MovieClip Frame 1
Attack = ((((_root.Str + _root.heada) + _root.bodya) + _root.lhanda) + _root.feeta) + _root.rhanda;
Defense = (((_root.headd + _root.bodyd) + _root.lhandd) + _root.feetd) + _root.rhandd;
if ((_root.WeaponType == "Stave") && ((_root.Class == "Wizard") || (_root.Class == "Warrior"))) {
Skill = _root.rhands * _root.Stave;
} else if ((_root.WeaponType == "Maul") && (_root.Class == "Warrior")) {
Skill = _root.rhands * _root.Maul;
} else if (_root.WeaponType == "Stab") {
Skill = _root.rhands * _root.Stab;
} else if ((_root.WeaponType == "Slash") && ((_root.Class == "Thief") || (_root.Class == "Warrior"))) {
Skill = _root.rhands * _root.Slash;
} else {
Skill = _root.rhands + 1;
}
if (_root.Sneak >= 10) {
RandRand = random(_root.Sneak + 1);
if (RandRand <= _root.Sneak) {
gotoAndStop (2);
} else if (_root.eSpeed <= _root.Speed) {
gotoAndPlay (3);
} else {
gotoAndPlay (92);
}
} else if (_root.Sneak >= 0) {
RandRand = random(10);
if (RandRand <= _root.Sneak) {
gotoAndStop (2);
} else if (_root.eSpeed <= _root.Speed) {
gotoAndPlay (3);
} else {
gotoAndPlay (92);
}
}
Symbol 2872 MovieClip Frame 3
lostturns = lostturns + 1;
_root.elostturns = _root.elostturns + 1;
if (lostturns <= 0) {
gotoAndPlay (92);
}
if (_root.MP < _root.FullMP) {
_root.MP = _root.MP + ((((_root.Fireball + _root.Heal) + _root.Thunder) + _root.Ice) + _root.MShield);
if (_root.MP > _root.FullMP) {
_root.MP = _root.FullMP;
}
}
msturns = msturns + 1;
if (msturns <= 0) {
_root.fight.Effect.gotoAndPlay(16);
} else {
_root.fight.Effect.gotoAndStop(1);
}
if (_root.elostturns >= 1) {
_root.fight.griffin.Effect.gotoAndStop(1);
} else {
_root.fight.griffin.Effect.gotoAndPlay(2);
}
Symbol 2872 MovieClip Frame 14
gotoAndPlay (4);
Symbol 2872 MovieClip Frame 21
_root.damage = Attack + random(Skill);
_root.eHP = _root.eHP - _root.damage;
Symbol 2872 MovieClip Frame 25
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else if (_root.TwoHit >= 10) {
RandRand = random(_root.TwoHit + 1);
if (RandRand <= _root.TwoHit) {
gotoAndPlay (15);
} else {
gotoAndPlay (92);
}
} else if (_root.TwoHit >= 1) {
RandRand = random(10);
if (RandRand <= _root.TwoHit) {
gotoAndPlay (15);
} else {
gotoAndPlay (92);
}
} else {
gotoAndPlay (92);
}
Symbol 2872 MovieClip Frame 33
_root.damage = random((_root.Berserk + 1) * (Attack + Skill)) + Attack;
lostturns = -1 * _root.Berserk;
_root.eHP = _root.eHP - _root.damage;
Symbol 2872 MovieClip Frame 36
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (92);
}
Symbol 2872 MovieClip Frame 43
_root.damage = _root.Fireball * 10;
_root.MP = _root.MP - 10;
_root.eHP = _root.eHP - _root.damage;
Symbol 2872 MovieClip Frame 47
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (92);
}
Symbol 2872 MovieClip Frame 58
gotoAndPlay (92);
Symbol 2872 MovieClip Frame 65
if (_root.item == "Token") {
_root.damage = 30;
_root.eHP = _root.eHP - _root.damage;
} else {
_root.damage = 30;
_root.MP = _root.MP - (11 - _root.Thunder);
_root.eHP = _root.eHP - _root.damage;
}
_root.item = Empty;
Symbol 2872 MovieClip Frame 69
if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (92);
}
Symbol 2872 MovieClip Frame 74
_root.MP = _root.MP - 10;
_root.elostturns = -1 * _root.Ice;
_root.damage = _root.elostturns;
_root.fight.mouse.Effect.gotoAndPlay(2);
Symbol 2872 MovieClip Frame 80
gotoAndPlay (92);
Symbol 2872 MovieClip Frame 87
_root.MP = _root.MP - 10;
msturns = -1 * _root.MShield;
_root.edamage = msturns;
Symbol 2872 MovieClip Frame 91
_root.fight.Effect.gotoAndPlay(16);
gotoAndPlay (92);
Symbol 2872 MovieClip Frame 92
if (_root.elostturns <= 0) {
gotoAndPlay (3);
} else {
RandRand = random(3);
if ((RandRand == 0) && (_root.eHP <= (0.5 * _root.eFullHP))) {
gotoAndPlay (141);
} else {
BlockDef = (_root.lhands * _root.Block) + 1;
if (_root.Parry >= 1) {
RandRand = random(10);
if (RandRand <= _root.Parry) {
gotoAndPlay (114);
} else if (_root.block >= 1) {
RandRand = random(10);
if (RandRand <= _root.block) {
gotoAndPlay (103);
}
}
} else {
RandRand = random(10);
if (RandRand <= _root.block) {
gotoAndPlay (103);
}
}
play();
}
}
Symbol 2872 MovieClip Frame 97
_root.edamage = _root.eAtt - random(Defense);
if (_root.edamage <= 0) {
_root.edamage = 0;
}
_root.HP = _root.HP - _root.edamage;
Symbol 2872 MovieClip Frame 102
if (_root.HP <= 0) {
gotoAndPlay (152);
} else {
gotoAndPlay (3);
}
Symbol 2872 MovieClip Frame 108
_root.edamage = _root.eAtt - (Defense + BlockDef);
if (_root.edamage <= 0) {
_root.edamage = 0;
}
_root.HP = _root.HP - _root.edamage;
Symbol 2872 MovieClip Frame 113
if (_root.HP <= 0) {
gotoAndPlay (152);
} else {
gotoAndPlay (3);
}
Symbol 2872 MovieClip Frame 119
_root.edamage = _root.eAtt - (Defense + BlockDef);
if (_root.edamage <= 0) {
_root.edamage = 0;
}
_root.HP = _root.HP - _root.edamage;
Symbol 2872 MovieClip Frame 122
_root.damage = round(Attack * (_root.Parry * 0.1)) + 1;
_root.eHP = _root.eHP - _root.damage;
Symbol 2872 MovieClip Frame 129
if (_root.HP <= 0) {
gotoAndPlay (152);
} else if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (3);
}
Symbol 2872 MovieClip Frame 135
if (_root.Class != "Wizard") {
RandRand = random(_root.eSpeed + _root.Speed);
if (RandRand <= _root.Speed) {
_root.gotoAndPlay(14);
} else {
play();
}
} else {
RandRand = random((_root.eSpeed + _root.Speed) - 1);
if (RandRand <= (_root.Speed - 1)) {
_root.gotoAndPlay(14);
} else {
play();
}
}
Symbol 2872 MovieClip Frame 140
gotoAndPlay (92);
Symbol 2872 MovieClip Frame 146
_root.edamage = _root.eAtt;
if (_root.edamage <= 0) {
_root.edamage = 0;
}
_root.HP = _root.HP - _root.edamage;
Symbol 2872 MovieClip Frame 151
if (_root.HP <= 0) {
gotoAndPlay (152);
} else if (_root.eHP <= 0) {
gotoAndPlay (163);
} else {
gotoAndPlay (3);
}
Symbol 2872 MovieClip Frame 162
if (_root.amulet == "Pheonix Feather") {
_root.HP = math.round(_root.FullHP * 0.5);
_root.amulet = Empty;
_root.gotoAndPlay(3);
} else {
_root.HP = math.round(_root.FullHP * 0.1);
_root.FullHP = math.round(_root.FullHP * 0.9);
RandNum = random(11) + 1;
if (RandNum == 1) {
_root.Slot1a = Empty;
_root.Slot1 = Empty;
} else if (RandNum == 2) {
_root.Slot2a = Empty;
_root.Slot2 = Empty;
} else if (RandNum == 3) {
_root.Slot3a = Empty;
_root.Slot3 = Empty;
} else if (RandNum == 4) {
_root.Slot4a = Empty;
_root.Slot4 = Empty;
} else if (RandNum == 5) {
_root.Slot5a = Empty;
_root.Slot5 = Empty;
} else if (RandNum == 6) {
_root.Slot6a = Empty;
_root.Slot6 = Empty;
} else if (RandNum == 7) {
_root.Slot7a = Empty;
_root.Slot7 = Empty;
} else if (RandNum == 8) {
_root.Slot8a = Empty;
_root.Slot8 = Empty;
} else if (RandNum == 9) {
_root.Slot9a = Empty;
_root.Slot9 = Empty;
} else if (RandNum == 10) {
_root.Slot0a = Empty;
_root.Slot0 = Empty;
} else {
_root.Money = Empty;
}
RandNum = random(5) + 1;
_root.Money = math.round(_root.Money * (RandNum * 0.1));
_root.gotoAndPlay(14);
}
Symbol 2872 MovieClip Frame 173
RandRand = random(3);
if (RandRand == 0) {
gain2 = "Golden Apple";
RandRand = random(10) + 1;
gain1 = RandRand;
Item = "Golden Apple";
if (_root.Slot1 == Item) {
_root.Slot1a = _root.Slot1a + RandRand;
} else if (_root.Slot2 == Item) {
_root.Slot2a = _root.Slot2a + RandRand;
} else if (_root.Slot3 == Item) {
_root.Slot3a = _root.Slot3a + RandRand;
} else if (_root.Slot4 == Item) {
_root.Slot4a = _root.Slot4a + RandRand;
} else if (_root.Slot5 == Item) {
_root.Slot5a = _root.Slot5a + RandRand;
} else if (_root.Slot6 == Item) {
_root.Slot6a = _root.Slot6a + RandRand;
} else if (_root.Slot7 == Item) {
_root.Slot7a = _root.Slot7a + RandRand;
} else if (_root.Slot8 == Item) {
_root.Slot8a = _root.Slot8a + RandRand;
} else if (_root.Slot9 == Item) {
_root.Slot9a = _root.Slot9a + RandRand;
} else if (_root.Slot0 == Item) {
_root.Slot0a = _root.Slot0a + RandRand;
} else if (_root.Slot1 == Empty) {
_root.Slot1 = Item;
_root.Slot1a = RandRand;
} else if (_root.Slot2 == Empty) {
_root.Slot2 = Item;
_root.Slot2a = RandRand;
} else if (_root.Slot3 == Empty) {
_root.Slot3 = Item;
_root.Slot3a = RandRand;
} else if (_root.Slot4 == Empty) {
_root.Slot4 = Item;
_root.Slot4a = RandRand;
} else if (_root.Slot5 == Empty) {
_root.Slot5 = Item;
_root.Slot5a = RandRand;
} else if (_root.Slot6 == Empty) {
_root.Slot6 = Item;
_root.Slot6a = RandRand;
} else if (_root.Slot7 == Empty) {
_root.Slot7 = Item;
_root.Slot7a = RandRand;
} else if (_root.Slot8 == Empty) {
_root.Slot8 = Item;
_root.Slot8a = RandRand;
} else if (_root.Slot9 == Empty) {
_root.Slot9 = Item;
_root.Slot9a = RandRand;
} else if (_root.Slot0 == Empty) {
_root.Slot0 = Item;
_root.Slot0a = RandRand;
}
} else {
gain1 = "$";
RandRand = random(_root.eFullHP);
gain2 = RandRand;
_root.Money = _root.Money + RandRand;
}
RandRand = random((((_root.Stab + _root.Stave) + _root.Slash) + _root.Maul) + _root.Block);
if (RandRand == 0) {
if (_root.WeaponType == "Stab") {
_root.Stab = _root.Stab + 1;
gain3 = "Stab +1!";
} else if (_root.WeaponType == "Stave") {
_root.Stave = _root.Stave + 1;
gain3 = "Stave +1!";
} else if (_root.WeaponType == "Maul") {
_root.Maul = _root.Maul + 1;
gain3 = "Maul +1!";
} else if (_root.WeaponType == "Slash") {
_root.Slash = _root.Slash + 1;
gain3 = "Slash +1!";
} else {
_root.RealAdventures = _root.RealAdventures + 1;
_root.Adventures = _root.Adventures + 1;
gain3 = "Adventures +1!";
}
} else if (RandRand == 1) {
if (_root.Class == "Wizard") {
_root.FullMP = _root.FullMP + 1;
gain3 = "MP +1!";
} else {
_root.FullHP = _root.FullHP + 1;
gain3 = "HP +1!";
}
} else {
gain3 = Empty;
}
stop();
Symbol 2879 Button
on (release) {
Money = 200;
HP = 50;
FullHP = 50;
MP = 0 + wiz;
FullMP = 0 + wiz;
_root.head = Empty;
_root.heada = 0;
_root.headd = 0;
_root.amulet = Empty;
_root.rhand = Empty;
_root.rhanda = 0;
_root.rhandd = 0;
_root.rhands = 0;
_root.body = Empty;
_root.bodya = 0;
_root.bodyd = 0;
_root.lhand = Empty;
_root.lhanda = 0;
_root.lhandd = 0;
_root.lhands = 0;
_root.feet = Empty;
_root.feeta = 0;
_root.feetd = 0;
_root.Maul = 0;
_root.Stab = 0;
_root.Stave = 0;
_root.Slash = 0;
_root.Block = 0;
_root.Fireball = 0;
_root.Heal = 0;
_root.Thunder = 0;
_root.Ice = 0;
_root.MShield = 0;
_root.Berserk = 0;
_root.TwoHit = 0;
_root.Parry = 0;
_root.Sneak = 0;
_root.Burgle = 0;
_root.Backstab = 0;
_root.Vertical = "";
_root.Horizontal = "";
_root.Adventures = 20;
_root.RealAdventures = 20;
_root.Str = _root.Str + realStr;
_root.Speed = _root.Speed + realSpeed;
_root.WeaponType = None;
gotoAndPlay (2);
}
on (rollOver) {
if ((Race == Empty) || (Class == Empty)) {
_root.error._visible = true;
}
if (Sex == Empty) {
Sex = "Sir";
}
}
Symbol 2880 Button
on (release) {
Class = "Warrior";
Str = 3;
Speed = 0;
wiz = 0;
}
Symbol 2881 Button
on (release) {
Class = "Thief";
Str = 1;
Speed = 2;
wiz = 0;
}
Symbol 2882 Button
on (release) {
Class = "Wizard";
Speed = 1;
Str = 0;
wiz = 10;
}
Symbol 2886 Button
on (release) {
Race = "Troll";
realStr = 5;
realSpeed = 1;
_root.exe = -1;
_root.why = 1;
_root.Where = "Swamp";
_root.align = -50;
}
Symbol 2887 Button
on (release) {
Race = "Human";
realStr = 3;
realSpeed = 3;
_root.exe = -1;
_root.why = -1;
_root.Where = "Fields";
_root.align = 0;
}
Symbol 2890 Button
on (release) {
Race = "Elf";
realStr = 2;
realSpeed = 4;
_root.exe = 1;
_root.why = -1;
_root.Where = "Forest";
_root.align = 50;
}
Symbol 2895 Button
on (release) {
_root.error._visible = false;
}
Symbol 2898 Button
on (release) {
Money = "Help";
gotoAndStop (2);
}
Symbol 2901 Button
on (release) {
_root.credits._visible = true;
_root.credits.gotoAndStop(2);
}
Symbol 2902 Button
on (release) {
_root.credits._visible = true;
_root.credits.gotoAndStop(1);
}
Symbol 2904 Button
on (release) {
_root.credits._visible = false;
}
Symbol 2918 MovieClip Frame 1
stop();