Combined Code
frame 1 {
ifFrameLoaded (32) {
gotoAndPlay(9);
}
}
movieClip 7 {
}
movieClip 10 {
}
movieClip 12 {
}
movieClip 22 {
}
frame 6 {
gotoAndPlay(1);
}
frame 7 {
stop();
}
frame 9 {
function titleScreen() {
stopAllSounds();
gotoAndPlay(15);
}
bonusClockB = 0;
}
frame 9 {
i = 0;
while (i < 5) {
++i;
}
introSong = new sound();
introSong.attachSound('recreTheme');
introSong.start(0, 2);
}
frame 9 {
stop();
}
movieClip 26 {
}
movieClip 59 {
}
instance of movieClip 59 {
onClipEvent (enterFrame) {
if (_root.bonusClockB >= 30) {
_root.titleScreen();
}
}
onClipEvent (enterFrame) {
++_root.bonusClockB;
}
}
movieClip 62 {
frame 46 {
stop();
}
}
frame 15 {
i = 0;
while (i < 5) {
++i;
}
introSong2 = new sound();
introSong2.attachSound('gameBegin');
introSong2.start(1, 999999);
}
frame 15 {
stop();
}
frame 15 {
stop();
}
movieClip 64 {
}
movieClip 66 {
}
movieClip 68 {
}
movieClip 70 {
}
movieClip 72 {
}
movieClip 74 {
}
movieClip 76 {
}
movieClip 78 {
}
movieClip 80 {
}
movieClip 82 {
}
movieClip 84 {
}
movieClip 90 {
frame 65 {
stop();
}
}
button 93 {
on (release) {
toggleHighQuality();
}
}
button 97 {
on (release) {
gotoAndPlay(19);
}
}
frame 19 {
stopAllSounds();
}
frame 19 {
stop();
}
frame 19 {
userhp = 100;
score = 0;
level = 1;
mp = 100;
}
movieClip 123 {
}
movieClip 124 {
}
movieClip 126 {
}
movieClip 128 {
}
movieClip 129 {
}
movieClip 133 {
}
movieClip 143 {
}
instance userhp of movieClip 143 {
onClipEvent (enterFrame) {
this._width = _root.userhp;
}
}
movieClip 145 {
}
instance magic of movieClip 143 {
onClipEvent (enterFrame) {
this._width = _root.mp;
}
}
button 149 {
on (release) {
gotoAndPlay(20);
}
on (press) {
round1 = new Sound();
round1.attachSound('lv1');
round1.start(1, 99999);
}
}
frame 20 {
userhp = 100;
score = 0;
level = 1;
mp = 100;
}
frame 20 {
function Stage2() {
gotoAndPlay(25);
}
function dieNow() {
if (_root.userhp <= 0) {
gotoAndPlay(28);
}
}
cpu1StartPos = 600;
cpu2StartPos = 0;
cpu1Lives = 10;
cpuhp2 = 50;
cpuhp3 = 50;
cpuhp5 = 50;
cpuhp4 = 50;
cpuhp6 = 50;
cpuhp7 = 50;
cpuhp8 = 50;
cpuhp9 = 50;
cpuhp10 = 50;
cpuhp1 = 50;
still = false;
still2 = false;
still3 = false;
still4 = false;
still5 = false;
still6 = false;
still7 = false;
still8 = false;
still9 = false;
still10 = false;
touching = false;
touching2 = false;
attacking = false;
restart = false;
restart2 = false;
restart3 = false;
restart4 = false;
restart5 = false;
restart6 = false;
restart7 = false;
restart8 = false;
restart9 = false;
restart10 = false;
alive = true;
alive2 = true;
alive3 = true;
alive4 = true;
alive5 = true;
alive6 = true;
alive7 = true;
alive8 = true;
alive9 = true;
alive10 = true;
count = 0;
count2 = 0;
count3 = 0;
count4 = 0;
count5 = 0;
count6 = 0;
count7 = 0;
count8 = 0;
count9 = 0;
count10 = 0;
moreEnemies = new Array();
moreEnemies[1] = false;
moreEnemies[2] = false;
moreEnemies[3] = false;
moreEnemies[5] = false;
moreEnemies[6] = false;
moreEnemies[7] = false;
moreEnemies[8] = false;
moreEnemies[9] = false;
moreEnemies[10] = false;
combo = 0;
magicbonus = 0;
lifebonus = 0;
stageclearbonus = 1000;
kills = 0;
stageDone = false;
bonusClock = 0;
deathTimer = 0;
deathTimer2 = 0;
deathTimer3 = 0;
deathTimer4 = 0;
deathTimer5 = 0;
deathTimer6 = 0;
deathTimer7 = 0;
deathTimer8 = 0;
deathTimer9 = 0;
deathTimer10 = 0;
}
frame 20 {
stop();
}
instance mainground of movieClip 129 {
onClipEvent (enterFrame) {
if (Key.isDown(39) && _root.walking == true && _root.stageDone == false) {
this._x -= 15;
}
}
onClipEvent (enterFrame) {
if (this._x <= -600) {
this._x = ground2._x - ground2._width;
}
}
onClipEvent (enterFrame) {
i = 0;
while (i < 5) {
++i;
}
if (this._x < 0) {
}
ground.duplicateMovieClip('ground2', 100);
ground2._x = ground._x + ground._width;
}
}
movieClip 153 {
}
instance of movieClip 153 {
onClipEvent (enterFrame) {
if (this._x > 600) {
this._visible = false;
} else {
if (this._x <= -200) {
_root.moreEnemies[3] = true;
_root.moreEnemies[4] = true;
this._visible = false;
} else {
this._visible = true;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) && _root.walking == true && _root.moreEnemies[2] == true) {
this._x -= 10;
}
}
onClipEvent (enterFrame) {
if (_root.cpuhp6 < 0 && _root.cpuhp7 < 0 && _root.cpuhp8 < 0) {
_root.moreEnemies[8] = true;
}
}
}
movieClip 161 {
}
movieClip 162 {
}
instance of movieClip 162 {
onClipEvent (enterFrame) {
if (this._x > 600) {
this._visible = false;
} else {
if (this._x <= -200) {
_root.moreEnemies[1] = true;
_root.moreEnemies[2] = true;
this._visible = false;
} else {
this._visible = true;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) && _root.walking == true) {
this._x -= 10;
}
}
}
movieClip 177 {
}
movieClip 178 {
}
instance wood of movieClip 178 {
onClipEvent (enterFrame) {
if (this._x > 600) {
this._visible = false;
} else {
if (this._x <= -200) {
_root.moreEnemies[5] = true;
_root.moreEnemies[6] = true;
_root.moreEnemies[7] = true;
_root.moreEnemies[8] = true;
this._visible = false;
} else {
this._visible = true;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) && _root.walking == true && _root.moreEnemies[4] == true) {
this._x -= 10;
}
}
}
movieClip 201 {
}
movieClip 228 {
}
movieClip 229 {
frame 2 {
_root.cpudamage = false;
}
frame 5 {
gotoAndPlay(1);
}
frame 6 {
_root.attacking = true;
}
frame 9 {
gotoAndPlay(1);
}
frame 10 {
_root.cpudamage = true;
}
frame 12 {
gotoAndPlay(1);
}
frame 17 {
gotoAndPlay(1);
}
frame 17 {
gotoAndPlay(14);
}
frame 18 {
_root.attacking = true;
}
frame 21 {
gotoAndPlay(1);
}
frame 21 {
gotoAndPlay(14);
}
frame 22 {
_root.cpudamage = true;
}
frame 25 {
gotoAndPlay(1);
}
frame 25 {
gotoAndPlay(14);
}
frame 25 {
gotoAndPlay(14);
}
frame 26 {
_root.alive2 = false;
nextFrame();
}
frame 30 {
stop();
}
}
instance cpu3 of movieClip 229 {
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp3 -= 5;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.restart3 == false) {
punch = new sound();
punch.attachSound('Smack');
punch.start(0, 1);
_root.score += 10;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.user._x < this._x) {
this._x += 20;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
++_root.count3;
}
}
onClipEvent (enterFrame) {
if (_root.count3 > 15) {
this.gotoAndPlay('attack');
}
}
onClipEvent (enterFrame) {
if (_root.count3 > 16) {
_root.count3 -= 16;
}
}
onClipEvent (enterFrame) {
if (_root.still3 == false) {
this._x -= 10;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
_root.still3 = true;
} else {
_root.still3 = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpuhp3 <= 0) {
_root.restart3 = true;
_root.alive3 = false;
++_root.deathTimer3;
}
}
onClipEvent (enterFrame) {
if (_root.restart3 == true && _root.deathTimer3 <= 2) {
this.gotoAndPlay('voided');
this._alpha -= 85;
--this._alpha;
++_root.kills;
}
}
onClipEvent (enterFrame) {
if (_root.restart3 == true) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpu3.hit.hitTest(_root.user) && _root.alive3 == true) {
_root.userhp -= 3;
_root.user.gotoAndPlay('damage');
}
}
onClipEvent (enterFrame) {
if (_root.super2.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp3 -= 5;
}
}
}
movieClip 254 {
}
movieClip 272 {
frame 1 {
_root.cpudamage = false;
}
frame 5 {
gotoAndPlay(1);
}
frame 6 {
_root.attacking = true;
}
frame 6 {
_root.cpudamage = false;
}
frame 7 {
_root.attacking = false;
}
frame 9 {
gotoAndPlay(1);
}
frame 10 {
_root.cpudamage = true;
}
frame 12 {
gotoAndPlay(1);
}
frame 13 {
_root.right = false;
}
frame 13 {
_root.cpudamage = false;
}
frame 13 {
if (_root.count > 10 && (_root.user.hitTest(_root.cpu) && _root.attacking == false) && _root.right == false && _root.user._x >= _root.cpu._x) {
_root.cpu.gotoAndPlay('attack2');
}
}
frame 17 {
gotoAndPlay(13);
}
frame 18 {
_root.attacking = true;
}
frame 18 {
_root.cpudamage = false;
}
frame 20 {
_root.attacking = false;
}
frame 21 {
gotoAndPlay(13);
}
frame 22 {
_root.cpudamage = true;
}
frame 25 {
gotoAndPlay(13);
}
frame 25 {
_root.right = false;
}
frame 27 {
_root.sleep = true;
_root.alive = false;
}
frame 32 {
stop();
}
}
instance cpu4 of movieClip 272 {
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp4 -= 2;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.restart4 == false) {
punch = new sound();
punch.attachSound('Smack');
punch.start(0, 1);
_root.score += 10;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.user._x < this._x) {
this._x -= 20;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
++_root.count4;
}
}
onClipEvent (enterFrame) {
if (_root.count4 > 15) {
this.gotoAndPlay('attack');
}
}
onClipEvent (enterFrame) {
if (_root.count4 > 16) {
_root.count4 -= 16;
}
}
onClipEvent (enterFrame) {
if (_root.still4 == false && _root.moreEnemies[1] == true) {
this._x += 15;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
_root.still4 = true;
} else {
_root.still4 = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpuhp4 <= 0) {
_root.restart4 = true;
_root.alive4 = false;
++_root.deathTimer4;
}
}
onClipEvent (enterFrame) {
if (_root.restart4 == true && _root.deathTimer4 <= 2) {
this.gotoAndPlay('voided');
this._alpha -= 85;
--this._alpha;
++_root.kills;
}
}
onClipEvent (enterFrame) {
if (_root.restart4 == true) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpu4.hit.hitTest(_root.user) && _root.alive4 == true) {
_root.userhp -= 5;
_root.user.gotoAndPlay('damage2');
}
}
onClipEvent (enterFrame) {
if (_root.super2.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp4 -= 5;
}
}
}
instance cpu5 of movieClip 272 {
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp5 -= 2;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.restart5 == false) {
punch = new sound();
punch.attachSound('Smack');
punch.start(0, 1);
_root.score += 10;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.user._x < this._x) {
this._x += 20;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
++_root.count5;
}
}
onClipEvent (enterFrame) {
if (_root.count5 > 15) {
this.gotoAndPlay('attack');
}
}
onClipEvent (enterFrame) {
if (_root.count5 > 16) {
_root.count5 -= 16;
}
}
onClipEvent (enterFrame) {
if (_root.still5 == false && _root.moreEnemies[2] == true) {
this._x -= 4;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
_root.still5 = true;
} else {
_root.still5 = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpuhp5 <= 0) {
_root.restart5 = true;
_root.alive5 = false;
++_root.deathTimer5;
}
}
onClipEvent (enterFrame) {
if (_root.restart5 == true && _root.deathTimer5 <= 2) {
this.gotoAndPlay('voided');
this._alpha -= 85;
--this._alpha;
++_root.kills;
}
}
onClipEvent (enterFrame) {
if (_root.restart5 == true) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.cpu5.hit.hitTest(_root.user) && _root.alive5 == true) {
_root.userhp -= 5;
_root.user.gotoAndPlay('damage');
}
}
onClipEvent (enterFrame) {
if (_root.super2.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp5 -= 5;
}
}
}
instance cpu2 of movieClip 272 {
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp2 -= 5;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.restart2 == false) {
punch = new sound();
punch.attachSound('Smack');
punch.start(0, 1);
_root.score += 10;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.user._x < this._x) {
this._x += 20;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
++_root.count2;
}
}
onClipEvent (enterFrame) {
if (_root.count2 > 15) {
this.gotoAndPlay('attack');
}
}
onClipEvent (enterFrame) {
if (_root.count2 > 16) {
_root.count2 -= 16;
}
}
onClipEvent (enterFrame) {
if (_root.still2 == false) {
this._x += 15;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
_root.still2 = true;
} else {
_root.still2 = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpuhp2 <= 0) {
_root.restart2 = true;
_root.alive2 = false;
++_root.deathTimer2;
}
}
onClipEvent (enterFrame) {
if (_root.restart2 == true && _root.deathTimer2 <= 2) {
this.gotoAndPlay('voided');
this._alpha -= 85;
--this._alpha;
++_root.kills;
}
}
onClipEvent (enterFrame) {
if (_root.restart2 == true) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpu2.hit.hitTest(_root.user) && _root.restart2 == false) {
_root.userhp -= 3;
_root.user.gotoAndPlay('damage2');
}
}
onClipEvent (enterFrame) {
if (_root.super2.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp2 -= 5;
}
}
onClipEvent (enterFrame) {
trace(_root.kills);
}
}
instance cpu6 of movieClip 229 {
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp6 -= 5;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.restart6 == false) {
punch = new sound();
punch.attachSound('Smack');
punch.start(0, 1);
_root.score += 10;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.user._x < this._x) {
this._x += 20;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
++_root.count6;
}
}
onClipEvent (enterFrame) {
if (_root.count6 > 15) {
this.gotoAndPlay('attack');
}
}
onClipEvent (enterFrame) {
if (_root.count6 > 16) {
_root.count6 -= 16;
}
}
onClipEvent (enterFrame) {
if (_root.still6 == false && _root.moreEnemies[5] == true) {
this._x += 10;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
_root.still6 = true;
} else {
_root.still6 = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpuhp6 <= 0) {
_root.restart6 = true;
_root.alive6 = false;
++_root.deathTimer6;
}
}
onClipEvent (enterFrame) {
if (_root.restart6 == true && _root.deathTimer6 <= 2) {
this.gotoAndPlay('voided');
this._alpha -= 85;
--this._alpha;
++_root.kills;
}
}
onClipEvent (enterFrame) {
if (_root.restart6 == true) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpu6.hit.hitTest(_root.user) && _root.alive6 == true) {
_root.userhp -= 3;
_root.user.gotoAndPlay('damage');
}
}
onClipEvent (enterFrame) {
if (_root.super2.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp6 -= 5;
}
}
}
instance cpu7 of movieClip 272 {
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp7 -= 2;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.restart7 == false) {
punch = new sound();
punch.attachSound('Smack');
punch.start(0, 1);
_root.score += 10;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.user._x < this._x) {
this._x -= 20;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
++_root.count7;
}
}
onClipEvent (enterFrame) {
if (_root.count7 > 15) {
this.gotoAndPlay('attack');
}
}
onClipEvent (enterFrame) {
if (_root.count7 > 16) {
_root.count7 -= 16;
}
}
onClipEvent (enterFrame) {
if (_root.still7 == false && _root.moreEnemies[7] == true) {
this._x += 14;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
_root.still7 = true;
} else {
_root.still7 = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpuhp7 <= 0) {
_root.restart7 = true;
_root.alive7 = false;
++_root.deathTimer7;
}
}
onClipEvent (enterFrame) {
if (_root.restart7 == true && _root.deathTimer7 <= 2) {
this.gotoAndPlay('voided');
this._alpha -= 85;
--this._alpha;
++_root.kills;
}
}
onClipEvent (enterFrame) {
if (_root.restart7 == true) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpu7.hit.hitTest(_root.user) && _root.alive7 == true) {
_root.userhp -= 5;
_root.user.gotoAndPlay('damage2');
}
}
onClipEvent (enterFrame) {
if (_root.super2.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp7 -= 5;
}
}
}
instance cpu8 of movieClip 229 {
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp8 -= 5;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.restart8 == false) {
punch = new sound();
punch.attachSound('Smack');
punch.start(0, 1);
_root.score += 10;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.user._x < this._x) {
this._x += 20;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
++_root.count8;
}
}
onClipEvent (enterFrame) {
if (_root.count8 > 15) {
this.gotoAndPlay('attack');
}
}
onClipEvent (enterFrame) {
if (_root.count8 > 16) {
_root.count8 -= 16;
}
}
onClipEvent (enterFrame) {
if (_root.still8 == false && _root.moreEnemies[8] == true) {
this._x -= 10;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
_root.still8 = true;
} else {
_root.still8 = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpuhp8 <= 0) {
_root.restart8 = true;
_root.alive8 = false;
++_root.deathTimer8;
}
}
onClipEvent (enterFrame) {
if (_root.restart8 == true && _root.deathTimer8 <= 2) {
this.gotoAndPlay('voided');
this._alpha -= 85;
--this._alpha;
++_root.kills;
}
}
onClipEvent (enterFrame) {
if (_root.restart8 == true) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpu8.hit.hitTest(_root.user) && _root.alive8 == true) {
_root.userhp -= 3;
_root.user.gotoAndPlay('damage');
}
}
onClipEvent (enterFrame) {
if (_root.super2.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp8 -= 5;
}
}
}
button 277 {
on (keyPress '<Right>') {
gotoAndPlay(2);
}
on (keyPress '<Left>') {
gotoAndPlay(51);
}
on (keyPress 'z') {
gotoAndPlay(10);
}
on (keyPress '<Up>') {
gotoAndPlay(103);
}
}
movieClip 279 {
}
movieClip 283 {
}
button 284 {
on (keyPress 'z') {
gotoAndPlay(17);
}
}
button 286 {
on (keyPress 'z') {
gotoAndPlay(29);
}
}
movieClip 288 {
}
button 289 {
on (keyPress 'z') {
gotoAndPlay(37);
}
}
button 290 {
on (keyPress 'z') {
gotoAndPlay(10);
}
}
button 292 {
on (keyPress '<Right>') {
gotoAndPlay(2);
}
on (keyPress '<Left>') {
gotoAndPlay(51);
}
on (keyPress 'z') {
gotoAndPlay(60);
}
on (keyPress '<Up>') {
gotoAndPlay(127);
}
}
button 293 {
on (keyPress 'z') {
gotoAndPlay(67);
}
}
button 294 {
on (keyPress 'z') {
gotoAndPlay(79);
}
}
button 295 {
on (keyPress 'z') {
gotoAndPlay(87);
}
}
button 296 {
on (release) {
gotoAndPlay(60);
}
}
button 297 {
on (keyPress '<Right>') {
gotoAndPlay(2);
}
on (keyPress '<Left>') {
gotoAndPlay(51);
}
on (keyPress 'z') {
gotoAndPlay(10);
}
on (keyPress '<Up>') {
gotoAndPlay(2);
}
on (keyPress '<Down>') {
gotoAndPlay(2);
}
}
button 298 {
on (keyPress '<Right>') {
gotoAndPlay(1);
}
on (keyPress '<Left>') {
gotoAndPlay(1);
}
on (keyPress 'z') {
gotoAndPlay(1);
}
on (keyPress '<Up>') {
gotoAndPlay(1);
}
on (keyPress '<Down>') {
gotoAndPlay(1);
}
}
movieClip 299 {
}
button 300 {
on (keyPress 'z') {
gotoAndPlay(114);
}
}
button 301 {
on (keyPress '<Right>') {
gotoAndPlay(1);
}
on (keyPress '<Left>') {
gotoAndPlay(1);
}
on (keyPress 'z') {
gotoAndPlay(1);
}
on (keyPress '<Up>') {
gotoAndPlay(1);
}
on (keyPress '<Down>') {
gotoAndPlay(1);
}
}
movieClip 302 {
}
button 303 {
on (keyPress 'z') {
gotoAndPlay(138);
}
}
button 304 {
on (keyPress '<Right>') {
gotoAndPlay(1);
}
on (keyPress '<Left>') {
gotoAndPlay(1);
}
on (keyPress 'z') {
gotoAndPlay(1);
}
on (keyPress '<Up>') {
gotoAndPlay(1);
}
}
movieClip 305 {
}
button 306 {
on (keyPress '<Right>') {
gotoAndPlay(150);
}
on (keyPress '<Left>') {
gotoAndPlay(166);
}
on (keyPress 'z') {
gotoAndPlay(157);
}
}
movieClip 310 {
}
button 312 {
on (keyPress '<Right>') {
gotoAndPlay(150);
}
on (keyPress '<Left>') {
gotoAndPlay(166);
}
on (keyPress 'z') {
gotoAndPlay(173);
}
}
movieClip 318 {
frame 1 {
stop();
}
frame 1 {
_root.left = false;
_root.right = true;
}
frame 1 {
_root.walking = false;
_root.attacking = false;
_root.combo1._visible = false;
_root.combo1.combo = 0;
}
frame 2 {
_root.walking = true;
_root.attacking = false;
_root.combo1._visible = false;
_root.combo1.combo = 0;
}
frame 8 {
gotoAndPlay(1);
}
frame 10 {
_root.attacking = true;
}
frame 16 {
gotoAndPlay(1);
}
frame 17 {
_root.attacking = true;
}
frame 28 {
gotoAndPlay(1);
}
frame 29 {
_root.attacking = true;
}
frame 36 {
gotoAndPlay(1);
}
frame 37 {
_root.attacking = true;
}
frame 44 {
gotoAndPlay(1);
}
frame 50 {
gotoAndStop(1);
}
frame 51 {
stop();
}
frame 51 {
_root.left = true;
}
frame 51 {
_root.walking = false;
_root.attacking = false;
_root.combo1._visible = false;
_root.combo1.combo = 0;
}
frame 52 {
_root.walking = true;
_root.facing = left;
_root.attacking = false;
_root.combo1._visible = false;
_root.combo1.combo = 0;
}
frame 58 {
gotoAndPlay(51);
}
frame 60 {
_root.attacking = true;
_root.facing = left;
}
frame 66 {
gotoAndPlay(51);
}
frame 67 {
_root.facing = left;
_root.attacking = true;
}
frame 78 {
gotoAndPlay(51);
}
frame 79 {
_root.facing = left;
_root.attacking = true;
}
frame 86 {
gotoAndPlay(51);
}
frame 87 {
_root.facing = left;
_root.attacking = true;
}
frame 93 {
if (this.hitTest(_root.cpu1) && _root.cpu1._visible) {
++_root.combo1.combo;
_root.combo1._visible = true;
} else {
if (this.hitTest(_root.cpu2) && _root.cpu2._visible) {
++_root.combo1.combo;
_root.combo1._visible = true;
} else {
if (this.hitTest(_root.cpu3) && _root.cpu3_visible) {
++_root.combo1.combo;
_root.combo1._visible = true;
} else {
if (this.hitTest(_root.cpu4) && _root.cpu4_visible) {
++_root.combo1.combo;
_root.combo1._visible = true;
} else {
if (this.hitTest(_root.cpu5) && _root.cpu5._visible) {
++_root.combo1.combo;
_root.combo1._visible = true;
} else {
if (this.hitTest(_root.cpu6) && _root.cpu6_visible) {
++_root.combo1.combo;
_root.combo1._visible = true;
} else {
if (this.hitTest(_root.cpu7) && _root.cpu17_visible) {
++_root.combo1.combo;
_root.combo1._visible = true;
} else {
if (this.hitTest(_root.cpu8) && _root.cpu8._visible) {
++_root.combo1.combo;
_root.combo1._visible = true;
} else {
if (this.hitTest(_root.cpu9) && _root.cpu9._visible) {
++_root.combo1.combo;
_root.combo1._visible = true;
} else {
if (this.hitTest(_root.cpu10) && _root.cpu19_visible) {
++_root.combo1.combo;
_root.combo1._visible = true;
}
}
}
}
}
}
}
}
}
}
}
frame 96 {
gotoAndPlay(51);
}
frame 97 {
_root.facing = left;
_root.attacking = true;
}
frame 100 {
gotoAndStop(51);
}
frame 113 {
gotoAndPlay(2);
}
frame 118 {
gotoAndPlay(2);
}
frame 137 {
gotoAndPlay(52);
}
frame 142 {
gotoAndPlay(52);
}
frame 143 {
_root.walking = false;
}
frame 143 {
stop();
}
frame 150 {
_root.walking = false;
}
frame 150 {
_root.havingSword = true;
}
frame 150 {
stop();
}
frame 151 {
_root.walking = true;
}
frame 155 {
gotoAndPlay(150);
}
frame 157 {
_root.walking = false;
}
frame 157 {
_root.havingSword = true;
}
frame 165 {
gotoAndPlay(150);
}
frame 166 {
_root.walking = false;
}
frame 166 {
_root.havingSword = true;
}
frame 166 {
stop();
}
frame 167 {
_root.walking = true;
}
frame 171 {
gotoAndPlay(166);
}
frame 173 {
_root.walking = false;
}
frame 173 {
_root.havingSword = true;
}
frame 181 {
gotoAndPlay(166);
}
frame 182 {
_root.walking = false;
}
frame 187 {
gotoAndPlay(150);
}
frame 188 {
_root.walking = false;
}
frame 193 {
gotoAndPlay(166);
}
}
instance user of movieClip 318 {
onClipEvent (enterFrame) {
if (_root.walking == true && Key.isDown(39)) {
this._x += 15;
}
}
onClipEvent (enterFrame) {
if (_root.walking == true && Key.isDown(37)) {
this._x -= 15;
}
}
onClipEvent (enterFrame) {
if (this._x <= _root.cpu2._x && _root.restart2 == false) {
this._x += 50;
}
}
onClipEvent (enterFrame) {
if (this._x <= _root.cpu6._x && _root.restart6 == false) {
this._x += 50;
}
}
onClipEvent (enterFrame) {
if (this._x <= _root.cpu7._x && _root.restart7 == false) {
this._x += 50;
}
}
onClipEvent (enterFrame) {
if (this._x <= _root.cpu4._x && _root.restart4 == false) {
this._x += 50;
}
}
onClipEvent (enterFrame) {
if (this._x >= _root.cpu5._x && _root.restart5 == false) {
this._x -= 50;
}
}
onClipEvent (enterFrame) {
if (this._x >= _root.cpu3._x && _root.restart3 == false) {
this._x -= 50;
}
}
onClipEvent (enterFrame) {
if (this._x >= _root.cpu8._x && _root.restart8 == false) {
this._x -= 50;
}
}
onClipEvent (enterFrame) {
if (_root.user._x >= 350) {
_root.user._x = 350;
} else {
if (_root.user._x <= 50) {
_root.user._x = 50;
}
}
}
onClipEvent (enterFrame) {
if (_root.userhp >= 100) {
_root.userhp = 100;
} else {
if (_root.mp >= 100) {
_root.mp = 100;
}
}
}
onClipEvent (enterFrame) {
if (_root.score >= 5000 && _root.score <= 9999) {
_root.level = 2;
}
}
onClipEvent (enterFrame) {
_root.dieNow();
}
}
movieClip 344 {
frame 1 {
stop();
}
frame 15 {
_root.userhp += 50;
_root.mp -= 30;
}
frame 16 {
gotoAndStop(1);
}
}
instance heal of movieClip 344 {
onClipEvent (enterFrame) {
if (_root.mp >= 30 && Key.isDown(32)) {
this.gotoAndPlay('heal');
}
}
onClipEvent (enterFrame) {
this._x = _root.user._x;
}
}
movieClip 346 {
}
movieClip 348 {
frame 1 {
stop();
}
frame 9 {
_root.mp -= 50;
}
frame 51 {
gotoAndStop(1);
}
}
instance super2 of movieClip 348 {
onClipEvent (enterFrame) {
if (_root.mp >= 50 && Key.isDown(17) && _root.level == 2) {
this.gotoAndPlay('superattack');
}
}
onClipEvent (enterFrame) {
this._x = _root.user._x;
}
}
movieClip 350 {
}
instance of movieClip 350 {
onClipEvent (enterFrame) {
if (Key.isDown(Key.Right) && _root.walking == true) {
this._x -= 10;
}
}
onClipEvent (enterFrame) {
if (this._x <= 0) {
this._visible = false;
}
}
}
movieClip 352 {
}
instance skull of movieClip 352 {
onClipEvent (enterFrame) {
if (Key.isDown(39) && _root.walking == true && _root.moreEnemies[4] == true) {
this._x -= 10;
}
}
}
movieClip 354 {
}
movieClip 355 {
}
instance of movieClip 355 {
onClipEvent (enterFrame) {
if (Key.isDown(39) && _root.walking == true && _root.moreEnemies[4] == true) {
this._x -= 10;
}
}
}
instance of movieClip 26 {
onClipEvent (enterFrame) {
if (_root.kills >= 14) {
_root.user.gotoAndStop('frozen');
this._alpha = 75;
_root.stageDone = true;
++_root.bonusClock;
}
}
onClipEvent (enterFrame) {
if (_root.stageDone == true && _root.bonusClock == 1) {
_root.magicbonus = _root.mp * 10;
_root.lifebonus = _root.userhp * 10;
_root.score += _root.magicbonus + _root.lifebonus + _root.stageclearbonus;
}
}
onClipEvent (enterFrame) {
if (_root.bonusClock >= 50) {
_root.stage2();
}
}
}
movieClip 357 {
}
instance of movieClip 357 {
onClipEvent (enterFrame) {
if (_root.stageDone == true) {
this._visible = true;
this._alpha = 100;
} else {
this._visible = false;
this._alpha = 0;
}
}
onClipEvent (enterFrame) {
_root.magicbonus2._visible = this._visible;
_root.magicbonus2._alpha = this._alpha;
_root.magicbonus2._y = this._y;
}
}
movieClip 360 {
}
instance of movieClip 360 {
onClipEvent (enterFrame) {
if (_root.stageDone == true) {
this._visible = true;
this._alpha = 100;
} else {
this._visible = false;
this._alpha = 0;
}
}
onClipEvent (enterFrame) {
_root.stagebonus._visible = this._visible;
_root.stagebonus._alpha = this._alpha;
_root.stagebonus._y = this._y;
}
}
movieClip 362 {
}
instance of movieClip 362 {
onClipEvent (enterFrame) {
if (_root.stageDone == true) {
this._visible = true;
this._alpha = 100;
} else {
this._visible = false;
this._alpha = 0;
}
}
onClipEvent (enterFrame) {
_root.lifebonus2._visible = this._visible;
_root.lifebonus2._alpha = this._alpha;
_root.lifebonus2._y = this._y;
}
}
frame 25 {
stop();
}
frame 25 {
stopAllSounds();
}
movieClip 368 {
}
movieClip 370 {
}
movieClip 371 {
}
button 376 {
on (release) {
gotoAndPlay(27);
}
on (press) {
round2 = new Sound();
round2.attachSound('lv2');
round2.start(1, 99999);
}
}
frame 26 {
stop();
}
button 379 {
on (release) {
gotoAndPlay(27);
}
}
frame 27 {
stop();
}
frame 27 {
function playAgain() {
function dieNow() {
if (_root.userhp <= 0) {
gotoAndPlay(28);
}
}
gotoAndPlay(32);
}
cpu1StartPos = 600;
cpu2StartPos = 0;
cpu1Lives = 10;
cpuhp2 = 50;
cpuhp3 = 50;
cpuhp5 = 50;
cpuhp4 = 50;
cpuhp6 = 50;
cpuhp7 = 50;
cpuhp8 = 50;
cpuhp9 = 50;
cpuhp10 = 80;
cpuhp1 = 50;
cpuhp11 = 80;
cpuhp12 = 80;
cpuhp13 = 50;
cpuhp14 = 80;
cpuhp15 = 50;
still = false;
still2 = false;
still3 = false;
still4 = false;
still5 = false;
still6 = false;
still7 = false;
still8 = false;
still9 = false;
still10 = false;
touching = false;
touching2 = false;
attacking = false;
restart = false;
restart2 = false;
restart3 = false;
restart4 = false;
restart5 = false;
restart6 = false;
restart7 = false;
restart8 = false;
restart9 = false;
restart10 = false;
alive = true;
alive2 = true;
alive3 = true;
alive4 = true;
alive5 = true;
alive6 = true;
alive7 = true;
alive8 = true;
alive9 = true;
alive10 = true;
count = 0;
count2 = 0;
count3 = 0;
count4 = 0;
count5 = 0;
count6 = 0;
count7 = 0;
count8 = 0;
count9 = 0;
count10 = 0;
moreEnemies = new Array();
moreEnemies[1] = false;
moreEnemies[2] = false;
moreEnemies[3] = false;
moreEnemies[5] = false;
moreEnemies[6] = false;
moreEnemies[7] = false;
moreEnemies[8] = false;
moreEnemies[9] = false;
moreEnemies[10] = false;
moreEnemies[11] = false;
moreEnemies[12] = false;
moreEnemies[13] = false;
moreEnemies[14] = false;
moreEnemies[15] = false;
combo = 0;
magicbonus = 0;
lifebonus = 0;
stageclearbonus = 1000;
kills = 0;
stageDone = false;
bonusClock = 0;
deathTimer = 0;
deathTimer2 = 0;
deathTimer3 = 0;
deathTimer4 = 0;
deathTimer5 = 0;
deathTimer6 = 0;
deathTimer7 = 0;
deathTimer8 = 0;
deathTimer9 = 0;
deathTimer10 = 0;
havingSword = false;
}
instance mainground of movieClip 129 {
onClipEvent (enterFrame) {
if (Key.isDown(39) && _root.walking == true && _root.stageDone == false) {
this._x -= 15;
}
}
onClipEvent (enterFrame) {
if (this._x <= -600) {
this._x = ground2._x - ground2._width;
}
}
onClipEvent (enterFrame) {
i = 0;
while (i < 5) {
++i;
}
if (this._x < 0) {
}
ground.duplicateMovieClip('ground2', 100);
ground2._x = ground._x + ground._width;
}
}
movieClip 382 {
}
instance of movieClip 382 {
onClipEvent (enterFrame) {
if (this._x > 600) {
this._visible = false;
} else {
if (this._x <= -200) {
_root.moreEnemies[1] = true;
_root.moreEnemies[2] = true;
_root.moreEnemies[9] = true;
this._visible = false;
} else {
this._visible = true;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) && _root.walking == true) {
this._x -= 10;
}
}
}
instance maintrees of movieClip 371 {
onClipEvent (enterFrame) {
if (Key.isDown(39) && _root.walking == true && _root.stageDone == false) {
this._x -= 15;
}
}
onClipEvent (enterFrame) {
if (this._x <= -600) {
this._x = ground2._x - ground2._width;
}
}
onClipEvent (enterFrame) {
i = 0;
while (i < 5) {
++i;
}
if (this._x < 0) {
}
trees.duplicateMovieClip('trees2', 100);
trees2._x += trees._width;
}
}
instance cpu3 of movieClip 229 {
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp3 -= 5;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.restart3 == false) {
punch = new sound();
punch.attachSound('Smack');
punch.start(0, 1);
_root.score += 10;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.user._x < this._x) {
this._x += 20;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
++_root.count3;
}
}
onClipEvent (enterFrame) {
if (_root.count3 > 15) {
this.gotoAndPlay('attack');
}
}
onClipEvent (enterFrame) {
if (_root.count3 > 16) {
_root.count3 -= 16;
}
}
onClipEvent (enterFrame) {
if (_root.still3 == false) {
this._x -= 10;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
_root.still3 = true;
} else {
_root.still3 = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpuhp3 <= 0) {
_root.restart3 = true;
_root.alive3 = false;
++_root.deathTimer3;
}
}
onClipEvent (enterFrame) {
if (_root.restart3 == true && _root.deathTimer3 <= 2) {
this.gotoAndPlay('voided');
this._alpha -= 85;
--this._alpha;
++_root.kills;
}
}
onClipEvent (enterFrame) {
if (_root.restart3 == true) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpu3.hit.hitTest(_root.user) && _root.alive3 == true && _root.havingSword == false) {
_root.userhp -= 3;
_root.user.gotoAndPlay('damage');
} else {
if (_root.cpu3.hit.hitTest(_root.user) && _root.restart3 == false && _root.havingSword == true) {
_root.userhp -= 3;
_root.user.gotoAndPlay('swordDamage');
}
}
}
onClipEvent (enterFrame) {
if (_root.super2.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp3 -= 5;
}
}
onClipEvent (enterFrame) {
if (_root.user.smash.hitTest(this) && _root.restart3 == false) {
_root.cpuhp3 -= 10;
_root.score += 50;
this.gotoAndPlay('damage');
}
}
}
instance cpu4 of movieClip 272 {
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp4 -= 2;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.restart4 == false) {
punch = new sound();
punch.attachSound('Smack');
punch.start(0, 1);
_root.score += 10;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.user._x < this._x) {
this._x -= 20;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
++_root.count4;
}
}
onClipEvent (enterFrame) {
if (_root.count4 > 15) {
this.gotoAndPlay('attack');
}
}
onClipEvent (enterFrame) {
if (_root.count4 > 16) {
_root.count4 -= 16;
}
}
onClipEvent (enterFrame) {
if (_root.still4 == false && _root.moreEnemies[1] == true) {
this._x += 10;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
_root.still4 = true;
} else {
_root.still4 = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpuhp4 <= 0) {
_root.restart4 = true;
_root.alive4 = false;
++_root.deathTimer4;
}
}
onClipEvent (enterFrame) {
if (_root.restart4 == true && _root.deathTimer4 <= 2) {
this.gotoAndPlay('voided');
this._alpha -= 85;
--this._alpha;
++_root.kills;
}
}
onClipEvent (enterFrame) {
if (_root.restart4 == true) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpu4.hit.hitTest(_root.user) && _root.alive4 == true && _root.havingSword == false) {
_root.userhp -= 5;
_root.user.gotoAndPlay('damage2');
} else {
if (_root.cpu4.hit.hitTest(_root.user) && _root.restart4 == false && _root.havingSword == true) {
_root.userhp -= 3;
_root.user.gotoAndPlay('swordDamage2');
}
}
}
onClipEvent (enterFrame) {
if (_root.super2.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp4 -= 5;
}
}
onClipEvent (enterFrame) {
if (_root.user.smash.hitTest(this) && _root.restart4 == false) {
_root.cpuhp4 -= 10;
_root.score += 50;
this._x -= 20;
this.gotoAndPlay('damage');
}
}
}
instance cpu5 of movieClip 272 {
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp5 -= 2;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.restart5 == false) {
punch = new sound();
punch.attachSound('Smack');
punch.start(0, 1);
_root.score += 10;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.user._x < this._x) {
this._x += 20;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
++_root.count5;
}
}
onClipEvent (enterFrame) {
if (_root.count5 > 15) {
this.gotoAndPlay('attack');
}
}
onClipEvent (enterFrame) {
if (_root.count5 > 16) {
_root.count5 -= 16;
}
}
onClipEvent (enterFrame) {
if (_root.still5 == false && _root.moreEnemies[2] == true) {
this._x -= 15;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
_root.still5 = true;
} else {
_root.still5 = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpuhp5 <= 0) {
_root.restart5 = true;
_root.alive5 = false;
++_root.deathTimer5;
}
}
onClipEvent (enterFrame) {
if (_root.restart5 == true && _root.deathTimer5 <= 2) {
this.gotoAndPlay('voided');
this._alpha -= 85;
--this._alpha;
++_root.kills;
}
}
onClipEvent (enterFrame) {
if (_root.restart5 == true) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.cpu5.hit.hitTest(_root.user) && _root.alive5 == true && _root.havingSword == false) {
_root.userhp -= 5;
_root.user.gotoAndPlay('damage');
} else {
if (_root.cpu5.hit.hitTest(_root.user) && _root.restart5 == false && _root.havingSword == true) {
_root.userhp -= 3;
_root.user.gotoAndPlay('swordDamage');
}
}
}
onClipEvent (enterFrame) {
if (_root.super2.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp5 -= 5;
}
}
onClipEvent (enterFrame) {
if (_root.user.smash.hitTest(this) && _root.restart5 == false) {
_root.cpuhp5 -= 10;
_root.score += 50;
this.gotoAndPlay('damage');
}
}
}
instance cpu6 of movieClip 229 {
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp6 -= 5;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.restart6 == false) {
punch = new sound();
punch.attachSound('Smack');
punch.start(0, 1);
_root.score += 10;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.user._x < this._x) {
this._x += 20;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
++_root.count6;
}
}
onClipEvent (enterFrame) {
if (_root.count6 > 15) {
this.gotoAndPlay('attack');
}
}
onClipEvent (enterFrame) {
if (_root.count6 > 16) {
_root.count6 -= 16;
}
}
onClipEvent (enterFrame) {
if (_root.still6 == false && _root.moreEnemies[5] == true) {
this._x += 10;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
_root.still6 = true;
} else {
_root.still6 = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpuhp6 <= 0) {
_root.restart6 = true;
_root.alive6 = false;
++_root.deathTimer6;
}
}
onClipEvent (enterFrame) {
if (_root.restart6 == true && _root.deathTimer6 <= 2) {
this.gotoAndPlay('voided');
this._alpha -= 85;
--this._alpha;
++_root.kills;
}
}
onClipEvent (enterFrame) {
if (_root.restart6 == true) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpu6.hit.hitTest(_root.user) && _root.alive6 == true && _root.havingSword == false) {
_root.userhp -= 3;
_root.user.gotoAndPlay('damage');
} else {
if (_root.cpu6.hit.hitTest(_root.user) && _root.restart6 == false && _root.havingSword == true) {
_root.userhp -= 3;
_root.user.gotoAndPlay('swordDamage2');
}
}
}
onClipEvent (enterFrame) {
if (_root.super2.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp6 -= 5;
}
}
onClipEvent (enterFrame) {
if (_root.user.smash.hitTest(this) && _root.restart6 == false) {
_root.cpuhp6 -= 10;
_root.score += 50;
this._x -= 20;
this.gotoAndPlay('damage');
}
}
}
instance cpu7 of movieClip 272 {
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp7 -= 2;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.restart7 == false) {
punch = new sound();
punch.attachSound('Smack');
punch.start(0, 1);
_root.score += 10;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.user._x < this._x) {
this._x -= 20;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
++_root.count7;
}
}
onClipEvent (enterFrame) {
if (_root.count7 > 15) {
this.gotoAndPlay('attack');
}
}
onClipEvent (enterFrame) {
if (_root.count7 > 16) {
_root.count7 -= 16;
}
}
onClipEvent (enterFrame) {
if (_root.still7 == false && _root.moreEnemies[7] == true) {
this._x += 14;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
_root.still7 = true;
} else {
_root.still7 = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpuhp7 <= 0) {
_root.restart7 = true;
_root.alive7 = false;
++_root.deathTimer7;
}
}
onClipEvent (enterFrame) {
if (_root.restart7 == true && _root.deathTimer7 <= 2) {
this.gotoAndPlay('voided');
this._alpha -= 85;
--this._alpha;
++_root.kills;
}
}
onClipEvent (enterFrame) {
if (_root.restart7 == true) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpu7.hit.hitTest(_root.user) && _root.alive7 == true && _root.havingSword == false) {
_root.userhp -= 5;
_root.user.gotoAndPlay('damage2');
} else {
if (_root.cpu7.hit.hitTest(_root.user) && _root.restart7 == false && _root.havingSword == true) {
_root.userhp -= 3;
_root.user.gotoAndPlay('swordDamage2');
}
}
}
onClipEvent (enterFrame) {
if (_root.super2.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp7 -= 5;
}
}
onClipEvent (enterFrame) {
if (_root.user.smash.hitTest(this) && _root.restart7 == false) {
_root.cpuhp7 -= 10;
_root.score += 50;
this._x -= 20;
this.gotoAndPlay('damage');
}
}
}
movieClip 410 {
}
movieClip 464 {
frame 6 {
gotoAndPlay(1);
}
frame 17 {
gotoAndPlay(1);
}
frame 20 {
gotoAndPlay(1);
}
frame 38 {
gotoAndPlay(34);
}
frame 39 {
gotoAndPlay(34);
}
}
instance cpu2 of movieClip 464 {
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp2 -= 5;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.restart2 == false) {
punch = new sound();
punch.attachSound('Smack');
punch.start(0, 1);
_root.score += 10;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.user._x < this._x) {
this._x -= 50;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
++_root.count2;
}
}
onClipEvent (enterFrame) {
if (_root.count2 > 15) {
this.gotoAndPlay('attack');
}
}
onClipEvent (enterFrame) {
if (_root.count2 > 16) {
_root.count2 -= 16;
}
}
onClipEvent (enterFrame) {
if (_root.still2 == false) {
this._x += 12;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
_root.still2 = true;
} else {
_root.still2 = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpuhp2 <= 0) {
_root.restart2 = true;
_root.alive2 = false;
++_root.deathTimer2;
}
}
onClipEvent (enterFrame) {
if (_root.restart2 == true && _root.deathTimer2 <= 2) {
this.gotoAndPlay('voided');
this._alpha -= 85;
--this._alpha;
++_root.kills;
}
}
onClipEvent (enterFrame) {
if (_root.restart2 == true) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpu2.hit.hitTest(_root.user) && _root.restart2 == false && _root.havingSword == false) {
_root.userhp -= 3;
_root.user.gotoAndPlay('damage2');
} else {
if (_root.cpu2.hit.hitTest(_root.user) && _root.restart2 == false && _root.havingSword == true) {
_root.userhp -= 3;
_root.user.gotoAndPlay('swordDamage2');
}
}
}
onClipEvent (enterFrame) {
if (_root.super2.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp2 -= 5;
}
}
onClipEvent (enterFrame) {
trace(_root.kills);
}
onClipEvent (enterFrame) {
if (_root.user.smash.hitTest(this) && _root.restart2 == false) {
_root.cpuhp2 -= 10;
this._x -= 20;
_root.score += 50;
this.gotoAndPlay('damage');
}
}
}
movieClip 519 {
frame 9 {
gotoAndPlay(2);
}
frame 14 {
gotoAndPlay(2);
}
frame 19 {
gotoAndPlay(2);
}
frame 27 {
gotoAndPlay(21);
}
frame 33 {
gotoAndPlay(21);
}
frame 38 {
gotoAndPlay(21);
}
}
instance cpu8 of movieClip 519 {
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp8 -= 5;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.restart8 == false) {
punch = new sound();
punch.attachSound('Smack');
punch.start(0, 1);
_root.score += 10;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.user._x < this._x) {
this._x += 20;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
++_root.count8;
}
}
onClipEvent (enterFrame) {
if (_root.count8 > 15) {
this.gotoAndPlay('attack');
}
}
onClipEvent (enterFrame) {
if (_root.count8 > 16) {
_root.count8 -= 16;
}
}
onClipEvent (enterFrame) {
if (_root.still8 == false && _root.moreEnemies[8] == true) {
this._x -= 10;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
_root.still8 = true;
} else {
_root.still8 = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpuhp8 <= 0) {
_root.restart8 = true;
_root.alive8 = false;
++_root.deathTimer8;
}
}
onClipEvent (enterFrame) {
if (_root.restart8 == true && _root.deathTimer8 <= 2) {
this.gotoAndPlay('voided');
this._alpha -= 85;
--this._alpha;
++_root.kills;
}
}
onClipEvent (enterFrame) {
if (_root.restart8 == true) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpu8.hit.hitTest(_root.user) && _root.alive8 == true && _root.havingSword == false) {
_root.userhp -= 3;
_root.user.gotoAndPlay('damage');
} else {
if (_root.cpu8.hit.hitTest(_root.user) && _root.restart8 == false && _root.havingSword == true) {
_root.userhp -= 3;
_root.user.gotoAndPlay('swordDamage');
}
}
}
onClipEvent (enterFrame) {
if (_root.super2.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp8 -= 5;
}
}
onClipEvent (enterFrame) {
if (_root.user.smash.hitTest(this) && _root.restart8 == false) {
_root.cpuhp8 -= 10;
_root.score += 50;
this.gotoAndPlay('damage');
}
}
}
instance cpu9 of movieClip 519 {
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp9 -= 2;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.restart9 == false) {
punch = new sound();
punch.attachSound('Smack');
punch.start(0, 1);
_root.score += 10;
}
}
onClipEvent (enterFrame) {
if (_root.user.hit.hitTest(this) && _root.user._x < this._x) {
this._x += 20;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
++_root.count9;
}
}
onClipEvent (enterFrame) {
if (_root.count9 > 15) {
this.gotoAndPlay('attack');
}
}
onClipEvent (enterFrame) {
if (_root.count9 > 16) {
_root.count9 -= 16;
}
}
onClipEvent (enterFrame) {
if (_root.still9 == false && _root.moreEnemies[9] == true) {
this._x -= 15;
}
}
onClipEvent (enterFrame) {
if (_root.user.hitTest(this)) {
_root.still9 = true;
} else {
_root.still9 = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpuhp9 <= 0) {
_root.restart9 = true;
_root.alive9 = false;
++_root.deathTimer9;
}
}
onClipEvent (enterFrame) {
if (_root.restart9 == true && _root.deathTimer9 <= 2) {
this.gotoAndPlay('voided');
this._alpha -= 85;
--this._alpha;
++_root.kills;
}
}
onClipEvent (enterFrame) {
if (_root.restart9 == true) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpu9.hit.hitTest(_root.user) && _root.alive9 == true && _root.havingSword == false) {
_root.userhp -= 3;
_root.user.gotoAndPlay('damage');
} else {
if (_root.cpu9.hit.hitTest(_root.user) && _root.restart9 == false && _root.havingSword == true) {
_root.userhp -= 3;
_root.user.gotoAndPlay('swordDamage');
}
}
}
onClipEvent (enterFrame) {
if (_root.super2.hit.hitTest(this)) {
this.gotoAndPlay('damage');
_root.cpuhp9 -= 5;
}
}
onClipEvent (enterFrame) {
if (_root.user.smash.hitTest(this) && _root.restart9 == false) {
_root.cpuhp9 -= 10;
_root.score += 50;
this.gotoAndPlay('damage');
}
}
}
button 520 {
on (release, keyPress 'x') {
gotoAndPlay(13);
_root.user.gotoAndPlay('withSword');
}
}
movieClip 525 {
frame 12 {
gotoAndPlay(1);
}
frame 15 {
stop();
}
}
instance sword of movieClip 525 {
onClipEvent (enterFrame) {
if (this._x > 600) {
this._visible = false;
} else {
if (this._x <= -200) {
this._visible = false;
} else {
this._visible = true;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) && _root.walking == true) {
this._x -= 10;
}
}
}
instance user of movieClip 318 {
onClipEvent (enterFrame) {
if (_root.walking == true && Key.isDown(39)) {
this._x += 15;
}
}
onClipEvent (enterFrame) {
if (_root.walking == true && Key.isDown(37)) {
this._x -= 15;
}
}
onClipEvent (enterFrame) {
if (this._x <= _root.cpu2._x && _root.restart2 == false) {
this._x += 35;
}
}
onClipEvent (enterFrame) {
if (this._x <= _root.cpu6._x && _root.restart6 == false) {
this._x += 50;
}
}
onClipEvent (enterFrame) {
if (this._x >= _root.cpu9._x && _root.restart9 == false) {
this._x -= 50;
}
}
onClipEvent (enterFrame) {
if (this._x <= _root.cpu7._x && _root.restart7 == false) {
this._x += 50;
}
}
onClipEvent (enterFrame) {
if (this._x <= _root.cpu4._x && _root.restart4 == false) {
this._x += 50;
}
}
onClipEvent (enterFrame) {
if (this._x >= _root.cpu5._x && _root.restart5 == false) {
this._x -= 50;
}
}
onClipEvent (enterFrame) {
if (this._x >= _root.cpu3._x && _root.restart3 == false) {
this._x -= 50;
}
}
onClipEvent (enterFrame) {
if (this._x >= _root.cpu8._x && _root.restart8 == false) {
this._x -= 50;
}
}
onClipEvent (enterFrame) {
if (_root.user._x >= 350) {
_root.user._x = 350;
} else {
if (_root.user._x <= 50) {
_root.user._x = 50;
}
}
}
onClipEvent (enterFrame) {
if (_root.userhp >= 100) {
_root.userhp = 100;
} else {
if (_root.mp >= 100) {
_root.mp = 100;
}
}
}
onClipEvent (enterFrame) {
if (_root.score >= 5000 && _root.score <= 9999) {
_root.level = 2;
}
}
onClipEvent (enterFrame) {
_root.dieNow();
}
}
instance heal of movieClip 344 {
onClipEvent (enterFrame) {
if (_root.mp >= 30 && Key.isDown(32)) {
this.gotoAndPlay('heal');
}
}
onClipEvent (enterFrame) {
this._x = _root.user._x;
}
}
instance super2 of movieClip 348 {
onClipEvent (enterFrame) {
if (_root.mp >= 50 && Key.isDown(17) && _root.level == 2) {
this.gotoAndPlay('superattack');
}
}
onClipEvent (enterFrame) {
this._x = _root.user._x;
}
}
instance of movieClip 12 {
onClipEvent (enterFrame) {
if (this._x > 600) {
this._visible = false;
} else {
if (this._x <= -200) {
_root.moreEnemies[3] = true;
_root.moreEnemies[4] = true;
this._visible = false;
} else {
this._visible = true;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) && _root.walking == true && _root.moreEnemies[2] == true) {
this._x -= 10;
}
}
onClipEvent (enterFrame) {
if (_root.cpuhp6 < 0 && _root.cpuhp7 < 0 && _root.cpuhp8 < 0) {
_root.moreEnemies[8] = true;
}
}
}
movieClip 527 {
}
instance of movieClip 527 {
onClipEvent (enterFrame) {
if (this._x > 600) {
this._visible = false;
} else {
if (this._x <= -200) {
_root.moreEnemies[5] = true;
_root.moreEnemies[6] = true;
_root.moreEnemies[7] = true;
_root.moreEnemies[8] = true;
_root.moreEnemies[9] = true;
_root.moreEnemies[10] = true;
this._visible = false;
} else {
this._visible = true;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) && _root.walking == true && _root.moreEnemies[4] == true) {
this._x -= 15;
}
}
}
instance of movieClip 26 {
onClipEvent (enterFrame) {
if (_root.kills >= 16) {
_root.user.gotoAndStop('frozen');
this._alpha = 75;
_root.stageDone = true;
++_root.bonusClock;
}
}
onClipEvent (enterFrame) {
if (_root.stageDone == true && _root.bonusClock == 1) {
_root.magicbonus = _root.mp * 10;
_root.lifebonus = _root.userhp * 10;
_root.score += _root.magicbonus + _root.lifebonus + _root.stageclearbonus;
}
}
onClipEvent (enterFrame) {
if (_root.bonusClock >= 50) {
_root.playAgain();
}
}
}
instance of movieClip 357 {
onClipEvent (enterFrame) {
if (_root.stageDone == true) {
this._visible = true;
this._alpha = 100;
} else {
this._visible = false;
this._alpha = 0;
}
}
onClipEvent (enterFrame) {
_root.magicbonus2._visible = this._visible;
_root.magicbonus2._alpha = this._alpha;
_root.magicbonus2._y = this._y;
}
}
instance of movieClip 360 {
onClipEvent (enterFrame) {
if (_root.stageDone == true) {
this._visible = true;
this._alpha = 100;
} else {
this._visible = false;
this._alpha = 0;
}
}
onClipEvent (enterFrame) {
_root.stagebonus._visible = this._visible;
_root.stagebonus._alpha = this._alpha;
_root.stagebonus._y = this._y;
}
}
instance of movieClip 362 {
onClipEvent (enterFrame) {
if (_root.stageDone == true) {
this._visible = true;
this._alpha = 100;
} else {
this._visible = false;
this._alpha = 0;
}
}
onClipEvent (enterFrame) {
_root.lifebonus2._visible = this._visible;
_root.lifebonus2._alpha = this._alpha;
_root.lifebonus2._y = this._y;
}
}
frame 28 {
stopAllSounds();
i = 0;
while (i < 5) {
++i;
}
introSong2 = new sound();
introSong2.attachSound('gameBegin');
introSong2.start(1, 999999);
}
frame 28 {
stop();
}
movieClip 536 {
frame 24 {
stop();
}
}
button 537 {
on (release) {
gotoAndPlay(15);
}
on (press) {
stopAllSounds();
}
}
frame 32 {
stopAllSounds();
}
frame 32 {
stop();
}
button 539 {
on (release) {
gotoAndPlay(15);
}
}
button 541 {
on (release) {
getURL('http://www.relentlesscreations.com', '');
}
}