Symbol 54 Button
on (release) {
_root.earth1 = _root.earth1 + (random(3) + 9);
_root.fire1 = _root.fire1 + (random(5) + 1);
_root.water1 = _root.water1 + (random(5) + 1);
_root.air1 = _root.air1 + (random(5) + 1);
_root.ironic = 1;
_root.metalic = 1;
if (_root.magnetic == 0) {
_root.magnetic = 1;
} else {
_root.magnetic = 0;
}
}
Symbol 57 Button
on (release) {
_root.earth1 = _root.earth1 + (random(3) + 12);
_root.fire1 = _root.fire1 + (random(3) + 1);
_root.water1 = _root.water1 + (random(5) + 1);
_root.air1 = _root.air1 + (random(4) + 1);
_root.metalic = 1;
}
Symbol 60 Button
on (release) {
_root.earth1 = _root.earth1 + (random(2) + 11);
_root.fire1 = _root.fire1 + (random(2) + 1);
_root.water1 = _root.water1 + (random(4) + 1);
_root.air1 = _root.air1 + (random(4) + 1);
_root.metalic = 1;
_root.copperic = 1;
}
Symbol 63 Button
on (release) {
_root.earth1 = _root.earth1 + (random(2) + 13);
_root.fire1 = _root.fire1 + (random(5) + 1);
_root.water1 = _root.water1 + (random(2) + 1);
_root.air1 = _root.air1 + (random(2) + 1);
_root.goldic = 1;
_root.metalic = 1;
}
Symbol 66 Button
on (release) {
_root.earth1 = _root.earth1 + (random(2) + 12);
_root.fire1 = _root.fire1 + (random(2) + 1);
_root.water1 = _root.water1 + (random(5) + 1);
_root.air1 = _root.air1 + (random(2) + 1);
_root.silveric = 1;
_root.metalic = 1;
}
Symbol 69 Button
on (release) {
_root.earth1 = _root.earth1 + (random(2) + 10);
_root.fire1 = _root.fire1 + (random(5) + 1);
_root.water1 = _root.water1 + (random(5) + 1);
_root.air1 = _root.air1 + (random(2) + 1);
_root.aether1 = _root.aether1 + (random(2) + 1);
_root.metalic = 1;
_root.magic = 1;
}
Symbol 72 Button
on (release) {
_root.earth1 = _root.earth1 + (random(16) + 14);
_root.fire1 = _root.fire1 + (random(2) + 1);
_root.water1 = _root.water1 + (random(4) + 1);
_root.air1 = _root.air1 + (random(5) + 1);
_root.aether1 = _root.aether1 + (random(2) + 1);
_root.metalic = 1;
}
Symbol 75 Button
on (release) {
_root.earth1 = _root.earth1 + (random(3) + 13);
_root.fire1 = _root.fire1 + (random(4) + 2);
_root.water1 = _root.water1 + (random(4) + 2);
_root.air1 = _root.air1 + (random(4) + 2);
_root.metalic = 1;
}
Symbol 78 Button
on (release) {
_root.earth1 = _root.earth1 + (random(3) + 11);
_root.fire1 = _root.fire1 + (random(2) + 1);
_root.water1 = _root.water1 + (random(2) + 1);
_root.air1 = _root.air1 + (random(3) + 1);
_root.metalic = 1;
}
Symbol 81 Button
on (release) {
_root.earth1 = _root.earth1 + (random(3) + 10);
_root.fire1 = _root.fire1 + (random(4) + 1);
_root.water1 = _root.water1 + (random(2) + 1);
_root.air1 = _root.air1 + (random(4) + 1);
_root.metalic = 1;
_root.meteoric = 1;
if (_root.magnetic == 0) {
_root.magnetic = 1;
} else {
_root.magnetic = 0;
}
}
Symbol 84 Button
on (release) {
_root.earth1 = _root.earth1 + (random(8) + 10);
_root.fire1 = _root.fire1 + (random(5) + 3);
_root.water1 = _root.water1 + (random(2) + 8);
_root.air1 = _root.air1 + (random(5) + 3);
_root.magic = 1;
}
Symbol 87 Button
on (release) {
_root.earth1 = _root.earth1 + (random(8) + 15);
_root.air1 = _root.air1 + (random(2) + 1);
_root.aether1 = _root.aether1 + (random(2) + 1);
_root.carbonic = 1;
}
Symbol 90 Button
on (release) {
_root.earth1 = _root.earth1 + (random(8) + 11);
_root.fire1 = _root.fire1 + (random(2) + 3);
_root.water1 = _root.water1 + (random(2) + 1);
_root.air1 = _root.air1 + (random(2) + 2);
_root.aether1 = _root.aether1 + (random(2) + 1);
_root.quartzic = 1;
}
Symbol 93 Button
on (release) {
_root.earth1 = _root.earth1 + (random(9) + 8);
_root.fire1 = _root.fire1 + (random(2) + 1);
_root.air1 = _root.air1 + (random(2) + 6);
_root.aether1 = _root.aether1 + (random(5) + 1);
_root.carbonic = 1;
}
Symbol 96 Button
on (release) {
_root.earth1 = _root.earth1 + (random(8) + 10);
_root.fire1 = _root.fire1 + (random(2) + 1);
_root.water1 = _root.water1 + (random(3) + 4);
_root.air1 = _root.air1 + (random(3) + 4);
_root.carbonic = 1;
_root.quartzic = 1;
}
Symbol 99 Button
on (release) {
_root.earth1 = _root.earth1 + (random(8) + 12);
_root.fire1 = _root.fire1 + (random(2) + 1);
_root.water1 = _root.water1 + (random(2) + 1);
_root.air1 = _root.air1 + (random(4) + 4);
_root.aether1 = _root.aether1 + (random(2) + 1);
_root.meteoric = 0;
_root.quartzic = 1;
}
Symbol 102 Button
on (release) {
_root.earth1 = _root.earth1 + (random(8) + 10);
_root.fire1 = _root.fire1 + (random(3) + 7);
_root.air1 = _root.air1 + (random(2) + 6);
_root.aether1 = _root.aether1 + (random(2) + 1);
_root.meteoric = 0;
}
Symbol 105 Button
on (release) {
_root.earth1 = _root.earth1 + (random(8) + 10);
_root.fire1 = _root.fire1 + (random(2) + 2);
_root.water1 = _root.water1 + (random(5) + 3);
_root.air1 = _root.air1 + (random(3) + 7);
_root.ironic = 1;
if (_root.magnetic == 0) {
_root.magnetic = 1;
} else {
_root.magnetic = 0;
}
}
Symbol 108 Button
on (release) {
_root.earth1 = _root.earth1 + (random(8) + 9);
_root.water1 = _root.water1 + (random(3) + 5);
_root.air1 = _root.air1 + (random(3) + 4);
_root.aether1 = _root.aether1 + (random(2) + 1);
_root.magic = 1;
_root.quartzic = 1;
}
Symbol 111 Button
on (release) {
_root.earth1 = _root.earth1 + (random(8) + 10);
_root.fire1 = _root.fire1 + (random(3) + 4);
_root.water1 = _root.water1 + (random(3) + 4);
_root.air1 = _root.air1 - (random(3) + 4);
}
Symbol 114 Button
on (release) {
_root.water1 = _root.water1 + math.pow(random(7) + 1, _root.wateruse);
_root.aether1 = _root.aether1 - 10;
_root.wateruse = _root.wateruse + 1;
}
Symbol 117 Button
on (release) {
_root.earth1 = _root.earth1 + math.pow(random(7) + 1, _root.sanduse);
_root.aether1 = _root.aether1 - 10;
_root.sanduse = _root.sanduse + 1;
}
Symbol 120 Button
on (release) {
_root.fire1 = _root.fire1 + math.pow(random(7) + 1, _root.emberuse);
_root.aether1 = _root.aether1 - 10;
_root.emberuse = _root.emberuse + 1;
_root.carbonic = 1;
}
Symbol 123 Button
on (release) {
_root.air1 = _root.air1 + math.pow(random(7) + 1, _root.permeantuse);
_root.aether1 = _root.aether1 - 10;
_root.permeantuse = _root.permeantuse + 1;
}
Symbol 126 Button
on (release) {
if (_root.water1 >= 10) {
_root.water1 = _root.water1 - (random(5) + 5);
_root.aether1 = _root.aether1 + (random(5) + 1);
_root.magic = 0;
_root.ironic = 0;
}
}
Symbol 129 Button
on (release) {
if (_root.earth1 >= 10) {
_root.earth1 = _root.earth1 - (random(5) + 5);
_root.aether1 = _root.aether1 + (random(5) + 1);
_root.goldic = 0;
_root.metalic = 0;
}
}
Symbol 132 Button
on (release) {
if (_root.fire1 >= 10) {
_root.fire1 = _root.fire1 - (random(5) + 5);
_root.aether1 = _root.aether1 + (random(5) + 1);
_root.silveric = 0;
_root.quartzic = 0;
}
}
Symbol 135 Button
on (release) {
if (_root.air1 >= 10) {
_root.air1 = _root.air1 - (random(5) + 5);
_root.aether1 = _root.aether1 + (random(5) + 1);
_root.carbonic = 0;
_root.copperic = 0;
}
}
Symbol 138 Button
on (release) {
_root.earth1 = _root.earth1 + (random(10) + 13);
_root.fire1 = _root.fire1 + (random(5) + 15);
_root.water1 = _root.water1 + (random(5) + 5);
_root.aether1 = _root.aether1 + 1;
_root.carbonic = 1;
}
Symbol 141 Button
on (release) {
_root.earth1 = _root.earth1 + (random(10) + 23);
_root.fire1 = _root.fire1 - 5;
_root.water1 = _root.water1 + (random(10) + 10);
_root.air1 = _root.air1 + (random(5) + 1);
_root.meteoric = 0;
}
Symbol 144 Button
on (release) {
_root.earth1 = _root.earth1 + 13;
_root.fire1 = _root.fire1 * 5;
_root.water1 = _root.water1 + (random(5) + 35);
_root.air1 = _root.air1 + (random(5) + 15);
_root.ironic = 1;
_root.magic = 1;
}
Symbol 147 Button
on (release) {
_root.earth1 = _root.earth1 + (random(2) + 18);
_root.water1 = _root.water1 + (random(5) + 15);
_root.air1 = _root.air1 + (random(5) + 15);
_root.carbonic = 1;
_root.magic = 1;
}
Symbol 150 Button
on (release) {
_root.earth1 = _root.earth1 + 8;
_root.fire1 = _root.fire1 + (random(2) + 19);
_root.aether1 = _root.aether1 + 1;
_root.magic = 1;
}
Symbol 153 Button
on (release) {
_root.earth1 = _root.earth1 + 8;
_root.water1 = _root.water1 + (random(2) + 19);
_root.aether1 = _root.aether1 + 1;
_root.magic = 1;
}
Symbol 156 Button
on (release) {
_root.air1 = _root.air1 + (random(20) + 30);
_root.aether1 = _root.aether1 + (random(20) + 30);
_root.magical = 1;
}
Symbol 159 Button
on (release) {
_root.earth1 = _root.earth1 + (random(3) + 15);
_root.fire1 = _root.fire1 + (random(5) + 1);
_root.aether1 = _root.aether1 + (random(5) + 15);
_root.meteoric = 1;
_root.metalic = 1;
if (_root.magnetic == 0) {
_root.magnetic = 1;
} else {
_root.magnetic = 0;
}
}
Symbol 162 Button
on (release) {
_root.earth1 = _root.earth1 + 8;
_root.water1 = _root.water1 + 5;
_root.air1 = _root.air1 + 5;
_root.silveric = 1;
}
Symbol 165 Button
on (release) {
_root.earth1 = _root.earth1 + 8;
_root.air1 = _root.air1 + (random(2) + 19);
_root.aether1 = _root.aether1 + 1;
_root.magic = 1;
}
Symbol 168 Button
on (release) {
_root.earth1 = _root.earth1 + 8;
_root.fire1 = _root.fire1 + 1;
_root.water1 = _root.water1 + 1;
_root.air1 = _root.air1 + 1;
_root.aether1 = _root.aether1 + (random(2) + 19);
_root.meteoric = 0;
_root.magic = 0;
}
Symbol 171 Button
on (release) {
_root.fire1 = _root.fire1 + (random(20) - 10);
_root.water1 = _root.water1 + (random(20) - 10);
_root.air1 = _root.air1 + (random(20) - 10);
_root.aether1 = _root.aether1 + (random(10) + 10);
if (_root.magic == 0) {
_root.magic = 1;
} else {
_root.magic = 0;
}
_root.meteoric = 0;
}
Symbol 188 MovieClip Frame 1
stop();
Symbol 191 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 2
if (_root.fire1 >= 100) {
if (_root.earth1 >= 100) {
_root.finish.gotoandstop(3);
} else {
_root.finish.gotoandstop(2);
}
}
if (_root.water1 >= 100) {
if (_root.earth1 >= 100) {
_root.finish.gotoandstop(3);
} else {
_root.finish.gotoandstop(2);
}
}
if (_root.air1 >= 100) {
if (_root.earth1 >= 100) {
_root.finish.gotoandstop(3);
} else {
_root.finish.gotoandstop(2);
}
}
if (_root.earth1 >= 100) {
_root.finish.gotoandstop(3);
}
if (_root.aether1 >= 100) {
if (_root.earth1 >= 100) {
_root.finish.gotoandstop(3);
} else {
_root.finish.gotoandstop(2);
}
}
if (_root.earth1 < 0) {
_root.earth1 = 0;
}
if (_root.fire1 < 0) {
_root.fire1 = 0;
}
if (_root.water1 < 0) {
_root.water1 = 0;
}
if (_root.air1 < 0) {
_root.air1 = 0;
}
if (_root.aether1 < 0) {
_root.aether1 = 0;
}
if (_root.earth1 > 100) {
_root.earth1 = 100;
}
if (_root.fire1 > 100) {
_root.fire1 = 100;
}
if (_root.water1 > 100) {
_root.water1 = 100;
}
if (_root.air1 > 100) {
_root.air1 = 100;
}
if (_root.aether1 > 100) {
_root.aether1 = 100;
}
_parent.level2.level1earth.gotoAndStop(1 + Number(_root.earth1));
_parent.level2.level1fire.gotoAndStop(1 + Number(_root.fire1));
_parent.level2.level1water.gotoAndStop(1 + Number(_root.water1));
_parent.level2.level1air.gotoAndStop(1 + Number(_root.air1));
_parent.level2.level1aether.gotoAndStop(1 + Number(_root.aether1));
Symbol 213 MovieClip Frame 1
stop();
Symbol 213 MovieClip Frame 9
removeMovieClip(this);
Symbol 219 Button
on (release) {
nextFrame();
}
Symbol 228 Button
on (release) {
nextFrame();
}
Symbol 237 Button
on (release) {
prevFrame();
}
Symbol 251 MovieClip Frame 1
stop();
Symbol 252 Button
on (release) {
prevFrame();
}
Symbol 253 MovieClip Frame 1
stop();
Symbol 257 MovieClip Frame 1
stop();
Symbol 257 MovieClip Frame 2
stop();
Symbol 257 MovieClip Frame 3
stop();
if (((((((_root.aether1 > 75) && (_root.magic == 1)) && (_root.magnetic == 0)) && (_root.metalic == 1)) && (_root.fire1 > 50)) && (_root.water1 > 40)) && (_root.air1 > 30)) {
_root.outcome = "Absurbium";
} else if ((((((((_root.aether1 > 50) && (_root.goldic == 1)) && (_root.silveric == 1)) && (_root.metalic == 1)) && (_root.magic == 1)) && (_root.carbonic == 1)) && (_root.air1 > 50)) && (_root.water1 > _root.fire1)) {
_root.outcome = "Alchemic platinum";
} else if ((((((_root.aether1 > 40) && (_root.ironic == 1)) && (_root.metalic == 1)) && (_root.fire1 > _root.aether1)) && (_root.air1 > 20)) && (_root.water1 > 0)) {
_root.outcome = "Fever iron";
} else if (((((_root.aether1 > 30) && (_root.metalic == 1)) && (_root.fire1 > 0)) && (_root.air1 > 35)) && (_root.water1 > 5)) {
_root.outcome = "Aurorun";
} else if (((((((_root.aether1 > 27) && (_root.metalic == 1)) && (_root.ironic == 1)) && (_root.goldic == 1)) && (_root.fire1 > 15)) && (_root.air1 > 0)) && (_root.water1 > 0)) {
_root.outcome = "Alchemic gold";
} else if ((((((_root.aether1 > 25) && (_root.carbonic == 1)) && (_root.metalic == 1)) && (_root.fire1 > 0)) && (_root.air1 > _root.fire1)) && (_root.water1 > 35)) {
_root.outcome = "Meteorine";
} else if (((((_root.aether1 > 19) && (_root.metalic == 1)) && (_root.fire1 > 10)) && (_root.air1 > 20)) && (_root.water1 < 10)) {
_root.outcome = "Starmetal";
} else if (((((_root.aether1 > 17) && (_root.quartzic == 1)) && (_root.fire1 > _root.air1)) && (_root.air1 < 20)) && (_root.water1 > 20)) {
_root.outcome = "Frystalline";
} else if (((((((_root.aether1 > 15) && (_root.carbonic == 1)) && (_root.ironic == 1)) && (_root.quartzic == 1)) && (_root.fire1 > 0)) && (_root.air1 < 30)) && (_root.water1 > 0)) {
_root.outcome = "Blended quartz";
} else if ((((((_root.aether1 > 14) && (_root.carbonic == 1)) && (_root.metalic == 1)) && (_root.fire1 < _root.air1)) && (_root.fire1 > _root.water1)) && (_root.water1 > 5)) {
_root.outcome = "Adamantium";
} else if (((((_root.aether1 > 13) && (_root.metalic == 1)) && (_root.fire1 < 10)) && (_root.air1 > 10)) && (_root.water1 > 10)) {
_root.outcome = "Calomel";
} else if ((((((_root.aether1 > 12) && (_root.carbonic == 1)) && (_root.metalic == 1)) && (_root.ironic == 1)) && (_root.fire1 > 15)) && (_root.air1 > 15)) {
_root.outcome = "Firesteel";
} else if (((((((_root.aether1 > 11) && (_root.carbonic == 1)) && (_root.metalic == 1)) && (_root.ironic == 1)) && (_root.fire1 > 5)) && (_root.air1 > 5)) && (_root.water1 > 16)) {
_root.outcome = "Pearlsteel";
} else if (((((((_root.aether1 > 10) && (_root.metalic == 1)) && (_root.ironic == 1)) && (_root.silveric == 1)) && (_root.fire1 < 30)) && (_root.air1 > 15)) && (_root.water1 < 30)) {
_root.outcome = "Alchemic silver";
} else if (((((((_root.aether1 > 9) && (_root.metalic == 1)) && (_root.ironic == 1)) && (_root.copperic == 1)) && (_root.fire1 > 10)) && (_root.air1 < 30)) && (_root.water1 > 20)) {
_root.outcome = "Alchemic copper";
} else if ((((((_root.aether1 > 8) && (_root.metalic == 1)) && (_root.silveric == 1)) && (_root.fire1 > 5)) && (_root.air1 > 20)) && (_root.water1 > 5)) {
_root.outcome = "Mithril";
} else if ((((_root.fire1 < 25) && (_root.carbonic == 1)) && (_root.metalic == 1)) && (_root.ironic == 1)) {
_root.outcome = "Pig iron";
} else if ((((_root.fire1 < 30) && (_root.metalic == 1)) && (_root.ironic == 1)) && (_root.water1 > 0)) {
_root.outcome = "iron";
} else if ((((_root.fire1 < 35) && (_root.carbonic == 1)) && (_root.metalic == 1)) && (_root.ironic == 1)) {
_root.outcome = "steel";
} else if ((((_root.fire1 < 40) && (_root.water1 > _root.fire1)) && (_root.metalic == 1)) && (_root.ironic == 1)) {
_root.outcome = "cold iron";
} else if (((_root.aether1 > 15) && (_root.aether1 < 40)) && (_root.ironic == 1)) {
_root.outcome = "Alchemic fools gold";
} else if (((_root.aether1 > 10) && (_root.aether1 < 45)) && (_root.silveric == 1)) {
_root.outcome = "Lycanthopic alloy";
} else if (((_root.aether1 > 5) && (_root.aether1 < 35)) && (_root.copperic == 1)) {
_root.outcome = "Snarble bronze";
} else if (((_root.aether1 > 20) && (_root.aether1 < 50)) && (_root.magnetic == 1)) {
_root.outcome = "Alnico";
} else {
_root.outcome = "Slag";
}
Symbol 275 Button
on (release) {
finish.gotoandstop(1);
outcome = "";
earth1 = 0;
fire1 = 0;
water1 = 0;
air1 = 0;
aether1 = 0;
magic = 0;
magnetic = 0;
ironic = 0;
copperic = 0;
goldic = 0;
silveric = 0;
meteoric = 0;
quartzic = 0;
metalic = 0;
carbonic = 0;
wateruse = 0;
sanduse = 0;
emberuse = 0;
permeantuse = 0;
}