Combined Code
movieClip 15 {
}
movieClip 16 treantBlood {
frame 49 {
this.removeMovieClip();
}
}
movieClip 18 {
}
movieClip 20 {
}
movieClip 22 {
}
movieClip 24 shatterveilExplosion {
instance of movieClip 20 {
onClipEvent (load) {
i = 0;
while (i < 200) {
var particle = _root.attachMovie('shatterpart', 'shatterpart' + i, 34300 + i, {'_x': _parent._x, '_y': _parent._y - 100});
particle.lifetime = 0;
particle.dirX = Math.random() * 25;
particle.dirY = Math.random() * 25;
scale = 50 + random(100);
particle._xscale = scale;
particle._yscale = scale;
particle.onEnterFrame = function () {
this.lifetime += 1;
if (this.lifetime > 127) {
this.removeMovieClip();
}
this._x += this.dirX;
this._y += this.dirY;
};
++i;
}
}
}
instance of movieClip 22 {
onClipEvent (load) {
i = 0;
while (i <= _root.eCount) {
if (this.hitTest(_root['enemy' + i].hitBox)) {
_root['enemy' + i].flying = true;
dmg = _root.magic + _root.magic * 5 + 40;
_root['enemy' + i].health -= dmg;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root['enemy' + i]._x, '_y': _root['enemy' + i]._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 6854397;
if (_root['enemy' + i].health <= 0) {
_root['enemy' + i].dead = true;
_root['enemy' + i].gotoAndPlay('hit-strong');
}
if (_root.pc._x > _root['enemy' + i]._x) {
_root['enemy' + i].accelerator = -16;
_root['enemy' + i].decelerator = 4;
} else {
_root['enemy' + i].accelerator = 16;
_root['enemy' + i].decelerator = 4;
}
_root['enemy' + i].gotoAndPlay('hit-weak');
}
++i;
}
}
}
frame 5 {
this.removeMovieClip();
}
}
movieClip 26 shatterpart3 {
}
movieClip 28 shatterpart2 {
}
movieClip 30 shatterpart {
}
movieClip 33 {
}
// unknown tag 88 length 105
// unknown tag 88 length 143
button 44 {
on (release) {
_root.pauseChar = false;
_root.pc.play();
_root.missions.removeMovieClip();
}
}
movieClip 47 {
}
button 50 {
on (release) {
_root.vcam.messages.gotoAndStop(2);
_root.forestDiscovered = true;
_root.vcam.newQuest.play();
_root.onMission = true;
_root.pauseChar = false;
_root.curMission = 2;
_root.m1active = false;
_root.pc.play();
_root.missions.removeMovieClip();
}
}
// unknown tag 88 length 69
// unknown tag 88 length 76
button 56 {
on (release) {
_root.canyonDiscovered = true;
_root.vcam.newQuest.play();
_root.pauseChar = false;
_root.onMission = true;
_root.m2active = true;
_root.curMission = 3;
_root.pc.play();
_root.missions.removeMovieClip();
}
}
button 60 {
on (release) {
_root.cathedralDiscovered = true;
_root.vcam.newQuest.play();
_root.pauseChar = false;
_root.onMission = true;
_root.m3active = true;
_root.curMission = 5;
_root.pc.play();
_root.missions.removeMovieClip();
}
}
movieClip 68 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 69 missions {
frame 1 {
_root.pauseChar = true;
_root.pc.gotoAndPlay('pray');
}
frame 25 {
stop();
}
instance of movieClip 68 {
onClipEvent (load) {
if (_root.cathedralDiscovered != true && _root.onMission != true) {
if (_root.finalUnlocked == true) {
this.gotoAndStop(4);
}
}
if (_root.canyonDiscovered != true && _root.onMission != true) {
this.gotoAndStop(3);
}
if (_root.forestDiscovered != true && _root.onMission != true) {
this.gotoAndStop(2);
}
if (_root.gameCleared == true) {
this.gotoAndStop(5);
}
}
}
}
button 75 {
on (release) {
gotoAndStop(2);
}
}
button 80 {
on (release) {
gotoAndStop(3);
}
}
button 86 {
on (release) {
this.removeMovieClip();
}
}
button 91 {
on (release) {
toggleHighQuality();
}
}
// unknown tag 88 length 149
movieClip 97 {
frame 1 {
stop();
}
}
movieClip 105 {
}
button 117 {
on (release) {
desc = 'Slayers are divinely chosen warriors that are granted agelessness in exchange for their unending loyalty to the mysterious godlike figure, Veil. Loyalty usually includes the assasination of certain individuals deemed to be \'corrupt\' or \'evil\' by Veil, and Slayers are not permitted to question their objectives. Those who defy the wishes of Veil not only lose their agelessness, but slowly become corrupt from the power granted to them. Without Veil\'s guidance, Slayers eventually turn into \'Fallen Slayers,\' and before long, all humanity is lost.<br>Eventually, Veil will order Fallen Slayers to be targets of assasination, to preserve balance.';
}
}
// unknown tag 88 length 66
button 123 {
on (release) {
desc = 'Veil is a seemingly ancient, godlike being that is responsible for watching over the Slayers. Other than being responsible for granting Slayers agelessness, Veil\'s characteristics are mostly unknown.';
}
}
button 127 {
on (release) {
_parent.desc = 'If a Slayer becomes defiant against Veil, or knowingly chooses to ignore his duties, the power inside of him becomes unregulated, leading to gradual insanity. Once Fallen, Slayers lose all human control and seemingly wish to destroy everything that lives. That is what is written by Veil, however...';
}
}
movieClip 128 {
}
button 132 {
on (release) {
desc = 'A combination of \'valor and Veil,\' Valeron is the home temple of the Slayers. Although Slayers do not interact with each other much, there are several guards at the temple that defend the Veilsphere, the conduit between this world and Veil.';
}
}
button 136 {
on (release) {
_parent.desc = 'Skyward City is a newly formed settlement by various nobles and warriors. The inhabitants mostly despise Slayers, calling them insane for believing they are speaking to a god. From their hatred, an arena was constructed to allow the city\'s warriors to coax Slayers into fighting them for glory. The general idea is if the people of Skyward City can prove they can best Slayers in combat, there is no need for the Slayers altogether.';
}
}
movieClip 137 {
}
movieClip 138 {
frame 1 {
stop();
}
instance of movieClip 128 {
onClipEvent (load) {
if (_root.codex_fs == true) {
this.gotoAndStop(2);
} else {
stop();
}
}
}
instance of movieClip 137 {
onClipEvent (load) {
if (_root.codex_skyward == true) {
this.gotoAndStop(2);
} else {
stop();
}
}
}
}
movieClip 139 menuScreen {
frame 1 {
_root.quality = 'high';
}
frame 1 {
stop();
_root.stopTime();
_root.timeIsFlowing = false;
_root.pauseChar = true;
_root.sw1.volume = 0;
this.swapDepths(100000);
}
instance of movieClip 97 {
onClipEvent (load) {
this.gotoAndStop(_root.curMission);
}
}
frame 2 {
strText.text = 'Strength: ' + _root.strength;
dexText.text = 'Dexterity: ' + _root.dex;
magText.text = 'Magic: ' + _root.magic;
consText.text = 'Constitution: ' + _root.cons;
energyText.text = 'Energy: ' + _root.energy;
xpText.text = 'Level ' + _root.level + ' XP: (' + _root.xp + '/' + _root.maxXp + ')';
}
}
button 144 {
on (release) {
if (select == false) {
if (_root.area == 'ruins' || _root.area == undefined) {
select = true;
ruinsValeron.play();
track.gotoAndStop(2);
}
if (_root.area == 'forest') {
select = true;
forestValeron.play();
track.gotoAndStop(2);
}
if (_root.area == 'canyon') {
select = true;
canyonValeron.play();
track.gotoAndStop(2);
}
if (_root.area == 'arena') {
select = true;
arenaValeron.play();
track.gotoAndStop(2);
}
if (_root.area == 'sandstorm') {
select = true;
sandstormValeron.play();
track.gotoAndStop(2);
}
if (_root.area == 'scott') {
_parent.select = true;
track.gotoAndStop(2);
_root.killAll();
_root.area = 'valeron';
_root.gotoAndStop('valeron');
_root.saveGame();
_parent.removeMovieClip();
}
}
}
}
button 145 {
on (release) {
if (_parent.select == false) {
if (_root.area == 'valeron') {
_parent.select = true;
_parent.valeronForest.play();
track.gotoAndStop(3);
}
if (_root.area == 'entgrove') {
_root.killAll();
_root.area = 'forest';
_root.gotoAndStop('forest');
_root.pc._x = 6500;
_root.saveGame();
_parent.removeMovieClip();
}
}
}
}
movieClip 148 {
frame 1 {
stop();
}
}
button 149 {
on (release) {
if (_parent.select == false) {
if (_root.area == 'valeron') {
_parent.select = true;
_parent.valeronCanyon.play();
track.gotoAndStop(4);
} else {
if (_root.area == 'ruins') {
_parent.select = true;
_parent.ruinsCanyon.play();
track.gotoAndStop(4);
}
}
}
}
}
movieClip 152 {
frame 1 {
stop();
}
}
button 154 {
on (release) {
if (_parent.select == false) {
if (_root.area == 'valeron') {
_parent.select = true;
_parent.valeronArena.play();
track.gotoAndStop(5);
}
}
}
}
movieClip 157 {
frame 1 {
stop();
}
}
button 158 {
on (release) {
if (_parent.select == false) {
if (_root.area == 'valeron') {
if (_root.gameCleared != true) {
_parent.select = true;
_parent.valeronCathedral.play();
track.gotoAndStop(6);
}
}
}
}
}
movieClip 161 {
}
movieClip 162 {
frame 1 {
stop();
}
}
button 163 {
on (release) {
if (_parent.select == false) {
if (_root.area == 'forest') {
if (_root.pc._x > 5000) {
_parent.select = true;
track.gotoAndStop(7);
_root.killAll();
_root.area = 'entgrove';
_root.gotoAndStop('entgrove');
_root.saveGame();
_parent.removeMovieClip();
}
}
}
}
}
movieClip 167 {
}
movieClip 168 {
frame 1 {
stop();
}
}
button 169 {
on (release) {
if (_parent.select == false) {
if (_root.area == 'valeron') {
_parent.select = true;
_parent.valeronSandstorm.play();
}
}
}
}
movieClip 172 {
frame 1 {
stop();
}
}
button 173 {
on (release) {
if (_parent.select == false) {
if (_root.area == 'valeron') {
_parent.select = true;
track.gotoAndStop(2);
_root.killAll();
_root.area = 'scott';
_root.gotoAndStop('scott');
_root.saveGame();
_parent.removeMovieClip();
}
}
}
}
movieClip 174 {
frame 1 {
stop();
}
}
movieClip 187 {
frame 1 {
stop();
}
frame 2 {
stopAllSounds();
_root.killAll();
_parent.tips.gotoAndStop(9);
}
frame 564 {
_root.killAll();
_root.area = 'valeron';
_root.gotoAndStop('valeron');
_root.saveGame();
_parent.removeMovieClip();
}
}
movieClip 193 {
frame 1 {
stop();
}
frame 2 {
_parent.tips.gotoAndPlay(random(8) + 1);
}
frame 96 {
_root.killAll();
_root.area = 'forest';
_root.gotoAndStop('forest');
_root.saveGame();
_parent.removeMovieClip();
}
}
movieClip 199 {
frame 1 {
stop();
}
frame 101 {
_root.killAll();
_root.area = 'valeron';
_root.gotoAndStop('valeron');
_root.saveGame();
_parent.removeMovieClip();
}
}
movieClip 206 {
frame 1 {
stop();
}
frame 188 {
_root.killAll();
_root.area = 'canyon';
_root.gotoAndStop('canyon');
_root.saveGame();
_parent.removeMovieClip();
}
}
movieClip 216 {
frame 1 {
stop();
}
frame 283 {
_root.killAll();
_root.area = 'canyon';
_root.gotoAndStop('canyon');
_root.saveGame();
_parent.removeMovieClip();
}
}
movieClip 218 {
frame 1 {
stop();
}
frame 3 {
_root.killAll();
_root.area = 'valeron';
_root.gotoAndStop('valeron');
_root.saveGame();
_parent.removeMovieClip();
}
}
movieClip 221 {
frame 1 {
stop();
}
frame 43 {
_root.killAll();
_root.area = 'genesis';
_root.gotoAndStop('genesis');
_root.saveGame();
_parent.removeMovieClip();
}
}
movieClip 231 {
frame 1 {
stop();
}
frame 2 {
_root.arena.removeMovieClip();
_parent.tips.gotoAndPlay(random(8) + 1);
}
frame 222 {
_root.killAll();
_root.area = 'valeron';
_root.gotoAndStop('valeron');
_root.saveGame();
_parent.removeMovieClip();
}
}
movieClip 241 {
frame 1 {
stop();
}
frame 2 {
_parent.tips.gotoAndPlay(random(8) + 1);
}
frame 155 {
_root.killAll();
_root.area = 'arena';
_root.gotoAndStop('arena');
_root.saveGame();
_parent.removeMovieClip();
}
}
movieClip 252 {
frame 1 {
stop();
}
frame 188 {
_root.killAll();
_root.area = 'arena';
_root.gotoAndStop('arena');
_root.saveGame();
_parent.removeMovieClip();
}
}
movieClip 259 {
frame 1 {
stop();
}
frame 99 {
_root.killAll();
_root.area = 'sandstorm';
_root.gotoAndStop('sandstorm');
_root.saveGame();
_parent.removeMovieClip();
}
}
movieClip 265 {
frame 1 {
stop();
}
frame 85 {
_root.killAll();
_root.area = 'valeron';
_root.gotoAndStop('valeron');
_root.saveGame();
_parent.removeMovieClip();
}
}
movieClip 268 {
}
// unknown tag 88 length 82
movieClip 271 {
frame 1 {
stop();
}
}
// unknown tag 88 length 87
movieClip 276 {
}
movieClip 277 {
frame 290 {
stop();
}
instance of movieClip 276 {
onClipEvent (load) {
if (_root.firstRun != true) {
this._visible = true;
_root.firstRun = true;
} else {
this._visible = false;
}
}
}
}
// unknown tag 88 length 115
movieClip 288 {
frame 1 {
stop();
}
}
// unknown tag 88 length 36
button 294 {
on (release) {
if (select == false) {
this.removeMovieClip();
}
}
}
movieClip 295 map {
frame 1 {
_root.timeIsFlowing = false;
_root.pauseChar = true;
_root.stopTime();
}
frame 1 {
stop();
}
frame 1 {
select = false;
}
instance of movieClip 148 {
onClipEvent (load) {
if (_root.forestDiscovered == true) {
this.gotoAndStop(2);
}
if (_root.area == 'arena') {
this._alpha = 40;
}
if (_root.area == 'canyon') {
this._alpha = 40;
}
}
}
instance of movieClip 152 {
onClipEvent (load) {
if (_root.canyonDiscovered == true) {
this.gotoAndStop(2);
}
if (_root.area == 'forest') {
this._alpha = 40;
}
if (_root.area == 'arena') {
this._alpha = 40;
}
}
}
instance of movieClip 157 {
onClipEvent (load) {
if (_root.arenaDiscovered == true) {
this.gotoAndStop(2);
}
if (_root.area == 'forest') {
this._alpha = 40;
}
}
}
instance of movieClip 162 {
onClipEvent (load) {
if (_root.cathedralDiscovered == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 168 {
onClipEvent (load) {
if (_root.canyonCleared == true) {
this.gotoAndStop(2);
}
if (_root.area != 'forest') {
this._alpha = 40;
}
}
}
instance of movieClip 172 {
onClipEvent (load) {
if (_root.canyonCleared == true) {
this.gotoAndStop(2);
}
if (_root.area == 'arena') {
this._alpha = 40;
}
if (_root.area == 'canyon') {
this._alpha = 40;
}
if (_root.area == 'entgrove') {
this._alpha = 40;
}
}
}
instance of movieClip 174 {
onClipEvent (load) {
if (_root.forestCleared == true) {
this.gotoAndStop(2);
}
}
}
instance track of movieClip 271 {
onClipEvent (load) {
if (_root.area == 'valeron') {
this.gotoAndStop(2);
}
if (_root.area == 'forest') {
this.gotoAndStop(3);
}
if (_root.area == 'canyon') {
this.gotoAndStop(4);
}
if (_root.area == 'arena') {
this.gotoAndStop(5);
}
if (_root.area == 'cathedral') {
this.gotoAndStop(6);
}
if (_root.area == 'special') {
this.gotoAndStop(7);
}
}
}
instance of movieClip 277 {
onClipEvent (load) {
if (_root.area == 'ruins') {
this._visible = true;
} else {
this._visible = false;
}
}
}
instance tips of movieClip 288 {
onClipEvent (enterFrame) {
this.stop();
}
}
}
movieClip 298 {
}
movieClip 299 {
}
movieClip 302 {
}
movieClip 306 {
}
movieClip 308 {
}
movieClip 310 {
}
movieClip 312 {
}
movieClip 314 {
}
movieClip 316 {
}
button 317 {
on (release) {
_root.pts -= 1;
_root.strength += 1;
if (_root.pts == 0) {
_parent.removeMovieClip();
}
}
}
button 318 {
on (release) {
_root.pts -= 1;
_root.magic += 1;
if (_root.pts == 0) {
_parent.removeMovieClip();
}
}
}
button 319 {
on (release) {
_root.pts -= 1;
_root.dex += 1;
if (_root.pts == 0) {
_parent.removeMovieClip();
}
}
}
button 320 {
on (release) {
_root.pts -= 1;
_root.energy += 1;
_root.mp += 5;
_root.maxMp += 5;
if (_root.pts == 0) {
_parent.removeMovieClip();
}
}
}
button 321 {
on (release) {
_root.pts -= 1;
_root.cons += 1;
_root.health += 5;
_root.maxHp += 5;
if (_root.pts == 0) {
_parent.removeMovieClip();
}
}
}
// unknown tag 88 length 64
movieClip 329 {
}
movieClip 338 {
frame 1 {
_root.pts = 4;
}
instance of movieClip 329 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.pts);
}
}
}
movieClip 339 {
}
movieClip 340 levelMenu {
frame 39 {
_root.pts = 4;
_root.level += 1;
stop();
}
instance of movieClip 306 {
onClipEvent (load) {
scale = 100;
}
onClipEvent (enterFrame) {
this._rotation = -40 + _root._xmouse / 5;
this._y = -_root._ymouse / 4;
this._xscale = scale;
this._yscale = scale;
}
}
instance of movieClip 338 {
onClipEvent (load) {
scale = 100;
}
onClipEvent (enterFrame) {
this._y = -_root._ymouse / 4 + 70;
this._xscale = scale;
this._yscale = scale;
}
}
instance of movieClip 339 {
onClipEvent (load) {
scale = 100;
}
onClipEvent (enterFrame) {
this._rotation = -40 + _root._xmouse / 2;
this._y = -_root._ymouse / 4;
this._xscale = scale;
this._yscale = scale;
}
}
}
movieClip 342 {
}
movieClip 343 heart {
frame 1 {
stop();
}
instance of movieClip 342 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
_parent.play();
}
}
}
frame 2 {
_root.health += _root.cons / 5;
if (_root.health > _root.maxHp) {
_root.health = _root.maxHp;
}
}
frame 4 {
this.removeMovieClip();
}
}
movieClip 346 {
}
movieClip 348 {
}
movieClip 349 {
}
movieClip 350 flames {
frame 1 {
i = 0;
while (i <= _root.eCount) {
if (hitBox.hitTest(_root['enemy' + i].hitBox)) {
dmg = Math.floor(_root.magic / 3);
_root['enemy' + i].health -= dmg;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root['enemy' + i]._x, '_y': _root['enemy' + i]._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 6854397;
if (_root['enemy' + i].health <= 0) {
_root['enemy' + i].dead = true;
_root['enemy' + i].gotoAndPlay('hit-strong');
}
}
++i;
}
}
instance hitBox of movieClip 348 {
onClipEvent (load) {
i = 0;
while (i <= _root.eCount) {
if (this.hitTest(_root['enemy' + i].hitBox)) {
_root['enemy' + i].flying = true;
dmg = _root.strength + _root.magic * 2;
_root['enemy' + i].health -= dmg;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root['enemy' + i]._x, '_y': _root['enemy' + i]._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 6854397;
if (_root['enemy' + i].health <= 0) {
if (random(2) == 1) {
_root.vcam.spatter.play();
} else {
_root.vcam.spatter2.play();
}
_root['enemy' + i].dead = true;
_root['enemy' + i].gotoAndPlay('hit-strong');
}
if (_root.pc._x > _root['enemy' + i]._x) {
_root['enemy' + i].accelerator = -16;
_root['enemy' + i].decelerator = 2;
} else {
_root['enemy' + i].accelerator = 16;
_root['enemy' + i].decelerator = 2;
}
if (_root['enemy' + i].fortitude < 2) {
if (random(6) == 3) {
_root['enemy' + i].gotoAndPlay('hit-strong');
} else {
_root['enemy' + i].gotoAndPlay('hit-weak');
}
}
}
++i;
}
}
}
frame 5 {
i = 0;
while (i <= _root.eCount) {
if (hitBox.hitTest(_root['enemy' + i].hitBox)) {
dmg = Math.floor(_root.magic / 4);
_root['enemy' + i].health -= dmg;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root['enemy' + i]._x, '_y': _root['enemy' + i]._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 6854397;
if (_root['enemy' + i].health <= 0) {
_root['enemy' + i].dead = true;
_root['enemy' + i].gotoAndPlay('hit-strong');
}
}
++i;
}
}
frame 10 {
i = 0;
while (i <= _root.eCount) {
if (hitBox.hitTest(_root['enemy' + i].hitBox)) {
dmg = Math.floor(_root.magic / 4);
_root['enemy' + i].health -= dmg;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root['enemy' + i]._x, '_y': _root['enemy' + i]._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 6854397;
if (_root['enemy' + i].health <= 0) {
_root['enemy' + i].dead = true;
_root['enemy' + i].gotoAndPlay('hit-strong');
}
}
++i;
}
}
frame 15 {
i = 0;
while (i <= _root.eCount) {
if (hitBox.hitTest(_root['enemy' + i].hitBox)) {
dmg = Math.floor(_root.magic / 4);
_root['enemy' + i].health -= dmg;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root['enemy' + i]._x, '_y': _root['enemy' + i]._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 6854397;
if (_root['enemy' + i].health <= 0) {
_root['enemy' + i].dead = true;
_root['enemy' + i].gotoAndPlay('hit-strong');
}
}
++i;
}
}
frame 20 {
i = 0;
while (i <= _root.eCount) {
if (hitBox.hitTest(_root['enemy' + i].hitBox)) {
dmg = Math.floor(_root.magic / 4);
_root['enemy' + i].health -= dmg;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root['enemy' + i]._x, '_y': _root['enemy' + i]._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 6854397;
if (_root['enemy' + i].health <= 0) {
_root['enemy' + i].dead = true;
_root['enemy' + i].gotoAndPlay('hit-strong');
}
}
++i;
}
}
frame 25 {
i = 0;
while (i <= _root.eCount) {
if (hitBox.hitTest(_root['enemy' + i].hitBox)) {
dmg = Math.floor(_root.magic / 4);
_root['enemy' + i].health -= dmg;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root['enemy' + i]._x, '_y': _root['enemy' + i]._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 6854397;
if (_root['enemy' + i].health <= 0) {
_root['enemy' + i].dead = true;
_root['enemy' + i].gotoAndPlay('hit-strong');
}
}
++i;
}
}
frame 30 {
i = 0;
while (i <= _root.eCount) {
if (hitBox.hitTest(_root['enemy' + i].hitBox)) {
dmg = Math.floor(_root.magic / 4);
_root['enemy' + i].health -= dmg;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root['enemy' + i]._x, '_y': _root['enemy' + i]._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 6854397;
if (_root['enemy' + i].health <= 0) {
_root['enemy' + i].dead = true;
_root['enemy' + i].gotoAndPlay('hit-strong');
}
}
++i;
}
}
frame 35 {
i = 0;
while (i <= _root.eCount) {
if (hitBox.hitTest(_root['enemy' + i].hitBox)) {
dmg = Math.floor(_root.magic / 4);
_root['enemy' + i].health -= dmg;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root['enemy' + i]._x, '_y': _root['enemy' + i]._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 6854397;
if (_root['enemy' + i].health <= 0) {
_root['enemy' + i].dead = true;
_root['enemy' + i].gotoAndPlay('hit-strong');
}
}
++i;
}
}
frame 40 {
i = 0;
while (i <= _root.eCount) {
if (hitBox.hitTest(_root['enemy' + i].hitBox)) {
dmg = Math.floor(_root.magic / 4);
_root['enemy' + i].health -= dmg;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root['enemy' + i]._x, '_y': _root['enemy' + i]._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 6854397;
if (_root['enemy' + i].health <= 0) {
_root['enemy' + i].dead = true;
_root['enemy' + i].gotoAndPlay('hit-strong');
}
}
++i;
}
}
frame 45 {
i = 0;
while (i <= _root.eCount) {
if (hitBox.hitTest(_root['enemy' + i].hitBox)) {
dmg = Math.floor(_root.magic / 4);
_root['enemy' + i].health -= dmg;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root['enemy' + i]._x, '_y': _root['enemy' + i]._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 6854397;
if (_root['enemy' + i].health <= 0) {
_root['enemy' + i].dead = true;
_root['enemy' + i].gotoAndPlay('hit-strong');
}
}
++i;
}
}
frame 50 {
i = 0;
while (i <= _root.eCount) {
if (hitBox.hitTest(_root['enemy' + i].hitBox)) {
dmg = Math.floor(_root.magic / 4);
_root['enemy' + i].health -= dmg;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root['enemy' + i]._x, '_y': _root['enemy' + i]._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 6854397;
if (_root['enemy' + i].health <= 0) {
_root['enemy' + i].dead = true;
_root['enemy' + i].gotoAndPlay('hit-strong');
}
}
++i;
}
}
frame 78 {
this.removeMovieClip();
}
}
movieClip 352 {
}
movieClip 355 {
frame 1 {
stop();
}
}
movieClip 357 {
}
// unknown tag 88 length 89
movieClip 361 FinalBossInformation {
instance of movieClip 357 {
onClipEvent (enterFrame) {
this._xscale = (_root.boss.health / _root.boss.maxHealth) * 100;
}
}
}
movieClip 364 FallenSlayerInformation {
instance of movieClip 357 {
onClipEvent (enterFrame) {
this._xscale = (_root.boss.health / _root.boss.maxHealth) * 100;
}
}
}
movieClip 367 {
}
movieClip 370 {
frame 1 {
stop();
}
}
movieClip 372 {
}
movieClip 373 {
}
movieClip 375 {
frame 1 {
stop();
}
}
movieClip 377 {
}
movieClip 392 {
}
movieClip 402 {
}
movieClip 403 zombie {
instance of movieClip 370 {
onClipEvent (load) {
this.gotoAndStop(random(4));
}
}
instance of movieClip 375 {
onClipEvent (load) {
this.gotoAndStop(2);
_parent.fortitude = 0;
}
}
frame 42 {
gotoAndPlay(1);
}
frame 43 {
var blood = _root.attachMovie('blood' + random(4), 'blood', random(50000), {'_x': this._x, '_y': this._y + 100});
blood._alpha = 50 + random(50);
blood._xscale = -80 + random(160);
if (dead == true) {
gotoAndPlay('hit-strong');
}
}
frame 43 {
flying = true;
rand = random(3);
if (rand == 1) {
_root.sw1.start();
} else {
if (rand == 2) {
_root.sw2.start();
} else {
if (rand == 3) {
_root.sw3.start();
}
}
}
}
frame 83 {
gotoAndPlay(1);
}
frame 83 {
flying = false;
}
frame 84 {
this.flying = true;
}
frame 86 {
if (dead == true) {
_root.zScream.start();
_root.giveXp(xp);
rand = random(4);
i = 0;
while (i < rand) {
var heart = _root.attachMovie('heart', 'heart', 1000 + random(3000), {'_x': this._x, '_y': this._y});
heart.dirX = -3 + random(6);
heart.dirY = -2 + random(4);
heart.life = 128;
heart.onEnterFrame = function () {
--this.life;
this._y += this.dirY;
this._x += this.dirX;
if (this.life <= 0) {
this.removeMovieClip();
}
};
++i;
}
if (_root.area == 'ruins') {
_root.vcam.infz.nextFrame();
}
}
}
frame 87 {
var blood = _root.attachMovie('blood' + random(4), 'blood', random(50000), {'_x': this._x, '_y': this._y + 100});
blood._alpha = 50 + random(50);
blood._xscale = -80 + random(160);
blood.onEnterFrame = function () {
if (_root.timeIsFlowing != true) {
this.stop();
} else {
this.play();
}
};
}
frame 129 {
if (dead == true) {
stop();
i = 0;
this.onEnterFrame = function () {
++i;
this._alpha = 100 - i;
if (i > 100) {
this.removeMovieClip();
}
};
}
}
frame 130 {
if (dead == true) {
var blood = _root.attachMovie('blood' + random(4), 'blood', random(50000), {'_x': this._x, '_y': this._y + 100});
blood._alpha = 50 + random(50);
blood._xscale = 100 + random(66);
this.removeMovieClip();
}
}
frame 169 {
gotoAndPlay(1);
}
frame 169 {
this.flying = false;
}
instance of movieClip 402 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
dmg = 6;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-weak');
} else {
_root.def.start();
}
}
}
}
frame 194 {
gotoAndPlay(1);
}
}
movieClip 405 {
}
movieClip 407 {
}
movieClip 410 {
}
movieClip 412 {
}
movieClip 414 {
}
movieClip 416 {
}
movieClip 418 {
}
movieClip 426 {
}
movieClip 427 treant {
frame 1 {
fortitude = 1;
}
frame 40 {
gotoAndPlay(1);
}
frame 41 {
rand = random(3);
if (rand == 1) {
_root.sw1.start();
} else {
if (rand == 2) {
_root.sw2.start();
} else {
if (rand == 3) {
_root.sw3.start();
}
}
}
i = 0;
while (i < _root.particles) {
var blood = _root.attachMovie('treantBlood', 'blood', random(50000), {'_x': this._x, '_y': this._y + 100});
blood._alpha = 60 + random(60);
scale = -120 + random(240);
if (_root.pc._x > this._x) {
blood.dir = -3;
} else {
blood.dir = 3;
}
blood.dir *= random(4);
blood._xscale = scale;
blood._yscale = Math.abs(scale);
blood.onEnterFrame = function () {
if (_root.timeIsFlowing != true) {
this.stop();
} else {
this._x += this.dir;
this.play();
}
};
++i;
}
}
frame 49 {
flying = false;
gotoAndPlay(1);
}
frame 50 {
rand = random(4);
if (rand == 1) {
_root.sw1.start();
} else {
if (rand == 2) {
_root.sw2.start();
} else {
if (rand == 3) {
_root.sw3.start();
}
}
}
if (dead == true) {
gotoAndPlay('dead');
}
var blood = _root.attachMovie('treantBlood', 'blood', random(50000), {'_x': this._x, '_y': this._y + 100});
blood._alpha = 60 + random(60);
scale = random - 80 + random(160);
blood._xscale = scale;
blood._yscale = scale;
blood.onEnterFrame = function () {
if (_root.timeIsFlowing != true) {
this.stop();
} else {
this.play();
}
};
var blood = _root.attachMovie('treantBlood', 'blood', random(50000), {'_x': this._x, '_y': this._y + 100});
blood._alpha = 60 + random(60);
scale = random - 80 + random(160);
blood._xscale = scale;
blood._yscale = scale;
blood.onEnterFrame = function () {
if (_root.timeIsFlowing != true) {
this.stop();
} else {
this.play();
}
};
i = 0;
while (i < _root.particles * 2) {
var blood = _root.attachMovie('treantBlood', 'blood', random(50000), {'_x': this._x, '_y': this._y + 100});
blood._alpha = 60 + random(60);
scale = -120 + random(240);
if (_root.pc._x > this._x) {
blood.dir = -3;
} else {
blood.dir = 3;
}
blood.dir *= random(4);
blood._xscale = scale;
blood._yscale = Math.abs(scale);
blood.onEnterFrame = function () {
if (_root.timeIsFlowing != true) {
this.stop();
} else {
this._x += this.dir;
this.play();
}
};
++i;
}
}
frame 75 {
flying = false;
gotoAndPlay(1);
}
instance of movieClip 402 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
if (_parent._x >= _root.pc._x) {
_root.stumble = 7;
} else {
_root.stumble = -7;
}
if (_parent.sup != true) {
dmg = 7;
} else {
dmg = 15;
}
_root.shaker.play();
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
if (random(6) == 2) {
_root.pc.gotoAndPlay('hit-stumble');
} else {
_root.pc.gotoAndPlay('hit-weak');
}
} else {
_root.def.start();
}
}
}
}
frame 104 {
gotoAndPlay(1);
}
frame 105 {
_root.giveXp(xp);
}
frame 107 {
rand = random(3);
i = 0;
while (i < rand) {
var heart = _root.attachMovie('heart', 'heart', 1000 + random(3000), {'_x': this._x, '_y': this._y});
heart.dirX = -3 + random(6);
heart.dirY = -2 + random(4);
heart.life = 128;
heart.onEnterFrame = function () {
--this.life;
this._y += this.dirY;
this._x += this.dirX;
if (this.life <= 0) {
this.removeMovieClip();
}
};
++i;
}
}
frame 251 {
this.unloadMovie();
}
frame 252 {
this.removeMovieClip();
}
frame 253 {
this.unloadMovie();
}
}
movieClip 428 spider {
}
movieClip 431 {
}
movieClip 434 {
}
movieClip 436 {
}
movieClip 438 {
}
movieClip 440 {
}
movieClip 442 {
}
movieClip 444 {
}
movieClip 445 {
}
movieClip 447 {
}
movieClip 449 {
}
movieClip 456 {
}
movieClip 462 golem_boss {
frame 1 {
fortitude = 1;
range = 133;
}
instance of movieClip 402 {
onClipEvent (load) {
i = 0;
}
onClipEvent (enterFrame) {
++i;
if (i >= 32) {
i = 0;
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
dmg = 1;
_root.shaker.play();
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
} else {
_root.def.start();
}
}
}
}
}
instance of movieClip 456 {
onClipEvent (load) {
this.gotoAndPlay(random(10));
}
}
instance of movieClip 456 {
onClipEvent (load) {
this.gotoAndPlay(random(10));
}
}
instance of movieClip 456 {
onClipEvent (load) {
this.gotoAndPlay(random(10));
}
}
instance of movieClip 456 {
onClipEvent (load) {
this.gotoAndPlay(random(10));
}
}
frame 30 {
if (random(8) == 1) {
gotoAndPlay('shift');
}
gotoAndPlay(1);
}
frame 31 {
randStart = 30000 + random(50000);
i = 0;
while (i < 40) {
var particle = _root.attachMovie('shatterpart3', 'shatterpart' + i, randStart, {'_x': this._x, '_y': this._y - i});
particle.lifetime = 0;
particle.dirX = Math.random() * 15 - Math.random() * 15;
particle.dirY = Math.random() * 15 - Math.random() * 15;
scale = 50 + random(100);
particle._xscale = scale;
particle._yscale = scale;
particle.onEnterFrame = function () {
this.lifetime += 1;
if (this.lifetime > 127) {
_root._quality = 'high';
this.removeMovieClip();
}
this._x += this.dirX;
this._y += this.dirY;
};
++i;
}
}
frame 38 {
flying = false;
}
frame 38 {
gotoAndPlay(1);
}
frame 39 {
if (health <= 0) {
gotoAndPlay('dead');
}
i = 0;
while (i < 90) {
var particle = _root.attachMovie('shatterpart3', 'shatterpart' + i, 64300 + i, {'_x': this._x, '_y': this._y - i});
particle.lifetime = 0;
particle.dirX = Math.random() * 15 - Math.random() * 15;
particle.dirY = Math.random() * 15 - Math.random() * 15;
scale = 50 + random(100);
particle._xscale = scale;
particle._yscale = scale;
particle.onEnterFrame = function () {
this.lifetime += 1;
if (this.lifetime > 127) {
_root._quality = 'high';
this.removeMovieClip();
}
this._x += this.dirX;
this._y += this.dirY;
};
++i;
}
}
frame 46 {
flying = false;
}
frame 46 {
flying = false;
gotoAndPlay(1);
}
frame 47 {
dead = true;
_root._quality = 'low';
i = 0;
while (i < 200) {
var particle = _root.attachMovie('shatterpart2', 'shatterpart' + i, 34300 + i, {'_x': this._x, '_y': this._y + 100 - i});
particle.lifetime = 0;
particle.dirX = Math.random() * 15 - Math.random() * 15;
particle.dirY = Math.random() * 15 - Math.random() * 15;
scale = 50 + random(100);
particle._xscale = scale;
particle._yscale = scale;
particle.onEnterFrame = function () {
this.lifetime += 1;
if (this.lifetime > 127) {
_root._quality = 'high';
this.removeMovieClip();
}
this._x += this.dirX;
this._y += this.dirY;
};
++i;
}
i = 0;
while (i < 200) {
var particle = _root.attachMovie('shatterpart3', 'shatterpart' + i, 64300 + i, {'_x': this._x, '_y': this._y + 100 - i});
particle.lifetime = 0;
particle.dirX = Math.random() * 15 - Math.random() * 15;
particle.dirY = Math.random() * 15 - Math.random() * 15;
scale = 50 + random(100);
particle._xscale = scale;
particle._yscale = scale;
particle.onEnterFrame = function () {
this.lifetime += 1;
if (this.lifetime > 127) {
_root._quality = 'high';
this.removeMovieClip();
}
this._x += this.dirX;
this._y += this.dirY;
};
++i;
}
}
frame 49 {
_root.vcam.gotoAndStop(5);
}
frame 53 {
stopAllSounds();
_root.lockarea = false;
_root.sandstormCleared = true;
_root.giveXp(xp);
this.unloadMovie();
}
instance of movieClip 402 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
if (_parent._x >= _root.pc._x) {
_root.stumble = 14;
} else {
_root.stumble = -14;
}
dmg = 40;
_root.shaker.play();
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-stumble');
} else {
_root.def.start();
}
}
}
}
}
movieClip 463 golem {
frame 1 {
fortitude = 1;
range = 133;
}
frame 30 {
if (random(8) == 1) {
gotoAndPlay('shift');
}
gotoAndPlay(1);
}
frame 31 {
randStart = 30000 + random(50000);
i = 0;
while (i < 40) {
var particle = _root.attachMovie('shatterpart3', 'shatterpart' + i, randStart, {'_x': this._x, '_y': this._y - i});
particle.lifetime = 0;
particle.dirX = Math.random() * 15 - Math.random() * 15;
particle.dirY = Math.random() * 15 - Math.random() * 15;
scale = 50 + random(100);
particle._xscale = scale;
particle._yscale = scale;
particle.onEnterFrame = function () {
this.lifetime += 1;
if (this.lifetime > 127) {
_root._quality = 'high';
this.removeMovieClip();
}
this._x += this.dirX;
this._y += this.dirY;
};
++i;
}
}
frame 49 {
flying = false;
}
frame 49 {
gotoAndPlay(1);
}
frame 50 {
if (health <= 0) {
gotoAndPlay('dead');
}
i = 0;
while (i < 90) {
var particle = _root.attachMovie('shatterpart3', 'shatterpart' + i, 64300 + i, {'_x': this._x, '_y': this._y - i});
particle.lifetime = 0;
particle.dirX = Math.random() * 15 - Math.random() * 15;
particle.dirY = Math.random() * 15 - Math.random() * 15;
scale = 50 + random(100);
particle._xscale = scale;
particle._yscale = scale;
particle.onEnterFrame = function () {
this.lifetime += 1;
if (this.lifetime > 127) {
_root._quality = 'high';
this.removeMovieClip();
}
this._x += this.dirX;
this._y += this.dirY;
};
++i;
}
}
frame 91 {
flying = false;
}
frame 91 {
flying = false;
gotoAndPlay(1);
}
frame 92 {
dead = true;
_root._quality = 'low';
i = 0;
while (i < 200) {
var particle = _root.attachMovie('shatterpart2', 'shatterpart' + i, 34300 + i, {'_x': this._x, '_y': this._y + 100 - i});
particle.lifetime = 0;
particle.dirX = Math.random() * 15 - Math.random() * 15;
particle.dirY = Math.random() * 15 - Math.random() * 15;
scale = 50 + random(100);
particle._xscale = scale;
particle._yscale = scale;
particle.onEnterFrame = function () {
this.lifetime += 1;
if (this.lifetime > 127) {
_root._quality = 'high';
this.removeMovieClip();
}
this._x += this.dirX;
this._y += this.dirY;
};
++i;
}
i = 0;
while (i < 200) {
var particle = _root.attachMovie('shatterpart3', 'shatterpart' + i, 64300 + i, {'_x': this._x, '_y': this._y + 100 - i});
particle.lifetime = 0;
particle.dirX = Math.random() * 15 - Math.random() * 15;
particle.dirY = Math.random() * 15 - Math.random() * 15;
scale = 50 + random(100);
particle._xscale = scale;
particle._yscale = scale;
particle.onEnterFrame = function () {
this.lifetime += 1;
this._x += this.dirX;
this._y += this.dirY;
};
++i;
}
}
frame 98 {
_root.giveXp(xp);
this.unloadMovie();
}
instance of movieClip 402 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
if (_parent._x >= _root.pc._x) {
_root.stumble = 9;
} else {
_root.stumble = -9;
}
dmg = 10;
_root.shaker.play();
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-stumble');
} else {
_root.def.start();
}
}
}
}
}
movieClip 465 {
}
movieClip 466 {
instance of movieClip 465 {
onClipEvent (enterFrame) {
if (_root.pc.grounded != true) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
movieClip 469 {
}
movieClip 470 {
}
movieClip 472 {
}
movieClip 474 {
}
movieClip 476 {
}
movieClip 478 {
}
movieClip 481 {
}
movieClip 482 {
}
movieClip 486 {
}
movieClip 488 {
}
movieClip 489 {
}
movieClip 491 {
}
movieClip 493 {
}
movieClip 495 {
}
movieClip 497 {
}
movieClip 503 {
}
movieClip 504 {
}
movieClip 507 {
}
movieClip 508 {
}
movieClip 509 {
}
movieClip 510 {
}
movieClip 511 {
}
movieClip 513 fallen_slayer {
frame 1 {
fortitude = 0;
_root.lockleave = true;
if (health < 300) {
if (lolfa != true) {
lolfa = true;
gotoAndPlay('corrupt');
}
}
}
frame 1 {
if (dead == true) {
dead = true;
gotoAndPlay('death');
}
}
frame 1 {
_root.invuln = false;
_root.lockarea = true;
}
instance of movieClip 495 {
onClipEvent (load) {
_root.lol = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc.hitBox)) {
_parent.gotoAndPlay('shove');
}
}
}
instance of movieClip 495 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc.hitBox)) {
_parent.gotoAndPlay('roar');
}
}
}
instance of movieClip 495 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc.hitBox)) {
if (random(53) == 12) {
_parent.gotoAndPlay('backHit');
}
}
}
}
frame 32 {
xdist = Math.round(_root.pc._x - this._x);
ydist = Math.round(_root.pc._y - this._y);
dis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist));
if (dis > 200) {
gotoAndPlay(1);
} else {
play();
}
}
frame 32 {
if (hitRun.hitTest(_root.pc.hitBox)) {
play();
} else {
gotoAndPlay(35);
}
}
frame 32 {
gotoAndPlay(1);
}
instance of movieClip 402 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
if (_parent._x >= _root.pc._x) {
_root.stumble = 14;
} else {
_root.stumble = -14;
}
dmg = 12;
_root.shaker.play();
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-stumble');
} else {
_root.def.start();
}
}
}
}
instance of movieClip 491 {
onClipEvent (enterFrame) {
if (_root.pc._x > _parent._x) {
if (random(32) == 16) {
_parent.gotoAndPlay('backHit');
}
}
}
}
frame 72 {
gotoAndPlay(1);
}
frame 72 {
gotoAndPlay(1);
}
frame 73 {
lol = random(3);
var blood = _root.attachMovie('blood' + random(4), 'blood', random(50000), {'_x': this._x, '_y': this._y + 100});
blood._alpha = 50 + random(50);
blood._xscale = -80 + random(160);
if (lol == 1) {
_root.sw1.start();
}
if (lol == 2) {
_root.sw2.start();
}
if (lol == 3) {
_root.sw3.start();
}
lolz = random(16);
rand = random(5);
if (lolz == 14) {
i = 0;
while (i < rand) {
var heart = _root.attachMovie('heart', 'heart', 1000 + random(3000), {'_x': this._x, '_y': this._y});
heart.dirX = -3 + random(6);
heart.dirY = -2 + random(4);
heart.life = 128;
heart.onEnterFrame = function () {
--this.life;
this._y += this.dirY;
this._x += this.dirX;
if (this.life <= 0) {
this.removeMovieClip();
}
};
++i;
}
}
}
frame 79 {
this.flying = false;
gotoAndPlay(1);
}
instance of movieClip 402 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
if (_parent._x >= _root.pc._x) {
_root.stumble = 14;
} else {
_root.stumble = -14;
}
dmg = 3;
_root.shaker.play();
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-stumble');
} else {
_root.def.start();
}
}
}
}
instance of movieClip 402 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
if (_parent._x >= _root.pc._x) {
_root.stumble = 14;
} else {
_root.stumble = -14;
}
dmg = 5;
_root.shaker.play();
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-stumble');
} else {
_root.def.start();
}
}
}
}
frame 90 {
gotoAndPlay(1);
}
instance of movieClip 402 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
if (_parent._x >= _root.pc._x) {
_root.stumble = 14;
} else {
_root.stumble = -14;
}
dmg = 1;
_root.shaker.play();
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-stumble');
} else {
_root.def.start();
}
}
}
}
frame 105 {
gotoAndPlay(1);
}
instance of movieClip 402 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
if (_parent._x >= _root.pc._x) {
_root.stumble = 14;
} else {
_root.stumble = -14;
}
dmg = 0;
_root.shaker.play();
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-stumble');
} else {
_root.def.start();
}
}
}
}
frame 135 {
gotoAndPlay(1);
}
frame 136 {
_root.vcam.ff.corrupt.play();
}
instance of movieClip 402 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
if (_parent._x >= _root.pc._x) {
_root.stumble = 14;
} else {
_root.stumble = -14;
}
dmg = 0;
_root.shaker.play();
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-stumble');
} else {
_root.def.start();
}
}
}
}
instance of movieClip 507 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
if (_parent._x >= _root.pc._x) {
_root.stumble = 14;
} else {
_root.stumble = -14;
}
dmg = 0;
_root.shaker.play();
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-stumble');
} else {
_root.def.start();
}
}
}
}
frame 160 {
_root.newEnemy('treant', -500, 3, 1, 0);
}
instance of movieClip 402 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
if (_parent._x >= _root.pc._x) {
_root.stumble = 14;
} else {
_root.stumble = -14;
}
dmg = 0;
_root.shaker.play();
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-stumble');
} else {
_root.def.start();
}
}
}
}
frame 167 {
_root.newEnemy('treant', -300, 3, 1, 0);
}
instance of movieClip 508 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
if (_parent._x >= _root.pc._x) {
_root.stumble = 14;
} else {
_root.stumble = -14;
}
dmg = 0;
_root.shaker.play();
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-stumble');
} else {
_root.def.start();
}
}
}
}
instance of movieClip 509 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
if (_parent._x >= _root.pc._x) {
_root.stumble = 14;
} else {
_root.stumble = -14;
}
dmg = 0;
_root.shaker.play();
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-stumble');
} else {
_root.def.start();
}
}
}
}
frame 177 {
_root.newEnemy('treant', 500, 3, 1, 0);
}
instance of movieClip 510 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
if (_parent._x >= _root.pc._x) {
_root.stumble = 14;
} else {
_root.stumble = -14;
}
dmg = 0;
_root.shaker.play();
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-stumble');
} else {
_root.def.start();
}
}
}
}
frame 187 {
_root.newEnemy('treant', 800, 3, 1, 0);
}
instance of movieClip 511 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
if (_parent._x >= _root.pc._x) {
_root.stumble = 14;
} else {
_root.stumble = -14;
}
dmg = 0;
_root.shaker.play();
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-stumble');
} else {
_root.def.start();
}
}
}
}
instance of movieClip 402 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
if (_parent._x >= _root.pc._x) {
_root.stumble = 14;
} else {
_root.stumble = -14;
}
dmg = 0;
_root.shaker.play();
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-stumble');
} else {
_root.def.start();
}
}
}
}
frame 273 {
gotoAndPlay(1);
}
frame 274 {
dead = true;
}
frame 313 {
_root.codex_fs = true;
_root.spawner.maxEnemies = 7;
_root.spawner.dir = -500;
_root.go = true;
_root.vcam.newCodex.play();
}
frame 378 {
_root.startTime();
_root.pauseChar = false;
_root.timeIsFlowing = true;
_root.forestCleared = true;
_root.vcam.ff.removeMovieClip();
_root.go = true;
_root.saveGame();
_root.lockarea = false;
_root.giveXp(xp);
_root.vcam.mark.play();
}
frame 498 {
_root.vcam.messages.gotoAndStop(3);
this.removeMovieClip();
}
}
movieClip 515 {
}
movieClip 517 {
}
movieClip 519 {
}
movieClip 521 {
}
movieClip 523 {
}
movieClip 526 {
}
movieClip 528 {
}
movieClip 530 {
}
movieClip 548 cultist {
frame 1 {
fortitude = 1;
}
frame 1 {
_root.lockarea = true;
}
frame 30 {
gotoAndPlay(1);
}
frame 31 {
ran = random(3) + 1;
if (ran == 1) {
_root.sw1.start();
}
if (ran == 2) {
_root.sw2.start();
}
if (ran == 3) {
_root.sw3.start();
}
var blood = _root.attachMovie('blood' + random(4), 'blood', random(50000), {'_x': this._x, '_y': this._y + 100});
blood._alpha = 50 + random(50);
blood._xscale = -80 + random(160);
blood.onEnterFrame = function () {
if (_root.timeIsFlowing != true) {
this.stop();
} else {
this.play();
}
};
}
frame 31 {
rand2 = random(10);
if (rand2 == 5) {
i = 0;
while (i < rand) {
var heart = _root.attachMovie('heart', 'heart', 1000 + random(3000), {'_x': this._x, '_y': this._y});
heart.dirX = -3 + random(6);
heart.dirY = -2 + random(4);
heart.life = 128;
heart.onEnterFrame = function () {
--this.life;
this._y += this.dirY;
this._x += this.dirX;
if (this.life <= 0) {
this.removeMovieClip();
}
};
++i;
}
}
}
frame 45 {
flying = false;
gotoAndPlay(1);
}
frame 46 {
var blood = _root.attachMovie('blood' + random(4), 'blood', random(50000), {'_x': this._x, '_y': this._y + 100});
blood._alpha = 50 + random(50);
blood._xscale = -80 + random(160);
blood.onEnterFrame = function () {
if (_root.timeIsFlowing != true) {
this.stop();
} else {
this.play();
}
};
if (dead == true) {
gotoAndPlay('dead');
}
}
frame 70 {
flying = false;
gotoAndPlay(1);
}
instance of movieClip 528 {
onClipEvent (enterFrame) {
if (_parent._xscale > 0) {
_parent._x -= 15;
} else {
_parent._x += 15;
}
}
}
instance of movieClip 402 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
dmg = 6;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-weak');
} else {
_root.def.start();
}
}
}
}
instance of movieClip 402 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
dmg = 6;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-weak');
} else {
_root.def.start();
}
}
}
}
frame 123 {
gotoAndPlay(1);
}
frame 124 {
dead = true;
_root.giveXp(xp);
_root.totalCult -= 1;
if (_root.totalCult <= 0) {
_root.vcam.mark.play();
_root.lockarea = false;
_root.canyonCleared = true;
}
var blood = _root.attachMovie('blood' + random(4), 'blood', random(50000), {'_x': this._x, '_y': this._y + 100});
blood._alpha = 50 + random(50);
blood._xscale = -80 + random(160);
blood.onEnterFrame = function () {
if (_root.timeIsFlowing != true) {
this.stop();
} else {
this.play();
}
};
}
frame 223 {
this.removeMovieClip();
this.unloadMovie();
}
}
movieClip 550 {
}
movieClip 552 {
}
movieClip 554 {
}
movieClip 556 {
}
movieClip 558 {
}
movieClip 560 {
}
movieClip 562 {
}
movieClip 564 {
}
movieClip 565 {
}
movieClip 567 {
}
movieClip 569 {
}
movieClip 571 arena1 {
frame 1 {
weakCombo = 0;
}
frame 1 {
flying = false;
}
frame 1 {
fortitude = 0;
}
frame 30 {
gotoAndPlay(1);
}
frame 78 {
gotoAndPlay(1);
}
frame 81 {
gotoAndPlay(1);
}
frame 82 {
rand = random(3);
if (rand == 1) {
gotoAndPlay('attack3');
}
if (rand == 2) {
gotoAndPlay('attack2');
}
}
instance of movieClip 402 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
if (_parent._x >= _root.pc._x) {
_root.stumble = 9;
} else {
_root.stumble = -9;
}
dmg = 10;
_root.shaker.play();
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-stumble');
} else {
_root.def.start();
}
}
}
}
frame 89 {
if (random(3) == 1) {
gotoAndPlay(1);
}
}
instance of movieClip 402 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
if (_parent._x >= _root.pc._x) {
_root.stumble = 9;
} else {
_root.stumble = -9;
}
dmg = 10;
_root.shaker.play();
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-fly');
} else {
_root.def.start();
}
}
}
}
instance of movieClip 402 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
if (_parent._x >= _root.pc._x) {
_root.stumble = 9;
} else {
_root.stumble = -9;
}
dmg = 10;
_root.shaker.play();
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-stumble');
} else {
_root.def.start();
}
}
}
}
frame 114 {
if (random(3) == 1) {
gotoAndPlay(1);
}
}
instance of movieClip 402 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
if (_parent._x >= _root.pc._x) {
_root.stumble = 9;
} else {
_root.stumble = -9;
}
dmg = 6;
_root.shaker.play();
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-weak');
} else {
_root.def.start();
}
}
}
}
frame 133 {
gotoAndPlay(1);
}
frame 136 {
if (_root.area == 'arena') {
rand = 10;
if (rand == 1) {
_root.boo1.start();
}
if (rand == 5) {
_root.boo2.start();
}
}
}
frame 136 {
if (dead == true) {
gotoAndPlay('dead');
}
}
frame 138 {
if (random(4) == 2) {
gotoAndPlay('attack');
}
}
frame 144 {
flying = false;
gotoAndPlay(1);
}
frame 145 {
dead = true;
_root.pauseChar = true;
_root.arenaRound += 1;
_root.giveXp(xp);
_root.saveGame();
_root.vcam.roundDone.play();
}
frame 189 {
_root.hasSB = true;
_root.vcam.newItem.play();
_root.strength += 4;
_root.saveGame();
_root.attachMovie('arena', 'arena', 30302, {'_x': _root.vcam._x - 330, '_y': _root.vcam._y - 190});
this.unloadMovie();
}
}
movieClip 573 {
}
movieClip 585 {
frame 1 {
stop();
}
}
movieClip 592 {
frame 1 {
stop();
}
}
// unknown tag 88 length 84
movieClip 600 {
frame 1 {
stop();
}
}
movieClip 607 {
frame 1 {
stop();
}
}
movieClip 614 {
frame 1 {
stop();
}
}
movieClip 624 {
frame 1 {
stop();
}
}
movieClip 633 {
frame 1 {
stop();
}
}
movieClip 634 description {
instance of movieClip 585 {
onClipEvent (load) {
if (_root.magic >= 15) {
} else {
this.gotoAndStop(2);
}
}
}
instance of movieClip 592 {
onClipEvent (load) {
if (_root.magic >= 13) {
} else {
this.gotoAndStop(2);
}
}
}
instance of movieClip 600 {
onClipEvent (load) {
if (_root.magic >= 22) {
} else {
this.gotoAndStop(2);
}
}
}
instance of movieClip 607 {
onClipEvent (load) {
if (_root.magic >= 18) {
} else {
this.gotoAndStop(2);
}
}
}
instance of movieClip 614 {
onClipEvent (load) {
if (_root.magic >= 24) {
} else {
this.gotoAndStop(2);
}
}
}
instance of movieClip 624 {
onClipEvent (load) {
if (_root.forestCleared == true) {
} else {
this.gotoAndStop(2);
}
}
}
instance of movieClip 633 {
onClipEvent (load) {
if (_root.sandstormCleared == true) {
} else {
this.gotoAndStop(2);
}
}
}
}
movieClip 638 damage {
frame 33 {
this.removeMovieClip();
}
frame 34 {
this.removeMovieClip();
}
}
movieClip 641 {
}
movieClip 652 {
}
movieClip 655 blood0 {
frame 129 {
this.removeMovieClip();
}
}
movieClip 661 {
}
movieClip 662 blood3 {
frame 129 {
this.removeMovieClip();
}
}
movieClip 664 {
}
movieClip 667 {
}
movieClip 679 blood2 {
frame 118 {
this.removeMovieClip();
}
}
movieClip 682 {
}
movieClip 684 {
}
movieClip 686 {
}
movieClip 695 {
}
movieClip 696 blood {
frame 156 {
this.removeMovieClip();
}
}
movieClip 709 {
frame 1 {
stop();
}
}
movieClip 712 {
}
movieClip 713 {
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x > -300) {
this._x -= 1.3;
this._y += 0.09;
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x > -360) {
this._x -= 3.8;
this._y += 0.09;
} else {
this._x = 1200;
this._y = random(480);
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x > -360) {
this._x -= 2.4;
this._y += 0.09;
} else {
this._x = 1200;
this._y = random(480);
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x < 1160) {
this._x += 3.4;
this._y -= 0.09;
} else {
this._x = -1200;
this._y = random(480);
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x < 1160) {
this._x += 3.4;
this._y -= 0.09;
} else {
this._x = -1200;
this._y = random(480);
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x > -300) {
this._x -= 1.3;
this._y += 0.09;
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x < 1160) {
this._x += 1.4;
this._y -= 0.09;
} else {
this._x = -1200;
this._y = random(480);
}
}
}
}
button 716 {
on (release) {
_root.showMapTrue();
}
}
button 721 {
on (release) {
_root.newEnemy('enemy_arena1', 500, 5, 600, 1000);
_root.pauseChar = false;
_root.timeIsFlowing = true;
_root.startTime();
_parent.removeMovieClip();
}
}
button 724 {
on (release) {
_root.newEnemy('arena1', 250, 5, 2600, 12000);
_root['enemy' + _root.eCount].gotoAndPlay('taunt');
_root.pauseChar = false;
_root.startTime();
_root.timeIsFlowing = true;
_parent.removeMovieClip();
}
}
movieClip 726 {
frame 1 {
stop();
}
frame 2 {
_root.finalUnlocked = true;
}
}
movieClip 727 arena {
frame 1 {
_root.pauseChar = true;
}
instance of movieClip 709 {
onClipEvent (load) {
this.gotoAndStop(_root.arenaRound);
}
}
instance of movieClip 726 {
onClipEvent (load) {
this.gotoAndStop(_root.arenaRound);
}
}
}
movieClip 728 {
}
movieClip 730 {
}
movieClip 732 {
}
movieClip 733 {
}
movieClip 734 {
}
movieClip 736 {
}
movieClip 740 {
}
movieClip 741 {
}
movieClip 743 {
}
movieClip 746 {
}
movieClip 748 {
}
movieClip 750 {
}
movieClip 752 {
}
movieClip 755 {
}
movieClip 757 {
}
movieClip 759 {
}
// unknown tag 88 length 94
movieClip 770 {
}
movieClip 775 {
}
movieClip 777 {
}
movieClip 780 {
}
movieClip 786 {
}
movieClip 789 {
}
movieClip 791 {
}
movieClip 793 Enemy_finalboss {
frame 40 {
gotoAndPlay(1);
}
frame 57 {
if (_root.vcam.ff == undefined) {
_root.vcam.attachMovie('FinalBossInformation', 'ff', 1000000);
}
}
instance of movieClip 402 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
dmg = 0;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
if (_parent._x >= _root.pc._x) {
_root.stumble = 12;
} else {
_root.stumble = -12;
}
_root.pc.gotoAndPlay('hit-stumble');
} else {
_root.def.start();
}
}
}
}
frame 84 {
go = true;
attacking = false;
flying = false;
}
frame 96 {
gotoAndPlay('stance');
}
frame 97 {
attacking = true;
}
instance of movieClip 752 {
onClipEvent (enterFrame) {
if (_parent._xscale > 0) {
_parent._x -= 30;
} else {
_parent._x += 30;
}
}
}
instance of movieClip 402 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
dmg = 10;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-fly');
} else {
_root.def.start();
}
}
}
}
instance of movieClip 402 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
if (_root.inAir != true) {
dmg = 10;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
} else {
dmg = 15;
_root.shaker.play();
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay(577);
}
} else {
_root.def.start();
}
}
}
}
frame 142 {
attacking = false;
gotoAndPlay('stance');
}
frame 143 {
attacking = true;
}
frame 148 {
_root.newEnemy('zombie', 300, 3.5, 280, 0);
}
frame 173 {
attacking = false;
gotoAndPlay('stance');
}
frame 174 {
attacking = true;
}
instance of movieClip 786 {
onClipEvent (load) {
if (this.hitTest(_root.pc.hitBox)) {
if (_root.invuln == false) {
dmg = 3;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root.pc._x, '_y': _root.pc._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16711680;
_root.health -= dmg;
_root.pc.gotoAndPlay('hit-fly');
} else {
_root.def.start();
}
}
}
}
frame 184 {
attacking = false;
gotoAndPlay('stance');
}
frame 185 {
if (random(16) == 5) {
rand = random(5);
i = 0;
while (i < rand) {
var heart = _root.attachMovie('heart', 'heart', 1000 + random(3000), {'_x': this._x, '_y': this._y});
heart.dirX = -3 + random(6);
heart.dirY = -2 + random(4);
heart.life = 128;
heart.onEnterFrame = function () {
--this.life;
this._y += this.dirY;
this._x += this.dirX;
if (this.life <= 0) {
this.removeMovieClip();
}
};
++i;
}
}
}
frame 185 {
rand = random(3);
if (rand == 1) {
_root.sw1.start();
}
if (rand == 2) {
_root.sw2.start();
}
if (rand == 3) {
_root.sw3.start();
}
}
frame 188 {
flying = false;
gotoAndPlay('stance');
}
frame 189 {
attacking = true;
}
frame 204 {
attacking = false;
gotoAndPlay('stance');
}
frame 205 {
attacking = true;
_root.stopTime();
_root.timeIsFlowing = false;
_root.pauseChar = true;
_root.shifting = true;
_root.vcam._x = _root.boss._x;
_root.vcam._y = _root.boss._y;
play();
}
frame 205 {
_root.ff.message.play();
}
instance of movieClip 759 {
onClipEvent (load) {
speed = 5;
}
onClipEvent (enterFrame) {
_root.vcam._xscale -= 0.2;
_root.vcam._yscale -= 0.2;
}
}
instance of movieClip 759 {
onClipEvent (load) {
speed = 5;
_root.vcam._y -= 400;
_root.vcam._xscale = 150;
_root.vcam._yscale = 150;
}
onClipEvent (enterFrame) {
_root.vcam._xscale -= 0.2;
_root.vcam._yscale -= 0.2;
}
}
frame 254 {
_root.bg.play();
}
instance of movieClip 759 {
onClipEvent (enterFrame) {
_root.vcam._xscale += 1;
_root.vcam._yscale += 1;
}
}
instance of movieClip 759 {
onClipEvent (enterFrame) {
_root.vcam._xscale -= 1;
_root.vcam._yscale -= 1;
_root.vcam._y += 4;
}
}
frame 397 {
_root.shifting = false;
_root.pauseChar = false;
_root.attacking = false;
_root.vcam._width = 720;
_root.timeIsFlowing = true;
_root.vcam._height = 480;
_root.startTime();
gotoAndPlay('stance');
}
}
movieClip 794 snow {
}
frame 1 {
function doSomething() {}
function deadClick() {
toggleHighQuality();
}
function gotoMySite() {
getURL('http://www.kprotutorials.com', '_top');
}
stop();
Playtomic.Log.View(2327, '05f24f856a1440c1', _root._url);
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
var copyrightNotice = new ContextMenuItem('Toggle Quality', deadClick);
var mySiteLink = new ContextMenuItem('© 2011 Through the Veil', doSomething);
mySiteLink.separatorBefore = true;
myMenu.customItems.push(copyrightNotice, mySiteLink);
_root.menu = myMenu;
file = SharedObject.getLocal('SlayerIII');
if (file.data.area == undefined) {
forestCleared = false;
forestDiscovered = false;
canyonCleared = false;
canyonDiscovered = false;
sandstormCleared = false;
m1active = true;
m2active = false;
m3active = false;
m4active = false;
m5active = false;
m6active = false;
onMission = false;
}
dun = new Sound();
dun.attachSound('dum');
particles = 8;
eCount = 0;
combo = 0;
timeIsFlowing = true;
cooldown_psi = 0.4;
cooldown_corrupt = 0.15;
invuln = false;
psi_ready = true;
shatterveil_ready = false;
cooldown_shatterveil = 0.15;
cooldown_shield = 0.75;
empower_ready = false;
corrupt_ready = false;
cooldown_empower = 0.09;
}
movieClip 800 {
}
movieClip 801 {
}
movieClip 802 {
}
movieClip 803 {
frame 104 {
stop();
}
}
movieClip 804 {
frame 104 {
stop();
}
}
movieClip 806 {
}
instance of movieClip 806 {
onClipEvent (enterFrame) {
percent = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
this.gotoAndStop(percent);
if (percent >= 100) {
_root.play();
}
}
}
movieClip 815 {
frame 1 {
stop();
}
}
button 818 {
on (release) {
getURL('www.maxgames.com', '_BLANK');
}
}
movieClip 820 {
}
button 821 {
on (release) {
getURL('www.maxgames.com', '_BLANK');
}
}
movieClip 1537 __Packages.Playtomic.LogRequest {
#initclip
if (!_global.Playtomic) {
_global.Playtomic = new Object();
}
if (!_global.Playtomic.LogRequest) {
var v1 = function () {};
Playtomic.LogRequest = v1;
var v2 = v1.prototype;
v2.Queue = function (data) {
++this.Pieces;
this.Data += ((this.Data == '') ? '' : '~') + data;
if (this.Pieces == 8 || this.Data.length > 300) {
this.Pieces = 0;
this.Ready = true;
}
};
v2.Send = function () {
var v2 = new LoadVars();
v2.load('http://g' + Playtomic.Log.GUID + '.api.playtomic.com/Tracker/q.aspx?swfid=' + Playtomic.Log.SWFID + '&q=' + this.Data + '&url=' + Playtomic.Log.SourceUrl + '&' + Math.random() + 'z', null, 'POST');
};
v2.Data = '';
v2.Ready = false;
ASSetPropFlags(Playtomic.LogRequest.prototype, null, 1);
}
#endinitclip
}
movieClip 1538 __Packages.Playtomic.Log {
#initclip
if (!_global.Playtomic) {
_global.Playtomic = new Object();
}
if (!_global.Playtomic.Log) {
var v1 = function () {};
Playtomic.Log = v1;
var v2 = v1.prototype;
v1.View = function (swfid, guid, defaulturl) {
if (swfid == undefined) {
swfid = 0;
}
if (guid == undefined) {
guid = '';
}
if (defaulturl == undefined) {
defaulturl = '';
}
if (Playtomic.Log.SWFID > 0) {
return undefined;
}
Playtomic.Log.SWFID = swfid;
Playtomic.Log.GUID = guid;
Playtomic.Log.Enabled = true;
if (Playtomic.Log.SWFID == 0 || Playtomic.Log.GUID == '') {
Playtomic.Log.Enabled = false;
return undefined;
}
if (defaulturl.indexOf('http://') != 0 && System.security.sandboxType != 'localWithNetwork' && System.security.sandboxType != 'localTrusted') {
Playtomic.Log.Enabled = false;
return undefined;
}
Playtomic.Log.SourceUrl = Playtomic.Log.GetUrl(defaulturl);
if (Playtomic.Log.SourceUrl == null || Playtomic.Log.SourceUrl == '' || Playtomic.Log.SourceUrl.indexOf('https://') == 0) {
Playtomic.Log.Enabled = false;
return undefined;
}
Playtomic.Log.Cookie = SharedObject.getLocal('playtomic');
var v2 = Playtomic.Log.GetCookie('views');
++v2;
Playtomic.Log.SaveCookie('views', v2);
Playtomic.Log.Send('v/' + v2, true);
_global.setTimeout(Playtomic.Log.PingServer, 60000);
};
v1.ForceSend = function () {
Playtomic.Log.Request.Send();
Playtomic.Log.Request = new Playtomic.LogRequest();
};
v1.Play = function () {
if (!Playtomic.Log.Enabled) {
return undefined;
}
Playtomic.Log.LevelCounters = new Array();
Playtomic.Log.LevelAverages = new Array();
Playtomic.Log.LevelRangeds = new Array();
++Playtomic.Log.Plays;
Playtomic.Log.Send('p/' + Playtomic.Log.Plays);
};
v1.CustomMetric = function (name, group, unique) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
if (group == null || group == undefined) {
group = '';
}
if (unique == null || unique == undefined) {
unique = false;
}
if (unique) {
if (Playtomic.Log.Customs.indexOf(name) > -1) {
return undefined;
}
Playtomic.Log.Customs.push(name);
}
Playtomic.Log.Send('c/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(group));
};
v1.Link = function (url, name, group, unique, total, fail) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
Playtomic.Log.Send('l/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(group) + '/' + Playtomic.Log.Clean(url) + '/' + unique + '/' + total + '/' + fail);
};
v1.LevelCounterMetric = function (name, level, unique) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
if (unique) {
if (Playtomic.Log.LevelCounters.indexOf(name) > -1) {
return undefined;
}
Playtomic.Log.LevelCounters.push(name);
}
Playtomic.Log.Send('lc/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(level));
};
v1.LevelRangedMetric = function (name, level, value, unique) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
if (unique) {
if (Playtomic.Log.LevelRangeds.indexOf(name) > -1) {
return undefined;
}
Playtomic.Log.LevelRangeds.push(name);
Playtomic.Log.SaveCookie('lr_' + name, 1);
}
Playtomic.Log.Send('lr/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(level) + '/' + value);
};
v1.LevelAverageMetric = function (name, level, value, unique) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
if (unique) {
if (Playtomic.Log.LevelAverages.indexOf(name) > -1) {
return undefined;
}
Playtomic.Log.LevelAverages.push(name);
}
Playtomic.Log.Send('la/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(level) + '/' + value);
};
v1.PingServer = function () {
if (!Playtomic.Log.Enabled) {
return undefined;
}
++Playtomic.Log.Pings;
Playtomic.Log.Send('t/' + (Playtomic.Log.FirstPing ? 'y' : 'n') + '/' + Playtomic.Log.Pings, true);
if (Playtomic.Log.FirstPing) {
Playtomic.Log.FirstPing = false;
setInterval(Playtomic.Log.PingServer, 60000);
}
};
v1.Send = function (s, view) {
if (view == undefined) {
view = false;
}
Playtomic.Log.Request.Queue(s);
if (Playtomic.Log.Request.Ready || view || !Playtomic.Log.Queue) {
Playtomic.Log.Request.Send();
Playtomic.Log.Request = new Playtomic.LogRequest();
}
};
v1.GetCookie = function (n) {
if (Playtomic.Log.Cookie.data[n] == undefined) {
return 0;
} else {
return parseInt(Playtomic.Log.Cookie.data[n]);
}
};
v1.SaveCookie = function (n, v) {
var v1 = SharedObject.getLocal('swfstats');
v1.data[n] = v.toString();
v1.flush();
};
v1.Clean = function (s) {
while (s.indexOf('/') > -1) {
s = s.replace('/', '\\');
}
while (s.indexOf('~') > -1) {
s = s.replace('~', '-');
}
return escape(s);
};
v1.Replace = function (str, find, replace) {
return (str.split(find)).join(replace);
};
v1.GetUrl = function (defaulturl) {
return defaulturl;
};
v1.Enabled = false;
v1.Queue = true;
v1.SWFID = 0;
v1.GUID = '';
v1.Request = new Playtomic.LogRequest();
v1.FirstPing = true;
v1.Pings = 0;
v1.Plays = 0;
v1.HighestGoal = 0;
v1.Customs = new Array();
v1.LevelCounters = new Array();
v1.LevelAverages = new Array();
v1.LevelRangeds = new Array();
ASSetPropFlags(Playtomic.Log.prototype, null, 1);
}
#endinitclip
}
// unknown tag 88 length 69
movieClip 842 {
}
movieClip 843 {
}
movieClip 844 {
}
movieClip 845 {
}
movieClip 846 {
}
movieClip 850 {
}
movieClip 852 {
}
movieClip 854 {
}
movieClip 856 {
}
movieClip 858 {
}
movieClip 859 {
}
movieClip 862 {
frame 1 {
_root.stop();
}
frame 186 {
_root.play();
}
}
frame 42 {
function die() {
if (_root.dead != true) {
_root.pc.gotoAndPlay('death');
}
}
function loadGame() {
this.onEnterFrame = function () {
if (Key.isDown(27)) {
if (_root.timeIsFlowing == true) {
_root._quality = 'high';
var v2 = _root.attachMovie('menuScreen', 'ms', 123201, {'_x': _root.vcam._x, '_y': _root.vcam._y});
v2.onUnload = function () {
_root.pauseChar = false;
_root.startTime();
_root.timeIsFlowing = true;
};
}
}
};
Playtomic.Log.Play();
Playtomic.Log.ForceSend();
stopAllSounds();
onMission = file.data.onMission;
gameCleared = file.data.gameCleared;
particles = file.data.particles;
hasSB = file.data.hasSB;
curMission = file.data.curMission;
health = file.data.health;
maxHp = file.data.maxHp;
mission = file.data.mission;
maxMp = file.data.maxMp;
cons = file.data.cons;
energy = file.data.energy;
mp = file.data.mp;
magic = file.data.magic;
dex = file.data.dex;
level = file.data.level;
maxXp = file.data.maxXp;
xp = file.data.xp;
strength = file.data.strength;
pts = file.data.pts;
cheese = file.data.cheese;
area = file.data.area;
codex_fs = file.data.codex_fs;
m1active = file.data.m1active;
m2active = file.data.m2active;
m3active = file.data.m3active;
m4active = file.data.m4active;
m5active = file.data.m5active;
m6active = file.data.m6active;
forestDiscovered = file.data.forestDiscovered;
forestCleared = file.data.forestCleared;
viewedSphere = file.data.viewedSphere;
arenaRound = file.data.arenaRound;
canyonDiscovered = file.data.canyonDiscovered;
canyonCleared = file.data.canyonCleared;
codex_skyward = file.data.codex_skyward;
arenaDiscovered = file.data.arenaDiscovered;
cathedralDiscovered = file.data.cathedralDiscovered;
sandstormCleared = file.data.sandstormCleared;
arenaGot = file.data.arenaGot;
pauseChar = false;
if (area == 'valeron') {
gotoAndStop('valeron');
}
if (area == 'forest') {
gotoAndStop('forest');
}
if (area == 'ruins') {
gotoAndStop('ruins');
}
if (area == 'canyon') {
gotoAndStop('canyon');
}
if (area == 'arena') {
gotoAndStop('arena');
}
if (area == 'genesis') {
gotoAndStop('genesis');
}
if (area == 'entgrove') {
gotoAndStop('entgrove');
}
if (area == 'sandstorm') {
gotoAndStop('sandstorm');
}
if (area == 'scott') {
gotoAndStop('scott');
}
}
function saveGame() {
file.data.sandstormCleared = sandstormCleared;
file.data.health = health;
file.data.onMission = onMission;
file.data.viewedSphere = viewedSphere;
file.data.particles = particles;
file.data.curMission = curMission;
file.data.maxHp = maxHp;
file.data.codex_skyward = codex_skyward;
file.data.maxMp = maxMp;
file.data.hasSB = hasSB;
file.data.codex_fs = codex_fs;
file.data.cons = cons;
file.data.arenaGot = arenaGot;
file.data.energy = energy;
file.data.arenaRound = arenaRound;
file.data.mp = mp;
file.data.mission = mission;
file.data.magic = magic;
file.data.dex = dex;
file.data.level = level;
file.data.maxXp = maxXp;
file.data.xp = xp;
file.data.strength = strength;
file.data.pts = pts;
file.data.area = area;
file.data.forestDiscovered = forestDiscovered;
file.data.forestCleared = forestCleared;
file.data.canyonDiscovered = canyonDiscovered;
file.data.canyonCleared = canyonCleared;
file.data.arenaDiscovered = arenaDiscovered;
file.data.cathedralDiscovered = cathedralDiscovered;
file.data.gameCleared = gameCleared;
file.flush();
}
function showMap() {
_root.vcam.messages.gotoAndStop(6);
}
function showMapTrue() {
if (_root.map == undefined) {
if (_root.area == 'ruins') {
var v3 = _root.attachMovie('map', 'map', _root.getNextHighestDepth(), {'_x': _root.vcam._x, '_y': _root.vcam._y});
} else {
var v3 = _root.attachMovie('map', 'map', _root.getNextHighestDepth(), {'_x': _root.vcam._x + 50, '_y': _root.vcam._y});
}
v3.onEnterFrame = function () {
this.swapDepths(_root.getNextHighestDepth());
this._x = _root.vcam._x;
this._y = _root.vcam._y;
};
v3.onUnload = function () {
_root.vcam.messages.gotoAndStop(1);
if (_root.area != 'arena') {
_root.pauseChar = false;
_root.timeIsFlowing = true;
_root.startTime();
}
};
}
}
function giveXp(amt) {
xp += amt;
if (xp >= maxXp) {
levelUp();
}
}
function levelUp() {
xp = 0;
maxXp *= 1.5;
timeIsFlowing = false;
pauseChar = true;
stopTime();
cons += 1;
energy += 1;
dex += 1;
strength += 1;
magic += 1;
maxHp += 5;
health += 5;
maxMp += 5;
var v3 = _root.attachMovie('levelMenu', 'levelMenu', _root.getNextHighestDepth(), {'_x': _root.vcam._x, '_y': _root.vcam._y});
v3.onEnterFrame = function () {
this.swapDepths(_root.getNextHighestDepth());
this._x = _root.vcam._x;
this._y = _root.vcam._y;
};
v3.onUnload = function () {
_root.timeIsFlowing = true;
_root.pauseChar = false;
_root.startTime();
};
}
function stopTime() {
i = 0;
while (i <= eCount) {
_root['enemy' + i].stop();
++i;
}
}
function startTime() {
i = 0;
while (i <= eCount) {
_root['enemy' + i].play();
++i;
}
}
function killAll() {
i = 0;
while (i <= 999) {
_root['enemy' + i].removeMovieClip();
++i;
}
}
function newEnemy(type, dir, speed, health, xp) {
if (eCount < 80) {
++eCount;
} else {
eCount = 1;
}
var v3 = _root.attachMovie(type, 'enemy' + eCount, eCount, {'_x': _root.pc._x + dir, '_y': -30 + random(60) + _root.pc._y});
v3.speed = speed;
v3.accelerator = 0;
v3.decelerator = 1;
v3.health = health;
if (type == 'zombie') {
v3.hasBlood = true;
v3.range = 110;
}
if (type == 'treant') {
v3.range = 125;
trace(v3);
}
if (type == 'golem') {
v3.range = 160;
}
if (type == 'cultist') {
v3.hasBlood = true;
v3.range = 120;
}
if (type == 'arena1') {
v3.hasBlood = true;
v3.range = 120;
}
v3.xp = xp;
v3.onEnterFrame = function () {
if (_root.timeIsFlowing == true) {
if (this.flying != true) {
if (this._y > _root.pc._y) {
this._y -= this.speed / 3;
} else {
this._y += this.speed / 3;
}
if (this._x > _root.pc._x + this.range) {
this._x -= this.speed;
this._xscale = 100;
} else {
if (this._x < _root.pc._x - this.range) {
this._x += this.speed;
this._xscale = -100;
} else {
if (this._currentframe < 30 && this._currentframe > 3) {
this.gotoAndPlay('attack');
}
}
}
} else {
this._x += this.accelerator;
if (this.accelerator > 0) {
this.accelerator -= this.decelerator;
} else {
if (this.accelerator < 0) {
this.accelerator += this.decelerator;
} else {
this.accelerator = 0;
}
}
}
}
if (this.hitTest(_root.pc)) {
if (this._y > _root.pc._y) {
this.swapDepths(_root.pc.getDepth() + 1);
} else {
this.swapDepths(_root.pc.getDepth() - 1);
}
}
};
return v3.name;
}
function newBoss(type, dir, speed, health, xp) {
if (eCount < 80) {
++eCount;
} else {
eCount = 1;
}
var v3 = _root.attachMovie(type, 'enemy' + eCount, eCount, {'_x': _root.pc._x + dir, '_y': -30 + random(60) + _root.pc._y});
v3.speed = speed;
v3.accelerator = 0;
v3.decelerator = 1;
v3.health = health;
v3.dead = false;
v3.hasBlood = true;
v3.range = 270;
v3.xp = xp;
v3.onEnterFrame = function () {
if (_root.timeIsFlowing == true) {
if (this.flying != true) {
if (this._y > _root.pc._y) {
this._y -= this.speed / 3;
} else {
this._y += this.speed / 3;
}
if (this._x > _root.pc._x + this.range) {
if (this._currentframe < 30) {
this._x -= this.speed;
this._xscale = 100;
}
} else {
if (this._x < _root.pc._x - this.range) {
if (this._currentframe < 30) {
this._x += this.speed;
this._xscale = -100;
}
} else {
if (this._currentframe < 30 && this._currentframe > 10) {
if (random(15) == 10) {
this.gotoAndPlay('attack');
}
}
}
}
} else {
this._x += this.accelerator;
if (this.accelerator > 0) {
this.accelerator -= this.decelerator;
} else {
if (this.accelerator < 0) {
this.accelerator += this.decelerator;
} else {
this.accelerator = 0;
}
}
}
}
};
return v3.name;
}
file.data.particles = 8;
boo1 = new Sound();
boo2 = new Sound();
applause = new Sound();
applause2 = new Sound();
boo1.attachSound('boo1');
boo2.attachSound('boo2');
applause.attachSound('applause');
applause2.attachSound('applause2');
sw1 = new Sound();
sw1.attachSound('melee_katana_01');
sw2 = new Sound();
sw2.attachSound('melee_katana_02');
sw3 = new Sound();
sw3.attachSound('melee_katana_03');
p1 = new Sound();
p1.attachSound('Pain-1');
p2 = new Sound();
p2.attachSound('Pain-2');
p3 = new Sound();
p3.attachSound('Pain-3');
fs1 = new Sound();
fs2 = new Sound();
fs1.attachSound('fs1');
fs2.attachSound('fs2');
zScream = new Sound();
zScream.attachSound('zDeath');
greeting1 = new Sound();
greeting1.attachSound('WelcomeBack');
def = new Sound();
def.attachSound('deflect');
condemned = new Sound();
condemned.attachSound('condemned');
}
movieClip 867 {
}
movieClip 868 {
instance of movieClip 867 {
onClipEvent (enterFrame) {
this._x -= 0.8;
}
}
}
movieClip 872 {
frame 1 {
stop();
}
}
instance of movieClip 872 {
onClipEvent (load) {
if (_root.file.data.area != undefined) {
this.gotoAndStop(random(1) + 2);
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x > -300) {
this._x -= 1.3;
this._y += 0.09;
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x > -360) {
this._x -= 3.8;
this._y += 0.09;
} else {
this._x = 1200;
this._y = random(480);
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x > -360) {
this._x -= 2.4;
this._y += 0.09;
} else {
this._x = 1200;
this._y = random(480);
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x < 1160) {
this._x += 3.4;
this._y -= 0.09;
} else {
this._x = -1200;
this._y = random(480);
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x < 1160) {
this._x += 3.4;
this._y -= 0.09;
} else {
this._x = -1200;
this._y = random(480);
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x > -300) {
this._x -= 1.3;
this._y += 0.09;
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x < 1160) {
this._x += 1.4;
this._y -= 0.09;
} else {
this._x = -1200;
this._y = random(480);
}
}
}
movieClip 873 {
}
movieClip 874 {
}
frame 136 {
stop();
}
// unknown tag 88 length 36
// unknown tag 88 length 63
button 881 {
on (release) {
_root.onEnterFrame = function () {
if (Key.isDown(27)) {
if (_root.timeIsFlowing == true) {
_root._quality = 'high';
var v2 = _root.attachMovie('menuScreen', 'ms', 123201, {'_x': _root.vcam._x, '_y': _root.vcam._y});
v2.onUnload = function () {
_root.pauseChar = false;
_root.startTime();
_root.timeIsFlowing = true;
};
}
}
};
_root.arenaRound = 1;
Playtomic.Log.Play();
Playtomic.Log.ForceSend();
_root.file.clear();
_root.gotoAndStop('cc');
}
}
button 883 {
on (release) {
_root.loadGame();
}
}
movieClip 885 {
frame 1 {
stop();
}
}
button 890 {
on (release) {
getURL('http://www.maxgames.com/', '_BLANK');
}
}
button 892 {
on (release) {
getURL('www.maxgames.com/', '_BLANK');
}
}
movieClip 893 {
instance of movieClip 885 {
onClipEvent (load) {
if (_root.file.data.area != undefined) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 893 {
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha += 1;
}
}
}
frame 137 {
function updateValues() {
strText.text = 'Strength: ' + strength;
dexText.text = 'Dexterity: ' + dex;
magText.text = 'Magic: ' + magic;
consText.text = 'Constitution: ' + cons;
energyText.text = 'Energy: ' + energy;
maxHpText.text = 'Max Health ' + maxHp;
maxMpText.text = 'Max MP ' + maxMp;
if (pts == 0) {
_root.starter.nextFrame();
}
}
function resetStats() {
strength = 10;
dex = 10;
magic = 10;
cons = 10;
energy = 10;
maxHp = 100;
maxMp = 100;
health = 100;
mp = 100;
pts = 5;
starter.gotoAndStop(1);
updateValues();
}
stop();
health = 100;
maxHp = 100;
maxMp = 100;
cons = 10;
energy = 10;
mp = 100;
magic = 10;
dex = 10;
level = 1;
maxXp = 1000;
xp = 0;
strength = 10;
pts = 5;
updateValues();
}
movieClip 894 {
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x > -300) {
this._x -= 1.3;
this._y += 0.09;
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x > -360) {
this._x -= 3.8;
this._y += 0.09;
} else {
this._x = 1200;
this._y = random(480);
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x > -360) {
this._x -= 2.4;
this._y += 0.09;
} else {
this._x = 1200;
this._y = random(480);
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x < 1160) {
this._x += 3.4;
this._y -= 0.09;
} else {
this._x = -1200;
this._y = random(480);
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x < 1160) {
this._x += 3.4;
this._y -= 0.09;
} else {
this._x = -1200;
this._y = random(480);
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x > -300) {
this._x -= 1.3;
this._y += 0.09;
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x < 1160) {
this._x += 1.4;
this._y -= 0.09;
} else {
this._x = -1200;
this._y = random(480);
}
}
}
button 906 {
on (release) {
if (_root.pts > 0) {
_root.pts -= 1;
_root.strength += 1;
_root.updateValues();
}
}
on (rollOver) {
_root.info = 'Strength determines raw physical damage with all melee, and some magical attacks.';
}
on (rollOut) {
_root.info = '';
}
}
button 907 {
on (release) {
if (_root.pts > 0) {
_root.pts -= 1;
_root.magic += 1;
_root.updateValues();
}
}
on (rollOver) {
_root.info = 'Magic determines what spells are available, how much damage those spells do, and MP regeneration.';
}
on (rollOut) {
_root.info = '';
}
}
button 908 {
on (release) {
if (_root.pts > 0) {
_root.pts -= 1;
_root.dex += 1;
_root.updateValues();
}
}
on (rollOver) {
_root.info = 'Dexterity determines how quickly Dristen walks, dives, and generates combos.';
}
on (rollOut) {
_root.info = '';
}
}
button 909 {
on (release) {
if (_root.pts > 0) {
_root.pts -= 1;
_root.energy += 1;
_root.maxMp += 5;
_root.mp += 5;
_root.updateValues();
}
}
on (rollOver) {
_root.info = 'Energy determines how much MP you can have at any given time.';
}
on (rollOut) {
_root.info = '';
}
}
button 910 {
on (release) {
if (_root.pts > 0) {
_root.pts -= 1;
_root.cons += 1;
_root.maxHp += 5;
_root.health += 5;
_root.updateValues();
}
}
on (rollOver) {
_root.info = 'Constitution determines your maximum health and regeneration rate.';
}
on (rollOut) {
_root.info = '';
}
}
movieClip 911 {
instance of movieClip 329 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.pts);
if (_root.pts == 0) {
this.gotoAndStop(6);
}
}
}
}
instance of movieClip 911 {
onClipEvent (load) {
scale = 100;
}
onClipEvent (enterFrame) {
this._rotation = -19 + _root._xmouse / 20;
this._y = -_root._ymouse / 6 + 270;
this._xscale = scale;
this._yscale = scale;
}
}
movieClip 915 {
}
// unknown tag 88 length 89
button 918 {
on (release) {
if (Key.isDown(17)) {
if (Key.isDown(16)) {
if (Key.isDown(65)) {
_root.pts = 1;
_root.strength = 1000;
_root.cons = 50;
_root.energy = 50;
_root.dex = 40;
_root.magic = 1000;
_root.sw1.start();
_root.maxHp = 300;
_root.hp = 300;
_root.maxMp = 300;
}
}
}
}
}
movieClip 920 {
}
button 924 {
on (release) {
if (Key.isDown(17)) {
stopAllSounds();
_root.level = 1;
_root.area = 'ruins';
_root.gotoAndPlay('skipPart');
}
_root.play();
}
}
button 927 {
on (release) {
_root.resetStats();
}
}
movieClip 929 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 935 {
}
movieClip 937 {
}
movieClip 939 {
}
instance of movieClip 939 {
onClipEvent (keyDown) {
if (Key.isDown(32)) {
Playtomic.Log.CustomMetric('SkippedStory');
Playtomic.Log.ForceSend();
stopAllSounds();
_root.gotoAndPlay('skipPart');
}
}
}
// unknown tag 88 length 66
movieClip 949 {
}
movieClip 950 {
}
movieClip 952 {
}
movieClip 954 {
}
movieClip 956 {
}
movieClip 958 {
}
movieClip 960 {
}
movieClip 962 {
}
movieClip 964 {
}
movieClip 967 {
}
movieClip 969 {
}
movieClip 970 {
}
movieClip 971 {
}
movieClip 976 {
}
movieClip 979 {
}
movieClip 984 {
}
movieClip 987 {
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x > -300) {
this._x -= 1.3;
this._y += 0.09;
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x > -360) {
this._x -= 3.8;
this._y += 0.09;
} else {
this._x = 1200;
this._y = random(480);
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x > -360) {
this._x -= 2.4;
this._y += 0.09;
} else {
this._x = 1200;
this._y = random(480);
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x < 1160) {
this._x += 3.4;
this._y -= 0.09;
} else {
this._x = -1200;
this._y = random(480);
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x < 1160) {
this._x += 3.4;
this._y -= 0.09;
} else {
this._x = -1200;
this._y = random(480);
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x > -300) {
this._x -= 1.3;
this._y += 0.09;
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x < 1160) {
this._x += 1.4;
this._y -= 0.09;
} else {
this._x = -1200;
this._y = random(480);
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x < 1160) {
this._x += 1.4;
this._y -= 0.09;
} else {
this._x = -1200;
this._y = random(480);
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x > -300) {
this._x -= 1.3;
this._y += 0.09;
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this._x > -300) {
this._x -= 1.3;
this._y += 0.09;
}
}
}
movieClip 990 {
}
movieClip 991 {
frame 1 {
stop();
}
}
movieClip 992 {
frame 1 {
function camControl() {
rp.x = _x;
rp.y = _y;
var v5 = camH * (_yscale * 0.01);
var v6 = camW * (_xscale * 0.01);
var v3 = sH / v5;
var v4 = sW / v6;
_x2 = (v6 / 2) * v4;
_y2 = (v5 / 2) * v3;
_xscale2 = v4 * 100;
_yscale2 = v3 * 100;
_rotation2 = -_rotation;
_parent.filters = this.filters;
_parent.transform.colorTransform = this.transform.colorTransform;
}
function reset() {
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
_parent._rotation = 0;
_parent._visible = true;
}
function set_x2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x += value - v2.x;
}
function get_x2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.x;
}
function set_y2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._y += value - v2.y;
}
function get_y2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.y;
}
function get_xscale2() {
return _parent._xscale;
}
function set_xscale2(value) {
setProperty2('_xscale', value);
}
function get_yscale2() {
return _parent._yscale;
}
function set_yscale2(value) {
setProperty2('_yscale', value);
}
function get_rotation2() {
return parent.rotation;
}
function set_rotation2(value) {
setProperty2('_rotation', value);
}
function setProperty2(prop, n) {
var v3 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v3);
_parent[prop] = n;
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x -= v2.x - v3.x;
_parent._y -= v2.y - v3.y;
}
addProperty('_x2', get_x2, set_x2);
addProperty('_y2', get_y2, set_y2);
addProperty('_xscale2', get_xscale2, set_xscale2);
addProperty('_yscale2', get_yscale2, set_yscale2);
addProperty('_rotation2', get_rotation2, set_rotation2);
var oldScaleMode = stage.scaleMode;
stage.scaleMode = 'exactFit';
var sW = Stage.width;
var sH = Stage.height;
stage.scaleMode = oldScaleMode;
var bounds_obj = this.getBounds(this);
var camH = Math.abs(bounds_obj.yMax - bounds_obj.yMin);
var camW = Math.abs(bounds_obj.xMax - bounds_obj.xMin);
var rp = {'x': this._x, 'y': this._y};
onEnterFrame = function () {
camControl();
};
this.onUnload = reset;
}
}
instance vcam of movieClip 992 {
onClipEvent (enterFrame) {
if (_root.shifting != true) {
this._x = _root.pc._x;
this._y = _root.pc._y;
}
}
}
movieClip 996 {
}
movieClip 998 {
}
instance of movieClip 998 {
onClipEvent (enterFrame) {
this._rotation += 2;
}
}
movieClip 999 {
}
movieClip 1001 {
}
movieClip 1003 {
}
movieClip 1004 {
}
movieClip 1005 {
}
frame 1701 {
gotoAndPlay('skipPart');
}
frame 1804 {
stop();
newEnemy('zombie', 300, 1.5, 170, 250);
}
frame 1804 {
stop();
_root.area = 'ruins';
if (file.data.firstRun == undefined) {
file.data.firstRun = true;
vcam.infz.play();
}
vcam.loc.gotoAndStop('ruins');
}
frame 1804 {
strongCombo = 0;
cheese = 1;
}
frame 1804 {
_quality = 'low';
}
frame 1804 {
eCount = 1;
}
movieClip 1010 {
}
movieClip 1012 {
}
instance of movieClip 1012 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
_root.pc._x += 50;
}
}
}
instance of movieClip 1012 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
_root.pc._x += 50;
}
}
}
movieClip 1014 {
}
instance of movieClip 1014 {
onClipEvent (load) {
this._x = 6500;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
_root.pc._x -= 50;
_root.showMap();
}
}
}
movieClip 1016 {
}
instance of movieClip 1016 {
onClipEvent (load) {
maxEnemies = 18;
interval = 67;
i = 0;
done = false;
}
onClipEvent (enterFrame) {
if (done == false) {
if (_root.timeIsFlowing == true) {
if (_root.go == true) {
i += random(3);
if (i >= interval) {
if (maxEnemies > 0) {
i = 0;
--maxEnemies;
left = random(9);
if (left <= 2) {
_root.newEnemy('zombie', -500, 2 + random(2), 100 + random(30), 68);
} else {
_root.newEnemy('zombie', 500, 1 + random(2), 100 + random(30), 68);
}
} else {
done = true;
stopAllSounds();
_root.dun.start();
}
}
}
}
}
}
}
instance of movieClip 1014 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
if (loli != true) {
loli = true;
_root.vcam.newCodex.play();
}
}
}
}
movieClip 1019 {
}
movieClip 1022 {
}
movieClip 1023 {
}
movieClip 1025 {
}
movieClip 1028 {
}
movieClip 1029 {
frame 1 {
stop();
}
}
movieClip 1039 {
}
movieClip 1040 {
instance of movieClip 1029 {
onClipEvent (load) {
if (_root.hasSB == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 1039 {
onClipEvent (load) {
if (_root.empowerEnemyActive == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.empowerEnemyActive == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
}
movieClip 1042 {
}
movieClip 1044 {
}
movieClip 1045 {
}
movieClip 1046 {
}
movieClip 1048 {
frame 1 {
stop();
}
frame 2 {
_root.invuln = true;
_root.mp -= 10;
_root.shield_ready = false;
_root.vcam.bar.spellTwo.cooldown.coolBar._xscale = 100;
}
frame 64 {
_root.invuln = false;
}
}
movieClip 1049 {
frame 1 {
stop();
}
}
movieClip 1050 {
}
movieClip 1052 {
}
movieClip 1055 {
}
movieClip 1057 {
}
movieClip 1059 {
}
movieClip 1060 {
}
movieClip 1062 {
}
movieClip 1063 {
}
movieClip 1065 {
}
movieClip 1067 {
}
movieClip 1068 {
}
movieClip 1069 {
}
movieClip 1071 {
}
movieClip 1073 {
}
movieClip 1075 {
}
movieClip 1078 {
}
movieClip 1080 {
}
movieClip 1082 {
}
movieClip 1084 {
}
movieClip 1087 {
}
movieClip 1088 {
}
movieClip 1089 {
}
movieClip 1092 {
}
movieClip 1094 {
}
movieClip 1097 {
}
movieClip 1099 {
}
movieClip 1100 {
}
movieClip 1106 {
}
movieClip 1107 {
}
movieClip 1109 {
}
movieClip 1110 {
}
movieClip 1112 {
}
movieClip 1114 {
}
movieClip 1116 {
frame 1 {
if (_root.combo > 0) {
_root.combo -= 10;
}
if (_root.combo <= 0) {
_root.combo = 0;
}
}
frame 1 {
_root.strongCombo = 0;
_root.weakCombo = 0;
}
instance of movieClip 1042 {
onClipEvent (enterFrame) {
if (_root.pauseChar == false) {
if (_root.timeIsFlowing == true) {
if (Key.isDown(17)) {
_parent.gotoAndPlay('dive');
}
}
}
}
}
instance of movieClip 1048 {
onClipEvent (enterFrame) {
if (Key.isDown(50)) {
if (_root.magic >= 15) {
if (_root.mp >= 10) {
if (this._currentframe == 1) {
if (_root.shield_ready == true) {
this.play();
}
}
}
}
}
if (_root.sandstormCleared == true) {
if (_root.timeIsFlowing == true) {
if (_root.health < _root.maxHp) {
_root.health += _root.cons / 75;
}
}
}
}
}
instance of movieClip 1049 {
onClipEvent (enterFrame) {
if (Key.isDown(52)) {
if (_root.magic >= 24) {
if (_root.mp >= 50) {
if (this._currentframe == 1) {
if (_root.empower_ready == true) {
_root.empower_ready = false;
this.play();
_root.vcam.bar.spellFour.cooldown.coolBar._xscale = 100;
_root.empowerActive = true;
_root.mp -= 50;
var controller = _root.createEmptyMovieClip('controller', random(2000));
controller.i = 0;
controller.onEnterFrame = function () {
++this.i;
if (this.i > 320) {
_root.empowerActive = false;
this.removeMovieClip();
}
};
}
}
}
}
}
}
}
frame 60 {
gotoAndPlay(1);
}
instance of movieClip 1050 {
onClipEvent (mouseDown) {
_root.weakCombo = 1;
}
}
frame 63 {
if (_root.combo < 100) {
_root.combo += _root.dex;
}
if (_root.combo >= 100) {
_root.combo = 100;
}
}
instance of movieClip 348 {
onClipEvent (load) {
i = 0;
while (i <= _root.eCount) {
if (this.hitTest(_root['enemy' + i].hitBox)) {
_root['enemy' + i].flying = true;
if (_root.empowerActive != true) {
dmg = _root.strength + random(4);
} else {
dmg = _root.magic * 2 + random(7);
}
_root['enemy' + i].health -= dmg;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root['enemy' + i]._x, '_y': _root['enemy' + i]._y - 70});
td.dmg.text = dmg;
if (_root.empowerActive == true) {
td.dmg.textColor = 3598844;
}
if (_root['enemy' + i].health <= 0) {
_root['enemy' + i].dead = true;
_root['enemy' + i].gotoAndPlay('hit-strong');
}
if (_root.pc._x > _root['enemy' + i]._x) {
_root['enemy' + i].accelerator = -1 * random(5);
_root['enemy' + i].decelerator = 1;
} else {
_root['enemy' + i].accelerator = 1 * random(5);
_root['enemy' + i].decelerator = 1;
}
if (_root['enemy' + i].fortitude < 2) {
if (random(12) == 3) {
_root['enemy' + i].gotoAndPlay('hit-strong');
} else {
_root['enemy' + i].gotoAndPlay('hit-weak');
}
}
}
++i;
}
}
}
frame 69 {
if (_root.weakCombo == 1) {
gotoAndPlay('attack-weak-1');
}
}
frame 75 {
gotoAndPlay(1);
}
instance of movieClip 1050 {
onClipEvent (mouseDown) {
if (Key.isDown(32)) {
if (_root.magic >= 13) {
if (_root.mp >= 24) {
_root.strongCombo = 1;
}
}
}
}
}
instance of movieClip 348 {
onClipEvent (load) {
i = 0;
while (i <= _root.eCount) {
if (this.hitTest(_root['enemy' + i].hitBox)) {
_root['enemy' + i].flying = true;
dmg = _root.strength + _root.magic * 2;
_root['enemy' + i].health -= dmg;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root['enemy' + i]._x, '_y': _root['enemy' + i]._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 6854397;
if (_root['enemy' + i].health <= 0) {
if (random(2) == 1) {
_root.vcam.spatter.play();
} else {
_root.vcam.spatter2.play();
}
_root['enemy' + i].dead = true;
_root['enemy' + i].gotoAndPlay('hit-strong');
}
if (_root.pc._x > _root['enemy' + i]._x) {
_root['enemy' + i].accelerator = -16;
_root['enemy' + i].decelerator = 2;
} else {
_root['enemy' + i].accelerator = 16;
_root['enemy' + i].decelerator = 2;
}
if (_root['enemy' + i].fortitude < 2) {
if (random(6) == 3) {
_root['enemy' + i].gotoAndPlay('hit-strong');
} else {
_root['enemy' + i].gotoAndPlay('hit-weak');
}
}
}
++i;
}
}
}
frame 87 {
if (_root.combo < 100) {
_root.combo += _root.dex;
}
if (_root.combo >= 100) {
_root.combo = 100;
}
}
frame 89 {
if (_root.strongCombo == 1) {
gotoAndPlay('attack-strong-1');
}
}
frame 106 {
gotoAndPlay(1);
}
frame 110 {
_root.mp -= 24;
}
instance of movieClip 1050 {
onClipEvent (mouseDown) {
if (Key.isDown(32)) {
if (_root.magic > 20) {
if (_root.mp >= 30) {
_root.strongCombo = 2;
}
}
}
}
}
instance of movieClip 348 {
onClipEvent (load) {
i = 0;
while (i <= _root.eCount) {
if (this.hitTest(_root['enemy' + i].hitBox)) {
_root['enemy' + i].flying = true;
dmg = _root.magic * 4;
_root['enemy' + i].health -= dmg;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root['enemy' + i]._x, '_y': _root['enemy' + i]._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 6854397;
if (_root['enemy' + i].health <= 0) {
_root['enemy' + i].dead = true;
_root['enemy' + i].gotoAndPlay('hit-strong');
}
if (_root.pc._x > _root['enemy' + i]._x) {
_root['enemy' + i].accelerator = -4 * random(4);
_root['enemy' + i].decelerator = 2;
} else {
_root['enemy' + i].accelerator = 4 * random(4);
_root['enemy' + i].decelerator = 2;
}
if (_root['enemy' + i].fortitude < 2) {
_root['enemy' + i].gotoAndPlay('hit-strong');
}
}
++i;
}
}
}
frame 115 {
if (_root.combo < 100) {
_root.combo += _root.dex * 3;
}
if (_root.combo >= 100) {
_root.combo = 40;
}
}
frame 117 {
if (_root.strongCombo == 2) {
gotoAndPlay('attack-strong-2');
}
}
instance of movieClip 348 {
onClipEvent (enterFrame) {
i = 0;
while (i <= _root.eCount) {
if (this.hitTest(_root['enemy' + i])) {
_root['enemy' + i].flying = true;
if (_root.pc._x > _root['enemy' + i]._x) {
_root['enemy' + i].accelerator = -15;
_root['enemy' + i].decelerator = 1;
} else {
_root['enemy' + i].accelerator = 15;
_root['enemy' + i].decelerator = 1;
}
}
++i;
}
}
}
frame 129 {
gotoAndPlay(99);
}
frame 131 {
_root.mp -= 30;
}
frame 138 {
tempPosX = this._x;
tempPosY = this._y;
}
instance of movieClip 1025 {
onClipEvent (enterFrame) {
_parent._y -= 75;
if (_parent._xscale > 0) {
_parent._x += 30;
} else {
_parent._x -= 30;
}
}
}
frame 143 {
_root.timeIsFlowing = false;
_root.stopTime();
}
instance of movieClip 1025 {
onClipEvent (enterFrame) {
_parent._y -= 0.25;
if (_parent._xscale > 0) {
_parent._x += 0.5;
} else {
_parent._x -= 0.5;
}
_root.vcam._xscale += 0.5;
_root.vcam._yscale += 0.5;
}
}
frame 190 {
_root.timeIsFlowing = true;
_root.startTime();
}
frame 192 {
_root.combo = 100;
}
instance of movieClip 348 {
onClipEvent (enterFrame) {
i = 0;
while (i <= _root.eCount) {
if (this.hitTest(_root['enemy' + i].hitBox)) {
_root['enemy' + i].flying = true;
dmg = _root.strength * 4 + _root.magic * 4;
_root['enemy' + i].health -= dmg;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root['enemy' + i]._x, '_y': _root['enemy' + i]._y - 70});
td.dmg.text = dmg;
td._xscale = 225;
td._yscale = 225;
td.dmg.textColor = 6854397;
if (_root['enemy' + i].health <= 0) {
_root['enemy' + i].dead = true;
_root['enemy' + i].gotoAndPlay('hit-strong');
}
if (_root.pc._x > _root['enemy' + i]._x) {
_root['enemy' + i].accelerator = -8 * random(8);
_root['enemy' + i].decelerator = 4;
} else {
_root['enemy' + i].accelerator = 8 * random(8);
_root['enemy' + i].decelerator = 4;
}
}
if (_root['enemy' + i].fortitude < 2) {
_root['enemy' + i].gotoAndPlay('hit-strong');
}
++i;
}
}
}
frame 193 {
this._x = tempPosX;
this._y = tempPosY;
}
frame 193 {
_root.shaker.play();
}
instance of movieClip 1001 {
onClipEvent (enterFrame) {
_root.vcam._width *= 1.05;
_root.vcam._height *= 1.05;
}
}
instance of movieClip 1001 {
onClipEvent (enterFrame) {
_root.vcam._width /= 1.05;
_root.vcam._height /= 1.05;
}
}
frame 221 {
_root.vcam._width = 720;
_root.vcam._height = 480;
}
frame 227 {
gotoAndPlay(1);
}
instance of movieClip 1042 {
onClipEvent (enterFrame) {
if (_root.pauseChar == false) {
if (_root.timeIsFlowing == true) {
if (Key.isDown(17)) {
_parent.gotoAndPlay('dive');
}
}
}
}
}
frame 249 {
if (Key.isDown(65) || Key.isDown(68)) {
gotoAndPlay('walk');
} else {
gotoAndPlay(1);
}
}
frame 254 {
if (_root.combo < 100) {
_root.combo += _root.dex;
}
if (_root.combo >= 100) {
_root.combo = 100;
}
}
instance of movieClip 348 {
onClipEvent (load) {
i = 0;
while (i <= _root.eCount) {
if (this.hitTest(_root['enemy' + i].hitBox)) {
if (_root['enemy' + i].hasBlood == true) {
rand = random(6);
if (rand == 0) {
_root.vcam.spatter.play();
}
if (rand == 1) {
_root.vcam.spatter2.play();
}
if (rand == 2) {
_root.vcam.spatter3.play();
}
}
_root['enemy' + i].flying = true;
if (_root.empowerActive != true) {
dmg = _root.strength * 2 - random(4);
} else {
dmg = _root.magic * 2 + random(7);
}
_root['enemy' + i].health -= dmg;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root['enemy' + i]._x, '_y': _root['enemy' + i]._y - 70});
td.dmg.text = dmg;
if (_root.empowerActive == true) {
td.dmg.textColor = 3598844;
}
if (_root['enemy' + i].health <= 0) {
_root['enemy' + i].dead = true;
_root['enemy' + i].gotoAndPlay('hit-strong');
}
if (_root.pc._x > _root['enemy' + i]._x) {
_root['enemy' + i].accelerator = -1 * random(5);
_root['enemy' + i].decelerator = 1;
} else {
_root['enemy' + i].accelerator = 1 * random(5);
_root['enemy' + i].decelerator = 1;
}
if (_root['enemy' + i].fortitude < 2) {
if (random(12) == 3) {
_root['enemy' + i].gotoAndPlay('hit-strong');
} else {
_root['enemy' + i].gotoAndPlay('hit-weak');
}
}
}
++i;
}
}
}
instance of movieClip 1050 {
onClipEvent (mouseDown) {
_root.weakCombo = 2;
}
}
frame 260 {
if (_root.combo < 100) {
_root.combo += _root.dex;
}
if (_root.combo >= 100) {
_root.combo = 100;
}
}
instance of movieClip 348 {
onClipEvent (enterFrame) {
i = 0;
while (i <= _root.eCount) {
if (this.hitTest(_root['enemy' + i].hitBox)) {
_root['enemy' + i].flying = true;
if (_root.empowerActive != true) {
dmg = _root.strength + 5 + random(2);
} else {
dmg = _root.magic * 2 + random(7);
}
_root['enemy' + i].health -= dmg;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root['enemy' + i]._x, '_y': _root['enemy' + i]._y - 70});
td.dmg.text = dmg;
if (_root.empowerActive == true) {
td.dmg.textColor = 3598844;
}
if (_root['enemy' + i].health <= 0) {
_root['enemy' + i].dead = true;
_root['enemy' + i].gotoAndPlay('hit-strong');
}
if (_root.pc._x > _root['enemy' + i]._x) {
_root['enemy' + i].accelerator = -10;
_root['enemy' + i].decelerator = 2;
} else {
_root['enemy' + i].accelerator = 10;
_root['enemy' + i].decelerator = 2;
}
if (_root['enemy' + i].fortitude < 2) {
if (random(12) == 3) {
_root['enemy' + i].gotoAndPlay('hit-strong');
} else {
_root['enemy' + i].gotoAndPlay('hit-weak');
}
}
}
++i;
}
}
}
instance of movieClip 1005 {
onClipEvent (enterFrame) {
if (_parent._xscale > 0) {
_parent._x += _parent.speed;
} else {
_parent._x -= _parent.speed;
}
}
}
frame 269 {
if (_root.weakCombo == 2) {
gotoAndPlay('attack-weak-2');
}
}
frame 282 {
gotoAndPlay(1);
}
instance of movieClip 1050 {
onClipEvent (mouseDown) {
if (_root.combo >= 100) {
_root.combo = 0;
_root.weakCombo = 3;
}
}
}
frame 284 {
if (_root.combo < 100) {
_root.combo += _root.dex;
}
if (_root.combo >= 100) {
_root.combo = 100;
}
}
instance of movieClip 348 {
onClipEvent (enterFrame) {
i = 0;
while (i <= _root.eCount) {
if (this.hitTest(_root['enemy' + i].hitBox)) {
if (_root['enemy' + i].hasBlood == true) {
rand = random(8);
if (rand == 0) {
_root.vcam.spatter.play();
}
if (rand == 1) {
_root.vcam.spatter2.play();
}
if (rand == 2) {
_root.vcam.spatter3.play();
}
}
if (_root.empowerActive != true) {
dmg = _root.strength * 2 - random(6);
} else {
dmg = _root.magic * 2 + random(7);
}
_root['enemy' + i].health -= dmg;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root['enemy' + i]._x, '_y': _root['enemy' + i]._y - 70});
td.dmg.text = dmg;
if (_root.empowerActive == true) {
td.dmg.textColor = 3598844;
}
if (_root['enemy' + i].health <= 0) {
_root['enemy' + i].dead = true;
_root['enemy' + i].gotoAndPlay('hit-strong');
}
if (_root.pc._x > _root['enemy' + i]._x) {
_root['enemy' + i].accelerator = -1 * random(5);
_root['enemy' + i].decelerator = 1;
} else {
_root['enemy' + i].accelerator = 1 * random(5);
_root['enemy' + i].decelerator = 1;
}
if (_root['enemy' + i].fortitude < 2) {
if (random(12) == 3) {
_root['enemy' + i].gotoAndPlay('hit-strong');
} else {
_root['enemy' + i].gotoAndPlay('hit-weak');
}
}
}
++i;
}
}
}
frame 290 {
if (_root.weakCombo == 3) {
gotoAndPlay('attack-weak-3');
}
}
frame 303 {
gotoAndPlay(1);
}
frame 315 {
_root.combo = 0;
}
instance of movieClip 1005 {
onClipEvent (enterFrame) {
if (_parent._xscale > 0) {
_parent._x += _parent.speed * 8;
} else {
_parent._x -= _parent.speed * 8;
}
}
}
instance of movieClip 348 {
onClipEvent (load) {
i = 0;
while (i <= _root.eCount) {
if (this.hitTest(_root['enemy' + i].hitBox)) {
_root['enemy' + i].flying = true;
dmg = _root.dex * 7;
_root['enemy' + i].health -= dmg;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root['enemy' + i]._x, '_y': _root['enemy' + i]._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16750899;
if (_root['enemy' + i].health <= 0) {
_root['enemy' + i].dead = true;
_root['enemy' + i].gotoAndPlay('hit-strong');
}
if (_root.pc._x > _root['enemy' + i]._x) {
_root['enemy' + i].accelerator = -8 * random(8);
_root['enemy' + i].decelerator = 2;
} else {
_root['enemy' + i].accelerator = 8 * random(8);
_root['enemy' + i].decelerator = 2;
}
if (_root['enemy' + i].fortitude < 2) {
_root['enemy' + i].gotoAndPlay('hit-strong');
}
}
++i;
}
}
}
instance of movieClip 348 {
onClipEvent (load) {
i = 0;
while (i <= _root.eCount) {
if (this.hitTest(_root['enemy' + i].hitBox)) {
if (_root['enemy' + i].hasBlood == true) {
_root.vcam.spatter.play();
_root.vcam.spatter2.play();
_root.vcam.spatter3.play();
}
_root['enemy' + i].flying = true;
dmg = _root.dex * 7;
_root['enemy' + i].health -= dmg;
var td = _root.attachMovie('damage', 'damage' + random(5000), 10000 + random(500), {'_x': _root['enemy' + i]._x, '_y': _root['enemy' + i]._y - 70});
td.dmg.text = dmg;
td.dmg.textColor = 16750899;
if (_root['enemy' + i].health <= 0) {
_root['enemy' + i].dead = true;
_root['enemy' + i].gotoAndPlay('hit-strong');
}
if (_root.pc._x > _root['enemy' + i]._x) {
_root['enemy' + i].accelerator = -8 * random(8);
_root['enemy' + i].decelerator = 2;
} else {
_root['enemy' + i].accelerator = 8 * random(8);
_root['enemy' + i].decelerator = 2;
}
if (_root['enemy' + i].fortitude < 2) {
_root['enemy' + i].gotoAndPlay('hit-strong');
}
}
++i;
}
}
}
frame 316 {
if (_root.forestCleared == true) {
if (_root.mp >= 20) {
_root.attachMovie('flames', 'flames', 920, {'_x': _root.pc._x, '_y': _root.pc._y + 150});
_root.mp -= 20;
}
}
}
frame 318 {
if (_root.forestCleared == true) {
if (_root.mp >= 20) {
_root.attachMovie('flames', 'flames2', 921, {'_x': _root.pc._x, '_y': _root.pc._y + 150});
_root.mp -= 20;
}
}
}
frame 320 {
if (_root.forestCleared == true) {
if (_root.mp >= 20) {
_root.attachMovie('flames', 'flames3', 922, {'_x': _root.pc._x, '_y': _root.pc._y + 150});
_root.mp -= 20;
}
}
}
instance of movieClip 1005 {
onClipEvent (enterFrame) {
if (_parent._xscale > 0) {
_parent._x += _parent.speed * 4;
} else {
_parent._x -= _parent.speed * 4;
}
}
}
frame 325 {
gotoAndPlay(1);
}
instance of movieClip 1005 {
onClipEvent (enterFrame) {
if (_parent._xscale > 0) {
_parent._x += _parent.speed;
} else {
_parent._x -= _parent.speed;
}
}
}
frame 326 {
rand = random(5);
if (rand == 1) {
_root.p1.start();
}
if (rand == 2) {
_root.p2.start();
}
if (rand == 3) {
_root.p3.start();
}
}
frame 326 {
if (_root.area == 'arena') {
rand = random(10);
if (rand == 1) {
_root.applause.start();
}
if (rand == 5) {
_root.applause2.start();
}
}
}
frame 339 {
gotoAndPlay(1);
}
instance of movieClip 1005 {
onClipEvent (enterFrame) {
if (_parent._xscale > 0) {
_parent._x += _parent.speed;
} else {
_parent._x -= _parent.speed;
}
}
}
frame 340 {
_root.psi_ready = false;
_root.mp -= 20;
_root.vcam.bar.spellOne.cooldown.coolBar._xscale = 100;
}
frame 345 {
_root.vcam.blue.play();
}
instance of movieClip 1005 {
onClipEvent (enterFrame) {
if (_parent._xscale > 0) {
_parent._x += _parent.speed;
} else {
_parent._x -= _parent.speed;
}
}
}
instance of movieClip 348 {
onClipEvent (enterFrame) {
i = 0;
while (i <= _root.eCount) {
if (this.hitTest(_root['enemy' + i].hitBox)) {
_root['enemy' + i].flying = true;
if (_root.pc._x > _root['enemy' + i]._x) {
_root['enemy' + i].accelerator = -4 * random(8) - 16;
_root['enemy' + i].decelerator = 2;
} else {
_root['enemy' + i].accelerator = 4 * random(8) + 16;
_root['enemy' + i].decelerator = 2;
}
if (_root['enemy' + i].fortitude < 5) {
_root['enemy' + i].gotoAndPlay('hit-strong');
}
}
++i;
}
}
}
frame 375 {
gotoAndPlay(1);
}
frame 376 {
if (_root.area == 'arena') {
rand = random(10);
if (rand == 1) {
_root.applause.start();
}
if (rand == 5) {
_root.applause2.start();
}
}
}
instance of movieClip 466 {
onClipEvent (load) {
i = _root.stumble;
if (i < 0) {
l = 0.2;
} else {
l = -0.2;
}
}
onClipEvent (enterFrame) {
_root.pc._x -= i;
i -= l;
}
}
instance of movieClip 1048 {
onClipEvent (enterFrame) {
if (Key.isDown(50)) {
if (_root.magic >= 15) {
if (_root.mp >= 10) {
if (this._currentframe == 1) {
if (_root.shield_ready == true) {
this.play();
}
}
}
}
}
}
}
frame 398 {
gotoAndPlay(1);
}
instance of movieClip 1005 {
onClipEvent (enterFrame) {
if (_parent._xscale > 0) {
_parent._x += _parent.speed * 4;
} else {
_parent._x -= _parent.speed * 4;
}
}
}
instance of movieClip 1005 {
onClipEvent (enterFrame) {
if (_parent._xscale > 0) {
_parent._x += _parent.speed * 3;
} else {
_parent._x -= _parent.speed * 3;
}
}
}
instance of movieClip 1005 {
onClipEvent (enterFrame) {
if (_parent._xscale > 0) {
_parent._x += _parent.speed * 2;
} else {
_parent._x -= _parent.speed * 2;
}
}
}
instance of movieClip 1005 {
onClipEvent (enterFrame) {
if (_parent._xscale > 0) {
_parent._x += _parent.speed * 1;
} else {
_parent._x -= _parent.speed * 1;
}
}
}
frame 431 {
gotoAndPlay(1);
}
frame 448 {
stop();
}
frame 458 {
gotoAndPlay(1);
}
frame 459 {
_root.shatterveil_ready = false;
_root.mp -= 35;
_root.vcam.bar.spellThree.cooldown.coolBar._xscale = 100;
}
frame 470 {
_root.stopTime();
_root.timeIsFlowing = false;
}
frame 533 {
_root.startTime();
_root.timeIsFlowing = true;
}
frame 540 {
var temp = _root.attachMovie('shatterveilExplosion', 'shatterveilExplosion', _root.getNextHighestDepth(), {'_x': _root.pc._x, '_y': _root.pc._y});
if (this._xscale < 0) {
temp._xscale = -100;
}
}
frame 550 {
gotoAndPlay(1);
}
frame 551 {
_root.inAir = true;
}
frame 575 {
_root.inAir = false;
}
frame 615 {
gotoAndPlay(1);
}
frame 616 {
_root.dead = true;
_root.stopTime();
stopAllSounds();
}
frame 724 {
_root.fader.play();
}
frame 754 {
_root.killAll();
_root.file.data.area = 'valeron';
_root.dead = false;
_root.loadGame();
}
instance of movieClip 1042 {
onClipEvent (enterFrame) {
if (_root.pauseChar == false) {
if (_root.timeIsFlowing == true) {
if (Key.isDown(17)) {
_parent.gotoAndPlay('dive');
}
}
}
}
}
instance of movieClip 1048 {
onClipEvent (enterFrame) {
if (Key.isDown(50)) {
if (_root.magic >= 15) {
if (_root.mp >= 10) {
if (this._currentframe == 1) {
if (_root.shield_ready == true) {
this.play();
}
}
}
}
}
if (_root.sandstormCleared == true) {
if (_root.timeIsFlowing == true) {
if (_root.health < _root.maxHp) {
_root.health += _root.cons / 75;
}
}
}
}
}
instance of movieClip 1049 {
onClipEvent (enterFrame) {
if (Key.isDown(52)) {
if (_root.magic >= 24) {
if (_root.mp >= 50) {
if (this._currentframe == 1) {
if (_root.empower_ready == true) {
_root.empower_ready = false;
this.play();
_root.vcam.bar.spellFour.cooldown.coolBar._xscale = 100;
_root.empowerActive = true;
_root.mp -= 50;
var controller = _root.createEmptyMovieClip('controller', random(2000));
controller.i = 0;
controller.onEnterFrame = function () {
++this.i;
if (this.i > 320) {
_root.empowerActive = false;
this.removeMovieClip();
}
};
}
}
}
}
}
}
}
}
instance pc of movieClip 1116 {
onClipEvent (load) {
scale = this._xscale;
this.gotoAndPlay(449);
}
onClipEvent (mouseDown) {
if (_root.pauseChar != true) {
if (this._currentframe < 60 || this._currentframe >= 228 && this._currentframe <= 250) {
if (Key.isDown(32) || Key.isDown(96)) {
if (_root.mp >= 4) {
_root.mp -= 4;
this.gotoAndPlay('attack-strong');
}
} else {
this.gotoAndPlay('attack-jab');
}
}
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.health = 1;
}
speed = _root.dex / 4 + 4;
if (_root.pauseChar != true) {
if (_root.mp < _root.maxMp) {
_root.mp += _root.magic / 3 / 32;
}
if (this._currentframe < 60) {
if (Key.isDown(65) || Key.isDown(68)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(83) || Key.isDown(87)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(37) || Key.isDown(38)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(39) || Key.isDown(40)) {
this.gotoAndPlay('walk');
}
}
if (this._currentframe < 80) {
if (Key.isDown(49)) {
if (_root.magic >= 10) {
if (_root.mp >= 24) {
if (_root.psi_ready == true) {
this.gotoAndPlay('spell_psiwave');
}
}
}
}
if (Key.isDown(51)) {
if (_root.magic >= 18) {
if (_root.mp >= 35) {
if (_root.shatterveil_ready == true) {
this.gotoAndPlay('spell_shatterveil');
}
}
}
}
}
if (this._currentframe >= 228 && this._currentframe < 250) {
if (Key.isDown(65) || Key.isDown(37)) {
if (this._x > 270) {
this._x -= speed;
this._xscale = -scale;
}
}
if (Key.isDown(68) || Key.isDown(39)) {
if (this._x < 7000) {
this._x += speed;
this._xscale = scale;
}
}
if (Key.isDown(83) || Key.isDown(40)) {
if (this._y < 250) {
this._y += speed / 2;
}
}
if (Key.isDown(87) || Key.isDown(38)) {
if (this._y > 150) {
this._y -= speed / 2;
}
}
}
}
}
onClipEvent (keyUp) {
if (this._currentframe < 60 || this._currentframe >= 228 && this._currentframe < 250) {
this.gotoAndPlay(1);
}
}
}
movieClip 1118 {
}
movieClip 1119 {
frame 1 {
stop();
}
instance of movieClip 1118 {
onClipEvent (enterFrame) {
_root.shifting = true;
_root.vcam._y += -5 + random(10);
_root.vcam._x += -5 + random(10);
}
}
frame 11 {
_root.shifting = false;
}
}
movieClip 1122 {
}
movieClip 1124 {
}
instance of movieClip 1124 {
onClipEvent (load) {
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this._alpha > 0) {
this._alpha -= 1;
}
}
}
// unknown tag 88 length 81
movieClip 1131 {
}
movieClip 1143 {
}
movieClip 1144 {
}
movieClip 1145 {
instance cooldown of movieClip 1144 {
onClipEvent (load) {
this.coolBar._xscale = 0;
}
onClipEvent (enterFrame) {
if (this.coolBar._xscale >= 1) {
this.coolBar._xscale -= _root.cooldown_psi;
} else {
_root.psi_ready = true;
}
}
}
}
movieClip 1150 {
}
movieClip 1151 {
instance cooldown of movieClip 1150 {
onClipEvent (load) {
this.coolBar._xscale = 0;
}
onClipEvent (enterFrame) {
if (this.coolBar._xscale >= 1) {
this.coolBar._xscale -= _root.cooldown_shield;
} else {
_root.shield_ready = true;
}
}
}
}
movieClip 1155 {
instance cooldown of movieClip 1150 {
onClipEvent (load) {
this.coolBar._xscale = 0;
}
onClipEvent (enterFrame) {
if (this.coolBar._xscale >= 1) {
this.coolBar._xscale -= _root.cooldown_shatterveil;
} else {
_root.shatterveil_ready = true;
}
}
}
}
movieClip 1159 {
instance cooldown of movieClip 1150 {
onClipEvent (load) {
this.coolBar._xscale = 0;
}
onClipEvent (enterFrame) {
if (this.coolBar._xscale >= 1) {
this.coolBar._xscale -= _root.cooldown_empower;
} else {
_root.empower_ready = true;
}
}
}
}
movieClip 1161 {
}
movieClip 1163 {
}
button 1166 {
on (rollOver) {
var temp = _root.attachMovie('description', 'descript', 12013, {'_x': _root._xmouse, '_y': _root._ymouse});
temp.gotoAndStop(1);
temp.onEnterFrame = function () {
this._x = _root._xmouse;
this._y = _root._ymouse;
};
}
on (rollOut) {
temp.removeMovieClip();
}
}
button 1167 {
on (rollOver) {
var temp = _root.attachMovie('description', 'descript', 12013, {'_x': _root._xmouse, '_y': _root._ymouse});
temp.gotoAndStop(2);
temp.onEnterFrame = function () {
this._x = _root._xmouse;
this._y = _root._ymouse;
};
}
on (rollOut) {
temp.removeMovieClip();
}
}
button 1168 {
on (rollOver) {
var temp = _root.attachMovie('description', 'descript', 12013, {'_x': _root._xmouse, '_y': _root._ymouse});
temp.gotoAndStop(5);
temp.onEnterFrame = function () {
this._x = _root._xmouse;
this._y = _root._ymouse;
};
}
on (rollOut) {
temp.removeMovieClip();
}
}
button 1169 {
on (rollOver) {
var temp = _root.attachMovie('description', 'descript', 12013, {'_x': _root._xmouse, '_y': _root._ymouse});
temp.gotoAndStop(6);
temp.onEnterFrame = function () {
this._x = _root._xmouse;
this._y = _root._ymouse;
};
}
on (rollOut) {
temp.removeMovieClip();
}
}
button 1170 {
on (rollOver) {
var temp = _root.attachMovie('description', 'descript', 12013, {'_x': _root._xmouse, '_y': _root._ymouse});
temp.gotoAndStop(7);
temp.onEnterFrame = function () {
this._x = _root._xmouse;
this._y = _root._ymouse;
};
}
on (rollOut) {
temp.removeMovieClip();
}
}
button 1171 {
on (rollOver) {
var temp = _root.attachMovie('description', 'descript', 12013, {'_x': _root._xmouse - 90, '_y': _root._ymouse});
temp.gotoAndStop(8);
temp.onEnterFrame = function () {
this._x = _root._xmouse - 90;
this._y = _root._ymouse;
};
}
on (rollOut) {
temp.removeMovieClip();
}
}
button 1172 {
on (rollOver) {
var temp = _root.attachMovie('description', 'descript', 12013, {'_x': _root._xmouse - 200, '_y': _root._ymouse});
temp.gotoAndStop(3);
temp.onEnterFrame = function () {
this._x = _root._xmouse - 200;
this._y = _root._ymouse;
};
}
on (rollOut) {
temp.removeMovieClip();
}
}
button 1173 {
on (rollOver) {
var temp = _root.attachMovie('description', 'descript', 12013, {'_x': _root._xmouse - 200, '_y': _root._ymouse});
temp.gotoAndStop(4);
temp.onEnterFrame = function () {
this._x = _root._xmouse - 200;
this._y = _root._ymouse;
};
}
on (rollOut) {
temp.removeMovieClip();
}
}
movieClip 1175 {
}
movieClip 1176 {
instance of movieClip 1175 {
onClipEvent (enterFrame) {
if (_root.magic >= 13) {
this._alpha = 100;
} else {
this._alpha = 30;
}
}
}
instance of movieClip 1175 {
onClipEvent (enterFrame) {
if (_root.magic >= 22) {
this._alpha = 100;
} else {
this._alpha = 30;
}
}
}
}
movieClip 1177 {
instance spellOne of movieClip 1145 {
onClipEvent (enterFrame) {
if (_root.magic >= 10) {
this._alpha = 100;
} else {
this._alpha = 30;
}
}
}
instance spellTwo of movieClip 1151 {
onClipEvent (enterFrame) {
if (_root.magic >= 15) {
this._alpha = 100;
} else {
this._alpha = 30;
}
}
}
instance spellThree of movieClip 1155 {
onClipEvent (enterFrame) {
if (_root.magic >= 18) {
this._alpha = 100;
} else {
this._alpha = 30;
}
}
}
instance spellFour of movieClip 1159 {
onClipEvent (enterFrame) {
if (_root.magic >= 24) {
this._alpha = 100;
} else {
this._alpha = 30;
}
}
}
instance spellFive of movieClip 1161 {
onClipEvent (enterFrame) {
if (_root.forestCleared == true) {
this._alpha = 100;
} else {
this._alpha = 30;
}
}
}
instance spellSix of movieClip 1163 {
onClipEvent (enterFrame) {
if (_root.sandstormCleared == true) {
this._alpha = 100;
} else {
this._alpha = 30;
}
}
}
}
movieClip 1178 {
frame 1 {
stop();
}
}
movieClip 1180 {
}
button 1182 {
on (rollOver) {
var temp = _root.attachMovie('damage', 'damage', 9001, {'_x': _root._xmouse, '_y': _root._ymouse});
temp.dmg.text = _root.xp + '/' + _root.maxXp + ' xp';
temp.onEnterFrame = function () {
this._x = _root._xmouse;
this._y = _root._ymouse;
};
}
on (rollOut) {
temp.removeMovieClip();
}
}
movieClip 1184 {
}
movieClip 1186 {
}
movieClip 1187 {
instance of movieClip 1186 {
onClipEvent (enterFrame) {
this._xscale = _root.maxHp;
}
}
instance of movieClip 1186 {
onClipEvent (enterFrame) {
this._xscale = _root.health;
}
}
}
movieClip 1189 {
}
movieClip 1190 {
instance of movieClip 1189 {
onClipEvent (enterFrame) {
this._xscale = _root.maxMp;
}
}
instance of movieClip 1189 {
onClipEvent (enterFrame) {
this._xscale = _root.mp;
}
}
}
movieClip 1191 {
instance of movieClip 1184 {
onClipEvent (enterFrame) {
this._xscale = _root.combo;
}
}
}
movieClip 1197 {
}
movieClip 1198 {
}
button 1210 {
on (release) {
if (pts > 1) {
_root.strength += 1;
pts -= 1;
} else {
_root.strength += 1;
play();
}
}
}
button 1215 {
on (release) {
if (pts > 1) {
_root.dex += 1;
pts -= 1;
} else {
_root.dex += 1;
play();
}
}
}
button 1220 {
on (release) {
if (pts > 1) {
_root.magic += 1;
pts -= 1;
} else {
_root.magic += 1;
play();
}
}
}
button 1225 {
on (release) {
if (pts > 1) {
_root.cons += 1;
_root.maxHp += 5;
_root.hp += 5;
pts -= 1;
} else {
_root.cons += 1;
_root.maxHp += 5;
_root.hp += 5;
play();
}
}
}
button 1230 {
on (release) {
if (pts > 1) {
_root.cons += 1;
_root.maxMp += 5;
_root.mp += 5;
pts -= 1;
} else {
_root.cons += 1;
_root.maxMp += 5;
_root.mp += 5;
play();
}
}
}
movieClip 1231 {
frame 1 {
stop();
}
frame 2 {
this.swapDepths(_root.getNextHighestDepth());
}
frame 20 {
pts = 4;
}
frame 20 {
stop();
}
frame 32 {
_root.startTime();
_root.pauseChar = false;
_root.pc.play();
_root.timeIsFlowing = true;
_root.vcam._width = 720;
_root.vcam._height = 480;
}
}
movieClip 1234 {
}
movieClip 1236 {
}
movieClip 1237 {
frame 171 {
stop();
}
}
movieClip 1239 {
}
movieClip 1240 {
frame 171 {
stop();
}
}
movieClip 1242 {
}
movieClip 1243 {
frame 171 {
stop();
}
}
movieClip 1245 {
}
movieClip 1246 {
frame 171 {
stop();
}
}
movieClip 1248 {
}
movieClip 1249 {
frame 171 {
stop();
}
}
movieClip 1251 {
}
movieClip 1252 {
frame 171 {
stop();
}
}
movieClip 1254 {
}
movieClip 1255 {
frame 171 {
stop();
}
}
movieClip 1257 {
}
movieClip 1258 {
frame 171 {
stop();
}
}
movieClip 1259 {
frame 1 {
stop();
}
}
movieClip 1264 {
}
movieClip 1265 {
frame 1 {
stop();
}
}
movieClip 1267 {
}
button 1270 {
on (release) {
nextFrame();
}
}
// unknown tag 88 length 117
button 1276 {
on (release) {
gotoAndStop(1);
}
}
button 1280 {
on (release) {
gotoAndStop(2);
}
}
movieClip 1287 {
}
movieClip 1290 {
}
movieClip 1301 {
frame 1 {
stop();
}
}
movieClip 1304 {
}
movieClip 1307 {
}
button 1308 {
on (release) {
_root.vcam.logo._visible = true;
_root.combo = 100;
_root.timeIsFlowing = true;
_root.pauseChar = false;
_root.startTime();
nextFrame();
}
}
movieClip 1309 {
frame 1 {
if (_root.cheese == 1) {
this.play();
} else {
this.stop();
}
}
frame 2 {
_root.stopTime();
_root.pauseChar = true;
_root.timeIsFlowing = false;
}
frame 30 {
stop();
}
frame 32 {
_parent.logo._visible = false;
}
frame 33 {
_root.combo = 100;
}
frame 35 {
_root.vcam.messages.gotoAndStop(4);
}
frame 36 {
_root.go = true;
}
}
movieClip 1325 {
}
button 1327 {
on (release) {
gotoAndStop(1);
}
}
movieClip 1328 {
frame 1 {
stop();
}
frame 821 {
var temp = _root.attachMovie('missions', 'missions', 8675, {'_x': _root.vcam._x, '_y': _root._vcam._y});
temp.onEnterFrame = function () {
this._x = _root.vcam._x;
this._y = _root.vcam._y;
};
stop();
}
frame 821 {
i = 0;
while (i < 301) {
_root.bg['snow' + i].removeMovieClip();
++i;
}
_root.pc.play();
_root.pauseChar = false;
_root.bg.gotoAndStop(1);
}
}
button 1332 {
on (release) {
_root.pauseChar = false;
_root.startTime();
_root.timeIsFlowing = true;
gotoAndStop(1);
}
}
button 1343 {
on (release) {
_root.pauseChar = false;
_root.startTime();
_root.timeIsFlowing = true;
_root.go = true;
gotoAndStop(1);
}
}
button 1355 {
on (release) {
_root.showMapTrue();
}
}
button 1359 {
on (release) {
_root.pauseChar = false;
_root.startTime();
_root.timeIsFlowing = true;
_root.go = true;
gotoAndStop(1);
}
}
movieClip 1364 {
frame 1 {
stop();
}
frame 2 {
_root.pauseChar = true;
_root.stopTime();
_root.timeIsFlowing = false;
}
frame 3 {
_root.pauseChar = true;
_root.stopTime();
_root.timeIsFlowing = false;
}
frame 4 {
_root.pauseChar = true;
_root.stopTime();
_root.timeIsFlowing = false;
}
frame 6 {
_root.stopTime();
_root.timeIsFlowing = false;
_root.pauseChar = true;
}
}
movieClip 1366 {
}
movieClip 1367 {
}
movieClip 1368 {
}
movieClip 1369 {
}
movieClip 1370 {
}
button 1372 {
on (release) {
getURL('www.maxgames.com', '_BLANK');
}
}
// unknown tag 88 length 121
movieClip 1377 {
}
movieClip 1378 {
frame 1 {
stop();
}
frame 2 {
_root.onMission = false;
_root.lockarea = false;
}
}
movieClip 1382 {
}
movieClip 1383 {
frame 1 {
stop();
}
frame 2 {
_root.onMission = true;
}
}
movieClip 1386 {
}
movieClip 1387 {
frame 1 {
stop();
}
}
movieClip 1389 {
}
movieClip 1390 {
frame 1 {
function camControl() {
rp.x = _x;
rp.y = _y;
var v5 = camH * (_yscale * 0.01);
var v6 = camW * (_xscale * 0.01);
var v3 = sH / v5;
var v4 = sW / v6;
_x2 = (v6 / 2) * v4;
_y2 = (v5 / 2) * v3;
_xscale2 = v4 * 100;
_yscale2 = v3 * 100;
_rotation2 = -_rotation;
_parent.filters = this.filters;
_parent.transform.colorTransform = this.transform.colorTransform;
}
function reset() {
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
_parent._rotation = 0;
_parent._visible = true;
}
function set_x2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x += value - v2.x;
}
function get_x2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.x;
}
function set_y2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._y += value - v2.y;
}
function get_y2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.y;
}
function get_xscale2() {
return _parent._xscale;
}
function set_xscale2(value) {
setProperty2('_xscale', value);
}
function get_yscale2() {
return _parent._yscale;
}
function set_yscale2(value) {
setProperty2('_yscale', value);
}
function get_rotation2() {
return parent.rotation;
}
function set_rotation2(value) {
setProperty2('_rotation', value);
}
function setProperty2(prop, n) {
var v3 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v3);
_parent[prop] = n;
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x -= v2.x - v3.x;
_parent._y -= v2.y - v3.y;
}
addProperty('_x2', get_x2, set_x2);
addProperty('_y2', get_y2, set_y2);
addProperty('_xscale2', get_xscale2, set_xscale2);
addProperty('_yscale2', get_yscale2, set_yscale2);
addProperty('_rotation2', get_rotation2, set_rotation2);
var oldScaleMode = stage.scaleMode;
stage.scaleMode = 'exactFit';
var sW = Stage.width;
var sH = Stage.height;
stage.scaleMode = oldScaleMode;
var bounds_obj = this.getBounds(this);
var camH = Math.abs(bounds_obj.yMax - bounds_obj.yMin);
var camW = Math.abs(bounds_obj.xMax - bounds_obj.xMin);
var rp = {'x': this._x, 'y': this._y};
onEnterFrame = function () {
camControl();
};
this.onUnload = reset;
}
instance spatter of movieClip 991 {
onClipEvent (enterFrame) {
if (this._currentframe != 1) {
this.swapDepths(_root.getNextHighestDepth());
}
}
}
instance spatter2 of movieClip 991 {
onClipEvent (enterFrame) {
if (this._currentframe != 1) {
this.swapDepths(_root.getNextHighestDepth());
}
}
}
instance spatter3 of movieClip 1178 {
onClipEvent (enterFrame) {
if (this._currentframe != 1) {
this.swapDepths(_root.getNextHighestDepth());
}
}
}
instance of movieClip 1180 {
onClipEvent (enterFrame) {
this._xscale = (_root.xp / _root.maxXp) * 100;
}
}
}
instance vcam of movieClip 1390 {
onClipEvent (enterFrame) {
if (_root.shifting != true) {
this._x = _root.pc._x;
this._y = _root.pc._y;
}
}
}
movieClip 1393 {
frame 74 {
stop();
}
}
frame 1805 {
fader.play();
}
frame 1805 {
stop();
vcam.loc.gotoAndStop('valeron');
health = maxHp;
hp = maxHp;
vcam.fs.removeMovieClip();
vcam.ff.removeMovieClip();
}
frame 1805 {
cheese = 9001;
}
frame 1805 {
k = 0;
while (k < 300) {
_root['enemy' + k].unloadMovie();
++k;
}
_quality = 'high';
}
movieClip 1395 {
}
movieClip 1398 {
}
movieClip 1402 {
}
movieClip 1404 {
}
movieClip 1408 {
}
movieClip 1410 {
}
movieClip 1411 {
}
movieClip 1414 {
}
movieClip 1415 {
}
movieClip 1417 {
}
movieClip 1418 {
}
movieClip 1419 {
}
movieClip 1430 {
}
movieClip 1434 {
}
movieClip 1435 {
}
movieClip 1436 {
frame 1 {
stop();
}
instance of movieClip 1430 {
onClipEvent (load) {
if (_root.gameCleared == true) {
this._visible = false;
}
}
}
frame 2 {
_root.viewedSphere = true;
_root.pauseChar = true;
_root.pc.gotoAndPlay('pray');
_root.saveGame();
}
frame 41 {
k = 0;
while (k < 300) {
duplicateMovieClip(this.snow, 'snow' + k, k + 90000);
++k;
}
}
instance snow of movieClip 794 snow {
onClipEvent (load) {
movieWidth = 1050;
movieHeight = 400;
i = 1 + Math.random() * 2;
k = -Math.PI + Math.random() * Math.PI;
this._yscale = 50 + Math.random() * 100;
this._xscale = this._yscale;
this._alpha = 75 + Math.random() * 100;
this._x = Math.random() * movieWidth + 560;
this._y = Math.random() * movieHeight - 320;
}
onClipEvent (enterFrame) {
rad += (k / 180) * Math.PI;
this._x -= Math.cos(rad);
this._y += i;
if (this._y >= movieHeight) {
this._y = -5;
}
if (this._x >= movieWidth || this._x <= 0) {
this._x = -10 + Math.random() * movieWidth;
this._y = -5;
}
}
}
frame 110 {
_root.vcam.cutBar._visible = true;
_root.vcam.veilTalk1.play();
stop();
}
}
// unknown tag 88 length 64
movieClip 1440 {
}
button 1441 {
on (release) {
_root.arenaGot = true;
play();
}
}
button 1442 {
on (release) {
play();
}
}
// unknown tag 88 length 61
movieClip 1446 {
}
movieClip 1447 {
frame 1 {
stop();
}
frame 16 {
_root.pauseChar = true;
_root.curMission = 4;
}
frame 173 {
_root.pauseChar = false;
}
frame 201 {
_root.vcam.newCodex.play();
_root.codex_skyward = true;
_root.arenaDiscovered = true;
}
}
instance of movieClip 1447 {
onClipEvent (enterFrame) {
if (_root.forestCleared == true && _root.arenaGot != true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 1012 {
onClipEvent (enterFrame) {
if (_root.gameCleared != true) {
if (this.hitTest(_root.pc)) {
if (rofl != true) {
rofl = true;
_root.greeting1.start();
}
}
}
}
}
instance of movieClip 1012 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
_root.pc._x -= 140;
}
}
}
instance of movieClip 1014 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
_root.pc._x += 50;
_root.showMap();
}
}
}
movieClip 1449 {
}
movieClip 1453 {
}
movieClip 1455 {
}
button 1459 {
on (release) {
if (_root.pauseChar == false) {
if (_root.viewedSphere != true) {
_root.bg.play();
_root.pauseChar = true;
} else {
var temp = _root.attachMovie('missions', 'missions', 8675, {'_x': _root.vcam._x, '_y': _root._vcam._y});
temp.onEnterFrame = function () {
this._x = _root.vcam._x;
this._y = _root.vcam._y;
};
}
}
}
}
instance pc of movieClip 1116 {
onClipEvent (load) {
scale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.die();
}
speed = _root.dex / 3 + 2;
if (_root.pauseChar != true) {
if (_root.mp < _root.maxMp) {
_root.mp += _root.magic / 3 / 32;
}
if (this._currentframe < 60) {
if (Key.isDown(65) || Key.isDown(68)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(83) || Key.isDown(87)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(37) || Key.isDown(38)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(40) || Key.isDown(39)) {
this.gotoAndPlay('walk');
}
}
if (this._currentframe < 80) {
if (Key.isDown(49)) {
if (_root.magic >= 10) {
if (_root.mp >= 24) {
if (_root.psi_ready == true) {
this.gotoAndPlay('spell_psiwave');
}
}
}
}
if (Key.isDown(51)) {
if (_root.magic >= 18) {
if (_root.mp >= 35) {
if (_root.shatterveil_ready == true) {
this.gotoAndPlay('spell_shatterveil');
}
}
}
}
}
if (this._currentframe >= 228 && this._currentframe < 250) {
if (Key.isDown(65) || Key.isDown(37)) {
if (this._x > 270) {
this._x -= speed;
this._xscale = -scale;
}
}
if (Key.isDown(68) || Key.isDown(39)) {
if (this._x < 1400) {
this._x += speed;
this._xscale = scale;
}
}
if (Key.isDown(83) || Key.isDown(40)) {
if (this._y < 240) {
this._y += speed / 2;
}
}
if (Key.isDown(87) || Key.isDown(39)) {
if (this._y > 180) {
this._y -= speed / 2;
}
}
}
}
}
onClipEvent (keyUp) {
if (this._currentframe < 60 || this._currentframe >= 228 && this._currentframe < 250) {
this.gotoAndPlay(1);
}
}
}
frame 1806 {
fader.play();
}
frame 1806 {
vcam.loc.gotoAndStop('forest');
}
frame 1806 {
_quality = 'low';
}
movieClip 1463 {
}
instance of movieClip 1012 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
_root.pc._x += 340;
}
}
}
instance of movieClip 1012 {
onClipEvent (load) {
this._x = 7000;
}
onClipEvent (enterFrame) {
if (_root.canyonCleared != true) {
if (this.hitTest(_root.pc)) {
_root.pc._x -= 100;
}
if (this.hitTest(_root.boss)) {
_root.boss._x -= 80;
}
} else {
if (this.hitTest(_root.pc)) {
_root.showMap();
_root.pc._x -= 100;
}
}
}
}
movieClip 1465 {
}
instance spawner of movieClip 1016 {
onClipEvent (load) {
maxEnemies = 6;
interval = 160;
i = 0;
_root.go = true;
dir = 500;
}
onClipEvent (enterFrame) {
if (_root.timeIsFlowing == true) {
if (_root.go == true) {
i += random(3);
if (i >= interval) {
if (maxEnemies > 0) {
i = 0;
--maxEnemies;
_root.newEnemy('treant', dir, 2 + random(2), 170 + random(30), 250);
} else {}
}
}
}
}
}
instance of movieClip 1014 {
onClipEvent (load) {
this._x = 5000;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
if (trolol != true) {
if (_root.forestCleared != true) {
stopAllSounds();
trolol = true;
_root.newBoss('fallen_slayer', 700, 5, 950, 2000);
_root.boss = _root['enemy' + _root.eCount];
_root.boss.maxHealth = 950;
_root.vcam.attachMovie('FallenSlayerInformation', 'ff', 1000000);
_root.condemned.start();
}
}
}
}
}
instance of movieClip 1014 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
trace(_root.lockarea);
if (_root.lockarea != true) {
_root.pc._x += 100;
_root.showMap();
}
}
}
}
instance of movieClip 1014 {
onClipEvent (load) {
this._x = 1000;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
if (trolol != true) {
if (_root.forestCleared != true) {
trolol = true;
_root.fs1.start();
}
}
}
}
}
instance of movieClip 1014 {
onClipEvent (load) {
this._x = 2900;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
if (trolol != true) {
if (_root.forestCleared != true) {
trolol = true;
_root.fs2.start();
}
}
}
}
}
movieClip 1468 {
}
instance of movieClip 1468 {
onClipEvent (load) {
this._x = 5940;
if (_root.canyonCleared == true) {
this._visible = false;
}
}
}
instance pc of movieClip 1116 {
onClipEvent (load) {
scale = this._xscale;
}
onClipEvent (mouseDown) {
if (_root.pauseChar != true) {
if (this._currentframe < 60 || this._currentframe >= 228 && this._currentframe <= 250) {
if (Key.isDown(32) || Key.isDown(96)) {
if (_root.mp >= 4) {
_root.mp -= 4;
this.gotoAndPlay('attack-strong');
}
} else {
this.gotoAndPlay('attack-jab');
}
}
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.die();
}
speed = _root.dex / 4 + 3;
if (_root.pauseChar != true) {
if (_root.mp < _root.maxMp) {
_root.mp += _root.magic / 3 / 32;
}
if (this._currentframe < 60) {
if (Key.isDown(65) || Key.isDown(68)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(83) || Key.isDown(87)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(37) || Key.isDown(38)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(39) || Key.isDown(40)) {
this.gotoAndPlay('walk');
}
}
if (this._currentframe < 80) {
if (Key.isDown(49)) {
trace(_root.magic);
if (_root.magic >= 10) {
if (_root.mp >= 24) {
if (_root.psi_ready == true) {
this.gotoAndPlay('spell_psiwave');
}
}
}
}
if (Key.isDown(51)) {
if (_root.magic >= 18) {
if (_root.mp >= 35) {
if (_root.shatterveil_ready == true) {
this.gotoAndPlay('spell_shatterveil');
}
}
}
}
}
if (this._currentframe >= 228 && this._currentframe < 250) {
if (Key.isDown(65) || Key.isDown(37)) {
if (this._x > 270) {
this._x -= speed;
this._xscale = -scale;
}
}
if (Key.isDown(68) || Key.isDown(39)) {
if (this._x < 7000) {
this._x += speed;
this._xscale = scale;
}
}
if (Key.isDown(83) || Key.isDown(40)) {
if (this._y < 250) {
this._y += speed / 2;
}
}
if (Key.isDown(87) || Key.isDown(38)) {
if (this._y > 150) {
this._y -= speed / 2;
}
}
}
}
}
onClipEvent (keyUp) {
if (this._currentframe < 60 || this._currentframe >= 228 && this._currentframe < 250) {
this.gotoAndPlay(1);
}
}
}
instance of movieClip 1468 {
onClipEvent (load) {
this._x = 6895;
}
}
instance of movieClip 1468 {
onClipEvent (load) {
this._x = 6940;
if (_root.canyonCleared == true) {
this._visible = false;
}
}
}
frame 1807 {
fader.play();
}
frame 1807 {
vcam.loc.gotoAndStop('canyon');
}
frame 1807 {
totalCult = 6;
_quality = 'low';
}
movieClip 1471 {
}
instance of movieClip 1012 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
_root.pc._x += 100;
}
}
}
instance of movieClip 1012 {
onClipEvent (load) {
this._x = 9300;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc.hitBox)) {
_root.pc._x -= 100;
}
}
}
instance of movieClip 1014 {
onClipEvent (load) {
this._x = 8000;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
_root.pc._x -= 100;
}
}
}
movieClip 1474 {
}
movieClip 1477 {
}
movieClip 1478 {
}
instance of movieClip 1478 {
onClipEvent (load) {
this._x = 8200;
}
}
instance of movieClip 1016 {
onClipEvent (load) {
maxEnemies = 8;
interval = 140;
i = 0;
_root.go = true;
if (_root.canyonCleared != true) {
_root.lockarea = true;
}
}
onClipEvent (enterFrame) {
if (_root.timeIsFlowing == true) {
if (_root.go == true) {
i += random(3);
if (i >= interval) {
if (maxEnemies > 0) {
i = 0;
--maxEnemies;
left = random(6);
_root.newEnemy('golem', 500, 3 + random(3), 370 + random(30), 350);
if (random(5) == 1) {
_root.newEnemy('zombie', 600, 2 + random(2), 200 + random(30), 50);
}
} else {
if (done != true) {
done = true;
_root.lockarea = false;
stopAllSounds();
_root.dun.start();
}
}
}
}
}
}
}
movieClip 1480 {
frame 1 {
stop();
}
}
instance of movieClip 1480 {
onClipEvent (load) {
this._x = 6000;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
if (trolol != true) {
if (_root.canyonCleared != true) {
trolol = true;
this.nextFrame();
_root.newEnemy('cultist', 700, 5, 260, 290);
}
}
}
}
}
instance of movieClip 1014 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
if (_root.lockarea != true) {
_root.pc._x += 100;
_root.showMap();
}
}
}
}
instance of movieClip 1014 {
onClipEvent (load) {
this._x = 6500;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
if (trolol != true) {
if (_root.canyonCleared != true) {
trolol = true;
_root.newEnemy('cultist', 700, 5, 267, 290);
}
}
}
}
}
movieClip 1482 {
frame 1 {
stop();
}
}
instance of movieClip 1482 {
onClipEvent (load) {
this._x = 7000;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
if (trolol != true) {
if (_root.canyonCleared != true) {
trolol = true;
this.nextFrame();
_root.newEnemy('cultist', 700, 5, 430, 290);
}
}
}
}
}
instance of movieClip 1482 {
onClipEvent (load) {
this._x = 7200;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
if (trolol != true) {
if (_root.canyonCleared != true) {
trolol = true;
_root.newEnemy('cultist', 700, 5, 430, 290);
}
}
}
}
}
instance of movieClip 1482 {
onClipEvent (load) {
this._x = 7500;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
if (trolol != true) {
if (_root.canyonCleared != true) {
trolol = true;
_root.newEnemy('cultist', 700, 5, 430, 290);
}
}
}
}
}
instance of movieClip 1482 {
onClipEvent (load) {
this._x = 7550;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
if (trolol != true) {
if (_root.canyonCleared != true) {
trolol = true;
_root.newEnemy('cultist', -700, 5, 430, 290);
}
}
}
}
}
instance of movieClip 1482 {
onClipEvent (load) {
this._x = 6990;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
if (trolol != true) {
if (_root.canyonCleared != true) {
trolol = true;
_root.newEnemy('cultist', -700, 5, 430, 290);
}
}
}
}
}
instance pc of movieClip 1116 {
onClipEvent (load) {
scale = this._xscale;
}
onClipEvent (mouseDown) {
if (_root.pauseChar != true) {
if (this._currentframe < 60 || this._currentframe >= 228 && this._currentframe <= 250) {
if (Key.isDown(32) || Key.isDown(96)) {
if (_root.mp >= 4) {
_root.mp -= 4;
this.gotoAndPlay('attack-strong');
}
} else {
this.gotoAndPlay('attack-jab');
}
}
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.die();
}
speed = _root.dex / 4 + 3;
if (_root.pauseChar != true) {
if (_root.mp < _root.maxMp) {
_root.mp += _root.magic / 3 / 32;
}
if (this._currentframe < 60) {
if (Key.isDown(65) || Key.isDown(68)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(83) || Key.isDown(87)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(37) || Key.isDown(38)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(39) || Key.isDown(40)) {
this.gotoAndPlay('walk');
}
}
if (this._currentframe < 80) {
if (Key.isDown(49)) {
trace(_root.magic);
if (_root.magic >= 10) {
if (_root.mp >= 24) {
if (_root.psi_ready == true) {
this.gotoAndPlay('spell_psiwave');
}
}
}
}
if (Key.isDown(51)) {
if (_root.magic >= 18) {
if (_root.mp >= 35) {
if (_root.shatterveil_ready == true) {
this.gotoAndPlay('spell_shatterveil');
}
}
}
}
}
if (this._currentframe >= 228 && this._currentframe < 250) {
if (Key.isDown(65) || Key.isDown(37)) {
if (this._x > 270) {
this._x -= speed;
this._xscale = -scale;
}
}
if (Key.isDown(68) || Key.isDown(39)) {
if (this._x < 9000) {
this._x += speed;
this._xscale = scale;
}
}
if (Key.isDown(83) || Key.isDown(40)) {
if (this._y < 250) {
this._y += speed / 2;
}
}
if (Key.isDown(87) || Key.isDown(38)) {
if (this._y > 150) {
this._y -= speed / 2;
}
}
}
}
}
onClipEvent (keyUp) {
if (this._currentframe < 60 || this._currentframe >= 228 && this._currentframe < 250) {
this.gotoAndPlay(1);
}
}
}
frame 1808 {
fader.play();
}
frame 1808 {
vcam.loc.gotoAndStop('arena');
}
frame 1808 {
_quality = 'low';
}
frame 1808 {
_root.attachMovie('arena', 'arena', 30302);
}
instance of movieClip 1012 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
_root.pc._x -= 100;
}
}
}
instance pc of movieClip 1116 {
onClipEvent (load) {
scale = this._xscale;
_root.pauseChar = true;
_root.timeIsFlowing = false;
}
onClipEvent (mouseDown) {
if (_root.pauseChar != true) {
if (this._currentframe < 60 || this._currentframe >= 228 && this._currentframe <= 250) {
if (Key.isDown(32) || Key.isDown(96)) {
if (_root.mp >= 4) {
_root.mp -= 4;
this.gotoAndPlay('attack-strong');
}
} else {
this.gotoAndPlay('attack-jab');
}
}
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.die();
}
speed = _root.dex / 4 + 3;
if (_root.pauseChar != true) {
if (_root.mp < _root.maxMp) {
_root.mp += _root.magic / 3 / 32;
}
if (this._currentframe < 60) {
if (Key.isDown(65) || Key.isDown(68)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(83) || Key.isDown(87)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(37) || Key.isDown(38)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(39) || Key.isDown(40)) {
this.gotoAndPlay('walk');
}
}
if (this._currentframe < 80) {
if (Key.isDown(49)) {
trace(_root.magic);
if (_root.magic >= 10) {
if (_root.mp >= 24) {
if (_root.psi_ready == true) {
this.gotoAndPlay('spell_psiwave');
}
}
}
}
if (Key.isDown(51)) {
if (_root.magic >= 18) {
if (_root.mp >= 35) {
if (_root.shatterveil_ready == true) {
this.gotoAndPlay('spell_shatterveil');
}
}
}
}
}
if (this._currentframe >= 228 && this._currentframe < 250) {
if (Key.isDown(65) || Key.isDown(37)) {
if (this._x > 270) {
this._x -= speed;
this._xscale = -scale;
}
}
if (Key.isDown(68) || Key.isDown(39)) {
if (this._x < 7000) {
this._x += speed;
this._xscale = scale;
}
}
if (Key.isDown(83) || Key.isDown(40)) {
if (this._y < 250) {
this._y += speed / 2;
}
}
if (Key.isDown(87) || Key.isDown(38)) {
if (this._y > 150) {
this._y -= speed / 2;
}
}
}
}
}
onClipEvent (keyUp) {
if (this._currentframe < 60 || this._currentframe >= 228 && this._currentframe < 250) {
this.gotoAndPlay(1);
}
}
}
frame 1809 {
fader.play();
}
frame 1809 {
vcam.loc.gotoAndStop('genesis');
}
frame 1809 {
_quality = 'low';
}
movieClip 1489 {
}
movieClip 1492 {
frame 20 {
stop();
}
}
movieClip 1493 {
}
movieClip 1494 {
frame 1 {
stop();
}
frame 142 {
stop();
}
}
// unknown tag 88 length 143
movieClip 1504 {
frame 556 {
_root.pauseChar = false;
_root.boss.gotoAndPlay('hostile');
}
frame 563 {
stop();
}
}
instance of movieClip 1504 {
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
if (lol != true) {
lol = true;
this.play();
_root.pauseChar = true;
}
}
}
}
instance pc of movieClip 1116 {
onClipEvent (load) {
scale = this._xscale;
}
onClipEvent (mouseDown) {
if (_root.pauseChar != true) {
if (this._currentframe < 60 || this._currentframe >= 228 && this._currentframe <= 250) {
if (Key.isDown(32) || Key.isDown(96)) {
if (_root.mp >= 4) {
_root.mp -= 4;
this.gotoAndPlay('attack-strong');
}
} else {
this.gotoAndPlay('attack-jab');
}
}
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.die();
}
speed = _root.dex / 4 + 3;
if (_root.pauseChar != true) {
if (_root.mp < _root.maxMp) {
_root.mp += _root.magic / 3 / 32;
}
if (this._currentframe < 60) {
if (Key.isDown(65) || Key.isDown(68)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(83) || Key.isDown(87)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(37) || Key.isDown(38)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(39) || Key.isDown(40)) {
this.gotoAndPlay('walk');
}
}
if (this._currentframe < 80) {
if (Key.isDown(49)) {
trace(_root.magic);
if (_root.magic >= 10) {
if (_root.mp >= 24) {
if (_root.psi_ready == true) {
this.gotoAndPlay('spell_psiwave');
}
}
}
}
if (Key.isDown(51)) {
if (_root.magic >= 18) {
if (_root.mp >= 35) {
if (_root.shatterveil_ready == true) {
this.gotoAndPlay('spell_shatterveil');
}
}
}
}
}
if (this._currentframe >= 228 && this._currentframe < 250) {
if (Key.isDown(65) || Key.isDown(37)) {
if (this._x > 270) {
this._x -= speed;
this._xscale = -scale;
}
}
if (Key.isDown(68) || Key.isDown(39)) {
if (this._x < 7000) {
this._x += speed;
this._xscale = scale;
}
}
if (Key.isDown(83) || Key.isDown(40)) {
if (this._y < 250) {
this._y += speed / 2;
}
}
if (Key.isDown(87) || Key.isDown(38)) {
if (this._y > 150) {
this._y -= speed / 2;
}
}
}
}
}
onClipEvent (keyUp) {
if (this._currentframe < 60 || this._currentframe >= 228 && this._currentframe < 250) {
this.gotoAndPlay(1);
}
}
}
instance enemy0 of movieClip 793 Enemy_finalboss {
onClipEvent (load) {
speed = 5.5;
accelerator = 0;
decelerator = 1;
go = false;
scale = this._xscale;
health = 4500;
hasBlood = true;
range = 250;
flying = true;
maxHealth = 4500;
_root.boss = this;
}
onClipEvent (enterFrame) {
if (this.health <= 0) {
stopAllSounds();
_root.gotoAndPlay('theEnd');
}
if (_root.timeIsFlowing == true) {
if (flying != true) {
if (_root.boss.health <= 2450) {
if (lol != true) {
lol = true;
this.attacking = true;
this.gotoAndPlay('tear');
}
}
if (this._y > _root.pc._y) {
this._y -= speed / 3;
} else {
this._y += speed / 3;
}
if (this._x > _root.pc._x + range) {
this._x -= speed;
this._xscale = scale;
} else {
if (this._x < _root.pc._x - range) {
this._x += speed;
this._xscale = -scale;
} else {
if (this.attacking != true && go == true) {
atk = random(30);
if (atk < 2) {
this.gotoAndPlay('combo2');
}
if (atk >= 2 && atk < 6) {
this.gotoAndPlay('combo1');
}
if (atk >= 6 && atk < 12) {
this.gotoAndPlay('combo3');
}
if (atk >= 12 && atk < 16) {
this.gotoAndPlay('hostile');
}
if (atk >= 16 && atk < 24) {
this.gotoAndPlay('combo4');
}
if (atk >= 24) {
this.gotoAndPlay('idle');
}
}
}
}
} else {
this._x += this.accelerator;
if (accelerator > 0) {
accelerator -= decelerator;
} else {
if (accelerator < 0) {
accelerator += decelerator;
} else {
accelerator = 0;
}
}
}
}
if (this.hitTest(_root.pc)) {
if (this._y > _root.pc._y) {
this.swapDepths(_root.pc.getDepth() + 1);
} else {
this.swapDepths(_root.pc.getDepth() - 1);
}
}
}
}
frame 1810 {
fader.play();
}
frame 1810 {
vcam.loc.gotoAndStop('entgrove');
}
frame 1810 {
_quality = 'low';
}
instance of movieClip 1012 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
_root.pc._x -= 140;
}
}
}
instance of movieClip 1012 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
_root.pc._x += 50;
}
}
}
instance spawner of movieClip 1016 {
onClipEvent (load) {
maxEnemies = 10;
interval = 160;
i = 0;
_root.go = true;
dir = 500;
}
onClipEvent (enterFrame) {
if (_root.timeIsFlowing == true) {
if (_root.go == true) {
i += random(3);
if (i >= interval) {
if (maxEnemies > 0) {
i = 0;
--maxEnemies;
_root.newEnemy('treant', dir, 5 + random(2), 770 + random(30), 1250);
_root['enemy' + _root.eCount].sup = true;
} else {}
}
}
}
}
}
instance of movieClip 1014 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
_root.pc._x += 50;
_root.showMap();
}
}
}
instance pc of movieClip 1116 {
onClipEvent (load) {
scale = this._xscale;
}
onClipEvent (mouseDown) {
if (_root.pauseChar != true) {
if (this._currentframe < 60 || this._currentframe >= 228 && this._currentframe <= 250) {
if (Key.isDown(32) || Key.isDown(96)) {
if (_root.mp >= 4) {
_root.mp -= 4;
this.gotoAndPlay('attack-strong');
}
} else {
this.gotoAndPlay('attack-jab');
}
}
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.die();
}
speed = _root.dex / 4 + 3;
if (_root.pauseChar != true) {
if (_root.mp < _root.maxMp) {
_root.mp += _root.magic / 3 / 32;
}
if (this._currentframe < 60) {
if (Key.isDown(65) || Key.isDown(68)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(83) || Key.isDown(87)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(37) || Key.isDown(38)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(39) || Key.isDown(40)) {
this.gotoAndPlay('walk');
}
}
if (this._currentframe < 80) {
if (Key.isDown(49)) {
trace(_root.magic);
if (_root.magic >= 10) {
if (_root.mp >= 24) {
if (_root.psi_ready == true) {
this.gotoAndPlay('spell_psiwave');
}
}
}
}
if (Key.isDown(51)) {
if (_root.magic >= 18) {
if (_root.mp >= 35) {
if (_root.shatterveil_ready == true) {
this.gotoAndPlay('spell_shatterveil');
}
}
}
}
}
if (this._currentframe >= 228 && this._currentframe < 250) {
if (Key.isDown(65) || Key.isDown(37)) {
if (this._x > 270) {
this._x -= speed;
this._xscale = -scale;
}
}
if (Key.isDown(68) || Key.isDown(39)) {
if (this._x < 1000) {
this._x += speed;
this._xscale = scale;
}
}
if (Key.isDown(83) || Key.isDown(40)) {
if (this._y < 250) {
this._y += speed / 2;
}
}
if (Key.isDown(87) || Key.isDown(38)) {
if (this._y > 150) {
this._y -= speed / 2;
}
}
}
}
}
onClipEvent (keyUp) {
if (this._currentframe < 60 || this._currentframe >= 228 && this._currentframe < 250) {
this.gotoAndPlay(1);
}
}
}
frame 1811 {
_root.sandstormCleared = false;
}
frame 1811 {
vcam.loc.gotoAndStop('sandstorm');
}
frame 1811 {
_quality = 'low';
}
frame 1811 {
lockarea = false;
}
instance of movieClip 1014 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
_root.pc._x += 50;
if (_root.lockarea != true) {
_root.showMap();
}
}
}
}
instance of movieClip 1014 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
if (_root.sandstormCleared != true) {
if (balls != true) {
balls = true;
_root.newEnemy('golem_boss', 700, 4, 3900, 10000);
_root.lockarea = true;
}
}
}
}
}
instance pc of movieClip 1116 {
onClipEvent (load) {
scale = this._xscale;
}
onClipEvent (mouseDown) {
if (_root.pauseChar != true) {
if (this._currentframe < 60 || this._currentframe >= 228 && this._currentframe <= 250) {
if (Key.isDown(32) || Key.isDown(96)) {
if (_root.mp >= 4) {
_root.mp -= 4;
this.gotoAndPlay('attack-strong');
}
} else {
this.gotoAndPlay('attack-jab');
}
}
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.die();
}
speed = _root.dex / 4 + 3;
if (_root.pauseChar != true) {
if (_root.mp < _root.maxMp) {
_root.mp += _root.magic / 3 / 32;
}
if (this._currentframe < 60) {
if (Key.isDown(65) || Key.isDown(68)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(83) || Key.isDown(87)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(37) || Key.isDown(38)) {
this.gotoAndPlay('walk');
}
if (Key.isDown(39) || Key.isDown(40)) {
this.gotoAndPlay('walk');
}
}
if (this._currentframe < 80) {
if (Key.isDown(49)) {
trace(_root.magic);
if (_root.magic >= 10) {
if (_root.mp >= 24) {
if (_root.psi_ready == true) {
this.gotoAndPlay('spell_psiwave');
}
}
}
}
if (Key.isDown(51)) {
if (_root.magic >= 18) {
if (_root.mp >= 35) {
if (_root.shatterveil_ready == true) {
this.gotoAndPlay('spell_shatterveil');
}
}
}
}
}
if (this._currentframe >= 228 && this._currentframe < 250) {
if (Key.isDown(65) || Key.isDown(37)) {
if (this._x > 270) {
this._x -= speed;
this._xscale = -scale;
}
}
if (Key.isDown(68) || Key.isDown(39)) {
if (this._x < 2000) {
this._x += speed;
this._xscale = scale;
}
}
if (Key.isDown(83) || Key.isDown(40)) {
if (this._y < 250) {
this._y += speed / 2;
}
}
if (Key.isDown(87) || Key.isDown(38)) {
if (this._y > 150) {
this._y -= speed / 2;
}
}
}
}
}
onClipEvent (keyUp) {
if (this._currentframe < 60 || this._currentframe >= 228 && this._currentframe < 250) {
this.gotoAndPlay(1);
}
}
}
frame 1812 {
vcam.loc.gotoAndStop('scott');
}
frame 1812 {
_quality = 'low';
}
button 1508 {
on (release) {
_root.lolConvo.gotoAndStop(random(10) + 1);
}
}
movieClip 1519 {
frame 1 {
stop();
}
}
instance of movieClip 1012 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
_root.pc._x += 50;
}
}
}
instance of movieClip 1014 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
_root.pc._x += 50;
if (_root.lockarea != true) {
_root.showMap();
}
}
}
}
instance of movieClip 1014 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.pc)) {
_root.pc._x -= 50;
if (_root.lockarea != true) {
_root.showMap();
}
}
}
}
frame 1813 {
_root.killAll();
_root.area = 'valeron';
}
frame 1817 {
_root.gameCleared = true;
_root.saveGame();
}
movieClip 1522 {
frame 1 {
function camControl() {
rp.x = _x;
rp.y = _y;
var v5 = camH * (_yscale * 0.01);
var v6 = camW * (_xscale * 0.01);
var v3 = sH / v5;
var v4 = sW / v6;
_x2 = (v6 / 2) * v4;
_y2 = (v5 / 2) * v3;
_xscale2 = v4 * 100;
_yscale2 = v3 * 100;
_rotation2 = -_rotation;
_parent.filters = this.filters;
_parent.transform.colorTransform = this.transform.colorTransform;
}
function reset() {
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
_parent._rotation = 0;
_parent._visible = true;
}
function set_x2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x += value - v2.x;
}
function get_x2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.x;
}
function set_y2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._y += value - v2.y;
}
function get_y2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.y;
}
function get_xscale2() {
return _parent._xscale;
}
function set_xscale2(value) {
setProperty2('_xscale', value);
}
function get_yscale2() {
return _parent._yscale;
}
function set_yscale2(value) {
setProperty2('_yscale', value);
}
function get_rotation2() {
return parent.rotation;
}
function set_rotation2(value) {
setProperty2('_rotation', value);
}
function setProperty2(prop, n) {
var v3 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v3);
_parent[prop] = n;
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x -= v2.x - v3.x;
_parent._y -= v2.y - v3.y;
}
addProperty('_x2', get_x2, set_x2);
addProperty('_y2', get_y2, set_y2);
addProperty('_xscale2', get_xscale2, set_xscale2);
addProperty('_yscale2', get_yscale2, set_yscale2);
addProperty('_rotation2', get_rotation2, set_rotation2);
var oldScaleMode = stage.scaleMode;
stage.scaleMode = 'exactFit';
var sW = Stage.width;
var sH = Stage.height;
stage.scaleMode = oldScaleMode;
var bounds_obj = this.getBounds(this);
var camH = Math.abs(bounds_obj.yMax - bounds_obj.yMin);
var camW = Math.abs(bounds_obj.xMax - bounds_obj.xMin);
var rp = {'x': this._x, 'y': this._y};
onEnterFrame = function () {
camControl();
};
this.onUnload = reset;
}
}
frame 6560 {
stop();
}
movieClip 1523 {
}
// unknown tag 88 length 120
movieClip 1534 {
}
instance of movieClip 1534 {
onClipEvent (load) {
this._alpha = 0;
speed = 1;
}
onClipEvent (enterFrame) {
this._y -= speed;
if (this._alpha < 100) {
this._alpha += 1;
}
if (this._y < -1050) {
stopAllSounds();
_root.pauseChar = false;
_root.health = _root.maxHp;
_root.area = 'valeron';
_root.gotoAndStop('valeron');
}
}
onClipEvent (keyDown) {
if (Key.isDown(32)) {
speed = 6;
}
}
onClipEvent (keyUp) {
speed = 1;
}
}
// unknown tag 88 length 120