Frame 1
flashlevel = 0;
iconlevel = 0;
Symbol 9 MovieClip [reaction] Frame 9
removeMovieClip(this);
Symbol 12 MovieClip [flash2] Frame 2
setProperty(fl1, _rotation , random(360));
setProperty(fl2, _rotation , random(360));
Symbol 12 MovieClip [flash2] Frame 17
_root.flashlevel = 0;
stop();
this.removeMovieClip();
Symbol 15 MovieClip [addingtin] Frame 11
_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;
_root.bodyone.attachMovie("reaction", "f", _root.flashlevel, {_x:250, _y:218.5, _rotation:random(100)});
_root.bodyone.attachMovie("flash2", "f", _root.flashlevel + 10, {_x:250, _y:218.5, _rotation:random(100)});
Symbol 15 MovieClip [addingtin] Frame 13
_root.flashlevel = _root.flashlevel + 1;
this.removeMovieClip();
Symbol 18 MovieClip [addingiron] Frame 11
_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;
}
_root.bodyone.attachMovie("reaction", "f", _root.flashlevel, {_x:250, _y:218.5, _rotation:random(100)});
_root.bodyone.attachMovie("flash2", "f", _root.flashlevel + 10, {_x:250, _y:218.5, _rotation:random(100)});
Symbol 18 MovieClip [addingiron] Frame 13
_root.flashlevel = _root.flashlevel + 1;
this.removeMovieClip();
Symbol 30 Button
on (release) {
_root.bookon.gotoandstop(2);
play();
_root.finish.gotoandstop(1);
_root.outcome = "";
_root.earth1 = 0;
_root.fire1 = 0;
_root.water1 = 0;
_root.air1 = 0;
_root.aether1 = 0;
_root.magic = 0;
_root.magnetic = 0;
_root.ironic = 0;
_root.copperic = 0;
_root.goldic = 0;
_root.silveric = 0;
_root.meteoric = 0;
_root.quartzic = 0;
_root.metalic = 0;
_root.carbonic = 0;
_root.wateruse = 0;
_root.sanduse = 0;
_root.emberuse = 0;
_root.permeantuse = 0;
}
Symbol 74 Button
on (release) {
_root.bodyone.attachMovie("addingiron", "addiron", _root.iconlevel + 10, {_x:0, _y:0});
_root.iconlevel = _root.iconlevel + 1;
}
Symbol 77 Button
on (release) {
_root.bodyone.attachMovie("addingtin", "addtin", _root.iconlevel + 10, {_x:0, _y:0});
_root.iconlevel = _root.iconlevel + 1;
}
Symbol 80 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 83 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 86 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 89 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 92 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 95 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 98 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 101 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 104 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 107 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 110 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 113 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 116 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 119 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 122 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 125 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 128 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 131 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 134 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 137 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 140 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 143 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 146 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 149 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 152 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 155 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 158 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 161 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 164 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 167 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 170 Button
on (release) {
_root.earth1 = _root.earth1 + 8;
_root.fire1 = _root.fire1 + (random(2) + 19);
_root.aether1 = _root.aether1 + 1;
_root.magic = 1;
}
Symbol 173 Button
on (release) {
_root.earth1 = _root.earth1 + 8;
_root.water1 = _root.water1 + (random(2) + 19);
_root.aether1 = _root.aether1 + 1;
_root.magic = 1;
}
Symbol 176 Button
on (release) {
_root.air1 = _root.air1 + (random(20) + 30);
_root.aether1 = _root.aether1 + (random(20) + 30);
_root.magical = 1;
}
Symbol 179 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 182 Button
on (release) {
_root.earth1 = _root.earth1 + 8;
_root.water1 = _root.water1 + 5;
_root.air1 = _root.air1 + 5;
_root.silveric = 1;
}
Symbol 185 Button
on (release) {
_root.earth1 = _root.earth1 + 8;
_root.air1 = _root.air1 + (random(2) + 19);
_root.aether1 = _root.aether1 + 1;
_root.magic = 1;
}
Symbol 188 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 191 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 208 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 1
stop();
Symbol 214 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 1
stop();
Symbol 224 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 225 Button
on (release) {
_root.bookon.gotoandstop(2);
gotoAndStop (2);
_root.finish.gotoandstop(1);
_root.outcome = "";
_root.earth1 = 0;
_root.fire1 = 0;
_root.water1 = 0;
_root.air1 = 0;
_root.aether1 = 0;
_root.magic = 0;
_root.magnetic = 0;
_root.ironic = 0;
_root.copperic = 0;
_root.goldic = 0;
_root.silveric = 0;
_root.meteoric = 0;
_root.quartzic = 0;
_root.metalic = 0;
_root.carbonic = 0;
_root.wateruse = 0;
_root.sanduse = 0;
_root.emberuse = 0;
_root.permeantuse = 0;
}
Symbol 229 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 2
stop();
Symbol 229 MovieClip Frame 3
stop();
outcome2 = _root.outcome;
Symbol 232 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 2
stop();
_root.outcome = "Fail";
for (var i in _root.bodyone) {
if (typeof(_root.bodyone[i]) == "movieclip") {
removeMovieClip(_root.bodyone[i]);
}
}
_root.bodyone.nextframe();
Symbol 232 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";
}
for (var i in _root.bodyone) {
if (typeof(_root.bodyone[i]) == "movieclip") {
removeMovieClip(_root.bodyone[i]);
}
}
_root.bodyone.nextframe();
Symbol 257 Button
on (release) {
nextFrame();
}
Symbol 263 Button
on (release) {
nextFrame();
}
Symbol 270 Button
on (release) {
prevFrame();
}
Symbol 284 MovieClip Frame 1
stop();
Symbol 285 Button
on (release) {
prevFrame();
}
Symbol 286 MovieClip Frame 1
stop();
Symbol 287 MovieClip Frame 1
stop();
Symbol 287 MovieClip Frame 2
stop();