Frame 1
stopAllSounds();
_root.bytesLoaded = _root.getBytesLoaded();
_root.bytesTotal = _root.getBytesTotal();
_root.percentLoaded = Math.round(100 * (_root.bytesLoaded / _root.bytesTotal));
_root.percentLoadedText = _root.percentLoaded + "%";
_root.bar.gotoAndStop(percentLoaded);
_root.gameover = 0;
_root.gameoverx = 0;
_root.removeall = 1;
Name = "Enter Name";
_root.mon1at = 0;
_root.mon2at = 0;
_root.mon3at = 0;
_root.mon4at = 0;
_root.mon5at = 0;
_root.mon6at = 0;
_root.mon7at = 0;
_root.mon8at = 0;
monid = 0;
_root.CT = 1;
_root.speed = 10;
map = 1;
mhpc = 25;
_root.mapmove = 1;
_root.BRS = 10;
_root.jumpspeed = 10;
_root.reactiontime = 14;
_root.kill = 0;
_root.MAXHP = 35;
_root.HP = _root.MAXHP;
_root.battlesetup = 0;
encount = 0;
level = 1;
goal = 4;
kills = 0;
gold = 50;
Cid = 0;
armor = 1;
sword = 1;
magnet = 0;
hpview = 0;
bbb = 0;
particals = "on";
backg = "on";
gamover = 0;
gamoverx = 0;
removeall = 0;
mos = 0;
mosmax = 2;
extragold = 0;
_root.mon1.t = 0;
_root.mon2.t = 0;
_root.mon3.t = 0;
_root.mon4.t = 0;
_root.mon5.t = 0;
_root.mon6.t = 0;
_root.mon7.t = 0;
_root.mon9.t = 0;
Frame 2
if (_root.percentLoaded == 100) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Frame 3
stop();
Frame 4
stop();
Frame 5
_root.mapmove = 1;
_root.removeall = 0;
play();
Frame 6
prevFrame();
Frame 7
_root.mapmove = 0;
play();
Instance of Symbol 436 MovieClip "seth" in Frame 7
onClipEvent (load) {
land = 0;
}
onClipEvent (enterFrame) {
if (_root.sword == 1) {
_root.att = 1;
}
if (_root.sword == 2) {
_root.att = 2;
}
if (_root.sword == 3) {
_root.att = 4;
}
if (_root.sword == 4) {
_root.att = 7;
}
if (_root.sword == 5) {
_root.att = 10;
}
if (_root.sword == 6) {
_root.att = 20;
}
if (_root.armor == 1) {
_root.deff = 2;
}
if (_root.armor == 2) {
_root.deff = 6;
}
if (_root.armor == 3) {
_root.deff = 10;
}
if (_root.armor == 4) {
_root.deff = 20;
}
if (_root.seth._x < 0) {
_root.seth._x = _root.seth._x + _root.BRS;
}
if (_root.kills >= _root.goal) {
if (_root.seth._x > 650) {
_root.endlevel = 1;
}
} else if (_root.seth._x > 650) {
_root.seth._x = _root.seth._x - _root.BRS;
}
if (_root.mapmove == 1) {
if (_root.seth._x < 300) {
_root.seth._x = _root.seth._x + 1;
_root.stage._x = _root.stage._x + 1;
_root.lw._x = _root.lw._x + 1;
_root.rw._x = _root.rw._x + 1;
}
if (_root.seth._x > 350) {
_root.seth._x = _root.seth._x - 1;
_root.stage._x = _root.stage._x - 1;
_root.lw._x = _root.lw._x - 1;
_root.rw._x = _root.rw._x - 1;
}
}
if (_root.seth._y >= 250) {
this._y = this._y - 10;
if (land == 0) {
if (_root.particals == "on") {
_root.attachMovie("dust", "dust", _root.getNextHighestDepth(), {_x:_root.seth._x - 10, _y:_root.seth._y + 50});
}
_root.land = 1;
}
}
if (this._y <= 250) {
land = 0;
}
}
Frame 8
prevFrame();
Frame 21
stopAllSounds();
Frame 23
_root.mapmove = 0;
hid = 0;
Frame 24
if (_root.level == 16) {
gotoAndPlay ("win");
} else {
_root.attachMovie("levels", "levs", _root.getNextHighestDepth(), {_x:350, _y:200});
}
Instance of Symbol 464 MovieClip in Frame 24
onClipEvent (enterFrame) {
this._x = _root.stage._x / 20;
}
Instance of Symbol 479 MovieClip "bg2" in Frame 24
onClipEvent (enterFrame) {
if (_root.backg == "off") {
this._visible = false;
} else {
this._visible = true;
this._x = _root.stage._x / 4;
}
}
Instance of Symbol 486 MovieClip "bg1" in Frame 24
onClipEvent (enterFrame) {
if (_root.backg == "off") {
this._visible = false;
} else {
this._visible = true;
this._x = _root.stage._x / 2;
}
}
Instance of Symbol 519 MovieClip "shad" in Frame 24
onClipEvent (enterFrame) {
if (_root.particals == "off") {
this._visible = false;
} else {
this._visible = true;
this._x = _root.seth._x;
}
}
Instance of Symbol 436 MovieClip "seth" in Frame 24
onClipEvent (load) {
land = 0;
}
onClipEvent (enterFrame) {
if (_root.sword == 1) {
_root.att = 2;
}
if (_root.sword == 2) {
_root.att = 3;
}
if (_root.sword == 3) {
_root.att = 5;
}
if (_root.sword == 4) {
_root.att = 7;
}
if (_root.sword == 5) {
_root.att = 10;
}
if (_root.sword == 6) {
_root.att = 20;
}
if (_root.armor == 1) {
_root.deff = 2;
}
if (_root.armor == 2) {
_root.deff = 6;
}
if (_root.armor == 3) {
_root.deff = 10;
}
if (_root.armor == 4) {
_root.deff = 20;
}
if (_root.seth._x < 0) {
_root.seth._x = _root.seth._x + _root.BRS;
}
if (_root.kills >= _root.goal) {
if (_root.seth._x > 650) {
_root.endlevel = 1;
}
} else if (_root.seth._x > 650) {
_root.seth._x = _root.seth._x - _root.BRS;
}
if (_root.mapmove == 1) {
if (_root.seth._x < 300) {
_root.seth._x = _root.seth._x + 1;
_root.stage._x = _root.stage._x + 1;
_root.lw._x = _root.lw._x + 1;
_root.rw._x = _root.rw._x + 1;
}
if (_root.seth._x > 350) {
_root.seth._x = _root.seth._x - 1;
_root.stage._x = _root.stage._x - 1;
_root.lw._x = _root.lw._x - 1;
_root.rw._x = _root.rw._x - 1;
}
}
if (_root.seth._y >= 300) {
this._y = this._y - 10;
if (land == 0) {
if (_root.particals == "on") {
_root.attachMovie("dust", "dust", _root.getNextHighestDepth(), {_x:_root.seth._x - 10, _y:_root.seth._y + 50});
}
_root.land = 1;
}
}
if (this._y <= 300) {
land = 0;
}
}
Instance of Symbol 520 MovieClip "xxx" in Frame 24
onClipEvent (enterFrame) {
this._x = _root.seth._x - 20;
}
Instance of Symbol 531 MovieClip "contt" in Frame 24
onClipEvent (load) {
xx = 0;
Cid = 0;
vic = 0;
}
onClipEvent (enterFrame) {
if (_root.HP > _root.MAXHP) {
_root.HP = _root.MAXHP;
}
if (_root.HP <= 0) {
_root.HP = 0;
}
if (_root.gameover == 1) {
play();
}
if (_root.mos < _root.mosmax) {
_root.mos = _root.mos + 1;
if (_root.kills < _root.goal) {
if (_root.mon1at == 0) {
_root.mon1at = 1;
_root.attachMovie("monster", "mon1", _root.getNextHighestDepth(), {_x:-200, _y:300});
_root.mon1.no = 1;
} else if (_root.mon2at == 0) {
_root.mon2at = 1;
_root.attachMovie("monster", "mon2", _root.getNextHighestDepth(), {_x:1000, _y:300});
_root.mon2.no = 2;
} else if (_root.mon3at == 0) {
_root.mon3at = 1;
_root.attachMovie("monster", "mon3", _root.getNextHighestDepth(), {_x:-400, _y:300});
_root.mon3.no = 3;
} else if (_root.mon4at == 0) {
_root.mon4at = 1;
_root.attachMovie("monster", "mon4", _root.getNextHighestDepth(), {_x:900, _y:300});
_root.mon4.no = 4;
} else if (_root.mon5at == 0) {
_root.mon5at = 1;
_root.attachMovie("monster", "mon5", _root.getNextHighestDepth(), {_x:-300, _y:300});
_root.mon5.no = 5;
} else if (_root.mon6at == 0) {
_root.mon6at = 1;
_root.attachMovie("monster", "mon6", _root.getNextHighestDepth(), {_x:1200, _y:300});
_root.mon6.no = 6;
} else if (_root.mon7at == 0) {
_root.mon7at = 1;
_root.attachMovie("monster", "mon7", _root.getNextHighestDepth(), {_x:-500, _y:300});
_root.mon7.no = 7;
} else if (_root.mon8at == 0) {
_root.mon8at = 1;
_root.attachMovie("monster", "mon8", _root.getNextHighestDepth(), {_x:1000, _y:300});
_root.mon8.no = 8;
}
}
}
if (_root.kills >= _root.goal) {
play();
}
if (_root.hid > 10) {
_root.hid = 0;
}
}
Frame 25
if (goal > 100) {
goal = 100;
}
if (_root.contt.vic == 1) {
gotoAndPlay ("vic");
}
if (_root.gameoverx == 1) {
stopAllSounds();
gotoAndPlay ("gameover");
}
if (level == 15) {
mosmax = 2;
}
percentHP = Math.round(100 * (_root.HP / _root.MAXHP));
_root.hpbar.gotoAndStop(percentHP);
play();
Frame 26
prevFrame();
Frame 27
_root.removeall = 1;
_root.endlevel = 0;
_root.mos = 0;
hpg = MAXHP - HP;
if (hpg <= 0) {
fullc = 0;
} else {
fullc = hpg * 5;
}
play();
Instance of Symbol 370 MovieClip in Frame 27
onClipEvent (load) {
_root.ssword = _root.sword;
_root.sarmor = _root.armor;
}
onClipEvent (enterFrame) {
if (_root.magnet == 0) {
_root.magc = 500;
}
if (_root.extragold == 0) {
_root.extrac = 1000;
}
if (_root.hpview == 0) {
_root.viewerc = 500;
}
if (_root.ssword == 1) {
_root.swordc = 255;
}
if (_root.ssword == 2) {
_root.swordc = 750;
}
if (_root.ssword == 3) {
_root.swordc = 2000;
}
if (_root.ssword == 4) {
_root.swordc = 5000;
}
if (_root.ssword == 5) {
_root.swordc = 15000;
}
if (_root.sarmor == 1) {
_root.armorc = 500;
}
if (_root.sarmor == 2) {
_root.armorc = 4000;
}
if (_root.sarmor == 3) {
_root.armorc = 10000;
}
this.sword.gotoAndStop(_root.sword);
this.a1.gotoAndStop(_root.armor);
this.a2.gotoAndStop(_root.armor);
this.a3.gotoAndStop(_root.armor);
this.a4.gotoAndStop(_root.armor);
this.a5.gotoAndStop(_root.armor);
this.a6.gotoAndStop(_root.armor);
this.a7.gotoAndStop(_root.armor);
this.aa1.gotoAndStop(_root.armor);
this.aa2.gotoAndStop(_root.armor);
this.aa3.gotoAndStop(_root.armor);
this.aa4.gotoAndStop(_root.armor);
this.aa5.gotoAndStop(_root.armor);
this.aa6.gotoAndStop(_root.armor);
this.aa7.gotoAndStop(_root.armor);
this.aa8.gotoAndStop(_root.armor);
this.aa9.gotoAndStop(_root.armor);
this.aa10.gotoAndStop(_root.armor);
this.hair.gotoAndStop(_root.armor);
this.head.helm.gotoAndStop(_root.armor);
}
Frame 28
prevFrame();
Frame 29
_root.removeall = 0;
score = (level * 1000) + gold;
play();
Instance of Symbol 637 MovieClip in Frame 29
onClipEvent (enterFrame) {
_root.Name = this.Name;
}
Frame 30
prevFrame();
Frame 31
play();
Instance of Symbol 370 MovieClip in Frame 31
onClipEvent (load) {
_root.ssword = _root.sword;
_root.sarmor = _root.armor;
}
onClipEvent (enterFrame) {
if (_root.magnet == 0) {
_root.magc = 500;
}
if (_root.extragold == 0) {
_root.extrac = 1000;
}
if (_root.hpview == 0) {
_root.viewerc = 500;
}
if (_root.ssword == 1) {
_root.swordc = 255;
}
if (_root.ssword == 2) {
_root.swordc = 757;
}
if (_root.ssword == 3) {
_root.swordc = 2009;
}
if (_root.ssword == 4) {
_root.swordc = 5005;
}
if (_root.ssword == 5) {
_root.swordc = 15000;
}
if (_root.sarmor == 1) {
_root.armorc = 500;
}
if (_root.sarmor == 2) {
_root.armorc = 4010;
}
if (_root.sarmor == 3) {
_root.armorc = 10000;
}
this.sword.gotoAndStop(_root.sword);
this.a1.gotoAndStop(_root.armor);
this.a2.gotoAndStop(_root.armor);
this.a3.gotoAndStop(_root.armor);
this.a4.gotoAndStop(_root.armor);
this.a5.gotoAndStop(_root.armor);
this.a6.gotoAndStop(_root.armor);
this.a7.gotoAndStop(_root.armor);
this.aa1.gotoAndStop(_root.armor);
this.aa2.gotoAndStop(_root.armor);
this.aa3.gotoAndStop(_root.armor);
this.aa4.gotoAndStop(_root.armor);
this.aa5.gotoAndStop(_root.armor);
this.aa6.gotoAndStop(_root.armor);
this.aa7.gotoAndStop(_root.armor);
this.aa8.gotoAndStop(_root.armor);
this.aa9.gotoAndStop(_root.armor);
this.aa10.gotoAndStop(_root.armor);
this.hair.gotoAndStop(_root.armor);
this.head.helm.gotoAndStop(_root.armor);
}
Frame 32
prevFrame();
Symbol 196 Button
on (release) {
}
Symbol 200 Button
on (release) {
}
Symbol 4 MovieClip Frame 22
stop();
Symbol 6 MovieClip [colk] Frame 3
stop();
Symbol 16 MovieClip [coin] Frame 1
stop();
Instance of Symbol 8 MovieClip in Symbol 16 MovieClip [coin] Frame 1
onClipEvent (load) {
lor = Math.round(Math.random() * 10);
xspeed = Math.round(Math.random() * 4);
yspeed = 10 + Math.round(Math.random() * 4);
ss = 1;
}
onClipEvent (enterFrame) {
if (_parent.hitTest("_root.stage.gg")) {
yspeed = 0;
ss = 0;
} else {
yspeed = yspeed - 1;
}
if (ss == 1) {
_parent._y = _parent._y - yspeed;
if (lor > 5) {
_parent._x = _parent._x - xspeed;
}
if (lor <= 5) {
_parent._x = _parent._x + xspeed;
}
}
if (this.hitTest("_root.seth")) {
_root.gold = _root.gold + (Math.round(Math.random() * 10) + 15);
if (_root.extragold == 1) {
_root.gold = _root.gold + (_root.level + _root.att);
}
_parent.play();
}
}
Symbol 16 MovieClip [coin] Frame 3
_parent.coin = _parent.coin - 1;
stop();
Symbol 21 MovieClip Frame 1
gotoAndStop(_parent._parent.armor);
Symbol 27 MovieClip Frame 1
gotoAndStop(_parent._parent.armor);
Symbol 33 MovieClip Frame 1
gotoAndStop(_parent._parent.armor);
Symbol 37 MovieClip Frame 1
gotoAndStop(_parent._parent.armor);
Symbol 42 MovieClip Frame 1
gotoAndStop(_parent._parent.armor);
Symbol 48 MovieClip Frame 1
gotoAndStop(_parent._parent.armor);
Symbol 54 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 1
gotoAndStop(_parent._parent.armor);
Instance of Symbol 54 MovieClip in Symbol 65 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.HP <= 0) {
gotoAndStop ("c");
}
}
Instance of Symbol 54 MovieClip in Symbol 65 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.HP <= 0) {
gotoAndStop ("c");
}
}
Instance of Symbol 54 MovieClip in Symbol 65 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_parent._parent._parent.HP <= 0) {
gotoAndStop ("c");
}
}
Instance of Symbol 54 MovieClip in Symbol 65 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_parent._parent._parent.HP <= 0) {
gotoAndStop ("c");
}
}
Instance of Symbol 54 MovieClip in Symbol 65 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_parent._parent._parent.HP <= 0) {
gotoAndStop ("c");
}
}
Instance of Symbol 54 MovieClip in Symbol 65 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_parent._parent._parent.HP <= 0) {
gotoAndStop ("c");
}
}
Symbol 71 MovieClip Frame 1
gotoAndStop(_parent._parent.armor);
Symbol 77 MovieClip Frame 1
wa = 1;
gotoAndStop(_parent._parent.sword);
Symbol 77 MovieClip Frame 2
wa = 3;
Symbol 77 MovieClip Frame 3
wa = 6;
Symbol 77 MovieClip Frame 4
wa = 10;
Symbol 77 MovieClip Frame 5
wa = 14;
Symbol 82 MovieClip Frame 1
gotoAndStop(_parent._parent.armor);
Symbol 85 MovieClip Frame 1
this._visible = false;
Symbol 87 MovieClip Frame 1
_parent.tta = _parent.tta + 1;
this._visible = false;
Symbol 93 MovieClip Frame 1
if (_root.hpview == 1) {
gotoAndStop (2);
} else {
stop();
}
Symbol 95 MovieClip Frame 4
stop();
Symbol 97 MovieClip Frame 1
_parent.hitpowery = _parent.hitpowery - 1;
_parent.cc = _parent.cc - 1;
this._visible = false;
if (_parent.cc < 1) {
_parent.cc = 0;
}
Symbol 99 MovieClip Frame 4
stop();
Instance of Symbol 77 MovieClip in Symbol 102 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest("_root.seth.hitzone")) {
_root.ehitpower = 3 + _parent._parent.sword;
_root.ehitpowery = 3 + _parent._parent.sword;
_root.aatt = _parent._parent.att + wa;
if (_root.seth._x < _parent._parent._parent._x) {
_root.v = "r";
}
if (_root.seth._x > _parent._parent._parent._x) {
_root.v = "l";
}
_root.HIT = 1;
}
}
Symbol 102 MovieClip Frame 4
ready = 1;
Instance of Symbol 77 MovieClip in Symbol 104 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest("_root.seth.hitzone")) {
_root.aatt = _parent._parent.att + wa;
_root.ehitpower = 3 + _parent._parent.sword;
_root.ehitpowery = 3 + _parent._parent.sword;
if (_root.seth._x < _parent._parent._parent._x) {
_root.v = "r";
}
if (_root.seth._x > _parent._parent._parent._x) {
_root.v = "l";
}
_root.HIT = 1;
}
}
Symbol 104 MovieClip Frame 4
ready = 1;
Symbol 105 MovieClip Frame 3
stop();
Instance of Symbol 77 MovieClip in Symbol 108 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest("_root.seth.hitzone")) {
_root.ehitpower = 4 + _parent._parent.sword;
_root.ehitpowery = 7 + _parent._parent.sword;
_root.aatt = _parent._parent.att + wa;
if (_root.seth._x < _parent._parent._parent._x) {
_root.v = "r";
}
if (_root.seth._x > _parent._parent._parent._x) {
_root.v = "l";
}
_root.HIT = 1;
}
}
Symbol 108 MovieClip Frame 6
ready = 1;
Instance of Symbol 77 MovieClip in Symbol 112 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest("_root.seth.hitzone")) {
_root.ehitpower = 10 + _parent._parent.sword;
_root.ehitpowery = 2 + _parent._parent.sword;
_root.aatt = _parent._parent.att + wa;
if (_root.seth._x < _parent._parent._parent._x) {
_root.v = "r";
}
if (_root.seth._x > _parent._parent._parent._x) {
_root.v = "l";
}
_root.HIT = 1;
}
}
Instance of Symbol 77 MovieClip in Symbol 112 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest("_root.seth.hitzone")) {
_root.ehitpower = 10 + _parent._parent.sword;
_root.ehitpowery = 5 + _parent._parent.sword;
_root.aatt = _parent._parent.att + wa;
if (_root.seth._x < _parent._parent._parent._x) {
_root.v = "r";
}
if (_root.seth._x > _parent._parent._parent._x) {
_root.v = "l";
}
_root.HIT = 1;
}
}
Symbol 112 MovieClip Frame 5
ready = 1;
Instance of Symbol 77 MovieClip in Symbol 121 MovieClip Frame 5
onClipEvent (enterFrame) {
if (this.hitTest("_root.seth.hitzone")) {
_root.ehitpower = 10 + _parent._parent.sword;
_root.ehitpowery = 10 + _parent._parent.sword;
_root.aatt = _parent._parent.att + wa;
if (_root.seth._x < _parent._parent._parent._x) {
_root.v = "r";
}
if (_root.seth._x > _parent._parent._parent._x) {
_root.v = "l";
}
_root.HIT = 1;
}
}
Instance of Symbol 77 MovieClip in Symbol 121 MovieClip Frame 11
onClipEvent (enterFrame) {
if (this.hitTest("_root.seth.hitzone")) {
_root.ehitpower = 10 + _parent._parent.sword;
_root.ehitpowery = 10 + _parent._parent.sword;
_root.aatt = _parent._parent.att + wa;
if (_root.seth._x < _parent._parent._parent._x) {
_root.v = "r";
}
if (_root.seth._x > _parent._parent._parent._x) {
_root.v = "l";
}
_root.HIT = 1;
}
}
Instance of Symbol 77 MovieClip in Symbol 121 MovieClip Frame 12
/* no clip actions */
Symbol 121 MovieClip Frame 15
ready = 1;
Symbol 122 MovieClip Frame 10
_root.kills = _root.kills + 1;
_root.score = _root.score + 50;
if (_root.particals == "on") {
_root.attachMovie("dust", "dust", _root.getNextHighestDepth(), {_x:_parent._parent._x - 10, _y:_parent._parent._y + 50});
}
coin = 3;
Symbol 122 MovieClip Frame 11
if (_root.particals == "on") {
_root.attachMovie("dex", "dex", _root.getNextHighestDepth(), {_x:_parent._parent._x - 10, _y:_parent._parent._y + 50});
}
stop();
Instance of Symbol 33 MovieClip in Symbol 122 MovieClip Frame 11
onClipEvent (load) {
vd = 0;
}
onClipEvent (enterFrame) {
if (_root.magnet == 1) {
vd = vd + _root.att;
if (vd > 20) {
vd = 20;
}
if (_parent._parent._parent._x < (_root.xxx._x - 10)) {
_parent._parent._parent._x = _parent._parent._parent._x + vd;
} else if (_parent._parent._parent._x > (_root.xxx._x + 10)) {
_parent._parent._parent._x = _parent._parent._parent._x - vd;
}
}
if (_parent.coin == 0) {
_root.mos = _root.mos - 1;
if (_parent._parent._parent.no == 1) {
_root.mon1at = 0;
}
if (_parent._parent._parent.no == 2) {
_root.mon2at = 0;
}
if (_parent._parent._parent.no == 3) {
_root.mon3at = 0;
}
if (_parent._parent._parent.no == 4) {
_root.mon4at = 0;
}
if (_parent._parent._parent.no == 5) {
_root.mon5at = 0;
}
if (_parent._parent._parent.no == 6) {
_root.mon6at = 0;
}
if (_parent._parent._parent.no == 7) {
_root.mon7at = 0;
}
if (_parent._parent._parent.no == 8) {
_root.mon8at = 0;
}
removeMovieClip(_parent._parent._parent);
}
}
Symbol 123 MovieClip Frame 1
stop();
Instance of Symbol 83 MovieClip in Symbol 123 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest("_root.seth")) {
_parent.reach = 1;
} else {
_parent.reach = 0;
}
if (_parent.hit == 1) {
_parent.hit = 0;
_parent.cc = 3;
_parent.gotoAndStop("HITL1");
}
if ((((_parent.tta >= _parent.reaction) && (_parent.reach == 1)) && (rand >= 0)) && (rand < 2)) {
_parent.tta = 0;
_parent.gotoAndStop("AT1");
}
if ((((_parent.tta >= _parent.reaction) && (_parent.reach == 1)) && (rand >= 2)) && (rand <= 4)) {
_parent.tta = 0;
_parent.gotoAndStop("AT2");
}
if ((((_parent.tta >= _parent.reaction) && (_parent.reach == 1)) && (rand > 4)) && (rand <= 8)) {
_parent.tta = 0;
_parent.gotoAndStop("AT3");
}
if ((((_parent.tta >= _parent.reaction) && (_parent.reach == 1)) && (rand > 8)) && (rand <= 15)) {
_parent.tta = 0;
_parent.gotoAndStop("AT4");
}
if (((_parent.tta >= _parent.reaction) && (_parent.reach == 1)) && (rand > 15)) {
_parent.tta = 0;
_parent.gotoAndStop("AT5");
}
if (_parent.tta >= _parent.reaction) {
_parent.tta = 0;
_parent.gotoAndStop("WL");
}
if (_parent._parent._x < _root.seth._x) {
_parent.tta = 0;
_parent.gotoAndStop("SR");
}
}
onClipEvent (load) {
_parent.tta = 0;
randt = Math.round(Math.random() * 10);
if (_parent.sword == 1) {
rand = Math.random() * 4;
} else if (_parent.sword == 2) {
rand = Math.random() * 8;
} else if (_parent.sword == 3) {
rand = Math.random() * 15;
} else if (_parent.sword == 4) {
rand = Math.random() * 20;
} else if (_parent.sword == 4) {
rand = (Math.random() * 20) + 8;
}
_parent.reaction = _root.reactiontime + randt;
}
Instance of Symbol 85 MovieClip "hitzone" in Symbol 123 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest("_root.seth.a.hitbox") || (this.hitTest("_root.seth.a.s.hitbox"))) {
_parent.hit = 1;
_root.hh = "hit";
}
}
Instance of Symbol 95 MovieClip in Symbol 123 MovieClip Frame 2
onClipEvent (load) {
_parent.cc = 3;
damage = Math.round((_root.att * 3) - (_parent.deff * 2));
if (damage <= 0) {
damage = 1;
}
if (_root.sword == 6) {
_root.HP = _root.HP + 1;
}
_parent.HP = _parent.HP - damage;
_root.hid = _root.hid + 1;
if (_root.particals == "on") {
_root.attachMovie("hitfx", (hfx = hfx + _root.hid), _root.getNextHighestDepth(), {_x:_parent._parent._x, _y:_parent._parent._y});
}
_parent.hitpowery = ((_root.hitpowery + (Math.random() * 5)) + (_root.att / 2)) - (_parent.deff / 2);
_parent.hitpower = ((_root.hitpower + (Math.random() * 3)) + (_root.att / 2)) - (_parent.deff / 2);
if (_parent.HP <= 0) {
_parent.gotoAndStop("DIEL");
}
if (_root.seth._x < _parent._parent._x) {
_parent.v = "r";
}
if (_root.seth._x > _parent._parent._x) {
_parent.v = "l";
}
}
onClipEvent (enterFrame) {
if (_parent._parent._x >= _root.rw._x) {
_parent.v = "l";
}
if (_parent._parent._x <= _root.lw._x) {
_parent.v = "r";
}
_parent._parent._y = _parent._parent._y - _parent.hitpowery;
if (_parent.v == "r") {
_parent._parent._x = _parent._parent._x + _parent.hitpower;
this._rotation = this._rotation + _parent.hitpower;
}
if (_parent.v == "l") {
_parent._parent._x = _parent._parent._x - _parent.hitpower;
this._rotation = this._rotation - _parent.hitpower;
}
if (_parent._parent.land == 1) {
if (_root.particals == "on") {
_root.attachMovie("dust", "dust", _root.getNextHighestDepth(), {_x:_parent._parent._x - 10, _y:_parent._parent._y + 50});
}
_parent._parent.land = 0;
_parent.gotoAndStop("SL");
}
if ((_parent.hit == 1) && (_parent.cc == 0)) {
_parent.cc = 3;
_parent.zz.play();
_parent.hit = 0;
_parent.gotoAndStop("HITL2");
} else {
_parent.hit = 0;
}
}
Instance of Symbol 99 MovieClip in Symbol 123 MovieClip Frame 3
onClipEvent (load) {
damage = Math.round((_root.att * 3) - (_parent.deff * 2));
if (damage <= 0) {
damage = 1;
}
_parent.HP = _parent.HP - damage;
_root.hid = _root.hid + 1;
if (_root.particals == "on") {
_root.attachMovie("hitfx", (hfx = hfx + _root.hid), _root.getNextHighestDepth(), {_x:_parent._parent._x, _y:_parent._parent._y});
}
_parent.hitpowery = ((_root.hitpowery + (Math.random() * 5)) + (_root.att / 2)) - (_parent.deff / 2);
_parent.hitpower = ((_root.hitpower + (Math.random() * 3)) + (_root.att / 2)) - (_parent.deff / 2);
if (_parent.HP <= 0) {
_parent.gotoAndStop("DIEL");
}
if (_root.seth._x < _parent._parent._x) {
_parent.v = "r";
}
if (_root.seth._x > _parent._parent._x) {
_parent.v = "l";
}
}
onClipEvent (enterFrame) {
if (_parent._parent._x >= _root.rw._x) {
_parent.v = "l";
}
if (_parent._parent._x <= _root.lw._x) {
_parent.v = "r";
}
_parent._parent._y = _parent._parent._y - _parent.hitpowery;
if (_parent.v == "r") {
_parent._parent._x = _parent._parent._x + _parent.hitpower;
this._rotation = this._rotation + _parent.hitpower;
}
if (_parent.v == "l") {
_parent._parent._x = _parent._parent._x - _parent.hitpower;
this._rotation = this._rotation - _parent.hitpower;
}
if (_parent._parent.land == 1) {
_parent._parent.land = 0;
if (_root.particals == "on") {
_root.attachMovie("dust", "dust", _root.getNextHighestDepth(), {_x:_parent._parent._x - 10, _y:_parent._parent._y + 50});
}
_parent.gotoAndStop("SL");
}
if ((_parent.hit == 1) && (_parent.cc == 0)) {
_parent.cc = 3;
_parent.hit = 0;
_parent.zz.play();
_parent.gotoAndStop("HITL1");
} else {
_parent.hit = 0;
}
}
Instance of Symbol 100 MovieClip in Symbol 123 MovieClip Frame 6
onClipEvent (enterFrame) {
_parent._parent._x = _parent._parent._x - 10;
if (this.hitTest("_root.seth")) {
_parent.reach = 1;
}
if (_parent.hit == 1) {
_parent.hit = 0;
_parent.gotoAndStop("HITL1");
}
if ((_parent.tta >= _parent.reaction) && (_parent.reach == 1)) {
_parent.tta = 0;
_parent.gotoAndStop("AT1");
}
if ((_parent.tta >= _parent.reaction) && (_parent._parent._x < _root.seth._x)) {
_parent.tta = 0;
_parent.gotoAndStop("SR");
}
}
onClipEvent (load) {
_parent.tta = 0;
rand = Math.random() * 1;
_parent.reaction = _root.reactiontime + rand;
}
Instance of Symbol 102 MovieClip "a" in Symbol 123 MovieClip Frame 7
onClipEvent (enterFrame) {
if (ready == 1) {
ready = 0;
_parent.gotoAndStop("SL");
}
}
Instance of Symbol 104 MovieClip "a" in Symbol 123 MovieClip Frame 8
onClipEvent (enterFrame) {
if (ready == 1) {
ready = 0;
_parent.gotoAndStop("SL");
}
_parent._parent._x = _parent._parent._x - 10;
}
Instance of Symbol 105 MovieClip in Symbol 123 MovieClip Frame 9
onClipEvent (load) {
if (_root.seth._x < _parent._parent._x) {
_parent.v = "r";
}
if (_root.seth._x > _parent._parent._x) {
_parent.v = "l";
}
}
onClipEvent (enterFrame) {
if (_parent._parent._x >= _root.rw._x) {
_parent.v = "l";
}
if (_parent._parent._x <= _root.lw._x) {
_parent.v = "r";
}
_parent._parent._y = _parent._parent._y - _parent.hitpowery;
if (_parent.v == "r") {
_parent._parent._x = _parent._parent._x + _root.hitpower;
this._rotation = this._rotation + _root.hitpower;
}
if (_parent.v == "l") {
_parent._parent._x = _parent._parent._x - _root.hitpower;
this._rotation = this._rotation - _root.hitpower;
}
if (_parent._parent.land == 1) {
_parent.land = 0;
_parent.gotoAndStop("DL");
}
}
Instance of Symbol 108 MovieClip "a" in Symbol 123 MovieClip Frame 10
onClipEvent (enterFrame) {
if (ready == 1) {
ready = 0;
_parent.gotoAndStop("SL");
}
}
Instance of Symbol 112 MovieClip "a" in Symbol 123 MovieClip Frame 11
onClipEvent (enterFrame) {
if (ready == 1) {
ready = 0;
_parent.gotoAndStop("SL");
}
}
Instance of Symbol 121 MovieClip in Symbol 123 MovieClip Frame 12
onClipEvent (enterFrame) {
if (ready == 1) {
ready = 0;
_parent.gotoAndStop("SL");
}
}
Symbol 123 MovieClip Frame 15
stop();
Instance of Symbol 83 MovieClip in Symbol 123 MovieClip Frame 15
onClipEvent (enterFrame) {
if (this.hitTest("_root.seth")) {
_parent.reach = 1;
} else {
_parent.reach = 0;
}
if (_parent.hit == 1) {
_parent.hit = 0;
_parent.cc = 3;
_parent.gotoAndStop("HITR1");
}
if ((((_parent.tta >= _parent.reaction) && (_parent.reach == 1)) && (rand >= 0)) && (rand < 2)) {
_parent.tta = 0;
_parent.gotoAndStop("AT1R");
}
if ((((_parent.tta >= _parent.reaction) && (_parent.reach == 1)) && (rand >= 2)) && (rand <= 4)) {
_parent.tta = 0;
_parent.gotoAndStop("AT2R");
}
if ((((_parent.tta >= _parent.reaction) && (_parent.reach == 1)) && (rand > 4)) && (rand <= 8)) {
_parent.tta = 0;
_parent.gotoAndStop("AT3R");
}
if ((((_parent.tta >= _parent.reaction) && (_parent.reach == 1)) && (rand > 8)) && (rand <= 15)) {
_parent.tta = 0;
_parent.gotoAndStop("AT4R");
}
if (((_parent.tta >= _parent.reaction) && (_parent.reach == 1)) && (rand > 15)) {
_parent.tta = 0;
_parent.gotoAndStop("AT5R");
}
if (_parent.tta >= _parent.reaction) {
_parent.tta = 0;
_parent.gotoAndStop("WR");
}
if (_parent._parent._x > _root.seth._x) {
_parent.tta = 0;
_parent.gotoAndStop("SL");
}
}
onClipEvent (load) {
randt = Math.round(Math.random() * 10);
_parent.tta = 0;
if (_parent.sword == 1) {
rand = Math.random() * 4;
} else if (_parent.sword == 2) {
rand = Math.random() * 8;
} else if (_parent.sword == 3) {
rand = Math.random() * 15;
} else if (_parent.sword == 4) {
rand = Math.random() * 20;
} else if (_parent.sword == 5) {
rand = (Math.random() * 20) + 8;
}
_parent.reaction = _root.reactiontime + randt;
}
Instance of Symbol 85 MovieClip "hitzone" in Symbol 123 MovieClip Frame 15
onClipEvent (enterFrame) {
if (this.hitTest("_root.seth.a.hitbox")) {
_parent.hit = 1;
_root.hh = "hit";
}
}
Instance of Symbol 95 MovieClip in Symbol 123 MovieClip Frame 16
onClipEvent (load) {
_parent.cc = 3;
damage = Math.round((_root.att * 3) - (_parent.deff * 2));
if (damage <= 0) {
damage = 1;
}
if (_root.sword == 6) {
_root.HP = _root.HP + 1;
}
_parent.HP = _parent.HP - damage;
_root.hid = _root.hid + 1;
if (_root.particals == "on") {
_root.attachMovie("hitfx", (hfx = hfx + _root.hid), _root.getNextHighestDepth(), {_x:_parent._parent._x, _y:_parent._parent._y});
}
_parent.hitpowery = ((_root.hitpowery + (Math.random() * 5)) + (_root.att / 2)) - (_parent.deff / 2);
_parent.hitpower = ((_root.hitpower + (Math.random() * 3)) + (_root.att / 2)) - (_parent.deff / 2);
if (_parent.HP <= 0) {
_parent.gotoAndStop("DIER");
}
if (_root.seth._x < _parent._parent._x) {
_parent.v = "r";
}
if (_root.seth._x > _parent._parent._x) {
_parent.v = "l";
}
}
onClipEvent (enterFrame) {
if (_parent._parent._x >= _root.rw._x) {
_parent.v = "l";
}
if (_parent._parent._x <= _root.lw._x) {
_parent.v = "r";
}
_parent._parent._y = _parent._parent._y - _parent.hitpowery;
if (_parent.v == "r") {
_parent._parent._x = _parent._parent._x + _parent.hitpower;
this._rotation = this._rotation + _parent.hitpower;
}
if (_parent.v == "l") {
_parent._parent._x = _parent._parent._x - _parent.hitpower;
this._rotation = this._rotation - _parent.hitpower;
}
if (_parent._parent.land == 1) {
_parent._parent.land = 0;
if (_root.particals == "on") {
_root.attachMovie("dust", "dust", _root.getNextHighestDepth(), {_x:_parent._parent._x - 10, _y:_parent._parent._y + 50});
}
_parent.gotoAndStop("SR");
}
if ((_parent.hit == 1) && (_parent.cc == 0)) {
_parent.cc = 3;
_parent.hit = 0;
_parent.gotoAndStop("HITR2");
} else {
_parent.hit = 0;
}
}
Instance of Symbol 99 MovieClip in Symbol 123 MovieClip Frame 17
onClipEvent (load) {
damage = Math.round((_root.att * 3) - (_parent.deff * 2));
if (damage <= 0) {
damage = 1;
}
_parent.HP = _parent.HP - damage;
_root.hid = _root.hid + 1;
if (_root.particals == "on") {
_root.attachMovie("hitfx", (hfx = hfx + _root.hid), _root.getNextHighestDepth(), {_x:_parent._parent._x, _y:_parent._parent._y});
}
_parent.hitpowery = ((_root.hitpowery + (Math.random() * 5)) + (_root.att / 2)) - (_parent.deff / 2);
_parent.hitpower = ((_root.hitpower + (Math.random() * 3)) + (_root.att / 2)) - (_parent.deff / 2);
if (_parent.HP <= 0) {
_parent.gotoAndStop("DIER");
}
if (_root.seth._x < _parent._parent._x) {
_parent.v = "r";
}
if (_root.seth._x > _parent._parent._x) {
_parent.v = "l";
}
}
onClipEvent (enterFrame) {
if (_parent._parent._x >= _root.rw._x) {
_parent.v = "l";
}
if (_parent._parent._x <= _root.lw._x) {
_parent.v = "r";
}
_parent._parent._y = _parent._parent._y - _parent.hitpowery;
if (_parent.v == "r") {
_parent._parent._x = _parent._parent._x + _parent.hitpower;
this._rotation = this._rotation + _parent.hitpower;
}
if (_parent.v == "l") {
_parent._parent._x = _parent._parent._x - _parent.hitpower;
this._rotation = this._rotation - _parent.hitpower;
}
if (_parent._parent.land == 1) {
_parent._parent.land = 0;
if (_root.particals == "on") {
_root.attachMovie("dust", "dust", _root.getNextHighestDepth(), {_x:_parent._parent._x - 10, _y:_parent._parent._y + 50});
}
_parent.gotoAndStop("SR");
}
if ((_parent.hit == 1) && (_parent.cc == 0)) {
_parent.cc = 3;
_parent.hit = 0;
_parent.zz.play();
_parent.gotoAndStop("HITR1");
} else {
_parent.hit = 0;
}
}
Instance of Symbol 100 MovieClip in Symbol 123 MovieClip Frame 20
onClipEvent (enterFrame) {
_parent._parent._x = _parent._parent._x + 10;
if (this.hitTest("_root.seth")) {
_parent.reach = 1;
}
if (_parent.hit == 1) {
_parent.hit = 0;
_parent.gotoAndStop("HITR1");
}
if ((_parent.tta >= _parent.reaction) && (_parent._parent._x > _root.seth._x)) {
_parent.tta = 0;
_parent.gotoAndStop("SL");
}
if ((_parent.tta >= _parent.reaction) && (_parent.reach == 1)) {
_parent.tta = 0;
_parent.gotoAndStop("AT1R");
}
}
onClipEvent (load) {
_parent.tta = 0;
rand = Math.random() * 1;
_parent.reaction = _root.reactiontime + rand;
}
Instance of Symbol 102 MovieClip "a" in Symbol 123 MovieClip Frame 21
onClipEvent (enterFrame) {
if (ready == 1) {
ready = 0;
_parent.gotoAndStop("SR");
}
}
Instance of Symbol 104 MovieClip "a" in Symbol 123 MovieClip Frame 22
onClipEvent (enterFrame) {
if (ready == 1) {
ready = 0;
_parent.gotoAndStop("SR");
}
_parent._parent._x = _parent._parent._x + 10;
}
Instance of Symbol 105 MovieClip in Symbol 123 MovieClip Frame 23
onClipEvent (load) {
if (_root.seth._x < _parent._parent._x) {
_parent.v = "r";
}
if (_root.seth._x > _parent._parent._x) {
_parent.v = "l";
}
}
onClipEvent (enterFrame) {
if (_parent._parent._x >= _root.rw._x) {
_parent.v = "l";
}
if (_parent._parent._x <= _root.lw._x) {
_parent.v = "r";
}
_parent._parent._y = _parent._parent._y - _parent.hitpowery;
if (_parent.v == "r") {
_parent._parent._x = _parent._parent._x + _root.hitpower;
this._rotation = this._rotation + _root.hitpower;
}
if (_parent.v == "l") {
_parent._parent._x = _parent._parent._x - _root.hitpower;
this._rotation = this._rotation - _root.hitpower;
}
if (_parent._parent.land == 1) {
_parent.land = 0;
_parent.gotoAndStop("DR");
}
}
Instance of Symbol 108 MovieClip in Symbol 123 MovieClip Frame 24
onClipEvent (enterFrame) {
if (ready == 1) {
ready = 0;
_parent.gotoAndStop("SR");
}
}
Instance of Symbol 112 MovieClip "a" in Symbol 123 MovieClip Frame 25
onClipEvent (enterFrame) {
if (ready == 1) {
ready = 0;
_parent.gotoAndStop("SR");
}
}
Instance of Symbol 121 MovieClip in Symbol 123 MovieClip Frame 26
onClipEvent (enterFrame) {
if (ready == 1) {
ready = 0;
_parent.gotoAndStop("SR");
}
}
Instance of Symbol 122 MovieClip in Symbol 123 MovieClip Frame 33
onClipEvent (load) {
_root.encount = _root.encount - 1;
}
Instance of Symbol 122 MovieClip in Symbol 123 MovieClip Frame 34
onClipEvent (load) {
_root.encount = _root.encount - 1;
}
Symbol 124 MovieClip [monster] Frame 1
stop();
Instance of Symbol 123 MovieClip "g" in Symbol 124 MovieClip [monster] Frame 1
onClipEvent (load) {
sc = Math.round(Math.random() * 20);
if (sc <= 10) {
HP = 20;
}
if ((sc > 10) && (sc <= 16)) {
HP = 25;
_parent._xscale = 105;
_parent._yscale = 105;
}
if ((sc > 16) && (sc <= 20)) {
HP = 30;
_parent._xscale = 110;
_parent._yscale = 110;
}
tta = 0;
hit = 0;
did = 0;
land = 0;
att = 1;
aa = Math.round(Math.random() * _root.level);
if ((aa >= 0) && (aa <= 3)) {
armor = 1;
deff = 1;
}
if ((aa >= 4) && (aa <= 7)) {
armor = 2;
deff = 4;
}
if ((aa >= 8) && (aa < 11)) {
armor = 3;
deff = 9;
HP = HP + 10;
}
if (aa >= 10) {
armor = 4;
deff = 13;
HP = HP + 40;
}
ss = Math.round(Math.random() * _root.level);
if ((ss >= 0) && (ss <= 3)) {
sword = 1;
}
if ((ss >= 4) && (ss <= 6)) {
sword = 2;
}
if ((ss >= 7) && (ss < 11)) {
sword = 3;
}
if (ss >= 10) {
sword = 4;
}
if (_root.level == 14) {
sword = 4;
armor = 4;
deff = 20;
HP = HP + 40;
}
if (_root.level == 15) {
sword = 5;
armor = 5;
deff = 25;
HP = HP + 100;
_parent._xscale = 150;
_parent._yscale = 150;
}
_parent.land = 0;
}
onClipEvent (enterFrame) {
if (_root.removeall == 1) {
removeMovieClip(_parent);
}
if (_parent.hitTest("_root.screen")) {
_parent._visible = true;
} else {
_parent._visible = false;
}
if (_parent._y >= 300) {
_parent._y = _parent._y - 10;
_parent.land = 1;
}
if (_parent._y <= 300) {
_parent.land = 0;
}
}
Symbol 127 MovieClip [dust] Frame 11
removeMovieClip(this);
Symbol 128 MovieClip [dust2] Frame 1
if (_root.di == "r") {
this._x = _root.seth._x - 60;
this._y = _root.seth._y + 70;
}
if (_root.di == "l") {
this._x = _root.seth._x + 60;
this._y = _root.seth._y + 70;
}
Instance of Symbol 126 MovieClip in Symbol 128 MovieClip [dust2] Frame 1
onClipEvent (enterFrame) {
if (_root.cx == 1) {
if ((_root.mapmove == 1) && (_root.di == "r")) {
_parent._x = _parent._x - (_root.BRS + 5);
}
if ((_root.mapmove == 1) && (_root.di == "l")) {
_parent._x = _parent._x + (_root.BRS + 5);
}
}
}
Symbol 128 MovieClip [dust2] Frame 11
removeMovieClip(this);
Symbol 145 MovieClip Frame 6
removeMovieClip(_parent);
Instance of Symbol 149 MovieClip in Symbol 152 MovieClip [darkball] Frame 1
onClipEvent (load) {
lor = Math.round(Math.random() * 10);
xspeed = Math.round(Math.random() * 4);
yspeed = Math.round(Math.random() * 20);
ss = 1;
}
onClipEvent (enterFrame) {
yspeed = yspeed - 1;
if (ss == 1) {
_parent._y = _parent._y - yspeed;
if (lor > 5) {
_parent._rotation = _parent._rotation + yspeed;
_parent._x = _parent._x - xspeed;
}
if (lor <= 5) {
_parent._rotation = _parent._rotation - yspeed;
_parent._x = _parent._x + xspeed;
}
}
}
Symbol 152 MovieClip [darkball] Frame 34
removeMovieClip(_parent);
stop();
Symbol 161 MovieClip [levels] Frame 45
removeMovieClip(this);
Symbol 170 MovieClip Frame 1
gotoAndStop(_root.sword);
stop();
Instance of Symbol 170 MovieClip in Symbol 171 MovieClip [sclip] Frame 1
onClipEvent (load) {
lor = Math.round(Math.random() * 10);
xspeed = Math.round(Math.random() * 4);
yspeed = 10 + Math.round(Math.random() * 4);
ss = 1;
}
onClipEvent (enterFrame) {
yspeed = yspeed - 1;
_parent._rotation = _parent._rotation - (xspeed * 2);
_parent._y = _parent._y - yspeed;
if (lor > 5) {
_parent._x = _parent._x - xspeed;
}
if (lor <= 5) {
_parent._x = _parent._x + xspeed;
}
}
Symbol 176 Button
on (release) {
_root.gold = _root.gold - _root.cost;
if (_root.bsword == 2) {
_root.bsword = 0;
_root.sword = 2;
_root.ssword = 2;
}
if (_root.bsword == 3) {
_root.bsword = 0;
_root.sword = 3;
_root.ssword = 3;
}
if (_root.bsword == 4) {
_root.bsword = 0;
_root.sword = 4;
_root.ssword = 4;
}
if (_root.bsword == 5) {
_root.bsword = 0;
_root.sword = 5;
_root.ssword = 5;
}
if (_root.bsword == 6) {
_root.bsword = 0;
_root.sword = 6;
_root.ssword = 6;
}
if (_root.barmor == 2) {
_root.barmor = 0;
_root.armor = 2;
_root.sarmor = 2;
}
if (_root.barmor == 3) {
_root.barmor = 0;
_root.armor = 3;
_root.sarmor = 3;
}
if (_root.barmor == 4) {
_root.barmor = 0;
_root.armor = 4;
_root.sarmor = 4;
}
if (_root.bmaxhp == 1) {
_root.bmaxhp = 0;
_root.mhpc = _root.mhpc * 2;
_root.MAXHP = _root.MAXHP + 5;
_root.HP = _root.HP + 5;
}
if (_root.bfull == 1) {
_root.bfull = 0;
_root.HP = _root.HP + _root.MAXHP;
}
if (_root.bmagnet == 1) {
_root.bmagnet = 0;
_root.magnet = 1;
}
if (_root.bgobh == 1) {
_root.bgobh = 0;
_root.hpview = 1;
}
if (_root.bextra == 1) {
_root.bextra = 0;
_root.extragold = 1;
}
_root.ds.gotoAndStop(1);
removeMovieClip(this);
}
Symbol 178 Button
on (release) {
_root.bsword = 0;
_root.sword = _root.ssword;
_root.barmor = 0;
_root.armor = _root.sarmor;
_root.bmaxhp = 0;
_root.bfull = 0;
_root.bmagnet = 0;
_root.bgobh = 0;
_root.bextra = 0;
_root.ds.gotoAndStop(1);
removeMovieClip(this);
}
Symbol 212 Button
on (release) {
}
Symbol 215 MovieClip Frame 93
_root.play();
Symbol 225 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
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;
}
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);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Instance of Symbol 225 MovieClip in Symbol 241 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
varName = "defaultValue";
}
Symbol 241 MovieClip Frame 112
_root.play();
Symbol 253 Button
on (release) {
gotoAndPlay ("sg");
}
Symbol 257 Button
on (release) {
gotoAndPlay ("h2p");
}
Symbol 260 Button
on (release) {
}
Symbol 267 MovieClip Frame 1
gotoAndStop(_root.sword);
Symbol 271 MovieClip Frame 1
gotoAndStop(_root.armor);
Symbol 278 MovieClip Frame 1
gotoAndStop(_root.armor);
Symbol 281 MovieClip Frame 1
gotoAndStop(_root.armor);
Symbol 285 MovieClip Frame 1
gotoAndStop(_root.armor);
Symbol 290 MovieClip Frame 1
gotoAndStop(_root.armor);
stop();
Symbol 295 MovieClip Frame 1
gotoAndStop(_root.armor);
Symbol 298 MovieClip Frame 1
gotoAndStop(_root.armor);
Symbol 301 MovieClip Frame 1
gotoAndStop(_root.armor);
Symbol 304 MovieClip Frame 1
gotoAndStop(_root.armor);
Symbol 311 MovieClip Frame 1
gotoAndStop(_root.armor);
Symbol 317 MovieClip Frame 1
gotoAndStop(_root.armor);
Symbol 321 MovieClip Frame 1
gotoAndStop(_root.armor);
Symbol 328 MovieClip Frame 1
stop();
stop();
Symbol 328 MovieClip Frame 2
stop();
Symbol 328 MovieClip Frame 3
stop();
Symbol 328 MovieClip Frame 4
stop();
Symbol 330 MovieClip Frame 1
stop();
Symbol 330 MovieClip Frame 2
stop();
Symbol 335 MovieClip Frame 1
stop();
Symbol 335 MovieClip Frame 2
stop();
Symbol 335 MovieClip Frame 3
stop();
Symbol 338 MovieClip Frame 1
gotoAndStop(_root.armor);
Instance of Symbol 328 MovieClip in Symbol 339 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.eye == "c") {
gotoAndPlay ("c");
}
if (_root.eye == "o") {
gotoAndPlay ("o");
}
if (_root.eye == "s") {
gotoAndPlay ("s");
}
if (_root.eye == "a") {
gotoAndPlay ("a");
}
}
Instance of Symbol 328 MovieClip in Symbol 339 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.eye == "c") {
gotoAndPlay ("c");
}
if (_root.eye == "o") {
gotoAndPlay ("o");
}
if (_root.eye == "s") {
gotoAndPlay ("s");
}
if (_root.eye == "a") {
gotoAndPlay ("a");
}
}
Instance of Symbol 330 MovieClip in Symbol 339 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.eye == "c") {
gotoAndPlay ("c");
}
if (_root.eye == "o") {
gotoAndPlay ("o");
}
if (_root.eye == "s") {
gotoAndPlay ("o");
}
if (_root.eye == "a") {
gotoAndPlay ("o");
}
}
Instance of Symbol 335 MovieClip in Symbol 339 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.mouth == "c") {
gotoAndPlay ("c");
}
if (_root.mouth == "o") {
gotoAndPlay ("yell");
}
if (_root.mouth == "t") {
gotoAndPlay ("teeth");
}
}
Symbol 341 MovieClip Frame 1
gotoAndStop(_root.armor);
Symbol 348 MovieClip Frame 1
gotoAndStop(_root.armor);
_root.BRS = 10;
stop();
Symbol 348 MovieClip Frame 2
_root.BRS = 11;
Symbol 348 MovieClip Frame 3
_root.BRS = 11;
Symbol 348 MovieClip Frame 4
_root.BRS = 15;
Symbol 359 MovieClip Frame 1
gotoAndStop(_root.armor);
stop();
Symbol 364 MovieClip Frame 1
gotoAndStop(_root.armor);
stop();
Symbol 369 MovieClip Frame 1
gotoAndStop(_root.armor);
Symbol 370 MovieClip Frame 1
_root.mouth = "c";
_root.eye = "o";
Symbol 370 MovieClip Frame 58
_root.eye = "c";
Symbol 376 MovieClip Frame 1
gotoAndStop(_root.armor);
Symbol 380 MovieClip Frame 1
this._visible = false;
gotoAndStop(_root.sword);
Symbol 383 MovieClip Frame 1
_root.mouth = "o";
_root.hitpower = 0;
_root.hitpowery = 1;
Symbol 383 MovieClip Frame 4
ready = 1;
Symbol 386 MovieClip Frame 1
_root.mouth = "t";
_root.hitpower = 0;
_root.hitpowery = 5;
Symbol 386 MovieClip Frame 4
ready = 1;
Symbol 390 MovieClip Frame 1
_root.mouth = "o";
_root.hitpower = 3;
_root.hitpowery = 3;
Symbol 390 MovieClip Frame 4
ready = 1;
Symbol 393 MovieClip Frame 1
_root.mouth = "o";
_root.hitpower = 10;
_root.hitpowery = 6;
Symbol 393 MovieClip Frame 5
ready = 1;
Symbol 396 MovieClip Frame 1
_root.mouth = "t";
_root.hitpower = 0;
_root.hitpowery = 1;
Symbol 396 MovieClip Frame 4
ready = 1;
Symbol 399 MovieClip Frame 1
_root.mouth = "o";
_root.hitpower = 1;
_root.hitpowery = 1;
Symbol 399 MovieClip Frame 4
ready = 1;
Symbol 400 MovieClip Frame 1
_root.hitpower = 3;
_root.hitpowery = 0;
Symbol 400 MovieClip Frame 5
ready = 1;
Symbol 401 MovieClip Frame 1
_root.hitpower = 5;
_root.hitpowery = 2;
Symbol 401 MovieClip Frame 10
ready = 1;
Symbol 405 MovieClip Frame 1
_root.hitpower = 10;
_root.hitpowery = 5;
Symbol 405 MovieClip Frame 2
_root.mouth = "o";
Symbol 405 MovieClip Frame 7
ready = 1;
Symbol 409 MovieClip Frame 1
_root.hitpower = 3;
_root.hitpowery = 10;
Symbol 409 MovieClip Frame 10
ready = 1;
Symbol 411 MovieClip Frame 1
_root.jumpspeed = _root.jumpspeed - 2;
this._visible = false;
_parent.bft = _parent.bft - 1;
if (_parent.bft <= 0) {
_parent.bft = 0;
}
Symbol 414 MovieClip Frame 1
_root.hitpower = 5;
_root.hitpowery = 10;
_root.mouth = "o";
Symbol 414 MovieClip Frame 6
ready = 1;
Symbol 417 MovieClip Frame 1
_root.hitpower = 7;
_root.hitpowery = 0;
_root.mouth = "o";
Symbol 417 MovieClip Frame 4
ready = 1;
Symbol 420 MovieClip Frame 1
_root.hitpower = -7;
_root.hitpowery = 0;
_root.mouth = "o";
Symbol 420 MovieClip Frame 8
stop();
Symbol 421 MovieClip Frame 1
_root.mouth = "c";
Symbol 424 MovieClip Frame 20
_root.jump = 0;
Symbol 429 MovieClip Frame 20
ready = 1;
Symbol 430 MovieClip Frame 20
if (_root.particals == "on") {
_root.attachMovie("dust", "dust", _root.getNextHighestDepth(), {_x:_root.seth._x - 10, _y:_root.seth._y + 50});
}
ready = 1;
Symbol 431 MovieClip Frame 1
_root.mouth = "o";
_root.eye = "s";
_parent.nat = 0;
Symbol 431 MovieClip Frame 4
stop();
Symbol 433 MovieClip Frame 1
_root.seth.ehitpowery = _root.seth.ehitpowery - 1;
_parent.cc = _parent.cc - 1;
if (_parent.cc < 1) {
_parent.cc = 0;
}
this._visible = false;
Symbol 434 MovieClip Frame 1
_root.eye = "c";
_root.mouth = "t";
Symbol 434 MovieClip Frame 4
stop();
Symbol 435 MovieClip Frame 1
_root.eye = "c";
_root.attachMovie("sclip", "sd", _root.getNextHighestDepth(), {_x:_root.seth._x + 100, _y:_root.seth._y - 100});
Symbol 435 MovieClip Frame 2
stop();
Symbol 436 MovieClip Frame 1
stop();
Instance of Symbol 370 MovieClip in Symbol 436 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.cx = 0;
_root.di = "r";
if (Key.isDown(39)) {
_root.run = 1;
} else {
_root.run = 0;
}
if (_root.run == 1) {
att = 1;
_parent.gotoAndStop("RR");
}
if (_root.HIT == 1) {
_root.HIT = 0;
_parent.cc = 3;
_parent.zz.play();
_parent.gotoAndStop("HITR1");
}
if (Key.isDown(90)) {
_root.def = 1;
} else {
_root.def = 0;
}
if (_root.def == 1) {
_parent.gotoAndStop("DEFR");
}
if (Key.isDown(38)) {
if (_root.jumpdb == 0) {
_root.jump = 1;
}
if (_root.jumpdb == 1) {
_root.jump = 0;
}
} else {
_root.jumpdb = 0;
}
if (_root.jump == 1) {
_parent.bft = 5;
_parent.att = 1;
_root.bft = 5;
_root.jumpspeed = 20;
_parent.gotoAndStop("JR1");
}
if (Key.isDown(37)) {
_parent.cdr = 1;
}
if (_parent.cdr == 1) {
_parent.cdr = 0;
_parent.gotoAndStop("SL");
}
if (Key.isDown(40)) {
_parent.gotoAndStop("CR");
}
if (Key.isDown(67)) {
if (_root.atdb == 0) {
_root.attack = 1;
}
if (_root.atdb == 1) {
_root.attack = 0;
}
} else {
_root.atdb = 0;
}
if (Key.isDown(88)) {
if (_root.at2db == 0) {
_root.attack2 = 1;
}
if (_root.at2db == 1) {
_root.attack2 = 0;
}
} else {
_root.at2db = 0;
}
if ((_root.attack == 1) && (_parent.att == 1)) {
_root.attack = 0;
_parent.gotoAndStop("ATR1");
}
if (((_root.attack == 1) && (_parent.nat > 0)) && (_parent.att == 2)) {
_root.attack = 0;
_parent.gotoAndStop("ATR2");
}
if (((_root.attack == 1) && (_parent.nat > 0)) && (_parent.att == 3)) {
_root.attack = 0;
_parent.gotoAndStop("ATR3");
}
if (((_root.attack == 1) && (_parent.nat > 0)) && (_parent.att == 4)) {
_root.attack = 0;
_parent.gotoAndStop("ATR4");
}
if ((_root.attack2 == 1) && (_parent.att == 1)) {
_root.attack2 = 0;
_parent.gotoAndStop("ATR5");
}
if (((_root.attack2 == 1) && (_parent.att == 2)) && (_parent.nat > 0)) {
_root.attack2 = 0;
_parent.gotoAndStop("ATR6");
}
if (((_root.attack2 == 1) && (_parent.att == 3)) && (_parent.nat > 0)) {
_root.attack2 = 0;
_parent.gotoAndStop("ATR7");
}
if (((_root.attack2 == 1) && (_parent.att == 5)) && (_parent.nat > 0)) {
_root.attack2 = 0;
_parent.gotoAndStop("ATR8");
}
if (((_root.attack == 1) && (_parent.att == 6)) && (_parent.nat > 0)) {
_root.attack2 = 0;
_parent.gotoAndStop("ATR9");
}
_parent.nat = _parent.nat - 1;
if (_parent.nat <= 0) {
_parent.nat = 0;
_parent.att = 1;
}
}
Symbol 436 MovieClip Frame 2
stop();
Instance of Symbol 377 MovieClip in Symbol 436 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.HIT == 1) {
_root.HIT = 0;
_parent.cc = 3;
_parent.gotoAndStop("HITR1");
}
if (_root.run == 0) {
_parent.gotoAndStop("SR");
}
if (Key.isDown(39)) {
_root.run = 1;
} else {
_root.run = 0;
}
if (Key.isDown(40)) {
_parent.gotoAndStop("RFR");
}
if (Key.isDown(67)) {
if (_root.atdb == 0) {
_root.attack = 1;
}
if (_root.atdb == 1) {
_root.attack = 0;
}
} else {
_root.atdb = 0;
}
if ((_root.attack == 1) && (_parent.att == 1)) {
_root.attack = 0;
_parent.gotoAndStop("ATR12");
}
if (((_root.attack == 1) && (_parent.nat > 0)) && (_parent.att == 2)) {
_root.attack = 0;
_parent.gotoAndStop("ATR2");
}
if (((_root.attack == 1) && (_parent.nat > 0)) && (_parent.att == 3)) {
_root.attack = 0;
_parent.gotoAndStop("ATR3");
}
if (((_root.attack == 1) && (_parent.nat > 0)) && (_parent.att == 4)) {
_root.attack = 0;
_parent.gotoAndStop("ATR4");
}
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x + _root.BRS;
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x - _root.BRS;
_root.mon1._x = _root.mon1._x - _root.BRS;
_root.mon2._x = _root.mon2._x - _root.BRS;
_root.mon3._x = _root.mon3._x - _root.BRS;
_root.mon4._x = _root.mon4._x - _root.BRS;
_root.mon5._x = _root.mon5._x - _root.BRS;
_root.mon6._x = _root.mon6._x - _root.BRS;
_root.mon7._x = _root.mon7._x - _root.BRS;
_root.mon8._x = _root.mon8._x - _root.BRS;
_root.mon9._x = _root.mon9._x - _root.BRS;
_root.mon10._x = _root.mon10._x - _root.BRS;
_root.lw._x = _root.lw._x - _root.BRS;
_root.rw._x = _root.rw._x - _root.BRS;
}
if (Key.isDown(38)) {
if (_root.jumpdb == 0) {
_root.jump = 1;
}
if (_root.jumpdb == 1) {
_root.jump = 0;
}
} else {
_root.jumpdb = 0;
}
if (_root.jump == 1) {
_parent.att = 1;
_root.bft = 5;
_root.jumpspeed = 20;
_parent.gotoAndStop("JR1");
}
_parent.nat = _parent.nat - 1;
if (_parent.nat <= 0) {
_parent.nat = 0;
_parent.att = 1;
}
}
Symbol 436 MovieClip Frame 3
stop();
Instance of Symbol 383 MovieClip "a" in Symbol 436 MovieClip Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(67)) {
_root.atdb = 1;
} else {
_root.atdb = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 2;
_parent.gotoAndStop("SR");
}
if (Key.isDown(37)) {
_parent.cdr = 1;
}
}
Symbol 436 MovieClip Frame 4
stop();
Instance of Symbol 386 MovieClip "a" in Symbol 436 MovieClip Frame 4
onClipEvent (enterFrame) {
if (Key.isDown(67)) {
_root.atdb = 1;
} else {
_root.atdb = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 3;
_parent.gotoAndPlay("SR");
}
if (Key.isDown(37)) {
_parent.cdr = 1;
}
}
Symbol 436 MovieClip Frame 5
stop();
Instance of Symbol 390 MovieClip "a" in Symbol 436 MovieClip Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(67)) {
_root.atdb = 1;
} else {
_root.atdb = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 4;
_parent.gotoAndPlay("SR");
}
if (Key.isDown(37)) {
_parent.cdr = 1;
}
}
Instance of Symbol 393 MovieClip "a" in Symbol 436 MovieClip Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(67)) {
_root.atdb = 1;
} else {
_root.atdb = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 1;
_parent.gotoAndPlay("SR");
}
if (Key.isDown(37)) {
_parent.cdr = 1;
}
}
Instance of Symbol 396 MovieClip "a" in Symbol 436 MovieClip Frame 7
onClipEvent (enterFrame) {
if (Key.isDown(88)) {
_root.at2db = 1;
} else {
_root.at2db = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 2;
_parent.gotoAndPlay("SR");
}
if (Key.isDown(37)) {
_parent.cdr = 1;
}
}
Instance of Symbol 399 MovieClip "a" in Symbol 436 MovieClip Frame 8
onClipEvent (enterFrame) {
if (Key.isDown(88)) {
_root.at2db = 1;
} else {
_root.at2db = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 3;
_parent.gotoAndPlay("SR");
}
}
onClipEvent (enterFrame) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x + (_root.BRS / 4);
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x - (_root.BRS / 4);
_root.mon1._x = _root.mon1._x - (_root.BRS / 4);
_root.mon2._x = _root.mon2._x - (_root.BRS / 4);
_root.mon3._x = _root.mon3._x - (_root.BRS / 4);
_root.mon4._x = _root.mon4._x - (_root.BRS / 4);
_root.mon5._x = _root.mon5._x - (_root.BRS / 4);
_root.mon6._x = _root.mon6._x - (_root.BRS / 4);
_root.mon7._x = _root.mon7._x - (_root.BRS / 4);
_root.mon8._x = _root.mon8._x - (_root.BRS / 4);
_root.lw._x = _root.lw._x - (_root.BRS / 4);
_root.rw._x = _root.rw._x - (_root.BRS / 4);
}
}
Instance of Symbol 400 MovieClip "a" in Symbol 436 MovieClip Frame 9
onClipEvent (enterFrame) {
if (Key.isDown(88)) {
_root.at2db = 1;
} else {
_root.at2db = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 5;
_parent.gotoAndPlay("SR");
}
}
onClipEvent (enterFrame) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x + _root.BRS;
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x - _root.BRS;
_root.mon1._x = _root.mon1._x - _root.BRS;
_root.mon2._x = _root.mon2._x - _root.BRS;
_root.mon3._x = _root.mon3._x - _root.BRS;
_root.mon4._x = _root.mon4._x - _root.BRS;
_root.mon5._x = _root.mon5._x - _root.BRS;
_root.mon6._x = _root.mon6._x - _root.BRS;
_root.mon7._x = _root.mon7._x - _root.BRS;
_root.mon8._x = _root.mon8._x - _root.BRS;
_root.mon9._x = _root.mon9._x - _root.BRS;
_root.mon10._x = _root.mon10._x - _root.BRS;
_root.lw._x = _root.lw._x - _root.BRS;
_root.rw._x = _root.rw._x - _root.BRS;
}
}
Instance of Symbol 401 MovieClip "a" in Symbol 436 MovieClip Frame 10
onClipEvent (enterFrame) {
if (Key.isDown(88)) {
_root.at2db = 1;
} else {
_root.at2db = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 6;
_parent.gotoAndPlay("SR");
}
}
Instance of Symbol 405 MovieClip "a" in Symbol 436 MovieClip Frame 11
onClipEvent (enterFrame) {
if (Key.isDown(88)) {
_root.at2db = 1;
} else {
_root.at2db = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 1;
_parent.gotoAndPlay("SR");
}
}
Instance of Symbol 409 MovieClip "a" in Symbol 436 MovieClip Frame 12
onClipEvent (enterFrame) {
if (Key.isDown(67)) {
_root.atdb = 1;
} else {
_root.atdb = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 1;
_root.jumpspeed = 0;
_root.land = 0;
_parent.gotoAndStop("FR1");
}
}
onClipEvent (enterFrame) {
_root.seth._y = _root.seth._y - (_root.jumpspeed * 1.5);
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x + _root.BRS;
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x - _root.BRS;
_root.mon1._x = _root.mon1._x - _root.BRS;
_root.mon2._x = _root.mon2._x - _root.BRS;
_root.mon3._x = _root.mon3._x - _root.BRS;
_root.mon4._x = _root.mon4._x - _root.BRS;
_root.mon5._x = _root.mon5._x - _root.BRS;
_root.mon6._x = _root.mon6._x - _root.BRS;
_root.mon7._x = _root.mon7._x - _root.BRS;
_root.mon8._x = _root.mon8._x - _root.BRS;
_root.mon9._x = _root.mon9._x - _root.BRS;
_root.mon10._x = _root.mon10._x - _root.BRS;
_root.lw._x = _root.lw._x - _root.BRS;
_root.rw._x = _root.rw._x - _root.BRS;
}
}
}
Instance of Symbol 414 MovieClip "a" in Symbol 436 MovieClip Frame 13
onClipEvent (enterFrame) {
if (Key.isDown(67)) {
_root.atdb = 1;
} else {
_root.atdb = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 2;
_parent.gotoAndStop("CR");
}
}
Instance of Symbol 417 MovieClip "a" in Symbol 436 MovieClip Frame 14
onClipEvent (enterFrame) {
if (Key.isDown(67)) {
_root.atdb = 1;
} else {
_root.atdb = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 2;
_parent.gotoAndStop("SR");
}
}
onClipEvent (enterFrame) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x + _root.BRS;
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x - _root.BRS;
_root.mon1._x = _root.mon1._x - _root.BRS;
_root.mon2._x = _root.mon2._x - _root.BRS;
_root.mon3._x = _root.mon3._x - _root.BRS;
_root.mon4._x = _root.mon4._x - _root.BRS;
_root.mon5._x = _root.mon5._x - _root.BRS;
_root.mon6._x = _root.mon6._x - _root.BRS;
_root.mon7._x = _root.mon7._x - _root.BRS;
_root.mon8._x = _root.mon8._x - _root.BRS;
_root.lw._x = _root.lw._x - _root.BRS;
_root.rw._x = _root.rw._x - _root.BRS;
}
}
Instance of Symbol 420 MovieClip "a" in Symbol 436 MovieClip Frame 15
onClipEvent (enterFrame) {
_root.jumpspeed = _root.jumpspeed + 2;
if (_root.jumpspeed > 20) {
_root.jumpspeed = 20;
}
_root.jumpn = 0;
if (_root.land == 1) {
_root.land = 0;
jumps = 0;
_root.fall = 0;
_parent.gotoAndStop("SR");
}
_root.seth._y = _root.seth._y + _root.jumpspeed;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x + _root.BRS;
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x - _root.BRS;
_root.mon1._x = _root.mon1._x - _root.BRS;
_root.mon2._x = _root.mon2._x - _root.BRS;
_root.mon3._x = _root.mon3._x - _root.BRS;
_root.mon4._x = _root.mon4._x - _root.BRS;
_root.mon5._x = _root.mon5._x - _root.BRS;
_root.mon6._x = _root.mon6._x - _root.BRS;
_root.mon7._x = _root.mon7._x - _root.BRS;
_root.mon8._x = _root.mon8._x - _root.BRS;
_root.lw._x = _root.lw._x - _root.BRS;
_root.rw._x = _root.rw._x - _root.BRS;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x - _root.BRS;
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x + _root.BRS;
_root.mon1._x = _root.mon1._x + _root.BRS;
_root.mon2._x = _root.mon2._x + _root.BRS;
_root.mon3._x = _root.mon3._x + _root.BRS;
_root.mon4._x = _root.mon4._x + _root.BRS;
_root.mon5._x = _root.mon5._x + _root.BRS;
_root.mon6._x = _root.mon6._x + _root.BRS;
_root.mon7._x = _root.mon7._x + _root.BRS;
_root.mon8._x = _root.mon8._x + _root.BRS;
_root.lw._x = _root.lw._x + _root.BRS;
_root.rw._x = _root.rw._x + _root.BRS;
}
}
}
Instance of Symbol 421 MovieClip in Symbol 436 MovieClip Frame 20
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
} else {
_parent.gotoAndStop("SR");
}
if (_root.HIT == 1) {
_root.HIT = 0;
_parent.cc = 3;
_parent.zz.play();
_parent.gotoAndStop("HITR1");
}
if (Key.isDown(67)) {
if (_root.atdb == 0) {
_root.attack = 1;
}
if (_root.atdb == 1) {
_root.attack = 0;
}
} else {
_root.atdb = 0;
}
if ((_root.attack == 1) && (_parent.att == 1)) {
_root.attack = 0;
_parent.gotoAndStop("ATR11");
}
if (((_root.attack == 1) && (_parent.nat > 0)) && (_parent.att == 2)) {
_root.attack = 0;
_parent.gotoAndStop("ATR2");
}
if (((_root.attack == 1) && (_parent.nat > 0)) && (_parent.att == 3)) {
_root.attack = 0;
_parent.gotoAndStop("ATR3");
}
if (((_root.attack == 1) && (_parent.nat > 0)) && (_parent.att == 4)) {
_root.attack = 0;
_parent.gotoAndStop("ATR4");
}
_parent.nat = _parent.nat - 1;
if (_parent.nat <= 0) {
_parent.nat = 0;
_parent.att = 1;
}
}
Instance of Symbol 422 MovieClip in Symbol 436 MovieClip Frame 23
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
_root.jump = 1;
} else {
_root.jumpspeed = 0;
_root.jump = 0;
}
if (_root.jumpspeed <= 0) {
_root.jump = 0;
}
if (_root.backf == 1) {
_root.backf = 0;
_parent.gotoAndStop("BFR");
}
if (Key.isDown(67)) {
if (_root.atdb == 0) {
_root.attack = 1;
}
if (_root.atdb == 1) {
_root.attack = 0;
}
} else {
_root.atdb = 0;
}
_root.seth._y = _root.seth._y - _root.jumpspeed;
if (_root.jump == 0) {
_root.land = 0;
_parent.gotoAndStop("FR1");
}
if (_root.attack == 1) {
_root.attack = 0;
_parent.gotoAndStop("ATR10");
}
if (Key.isDown(37) && (_parent.bft > 0)) {
_root.backf = 1;
}
if (Key.isDown(39)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x + _root.BRS;
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x - _root.BRS;
_root.mon1._x = _root.mon1._x - _root.BRS;
_root.mon2._x = _root.mon2._x - _root.BRS;
_root.mon3._x = _root.mon3._x - _root.BRS;
_root.mon4._x = _root.mon4._x - _root.BRS;
_root.mon5._x = _root.mon5._x - _root.BRS;
_root.mon6._x = _root.mon6._x - _root.BRS;
_root.mon7._x = _root.mon7._x - _root.BRS;
_root.mon8._x = _root.mon8._x - _root.BRS;
_root.mon9._x = _root.mon9._x - _root.BRS;
_root.mon10._x = _root.mon10._x - _root.BRS;
_root.lw._x = _root.lw._x - _root.BRS;
_root.rw._x = _root.rw._x - _root.BRS;
}
}
}
Instance of Symbol 423 MovieClip in Symbol 436 MovieClip Frame 24
onClipEvent (enterFrame) {
_root.jumpspeed = _root.jumpspeed + 2;
if (_root.jumpspeed > 20) {
_root.jumpspeed = 20;
}
if (Key.isDown(67)) {
if (_root.atdb == 0) {
_root.attack = 1;
}
if (_root.atdb == 1) {
_root.attack = 0;
}
} else {
_root.atdb = 0;
}
_root.jumpn = 0;
if (_root.land == 1) {
_root.land = 0;
jumps = 0;
_root.fall = 0;
_parent.gotoAndStop("SR");
}
if (_root.attack == 1) {
_root.attack = 0;
_parent.gotoAndStop("ATR13");
}
_root.seth._y = _root.seth._y + _root.jumpspeed;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x + _root.BRS;
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x - _root.BRS;
_root.mon1._x = _root.mon1._x - _root.BRS;
_root.mon2._x = _root.mon2._x - _root.BRS;
_root.mon3._x = _root.mon3._x - _root.BRS;
_root.mon4._x = _root.mon4._x - _root.BRS;
_root.mon5._x = _root.mon5._x - _root.BRS;
_root.mon6._x = _root.mon6._x - _root.BRS;
_root.mon7._x = _root.mon7._x - _root.BRS;
_root.mon8._x = _root.mon8._x - _root.BRS;
_root.mon9._x = _root.mon9._x - _root.BRS;
_root.mon10._x = _root.mon10._x - _root.BRS;
_root.lw._x = _root.lw._x - _root.BRS;
_root.rw._x = _root.rw._x - _root.BRS;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x - _root.BRS;
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x + _root.BRS;
_root.mon1._x = _root.mon1._x + _root.BRS;
_root.mon2._x = _root.mon2._x + _root.BRS;
_root.mon3._x = _root.mon3._x + _root.BRS;
_root.mon4._x = _root.mon4._x + _root.BRS;
_root.mon5._x = _root.mon5._x + _root.BRS;
_root.mon6._x = _root.mon6._x + _root.BRS;
_root.mon7._x = _root.mon7._x + _root.BRS;
_root.mon8._x = _root.mon8._x + _root.BRS;
_root.mon9._x = _root.mon9._x + _root.BRS;
_root.mon10._x = _root.mon10._x + _root.BRS;
_root.lw._x = _root.lw._x + _root.BRS;
_root.rw._x = _root.rw._x + _root.BRS;
}
}
}
Instance of Symbol 424 MovieClip in Symbol 436 MovieClip Frame 25
onClipEvent (enterFrame) {
if (Key.isDown(67)) {
if (_root.atdb == 0) {
_root.attack = 1;
}
if (_root.atdb == 1) {
_root.attack = 0;
}
} else {
_root.atdb = 0;
}
if (_root.jump == 0) {
_root.land = 0;
_root.jumpspeed = 0;
_parent.gotoAndStop("FR1");
}
_root.seth._y = _root.seth._y - _root.jumpspeed;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x - _root.BRS;
}
if (_root.attack == 1) {
_root.attack = 0;
_parent.gotoAndStop("ATR10");
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x + _root.BRS;
_root.mon1._x = _root.mon1._x + _root.BRS;
_root.mon2._x = _root.mon2._x + _root.BRS;
_root.mon3._x = _root.mon3._x + _root.BRS;
_root.mon4._x = _root.mon4._x + _root.BRS;
_root.mon5._x = _root.mon5._x + _root.BRS;
_root.mon6._x = _root.mon6._x + _root.BRS;
_root.mon7._x = _root.mon7._x + _root.BRS;
_root.mon8._x = _root.mon8._x + _root.BRS;
_root.mon9._x = _root.mon9._x + _root.BRS;
_root.mon10._x = _root.mon10._x + _root.BRS;
_root.lw._x = _root.lw._x + _root.BRS;
_root.rw._x = _root.rw._x + _root.BRS;
}
}
}
Instance of Symbol 428 MovieClip in Symbol 436 MovieClip Frame 27
onClipEvent (enterFrame) {
_root.HIT = 0;
if (Key.isDown(90)) {
_root.def = 1;
} else {
_root.def = 0;
}
if (_root.def == 0) {
_parent.gotoAndStop("SR");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_parent.gotoAndStop("RBR");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_parent.gotoAndStop("RFR");
}
}
Instance of Symbol 429 MovieClip in Symbol 436 MovieClip Frame 28
onClipEvent (load) {
did = 0;
xx = 0;
}
onClipEvent (enterFrame) {
_root.cx = 1;
xx = xx + 1;
if (xx > 2) {
did = did + 1;
xx = 0;
if (_root.particals == "on") {
_root.attachMovie("dust2", (dust2 = dust2 + did), _root.getNextHighestDepth());
}
}
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x + (_root.BRS + 5);
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x - (_root.BRS + 5);
_root.mon1._x = _root.mon1._x - (_root.BRS + 5);
_root.mon2._x = _root.mon2._x - (_root.BRS + 5);
_root.mon3._x = _root.mon3._x - (_root.BRS + 5);
_root.mon4._x = _root.mon4._x - (_root.BRS + 5);
_root.mon5._x = _root.mon5._x - (_root.BRS + 5);
_root.mon6._x = _root.mon6._x - (_root.BRS + 5);
_root.mon7._x = _root.mon7._x - (_root.BRS + 5);
_root.mon8._x = _root.mon8._x - (_root.BRS + 5);
_root.mon9._x = _root.mon9._x - (_root.BRS + 5);
_root.mon10._x = _root.mon10._x - (_root.BRS + 5);
_root.lw._x = _root.lw._x - (_root.BRS + 5);
_root.rw._x = _root.rw._x - (_root.BRS + 5);
}
if (Key.isDown(40)) {
if (ready == 1) {
ready = 0;
_parent.nat = 0;
_parent.att = 1;
_parent.gotoAndStop("CR");
}
}
if (ready == 1) {
_root.HIT = 0;
ready = 0;
_parent.nat = 0;
_parent.att = 1;
_parent.gotoAndPlay("SR");
}
}
Instance of Symbol 430 MovieClip in Symbol 436 MovieClip Frame 29
onClipEvent (enterFrame) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x - (_root.BRS + 5);
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x + (_root.BRS + 5);
_root.mon1._x = _root.mon1._x + (_root.BRS + 5);
_root.mon2._x = _root.mon2._x + (_root.BRS + 5);
_root.mon3._x = _root.mon3._x + (_root.BRS + 5);
_root.mon4._x = _root.mon4._x + (_root.BRS + 5);
_root.mon5._x = _root.mon5._x + (_root.BRS + 5);
_root.mon6._x = _root.mon6._x + (_root.BRS + 5);
_root.mon7._x = _root.mon7._x + (_root.BRS + 5);
_root.mon8._x = _root.mon8._x + (_root.BRS + 5);
_root.mon9._x = _root.mon9._x + (_root.BRS + 5);
_root.mon10._x = _root.mon10._x + (_root.BRS + 5);
_root.lw._x = _root.lw._x + (_root.BRS + 5);
_root.rw._x = _root.rw._x + (_root.BRS + 5);
}
if (ready == 1) {
_root.HIT = 0;
ready = 0;
_parent.nat = 0;
_parent.att = 1;
_parent.gotoAndPlay("SR");
}
}
Instance of Symbol 431 MovieClip in Symbol 436 MovieClip Frame 30
onClipEvent (load) {
damage = Math.round((_root.aatt * 3) - (_root.deff * 2));
if (damage <= 0) {
damage = 1;
}
_root.HP = _root.HP - damage;
_root.hid = _root.hid + 1;
if (_root.particals == "on") {
_root.attachMovie("hitfx", (hfx = hfx + _root.hid), _root.getNextHighestDepth(), {_x:_root.seth._x, _y:_root.seth._y});
}
_parent.ehitpower = _root.ehitpower;
_parent.ehitpowery = _root.ehitpowery;
if (_root.HP <= 0) {
_parent.gotoAndStop("DIER");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
if (_root.jumpdb == 0) {
_root.jump = 1;
}
if (_root.jumpdb == 1) {
_root.jump = 0;
}
} else {
_root.jumpdb = 0;
}
if (_root.jump == 1) {
_parent.bft = 5;
_parent.att = 1;
_root.bft = 5;
_root.jumpspeed = 20;
_parent.gotoAndStop("JR1");
}
if (Key.isDown(39)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x + (_root.BRS / 2);
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x - (_root.BRS / 2);
_root.mon1._x = _root.mon1._x - (_root.BRS / 2);
_root.mon2._x = _root.mon2._x - (_root.BRS / 2);
_root.mon3._x = _root.mon3._x - (_root.BRS / 2);
_root.mon4._x = _root.mon4._x - (_root.BRS / 2);
_root.mon5._x = _root.mon5._x - (_root.BRS / 2);
_root.mon6._x = _root.mon6._x - (_root.BRS / 2);
_root.mon7._x = _root.mon7._x - (_root.BRS / 2);
_root.mon8._x = _root.mon8._x - (_root.BRS / 2);
_root.mon9._x = _root.mon9._x - (_root.BRS / 2);
_root.mon10._x = _root.mon10._x - (_root.BRS / 2);
_root.lw._x = _root.lw._x - (_root.BRS / 2);
_root.rw._x = _root.rw._x - (_root.BRS / 2);
}
}
if (Key.isDown(37)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x - (_root.BRS / 2);
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x + (_root.BRS / 2);
_root.mon1._x = _root.mon1._x + (_root.BRS / 2);
_root.mon2._x = _root.mon2._x + (_root.BRS / 2);
_root.mon3._x = _root.mon3._x + (_root.BRS / 2);
_root.mon4._x = _root.mon4._x + (_root.BRS / 2);
_root.mon5._x = _root.mon5._x + (_root.BRS / 2);
_root.mon6._x = _root.mon6._x + (_root.BRS / 2);
_root.mon7._x = _root.mon7._x + (_root.BRS / 2);
_root.mon8._x = _root.mon8._x + (_root.BRS / 2);
_root.mon9._x = _root.mon9._x + (_root.BRS / 2);
_root.mon10._x = _root.mon10._x + (_root.BRS / 2);
_root.lw._x = _root.lw._x + (_root.BRS / 2);
_root.rw._x = _root.rw._x + (_root.BRS / 2);
}
}
if (Key.isDown(90)) {
_root.def = 1;
} else {
_root.def = 0;
}
if (_root.seth._x >= _root.rw._x) {
_root.v = "l";
}
if (_root.seth._x <= _root.lw._x) {
_root.v = "r";
}
if (_root.mapmove == 0) {
if (_root.v == "l") {
_root.seth._x = _root.seth._x + _parent.ehitpower;
this._rotation = this._rotation + _parent.ehitpower;
}
if (_root.v == "r") {
_root.seth._x = _root.seth._x - _parent.ehitpower;
this._rotation = this._rotation - _parent.ehitpower;
}
}
if (_root.mapmove == 1) {
if (_root.v == "l") {
_root.stage._x = _root.stage._x - _parent.ehitpower;
this._rotation = this._rotation + _parent.ehitpower;
_root.mon1._x = _root.mon1._x - _parent.ehitpower;
_root.mon2._x = _root.mon2._x - _parent.ehitpower;
_root.mon3._x = _root.mon3._x - _parent.ehitpower;
_root.mon4._x = _root.mon4._x - _parent.ehitpower;
_root.mon5._x = _root.mon5._x - _parent.ehitpower;
_root.mon6._x = _root.mon6._x - _parent.ehitpower;
_root.mon7._x = _root.mon7._x - _parent.ehitpower;
_root.mon8._x = _root.mon8._x - _parent.ehitpower;
_root.mon9._x = _root.mon9._x - _parent.ehitpower;
_root.mon10._x = _root.mon10._x - _parent.ehitpower;
_root.lw._x = _root.lw._x - _parent.ehitpower;
_root.rw._x = _root.rw._x - _parent.ehitpower;
}
if (_root.v == "r") {
_root.stage._x = _root.stage._x + _parent.ehitpower;
this._rotation = this._rotation - _parent.ehitpower;
_root.mon1._x = _root.mon1._x + _parent.ehitpower;
_root.mon2._x = _root.mon2._x + _parent.ehitpower;
_root.mon3._x = _root.mon3._x + _parent.ehitpower;
_root.mon4._x = _root.mon4._x + _parent.ehitpower;
_root.mon5._x = _root.mon5._x + _parent.ehitpower;
_root.mon6._x = _root.mon6._x + _parent.ehitpower;
_root.mon7._x = _root.mon7._x + _parent.ehitpower;
_root.mon8._x = _root.mon8._x + _parent.ehitpower;
_root.mon9._x = _root.mon9._x + _parent.ehitpower;
_root.mon10._x = _root.mon10._x + _parent.ehitpower;
_root.lw._x = _root.lw._x + _parent.ehitpower;
_root.rw._x = _root.rw._x + _parent.ehitpower;
}
}
_root.seth._y = _root.seth._y - _parent.ehitpowery;
if (_root.land == 1) {
_root.land = 0;
_parent.gotoAndStop("SR");
}
if ((_root.HIT == 1) && (_parent.cc == 0)) {
_root.HIT = 0;
_parent.cc = 3;
_parent.zz.play();
_parent.gotoAndStop("HITR2");
}
}
Instance of Symbol 434 MovieClip in Symbol 436 MovieClip Frame 31
onClipEvent (load) {
damage = Math.round((_root.aatt * 3) - (_root.deff * 2));
if (damage <= "0") {
damage = 1;
}
_root.HP = _root.HP - damage;
_root.hid = _root.hid + 1;
if (_root.particals == "on") {
_root.attachMovie("hitfx", (hfx = hfx + _root.hid), _root.getNextHighestDepth(), {_x:_root.seth._x, _y:_root.seth._y});
}
_parent.ehitpower = _root.ehitpower;
_parent.ehitpowery = _root.ehitpowery;
if (_root.HP <= 0) {
_parent.gotoAndStop("DIER");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
if (_root.jumpdb == 0) {
_root.jump = 1;
}
if (_root.jumpdb == 1) {
_root.jump = 0;
}
} else {
_root.jumpdb = 0;
}
if (_root.jump == 1) {
_parent.bft = 5;
_parent.att = 1;
_root.bft = 5;
_root.jumpspeed = 20;
_parent.gotoAndStop("JR1");
}
if (Key.isDown(39)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x + (_root.BRS / 2);
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x - (_root.BRS / 2);
_root.mon1._x = _root.mon1._x - (_root.BRS / 2);
_root.mon2._x = _root.mon2._x - (_root.BRS / 2);
_root.mon3._x = _root.mon3._x - (_root.BRS / 2);
_root.mon4._x = _root.mon4._x - (_root.BRS / 2);
_root.mon5._x = _root.mon5._x - (_root.BRS / 2);
_root.mon6._x = _root.mon6._x - (_root.BRS / 2);
_root.mon7._x = _root.mon7._x - (_root.BRS / 2);
_root.mon8._x = _root.mon8._x - (_root.BRS / 2);
_root.mon9._x = _root.mon9._x - (_root.BRS / 2);
_root.mon10._x = _root.mon10._x - (_root.BRS / 2);
_root.lw._x = _root.lw._x - (_root.BRS / 2);
_root.rw._x = _root.rw._x - (_root.BRS / 2);
}
}
if (Key.isDown(37)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x - (_root.BRS / 2);
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x + (_root.BRS / 2);
_root.mon1._x = _root.mon1._x + (_root.BRS / 2);
_root.mon2._x = _root.mon2._x + (_root.BRS / 2);
_root.mon3._x = _root.mon3._x + (_root.BRS / 2);
_root.mon4._x = _root.mon4._x + (_root.BRS / 2);
_root.mon5._x = _root.mon5._x + (_root.BRS / 2);
_root.mon6._x = _root.mon6._x + (_root.BRS / 2);
_root.mon7._x = _root.mon7._x + (_root.BRS / 2);
_root.mon8._x = _root.mon8._x + (_root.BRS / 2);
_root.mon9._x = _root.mon9._x + (_root.BRS / 2);
_root.mon10._x = _root.mon10._x + (_root.BRS / 2);
_root.lw._x = _root.lw._x + (_root.BRS / 2);
_root.rw._x = _root.rw._x + (_root.BRS / 2);
}
}
if (Key.isDown(90)) {
_root.def = 1;
} else {
_root.def = 0;
}
if (_root.seth._x >= _root.rw._x) {
_root.v = "l";
}
if (_root.seth._x <= _root.lw._x) {
_root.v = "r";
}
if (_root.mapmove == 0) {
if (_root.v == "l") {
_root.seth._x = _root.seth._x + _parent.ehitpower;
this._rotation = this._rotation + _parent.ehitpower;
}
if (_root.v == "r") {
_root.seth._x = _root.seth._x - _parent.ehitpower;
this._rotation = this._rotation - _parent.ehitpower;
}
}
if (_root.mapmove == 1) {
if (_root.v == "l") {
_root.stage._x = _root.stage._x - _parent.ehitpower;
this._rotation = this._rotation + _parent.ehitpower;
_root.mon1._x = _root.mon1._x - _parent.ehitpower;
_root.mon2._x = _root.mon2._x - _parent.ehitpower;
_root.mon3._x = _root.mon3._x - _parent.ehitpower;
_root.mon4._x = _root.mon4._x - _parent.ehitpower;
_root.mon5._x = _root.mon5._x - _parent.ehitpower;
_root.mon6._x = _root.mon6._x - _parent.ehitpower;
_root.mon7._x = _root.mon7._x - _parent.ehitpower;
_root.mon8._x = _root.mon8._x - _parent.ehitpower;
_root.mon9._x = _root.mon9._x - _parent.ehitpower;
_root.mon10._x = _root.mon10._x - _parent.ehitpower;
_root.lw._x = _root.lw._x - _parent.ehitpower;
_root.rw._x = _root.rw._x - _parent.ehitpower;
}
if (_root.v == "r") {
_root.stage._x = _root.stage._x + _parent.ehitpower;
this._rotation = this._rotation - _parent.ehitpower;
_root.mon1._x = _root.mon1._x + _parent.ehitpower;
_root.mon2._x = _root.mon2._x + _parent.ehitpower;
_root.mon3._x = _root.mon3._x + _parent.ehitpower;
_root.mon4._x = _root.mon4._x + _parent.ehitpower;
_root.mon5._x = _root.mon5._x + _parent.ehitpower;
_root.mon6._x = _root.mon6._x + _parent.ehitpower;
_root.mon7._x = _root.mon7._x + _parent.ehitpower;
_root.mon8._x = _root.mon8._x + _parent.ehitpower;
_root.mon9._x = _root.mon9._x + _parent.ehitpower;
_root.mon10._x = _root.mon10._x + _parent.ehitpower;
_root.lw._x = _root.lw._x + _parent.ehitpower;
_root.rw._x = _root.rw._x + _parent.ehitpower;
}
}
_root.seth._y = _root.seth._y - _parent.ehitpowery;
if (_root.land == 1) {
_root.land = 0;
_parent.gotoAndStop("SR");
}
if ((_root.HIT == 1) && (_parent.cc == 0)) {
_root.HIT = 0;
_parent.cc = 3;
_parent.zz.play();
_parent.gotoAndStop("HITR1");
}
}
Instance of Symbol 435 MovieClip in Symbol 436 MovieClip Frame 32
onClipEvent (load) {
if (_root.particals == "on") {
_root.attachMovie("hitfx", (hfx = hfx + _root.hid), _root.getNextHighestDepth(), {_x:_root.seth._x, _y:_root.seth._y});
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x + (_root.BRS / 2);
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x - (_root.BRS / 2);
_root.mon1._x = _root.mon1._x - (_root.BRS / 2);
_root.mon2._x = _root.mon2._x - (_root.BRS / 2);
_root.mon3._x = _root.mon3._x - (_root.BRS / 2);
_root.mon4._x = _root.mon4._x - (_root.BRS / 2);
_root.mon5._x = _root.mon5._x - (_root.BRS / 2);
_root.mon6._x = _root.mon6._x - (_root.BRS / 2);
_root.mon7._x = _root.mon7._x - (_root.BRS / 2);
_root.mon8._x = _root.mon8._x - (_root.BRS / 2);
_root.mon9._x = _root.mon9._x - (_root.BRS / 2);
_root.mon10._x = _root.mon10._x - (_root.BRS / 2);
_root.lw._x = _root.lw._x - (_root.BRS / 2);
_root.rw._x = _root.rw._x - (_root.BRS / 2);
}
}
if (Key.isDown(37)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x - (_root.BRS / 2);
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x + (_root.BRS / 2);
_root.mon1._x = _root.mon1._x + (_root.BRS / 2);
_root.mon2._x = _root.mon2._x + (_root.BRS / 2);
_root.mon3._x = _root.mon3._x + (_root.BRS / 2);
_root.mon4._x = _root.mon4._x + (_root.BRS / 2);
_root.mon5._x = _root.mon5._x + (_root.BRS / 2);
_root.mon6._x = _root.mon6._x + (_root.BRS / 2);
_root.mon7._x = _root.mon7._x + (_root.BRS / 2);
_root.mon8._x = _root.mon8._x + (_root.BRS / 2);
_root.mon9._x = _root.mon9._x + (_root.BRS / 2);
_root.mon10._x = _root.mon10._x + (_root.BRS / 2);
_root.lw._x = _root.lw._x + (_root.BRS / 2);
_root.rw._x = _root.rw._x + (_root.BRS / 2);
}
}
if (Key.isDown(90)) {
_root.def = 1;
} else {
_root.def = 0;
}
if (_root.seth._x >= _root.rw._x) {
_root.v = "l";
}
if (_root.seth._x <= _root.lw._x) {
_root.v = "r";
}
if (_root.mapmove == 0) {
if (_root.v == "l") {
_root.seth._x = _root.seth._x + _parent.ehitpower;
this._rotation = this._rotation + _parent.ehitpower;
}
if (_root.v == "r") {
_root.seth._x = _root.seth._x - _parent.ehitpower;
this._rotation = this._rotation - _parent.ehitpower;
}
}
if (_root.mapmove == 1) {
if (_root.v == "l") {
_root.stage._x = _root.stage._x - _parent.ehitpower;
this._rotation = this._rotation + _parent.ehitpower;
_root.mon1._x = _root.mon1._x - _parent.ehitpower;
_root.mon2._x = _root.mon2._x - _parent.ehitpower;
_root.mon3._x = _root.mon3._x - _parent.ehitpower;
_root.mon4._x = _root.mon4._x - _parent.ehitpower;
_root.mon5._x = _root.mon5._x - _parent.ehitpower;
_root.mon6._x = _root.mon6._x - _parent.ehitpower;
_root.mon7._x = _root.mon7._x - _parent.ehitpower;
_root.mon8._x = _root.mon8._x - _parent.ehitpower;
_root.mon9._x = _root.mon9._x - _parent.ehitpower;
_root.mon10._x = _root.mon10._x - _parent.ehitpower;
_root.lw._x = _root.lw._x - _parent.ehitpower;
_root.rw._x = _root.rw._x - _parent.ehitpower;
}
if (_root.v == "r") {
_root.stage._x = _root.stage._x + _parent.ehitpower;
this._rotation = this._rotation - _parent.ehitpower;
_root.mon1._x = _root.mon1._x + _parent.ehitpower;
_root.mon2._x = _root.mon2._x + _parent.ehitpower;
_root.mon3._x = _root.mon3._x + _parent.ehitpower;
_root.mon4._x = _root.mon4._x + _parent.ehitpower;
_root.mon5._x = _root.mon5._x + _parent.ehitpower;
_root.mon6._x = _root.mon6._x + _parent.ehitpower;
_root.mon7._x = _root.mon7._x + _parent.ehitpower;
_root.mon8._x = _root.mon8._x + _parent.ehitpower;
_root.mon9._x = _root.mon9._x + _parent.ehitpower;
_root.mon10._x = _root.mon10._x + _parent.ehitpower;
_root.lw._x = _root.lw._x + _parent.ehitpower;
_root.rw._x = _root.rw._x + _parent.ehitpower;
}
}
_root.seth._y = _root.seth._y - _parent.ehitpowery;
if (_root.land == 1) {
_root.land = 0;
_root.gameover = 1;
_parent.gotoAndStop("DLXR");
}
}
Symbol 436 MovieClip Frame 54
stop();
Instance of Symbol 370 MovieClip in Symbol 436 MovieClip Frame 54
onClipEvent (enterFrame) {
_root.cx = 0;
_root.di = "l";
if (Key.isDown(37)) {
_root.run = 1;
} else {
_root.run = 0;
}
if (Key.isDown(40)) {
_parent.gotoAndStop("CL");
}
if (_root.run == 1) {
att = 1;
_parent.gotoAndStop("RL");
}
if (_root.HIT == 1) {
_root.HIT = 0;
_parent.cc = 3;
_parent.zz.play();
_parent.gotoAndStop("HITL");
}
if (Key.isDown(90)) {
_root.def = 1;
} else {
_root.def = 0;
}
if (_root.def == 1) {
_parent.gotoAndStop("DEFL");
}
if (Key.isDown(38)) {
if (_root.jumpdb == 0) {
_root.jump = 1;
}
if (_root.jumpdb == 1) {
_root.jump = 0;
}
} else {
_root.jumpdb = 0;
}
if (_root.jump == 1) {
_parent.att = 1;
_root.bft = 5;
_root.jumpspeed = 20;
_root.bft = 5;
_parent.gotoAndStop("JL1");
}
if (Key.isDown(39)) {
_parent.cdr = 1;
}
if (_parent.cdr == 1) {
_parent.cdr = 0;
_parent.gotoAndStop("SR");
}
if (Key.isDown(67)) {
if (_root.atdb == 0) {
_root.attack = 1;
}
if (_root.atdb == 1) {
_root.attack = 0;
}
} else {
_root.atdb = 0;
}
if (Key.isDown(88)) {
if (_root.at2db == 0) {
_root.attack2 = 1;
}
if (_root.at2db == 1) {
_root.attack2 = 0;
}
} else {
_root.at2db = 0;
}
if ((_root.attack == 1) && (_parent.att == 1)) {
_root.attack = 0;
_parent.gotoAndStop("ATL1");
}
if (((_root.attack == 1) && (_parent.nat > 0)) && (_parent.att == 2)) {
_root.attack = 0;
_parent.gotoAndStop("ATL2");
}
if (((_root.attack == 1) && (_parent.nat > 0)) && (_parent.att == 3)) {
_root.attack = 0;
_parent.gotoAndStop("ATL3");
}
if (((_root.attack == 1) && (_parent.nat > 0)) && (_parent.att == 4)) {
_root.attack = 0;
_parent.gotoAndStop("ATL4");
}
if ((_root.attack2 == 1) && (_parent.att == 1)) {
_root.attack2 = 0;
_parent.gotoAndStop("ATL5");
}
if (((_root.attack2 == 1) && (_parent.att == 2)) && (_parent.nat > 0)) {
_root.attack2 = 0;
_parent.gotoAndStop("ATL6");
}
if (((_root.attack2 == 1) && (_parent.att == 3)) && (_parent.nat > 0)) {
_root.attack2 = 0;
_parent.gotoAndStop("ATL7");
}
if (((_root.attack2 == 1) && (_parent.att == 5)) && (_parent.nat > 0)) {
_root.attack2 = 0;
_parent.gotoAndStop("ATL8");
}
if (((_root.attack == 1) && (_parent.att == 6)) && (_parent.nat > 0)) {
_root.attack2 = 0;
_parent.gotoAndStop("ATL9");
}
_parent.nat = _parent.nat - 1;
if (_parent.nat <= 0) {
_parent.nat = 0;
_parent.att = 1;
}
}
Symbol 436 MovieClip Frame 55
stop();
Instance of Symbol 377 MovieClip in Symbol 436 MovieClip Frame 55
onClipEvent (enterFrame) {
if (_root.HIT == 1) {
_root.HIT = 0;
_parent.cc = 3;
_parent.gotoAndStop("HITL");
}
if (_root.run == 0) {
_parent.gotoAndStop("SL");
}
if (Key.isDown(37)) {
_root.run = 1;
} else {
_root.run = 0;
}
if (Key.isDown(40)) {
_parent.gotoAndStop("RFL");
}
if (Key.isDown(67)) {
if (_root.atdb == 0) {
_root.attack = 1;
}
if (_root.atdb == 1) {
_root.attack = 0;
}
} else {
_root.atdb = 0;
}
if (Key.isDown(88)) {
if (_root.at2db == 0) {
_root.attack2 = 1;
}
if (_root.at2db == 1) {
_root.attack2 = 0;
}
} else {
_root.at2db = 0;
}
if ((_root.attack == 1) && (_parent.att == 1)) {
_root.attack = 0;
_parent.gotoAndStop("ATL12");
}
if (((_root.attack == 1) && (_parent.nat > 0)) && (_parent.att == 2)) {
_root.attack = 0;
_parent.gotoAndStop("ATL2");
}
if (((_root.attack == 1) && (_parent.nat > 0)) && (_parent.att == 3)) {
_root.attack = 0;
_parent.gotoAndStop("ATL3");
}
if (((_root.attack == 1) && (_parent.nat > 0)) && (_parent.att == 4)) {
_root.attack = 0;
_parent.gotoAndStop("ATL4");
}
if (((_root.attack == 1) && (_parent.nat > 0)) && (_parent.att == 4)) {
_root.attack = 0;
}
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x - _root.BRS;
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x + _root.BRS;
_root.mon1._x = _root.mon1._x + _root.BRS;
_root.mon2._x = _root.mon2._x + _root.BRS;
_root.mon3._x = _root.mon3._x + _root.BRS;
_root.mon4._x = _root.mon4._x + _root.BRS;
_root.mon5._x = _root.mon5._x + _root.BRS;
_root.mon6._x = _root.mon6._x + _root.BRS;
_root.mon7._x = _root.mon7._x + _root.BRS;
_root.mon8._x = _root.mon8._x + _root.BRS;
_root.mon9._x = _root.mon9._x + _root.BRS;
_root.mon10._x = _root.mon10._x + _root.BRS;
_root.lw._x = _root.lw._x + _root.BRS;
_root.rw._x = _root.rw._x + _root.BRS;
}
if (Key.isDown(38)) {
if (_root.jumpdb == 0) {
_root.jump = 1;
}
if (_root.jumpdb == 1) {
_root.jump = 0;
}
} else {
_root.jumpdb = 0;
}
if (_root.jump == 1) {
_root.att = 1;
_root.bft = 5;
_root.jumpspeed = 20;
_parent.gotoAndStop("JL1");
}
_parent.nat = _parent.nat - 1;
if (_parent.nat <= 0) {
_parent.nat = 0;
_parent.att = 1;
}
}
Symbol 436 MovieClip Frame 56
stop();
Instance of Symbol 383 MovieClip "a" in Symbol 436 MovieClip Frame 56
onClipEvent (enterFrame) {
if (Key.isDown(67)) {
_root.atdb = 1;
} else {
_root.atdb = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 2;
_parent.gotoAndPlay("SL");
}
if (Key.isDown(39)) {
_parent.cdr = 1;
}
}
Symbol 436 MovieClip Frame 57
stop();
Instance of Symbol 386 MovieClip "a" in Symbol 436 MovieClip Frame 57
onClipEvent (enterFrame) {
if (Key.isDown(67)) {
_root.atdb = 1;
} else {
_root.atdb = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 3;
_parent.gotoAndPlay("SL");
}
if (Key.isDown(39)) {
_parent.cdr = 1;
}
}
Symbol 436 MovieClip Frame 58
stop();
Instance of Symbol 390 MovieClip "a" in Symbol 436 MovieClip Frame 58
onClipEvent (enterFrame) {
if (Key.isDown(67)) {
_root.atdb = 1;
} else {
_root.atdb = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 4;
_parent.gotoAndPlay("SL");
}
if (Key.isDown(39)) {
_parent.cdr = 1;
}
}
Instance of Symbol 393 MovieClip "a" in Symbol 436 MovieClip Frame 59
onClipEvent (enterFrame) {
if (Key.isDown(67)) {
_root.atdb = 1;
} else {
_root.atdb = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 1;
_parent.gotoAndPlay("SL");
}
if (Key.isDown(39)) {
_parent.cdr = 1;
}
}
Instance of Symbol 396 MovieClip "a" in Symbol 436 MovieClip Frame 60
onClipEvent (enterFrame) {
if (Key.isDown(88)) {
_root.at2db = 1;
} else {
_root.at2db = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 2;
_parent.gotoAndPlay("SL");
}
if (Key.isDown(39)) {
_parent.cdr = 1;
}
}
Instance of Symbol 399 MovieClip "a" in Symbol 436 MovieClip Frame 61
onClipEvent (enterFrame) {
if (Key.isDown(88)) {
_root.at2db = 1;
} else {
_root.at2db = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 3;
_parent.gotoAndPlay("SL");
}
}
onClipEvent (enterFrame) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x - (_root.BRS / 4);
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x + (_root.BRS / 4);
_root.mon1._x = _root.mon1._x + (_root.BRS / 4);
_root.mon2._x = _root.mon2._x + (_root.BRS / 4);
_root.mon3._x = _root.mon3._x + (_root.BRS / 4);
_root.mon4._x = _root.mon4._x + (_root.BRS / 4);
_root.mon5._x = _root.mon5._x + (_root.BRS / 4);
_root.mon6._x = _root.mon6._x + (_root.BRS / 4);
_root.mon7._x = _root.mon7._x + (_root.BRS / 4);
_root.mon8._x = _root.mon8._x + (_root.BRS / 4);
_root.lw._x = _root.lw._x + (_root.BRS / 4);
_root.rw._x = _root.rw._x + (_root.BRS / 4);
}
}
Instance of Symbol 400 MovieClip "a" in Symbol 436 MovieClip Frame 62
onClipEvent (enterFrame) {
if (Key.isDown(88)) {
_root.at2db = 1;
} else {
_root.at2db = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 5;
_parent.gotoAndPlay("SL");
}
}
onClipEvent (enterFrame) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x - _root.BRS;
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x + _root.BRS;
_root.mon1._x = _root.mon1._x + _root.BRS;
_root.mon2._x = _root.mon2._x + _root.BRS;
_root.mon3._x = _root.mon3._x + _root.BRS;
_root.mon4._x = _root.mon4._x + _root.BRS;
_root.mon5._x = _root.mon5._x + _root.BRS;
_root.mon6._x = _root.mon6._x + _root.BRS;
_root.mon7._x = _root.mon7._x + _root.BRS;
_root.mon8._x = _root.mon8._x + _root.BRS;
_root.mon9._x = _root.mon9._x + _root.BRS;
_root.mon10._x = _root.mon10._x + _root.BRS;
_root.lw._x = _root.lw._x + _root.BRS;
_root.rw._x = _root.rw._x + _root.BRS;
}
}
Instance of Symbol 401 MovieClip "a" in Symbol 436 MovieClip Frame 63
onClipEvent (enterFrame) {
if (Key.isDown(88)) {
_root.at2db = 1;
} else {
_root.at2db = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 6;
_parent.gotoAndPlay("SL");
}
}
Instance of Symbol 405 MovieClip "a" in Symbol 436 MovieClip Frame 64
onClipEvent (enterFrame) {
if (Key.isDown(88)) {
_root.at2db = 1;
} else {
_root.at2db = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 1;
_parent.gotoAndPlay("SL");
}
}
Instance of Symbol 409 MovieClip "a" in Symbol 436 MovieClip Frame 65
onClipEvent (enterFrame) {
if (Key.isDown(67)) {
_root.atdb = 1;
} else {
_root.atdb = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 1;
_root.jumpspeed = 0;
_root.land = 0;
_parent.gotoAndStop("FL1");
}
}
onClipEvent (enterFrame) {
_root.seth._y = _root.seth._y - _root.jumpspeed;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x - _root.BRS;
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x + _root.BRS;
_root.mon1._x = _root.mon1._x + _root.BRS;
_root.mon2._x = _root.mon2._x + _root.BRS;
_root.mon3._x = _root.mon3._x + _root.BRS;
_root.mon4._x = _root.mon4._x + _root.BRS;
_root.mon5._x = _root.mon5._x + _root.BRS;
_root.mon6._x = _root.mon6._x + _root.BRS;
_root.mon7._x = _root.mon7._x + _root.BRS;
_root.mon8._x = _root.mon8._x + _root.BRS;
_root.mon9._x = _root.mon9._x + _root.BRS;
_root.mon10._x = _root.mon10._x + _root.BRS;
_root.lw._x = _root.lw._x + _root.BRS;
_root.rw._x = _root.rw._x + _root.BRS;
}
}
}
Instance of Symbol 414 MovieClip "a" in Symbol 436 MovieClip Frame 66
onClipEvent (enterFrame) {
if (Key.isDown(67)) {
_root.atdb = 1;
} else {
_root.atdb = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 2;
_parent.gotoAndStop("CL");
}
}
Instance of Symbol 417 MovieClip "a" in Symbol 436 MovieClip Frame 67
onClipEvent (enterFrame) {
if (Key.isDown(67)) {
_root.atdb = 1;
} else {
_root.atdb = 0;
}
if (ready == 1) {
ready = 0;
_parent.nat = 7;
_parent.att = 2;
_parent.gotoAndStop("SL");
}
}
onClipEvent (enterFrame) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x - _root.BRS;
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x + _root.BRS;
_root.mon1._x = _root.mon1._x + _root.BRS;
_root.mon2._x = _root.mon2._x + _root.BRS;
_root.mon3._x = _root.mon3._x + _root.BRS;
_root.mon4._x = _root.mon4._x + _root.BRS;
_root.mon5._x = _root.mon5._x + _root.BRS;
_root.mon6._x = _root.mon6._x + _root.BRS;
_root.mon7._x = _root.mon7._x + _root.BRS;
_root.mon8._x = _root.mon8._x + _root.BRS;
_root.lw._x = _root.lw._x + _root.BRS;
_root.rw._x = _root.rw._x + _root.BRS;
}
}
Instance of Symbol 420 MovieClip "a" in Symbol 436 MovieClip Frame 68
onClipEvent (enterFrame) {
_root.jumpspeed = _root.jumpspeed + 2;
if (_root.jumpspeed > 20) {
_root.jumpspeed = 20;
}
_root.jumpn = 0;
if (_root.land == 1) {
_root.land = 0;
jumps = 0;
_root.fall = 0;
_parent.gotoAndStop("SL");
}
_root.seth._y = _root.seth._y + _root.jumpspeed;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x - _root.BRS;
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x + _root.BRS;
_root.mon1._x = _root.mon1._x + _root.BRS;
_root.mon2._x = _root.mon2._x + _root.BRS;
_root.mon3._x = _root.mon3._x + _root.BRS;
_root.mon4._x = _root.mon4._x + _root.BRS;
_root.mon5._x = _root.mon5._x + _root.BRS;
_root.mon6._x = _root.mon6._x + _root.BRS;
_root.mon7._x = _root.mon7._x + _root.BRS;
_root.mon8._x = _root.mon8._x + _root.BRS;
_root.mon9._x = _root.mon9._x + _root.BRS;
_root.mon10._x = _root.mon10._x + _root.BRS;
_root.lw._x = _root.lw._x + _root.BRS;
_root.rw._x = _root.rw._x + _root.BRS;
}
}
}
Instance of Symbol 421 MovieClip in Symbol 436 MovieClip Frame 72
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
} else {
_parent.gotoAndStop("SL");
}
if (_root.HIT == 1) {
_root.HIT = 0;
_parent.cc = 3;
_parent.gotoAndStop("HITL");
}
if (Key.isDown(67)) {
if (_root.atdb == 0) {
_root.attack = 1;
}
if (_root.atdb == 1) {
_root.attack = 0;
}
} else {
_root.atdb = 0;
}
if ((_root.attack == 1) && (_parent.att == 1)) {
_root.attack = 0;
_parent.gotoAndStop("ATL11");
}
if (((_root.attack == 1) && (_parent.nat > 0)) && (_parent.att == 2)) {
_root.attack = 0;
_parent.gotoAndStop("ATL2");
}
if (((_root.attack == 1) && (_parent.nat > 0)) && (_parent.att == 3)) {
_root.attack = 0;
_parent.gotoAndStop("ATL3");
}
if (((_root.attack == 1) && (_parent.nat > 0)) && (_parent.att == 4)) {
_root.attack = 0;
_parent.gotoAndStop("ATL4");
}
_parent.nat = _parent.nat - 1;
if (_parent.nat <= 0) {
_parent.nat = 0;
_parent.att = 1;
}
}
Instance of Symbol 422 MovieClip in Symbol 436 MovieClip Frame 75
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
_root.jump = 1;
} else {
_root.jumpspeed = 0;
_root.jump = 0;
}
if (_root.jumpspeed <= 0) {
_root.jump = 0;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) && (_parent.bft > 0)) {
_root.backf = 1;
}
if (_root.backf == 1) {
_root.backf = 0;
_parent.gotoAndStop("BFL");
}
if (Key.isDown(67)) {
if (_root.atdb == 0) {
_root.attack = 1;
}
if (_root.atdb == 1) {
_root.attack = 0;
}
} else {
_root.atdb = 0;
}
_root.seth._y = _root.seth._y - _root.jumpspeed;
if (_root.jump == 0) {
_root.land = 0;
_parent.gotoAndStop("FL1");
}
if (_root.attack == 1) {
_root.attack = 0;
_parent.gotoAndStop("ATL10");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x - _root.BRS;
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x + _root.BRS;
_root.mon1._x = _root.mon1._x + _root.BRS;
_root.mon2._x = _root.mon2._x + _root.BRS;
_root.mon3._x = _root.mon3._x + _root.BRS;
_root.mon4._x = _root.mon4._x + _root.BRS;
_root.mon5._x = _root.mon5._x + _root.BRS;
_root.mon6._x = _root.mon6._x + _root.BRS;
_root.mon7._x = _root.mon7._x + _root.BRS;
_root.mon8._x = _root.mon8._x + _root.BRS;
_root.mon9._x = _root.mon9._x + _root.BRS;
_root.mon10._x = _root.mon10._x + _root.BRS;
_root.lw._x = _root.lw._x + _root.BRS;
_root.rw._x = _root.rw._x + _root.BRS;
}
}
}
Instance of Symbol 423 MovieClip in Symbol 436 MovieClip Frame 76
onClipEvent (enterFrame) {
_root.jumpspeed = _root.jumpspeed + 2;
if (_root.jumpspeed > 20) {
_root.jumpspeed = 20;
}
if (Key.isDown(67)) {
if (_root.atdb == 0) {
_root.attack = 1;
}
if (_root.atdb == 1) {
_root.attack = 0;
}
} else {
_root.atdb = 0;
}
if (_root.attack == 1) {
_root.attack = 0;
_parent.gotoAndStop("ATL13");
}
_root.jumpn = 0;
if (_root.land == 1) {
_root.land = 0;
jumps = 0;
_root.fall = 0;
_parent.gotoAndStop("SL");
}
_root.seth._y = _root.seth._y + _root.jumpspeed;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x + _root.BRS;
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x - _root.BRS;
_root.mon1._x = _root.mon1._x - _root.BRS;
_root.mon2._x = _root.mon2._x - _root.BRS;
_root.mon3._x = _root.mon3._x - _root.BRS;
_root.mon4._x = _root.mon4._x - _root.BRS;
_root.mon5._x = _root.mon5._x - _root.BRS;
_root.mon6._x = _root.mon6._x - _root.BRS;
_root.mon7._x = _root.mon7._x - _root.BRS;
_root.mon8._x = _root.mon8._x - _root.BRS;
_root.mon9._x = _root.mon9._x - _root.BRS;
_root.mon10._x = _root.mon10._x - _root.BRS;
_root.lw._x = _root.lw._x - _root.BRS;
_root.rw._x = _root.rw._x - _root.BRS;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x - _root.BRS;
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x + _root.BRS;
_root.mon1._x = _root.mon1._x + _root.BRS;
_root.mon2._x = _root.mon2._x + _root.BRS;
_root.mon3._x = _root.mon3._x + _root.BRS;
_root.mon4._x = _root.mon4._x + _root.BRS;
_root.mon5._x = _root.mon5._x + _root.BRS;
_root.mon6._x = _root.mon6._x + _root.BRS;
_root.mon7._x = _root.mon7._x + _root.BRS;
_root.mon8._x = _root.mon8._x + _root.BRS;
_root.mon9._x = _root.mon9._x + _root.BRS;
_root.mon10._x = _root.mon10._x + _root.BRS;
_root.lw._x = _root.lw._x + _root.BRS;
_root.rw._x = _root.rw._x + _root.BRS;
}
}
}
Instance of Symbol 424 MovieClip in Symbol 436 MovieClip Frame 77
onClipEvent (enterFrame) {
if (Key.isDown(67)) {
if (_root.atdb == 0) {
_root.attack = 1;
}
if (_root.atdb == 1) {
_root.attack = 0;
}
} else {
_root.atdb = 0;
}
if (_root.jump == 0) {
_root.land = 0;
_root.jumpspeed = 0;
_parent.gotoAndStop("FR1");
}
_root.seth._y = _root.seth._y - _root.jumpspeed;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x + _root.BRS;
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x - _root.BRS;
_root.mon1._x = _root.mon1._x - _root.BRS;
_root.mon2._x = _root.mon2._x - _root.BRS;
_root.mon3._x = _root.mon3._x - _root.BRS;
_root.mon4._x = _root.mon4._x - _root.BRS;
_root.mon5._x = _root.mon5._x - _root.BRS;
_root.mon6._x = _root.mon6._x - _root.BRS;
_root.mon7._x = _root.mon7._x - _root.BRS;
_root.mon8._x = _root.mon8._x - _root.BRS;
_root.mon9._x = _root.mon9._x - _root.BRS;
_root.mon10._x = _root.mon10._x - _root.BRS;
_root.lw._x = _root.lw._x - _root.BRS;
_root.rw._x = _root.rw._x - _root.BRS;
}
}
}
Instance of Symbol 428 MovieClip in Symbol 436 MovieClip Frame 79
onClipEvent (enterFrame) {
_root.HIT = 0;
if (Key.isDown(90)) {
_root.def = 1;
} else {
_root.def = 0;
}
if (_root.def == 0) {
_parent.gotoAndStop("SL");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_parent.gotoAndStop("RFL");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_parent.gotoAndStop("RBL");
}
}
Instance of Symbol 429 MovieClip in Symbol 436 MovieClip Frame 80
onClipEvent (load) {
did = 0;
xx = 0;
}
onClipEvent (enterFrame) {
_root.cx = 1;
xx = xx + 1;
if (xx > 2) {
did = did + 1;
xx = 0;
if (_root.particals == "on") {
_root.attachMovie("dust2", (dust2 = dust2 + did), _root.getNextHighestDepth());
}
}
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x - (_root.BRS + 5);
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x + (_root.BRS + 5);
_root.mon1._x = _root.mon1._x + (_root.BRS + 5);
_root.mon2._x = _root.mon2._x + (_root.BRS + 5);
_root.mon3._x = _root.mon3._x + (_root.BRS + 5);
_root.mon4._x = _root.mon4._x + (_root.BRS + 5);
_root.mon5._x = _root.mon5._x + (_root.BRS + 5);
_root.mon6._x = _root.mon6._x + (_root.BRS + 5);
_root.mon7._x = _root.mon7._x + (_root.BRS + 5);
_root.mon8._x = _root.mon8._x + (_root.BRS + 5);
_root.mon9._x = _root.mon9._x + (_root.BRS + 5);
_root.mon10._x = _root.mon10._x + (_root.BRS + 5);
_root.lw._x = _root.lw._x + (_root.BRS + 5);
_root.rw._x = _root.rw._x + (_root.BRS + 5);
}
if (Key.isDown(40)) {
if (ready == 1) {
ready = 0;
_parent.nat = 0;
_parent.att = 1;
_parent.gotoAndStop("CL");
}
}
if (ready == 1) {
_root.HIT = 0;
ready = 0;
_parent.nat = 0;
_parent.att = 1;
_parent.gotoAndPlay("SL");
}
}
Instance of Symbol 430 MovieClip in Symbol 436 MovieClip Frame 81
onClipEvent (enterFrame) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x + (_root.BRS + 5);
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x - (_root.BRS + 5);
_root.mon1._x = _root.mon1._x - (_root.BRS + 5);
_root.mon2._x = _root.mon2._x - (_root.BRS + 5);
_root.mon3._x = _root.mon3._x - (_root.BRS + 5);
_root.mon4._x = _root.mon4._x - (_root.BRS + 5);
_root.mon5._x = _root.mon5._x - (_root.BRS + 5);
_root.mon6._x = _root.mon6._x - (_root.BRS + 5);
_root.mon7._x = _root.mon7._x - (_root.BRS + 5);
_root.mon8._x = _root.mon8._x - (_root.BRS + 5);
_root.mon9._x = _root.mon9._x - (_root.BRS + 5);
_root.mon10._x = _root.mon10._x - (_root.BRS + 5);
_root.lw._x = _root.lw._x - (_root.BRS + 5);
_root.rw._x = _root.rw._x - (_root.BRS + 5);
}
if (ready == 1) {
_root.HIT = 0;
ready = 0;
_parent.nat = 0;
_parent.att = 1;
_parent.gotoAndPlay("SL");
}
}
Instance of Symbol 431 MovieClip in Symbol 436 MovieClip Frame 82
onClipEvent (load) {
damage = Math.round((_root.aatt * 3) - (_root.deff * 2));
if (damage <= 0) {
damage = 1;
}
_root.HP = _root.HP - damage;
_root.hid = _root.hid + 1;
_root.attachMovie("hitfx", (hfx = hfx + _root.hid), _root.getNextHighestDepth(), {_x:_root.seth._x, _y:_root.seth._y});
_parent.ehitpower = _root.ehitpower;
_parent.ehitpowery = _root.ehitpowery;
if (_root.HP <= 0) {
_parent.gotoAndStop("DIEL");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
if (_root.jumpdb == 0) {
_root.jump = 1;
}
if (_root.jumpdb == 1) {
_root.jump = 0;
}
} else {
_root.jumpdb = 0;
}
if (_root.jump == 1) {
_parent.bft = 5;
_parent.att = 1;
_root.bft = 5;
_root.jumpspeed = 20;
_parent.gotoAndStop("JL1");
}
if (Key.isDown(39)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x + (_root.BRS / 2);
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x - (_root.BRS / 2);
_root.mon1._x = _root.mon1._x - (_root.BRS / 2);
_root.mon2._x = _root.mon2._x - (_root.BRS / 2);
_root.mon3._x = _root.mon3._x - (_root.BRS / 2);
_root.mon4._x = _root.mon4._x - (_root.BRS / 2);
_root.mon5._x = _root.mon5._x - (_root.BRS / 2);
_root.mon6._x = _root.mon6._x - (_root.BRS / 2);
_root.mon7._x = _root.mon7._x - (_root.BRS / 2);
_root.mon8._x = _root.mon8._x - (_root.BRS / 2);
_root.mon9._x = _root.mon9._x - (_root.BRS / 2);
_root.mon10._x = _root.mon10._x - (_root.BRS / 2);
_root.lw._x = _root.lw._x - (_root.BRS / 2);
_root.rw._x = _root.rw._x - (_root.BRS / 2);
}
}
if (Key.isDown(37)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x - (_root.BRS / 2);
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x + (_root.BRS / 2);
_root.mon1._x = _root.mon1._x + (_root.BRS / 2);
_root.mon2._x = _root.mon2._x + (_root.BRS / 2);
_root.mon3._x = _root.mon3._x + (_root.BRS / 2);
_root.mon4._x = _root.mon4._x + (_root.BRS / 2);
_root.mon5._x = _root.mon5._x + (_root.BRS / 2);
_root.mon6._x = _root.mon6._x + (_root.BRS / 2);
_root.mon7._x = _root.mon7._x + (_root.BRS / 2);
_root.mon8._x = _root.mon8._x + (_root.BRS / 2);
_root.mon9._x = _root.mon9._x + (_root.BRS / 2);
_root.mon10._x = _root.mon10._x + (_root.BRS / 2);
_root.lw._x = _root.lw._x + (_root.BRS / 2);
_root.rw._x = _root.rw._x + (_root.BRS / 2);
}
}
if (_root.seth._x >= _root.rw._x) {
_root.v = "r";
}
if (_root.seth._x <= _root.lw._x) {
_root.v = "l";
}
if (_root.mapmove == 0) {
if (_root.v == "l") {
_root.seth._x = _root.seth._x + _parent.ehitpower;
this._rotation = this._rotation + _parent.ehitpower;
}
if (_root.v == "r") {
_root.seth._x = _root.seth._x - _parent.ehitpower;
this._rotation = this._rotation - _parent.ehitpower;
}
}
if (_root.mapmove == 1) {
if (_root.v == "l") {
_root.stage._x = _root.stage._x - _parent.ehitpower;
this._rotation = this._rotation + _parent.ehitpower;
_root.mon1._x = _root.mon1._x - _parent.ehitpower;
_root.mon2._x = _root.mon2._x - _parent.ehitpower;
_root.mon3._x = _root.mon3._x - _parent.ehitpower;
_root.mon4._x = _root.mon4._x - _parent.ehitpower;
_root.mon5._x = _root.mon5._x - _parent.ehitpower;
_root.mon6._x = _root.mon6._x - _parent.ehitpower;
_root.mon7._x = _root.mon7._x - _parent.ehitpower;
_root.mon8._x = _root.mon8._x - _parent.ehitpower;
_root.mon9._x = _root.mon9._x - _parent.ehitpower;
_root.mon10._x = _root.mon10._x - _parent.ehitpower;
_root.lw._x = _root.lw._x - _parent.ehitpower;
_root.rw._x = _root.rw._x - _parent.ehitpower;
}
if (_root.v == "r") {
_root.stage._x = _root.stage._x + _parent.ehitpower;
this._rotation = this._rotation - _parent.ehitpower;
_root.mon1._x = _root.mon1._x + _parent.ehitpower;
_root.mon2._x = _root.mon2._x + _parent.ehitpower;
_root.mon3._x = _root.mon3._x + _parent.ehitpower;
_root.mon4._x = _root.mon4._x + _parent.ehitpower;
_root.mon5._x = _root.mon5._x + _parent.ehitpower;
_root.mon6._x = _root.mon6._x + _parent.ehitpower;
_root.mon7._x = _root.mon7._x + _parent.ehitpower;
_root.mon8._x = _root.mon8._x + _parent.ehitpower;
_root.mon9._x = _root.mon9._x + _parent.ehitpower;
_root.mon10._x = _root.mon10._x + _parent.ehitpower;
_root.lw._x = _root.lw._x + _parent.ehitpower;
_root.rw._x = _root.rw._x + _parent.ehitpower;
}
}
_root.seth._y = _root.seth._y - _parent.ehitpowery;
if (_root.land == 1) {
_root.land = 0;
_parent.gotoAndStop("SL");
}
}
onClipEvent (enterFrame) {
if ((_root.HIT == 1) && (_parent.cc == 0)) {
_root.HIT = 0;
_parent.cc = 3;
_parent.zz.play();
_parent.gotoAndStop("HITL2");
}
}
Instance of Symbol 434 MovieClip in Symbol 436 MovieClip Frame 83
onClipEvent (load) {
damage = Math.round((_root.aatt * 3) - (_root.deff * 2));
if (damage <= 0) {
damage = 1;
}
_root.HP = _root.HP - damage;
_root.hid = _root.hid + 1;
_root.attachMovie("hitfx", (hfx = hfx + _root.hid), _root.getNextHighestDepth(), {_x:_root.seth._x, _y:_root.seth._y});
_parent.ehitpower = _root.ehitpower;
_parent.ehitpowery = _root.ehitpowery;
if (_root.HP <= 0) {
_parent.gotoAndStop("DIEL");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
if (_root.jumpdb == 0) {
_root.jump = 1;
}
if (_root.jumpdb == 1) {
_root.jump = 0;
}
} else {
_root.jumpdb = 0;
}
if (_root.jump == 1) {
_parent.bft = 5;
_parent.att = 1;
_root.bft = 5;
_root.jumpspeed = 20;
_parent.gotoAndStop("JL1");
}
if (Key.isDown(39)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x + (_root.BRS / 2);
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x - (_root.BRS / 2);
_root.mon1._x = _root.mon1._x - (_root.BRS / 2);
_root.mon2._x = _root.mon2._x - (_root.BRS / 2);
_root.mon3._x = _root.mon3._x - (_root.BRS / 2);
_root.mon4._x = _root.mon4._x - (_root.BRS / 2);
_root.mon5._x = _root.mon5._x - (_root.BRS / 2);
_root.mon6._x = _root.mon6._x - (_root.BRS / 2);
_root.mon7._x = _root.mon7._x - (_root.BRS / 2);
_root.mon8._x = _root.mon8._x - (_root.BRS / 2);
_root.mon9._x = _root.mon9._x - (_root.BRS / 2);
_root.mon10._x = _root.mon10._x - (_root.BRS / 2);
_root.lw._x = _root.lw._x - (_root.BRS / 2);
_root.rw._x = _root.rw._x - (_root.BRS / 2);
}
}
if (Key.isDown(37)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x - (_root.BRS / 2);
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x + (_root.BRS / 2);
_root.mon1._x = _root.mon1._x + (_root.BRS / 2);
_root.mon2._x = _root.mon2._x + (_root.BRS / 2);
_root.mon3._x = _root.mon3._x + (_root.BRS / 2);
_root.mon4._x = _root.mon4._x + (_root.BRS / 2);
_root.mon5._x = _root.mon5._x + (_root.BRS / 2);
_root.mon6._x = _root.mon6._x + (_root.BRS / 2);
_root.mon7._x = _root.mon7._x + (_root.BRS / 2);
_root.mon8._x = _root.mon8._x + (_root.BRS / 2);
_root.mon9._x = _root.mon9._x + (_root.BRS / 2);
_root.mon10._x = _root.mon10._x + (_root.BRS / 2);
_root.lw._x = _root.lw._x + (_root.BRS / 2);
_root.rw._x = _root.rw._x + (_root.BRS / 2);
}
}
if (_root.seth._x >= _root.rw._x) {
_root.v = "r";
}
if (_root.seth._x <= _root.lw._x) {
_root.v = "l";
}
if (_root.mapmove == 0) {
if (_root.v == "l") {
_root.seth._x = _root.seth._x + _parent.ehitpower;
this._rotation = this._rotation + _parent.ehitpower;
}
if (_root.v == "r") {
_root.seth._x = _root.seth._x - _parent.ehitpower;
this._rotation = this._rotation - _parent.ehitpower;
}
}
if (_root.mapmove == 1) {
if (_root.v == "l") {
_root.stage._x = _root.stage._x - _parent.ehitpower;
this._rotation = this._rotation + _parent.ehitpower;
_root.mon1._x = _root.mon1._x - _parent.ehitpower;
_root.mon2._x = _root.mon2._x - _parent.ehitpower;
_root.mon3._x = _root.mon3._x - _parent.ehitpower;
_root.mon4._x = _root.mon4._x - _parent.ehitpower;
_root.mon5._x = _root.mon5._x - _parent.ehitpower;
_root.mon6._x = _root.mon6._x - _parent.ehitpower;
_root.mon7._x = _root.mon7._x - _parent.ehitpower;
_root.mon8._x = _root.mon8._x - _parent.ehitpower;
_root.mon9._x = _root.mon9._x - _parent.ehitpower;
_root.mon10._x = _root.mon10._x - _parent.ehitpower;
_root.lw._x = _root.lw._x - _parent.ehitpower;
_root.rw._x = _root.rw._x - _parent.ehitpower;
}
if (_root.v == "r") {
_root.stage._x = _root.stage._x + _parent.ehitpower;
this._rotation = this._rotation - _parent.ehitpower;
_root.mon1._x = _root.mon1._x + _parent.ehitpower;
_root.mon2._x = _root.mon2._x + _parent.ehitpower;
_root.mon3._x = _root.mon3._x + _parent.ehitpower;
_root.mon4._x = _root.mon4._x + _parent.ehitpower;
_root.mon5._x = _root.mon5._x + _parent.ehitpower;
_root.mon6._x = _root.mon6._x + _parent.ehitpower;
_root.mon7._x = _root.mon7._x + _parent.ehitpower;
_root.mon8._x = _root.mon8._x + _parent.ehitpower;
_root.mon9._x = _root.mon9._x + _parent.ehitpower;
_root.mon10._x = _root.mon10._x + _parent.ehitpower;
_root.lw._x = _root.lw._x + _parent.ehitpower;
_root.rw._x = _root.rw._x + _parent.ehitpower;
}
}
_root.seth._y = _root.seth._y - _parent.ehitpowery;
if (_root.land == 1) {
_root.land = 0;
_parent.gotoAndStop("SL");
}
if ((_root.HIT == 1) && (_parent.cc == 0)) {
_root.HIT = 0;
_parent.cc = 3;
_parent.zz.play();
_parent.gotoAndStop("HITL");
}
}
Instance of Symbol 435 MovieClip in Symbol 436 MovieClip Frame 84
onClipEvent (load) {
if (_root.particals == "on") {
_root.attachMovie("hitfx", (hfx = hfx + _root.hid), _root.getNextHighestDepth(), {_x:_root.seth._x, _y:_root.seth._y});
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x + (_root.BRS / 2);
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x - (_root.BRS / 2);
_root.mon1._x = _root.mon1._x - (_root.BRS / 2);
_root.mon2._x = _root.mon2._x - (_root.BRS / 2);
_root.mon3._x = _root.mon3._x - (_root.BRS / 2);
_root.mon4._x = _root.mon4._x - (_root.BRS / 2);
_root.mon5._x = _root.mon5._x - (_root.BRS / 2);
_root.mon6._x = _root.mon6._x - (_root.BRS / 2);
_root.mon7._x = _root.mon7._x - (_root.BRS / 2);
_root.mon8._x = _root.mon8._x - (_root.BRS / 2);
_root.mon9._x = _root.mon9._x - (_root.BRS / 2);
_root.mon10._x = _root.mon10._x - (_root.BRS / 2);
_root.lw._x = _root.lw._x - (_root.BRS / 2);
_root.rw._x = _root.rw._x - (_root.BRS / 2);
}
}
if (Key.isDown(37)) {
if (_root.mapmove == 0) {
_root.seth._x = _root.seth._x - (_root.BRS / 2);
}
if (_root.mapmove == 1) {
_root.stage._x = _root.stage._x + (_root.BRS / 2);
_root.mon1._x = _root.mon1._x + (_root.BRS / 2);
_root.mon2._x = _root.mon2._x + (_root.BRS / 2);
_root.mon3._x = _root.mon3._x + (_root.BRS / 2);
_root.mon4._x = _root.mon4._x + (_root.BRS / 2);
_root.mon5._x = _root.mon5._x + (_root.BRS / 2);
_root.mon6._x = _root.mon6._x + (_root.BRS / 2);
_root.mon7._x = _root.mon7._x + (_root.BRS / 2);
_root.mon8._x = _root.mon8._x + (_root.BRS / 2);
_root.mon9._x = _root.mon9._x + (_root.BRS / 2);
_root.mon10._x = _root.mon10._x + (_root.BRS / 2);
_root.lw._x = _root.lw._x + (_root.BRS / 2);
_root.rw._x = _root.rw._x + (_root.BRS / 2);
}
}
if (Key.isDown(90)) {
_root.def = 1;
} else {
_root.def = 0;
}
if (_root.seth._x >= _root.rw._x) {
_root.v = "l";
}
if (_root.seth._x <= _root.lw._x) {
_root.v = "r";
}
if (_root.mapmove == 0) {
if (_root.v == "l") {
_root.seth._x = _root.seth._x + _parent.ehitpower;
this._rotation = this._rotation + _parent.ehitpower;
}
if (_root.v == "r") {
_root.seth._x = _root.seth._x - _parent.ehitpower;
this._rotation = this._rotation - _parent.ehitpower;
}
}
if (_root.mapmove == 1) {
if (_root.v == "l") {
_root.stage._x = _root.stage._x - _parent.ehitpower;
this._rotation = this._rotation + _parent.ehitpower;
_root.mon1._x = _root.mon1._x - _parent.ehitpower;
_root.mon2._x = _root.mon2._x - _parent.ehitpower;
_root.mon3._x = _root.mon3._x - _parent.ehitpower;
_root.mon4._x = _root.mon4._x - _parent.ehitpower;
_root.mon5._x = _root.mon5._x - _parent.ehitpower;
_root.mon6._x = _root.mon6._x - _parent.ehitpower;
_root.mon7._x = _root.mon7._x - _parent.ehitpower;
_root.mon8._x = _root.mon8._x - _parent.ehitpower;
_root.mon9._x = _root.mon9._x - _parent.ehitpower;
_root.mon10._x = _root.mon10._x - _parent.ehitpower;
_root.lw._x = _root.lw._x - _parent.ehitpower;
_root.rw._x = _root.rw._x - _parent.ehitpower;
}
if (_root.v == "r") {
_root.stage._x = _root.stage._x + _parent.ehitpower;
this._rotation = this._rotation - _parent.ehitpower;
_root.mon1._x = _root.mon1._x + _parent.ehitpower;
_root.mon2._x = _root.mon2._x + _parent.ehitpower;
_root.mon3._x = _root.mon3._x + _parent.ehitpower;
_root.mon4._x = _root.mon4._x + _parent.ehitpower;
_root.mon5._x = _root.mon5._x + _parent.ehitpower;
_root.mon6._x = _root.mon6._x + _parent.ehitpower;
_root.mon7._x = _root.mon7._x + _parent.ehitpower;
_root.mon8._x = _root.mon8._x + _parent.ehitpower;
_root.mon9._x = _root.mon9._x + _parent.ehitpower;
_root.mon10._x = _root.mon10._x + _parent.ehitpower;
_root.lw._x = _root.lw._x + _parent.ehitpower;
_root.rw._x = _root.rw._x + _parent.ehitpower;
}
}
_root.seth._y = _root.seth._y - _parent.ehitpowery;
if (_root.land == 1) {
_root.land = 0;
_root.gameover = 1;
_parent.gotoAndStop("DLXL");
}
}
Symbol 441 Button
on (release) {
_root.gotoAndPlay(1);
}
Symbol 445 Button
on (release) {
nextFrame();
}
Symbol 461 Button
on (release) {
_root.gotoAndPlay(1);
}
Symbol 462 MovieClip Frame 1
stop();
Instance of Symbol 448 MovieClip in Symbol 462 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest("_root.seth")) {
_parent.nextFrame();
}
}
Instance of Symbol 448 MovieClip in Symbol 462 MovieClip Frame 4
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
_parent.nextFrame();
}
}
Instance of Symbol 448 MovieClip in Symbol 462 MovieClip Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
_parent.nextFrame();
}
}
Instance of Symbol 448 MovieClip in Symbol 462 MovieClip Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(67)) {
_parent.nextFrame();
}
}
Instance of Symbol 448 MovieClip in Symbol 462 MovieClip Frame 7
onClipEvent (enterFrame) {
if (Key.isDown(88)) {
_parent.nextFrame();
}
}
Instance of Symbol 448 MovieClip in Symbol 462 MovieClip Frame 8
onClipEvent (enterFrame) {
if (Key.isDown(90)) {
_parent.nextFrame();
}
}
Instance of Symbol 448 MovieClip in Symbol 462 MovieClip Frame 9
onClipEvent (enterFrame) {
if (Key.isDown(90) && (Key.isDown(37))) {
_parent.nextFrame();
}
}
Symbol 479 MovieClip Frame 1
gotoAndStop(_root.level);
Instance of Symbol 481 MovieClip in Symbol 486 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest("_root.screen")) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 483 MovieClip in Symbol 486 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest("_root.screen")) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 485 MovieClip in Symbol 486 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest("_root.screen")) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 491 MovieClip Frame 1
stop();
Symbol 492 MovieClip Frame 1
stop();
Instance of Symbol 491 MovieClip in Symbol 492 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest("_root.screen")) {
_parent._visible = true;
} else {
_parent._visible = false;
}
}
Symbol 494 MovieClip Frame 1
this._visible = false;
stop();
Symbol 515 MovieClip Frame 1
gotoAndStop(_root.level);
stop();
Instance of Symbol 494 MovieClip in Symbol 515 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.goal == "x") {
gotoAndStop (2);
}
if (this.hitTest("_root.seth.hitzone")) {
_root.mapmove = 1;
} else {
_root.mapmove = 0;
}
}
Instance of Symbol 511 MovieClip in Symbol 515 MovieClip Frame 14
onClipEvent (enterFrame) {
armor = 5;
sword = 5;
}
Symbol 515 MovieClip Frame 15
_root.backg = "off";
Symbol 517 MovieClip Frame 1
this._visible = false;
Symbol 531 MovieClip Frame 1
stop();
Symbol 531 MovieClip Frame 2
if (_root.gameover == 1) {
gotoAndPlay ("xx");
}
Symbol 531 MovieClip Frame 12
if (_root.endlevel == 1) {
} else {
gotoAndPlay ("dd");
}
Symbol 531 MovieClip Frame 41
vic = 1;
if (_root.gameover == 1) {
_root.gameoverx = 1;
}
Symbol 540 Button
on (release) {
_quality = "medium";
nextFrame();
}
Symbol 542 Button
on (release) {
_quality = "low";
nextFrame();
}
Symbol 544 Button
on (release) {
_quality = "high";
gotoAndStop (1);
}
Symbol 545 MovieClip Frame 1
stop();
Symbol 545 MovieClip Frame 2
stop();
Symbol 545 MovieClip Frame 3
stop();
Symbol 547 Button
on (release) {
_root.particals = "off";
nextFrame();
}
Symbol 549 Button
on (release) {
_root.particals = "on";
prevFrame();
}
Symbol 550 MovieClip Frame 1
stop();
Symbol 550 MovieClip Frame 2
stop();
Symbol 552 Button
on (release) {
_root.backg = "off";
nextFrame();
}
Symbol 554 Button
on (release) {
_root.backg = "on";
prevFrame();
}
Symbol 555 MovieClip Frame 1
stop();
Symbol 555 MovieClip Frame 2
stop();
Symbol 560 MovieClip Frame 1
this._visible = false;
Symbol 563 MovieClip Frame 1
if (_root.level == 15) {
stopAllSounds();
gotoAndPlay ("bbb");
} else {
gotoAndPlay ("ccc");
}
Symbol 563 MovieClip Frame 4
stop();
Symbol 563 MovieClip Frame 7
stop();
Symbol 590 Button
on (release) {
_root.cost = _root.mhpc;
if (_root.gold >= _root.cost) {
_root.bmaxhp = 1;
_root.attachMovie("buybox", "bb", _root.getNextHighestDepth(), {_x:250, _y:200});
gotoAndStop (2);
}
}
Symbol 592 Button
on (release) {
_root.cost = _root.fullc;
if (_root.gold >= _root.cost) {
_root.bfull = 1;
_root.attachMovie("buybox", "bb", _root.getNextHighestDepth(), {_x:250, _y:200});
gotoAndStop (2);
}
}
Symbol 597 Button
on (rollOver) {
if (_root.ssword == 1) {
_root.sword = 2;
}
if (_root.ssword == 2) {
_root.sword = 3;
}
if (_root.ssword == 3) {
_root.sword = 4;
}
if (_root.ssword == 4) {
_root.sword = 5;
}
if (_root.ssword == 5) {
_root.sword = 6;
}
}
on (rollOut) {
if (_root.ssword == 1) {
_root.sword = 1;
}
if (_root.ssword == 2) {
_root.sword = 2;
}
if (_root.ssword == 3) {
_root.sword = 3;
}
if (_root.ssword == 4) {
_root.sword = 4;
}
if (_root.ssword == 5) {
_root.sword = 5;
}
}
on (press) {
_root.cost = _root.swordc;
if (_root.gold >= _root.cost) {
if (_root.ssword == 1) {
_root.bsword = 2;
}
if (_root.ssword == 2) {
_root.bsword = 3;
}
if (_root.ssword == 3) {
_root.bsword = 4;
}
if (_root.ssword == 4) {
_root.bsword = 5;
}
if (_root.ssword == 5) {
_root.bsword = 6;
}
_root.attachMovie("buybox", "bb", _root.getNextHighestDepth(), {_x:250, _y:200});
_parent.gotoAndStop(2);
}
}
Symbol 600 MovieClip Frame 1
if (_root.ssword == 6) {
gotoAndStop (2);
}
stop();
Symbol 602 Button
on (rollOver) {
if (_root.sarmor == 1) {
_root.armor = 2;
}
if (_root.sarmor == 2) {
_root.armor = 3;
}
if (_root.sarmor == 3) {
_root.armor = 4;
}
}
on (rollOut) {
if (_root.sarmor == 1) {
_root.armor = 1;
}
if (_root.sarmor == 2) {
_root.armor = 2;
}
if (_root.sarmor == 3) {
_root.armor = 3;
}
}
on (press) {
_root.cost = _root.armorc;
if (_root.gold >= _root.cost) {
if (_root.sarmor == 1) {
_root.barmor = 2;
}
if (_root.sarmor == 2) {
_root.barmor = 3;
}
if (_root.sarmor == 3) {
_root.barmor = 4;
}
_root.attachMovie("buybox", "bb", _root.getNextHighestDepth(), {_x:250, _y:200});
gotoAndStop (2);
}
}
Symbol 604 MovieClip Frame 1
if (_root.sarmor == 4) {
gotoAndStop (2);
}
stop();
Symbol 606 Button
on (press) {
_root.cost = _root.magc;
if (_root.gold >= _root.cost) {
_root.bmagnet = 1;
_root.attachMovie("buybox", "bb", _root.getNextHighestDepth(), {_x:250, _y:200});
_parent.gotoAndStop(2);
}
}
Symbol 608 MovieClip Frame 1
if (_root.magnet == 1) {
gotoAndStop (2);
}
stop();
Symbol 611 Button
on (press) {
_root.cost = _root.viewerc;
if (_root.gold >= _root.cost) {
_root.bgobh = 1;
_root.attachMovie("buybox", "bb", _root.getNextHighestDepth(), {_x:250, _y:200});
_parent.gotoAndStop(2);
}
}
Symbol 613 MovieClip Frame 1
if (_root.hpview == 1) {
gotoAndStop (2);
}
stop();
Symbol 615 Button
on (press) {
_root.cost = _root.extrac;
if (_root.gold >= _root.cost) {
_root.bextra = 1;
_root.attachMovie("buybox", "bb", _root.getNextHighestDepth(), {_x:250, _y:200});
_parent.gotoAndStop(2);
}
}
Symbol 617 MovieClip Frame 1
if (_root.extragold == 1) {
gotoAndStop (2);
}
stop();
Symbol 618 MovieClip Frame 1
stop();
Symbol 620 Button
on (release) {
_root.kills = 0;
_root.goal = _root.goal + (_root.level * 2);
if (_root.reactiontime > 5) {
_root.reactiontime = _root.reactiontime - 1;
}
if ((_root.mosmax < 6) && (_root.level > 2)) {
_root.mosmax = _root.mosmax + 6;
}
_root.removeall = 0;
_root.level = _root.level + 1;
if (_root.level == 14) {
_root.goal = 50;
}
if (_root.level == 15) {
_root.goal = 8;
}
gotoAndPlay ("battle");
}
Symbol 627 Button
on (release) {
gotoAndPlay (1);
}
Symbol 636 Button
on (release) {
var gname = "goblinheartMT";
var gscore = _root.score;
getURL ("index.php?act=Arcade&do=newscore", "_self", "POST");
}
Symbol 637 MovieClip Frame 1
stop();