Frame 1
function explode(xx, yy, ex) {
d++;
this.attachMovie("boom", "e" + d, d);
this["e" + d]._x = xx;
this["e" + d]._y = yy;
_root.exploder = ex;
}
function makeen(xx, yy) {
d++;
this.attachMovie("en", "en" + d, d);
this["en" + d]._x = xx;
this["en" + d]._y = yy;
}
function shoot(xx, yy, rs) {
d++;
this.attachMovie("ebullet", "b" + d, d);
this["b" + d]._x = xx;
this["b" + d]._y = yy;
this["b" + d]._rotation = rs;
}
function makespeed(xx, yy, a) {
sa = sa + a;
while (saa < sa) {
saa++;
d++;
this.attachMovie("speed", "s" + d, d);
this["s" + d]._x = xx;
this["s" + d]._y = yy;
}
}
function gamequality() {
_quality = "medium";
}
function maketime(xx, yy) {
d++;
this.attachMovie("time pick", "t" + d, d);
this["t" + d]._x = xx;
this["t" + d]._y = yy;
}
function makest(xx, yy) {
d++;
this.attachMovie("green", "gt" + d, d);
this["gt" + d]._x = xx;
this["gt" + d]._y = yy;
}
d = 0;
sa = 0;
saa = 0;
Frame 2
stop();
_quality = "high";
score = 0;
lives = 5;
lifeplus = 150;
beats = 0;
bchain = 0;
quicks = 0;
secs = 120;
clearingscreen = true;
freeplay = false;
bossmode = false;
tscore = 0;
Instance of Symbol 119 MovieClip in Frame 2
onClipEvent (load) {
stopAllSounds();
gotoAndStop ("menu");
}
Frame 3
lv = 1;
clearingscreen = false;
Instance of Symbol 171 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.prevFrame();
}
}
Instance of Symbol 4 MovieClip in Frame 3
onClipEvent (load) {
_root.beats = 0;
d = 0;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
_root.beats++;
if (_root.beats == 10) {
_root.beats = 0;
}
d++;
if (d == 30) {
_root.secs--;
d = 0;
}
}
}
Instance of Symbol 119 MovieClip in Frame 3
onClipEvent (load) {
stopAllSounds();
gotoAndStop ("world");
}
Frame 4
freeplay = false;
clearingscreen = true;
score = 0;
lives = 5;
lifeplus = 150;
beats = 0;
bchain = 0;
quicks = 0;
secs = 100;
tscore = 0;
Frame 5
fsasds = "Final Score:" + _root.tscore;
Frame 6
clearingscreen = true;
tscore = tscore + score;
score = 0;
secs = 120;
play();
Frame 7
if (freeplay) {
gotoAndStop (2);
} else {
if (lv == 1) {
gotoAndStop ("stage2");
}
if (lv == 2) {
gotoAndStop ("stage3");
}
if (lv == 3) {
gotoAndStop ("stage4");
}
if (lv == 4) {
gotoAndStop ("done");
}
}
Frame 8
stop();
gamequality();
lv = 1;
lvl = "stage1";
clearingscreen = false;
Instance of Symbol 187 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (!_root.pau) {
if (random(60 - (_root.quicks * 3)) == 1) {
_root.makeen(_x + (random(550) - 275), _y);
}
}
}
Instance of Symbol 187 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (!_root.pau) {
if (random(60 - (_root.quicks * 3)) == 1) {
_root.makeen(_x, _y + (random(500) - 200));
}
}
}
Instance of Symbol 187 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (!_root.pau) {
if (random(60 - (_root.quicks * 3)) == 1) {
_root.makeen(_x + (random(550) - 275), _y);
}
}
}
Instance of Symbol 187 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (!_root.pau) {
if (random(60 - (_root.quicks * 3)) == 1) {
_root.makeen(_x, _y + (random(500) - 200));
}
}
}
Instance of Symbol 4 MovieClip in Frame 8
onClipEvent (load) {
_root.beats = 0;
d = 0;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
_root.beats++;
if (_root.beats == 10) {
_root.beats = 0;
}
d++;
if (d == 30) {
_root.secs--;
d = 0;
}
}
}
Instance of Symbol 250 MovieClip in Frame 8
onClipEvent (enterFrame) {
if ((_root.score >= 1500) or _root.bossmode) {
go = true;
if (!gogo) {
_root.notice = "ATTACK WITH 3 HIT CHAIN!";
_root.stats.notice.gotoAndPlay(2);
_root.stats.bosscome.play();
i = 0;
while (i < _root.d) {
_root["en" + i].gotoAndPlay(4);
i++;
}
gogo = true;
}
_visible = true;
} else {
go = false;
_visible = false;
}
}
Instance of Symbol 119 MovieClip in Frame 8
onClipEvent (load) {
stopAllSounds();
gotoAndStop ("madness6");
}
Frame 9
stop();
gamequality();
lv = 2;
lvl = "stage2";
clearingscreen = false;
Instance of Symbol 259 MovieClip in Frame 9
onClipEvent (enterFrame) {
if ((_root.score >= 1850) or _root.bossmode) {
go = true;
if (!gogo) {
_root.notice = "ATTACK WITH 4 HIT CHAIN!";
_root.stats.notice.gotoAndPlay(2);
_root.stats.bosscome.play();
i = 0;
while (i < _root.d) {
_root["en" + i].gotoAndPlay(4);
i++;
}
gogo = true;
}
_visible = true;
} else {
go = false;
_visible = false;
}
}
Instance of Symbol 119 MovieClip in Frame 9
onClipEvent (load) {
stopAllSounds();
gotoAndStop ("paradise1");
}
Frame 10
stop();
gamequality();
lv = 3;
lvl = "stage3";
clearingscreen = false;
Instance of Symbol 263 MovieClip in Frame 10
onClipEvent (load) {
targetx = random(700);
targety = random(400);
t = 0;
speed = 1;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
t++;
if (t == 15) {
targetx = random(700);
targety = random(400);
t = 0;
}
_rotation = (_rotation + 1);
if ((_x + 5) > targetx) {
_x = (_x - speed);
}
if ((_x + 5) < targetx) {
_x = (_x + speed);
}
if ((_y + 5) > targety) {
_y = (_y - speed);
}
if ((_y + 5) < targety) {
_y = (_y + speed);
}
}
}
Instance of Symbol 269 MovieClip in Frame 10
onClipEvent (enterFrame) {
if ((_root.score >= 2250) or _root.bossmode) {
go = true;
if (!gogo) {
_root.notice = "ATTACK WITH 6 HIT CHAIN!";
_root.stats.notice.gotoAndPlay(2);
_root.stats.bosscome.play();
i = 0;
while (i < _root.d) {
_root["en" + i].gotoAndPlay(4);
i++;
}
gogo = true;
}
_visible = true;
} else {
go = false;
_visible = false;
}
}
Instance of Symbol 119 MovieClip in Frame 10
onClipEvent (load) {
stopAllSounds();
gotoAndStop ("world");
}
Frame 11
stop();
gamequality();
lv = 4;
lvl = "stage4";
clearingscreen = false;
Instance of Symbol 273 MovieClip in Frame 11
onClipEvent (load) {
targetx = random(700);
targety = random(400);
t = 0;
speed = 1;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
t++;
if (t == 15) {
targetx = random(700);
targety = random(400);
t = 0;
}
_rotation = (_rotation + 1);
if ((_x + 5) > targetx) {
_x = (_x - speed);
}
if ((_x + 5) < targetx) {
_x = (_x + speed);
}
if ((_y + 5) > targety) {
_y = (_y - speed);
}
if ((_y + 5) < targety) {
_y = (_y + speed);
}
}
}
Instance of Symbol 277 MovieClip in Frame 11
onClipEvent (enterFrame) {
if ((_root.score >= 3350) or _root.bossmode) {
go = true;
if (!gogo) {
_root.notice = "ATTACK WITH 2 HIT CHAIN!";
_root.stats.notice.gotoAndPlay(2);
_root.stats.bosscome.play();
i = 0;
while (i < _root.d) {
_root["en" + i].gotoAndPlay(4);
i++;
}
gogo = true;
}
_visible = true;
} else {
go = false;
_visible = false;
}
}
Instance of Symbol 119 MovieClip in Frame 11
onClipEvent (load) {
stopAllSounds();
gotoAndStop ("no.5");
}
Symbol 4 MovieClip Frame 1
_visible = false;
Symbol 6 MovieClip [green] Frame 1
_rotation = random(360);
speed = 0.5;
stop();
d = 0;
onEnterFrame = function () {
if (_root.clearingscreen) {
swapDepths(999999);
this.removeMovieClip();
}
if (!_root.pau) {
if (hitTest(_root.player.hit2)) {
play();
}
if (_rotation > 180) {
_y = (_y + (speed * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (speed * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (speed * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (speed * Math.sin((Math.PI/180) * _rotation)));
}
if ((((_x > (Stage.width + 100)) || (_x < -100)) || (_y < -100)) || (_y > (Stage.height + 100))) {
this.removeMovieClip();
}
}
};
Symbol 6 MovieClip [green] Frame 2
_root.score = _root.score + 15;
_root.ibonus.gotoAndPlay(2);
Symbol 6 MovieClip [green] Frame 10
swapDepths(999999);
this.removeMovieClip();
Symbol 8 MovieClip [ebullet] Frame 1
sped = 10;
onEnterFrame = function () {
if (_root.clearingscreen) {
swapDepths(999999);
this.removeMovieClip();
}
if (!_root.pau) {
spd = sped + (_root.quicks / 2);
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
if (hitTest(_root.player.hit)) {
_root.player.gotoAndStop("ah");
}
}
};
Symbol 12 MovieClip [speed] Frame 1
_rotation = random(360);
speed = 0.5;
stop();
d = 0;
onEnterFrame = function () {
if (_root.clearingscreen) {
swapDepths(999999);
this.removeMovieClip();
}
if (!_root.pau) {
if (hitTest(_root.player.hit2)) {
play();
}
if (_rotation > 180) {
_y = (_y + (speed * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (speed * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (speed * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (speed * Math.sin((Math.PI/180) * _rotation)));
}
if ((((_x > (Stage.width + 100)) || (_x < -100)) || (_y < -100)) || (_y > (Stage.height + 100))) {
this.removeMovieClip();
}
}
};
Symbol 12 MovieClip [speed] Frame 2
_root.quicks++;
_root.speede.gotoAndPlay(2);
Symbol 12 MovieClip [speed] Frame 10
swapDepths(999999);
this.removeMovieClip();
Symbol 16 MovieClip [time pick] Frame 1
_rotation = random(360);
speed = 0.5;
stop();
d = 0;
onEnterFrame = function () {
if (_root.clearingscreen) {
swapDepths(999999);
this.removeMovieClip();
}
if (!_root.pau) {
if (hitTest(_root.player.hit2)) {
play();
}
if (_rotation > 180) {
_y = (_y + (speed * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (speed * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (speed * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (speed * Math.sin((Math.PI/180) * _rotation)));
}
if ((((_x > (Stage.width + 100)) || (_x < -100)) || (_y < -100)) || (_y > (Stage.height + 100))) {
this.removeMovieClip();
}
}
};
Symbol 16 MovieClip [time pick] Frame 2
_root.secs = _root.secs + 20;
_root.timeextend.gotoAndPlay(2);
Symbol 16 MovieClip [time pick] Frame 10
swapDepths(999999);
this.removeMovieClip();
Symbol 23 MovieClip Frame 1
onEnterFrame = function () {
gotoAndStop(_root.beats);
};
Symbol 25 MovieClip Frame 1
gotoAndStop(_root.lv + 1);
Symbol 26 MovieClip Frame 1
onEnterFrame = function () {
gotoAndStop(_root.beats);
};
Symbol 31 MovieClip Frame 1
if (random(35) == 1) {
gotoAndStop (2);
} else if (random(20) == 1) {
gotoAndStop (3);
} else if (random(5) == 1) {
gotoAndStop (4);
} else {
stop();
}
Symbol 31 MovieClip Frame 2
_parent.yellow = true;
Symbol 31 MovieClip Frame 3
_parent.blue = true;
Symbol 31 MovieClip Frame 4
_parent.green = true;
Symbol 36 MovieClip Frame 1
_rotation = random(360);
Symbol 41 MovieClip Frame 1
gotoAndStop(random(4) + 1);
_rotation = random(360);
Symbol 43 MovieClip Frame 1
_rotation = random(360);
Symbol 44 MovieClip Frame 1
gotoAndStop(_root.lv + 1);
Symbol 46 MovieClip Frame 20
_parent.play();
Symbol 47 MovieClip [en] Frame 1
Xd = _root.player._x - _x;
Yd = _root.player._y - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(((radAngle * 360) / (Math.PI*2)) + 90);
spd = random(3) + 1;
stop();
d = 0;
onEnterFrame = function () {
if (_root.clearingscreen) {
swapDepths(999999);
this.removeMovieClip();
}
if (_currentframe == 1) {
if (!_root.pau) {
speed = spd + (_root.quicks / 2);
a._rotation = a._rotation + speed;
if (hitTest(_root.explosion1)) {
play();
}
if (hitTest(_root.player.hit)) {
_root.player.gotoAndStop("ah");
}
if (_rotation > 180) {
_y = (_y + (speed * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (speed * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (speed * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (speed * Math.sin((Math.PI/180) * _rotation)));
}
d++;
if (d >= 100) {
if ((((_x > (Stage.width + 100)) || (_x < -100)) || (_y < -100)) || (_y > (Stage.height + 100))) {
this.removeMovieClip();
}
}
}
}
};
Symbol 47 MovieClip [en] Frame 2
_root.stats.chainer.gotoAndPlay(2);
_root.explode(_x, _y, this);
_root.score = _root.score + 10;
if (blue) {
_root.makespeed(_x, _y, 1);
}
if (yellow) {
_root.maketime(_x, _y);
}
if (green) {
_root.makest(_x, _y);
}
Symbol 47 MovieClip [en] Frame 3
swapDepths(999999);
this.removeMovieClip();
Symbol 47 MovieClip [en] Frame 4
play();
Symbol 47 MovieClip [en] Frame 24
swapDepths(999999);
this.removeMovieClip();
Symbol 48 MovieClip [boom] Frame 1
_root.explosion1 = this;
_root.chain++;
onEnterFrame = function () {
if (!_root.pau) {
play();
} else {
stop();
}
if (_root.clearingscreen) {
swapDepths(999999);
this.removeMovieClip();
}
};
Symbol 48 MovieClip [boom] Frame 20
swapDepths(999999);
this.removeMovieClip();
Symbol 60 Button
on (press) {
getURL ("http://carpo-ink.webs.com", "blank");
}
Symbol 68 Button
on (press) {
_root.loadere = true;
_root.play();
}
Symbol 69 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 69 MovieClip Frame 2
gotoAndPlay (1);
Symbol 69 MovieClip Frame 3
play();
Symbol 69 MovieClip Frame 56
stop();
Symbol 76 MovieClip Frame 3
stop();
Symbol 80 Button
on (press) {
ins.gotoAndStop("play");
ins.asdf.gotoAndPlay(2);
}
Symbol 81 Button
on (press) {
ins.gotoAndStop("help");
ins.asdf.gotoAndPlay(2);
}
Symbol 84 MovieClip Frame 1
gotoAndPlay (2);
Symbol 84 MovieClip Frame 15
stop();
Symbol 84 MovieClip Frame 16
gotoAndPlay (2);
Symbol 89 Button
on (press) {
fader.play();
where = "stage1";
}
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 20
_root.gotoAndStop(_parent.where);
Symbol 92 Button
on (press) {
asdf.gotoAndPlay(2);
gotoAndStop ("lvs");
}
Symbol 93 Button
on (press) {
asdf.gotoAndPlay(2);
gotoAndStop ("boss");
}
Symbol 96 Button
on (press) {
asdf.gotoAndPlay(2);
gotoAndStop ("help2");
}
Symbol 97 Button
on (press) {
fader.play();
where = "demo";
}
Symbol 100 Button
on (press) {
fader.play();
where = "stage1";
_root.freeplay = true;
}
Symbol 101 Button
on (press) {
fader.play();
where = "stage2";
_root.freeplay = true;
}
Symbol 102 Button
on (press) {
fader.play();
where = "stage3";
_root.freeplay = true;
}
Symbol 103 Button
on (press) {
fader.play();
where = "stage4";
_root.freeplay = true;
}
Symbol 105 Button
on (press) {
fader.play();
where = "stage1";
_root.quicks = 10;
_root.bossmode = true;
}
Symbol 106 Button
on (press) {
fader.play();
where = "stage2";
_root.quicks = 10;
_root.bossmode = true;
}
Symbol 107 Button
on (press) {
fader.play();
where = "stage3";
_root.quicks = 10;
_root.bossmode = true;
}
Symbol 108 Button
on (press) {
fader.play();
where = "stage4";
_root.quicks = 10;
_root.bossmode = true;
}
Symbol 109 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 2
stop();
Symbol 112 MovieClip Frame 1
if (_root.loadere) {
gotoAndPlay (2);
} else {
stop();
}
Symbol 112 MovieClip Frame 20
_root.loadere = false;
Symbol 112 MovieClip Frame 21
stop();
Symbol 119 MovieClip Frame 1
_visible = false;
Symbol 124 MovieClip Frame 1
_name = "s";
onEnterFrame = function () {
gotoAndStop(_root.beats);
};
Symbol 154 MovieClip Frame 1
sd = 100;
d = 0;
onEnterFrame = function () {
_parent.td = sd;
d++;
if (d == 30) {
sd--;
d = 0;
}
};
Symbol 171 MovieClip Frame 550
sda = td + 10;
Symbol 171 MovieClip Frame 828
_root.prevFrame();
Symbol 175 MovieClip Frame 1
gotoAndPlay (2);
Symbol 175 MovieClip Frame 11
stop();
Symbol 175 MovieClip Frame 22
if (_root.freeplay) {
_root.gotoAndStop(2);
} else {
_root.gotoAndStop("nextlv");
}
Symbol 179 MovieClip Frame 1
stop();
Symbol 179 MovieClip Frame 15
_root.gotoAndStop(_root.lvl);
Symbol 180 Button
on (press) {
fader.play();
}
Symbol 181 Button
on (press) {
gotoAndStop (2);
}
Symbol 189 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 1
onEnterFrame = function () {
s = "CHAIN:" + _root.chain;
};
Symbol 195 MovieClip Frame 1
stop();
_root.player.gotoAndStop(1);
_root.chain = 0;
Symbol 195 MovieClip Frame 15
if (_root.chain > _root.bchain) {
bchain.play();
_root.bchain = _root.chain;
}
Symbol 199 MovieClip Frame 1
stop();
_root.gonotice = true;
Symbol 199 MovieClip Frame 2
_root.gonotice = false;
Symbol 206 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 15
_root.gotoAndStop("die");
Symbol 214 MovieClip Frame 1
stop();
Symbol 214 MovieClip Frame 31
stop();
Symbol 218 Button
on (press) {
_root.gotoAndStop(2);
}
Symbol 219 Button
on (press) {
play();
}
Symbol 220 MovieClip Frame 1
_root.pau = false;
stop();
t = 0;
onEnterFrame = function () {
swapDepths(9999999999);
if (_root.clearingscreen) {
swapDepths(999999);
this.removeMovieClip();
}
if (Key.isDown(80)) {
gotoAndStop (2);
}
if (_root.freeplay) {
freeplay = "FREE PLAY MODE";
}
a = _root.tscore + _root.score;
};
Instance of Symbol 206 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score >= _root.lifeplus) {
play();
_root.lives++;
_root.lifeplus = Math.round(_root.lifeplus * 2.3);
}
}
Symbol 220 MovieClip Frame 2
_root.pau = true;
stop();
Symbol 222 MovieClip Frame 1
_visible = false;
Symbol 225 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 1
stop();
Symbol 231 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 1
onEnterFrame = function () {
gotoAndStop(_parent.charge + 1);
};
Symbol 236 MovieClip Frame 1
if (!vars) {
speed = 8;
vars = true;
}
stop();
_xscale = 500;
_yscale = 500;
_y = 500;
charge = 0;
hit._name = "sd";
hit2._name = "sds";
onEnterFrame = function () {
swapDepths(999999999);
if (_root.clearingscreen) {
swapDepths(999999);
this.removeMovieClip();
}
if (!_root.pau) {
if (_root.lives <= 0) {
gotoAndStop (4);
_root.stats.deadfader.play();
}
if (_root.secs <= 0) {
gotoAndStop (4);
_root.stats.deadfader.play();
}
if (_currentframe == 1) {
xd = _root._xmouse - _x;
yd = _root._ymouse - _y;
_x = (_x + (xd / speed));
_y = (_y + (yd / speed));
_rotation = (_rotation + (xd / speed));
if (_xscale >= 101) {
xsd = 100 - _xscale;
ysd = 100 - _yscale;
_xscale = (_xscale + (xsd / 8));
_yscale = (_yscale + (ysd / 8));
} else {
sd._name = "hit";
sds._name = "hit2";
}
if (go) {
charge++;
}
}
}
};
onMouseDown = function () {
if (!_root.pau) {
if (_currentframe == 1) {
if (_xscale <= 130) {
go = true;
}
}
}
};
onMouseUp = function () {
if (!_root.pau) {
if (_currentframe == 1) {
if (_xscale <= 130) {
if (go) {
play();
go = false;
}
}
}
}
};
Symbol 236 MovieClip Frame 2
_root.stats.chainer.play();
stop();
Instance of Symbol 48 MovieClip [boom] in Symbol 236 MovieClip Frame 2
onClipEvent (load) {
_xscale = ((_parent.charge / 2) + 100);
_yscale = _xscale;
}
Symbol 236 MovieClip Frame 3
_root.makespeed(_x, _y, _root.quicks);
_root.lives--;
_root.quicks = 0;
go = false;
stop();
Symbol 245 MovieClip Frame 1
gotoAndStop(_root.lv);
Symbol 246 MovieClip Frame 1
if (_root.bossmode) {
stop();
}
Symbol 246 MovieClip Frame 51
stop();
Symbol 250 MovieClip Frame 1
function atk1() {
_root.shoot(_x, _y, a._rotation);
}
function atk2() {
_root.shoot(_x, _y, a._rotation);
_root.shoot(_x, _y, a._rotation + 10);
_root.shoot(_x, _y, a._rotation + 20);
_root.shoot(_x, _y, a._rotation + 90);
_root.shoot(_x, _y, a._rotation + 100);
_root.shoot(_x, _y, a._rotation + 110);
_root.shoot(_x, _y, a._rotation + 200);
_root.shoot(_x, _y, a._rotation + 210);
_root.shoot(_x, _y, a._rotation + 230);
}
hp = 30;
targetx = 350;
targety = 200;
d = 0;
t = 0;
dk = 0;
speed = 3;
atype = 1;
stop();
onEnterFrame = function () {
if (!_root.pau) {
if (go) {
if (a.hitTest(_root.player.hit)) {
_root.player.gotoAndStop("ah");
}
if ((_x + 5) > targetx) {
_x = (_x - speed);
}
if ((_x + 5) < targetx) {
_x = (_x + speed);
}
if ((_y + 5) > targety) {
_y = (_y - speed);
}
if ((_y + 5) < targety) {
_y = (_y + speed);
}
d++;
dk++;
if (_currentframe == 1) {
if (dk == 50) {
if (random(3) == 2) {
atype = 2;
} else {
atype = 1;
}
dk = 0;
}
if (d == 5) {
if (atype == 1) {
atk1();
d = 0;
} else {
atk2();
d = 0;
}
}
}
if (!g) {
t++;
}
if (t == 3) {
g = true;
va = false;
t = 0;
}
if (g) {
if (a.hitTest(_root.explosion1)) {
if (_root.chain >= 3) {
hp--;
if (_root.gonotice) {
_root.notice = _root.chain + " HIT CHAIN!";
_root.score = _root.score + _root.chain;
_root.stats.notice.gotoAndPlay(2);
}
g = false;
} else {
if (_root.gonotice) {
_root.notice = "3 HIT CHAIN NEEDED TO ATTACK";
_root.stats.notice.gotoAndPlay(2);
}
_root.stats.notice.play();
}
}
}
if (hp <= 0) {
play();
}
}
}
};
Instance of Symbol 249 MovieClip "a" in Symbol 250 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
_rotation = (_rotation + 2);
}
}
Symbol 250 MovieClip Frame 22
stop();
_root.stats.fader.play();
Symbol 250 MovieClip Frame 23
prevFrame();
Symbol 252 MovieClip Frame 1
_x = random(700);
_y = random(400);
gotoAndPlay(random(10) + 1);
onEnterFrame = function () {
if (!_root.pau) {
play();
} else {
stop();
}
};
Symbol 255 MovieClip Frame 45
gotoAndPlay (15);
Symbol 259 MovieClip Frame 1
function boom() {
_root.shoot(_x, _y, a._rotation);
}
hp = 60;
targetx = 350;
targety = 100;
d = 0;
t = 0;
speed = 3;
stop();
onEnterFrame = function () {
if (!_root.pau) {
if (go) {
if (a.hitTest(_root.player.hit)) {
_root.player.gotoAndStop("ah");
}
if ((_x + 5) > targetx) {
_x = (_x - speed);
}
if ((_x + 5) < targetx) {
_x = (_x + speed);
}
if ((_y + 5) > targety) {
_y = (_y - speed);
}
if ((_y + 5) < targety) {
_y = (_y + speed);
}
d++;
if (d == 30) {
targetx = random(700);
targety = random(400);
d = 0;
}
if (!g) {
t++;
if (t == 3) {
g = true;
va = false;
t = 0;
}
}
if (random(5) == 1) {
if (_currentframe == 1) {
boom();
}
}
if (g) {
if (a.hitTest(_root.explosion1)) {
if (_root.chain >= 3) {
hp--;
if (!va) {
if (_root.gonotice) {
_root.notice = _root.chain + " HIT CHAIN!";
_root.score = _root.score + _root.chain;
_root.stats.notice.gotoAndPlay(2);
}
va = true;
}
g = false;
} else if (_root.gonotice) {
_root.notice = "4 HIT CHAIN NEEDED TO ATTACK";
_root.stats.notice.gotoAndPlay(2);
}
}
}
if (hp <= 0) {
play();
}
}
}
};
Instance of Symbol 257 MovieClip "a" in Symbol 259 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
Xd = _root.player._x - _parent._x;
Yd = _root.player._y - _parent._y;
radAngle = Math.atan2(Yd, Xd);
rt = int(((radAngle * 360) / (Math.PI*2)) + 90);
updateAfterEvent();
}
}
Symbol 259 MovieClip Frame 21
stop();
_root.stats.fader.play();
Symbol 259 MovieClip Frame 22
prevFrame();
Symbol 263 MovieClip Frame 1
onEnterFrame = function () {
gotoAndStop(_root.beats);
};
Symbol 269 MovieClip Frame 1
function boom() {
_root.shoot(_x, _y, 0);
_root.shoot(_x, _y, 45);
_root.shoot(_x, _y, 90);
_root.shoot(_x, _y, 135);
_root.shoot(_x, _y, 180);
_root.shoot(_x, _y, 225);
_root.shoot(_x, _y, 270);
_root.shoot(_x, _y, 315);
}
function boom2() {
_root.shoot(_x, _y, 90);
_root.shoot(_x, _y, 270);
}
hp = 30;
targetx = 350;
targety = 100;
d = 0;
t = 0;
speed = 3;
b2t = 0;
gta = 0;
stop();
onEnterFrame = function () {
if (!_root.pau) {
if (go) {
if (a.hitTest(_root.player.hit)) {
_root.player.gotoAndStop("ah");
}
if ((_x + 5) > targetx) {
_x = (_x - speed);
}
if ((_x + 5) < targetx) {
_x = (_x + speed);
}
if ((_y + 5) > targety) {
_y = (_y - speed);
}
if ((_y + 5) < targety) {
_y = (_y + speed);
}
d++;
if (d == 30) {
targetx = random(700);
targety = random(400);
d = 0;
}
if (!g) {
t++;
if (t == 3) {
g = true;
va = false;
t = 0;
}
}
if (random(20) == 1) {
if (_currentframe == 1) {
boom();
}
}
if (random(20) == 1) {
if (_currentframe == 1) {
b2 = true;
}
}
if (_currentframe == 1) {
if (b2) {
gta++;
if (gta == 5) {
boom2();
gta = 0;
}
b2t++;
if (b2t == 20) {
b2t = 0;
gta = 0;
b2 = false;
}
}
}
if (g) {
if (a.hitTest(_root.explosion1)) {
if (_root.chain >= 6) {
hp--;
if (!va) {
if (_root.gonotice) {
_root.notice = _root.chain + " HIT CHAIN!";
_root.score = _root.score + _root.chain;
_root.stats.notice.gotoAndPlay(2);
}
va = true;
}
g = false;
} else if (_root.gonotice) {
_root.notice = "6 HIT CHAIN NEEDED TO ATTACK";
_root.stats.notice.gotoAndPlay(2);
}
}
}
if (hp <= 0) {
play();
}
}
}
};
Instance of Symbol 265 MovieClip in Symbol 269 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
_rotation = ((_rotation + 2) + (_root.quicks / 2));
}
}
Symbol 269 MovieClip Frame 21
stop();
_root.stats.fader.play();
Symbol 269 MovieClip Frame 22
prevFrame();
Symbol 277 MovieClip Frame 1
function boom() {
_root.shoot(_x, _y, 0);
_root.shoot(_x, _y, 45);
_root.shoot(_x, _y, 90);
_root.shoot(_x, _y, 135);
_root.shoot(_x, _y, 180);
_root.shoot(_x, _y, 225);
_root.shoot(_x, _y, 270);
_root.shoot(_x, _y, 315);
}
function boom2() {
_root.shoot(_x, _y, 90);
_root.shoot(_x, _y, 270);
}
hp = 60;
targetx = 350;
targety = 100;
d = 0;
t = 0;
speed = 3;
b2t = 0;
gta = 0;
stop();
onEnterFrame = function () {
if (!_root.pau) {
if (go) {
if (a.hitTest(_root.player.hit)) {
_root.player.gotoAndStop("ah");
}
if ((_x + 5) > targetx) {
_x = (_x - speed);
}
if ((_x + 5) < targetx) {
_x = (_x + speed);
}
if ((_y + 5) > targety) {
_y = (_y - speed);
}
if ((_y + 5) < targety) {
_y = (_y + speed);
}
d++;
if (d == 30) {
targetx = random(700);
targety = random(400);
d = 0;
}
if (!g) {
t++;
if (t == 3) {
g = true;
va = false;
t = 0;
}
}
if (random(20) == 1) {
if (_currentframe == 1) {
boom();
}
}
if (random(20) == 1) {
if (_currentframe == 1) {
b2 = true;
}
}
if (_currentframe == 1) {
if (b2) {
gta++;
if (gta == 5) {
boom2();
gta = 0;
}
b2t++;
if (b2t == 20) {
b2t = 0;
gta = 0;
b2 = false;
}
}
}
if (g) {
if (a.hitTest(_root.explosion1)) {
if (_root.chain >= 6) {
hp--;
if (!va) {
if (_root.gonotice) {
_root.notice = _root.chain + " HIT CHAIN!";
_root.score = _root.score + _root.chain;
_root.stats.notice.gotoAndPlay(2);
}
va = true;
}
g = false;
} else if (_root.gonotice) {
_root.notice = "2 HIT CHAIN NEEDED TO ATTACK";
_root.stats.notice.gotoAndPlay(2);
}
}
}
if (hp <= 0) {
play();
}
}
}
};
Instance of Symbol 276 MovieClip "a" in Symbol 277 MovieClip Frame 1
onClipEvent (load) {
t = 0;
a = random(10);
}
onClipEvent (enterFrame) {
if (!_root.pau) {
t++;
if (t >= (15 + random(10))) {
a = random(10);
t = 0;
}
if (a > 5) {
_rotation = ((_rotation + 2) + (_root.quicks / 2));
} else {
_rotation = ((_rotation - 2) - (_root.quicks / 2));
}
}
}
Symbol 277 MovieClip Frame 21
stop();
_root.stats.fader.play();
Symbol 277 MovieClip Frame 22
prevFrame();