Frame 1
function savegame(slot) {
var _local2 = SharedObject.getLocal("CW3" + slot);
_local2.data.maxhp = _root.maxhp;
_local2.data.ep = _root.ep;
_local2.data.maxep = _root.maxep;
_local2.data.mp = _root.mp;
_local2.data.lvl = _root.lvl;
_local2.data.coins = _root.coins;
_local2.data.spells = _root.spells;
_local2.data.swords = _root.swords;
_local2.data.str = _root.str;
_local2.data.mag = _root.mag;
_local2.data.agi = _root.agi;
_local2.data.lvpt = _root.lvpt;
_local2.data.flv = _root.finishlv;
_local2.data.nextspellat = _root.nextspellat;
_local2.data.nextbaat = _root.nextbaat;
_local2.data.burnatk = _root.burnatk;
savesave(saved);
}
function loadgame(slot) {
var _local2 = SharedObject.getLocal("CW3" + slot);
_root.maxhp = _local2.data.maxhp;
_root.ep = _local2.data.ep;
_root.maxep = _local2.data.maxep;
_root.lvl = _local2.data.lvl;
_root.coins = _local2.data.coins;
_root.spells = _local2.data.spells;
_root.mp = _local2.data.mp;
_root.swords = _local2.data.swords;
_root.str = _local2.data.str;
_root.mag = _local2.data.mag;
_root.agi = _local2.data.agi;
_root.lvpt = _local2.data.lvpt;
_root.finishlv = _local2.data.flv;
_root.nextspellat = _local2.data.nextspellat;
_root.nextbaat = _local2.data.nextbaat;
_root.burnatk = _local2.data.burnatk;
}
function savesave() {
var _local1 = SharedObject.getLocal("CW3saved");
_local1.data.saved = true;
}
function loadsavesave() {
var _local2 = SharedObject.getLocal("CW3saved");
_root.didisave = _local2.data.saved;
}
function hudreset() {
hudt = 0;
}
function plusep(asdf) {
_root.hudtreset();
_root.ep = _root.ep + asdf;
}
function shoot(xx, yy, xs, type) {
d++;
_root.attachMovie(type, "b" + d, d);
this["b" + d]._x = xx;
this["b" + d]._y = yy;
this["b" + d]._xscale = xs;
}
function e2shoot(xx, yy, xs, dasd) {
d++;
_root.attachMovie("bad bomb", "eb" + d, d);
this["eb" + d]._x = xx;
this["eb" + d]._y = yy;
this["eb" + d].asdf = dasd;
this["eb" + d]._xscale = xs;
}
function turretshoot(xx, yy, xs) {
d++;
_root.attachMovie("turretbullet", "tb" + d, d);
this["tb" + d]._x = xx;
this["tb" + d]._y = yy;
this["tb" + d]._xscale = xs;
}
function bleed(xx, yy, xs, am) {
df = 0;
d++;
_root.attachMovie("blood", "b" + d, d);
this["b" + d]._x = xx;
this["b" + d]._y = yy;
this["b" + d]._xscale = xs;
while (df <= am) {
d++;
df++;
_root.attachMovie("blood particle", "bp" + d, d);
this["bp" + d]._x = xx;
this["bp" + d]._y = yy;
this["bp" + d].asd = xs;
}
}
function explode(xx, yy, exploderr, xs, ys) {
d++;
_root.exploder = exploderr;
_root.attachMovie("explosion", "ee" + d, d);
this["ee" + d]._x = xx;
this["ee" + d]._y = yy;
this["ee" + d]._xscale = xs;
this["ee" + d]._yscale = ys;
}
function die() {
_root.stat.removeMovieClip();
_root.gotoAndStop("died");
}
function win() {
_root.stat.black.play();
}
function getstats() {
hps = _root.player.hp;
sps = _root.player.sp;
rs = _root.player.rage;
}
function putstats() {
_root.player.hp = hps;
_root.player.sp = sps;
_root.player.rage = rs;
}
function coin(coinXpos, coinYpos, coinAmount) {
if (!pau) {
coinsa = coinsa + coinAmount;
while (ca < coinsa) {
ca++;
d++;
attachMovie("coin", "c" + d, d);
this["c" + d]._x = coinXpos;
this["c" + d]._y = coinYpos;
}
}
}
function ball(coinXpos, coinYpos, coinAmount) {
if (!pau) {
bsa = bsa + coinAmount;
while (ba < bsa) {
ba++;
d++;
attachMovie("ball", "b" + d, d);
this["b" + d]._x = coinXpos;
this["b" + d]._y = coinYpos;
}
}
}
function playercas() {
d++;
attachMovie("castrail", "c" + d, d);
this["c" + d]._x = _root.player._x;
this["c" + d]._y = _root.player._y;
this["c" + d]._xscale = _root.player._xscale;
}
function itemHandler0(obj, item) {
}
function itemHandler1(obj, item) {
_quality = "high";
}
function itemHandler2(obj, item) {
_quality = "medium";
}
function itemHandler3(obj, item) {
_quality = "low";
}
function itemHandler4(obj, item) {
detial = "high";
}
function itemHandler5(obj, item) {
detial = "low";
}
function itemHandler6(obj, item) {
particles = "on";
}
function itemHandler7(obj, item) {
particles = "off";
}
function itemHandler8(obj, item) {
mblur = "on";
}
function itemHandler9(obj, item) {
mblur = "off";
}
function itemHandler10(obj, item) {
vol = 0;
we.setVolume(vol);
}
function itemHandler11(obj, item) {
vol = 100;
we.setVolume(vol);
}
stop();
d = 0;
df = 0;
ba = 0;
bsa = 0;
coinsa = 0;
ca = 0;
rechargetime = 1;
maxrecharge = 1;
leftkey = 37;
rightkey = 39;
jumpkey = 38;
downkey = 40;
atkkey = 68;
shootkey = 87;
rollkey = 65;
qakey = 83;
swordkey = 81;
spellkey = 69;
pausekey = 80;
ragekey = 82;
caskey = 67;
particles = "on";
detial = "high";
goptimiser = "on";
mblur = "on";
qquality = _quality;
we = new Sound();
vol = 100;
we.setVolume(vol);
finishlv = 1;
nextspellat = 3;
nextbaat = 8;
spell = "veneficus telum levitas";
sp = 0;
maxhp = 50;
mp = 30;
spells = 1;
coins = 0;
lvl = 1;
ep = 0;
maxep = 20;
str = 0;
agi = 0;
mag = 0;
lvpt = 0;
swords = 1;
sword = 1;
burnatk = 0;
betaphase = true;
stopAllSounds();
if (imerasing) {
savegame(1);
nextFrame();
}
cu1 = new String(_root._url).slice(0, 25);
cu2 = new String(_root._url).slice(0, 8);
cu3 = new String(_root._url).slice(0, 23);
cu4 = new String(_root._url).slice(0, 13);
cu5 = new String(_root._url).slice(0, 19);
cu6 = new String(_root._url).slice(0, 66);
if (cu1 == "http://uploads.ungrounded") {
ustole.gotoAndStop(5);
} else if (cu3 == "http://www.freewebs.com") {
ustole.gotoAndStop(5);
} else if (cu4 == "http://y8.com") {
ustole.gotoAndStop(4);
} else if (cu5 == "http://media.y8.com") {
ustole.gotoAndStop(4);
} else if (cu2 == "file:///") {
ustole.gotoAndStop(3);
} else {
ustole.gotoAndStop(2);
}
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
itemt = new ContextMenuItem("CW3 RIGHT-CLICK OPTIONS:", itemHandler0);
item1 = new ContextMenuItem("High quality", itemHandler1, true);
item2 = new ContextMenuItem("Med quality", itemHandler2);
item3 = new ContextMenuItem("Low quality", itemHandler3);
item4 = new ContextMenuItem("High detial", itemHandler4, true);
item5 = new ContextMenuItem("Low detial", itemHandler5);
item6 = new ContextMenuItem("Particles on", itemHandler6, true);
item7 = new ContextMenuItem("Particles off", itemHandler7);
item8 = new ContextMenuItem("Motion blur on", itemHandler8, true);
item9 = new ContextMenuItem("Motion blur off", itemHandler9);
item10 = new ContextMenuItem("Mute all sounds", itemHandler10, true);
item11 = new ContextMenuItem("Unmute sounds", itemHandler11);
myMenu.customItems.push(itemt);
myMenu.customItems.push(item1);
myMenu.customItems.push(item2);
myMenu.customItems.push(item3);
myMenu.customItems.push(item4);
myMenu.customItems.push(item5);
myMenu.customItems.push(item6);
myMenu.customItems.push(item7);
myMenu.customItems.push(item8);
myMenu.customItems.push(item9);
myMenu.customItems.push(item10);
myMenu.customItems.push(item11);
_root.menu = myMenu;
Frame 2
stop();
if (finishlv == undefined) {
finishlv = 1;
}
if (mp == undefined) {
mp = 30;
}
if (finishlv == 17) {
finishlv = 16;
}
Frame 3
stop();
kills = 0;
Instance of Symbol 349 MovieClip in Frame 3
onClipEvent (load) {
stopAllSounds();
gotoAndStop ("title");
}
Frame 4
kills = 0;
Instance of Symbol 349 MovieClip in Frame 4
onClipEvent (load) {
stopAllSounds();
gotoAndStop (1);
}
Frame 5
lv = "l1";
stop();
Instance of Symbol 86 MovieClip "levelright" in Frame 5
onClipEvent (enterFrame) {
if (_root.kills > 0) {
while (hitTest(_root.player.hita)) {
_root.player._x--;
}
}
}
Instance of Symbol 86 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (hitTest(_root.player.hita)) {
_root.win();
}
}
Instance of Symbol 349 MovieClip in Frame 5
onClipEvent (load) {
stopAllSounds();
gotoAndStop ("final-hour");
}
Instance of Symbol 594 MovieClip in Frame 5
onClipEvent (load) {
omg = 70;
}
Frame 6
kills = 0;
Instance of Symbol 349 MovieClip in Frame 6
onClipEvent (load) {
stopAllSounds();
gotoAndStop (1);
}
Frame 7
lv = "l2";
stop();
Instance of Symbol 86 MovieClip "levelright" in Frame 7
onClipEvent (enterFrame) {
if (_root.kills > 0) {
while (hitTest(_root.player.hita)) {
_root.player._x--;
}
}
}
Instance of Symbol 86 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (hitTest(_root.player.hita)) {
_root.win();
}
}
Instance of Symbol 594 MovieClip in Frame 7
onClipEvent (load) {
omg = 40;
}
Instance of Symbol 594 MovieClip in Frame 7
onClipEvent (load) {
omg = 40;
}
Instance of Symbol 594 MovieClip in Frame 7
onClipEvent (load) {
omg = 40;
}
Instance of Symbol 594 MovieClip in Frame 7
onClipEvent (load) {
omg = 40;
}
Instance of Symbol 349 MovieClip in Frame 7
onClipEvent (load) {
stopAllSounds();
gotoAndStop ("final-hour");
}
Frame 8
kills = 0;
Instance of Symbol 349 MovieClip in Frame 8
onClipEvent (load) {
stopAllSounds();
gotoAndStop (1);
}
Frame 9
lv = "l3";
stop();
Instance of Symbol 86 MovieClip "levelright" in Frame 9
onClipEvent (enterFrame) {
if (_root.kills > 0) {
while (hitTest(_root.player.hita)) {
_root.player._x--;
}
}
}
Instance of Symbol 86 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (hitTest(_root.player.hita)) {
_root.win();
}
}
Instance of Symbol 594 MovieClip in Frame 9
onClipEvent (load) {
omg = 70;
}
Instance of Symbol 616 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (hitTest(_root.player.hita)) {
_visible = false;
}
}
Instance of Symbol 349 MovieClip in Frame 9
onClipEvent (load) {
stopAllSounds();
gotoAndStop ("final-hour");
}
Frame 10
kills = 0;
Instance of Symbol 349 MovieClip in Frame 10
onClipEvent (load) {
stopAllSounds();
gotoAndStop (1);
}
Frame 11
lv = "l4";
kills = 1;
stop();
Instance of Symbol 86 MovieClip "levelright" in Frame 11
onClipEvent (enterFrame) {
if (_root.kills > 0) {
while (hitTest(_root.player.hita)) {
_root.player._x--;
}
}
}
Instance of Symbol 86 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (hitTest(_root.player.hita)) {
_root.win();
}
}
Instance of Symbol 594 MovieClip in Frame 11
onClipEvent (load) {
omg = 40;
}
Instance of Symbol 349 MovieClip in Frame 11
onClipEvent (load) {
stopAllSounds();
gotoAndStop ("title");
}
Frame 12
kills = 0;
Instance of Symbol 349 MovieClip in Frame 12
onClipEvent (load) {
stopAllSounds();
gotoAndStop (1);
}
Frame 13
lv = "l5";
stop();
Instance of Symbol 86 MovieClip "levelright" in Frame 13
onClipEvent (enterFrame) {
if (_root.kills > 0) {
while (hitTest(_root.player.hita)) {
_root.player._x--;
}
}
}
Instance of Symbol 86 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.kills == 0) {
_root.win();
}
}
Instance of Symbol 349 MovieClip in Frame 13
onClipEvent (load) {
stopAllSounds();
gotoAndStop ("boss");
}
Frame 14
kills = 0;
Instance of Symbol 349 MovieClip in Frame 14
onClipEvent (load) {
stopAllSounds();
gotoAndStop (1);
}
Instance of Symbol 349 MovieClip in Frame 15
onClipEvent (load) {
stopAllSounds();
gotoAndStop ("title");
}
Frame 17
stop();
lv = "arc";
Instance of Symbol 86 MovieClip "levelright" in Frame 17
onClipEvent (enterFrame) {
if (_root.kills > 0) {
while (hitTest(_root.player.hita)) {
_root.player._x--;
}
}
}
Instance of Symbol 645 MovieClip in Frame 17
onClipEvent (load) {
e = 500;
e2 = 300;
t = 600;
d = 0;
_x = 0;
_y = 0;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
if (random(e) == 1) {
d++;
this.attachMovie("e1", "e" + d, d);
this["e" + d]._x = random(1800);
this["e" + d]._y = -300;
e--;
}
if (random(e) == 1) {
d++;
this.attachMovie("e2", "e" + d, d);
this["e" + d]._x = random(1800);
this["e" + d]._y = -300;
e--;
}
if (random(t) == 1) {
d++;
this.attachMovie("turret", "te" + d, d);
this["te" + d]._x = random(1800);
this["te" + d]._y = -300;
e--;
}
}
}
Instance of Symbol 349 MovieClip in Frame 17
onClipEvent (load) {
stopAllSounds();
gotoAndStop ("boss");
}
Frame 19
_root.player.sp = 110;
lv = "work-test";
Instance of Symbol 86 MovieClip in Frame 19
onClipEvent (enterFrame) {
_root.exploder = _root.player;
_root.player.sp = 1000;
_root.player.cas = 1000;
}
Symbol 4 MovieClip [turretbullet] Frame 2
if (!speed) {
speed = 12;
f = 0;
}
_x = (_x - ((_xscale / -100) * speed));
if (!hitTest(_root.screen)) {
swapDepths(999999);
this.removeMovieClip();
}
if (_root.ground.hitTest(_x, _y, true)) {
swapDepths(999999);
this.removeMovieClip();
}
if (hitTest(_root.player.hita)) {
_root.player.medhit();
}
Symbol 4 MovieClip [turretbullet] Frame 3
gotoAndPlay (2);
Symbol 10 MovieClip Frame 1
gotoAndPlay(random(15));
Symbol 13 MovieClip [bullet] Frame 1
gotoAndStop(_root.gun);
_root.bullet2 = this;
onEnterFrame = function () {
if (!hitTest(_root.screen)) {
swapDepths(999999);
this.removeMovieClip();
}
};
Instance of Symbol 7 MovieClip in Symbol 13 MovieClip [bullet] Frame 1
onClipEvent (enterFrame) {
_parent._x = _parent._x + ((_parent._xscale / 100) * 30);
}
Instance of Symbol 12 MovieClip in Symbol 13 MovieClip [bullet] Frame 4
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
speed = speed + 3;
_parent._x = _parent._x + ((_parent._xscale / 100) * speed);
}
Symbol 21 MovieClip Frame 15
stop();
_parent.swapDepths(999999);
_parent.removeMovieClip();
Symbol 29 MovieClip Frame 15
stop();
_parent.swapDepths(999999);
_parent.removeMovieClip();
Symbol 36 MovieClip Frame 13
stop();
_parent.swapDepths(999999);
_parent.removeMovieClip();
Symbol 37 MovieClip [blood] Frame 1
gotoAndStop(random(6) + 1);
Symbol 42 MovieClip [spell1] Frame 1
_root.mp--;
_alpha = 50;
Symbol 42 MovieClip [spell1] Frame 2
if (!speed) {
speed = 10;
}
speed = speed + 3;
_root.bullet1 = this;
_x = (_x - ((_xscale / -100) * speed));
if (!hitTest(_root.screen)) {
swapDepths(999999);
this.removeMovieClip();
}
if (_root.ground.hitTest(_x, _y, true)) {
swapDepths(999999);
this.removeMovieClip();
}
Symbol 42 MovieClip [spell1] Frame 3
gotoAndPlay (2);
Symbol 48 MovieClip [spell2] Frame 1
_root.mp--;
Symbol 48 MovieClip [spell2] Frame 2
if (!speed) {
speed = 7;
}
speed = speed + 3;
_root.bullet1 = this;
_x = (_x - ((_xscale / -100) * speed));
if (!hitTest(_root.screen)) {
swapDepths(999999);
this.removeMovieClip();
}
if (_root.ground.hitTest(_x, _y, true)) {
swapDepths(999999);
this.removeMovieClip();
}
Symbol 48 MovieClip [spell2] Frame 3
gotoAndPlay (2);
Symbol 51 MovieClip Frame 20
stop();
Symbol 52 MovieClip Frame 9
stop();
Symbol 54 MovieClip [spell3] Frame 1
_root.mp--;
Symbol 54 MovieClip [spell3] Frame 2
if (!speed) {
speed = 0;
t = 0;
}
speed = speed + 4;
_root.bullet1 = this;
_x = (_x - ((_xscale / -100) * speed));
if (!hitTest(_root.screen)) {
swapDepths(999999);
this.removeMovieClip();
}
Symbol 54 MovieClip [spell3] Frame 3
gotoAndPlay (2);
Symbol 59 MovieClip [spell4] Frame 1
_root.mp--;
Symbol 59 MovieClip [spell4] Frame 2
if (!speed) {
speed = 7;
}
speed = speed + 3;
_root.bullet1 = this;
_x = (_x - ((_xscale / -100) * speed));
if (!hitTest(_root.screen)) {
swapDepths(999999);
this.removeMovieClip();
}
if (_root.ground.hitTest(_x, _y, true)) {
swapDepths(999999);
this.removeMovieClip();
}
Symbol 59 MovieClip [spell4] Frame 3
gotoAndPlay (2);
Symbol 61 MovieClip [castrail] Frame 1
_alpha = 50;
bt = 15;
onEnterFrame = function () {
bt--;
if (_root.mblur == "on") {
myBlur = new flash.filters.BlurFilter();
myBlur.blurX = bt;
myBlur.blurY = bt;
this.filters = [myBlur];
}
_alpha = (_alpha - 2);
if (_alpha <= 0) {
swapDepths(999999);
this.removeMovieClip();
}
};
Symbol 63 MovieClip [blood particle] Frame 1
_xscale = (random(25) + 25);
_yscale = (random(25) + 25);
speed = random(10) + 5;
grav = random(15) * -1;
onEnterFrame = function () {
if (_root.goptimiser == "on") {
if (!hitTest(_root.screen)) {
_visible = false;
} else {
_visible = true;
}
}
if (_root.particles == "off") {
_alpha = 0;
}
if (!lol) {
if (!_root.ground.hitTest(_x, _y - random(20), true)) {
grav = grav + 2;
speed = speed - 0.5;
_rotation = (_rotation + speed);
_y = (_y + grav);
if (speed <= 0) {
speed = 0;
}
if (asd == 100) {
_x = (_x + speed);
} else {
_x = (_x - speed);
}
} else {
_yscale = (random(20) + 10);
_xscale = (random(50) + 30);
_rotation = 0;
lol = true;
}
} else {
_alpha = (_alpha - 0.001);
if (_alpha <= 0) {
swapDepths(999999);
this.removeMovieClip();
}
}
};
Symbol 66 MovieClip Frame 1
if (_root.detial == "low") {
gotoAndStop (2);
} else {
stop();
}
Symbol 73 MovieClip [ball] Frame 1
stop();
grav = (15 + random(10)) * -1;
gravity = 2;
speed = random(5) + 5;
r = random(2) + 1;
if (r == 1) {
_xscale = 100;
} else {
_xscale = -100;
}
onEnterFrame = function () {
if (_root.goptimiser == "on") {
if (!hitTest(_root.screen)) {
_visible = false;
} else {
_visible = true;
}
}
if (!_root.ground.hitTest(_x, _y, true)) {
grav = grav + gravity;
_y = (_y + grav);
_x = (_x - ((_xscale / -100) * speed));
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
speed = 0;
}
while (_root.ground.hitTest(_x + 10, _y, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 10, _y, true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x, _y - 10, true)) {
_y = (_y+1);
}
if (hitTest(_root.player.hita)) {
play();
}
};
Symbol 73 MovieClip [ball] Frame 2
if (_root.particles == "off") {
_rotation = 0;
gotoAndPlay (13);
}
_root.hudtreset();
_root.player.hp = _root.player.hp + 1;
_rotation = random(360);
Symbol 73 MovieClip [ball] Frame 12
stop();
swapDepths(999999);
this.removeMovieClip();
Symbol 73 MovieClip [ball] Frame 20
gotoAndStop (12);
Symbol 76 MovieClip Frame 1
if (_root.detial == "low") {
gotoAndStop (2);
} else {
stop();
}
Symbol 77 MovieClip [bad bomb] Frame 1
grav = (15 + random(10)) * -1;
gravity = 2;
speed = random(10) + 5;
onEnterFrame = function () {
if (_root.goptimiser == "on") {
if (!hitTest(_root.screen)) {
_visible = false;
} else {
_visible = true;
}
}
if (!_root.ground.hitTest(_x, _y, true)) {
grav = grav + gravity;
_y = (_y + grav);
_x = (_x - ((_xscale / -100) * speed));
} else {
_root.explode(_x, _y, asdf, 150, 150);
swapDepths(999999);
this.removeMovieClip();
}
};
Symbol 84 MovieClip Frame 1
_visible = false;
gotoAndStop(random(10) + 2);
Symbol 86 MovieClip Frame 1
_visible = false;
Symbol 92 MovieClip [explosion] Frame 1
_rotation = random(360);
_root.explosion1 = this;
if (_root.mblur == "on") {
myBlur = new flash.filters.BlurFilter();
myBlur.blurX = random(5) + 5;
myBlur.blurY = random(5) + 5;
this.filters = [myBlur];
}
Instance of Symbol 86 MovieClip in Symbol 92 MovieClip [explosion] Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.player.hita)) {
if (!(_root.exploder === _root.player)) {
_root.player.explodehit();
}
}
}
Symbol 92 MovieClip [explosion] Frame 15
swapDepths(999999);
this.removeMovieClip();
Symbol 97 MovieClip Frame 1
if (_root.detial == "low") {
gotoAndStop (2);
} else {
stop();
}
Symbol 99 MovieClip Frame 1
if (_root.detial == "low") {
gotoAndStop (2);
} else {
stop();
}
Symbol 100 MovieClip Frame 1
if (_root.detial == "low") {
gotoAndStop (2);
} else {
stop();
}
Symbol 107 MovieClip [coin] Frame 1
stop();
grav = (15 + random(10)) * -1;
gravity = 2;
speed = random(5) + 5;
r = random(2) + 1;
if (r == 1) {
_xscale = 100;
} else {
_xscale = -100;
}
onEnterFrame = function () {
if (_root.goptimiser == "on") {
if (!hitTest(_root.screen)) {
_visible = false;
} else {
_visible = true;
}
}
if (!_root.ground.hitTest(_x, _y, true)) {
grav = grav + gravity;
_y = (_y + grav);
_x = (_x - ((_xscale / -100) * speed));
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
speed = 0;
}
while (_root.ground.hitTest(_x + 10, _y, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 10, _y, true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x, _y - 10, true)) {
_y = (_y+1);
}
if (hitTest(_root.player.hita)) {
gotoAndPlay (4);
_root.coins++;
}
};
Instance of Symbol 97 MovieClip in Symbol 107 MovieClip [coin] Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
if (_root.ground.hitTest(_parent._x, _parent._y + 10, true)) {
_parent.gotoAndStop(2);
}
}
Instance of Symbol 99 MovieClip in Symbol 107 MovieClip [coin] Frame 2
onClipEvent (load) {
t = 0;
tt = 10 + random(10);
}
onClipEvent (enterFrame) {
t++;
if (t >= tt) {
_parent.gotoAndStop(3);
}
}
Symbol 107 MovieClip [coin] Frame 4
if (_root.particles == "off") {
gotoAndPlay (15);
}
onEnterFrame = null;
_rotation = random(360);
_root.hudtreset();
Symbol 107 MovieClip [coin] Frame 14
stop();
swapDepths(999999);
this.removeMovieClip();
Symbol 107 MovieClip [coin] Frame 15
_rotation = 0;
Symbol 107 MovieClip [coin] Frame 25
gotoAndStop (14);
Instance of Symbol 97 MovieClip in Symbol 107 MovieClip [coin] Frame 25
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
if (_root.ground.hitTest(_parent._x, _parent._y + 10, true)) {
_parent.gotoAndStop(2);
}
}
Symbol 109 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 2
if (_parent._xscale == -100) {
s = -70;
} else {
s = 70;
}
_root.turretshoot(_parent._x + s, _parent._y, _parent._xscale);
Symbol 109 MovieClip Frame 9
t = 0;
Symbol 112 MovieClip Frame 1
onEnterFrame = function () {
if (_root.detial == "low") {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 2
Symbol 116 MovieClip Frame 1
_visible = false;
if (!_parent.hurt) {
if (hitTest(_root.player.att.qa1)) {
_parent.smallhit();
_parent.hp = _parent.hp + 2;
}
if (hitTest(_root.player.att.slash1)) {
_parent.smallhit();
}
if (hitTest(_root.player.att.slash2)) {
_parent.medhit();
}
if (hitTest(_root.player.att.jab1)) {
_parent.bighit();
}
if (hitTest(_root.player.att.slash3)) {
_parent.bighit();
}
if (hitTest(_root.player.att.gayatk1)) {
_parent.explodehit();
}
if (hitTest(_root.bullet1)) {
_parent.bullethit();
}
if (hitTest(_root.bullet2)) {
_parent.gunhit();
}
if (hitTest(_root.bullet3)) {
_parent.bullethit();
}
if (hitTest(_root.turret.att)) {
_parent.smallhit();
}
if (hitTest(_root.explosion1)) {
if (_root.exploder == _root.player) {
_parent.explodehit();
}
}
}
Symbol 116 MovieClip Frame 2
gotoAndPlay (1);
Symbol 117 MovieClip [turret] Frame 1
function smallhit() {
hp = (hp - 5) - _root.str;
_root.player.sp = _root.player.sp + 3;
pod.play();
}
function medhit() {
hp = (hp - 6) - _root.str;
_root.player.sp = _root.player.sp + 5;
pod.play();
}
function bighit() {
hp = (hp - 7) - _root.str;
_root.player.sp = _root.player.sp + 7;
pod.play();
}
function explodehit() {
hp = (hp - 30) + random(13);
_root.player.sp = _root.player.sp + 13;
pod.play();
}
function bullethit() {
if (_root.spell == 1) {
dm = 3;
pod.play();
} else if (_root.spell == 2) {
dm = 5;
pod.play();
} else if (_root.spell == 3) {
dm = 6;
pod.play();
} else if (_root.spell == 4) {
dm = 7;
pod.play();
}
hp = hp - (dm + Math.round(_root.mag / 2));
}
if (!vars) {
hp = 50 + random(30);
speed = 2 + random(2);
grav = 0;
gravity = 2;
jump = false;
_root.kills++;
vars = true;
}
stop();
onEnterFrame = function () {
if (_root.goptimiser == "on") {
if (!hitTest(_root.screen)) {
_visible = false;
} else {
_visible = true;
}
}
if (!_root.pau) {
if (hp <= 0) {
play();
}
_y = (_y + grav);
if (!_root.ground.hitTest(_x, _y + 80, true)) {
grav = grav + gravity;
}
while (_root.ground.hitTest(_x, _y + 80, true)) {
grav = 0;
_y = (_y-1);
}
while (_root.ground.hitTest(_x, _y - 40, true)) {
_y = (_y+1);
}
while (_root.ground.hitTest(_x + 40, _y, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 40, _y, true)) {
_x = (_x+1);
}
}
};
stop();
Instance of Symbol 109 MovieClip in Symbol 117 MovieClip [turret] Frame 1
onClipEvent (load) {
t = 0;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.pod.hitTest(_root.screen)) {
t++;
if (t == 50) {
play();
}
}
}
}
Instance of Symbol 114 MovieClip "pod" in Symbol 117 MovieClip [turret] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.screen)) {
if (_root.player._x >= (_parent._x + 10)) {
_parent._xscale = 100;
_parent._x = _parent._x - _parent.speed;
}
if (_root.player._x <= (_parent._x - 10)) {
_parent._xscale = -100;
_parent._x = _parent._x + _parent.speed;
}
}
}
}
Symbol 117 MovieClip [turret] Frame 2
_root.plusep(15);
_root.explode(_x, _y, _root.player, 120, 120);
_root.coin(_x, _y, 15);
_root.ball(_x, _y, 3);
_root.kills--;
Symbol 117 MovieClip [turret] Frame 3
swapDepths(999999);
this.removeMovieClip();
stop();
Symbol 123 MovieClip Frame 1
onEnterFrame = function () {
if (_root.detial == "low") {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Instance of Symbol 86 MovieClip in Symbol 138 MovieClip Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.player.hita)) {
_root.player.smallhit();
}
}
}
Symbol 138 MovieClip Frame 17
_parent.gotoAndStop(1);
Symbol 145 MovieClip Frame 12
_parent.gotoAndStop(1);
Symbol 151 MovieClip Frame 1
gotoAndStop(random(3) + 2);
_visible = false;
Symbol 159 MovieClip Frame 11
stop();
Symbol 160 MovieClip [e1] Frame 1
function smallhit() {
hp = (hp - 4) - _root.str;
_root.player.sp = _root.player.sp + 3;
gotoAndStop ("hurt1");
}
function medhit() {
hp = (hp - 6) - _root.str;
_root.player.sp = _root.player.sp + 5;
gotoAndStop ("hurt1");
}
function bighit() {
hp = (hp - 7) - _root.str;
_root.player.sp = _root.player.sp + 7;
gotoAndStop ("hurt1");
}
function explodehit() {
hp = (hp - 30) + random(13);
_root.player.sp = _root.player.sp + 13;
gotoAndStop ("hurt2");
}
function bullethit() {
if (_root.spell == 1) {
dm = 3;
gotoAndStop ("hurt1");
} else if (_root.spell == 2) {
dm = 5;
gotoAndStop ("hurt1");
} else if (_root.spell == 3) {
dm = 6;
gotoAndStop ("hurt1");
} else if (_root.spell == 4) {
dm = 7;
gotoAndStop ("hurt2");
}
hp = hp - (dm + Math.round(_root.mag / 2));
}
function gunhit() {
if (_root.gun == 1) {
dm = 3;
gotoAndStop ("hurt1");
} else if (_root.gun == 2) {
dm = 3;
gotoAndStop ("hurt1");
} else if (_root.gun == 3) {
dm = 8;
gotoAndStop ("hurt1");
} else if (_root.gun == 4) {
dm = 10;
gotoAndStop ("hurt2");
}
hp = hp - (dm + Math.round(_root.mag / 2));
}
if (!vars) {
hp = 30 + random(15);
speed = 4 + random(3);
grav = 0;
gravity = 2;
jump = false;
f = 0;
jumph = 25;
_root.kills++;
vars = true;
}
onEnterFrame = function () {
if (_root.goptimiser == "on") {
if (!hitTest(_root.screen)) {
_visible = false;
} else {
_visible = true;
}
}
if (!_root.pau) {
if (hp <= 0) {
gotoAndStop ("die");
}
_y = (_y + grav);
if (!_root.ground.hitTest(_x, _y + 56, true)) {
grav = grav + gravity;
}
if (jump) {
_y = (_y - jumph);
}
while (_root.ground.hitTest(_x, _y + 56, true)) {
grav = 0;
jump = false;
_y = (_y-1);
}
while (_root.ground.hitTest(_x, _y - 56, true)) {
jump = false;
_y = (_y+1);
}
while (_root.ground.hitTest(_x + 43, _y, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 43, _y, true)) {
_x = (_x+1);
}
}
};
stop();
Instance of Symbol 124 MovieClip in Symbol 160 MovieClip [e1] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!s) {
t = 0;
d = 10 + random(20);
s = true;
}
t++;
if (t >= d) {
_parent.gotoAndStop("run");
}
}
}
Instance of Symbol 86 MovieClip in Symbol 160 MovieClip [e1] Frame 1
onClipEvent (enterFrame) {
if (random(10) > 6) {
if (hitTest(_root.player.hita)) {
_parent.gotoAndStop("atk");
}
}
}
Instance of Symbol 130 MovieClip in Symbol 160 MovieClip [e1] Frame 2
onClipEvent (load) {
t = 0;
tt = 24 + random(40);
}
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.screen)) {
if (_root.player._x >= (_parent._x + 10)) {
_parent._xscale = 100;
_parent._x = _parent._x + _parent.speed;
}
if (_root.player._x <= (_parent._x - 10)) {
_parent._xscale = -100;
_parent._x = _parent._x - _parent.speed;
}
t++;
if (t > tt) {
_parent.gotoAndStop(1);
}
}
}
}
Symbol 160 MovieClip [e1] Frame 4
_root.bleed(_x, _y - 15, _xscale, random(10) + 10);
Instance of Symbol 145 MovieClip in Symbol 160 MovieClip [e1] Frame 4
onClipEvent (load) {
bt = 10;
}
onClipEvent (enterFrame) {
bt--;
if (_root.mblur == "on") {
myBlur = new flash.filters.BlurFilter();
myBlur.blurX = bt;
myBlur.blurY = 0;
this.filters = [myBlur];
}
}
Symbol 160 MovieClip [e1] Frame 5
_root.bleed(_x, _y - 15, _xscale, random(15) + 20);
Instance of Symbol 153 MovieClip in Symbol 160 MovieClip [e1] Frame 5
onClipEvent (load) {
lol = 8 + random(10);
as = 10 + random(5);
}
onClipEvent (enterFrame) {
if (_root.mblur == "on") {
myBlur = new flash.filters.BlurFilter();
myBlur.blurX = as;
myBlur.blurY = 0;
this.filters = [myBlur];
}
as = as - 1;
if (as <= 0) {
_parent.gotoAndStop(1);
}
_parent._x = _parent._x - ((_parent._xscale / 100) * (lol * 2));
}
Symbol 160 MovieClip [e1] Frame 6
_root.plusep(10);
_root.coin(_x, _y, 10);
_root.ball(_x, _y, 10);
_root.bleed(_x, _y - 15, _xscale, random(10) + 10);
_root.arckills++;
_root.kills--;
Instance of Symbol 159 MovieClip in Symbol 160 MovieClip [e1] Frame 6
onClipEvent (load) {
bt = 10;
}
onClipEvent (enterFrame) {
bt--;
if (_root.mblur == "on") {
myBlur = new flash.filters.BlurFilter();
myBlur.blurX = bt;
myBlur.blurY = 0;
this.filters = [myBlur];
}
}
Symbol 174 MovieClip Frame 5
_root.e2shoot(_parent._x, _parent._y, _parent._xscale, _parent);
Symbol 174 MovieClip Frame 7
_parent.gotoAndStop(1);
Symbol 181 MovieClip Frame 12
_parent.gotoAndStop(1);
Symbol 187 MovieClip Frame 3
stop();
Symbol 188 MovieClip [e2] Frame 1
function smallhit() {
hp = (hp - 4) - _root.str;
_root.player.sp = _root.player.sp + 3;
gotoAndStop ("hurt1");
}
function medhit() {
hp = (hp - 6) - _root.str;
_root.player.sp = _root.player.sp + 5;
gotoAndStop ("hurt1");
}
function bighit() {
hp = (hp - 7) - _root.str;
_root.player.sp = _root.player.sp + 7;
gotoAndStop ("hurt1");
}
function explodehit() {
hp = (hp - 30) + random(13);
_root.player.sp = _root.player.sp + 13;
gotoAndStop ("hurt2");
}
function bullethit() {
if (_root.spell == "bubble") {
dm = 3;
gotoAndStop ("hurt1");
} else if (_root.spell == "flame") {
dm = 5;
gotoAndStop ("hurt1");
} else if (_root.spell == "sagitta") {
dm = 6;
gotoAndStop ("hurt1");
} else if (_root.spell == "thundra") {
dm = 7;
gotoAndStop ("hurt2");
}
hp = hp - (dm + Math.round(_root.mag / 2));
}
if (!vars) {
hp = 30 + random(15);
speed = 4 + random(3);
grav = 0;
gravity = 2;
jump = false;
jumph = 25;
_root.kills++;
vars = true;
}
onEnterFrame = function () {
if (_root.goptimiser == "on") {
if (!hitTest(_root.screen)) {
_visible = false;
} else {
_visible = true;
}
}
if (!_root.pau) {
if (hp <= 0) {
gotoAndStop ("die");
}
_y = (_y + grav);
if (!_root.ground.hitTest(_x, _y + 56, true)) {
grav = grav + gravity;
}
if (jump) {
_y = (_y - jumph);
}
while (_root.ground.hitTest(_x, _y + 56, true)) {
grav = 0;
jump = false;
_y = (_y-1);
}
while (_root.ground.hitTest(_x, _y - 56, true)) {
jump = false;
_y = (_y+1);
}
while (_root.ground.hitTest(_x + 43, _y, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 43, _y, true)) {
_x = (_x+1);
}
}
};
stop();
Instance of Symbol 162 MovieClip in Symbol 188 MovieClip [e2] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!s) {
t = 0;
d = 10 + random(20);
s = true;
}
t++;
if (t >= d) {
_parent.gotoAndStop("run");
}
}
}
Instance of Symbol 86 MovieClip in Symbol 188 MovieClip [e2] Frame 1
onClipEvent (load) {
asdf = 0;
asdff = 40;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
asdf++;
}
if (asdf >= asdff) {
if (hitTest(_root.player.hita)) {
_parent.gotoAndStop("atk");
}
}
}
Instance of Symbol 168 MovieClip in Symbol 188 MovieClip [e2] Frame 2
onClipEvent (load) {
t = 0;
tt = 24 + random(40);
}
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.screen)) {
if (_root.player._x >= (_parent._x + 10)) {
_parent._xscale = 100;
_parent._x = _parent._x + _parent.speed;
}
if (_root.player._x <= (_parent._x - 10)) {
_parent._xscale = -100;
_parent._x = _parent._x - _parent.speed;
}
t++;
if (t > tt) {
_parent.gotoAndStop(1);
}
}
}
}
Symbol 188 MovieClip [e2] Frame 4
_root.bleed(_x, _y - 15, _xscale, random(10) + 10);
Instance of Symbol 181 MovieClip in Symbol 188 MovieClip [e2] Frame 4
onClipEvent (load) {
bt = 10;
}
onClipEvent (enterFrame) {
bt--;
if (_root.mblur == "on") {
myBlur = new flash.filters.BlurFilter();
myBlur.blurX = bt;
myBlur.blurY = 0;
this.filters = [myBlur];
}
}
Symbol 188 MovieClip [e2] Frame 5
_root.bleed(_x, _y - 15, _xscale, random(15) + 20);
Instance of Symbol 185 MovieClip in Symbol 188 MovieClip [e2] Frame 5
onClipEvent (load) {
lol = 8 + random(10);
as = 10 + random(5);
}
onClipEvent (enterFrame) {
if (_root.mblur == "on") {
myBlur = new flash.filters.BlurFilter();
myBlur.blurX = as;
myBlur.blurY = 0;
this.filters = [myBlur];
}
as = as - 1;
if (as <= 0) {
_parent.gotoAndStop(1);
}
_parent._x = _parent._x - ((_parent._xscale / 100) * (lol * 2));
}
Symbol 188 MovieClip [e2] Frame 6
_root.plusep(12);
_root.coin(_x, _y, 10);
_root.ball(_x, _y, 10);
_root.explode(_x, _y, this, 180, 180);
_root.bleed(_x, _y - 15, _xscale, random(10) + 10);
_root.arckills++;
_root.kills--;
Instance of Symbol 187 MovieClip in Symbol 188 MovieClip [e2] Frame 6
onClipEvent (load) {
bt = 10;
}
onClipEvent (enterFrame) {
bt--;
if (_root.mblur == "on") {
myBlur = new flash.filters.BlurFilter();
myBlur.blurX = bt;
myBlur.blurY = 0;
this.filters = [myBlur];
}
}
Symbol 211 Button
on (press) {
_root.nextFrame();
}
Symbol 212 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (!(PercentLoaded === 100)) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 212 MovieClip Frame 2
gotoAndPlay (1);
Symbol 212 MovieClip Frame 3
play();
Symbol 212 MovieClip Frame 56
stop();
Symbol 252 MovieClip Frame 107
_root.nextFrame();
Symbol 255 Button
on (press) {
play();
}
Symbol 258 Button
on (press) {
nextFrame();
}
Symbol 259 Button
on (press) {
gotoAndStop ("extras");
}
Symbol 260 Button
on (press) {
gotoAndStop ("arena");
}
Symbol 261 Button
on (press) {
gotoAndStop ("l3");
}
Symbol 267 MovieClip Frame 1
gotoAndStop(_root.sword);
onEnterFrame = function () {
gotoAndStop(_root.sword);
};
Symbol 334 MovieClip Frame 7
bt = 10;
Symbol 334 MovieClip Frame 13
bt = 8;
Symbol 334 MovieClip Frame 29
bt = 20;
Symbol 334 MovieClip Frame 45
bt = 20;
Instance of Symbol 307 MovieClip in Symbol 335 MovieClip Frame 120
onClipEvent (enterFrame) {
play();
}
Symbol 336 Button
on (press) {
loadgame(1);
_root.loade.play();
}
Symbol 337 Button
on (press) {
savegame(1);
_root.savee.play();
}
Symbol 340 MovieClip Frame 1
stop();
Symbol 340 MovieClip Frame 2
_root.savee.gotoAndStop(1);
Symbol 343 MovieClip Frame 1
stop();
Symbol 343 MovieClip Frame 2
_root.loade.gotoAndStop(1);
Symbol 349 MovieClip Frame 1
_visible = false;
Symbol 355 Button
on (press) {
fader.play();
}
Symbol 357 MovieClip Frame 1
stop();
Symbol 357 MovieClip Frame 20
_root.nextFrame();
Symbol 366 MovieClip Frame 1
stop();
Instance of Symbol 86 MovieClip in Symbol 366 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.player)) {
_parent.play();
}
}
Instance of Symbol 86 MovieClip in Symbol 366 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.player.hita)) {
_root.player.smallhit();
}
}
}
Symbol 368 MovieClip Frame 1
function smallhit() {
play();
_root.player.sp = _root.player.sp + 3;
}
function medhit() {
play();
_root.player.sp = _root.player.sp + 5;
}
function bighit() {
play();
_root.player.sp = _root.player.sp + 7;
}
function explodehit() {
play();
_root.player.sp = _root.player.sp + 13;
}
function bullethit() {
play();
}
function gunhit() {
play();
}
onEnterFrame = function () {
if (_root.goptimiser == "on") {
if (!hitTest(_root.screen)) {
_visible = false;
} else {
_visible = true;
}
}
};
stop();
Symbol 368 MovieClip Frame 2
stop();
_root.explode(_x, _y, _root.player, 150, 150);
Symbol 380 MovieClip Frame 1
onEnterFrame = function () {
omg._xscale = _root.player.cas;
};
Instance of Symbol 384 MovieClip in Symbol 386 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_xscale >= 100) {
_xscale = 100;
}
_xscale = ((_root.ep / _root.maxep) * 100);
}
Symbol 388 MovieClip Frame 1
stop();
onEnterFrame = function () {
asdfgfff = "COINS:" + _root.coins;
asdf = ((((("LV:" + _root.lvl) + " (EXP:") + _root.ep) + "/") + _root.maxep) + ")";
};
Instance of Symbol 386 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.ep >= _root.maxep) {
_root.stat.lvup.play();
_root.lvl++;
_root.ep = 0;
_root.maxep = Math.round(_root.maxep * 1.3);
}
}
Symbol 393 MovieClip Frame 1
stop();
Instance of Symbol 389 MovieClip in Symbol 393 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.kills <= 0) {
_parent.play();
}
}
Symbol 393 MovieClip Frame 81
stop();
Symbol 394 MovieClip Frame 1
onEnterFrame = function () {
gotoAndStop(_root.spell);
};
Symbol 404 MovieClip Frame 1
_parent._x = _root.screen._x;
_parent._y = _root.screen._y;
_parent._xscale = _root.screen._xscale;
_parent._yscale = _root.screen._yscale;
_parent.swapDepths(999999);
Symbol 404 MovieClip Frame 2
gotoAndPlay (1);
Symbol 409 MovieClip Frame 1
_visible = false;
Symbol 429 Button
on (rollOver) {
diss = "Increase STRENGHT , makes melee attack stronger";
}
on (press) {
_root.str++;
play();
}
Symbol 430 Button
on (rollOver) {
diss = "Increase MAGICAL ABILITY , makes spells stronger";
}
on (press) {
_root.mag++;
play();
}
Symbol 431 Button
on (rollOver) {
diss = "Increase AGILITY , makes your speed faster";
}
on (press) {
play();
_root.agi++;
}
Symbol 432 Button
on (rollOver) {
diss = "Increase MAX HP , Makes your HP bigger(DUH!)";
}
on (press) {
_root.maxhp = _root.maxhp + 5;
play();
}
Symbol 433 Button
on (rollOver) {
diss = "Increase MP";
}
on (press) {
_root.mp = _root.mp + 5;
play();
}
Symbol 434 MovieClip Frame 1
stop();
diss = "Roll Over for discription";
stop();
if (t1 == undefined) {
t1 = "";
}
if (t2 == undefined) {
t2 = "";
}
if (_root.lvl == _root.nextspellat) {
_root.spells++;
t1 = "NEW SPELL LEARNT!";
_root.nextspellat = Math.round(_root.nextspellat * 1.7);
}
if (_root.lvl == _root.nextbaat) {
_root.burnatk++;
t2 = "NEW B.ATK LEARNT!";
_root.nextbaat = Math.round(_root.nextbaat * 2.2);
}
if (_root.spells == 4) {
_root.nextspellat = "No More";
}
if (_root.burnatk == 4) {
_root.nextspellat = "No More";
}
tt1 = (t1 + newline) + t2;
asdf1 = "LV " + _root.nextspellat;
asdf2 = "LV " + _root.nextbaat;
Symbol 434 MovieClip Frame 2
_parent.play();
stop();
Symbol 435 MovieClip Frame 1
stop();
_visible = false;
Symbol 435 MovieClip Frame 2
play();
_visible = true;
Symbol 435 MovieClip Frame 20
stop();
_root.pau = true;
Symbol 435 MovieClip Frame 40
_root.pau = false;
Symbol 438 Button
on (keyPress "p") {
play();
}
on (keyPress "<Enter>") {
play();
}
Symbol 446 MovieClip Frame 1
gotoAndPlay (2);
Symbol 446 MovieClip Frame 31
stop();
Symbol 446 MovieClip Frame 32
_root.getstats();
Symbol 446 MovieClip Frame 60
_root.nextFrame();
_parent.swapDepths(999999);
_parent.removeMovieClip();
Symbol 448 MovieClip Frame 1
gotoAndPlay (2);
Symbol 448 MovieClip Frame 10
stop();
Symbol 450 MovieClip Frame 1
gotoAndPlay (2);
Symbol 450 MovieClip Frame 37
stop();
Symbol 453 MovieClip Frame 1
gotoAndPlay (2);
Symbol 453 MovieClip Frame 34
stop();
Symbol 454 Button
on (press) {
_root.gotoAndStop("main");
swapDepths(999999);
this.removeMovieClip();
}
Symbol 455 Button
on (press) {
if (_quality == "HIGH") {
_quality = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "LOW";
} else if (_quality == "LOW") {
_quality = "HIGH";
}
}
Symbol 458 MovieClip Frame 1
gotoAndPlay (2);
Symbol 458 MovieClip Frame 15
stop();
Symbol 460 Button
on (press) {
prevFrame();
}
Symbol 465 Button
on (press) {
swords++;
}
Symbol 466 Button
on (press) {
spells++;
}
Symbol 467 MovieClip Frame 1
if (!vars) {
spells = 1;
swords = 1;
k = false;
g = 0;
rt = 0;
h = 0;
_root.hudt = 0;
_root.we = new Sound();
vars = true;
}
stop();
_root.pau = false;
onEnterFrame = function () {
if (!_root.pau) {
_root.savegame(1);
h++;
if (h == 24) {
_root.arctime++;
h = 0;
}
if (Key.isDown(_root.spellkey)) {
if (!k) {
spells++;
k = true;
}
}
if (Key.isDown(_root.swordkey)) {
if (!k) {
swords++;
k = true;
}
}
if (Key.isDown(_root.ragekey)) {
if (!_root.player.rage) {
if (!k) {
k = true;
if (_root.player.sp >= 99) {
_root.player.gotoAndStop("boom0");
_root.player.rage = true;
}
}
}
}
if (_root.player.sp <= 0) {
_root.player.rage = false;
}
}
if (k) {
g++;
if (g == 5) {
g = 0;
k = false;
}
}
if (spells > _root.spells) {
spells = 1;
}
if (swords > _root.swords) {
swords = 1;
}
if (Key.isDown(_root.pausekey)) {
if (_currentframe == 1) {
gotoAndStop (2);
}
}
if (_root.cheat1) {
_root.player.cas = 999;
}
if (_root.cheat2) {
_root.player.sp = 999;
}
if (_root.cheat3) {
_root.player.hp = 999;
}
_root.spell = spells;
_root.sword = swords;
mpa = "MP:" + _root.mp;
hp1 = "HP:" + Math.round(_root.player.hp);
mp1 = "SP:" + Math.round(_root.player.sp);
arc.lol = "Kills:" + Math.round(_root.arckills);
};
Instance of Symbol 398 MovieClip in Symbol 467 MovieClip Frame 1
onClipEvent (enterFrame) {
speed = 0.5;
sd = (_root.player.hp / _root.maxhp) * 100;
if (_xscale > sd) {
_xscale = (_xscale - speed);
}
if (_xscale < sd) {
_xscale = (_xscale + speed);
}
}
Instance of Symbol 398 MovieClip in Symbol 467 MovieClip Frame 1
onClipEvent (enterFrame) {
speed = 0.5;
sd = _root.sp;
if (_xscale > sd) {
_xscale = (_xscale - speed);
}
if (_xscale < sd) {
_xscale = (_xscale + speed);
}
}
Instance of Symbol 398 MovieClip in Symbol 467 MovieClip Frame 1
onClipEvent (enterFrame) {
speed = 1;
sd = (_root.player.hp / _root.maxhp) * 100;
if (_xscale > sd) {
_xscale = (_xscale - speed);
}
if (_xscale < sd) {
_xscale = (_xscale + speed);
}
}
Instance of Symbol 398 MovieClip in Symbol 467 MovieClip Frame 1
onClipEvent (enterFrame) {
speed = 1;
sd = _root.player.sp;
if (_xscale > sd) {
_xscale = (_xscale - speed);
}
if (_xscale < sd) {
_xscale = (_xscale + speed);
}
}
Instance of Symbol 404 MovieClip in Symbol 467 MovieClip Frame 1
onClipEvent (load) {
_xscale = 100;
_yscale = 100;
_x = 0;
_y = 0;
_visible = false;
}
onClipEvent (unload) {
_parent.swapDepths(_root.getNextHighestDepth());
_parent.removeMovieClip();
}
Instance of Symbol 446 MovieClip "black" in Symbol 467 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (2);
}
Symbol 467 MovieClip Frame 2
stop();
_root.pau = true;
Symbol 482 MovieClip Frame 5
bt = 10;
Symbol 482 MovieClip Frame 14
_parent.gotoAndStop(1);
Symbol 495 MovieClip Frame 7
bt = 10;
Symbol 495 MovieClip Frame 13
bt = 8;
Instance of Symbol 487 MovieClip in Symbol 495 MovieClip Frame 16
onClipEvent (enterFrame) {
if (Key.isDown(_root.atkkey)) {
if (!_parent.key) {
_parent.gotoAndPlay(21);
}
}
}
Symbol 495 MovieClip Frame 20
_parent.gotoAndStop(1);
Symbol 495 MovieClip Frame 29
bt = 20;
Instance of Symbol 487 MovieClip in Symbol 495 MovieClip Frame 32
onClipEvent (enterFrame) {
if (Key.isDown(_root.atkkey)) {
if (!_parent.key) {
_parent.gotoAndPlay(37);
}
}
}
Symbol 495 MovieClip Frame 36
_parent.gotoAndStop(1);
Symbol 495 MovieClip Frame 45
bt = 20;
Symbol 495 MovieClip Frame 56
_parent.gotoAndStop(1);
Instance of Symbol 487 MovieClip in Symbol 497 MovieClip Frame 7
onClipEvent (enterFrame) {
if (Key.isDown(_root.qakey)) {
if (!_parent.key) {
_parent.gotoAndPlay(11);
}
}
}
Symbol 497 MovieClip Frame 10
_parent.gotoAndStop(1);
Instance of Symbol 487 MovieClip in Symbol 497 MovieClip Frame 20
onClipEvent (enterFrame) {
if (Key.isDown(_root.qakey)) {
if (!_parent.key) {
_parent.gotoAndPlay(25);
}
}
}
Symbol 497 MovieClip Frame 24
_parent.gotoAndStop(1);
Symbol 497 MovieClip Frame 35
_parent.gotoAndStop(1);
Symbol 508 MovieClip Frame 5
if (_root.mp >= 1) {
_root.shoot(_parent._x + ((_parent._xscale / 100) * 50), _parent._y - 25, _parent._xscale, ["spell" + _root.spell]);
}
Symbol 508 MovieClip Frame 10
_parent.gotoAndStop(1);
Symbol 516 MovieClip Frame 1
stop();
Symbol 516 MovieClip Frame 10
_parent.gotoAndStop(2);
Symbol 517 MovieClip Frame 1
if (_root.player._xscale == -100) {
_xscale = -100;
}
stop();
Instance of Symbol 516 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
if (_root.burnatk <= 1) {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (Key.isDown(_root.leftkey)) {
play();
_parent._parent.atk = "wboom";
}
}
}
Instance of Symbol 516 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
if (_root.burnatk <= 0) {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (Key.isDown(_root.rightkey)) {
play();
_parent._parent.atk = "bwave";
}
}
}
Instance of Symbol 516 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
if (_root.burnatk <= 3) {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (Key.isDown(_root.downkey)) {
play();
_parent._parent.atk = "dboom";
}
}
}
Instance of Symbol 516 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
if (_root.burnatk <= 2) {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (Key.isDown(_root.jumpkey)) {
play();
_parent._parent.atk = "rise";
}
}
}
Symbol 517 MovieClip Frame 2
stop();
Symbol 523 MovieClip Frame 1
atk = "boom1";
Symbol 523 MovieClip Frame 20
_parent.gotoAndStop(atk);
Symbol 527 MovieClip Frame 1
_root.explode(_root.player._x, _root.player._y, _root.player, 170, 170);
Symbol 527 MovieClip Frame 7
_parent.gotoAndStop(1);
Symbol 532 MovieClip Frame 9
_root.explode(_root.player._x + ((_parent._xscale / 100) * 110), _root.player._y, _root.player, 170, 170);
_root.player.sp = _root.player.sp - 40;
Symbol 532 MovieClip Frame 12
_parent.gotoAndStop(1);
Symbol 539 MovieClip Frame 7
_root.player.sp = _root.player.sp - 50;
Symbol 539 MovieClip Frame 26
_parent.gotoAndStop(1);
Symbol 550 MovieClip Frame 7
_root.player.sp = _root.player.sp - 50;
Symbol 550 MovieClip Frame 15
_parent.gotoAndStop(1);
Symbol 554 MovieClip Frame 7
_root.player.sp = _root.player.sp - 50;
Symbol 554 MovieClip Frame 15
_parent.gotoAndStop(1);
Symbol 558 MovieClip Frame 7
_root.explode(_root.player._x + ((_parent._xscale / 100) * 110), _root.player._y, _root.player, 170, 170);
_root.player.sp = _root.player.sp - 40;
Symbol 558 MovieClip Frame 12
_root.explode(_root.player._x + ((_parent._xscale / 100) * 280), _root.player._y, _root.player, 170, 170);
Symbol 558 MovieClip Frame 17
_root.explode(_root.player._x + ((_parent._xscale / 100) * 450), _root.player._y, _root.player, 170, 170);
Symbol 558 MovieClip Frame 21
_parent.gotoAndStop(1);
Instance of Symbol 563 MovieClip in Symbol 565 MovieClip Frame 1
onClipEvent (load) {
if (_root.detial == "low") {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 565 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 572 MovieClip Frame 12
_parent.gotoAndStop(1);
Symbol 582 MovieClip Frame 11
stop();
if (!_root.pau) {
if (_root.lv == "arc") {
_root.gotoAndStop("arcdie");
_root.stat.removeMovieClip();
} else {
_root.die();
}
}
Symbol 583 MovieClip Frame 1
function smallhit() {
hp = hp - 3;
gotoAndStop ("hurt1");
}
function medhit() {
hp = hp - 4;
gotoAndStop ("hurt1");
}
function bighit() {
hp = hp - 5;
gotoAndStop ("hurt1");
}
function explodehit() {
hp = hp - 13;
gotoAndStop ("hurt2");
}
function gocas() {
_root.playercas();
gotoAndStop ("cas");
cas = 0;
}
if (!vars) {
_root.nasave = true;
hp = _root.maxhp;
speed = 14 + _root.agi;
sp = 0;
grav = 0;
_name = "player";
gravity = 2;
rage = false;
jump = false;
cass = 50;
rollspeed = speed * 1.83;
jumph = 25;
vars = true;
}
onEnterFrame = function () {
speed = 14 + _root.agi;
if (!_root.pau) {
cas = cas + 0.3;
if (sp >= 0) {
sp = sp - 0.05;
if (rage) {
sp = sp - 0.1;
}
}
if (rage) {
speed = 18;
rollspeed = speed * 1.83;
jumph = 28;
} else {
speed = 14 + _root.agi;
rollspeed = speed * 1.83;
jumph = 25;
}
if (sp <= 0) {
rage = false;
}
if (hp <= 0) {
gotoAndStop ("die");
}
if (hp >= _root.maxhp) {
hp = _root.maxhp;
}
_y = (_y + grav);
if (!_root.ground.hitTest(_x, _y + 56, true)) {
grav = grav + gravity;
}
if (jump) {
_y = (_y - jumph);
}
while (_root.ground.hitTest(_x, _y + 56, true)) {
grav = 0;
jump = false;
_y = (_y-1);
}
while (_root.ground.hitTest(_x, _y - 56, true)) {
jump = false;
_y = (_y+1);
}
while (_root.ground.hitTest(_x + 43, _y, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 43, _y, true)) {
_x = (_x+1);
}
while (_root.levelleft.hitTest(_x - 43, _y, true)) {
_x = (_x+1);
}
}
};
stop();
Instance of Symbol 472 MovieClip in Symbol 583 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.rage) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 269 MovieClip in Symbol 583 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(_root.leftkey)) {
_parent.gotoAndStop("run");
}
if (Key.isDown(_root.rightkey)) {
_parent.gotoAndStop("run");
}
if (Key.isDown(_root.jumpkey)) {
_parent.gotoAndStop("jump");
}
if (Key.isDown(_root.downkey)) {
_parent.gotoAndStop("duck");
}
if (Key.isDown(_root.rollkey)) {
_parent.gotoAndStop("roll");
}
if (Key.isDown(_root.atkkey)) {
_parent.gotoAndStop("atk");
}
if (Key.isDown(_root.qakey)) {
_parent.gotoAndStop("qa");
}
if (Key.isDown(_root.shootkey)) {
_parent.gotoAndStop("atk2");
}
if (Key.isDown(_root.ragekey)) {
if (_parent.rage) {
if (_parent.sp >= 99) {
_parent.gotoAndStop("ragecharge");
}
}
}
if (Key.isDown(_root.caskey)) {
if (_parent.cas >= 100) {
_parent.gocas();
}
}
}
}
Instance of Symbol 275 MovieClip in Symbol 583 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(_root.leftkey)) {
_parent._xscale = -100;
_parent._x = _parent._x - _parent.speed;
} else if (Key.isDown(_root.rightkey)) {
_parent._xscale = 100;
_parent._x = _parent._x + _parent.speed;
} else {
_parent.gotoAndStop(1);
}
if (Key.isDown(_root.rollkey)) {
_parent.gotoAndStop("roll");
}
if (Key.isDown(_root.jumpkey)) {
_parent.gotoAndStop("jump");
}
if (Key.isDown(_root.atkkey)) {
_parent.gotoAndStop("atk");
}
if (Key.isDown(_root.qakey)) {
_parent.gotoAndStop("qa");
}
if (Key.isDown(_root.shootkey)) {
_parent.gotoAndStop("atk2");
}
if (Key.isDown(_root.ragekey)) {
if (_parent.rage) {
if (_parent.sp >= 99) {
_parent.gotoAndStop("ragecharge");
}
}
}
if (Key.isDown(_root.caskey)) {
if (_parent.cas >= 100) {
_parent.gocas();
}
}
}
}
Instance of Symbol 482 MovieClip in Symbol 583 MovieClip Frame 3
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.rollspeed;
} else {
_parent._x = _parent._x + _parent.rollspeed;
}
}
}
onClipEvent (load) {
bt = 0;
}
onClipEvent (enterFrame) {
bt--;
if (_root.mblur == "on") {
myBlur = new flash.filters.BlurFilter();
myBlur.blurX = bt;
myBlur.blurY = 0;
this.filters = [myBlur];
}
}
Instance of Symbol 484 MovieClip in Symbol 583 MovieClip Frame 4
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!Key.isDown(_root.downkey)) {
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 495 MovieClip "att" in Symbol 583 MovieClip Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(_root.atkkey)) {
key = true;
} else {
key = false;
}
}
}
Instance of Symbol 497 MovieClip "att" in Symbol 583 MovieClip Frame 6
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(_root.qakey)) {
key = true;
} else {
key = false;
}
}
}
Instance of Symbol 510 MovieClip in Symbol 583 MovieClip Frame 8
onClipEvent (load) {
_parent._y = _parent._y - 20;
_parent.jump = true;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(_root.leftkey)) {
_parent._xscale = -100;
_parent._x = _parent._x - _parent.speed;
} else if (Key.isDown(_root.rightkey)) {
_parent._xscale = 100;
_parent._x = _parent._x + _parent.speed;
}
if (_parent.grav <= 0) {
_parent.jump = false;
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 527 MovieClip in Symbol 583 MovieClip Frame 10
onClipEvent (load) {
bt = 15;
}
onClipEvent (enterFrame) {
bt--;
if (_root.mblur == "on") {
myBlur = new flash.filters.BlurFilter();
myBlur.blurX = bt;
myBlur.blurY = 0;
this.filters = [myBlur];
}
}
Instance of Symbol 532 MovieClip in Symbol 583 MovieClip Frame 11
onClipEvent (load) {
bt = 15;
}
onClipEvent (enterFrame) {
bt--;
if (_root.mblur == "on") {
myBlur = new flash.filters.BlurFilter();
myBlur.blurX = bt;
myBlur.blurY = 0;
this.filters = [myBlur];
}
}
Instance of Symbol 539 MovieClip "att" in Symbol 583 MovieClip Frame 12
onClipEvent (load) {
bt = 15;
}
onClipEvent (enterFrame) {
bt--;
if (_root.mblur == "on") {
myBlur = new flash.filters.BlurFilter();
myBlur.blurX = bt;
myBlur.blurY = 0;
this.filters = [myBlur];
}
}
Instance of Symbol 550 MovieClip "att" in Symbol 583 MovieClip Frame 13
onClipEvent (load) {
bt = 15;
}
onClipEvent (enterFrame) {
bt--;
if (_root.mblur == "on") {
myBlur = new flash.filters.BlurFilter();
myBlur.blurX = bt;
myBlur.blurY = 0;
this.filters = [myBlur];
}
}
Instance of Symbol 554 MovieClip "att" in Symbol 583 MovieClip Frame 14
onClipEvent (load) {
bt = 15;
}
onClipEvent (enterFrame) {
bt--;
if (_root.mblur == "on") {
myBlur = new flash.filters.BlurFilter();
myBlur.blurX = bt;
myBlur.blurY = 0;
this.filters = [myBlur];
}
}
Instance of Symbol 558 MovieClip in Symbol 583 MovieClip Frame 15
onClipEvent (load) {
bt = 15;
}
onClipEvent (enterFrame) {
bt--;
if (_root.mblur == "on") {
myBlur = new flash.filters.BlurFilter();
myBlur.blurX = bt;
myBlur.blurY = 0;
this.filters = [myBlur];
}
}
Instance of Symbol 565 MovieClip in Symbol 583 MovieClip Frame 16
onClipEvent (enterFrame) {
if (!asd) {
t = 0;
sped = 50 + random(20);
asd = true;
}
if (!_root.pau) {
t++;
if (_root.ground.hitTest(_parent._x + 70, _parent._y, true)) {
_parent._xscale = -100;
_parent._x = _parent._x - 5;
}
if (_root.ground.hitTest(_parent._x - 70, _parent._y, true)) {
_parent._xscale = 100;
_parent._x = _parent._x + 5;
}
if (t >= 5) {
_visible = true;
play();
} else {
_visible = false;
_parent._x = _parent._x - ((_parent._xscale / -100) * sped);
stop();
}
}
}
onClipEvent (load) {
bt = 15;
}
onClipEvent (enterFrame) {
bt--;
if (_root.mblur == "on") {
myBlur = new flash.filters.BlurFilter();
myBlur.blurX = bt;
myBlur.blurY = 0;
this.filters = [myBlur];
}
}
Symbol 583 MovieClip Frame 17
_root.bleed(_x, _y - 15, _xscale, random(10) + 10);
Instance of Symbol 572 MovieClip in Symbol 583 MovieClip Frame 17
onClipEvent (load) {
bt = 10;
}
onClipEvent (enterFrame) {
bt--;
if (_root.mblur == "on") {
myBlur = new flash.filters.BlurFilter();
myBlur.blurX = bt;
myBlur.blurY = 0;
this.filters = [myBlur];
}
}
Symbol 583 MovieClip Frame 18
_root.bleed(_x, _y - 15, _xscale, random(10) + 10);
Instance of Symbol 576 MovieClip in Symbol 583 MovieClip Frame 18
onClipEvent (load) {
lol = 8 + random(10);
as = 10 + random(5);
}
onClipEvent (enterFrame) {
as = as - 1;
if (as <= 0) {
_parent.gotoAndStop(1);
}
_parent._x = _parent._x - ((_parent._xscale / 100) * (lol * 2));
}
onClipEvent (load) {
bt = 10;
}
onClipEvent (enterFrame) {
bt--;
if (_root.mblur == "on") {
myBlur = new flash.filters.BlurFilter();
myBlur.blurX = bt;
myBlur.blurY = 0;
this.filters = [myBlur];
}
}
Symbol 583 MovieClip Frame 19
_root.bleed(_x, _y - 15, _xscale, random(10) + 10);
Instance of Symbol 582 MovieClip in Symbol 583 MovieClip Frame 19
onClipEvent (load) {
bt = 15;
}
onClipEvent (enterFrame) {
bt--;
if (_root.mblur == "on") {
myBlur = new flash.filters.BlurFilter();
myBlur.blurX = bt;
myBlur.blurY = 0;
this.filters = [myBlur];
}
}
Symbol 585 MovieClip Frame 1
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
if (!omg) {
scaley = 100;
omg = true;
}
if (_root.player._xscale > 1) {
gazzle = 100;
} else {
gazzle = -100;
}
tx = _root.player._x + gazzle;
dx = tx - _x;
_x = (_x + (dx / 8));
_y = _root.player._y;
_xscale = scaley;
_yscale = scaley;
while (hitTest(_root.levelleft)) {
_x = (_x+1);
}
while (hitTest(_root.levelright)) {
_x = (_x-1);
}
while (hitTest(_root.levelbottom)) {
_y = (_y+1);
}
while (hitTest(_root.leveltop)) {
_y = (_y-1);
}
parentColor.setTransform(camColor.getTransform());
var scaleX = (sX / this._width);
var scaleY = (sY / this._height);
_parent._x = cX - (this._x * scaleX);
_parent._y = cY - (this._y * scaleY);
_parent._xscale = 100 * scaleX;
_parent._yscale = 100 * scaleY;
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
camControl();
this.onUnload = resetStage;
Symbol 585 MovieClip Frame 2
gotoAndPlay (1);
Symbol 594 MovieClip Frame 1
onEnterFrame = function () {
if (_currentframe == 1) {
if (hit.hitTest(_root.player.jumphit)) {
if (_root.player.grav >= 10) {
play();
}
}
}
};
stop();
Symbol 594 MovieClip Frame 2
_root.player.grav = -omg;
Instance of Symbol 86 MovieClip in Symbol 628 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.kills == 6) {
swapDepths(999999);
this.removeMovieClip();
}
}
Instance of Symbol 86 MovieClip in Symbol 628 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.kills == 3) {
swapDepths(999999);
this.removeMovieClip();
}
}
Symbol 633 Button
on (press) {
gotoAndStop ("main");
}
Symbol 645 MovieClip Frame 2
stop();
Symbol 648 Button
on (press) {
gotoAndStop(_root.lv);
}
Symbol 651 Button
on (press) {
startDrag ("OMGABUTTON");
}
on (release) {
stopDrag();
}