Frame 2
tot = getBytesTotal();
lod = getBytesLoaded();
if ((tot / lod) == 1) {
gotoAndPlay (5);
}
Frame 3
tot = getBytesTotal();
lod = getBytesLoaded();
percent = Math.floor((lod / tot) * 100) + 1;
loadbar.gotoAndStop(percent);
Frame 4
if (lod == tot) {
play();
} else {
gotoAndPlay (3);
}
Frame 6
stop();
Symbol 8 MovieClip Frame 1
stop();
Symbol 8 MovieClip Frame 100
stop();
Symbol 28 MovieClip Frame 1
stop();
Symbol 28 MovieClip Frame 2
gotoAndStop (1);
Symbol 28 MovieClip Frame 8
gotoAndStop (1);
Symbol 28 MovieClip Frame 17
gotoAndStop (1);
Symbol 28 MovieClip Frame 27
gotoAndStop (1);
Symbol 28 MovieClip Frame 36
gotoAndStop (1);
Symbol 28 MovieClip Frame 45
gotoAndStop (1);
Symbol 28 MovieClip Frame 54
gotoAndStop (1);
Symbol 28 MovieClip Frame 61
gotoAndStop (1);
Symbol 28 MovieClip Frame 70
gotoAndStop (1);
Symbol 28 MovieClip Frame 85
gotoAndStop (1);
Symbol 28 MovieClip Frame 96
gotoAndStop (1);
Symbol 28 MovieClip Frame 107
gotoAndStop (1);
Symbol 28 MovieClip Frame 117
gotoAndStop (1);
Symbol 28 MovieClip Frame 128
gotoAndStop (1);
Symbol 28 MovieClip Frame 139
gotoAndStop (1);
Symbol 28 MovieClip Frame 149
gotoAndStop (1);
Symbol 28 MovieClip Frame 157
gotoAndStop (1);
Symbol 28 MovieClip Frame 168
gotoAndStop (1);
Symbol 65 Button
on (rollOver) {
cursorOn();
}
on (release) {
clickOn();
_parent.startGame();
}
Symbol 68 Button
on (rollOver) {
cursorOn();
}
on (release) {
clickOn();
gotoAndStop (3);
}
Symbol 74 Button
on (release) {
_parent._parent.mute = !_parent._parent.mute;
_parent._parent.muteOn(_parent._parent.mute);
gotoAndStop(_parent._parent.mute + 1);
}
Symbol 76 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 2
stop();
Symbol 142 Button
on (rollOver) {
cursorOn();
}
on (release) {
clickMenu();
gotoAndStop (4);
}
Symbol 145 Button
on (rollOver) {
cursorOn();
}
on (release) {
clickReturn();
gotoAndStop (2);
}
Symbol 151 Button
on (rollOver) {
cursorOn();
}
on (release) {
clickMenu();
gotoAndStop (3);
}
Symbol 152 MovieClip Frame 1
function cursorOn() {
_parent.soundbox.gotoAndPlay("c_move");
}
function clickOn() {
_parent.soundbox.gotoAndPlay("c_select");
}
function clickReturn() {
_parent.soundbox.gotoAndPlay("c_cancel");
}
function clickMenu() {
_parent.soundbox.gotoAndPlay("c_menu");
}
stop();
Instance of Symbol 76 MovieClip in Symbol 152 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent.mute + 1);
}
Symbol 152 MovieClip Frame 2
stop();
Symbol 152 MovieClip Frame 3
stop();
Symbol 152 MovieClip Frame 4
stop();
Symbol 164 MovieClip Frame 1500
stop();
Symbol 179 MovieClip Frame 1501
stop();
Symbol 185 MovieClip Frame 1
if (_parent._parent.hitcount == (_parent._parent.maxhit - 1)) {
sctext.textColor = 3059185 /* 0x2EADF1 */;
} else if (_parent._parent.hitcount == _parent._parent.maxhit) {
sctext.textColor = 15353928 /* 0xEA4848 */;
}
Symbol 185 MovieClip Frame 2
sctext.textColor = 16777215 /* 0xFFFFFF */;
Symbol 186 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 2
play();
Symbol 186 MovieClip Frame 14
stop();
this.removeMovieClip();
Symbol 198 MovieClip Frame 17
stop();
Symbol 205 MovieClip Frame 17
stop();
Symbol 206 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 2
stop();
Symbol 226 MovieClip Frame 9
stop();
Symbol 238 MovieClip Frame 2
play();
Symbol 238 MovieClip Frame 8
stop();
Symbol 238 MovieClip Frame 9
_parent.hitmode = 0;
play();
Symbol 238 MovieClip Frame 12
stop();
_parent.play();
Symbol 241 MovieClip Frame 1
function haHit() {
_parent._parent._parent.hitcount++;
hitcount = 1;
_parent.beamZap(this._name);
}
function bombHit() {
if (hitmode == 1) {
hitcount++;
hitAnime();
}
}
function haExtraHit() {
_parent._parent._parent.hitcount++;
if (hitcount < maxhit) {
hitcount++;
_parent.beamZap(this._name);
}
}
function hitAnime() {
if (hitcount == 1) {
gotoAndPlay (60);
} else {
flymc._y = flymc._y - 20;
flymc.c = 0;
flymc.gotoAndPlay(1);
}
dispScore();
}
function dispScore() {
if (hitcount <= maxhit) {
_parent._parent._parent.scoreUp(point * hitcount);
if (hitcount == 1) {
scdisp.score = point;
scdisp.gotoAndPlay(2);
} else {
scdisp.duplicateMovieClip("scdisp" + hitcount, hitcount);
eval ("scdisp" + hitcount)._y = flymc._y - 30;
eval ("scdisp" + hitcount).score = point * hitcount;
eval ("scdisp" + hitcount).gotoAndPlay(2);
}
}
}
function itemCheck() {
if (itemget > 0) {
if (itemget == 1) {
_parent.bombSet(this._x, this._y);
} else if (itemget == 2) {
_parent.lifeSet(this._x, this._y);
}
itemget = 0;
}
}
this._visible = 0;
point = 400;
maxhit = 3;
stop();
Symbol 241 MovieClip Frame 2
hitcount = 0;
shotcount = 0;
Instance of Symbol 191 MovieClip in Symbol 241 MovieClip Frame 6
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.haHit();
}
Symbol 241 MovieClip Frame 11
stop();
Instance of Symbol 206 MovieClip in Symbol 241 MovieClip Frame 11
onClipEvent (load) {
this.gotoAndStop(Math.floor(Math.random() * 2) + 1);
c = 0;
}
onClipEvent (enterFrame) {
c++;
if ((c == _parent.shoottime) && (hitcount < 1)) {
_parent.play();
}
}
Symbol 241 MovieClip Frame 26
shotcount++;
_parent.shootBeam(this._x, this._y - 35, this._xscale);
Symbol 241 MovieClip Frame 35
if ((shotcount == shootnum) && (hitcount < 1)) {
gotoAndPlay (45);
}
Symbol 241 MovieClip Frame 44
if ((shotcount < shootnum) && (hitcount < 1)) {
gotoAndPlay (26);
}
Symbol 241 MovieClip Frame 53
hitmode = 0;
Symbol 241 MovieClip Frame 59
this._visible = 0;
gotoAndStop (1);
Symbol 241 MovieClip Frame 60
play();
Symbol 241 MovieClip Frame 61
stop();
Instance of Symbol 238 MovieClip "flymc" in Symbol 241 MovieClip Frame 61
onClipEvent (load) {
c = 0;
this.gotoAndPlay(2);
}
onClipEvent (enterFrame) {
if (down != 1) {
if (this._y > _parent.glevel) {
this.gotoAndPlay("down");
down = 1;
} else {
c++;
this._y = this._y + (c * 2);
}
} else if (this._y < _parent.glevel) {
c++;
this._y = this._y + (c * 2);
if (this._y > _parent.glevel) {
this.gotoAndPlay("down");
down = 1;
}
}
}
Instance of Symbol 240 MovieClip in Symbol 241 MovieClip Frame 61
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
if (_parent.flymc._y < -10) {
_parent.haExtraHit();
}
}
Symbol 241 MovieClip Frame 63
this._visible = 0;
itemCheck();
gotoAndStop (1);
Symbol 262 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 2
play();
Symbol 262 MovieClip Frame 4
eval ("_parent." + target).hitAnime();
zapSound.start(0, 1);
Symbol 262 MovieClip Frame 9
stop();
_parent.deleteZap(id);
Symbol 269 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 2
play();
beamSound.start(0, 1);
Symbol 269 MovieClip Frame 4
_parent._parent._parent.getDamage(50, 1);
Symbol 269 MovieClip Frame 5
stop();
_parent.deleteBeam(id);
Symbol 276 Button
on (release) {
itemGet();
}
Symbol 291 MovieClip Frame 8
stop();
Symbol 292 MovieClip Frame 1
this._visible = 0;
stop();
Symbol 292 MovieClip Frame 2
this._visible = 1;
stop();
Symbol 292 MovieClip Frame 7
gotoAndStop (1);
Symbol 298 MovieClip Frame 1
this._visible = 0;
stop();
Symbol 298 MovieClip Frame 2
this._visible = 1;
stop();
Symbol 298 MovieClip Frame 7
gotoAndStop (1);
Instance of Symbol 307 MovieClip in Symbol 318 MovieClip Frame 2
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent._parent.haHit();
}
Symbol 318 MovieClip Frame 71
stop();
Symbol 335 MovieClip Frame 1
function haHit() {
_parent.beamZap(this._name);
}
function hitAnime() {
_parent._parent._parent.getDamage(50, 0);
gotoAndPlay (3);
_parent._parent._parent.soundbox.gotoAndPlay("lgm");
}
this._visible = 0;
stop();
Symbol 335 MovieClip Frame 2
stop();
Symbol 335 MovieClip Frame 32
stop();
Symbol 344 MovieClip Frame 1
function beamZap(a) {
var id = 0;
i = 0;
while (i < 10) {
id++;
if (zapAry[i] == 0) {
break;
}
i++;
}
if (id < 10) {
zap.duplicateMovieClip("zap" + id, id);
eval ("zap" + id)._x = _parent._xmouse - this._x;
eval ("zap" + id)._y = _parent._ymouse;
eval ("zap" + id)._xscale = ((eval ("zap" + id)._y / 400) * 80) + 20;
eval ("zap" + id)._yscale = eval ("zap" + id)._xscale;
eval ("zap" + id).id = id;
eval ("zap" + id).target = a;
zapAry[id - 1] = 1;
eval ("zap" + id).gotoAndPlay(2);
}
}
function deleteZap(a) {
eval ("zap" + a).removeMovieClip();
zapAry[a - 1] = 0;
}
function shootBeam(a, b, c) {
var bi = 0;
j = 0;
while (j < 10) {
bi++;
if (beamAry[j] == 0) {
break;
}
j++;
}
if (id < 10) {
beam.duplicateMovieClip("beam" + bi, bi + 50);
eval ("beam" + bi)._x = a;
eval ("beam" + bi)._y = b - (30 * ((c - 100) / 100));
eval ("beam" + id)._xscale = c;
eval ("beam" + id)._yscale = c;
eval ("beam" + bi).id = bi;
beamAry[bi - 1] = 1;
eval ("beam" + bi).gotoAndPlay(2);
}
}
function deleteBeam(a) {
eval ("beam" + a).removeMovieClip();
beamAry[a - 1] = 0;
}
function enemyCall(a, b, c, d) {
if (eval (a)._currentframe == 1) {
eval (a)._visible = 1;
eval (a).hitmode = 1;
eval (a).shoottime = b;
if (c != undefined) {
eval (a).shootnum = c;
} else {
eval (a).shootnum = 1;
}
eval (a).gotoAndPlay(2);
}
if (d != undefined) {
eval (a).itemget = d;
}
}
function lgmCall(a, b) {
if (eval ("grub" + b)._currentframe == 1) {
if (eval (a)._currentframe == 1) {
eval (a)._visible = 1;
eval (a).gotoAndStop(2);
}
}
}
function bombSet(x, y) {
_parent._parent.soundbox.gotoAndPlay("itemappear");
bombitem._x = x;
bombitem._y = y - 55;
bombitem.play();
}
function lifeSet(x, y) {
_parent._parent.soundbox.gotoAndPlay("itemappear");
lifeitem._x = x;
lifeitem._y = y - 60;
lifeitem.play();
}
grubhit = 3;
l_crater = 35;
l_rock1 = 10;
l_rock2 = 30;
l_rock3 = 40;
zapAry = new Array();
beamAry = new Array();
i = 0;
while (i < 10) {
zapAry[i] = 0;
beamAry[i] = 0;
i++;
}
Instance of Symbol 241 MovieClip "grub1" in Symbol 344 MovieClip Frame 1
onClipEvent (load) {
glevel = _parent.l_crater;
}
Instance of Symbol 241 MovieClip "grub22" in Symbol 344 MovieClip Frame 1
onClipEvent (load) {
glevel = _parent.l_crater;
}
Instance of Symbol 262 MovieClip "zap" in Symbol 344 MovieClip Frame 1
onClipEvent (load) {
zapSound = new Sound(this);
zapSound.attachSound("hit_grub");
}
Instance of Symbol 269 MovieClip "beam" in Symbol 344 MovieClip Frame 1
onClipEvent (load) {
beamSound = new Sound(this);
beamSound.attachSound("s_beam");
}
Instance of Symbol 292 MovieClip "bombitem" in Symbol 344 MovieClip Frame 1
onClipEvent (load) {
function itemGet() {
this.play();
_parent._parent._parent.hitcount++;
_parent._parent._parent.bombGet();
}
}
Instance of Symbol 298 MovieClip "lifeitem" in Symbol 344 MovieClip Frame 1
onClipEvent (load) {
function itemGet() {
this.play();
_parent._parent._parent.hitcount++;
_parent._parent._parent.lifeGet();
}
}
Symbol 344 MovieClip Frame 28
enemyCall(grub22, 10);
Instance of Symbol 241 MovieClip "grub2" in Symbol 344 MovieClip Frame 50
onClipEvent (load) {
glevel = _parent.l_crater;
}
Symbol 344 MovieClip Frame 55
enemyCall(grub1, 10);
Instance of Symbol 241 MovieClip "grub7" in Symbol 344 MovieClip Frame 100
onClipEvent (load) {
glevel = _parent.l_rock1;
}
Symbol 344 MovieClip Frame 120
enemyCall(grub2, 10);
Symbol 344 MovieClip Frame 147
enemyCall(grub7, 10);
Instance of Symbol 335 MovieClip "lgm1" in Symbol 344 MovieClip Frame 150
onClipEvent (load) {
hidetime = 30;
glevel = _parent.l_crater;
}
Instance of Symbol 241 MovieClip "grub4" in Symbol 344 MovieClip Frame 150
onClipEvent (load) {
glevel = _parent.l_crater;
}
Instance of Symbol 241 MovieClip "grub3" in Symbol 344 MovieClip Frame 150
onClipEvent (load) {
glevel = _parent.l_crater;
}
Symbol 344 MovieClip Frame 185
enemyCall(grub2, 10);
Symbol 344 MovieClip Frame 205
enemyCall(grub3, 10);
Symbol 344 MovieClip Frame 222
enemyCall(grub4, 10, 2);
Symbol 344 MovieClip Frame 233
enemyCall(grub5, 10);
Instance of Symbol 241 MovieClip "grub5" in Symbol 344 MovieClip Frame 250
onClipEvent (load) {
glevel = _parent.l_crater;
}
Instance of Symbol 335 MovieClip "lgm3" in Symbol 344 MovieClip Frame 250
onClipEvent (load) {
hidetime = 20;
glevel = _parent.l_crater;
}
Instance of Symbol 241 MovieClip "grub6" in Symbol 344 MovieClip Frame 250
onClipEvent (load) {
glevel = _parent.l_rock2;
}
Symbol 344 MovieClip Frame 258
enemyCall(grub7, 5);
Symbol 344 MovieClip Frame 273
enemyCall(grub3, 10);
Symbol 344 MovieClip Frame 280
lgmCalll(lgm1, 4);
Symbol 344 MovieClip Frame 298
enemyCall(grub4, 3);
Instance of Symbol 241 MovieClip "grub8" in Symbol 344 MovieClip Frame 300
onClipEvent (load) {
glevel = _parent.l_crater;
}
Instance of Symbol 241 MovieClip "grub18" in Symbol 344 MovieClip Frame 300
onClipEvent (load) {
glevel = _parent.l_crater;
}
Symbol 344 MovieClip Frame 349
enemyCall(grub6, 5);
Symbol 344 MovieClip Frame 373
enemyCall(grub5, 10);
Instance of Symbol 335 MovieClip "lgm2" in Symbol 344 MovieClip Frame 400
onClipEvent (load) {
hidetime = 30;
glevel = _parent.l_crater;
}
Instance of Symbol 241 MovieClip "grub9" in Symbol 344 MovieClip Frame 400
onClipEvent (load) {
glevel = _parent.l_rock3;
}
Symbol 344 MovieClip Frame 421
lgmCall(lgm3, 6);
Symbol 344 MovieClip Frame 441
enemyCall(grub8, 10);
Symbol 344 MovieClip Frame 448
enemyCall(grub18, 5);
Instance of Symbol 241 MovieClip "grub10" in Symbol 344 MovieClip Frame 451
onClipEvent (load) {
glevel = _parent.l_crater;
}
Symbol 344 MovieClip Frame 496
enemyCall(grub9, 5);
Instance of Symbol 241 MovieClip "grub11" in Symbol 344 MovieClip Frame 500
onClipEvent (load) {
glevel = _parent.l_crater;
}
Symbol 344 MovieClip Frame 532
enemyCall(grub18, 10);
Instance of Symbol 241 MovieClip "grub19" in Symbol 344 MovieClip Frame 550
onClipEvent (load) {
glevel = _parent.l_rock1;
}
Instance of Symbol 241 MovieClip "grub12" in Symbol 344 MovieClip Frame 550
onClipEvent (load) {
glevel = _parent.l_rock2;
}
Symbol 344 MovieClip Frame 556
lgmCall(lgm2, 9);
Symbol 344 MovieClip Frame 582
enemyCall(grub10, 10);
Symbol 344 MovieClip Frame 592
enemyCall(grub11, 10);
Instance of Symbol 241 MovieClip "grub23" in Symbol 344 MovieClip Frame 600
onClipEvent (load) {
glevel = _parent.l_crater;
}
Instance of Symbol 241 MovieClip "grub20" in Symbol 344 MovieClip Frame 600
onClipEvent (load) {
glevel = _parent.l_crater;
}
Symbol 344 MovieClip Frame 635
enemyCall(grub19, 10, 2, 1);
Instance of Symbol 241 MovieClip "grub13" in Symbol 344 MovieClip Frame 650
onClipEvent (load) {
glevel = _parent.l_crater;
}
Symbol 344 MovieClip Frame 699
enemyCall(grub12, 10);
Instance of Symbol 241 MovieClip "grub27" in Symbol 344 MovieClip Frame 700
onClipEvent (load) {
glevel = _parent.l_crater;
}
Instance of Symbol 241 MovieClip "grub21" in Symbol 344 MovieClip Frame 700
onClipEvent (load) {
glevel = _parent.l_crater;
}
Instance of Symbol 241 MovieClip "grub14" in Symbol 344 MovieClip Frame 700
onClipEvent (load) {
glevel = _parent.l_rock2;
}
Symbol 344 MovieClip Frame 718
enemyCall(grub23, 10);
Symbol 344 MovieClip Frame 737
enemyCall(grub13, 5, 2, 2);
Instance of Symbol 241 MovieClip "grub24" in Symbol 344 MovieClip Frame 750
onClipEvent (load) {
glevel = _parent.l_rock2;
}
Symbol 344 MovieClip Frame 752
enemyCall(grub27, 10);
Symbol 344 MovieClip Frame 773
enemyCall(grub20, 10);
Symbol 344 MovieClip Frame 798
enemyCall(grub21, 10);
Symbol 344 MovieClip Frame 812
enemyCall(grub27, 10, 2);
Symbol 344 MovieClip Frame 846
enemyCall(grub14, 10);
Instance of Symbol 241 MovieClip "grub25" in Symbol 344 MovieClip Frame 850
onClipEvent (load) {
glevel = _parent.l_crater;
}
Instance of Symbol 241 MovieClip "grub16" in Symbol 344 MovieClip Frame 850
onClipEvent (load) {
glevel = _parent.l_crater;
}
Symbol 344 MovieClip Frame 871
enemyCall(grub15, 5);
Symbol 344 MovieClip Frame 895
enemyCall(grub24, 5);
Instance of Symbol 241 MovieClip "grub17" in Symbol 344 MovieClip Frame 900
onClipEvent (load) {
glevel = _parent.l_crater;
}
Symbol 344 MovieClip Frame 930
enemyCall(grub16, 5);
Instance of Symbol 241 MovieClip "grub26" in Symbol 344 MovieClip Frame 950
onClipEvent (load) {
glevel = _parent.l_crater;
}
Instance of Symbol 241 MovieClip "grub18" in Symbol 344 MovieClip Frame 950
onClipEvent (load) {
glevel = _parent.l_rock2;
}
Symbol 344 MovieClip Frame 967
enemyCall(grub17, 5);
Symbol 344 MovieClip Frame 984
enemyCall(grub25, 5, 2);
Symbol 344 MovieClip Frame 995
enemyCall(grub26, 5);
Instance of Symbol 241 MovieClip "grub29" in Symbol 344 MovieClip Frame 1000
onClipEvent (load) {
glevel = _parent.l_crater;
}
Symbol 344 MovieClip Frame 1012
enemyCall(grub17, 5);
Symbol 344 MovieClip Frame 1025
enemyCall(grub25, 5);
Symbol 344 MovieClip Frame 1049
enemyCall(grub26, 5);
Instance of Symbol 241 MovieClip "grub31" in Symbol 344 MovieClip Frame 1050
onClipEvent (load) {
glevel = _parent.l_crater;
}
Instance of Symbol 241 MovieClip "grub30" in Symbol 344 MovieClip Frame 1050
onClipEvent (load) {
glevel = _parent.l_crater;
}
Symbol 344 MovieClip Frame 1059
enemyCall(grub18, 5);
Symbol 344 MovieClip Frame 1085
enemyCall(grub29, 5);
Instance of Symbol 241 MovieClip "grub32" in Symbol 344 MovieClip Frame 1100
onClipEvent (load) {
glevel = _parent.l_rock1;
}
Symbol 344 MovieClip Frame 1105
enemyCall(grub30, 5);
Symbol 344 MovieClip Frame 1134
enemyCall(grub31, 5);
Instance of Symbol 335 MovieClip "lgm5" in Symbol 344 MovieClip Frame 1150
onClipEvent (load) {
hidetime = 20;
glevel = _parent.l_crater;
}
Instance of Symbol 241 MovieClip "grub33" in Symbol 344 MovieClip Frame 1150
onClipEvent (load) {
glevel = _parent.l_rock2;
}
Symbol 344 MovieClip Frame 1157
enemyCall(grub32, 5, 2, 1);
Symbol 344 MovieClip Frame 1178
enemyCall(grub30, 5);
Instance of Symbol 241 MovieClip "grub34" in Symbol 344 MovieClip Frame 1201
onClipEvent (load) {
glevel = _parent.l_crater;
}
Instance of Symbol 241 MovieClip "grub35" in Symbol 344 MovieClip Frame 1201
onClipEvent (load) {
glevel = _parent.l_crater;
}
Symbol 344 MovieClip Frame 1207
lgmCall(lgm5, 33);
Symbol 344 MovieClip Frame 1227
enemyCall(grub32, 5);
Symbol 344 MovieClip Frame 1279
enemyCall(grub34, 5);
Symbol 344 MovieClip Frame 1285
enemyCall(grub33, 1);
Instance of Symbol 241 MovieClip "grub36" in Symbol 344 MovieClip Frame 1301
onClipEvent (load) {
glevel = _parent.l_rock3;
}
Symbol 344 MovieClip Frame 1310
enemyCall(grub35, 5);
Symbol 344 MovieClip Frame 1349
enemyCall(grub36, 5);
Instance of Symbol 241 MovieClip "grub37" in Symbol 344 MovieClip Frame 1351
onClipEvent (load) {
glevel = _parent.l_crater;
}
Instance of Symbol 335 MovieClip "lgm4" in Symbol 344 MovieClip Frame 1351
onClipEvent (load) {
hidetime = 20;
glevel = _parent.l_crater;
}
Instance of Symbol 241 MovieClip "grub38" in Symbol 344 MovieClip Frame 1351
onClipEvent (load) {
glevel = _parent.l_crater;
}
Symbol 344 MovieClip Frame 1379
enemyCall(grub35, 10);
Symbol 344 MovieClip Frame 1380
enemyCall(grub34, 10);
Symbol 344 MovieClip Frame 1381
enemyCall(grub38, 20);
Instance of Symbol 241 MovieClip "grub39" in Symbol 344 MovieClip Frame 1401
onClipEvent (load) {
glevel = _parent.l_rock1;
}
Instance of Symbol 241 MovieClip "grub40" in Symbol 344 MovieClip Frame 1401
onClipEvent (load) {
glevel = _parent.l_rock2;
}
Symbol 344 MovieClip Frame 1436
enemyCall(grub36, 10);
Instance of Symbol 241 MovieClip "grub41" in Symbol 344 MovieClip Frame 1451
onClipEvent (load) {
glevel = _parent.l_crater;
}
Symbol 344 MovieClip Frame 1461
enemyCall(grub39, 5);
Symbol 344 MovieClip Frame 1474
lgmCall(lgm4, 38);
Symbol 344 MovieClip Frame 1491
enemyCall(grub37, 5);
Symbol 344 MovieClip Frame 1502
enemyCall(grub40, 5, 2, 2);
Symbol 344 MovieClip Frame 1530
enemyCall(grub41, 10);
Symbol 344 MovieClip Frame 1554
enemyCall(grub38, 5);
Symbol 344 MovieClip Frame 1577
enemyCall(grub39, 5);
Symbol 344 MovieClip Frame 1598
enemyCall(grub36, 5);
Symbol 344 MovieClip Frame 1616
stop();
_parent.play();
Symbol 350 MovieClip Frame 100
stop();
Symbol 351 MovieClip Frame 1500
stop();
Symbol 351 MovieClip Frame 1530
_parent.main.main.textWinOn(1, 0);
_parent.bgmbox.musicFade();
Symbol 351 MovieClip Frame 1542
_parent.stclear.gotoAndPlay(2);
Symbol 351 MovieClip Frame 1597
_parent.main.main.textOff();
_parent.stagenum++;
_parent.shutter.gotoAndPlay("close");
stop();
Symbol 360 MovieClip Frame 1
stop();
Symbol 360 MovieClip Frame 6
this._visible = 0;
gotoAndStop (1);
Symbol 366 Button
on (keyPress "<Tab>") {
dummybutton = 0;
}
Symbol 387 MovieClip Frame 1
stop();
Symbol 387 MovieClip Frame 2
play();
Symbol 387 MovieClip Frame 13
gotoAndStop (1);
Symbol 394 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 6
_parent.toggleMenu(1);
Symbol 394 MovieClip Frame 9
_parent.soundbox.gotoAndPlay("doorclose");
_parent.gotoAndPlay("interval");
Symbol 394 MovieClip Frame 10
stop();
Symbol 394 MovieClip Frame 12
_parent.toggleMenu(0);
_parent.soundbox.gotoAndPlay("dooropen");
Symbol 394 MovieClip Frame 26
gotoAndStop (1);
Symbol 400 Button
on (rollOver) {
cursorOn();
}
on (release) {
clickReturn();
gotoAndStop (2);
}
Symbol 432 MovieClip Frame 1
stop();
Symbol 432 MovieClip Frame 2
stop();
Symbol 432 MovieClip Frame 3
stop();
Symbol 432 MovieClip Frame 4
stop();
Symbol 432 MovieClip Frame 5
stop();
Symbol 432 MovieClip Frame 6
stop();
Symbol 432 MovieClip Frame 7
stop();
Symbol 432 MovieClip Frame 8
stop();
Symbol 432 MovieClip Frame 9
stop();
Symbol 432 MovieClip Frame 10
stop();
Symbol 445 Button
on (rollOver) {
_parent.cursorOn();
}
on (release) {
_parent.clickMenu();
play();
}
Symbol 448 Button
on (rollOver) {
_parent.cursorOn();
}
on (release) {
_parent.clickMenu();
_parent._parent.returnTitle();
}
Symbol 449 MovieClip Frame 1
stop();
Symbol 449 MovieClip Frame 2
play();
Symbol 449 MovieClip Frame 6
var ss = _parent._parent.score;
if (_parent._parent.shootcount == 0) {
var pp = 0;
} else {
var pp = (Math.floor((_parent._parent.hitcount / _parent._parent.shootcount) * 1000) / 10);
}
if (ss == undefined) {
ss = 0;
}
var mm = _parent._parent.main.main.rankmc._currentframe;
score.text = ss;
percent.text = pp + "%";
medal.gotoAndStop(mm);
Symbol 449 MovieClip Frame 11
stop();
Symbol 449 MovieClip Frame 17
_parent._parent.continueGame();
gotoAndStop (1);
Symbol 460 MovieClip Frame 1
stop();
Symbol 460 MovieClip Frame 2
play();
Symbol 460 MovieClip Frame 12
stop();
Symbol 460 MovieClip Frame 13
play();
Symbol 460 MovieClip Frame 22
_parent._parent._parent.startStage();
gotoAndStop (1);
Symbol 466 MovieClip Frame 9
stop();
Symbol 466 MovieClip Frame 10
play();
Symbol 466 MovieClip Frame 15
stop();
Symbol 471 Button
on (rollOver) {
_parent._parent.cursorOn();
}
on (release) {
_parent._parent.clickOn();
_parent.startGame();
play();
}
Symbol 472 MovieClip Frame 1
play();
Symbol 472 MovieClip Frame 5
stop();
Symbol 472 MovieClip Frame 11
stop();
Symbol 475 MovieClip Frame 1
stop();
Symbol 475 MovieClip Frame 2
play();
Symbol 475 MovieClip Frame 12
stop();
Symbol 475 MovieClip Frame 13
play();
Symbol 475 MovieClip Frame 22
_parent._parent._parent.startStage();
gotoAndStop (1);
Symbol 480 MovieClip Frame 9
stop();
Symbol 480 MovieClip Frame 10
play();
Symbol 480 MovieClip Frame 15
stop();
Symbol 483 MovieClip Frame 1
stop();
Symbol 483 MovieClip Frame 2
play();
Symbol 483 MovieClip Frame 12
stop();
Symbol 483 MovieClip Frame 13
play();
Symbol 483 MovieClip Frame 22
_parent._parent._parent.startStage();
gotoAndStop (1);
Symbol 487 MovieClip Frame 9
stop();
Symbol 487 MovieClip Frame 10
play();
Symbol 487 MovieClip Frame 15
stop();
Symbol 488 MovieClip Frame 1
function resetObj() {
gobtn.gotoAndPlay(1);
chara.gotoAndPlay(2);
}
function startGame() {
stagedisp.gotoAndPlay("start");
chara.gotoAndPlay("start");
}
stop();
resetObj();
Symbol 488 MovieClip Frame 2
stop();
resetObj();
Symbol 488 MovieClip Frame 3
stop();
resetObj();
Symbol 489 MovieClip Frame 1
function cursorOn() {
_parent.soundbox.gotoAndPlay("c_move");
}
function clickOn() {
_parent.soundbox.gotoAndPlay("c_select");
}
function clickReturn() {
_parent.soundbox.gotoAndPlay("c_cancel");
}
function clickMenu() {
_parent.soundbox.gotoAndPlay("c_menu");
}
stop();
Symbol 489 MovieClip Frame 2
disp.gotoAndPlay(2);
Symbol 489 MovieClip Frame 6
stop();
Symbol 489 MovieClip Frame 11
stop();
Symbol 505 MovieClip Frame 1
stop();
Symbol 505 MovieClip Frame 2
stop();
Symbol 505 MovieClip Frame 3
stop();
Symbol 511 MovieClip Frame 1
stop();
Symbol 511 MovieClip Frame 2
stop();
Symbol 511 MovieClip Frame 3
stop();
Symbol 511 MovieClip Frame 4
stop();
Symbol 512 MovieClip Frame 1
function rankUp() {
if (_currentframe < 10) {
_parent.rankupmc.gotoAndPlay(2);
_parent.face.gotoAndPlay("rankup");
cursor.move = 1;
}
}
stop();
cursor.mw = 85;
Instance of Symbol 511 MovieClip "cursor" in Symbol 512 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
move = 0;
c = 0;
ms = 7;
cgap = -115;
}
onClipEvent (enterFrame) {
if (move > 0) {
if (move == 1) {
if (c < 4) {
this._x = mw + cgap;
if (((Math.floor(c / 2) / 2) - Math.floor(Math.floor(c / 2) / 2)) > 0) {
this._visible = 0;
} else {
this._visible = 1;
}
c++;
} else {
this._visible = 1;
c = ms - 1;
move++;
}
} else if (move == 2) {
if (c >= 0) {
this.gotoAndStop(4);
this._x = ((mw / ms) * c) + cgap;
_parent.mask._width = (mw / ms) * c;
c--;
} else {
c = 0;
move++;
this.gotoAndStop(3);
}
} else if (move == 3) {
if (c > 0) {
_parent.nextFrame();
c = 1;
move++;
}
c++;
} else if (move == 4) {
if (c <= ms) {
this.gotoAndStop(2);
this._x = ((mw / ms) * c) + cgap;
_parent.mask._width = (mw / ms) * c;
c++;
} else {
c = 0;
move++;
this.gotoAndStop(1);
}
} else if (move == 5) {
if (c < 8) {
this._x = mw + cgap;
if (((Math.floor(c / 2) / 2) - Math.floor(Math.floor(c / 2) / 2)) > 0) {
this._visible = 1;
} else {
this._visible = 0;
}
c++;
} else {
this._visible = 0;
c = 0;
move = 0;
}
}
}
}
Symbol 512 MovieClip Frame 2
cursor.mw = 156;
Symbol 512 MovieClip Frame 3
cursor.mw = 128;
Symbol 512 MovieClip Frame 4
cursor.mw = 85;
Symbol 512 MovieClip Frame 5
cursor.mw = 156;
Symbol 512 MovieClip Frame 6
cursor.mw = 127;
Symbol 512 MovieClip Frame 7
cursor.mw = 92;
Symbol 512 MovieClip Frame 8
cursor.mw = 85;
Symbol 512 MovieClip Frame 9
cursor.mw = 89;
Symbol 512 MovieClip Frame 10
cursor.mw = 144;
Symbol 516 MovieClip Frame 1
this._visible = 0;
stop();
Symbol 516 MovieClip Frame 2
this._visible = 1;
play();
Symbol 516 MovieClip Frame 9
stop();
Symbol 516 MovieClip Frame 10
play();
Symbol 516 MovieClip Frame 14
gotoAndStop (1);
Symbol 537 MovieClip Frame 1
stop();
Symbol 537 MovieClip Frame 2
stop();
Symbol 537 MovieClip Frame 3
stop();
Symbol 537 MovieClip Frame 4
stop();
Symbol 537 MovieClip Frame 5
stop();
Symbol 537 MovieClip Frame 6
stop();
Symbol 537 MovieClip Frame 7
stop();
Symbol 539 MovieClip Frame 1
stop();
Symbol 539 MovieClip Frame 2
play();
Instance of Symbol 537 MovieClip in Symbol 539 MovieClip Frame 11
onClipEvent (load) {
this.gotoAndStop(_parent._parent.messagenum);
}
Instance of Symbol 537 MovieClip in Symbol 539 MovieClip Frame 13
onClipEvent (load) {
this.gotoAndStop(_parent._parent.messagenum);
}
Symbol 539 MovieClip Frame 15
if (_parent.out != 1) {
stop();
}
Instance of Symbol 537 MovieClip in Symbol 539 MovieClip Frame 15
onClipEvent (load) {
this.gotoAndStop(_parent._parent.messagenum);
}
Instance of Symbol 537 MovieClip in Symbol 539 MovieClip Frame 43
onClipEvent (load) {
this.gotoAndStop(_parent._parent.messagenum);
}
Instance of Symbol 537 MovieClip in Symbol 539 MovieClip Frame 45
onClipEvent (load) {
this.gotoAndStop(_parent._parent.messagenum);
}
Symbol 539 MovieClip Frame 49
if (_parent.replay > 0) {
stop();
} else {
_parent.play();
}
Symbol 540 MovieClip Frame 1
stop();
Symbol 540 MovieClip Frame 9
stop();
if (messagenum > 0) {
message.gotoAndPlay(2);
}
Symbol 540 MovieClip Frame 16
gotoAndStop (1);
Symbol 547 MovieClip Frame 1
stop();
Symbol 547 MovieClip Frame 2
play();
Symbol 547 MovieClip Frame 3
play();
Symbol 547 MovieClip Frame 15
gotoAndStop (1);
Symbol 547 MovieClip Frame 16
play();
Symbol 547 MovieClip Frame 23
gotoAndStop (1);
Symbol 552 MovieClip Frame 1
stop();
Symbol 552 MovieClip Frame 17
gotoAndStop (1);
Symbol 553 MovieClip Frame 1
function textWinOn(a, b) {
textwin.messagenum = a;
textwin.out = b;
textwin.gotoAndPlay(2);
}
function textOff() {
textwin.replay = 1;
textwin.message.gotoAndPlay("clear");
}
function textWinRe(a, b) {
if (b == 1) {
textwin.gotoAndStop("opened");
}
textwin.messagenum = a;
textwin.out = 0;
textwin.message.gotoAndPlay(2);
}
function textWinOff() {
textwin.replay = 0;
textwin.message.gotoAndPlay("clear");
}
function notextWinOff() {
textwin.gotoAndPlay("close");
}
stop();
Symbol 553 MovieClip Frame 2
stop();
Symbol 555 MovieClip Frame 1
stop();
bx = _parent.main._x;
by = _parent.main._y;
Symbol 555 MovieClip Frame 2
function shakePanel() {
_parent.main._x = bx + shake._x;
_parent.main._y = by + shake._y;
shake._visible = 0;
}
play();
shakePanel();
Symbol 555 MovieClip Frame 3
shakePanel();
Symbol 555 MovieClip Frame 4
shakePanel();
Symbol 555 MovieClip Frame 5
shakePanel();
Symbol 555 MovieClip Frame 6
shakePanel();
Symbol 555 MovieClip Frame 7
shakePanel();
Symbol 555 MovieClip Frame 8
shakePanel();
Symbol 555 MovieClip Frame 9
shakePanel();
Symbol 555 MovieClip Frame 10
gotoAndStop (1);
shakePanel();
Symbol 559 MovieClip Frame 1
stop();
Symbol 559 MovieClip Frame 2
play();
Symbol 559 MovieClip Frame 53
gotoAndStop (1);
Instance of Symbol 571 MovieClip in Symbol 579 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent._parent.haHit();
}
Symbol 579 MovieClip Frame 11
stop();
Symbol 582 MovieClip Frame 4
stop();
Symbol 593 MovieClip Frame 7
stop();
Symbol 603 MovieClip Frame 4
stop();
Symbol 610 MovieClip Frame 5
stop();
Symbol 630 MovieClip Frame 22
stop();
Symbol 658 MovieClip Frame 1
function haHit() {
hitcount++;
_parent.beamZap(this._name);
}
function bombHit() {
if (hitmode == 1) {
if (hitcount < exhit) {
hitcount = exhit;
} else {
hitcount++;
}
hitAnime();
}
}
function hitAnime() {
if (hitcount >= maxhit) {
gotoAndPlay (79);
} else if (hitcount < exhit) {
spark = 3;
} else {
gotoAndPlay (52);
}
dispScore();
}
function dispScore() {
if ((hitcount <= maxhit) && (hitcount >= exhit)) {
_parent._parent._parent.scoreUp(point * (hitcount - 1));
scdisp.score = point * (hitcount - 1);
scdisp.gotoAndPlay(2);
}
}
function itemCheck() {
if (itemget > 0) {
if (itemget == 1) {
_parent.bombSet(this._x, this._y);
} else if (itemget == 2) {
_parent.lifeSet(this._x, this._y);
}
itemget = 0;
}
}
function setColor(a) {
colObj = new Color(body);
if (a == 2) {
colObj.setTransform(_parent.cList);
} else if (a == 1) {
colObj.setTransform(_parent.dList);
} else {
colObj.setTransform(_parent.eList);
}
}
point = 600;
exhit = 2;
maxhit = 4;
shootcount = 0;
hitcount = 0;
blowSound = new Sound(this);
blowSound.attachSound("robo_blow");
beamSound = new Sound(this);
beamSound.attachSound("robo_beam");
stop();
Instance of Symbol 584 MovieClip in Symbol 658 MovieClip Frame 17
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.haHit();
}
Symbol 658 MovieClip Frame 21
play();
Instance of Symbol 186 MovieClip "scdisp" in Symbol 658 MovieClip Frame 21
onClipEvent (enterFrame) {
if (_parent.spark > 0) {
_parent.spark--;
_parent.setColor(_parent.spark);
}
}
Symbol 658 MovieClip Frame 27
hitmode = 1;
stop();
Instance of Symbol 588 MovieClip "body" in Symbol 658 MovieClip Frame 27
onClipEvent (load) {
c = 0;
}
onClipEvent (enterFrame) {
c++;
if ((c == _parent.shoottime) && (_parent.hitcount < 1)) {
_parent.play();
}
}
Instance of Symbol 584 MovieClip in Symbol 658 MovieClip Frame 27
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.haHit();
}
Symbol 658 MovieClip Frame 28
_parent._parent._parent.soundbox.gotoAndPlay("robotaim");
Symbol 658 MovieClip Frame 36
shootcount++;
_parent.robotBeam();
beamSound.start(0, 1);
Symbol 658 MovieClip Frame 51
if (shootcount < shootnum) {
gotoAndPlay (34);
} else {
stop();
}
Symbol 658 MovieClip Frame 52
play();
Instance of Symbol 632 MovieClip in Symbol 658 MovieClip Frame 57
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.haHit();
}
Symbol 658 MovieClip Frame 79
hitmode = 0;
blowSound.start(0, 1);
Symbol 658 MovieClip Frame 101
itemCheck();
stop();
Symbol 665 MovieClip Frame 1
stop();
Symbol 665 MovieClip Frame 2
play();
beamSound.start(0, 1);
Symbol 665 MovieClip Frame 4
_parent._parent._parent.getDamage(50, 1);
Symbol 665 MovieClip Frame 5
stop();
_parent.deleteBeam(id);
Symbol 672 MovieClip Frame 1
if (_parent._parent.mode >= 5) {
sctext.textColor = 15353928 /* 0xEA4848 */;
} else if (_parent._parent.hitcount == (_parent._parent.maxhit - 1)) {
sctext.textColor = 3059185 /* 0x2EADF1 */;
} else if (_parent._parent.hitcount >= _parent._parent.maxhit) {
sctext.textColor = 15353928 /* 0xEA4848 */;
}
Symbol 672 MovieClip Frame 2
sctext.textColor = 16777215 /* 0xFFFFFF */;
Symbol 673 MovieClip Frame 1
stop();
Symbol 673 MovieClip Frame 2
play();
Symbol 673 MovieClip Frame 14
stop();
this.removeMovieClip();
Symbol 678 MovieClip Frame 3
stop();
Symbol 685 MovieClip Frame 8
stop();
Symbol 690 MovieClip Frame 4
stop();
Symbol 694 MovieClip Frame 7
stop();
Symbol 725 MovieClip Frame 1
function haHit() {
if (hitcount < maxhit) {
hitcount++;
}
hhcount++;
if (mode == 1) {
_parent.beamZap(this._name, ss * 2, ss, -20);
} else if (mode == 2) {
_parent.beamZap(this._name, -(ss * 2), ss, -20);
} else if (mode == 3) {
_parent.beamZap(this._name, 0, -(ss * 2), -20);
} else if (mode == 4) {
_parent.beamZap(this._name, 0, ss, -20);
}
}
function bombHit() {
if (hitmode == 1) {
if (hitcount < exhit) {
hitcount = exhit;
} else {
hitcount++;
}
hitAnime();
}
}
function hitAnime() {
if (hhcount >= fallhit) {
c = 0;
mode = 5;
_parent._parent._parent.soundbox.gotoAndPlay("agentfall");
gotoAndPlay (27);
} else if (hitcount >= exhit) {
if (disarm > 0) {
spark = 3;
} else {
disarm = 1;
gotoAndPlay (16);
}
}
dispScore();
}
function dispScore() {
if (mode >= 5) {
_parent._parent._parent.scoreUp(defeatpoint);
scdisp.score = defeatpoint;
scdisp.gotoAndPlay(2);
} else if (hitcount >= exhit) {
if (hitcount >= maxhit) {
var dp = (point * (maxhit - 1));
} else {
var dp = (point * (hitcount - 1));
}
_parent._parent._parent.scoreUp(dp);
scdisp.score = dp;
scdisp.gotoAndPlay(2);
}
}
point = 700;
defeatpoint = 50000;
exhit = 2;
maxhit = 5;
fallhit = 25;
shotnum = 2;
stop();
Instance of Symbol 670 MovieClip "body" in Symbol 725 MovieClip Frame 1
onClipEvent (load) {
c = 0;
}
onClipEvent (enterFrame) {
c++;
if ((c == _parent.shoottime) && (_parent.hitcount < 1)) {
_parent.play();
}
}
Symbol 725 MovieClip Frame 2
stop();
Instance of Symbol 675 MovieClip in Symbol 725 MovieClip Frame 2
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.haHit();
}
Symbol 725 MovieClip Frame 3
play();
Symbol 725 MovieClip Frame 9
shootcount++;
_parent.agentBeam(this._x + 10, this._y - 110, 100);
Symbol 725 MovieClip Frame 15
if (shootcount < shotnum) {
gotoAndPlay (8);
} else {
stop();
}
Symbol 725 MovieClip Frame 16
c = 0;
mode = 4;
Symbol 725 MovieClip Frame 20
stop();
Symbol 725 MovieClip Frame 21
play();
Symbol 725 MovieClip Frame 26
stop();
Symbol 725 MovieClip Frame 27
hitmode = 0;
Symbol 725 MovieClip Frame 43
stop();
c = 0;
mode = 6;
Symbol 737 MovieClip Frame 1
function haHit() {
hitcount++;
_parent.beamZap(this._name);
}
function bombHit() {
if (hitmode == 1) {
if (hitcount < exhit) {
hitcount = exhit;
} else {
hitcount++;
}
hitAnime();
}
}
function hitAnime() {
if (hitcount >= maxhit) {
gotoAndPlay (79);
} else if (hitcount < exhit) {
spark = 3;
} else {
gotoAndPlay (52);
}
dispScore();
}
function dispScore() {
if ((hitcount <= maxhit) && (hitcount >= exhit)) {
_parent._parent._parent.scoreUp(point * (hitcount - 1));
scdisp.score = point * (hitcount - 1);
scdisp.gotoAndPlay(2);
}
}
function itemCheck() {
if (itemget > 0) {
if (itemget == 1) {
_parent.bombSet(this._x, this._y);
} else if (itemget == 2) {
_parent.lifeSet(this._x, this._y);
}
itemget = 0;
}
}
function setColor(a) {
colObj = new Color(body);
if (a == 2) {
colObj.setTransform(_parent.cList);
} else if (a == 1) {
colObj.setTransform(_parent.dList);
} else {
colObj.setTransform(_parent.eList);
}
}
point = 600;
exhit = 2;
maxhit = 4;
shootcount = 0;
hitcount = 0;
blowSound = new Sound(this);
blowSound.attachSound("robo_blow");
beamSound = new Sound(this);
beamSound.attachSound("robo_beam");
stop();
Instance of Symbol 584 MovieClip in Symbol 737 MovieClip Frame 17
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.haHit();
}
Symbol 737 MovieClip Frame 21
hitmode = 1;
play();
Instance of Symbol 186 MovieClip "scdisp" in Symbol 737 MovieClip Frame 21
onClipEvent (enterFrame) {
if (_parent.spark > 0) {
_parent.spark--;
_parent.setColor(_parent.spark);
}
}
Symbol 737 MovieClip Frame 27
stop();
Instance of Symbol 588 MovieClip "body" in Symbol 737 MovieClip Frame 27
onClipEvent (load) {
c = 0;
}
onClipEvent (enterFrame) {
c++;
if ((c == _parent.shoottime) && (_parent.hitcount < 1)) {
_parent.play();
}
}
Instance of Symbol 584 MovieClip in Symbol 737 MovieClip Frame 27
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.haHit();
}
Symbol 737 MovieClip Frame 28
_parent._parent._parent.soundbox.gotoAndPlay("robotaim");
Symbol 737 MovieClip Frame 36
shootcount++;
_parent.robotBeam();
beamSound.start(0, 1);
Symbol 737 MovieClip Frame 51
if (shootcount < shootnum) {
gotoAndPlay (34);
} else {
stop();
}
Symbol 737 MovieClip Frame 52
play();
Instance of Symbol 632 MovieClip in Symbol 737 MovieClip Frame 57
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.haHit();
}
Symbol 737 MovieClip Frame 79
hitmode = 0;
blowSound.start(0, 1);
Symbol 737 MovieClip Frame 101
itemCheck();
stop();
Symbol 758 MovieClip Frame 1
function haHit() {
_parent.beamZap(this._name);
}
function hitAnime() {
_parent._parent._parent.getDamage(50, 0);
gotoAndPlay (9);
_parent._parent._parent.soundbox.gotoAndPlay("lgm");
}
stop();
Instance of Symbol 757 MovieClip in Symbol 758 MovieClip Frame 4
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.haHit();
}
Symbol 758 MovieClip Frame 8
stop();
Symbol 758 MovieClip Frame 17
stop();
Symbol 782 MovieClip Frame 1
function haHit() {
if (hitcount == undefined) {
hitcount = 1;
} else if (hitcount < maxhit) {
hitcount++;
}
_parent.beamZap(this._name);
}
function bombHit() {
hitcount = 1;
hitAnime();
}
function hitAnime() {
if (hitcount >= maxhit) {
gotoAndPlay (74);
} else {
if (hitcount < maxhit) {
spframe = _currentframe;
}
gotoAndPlay (47);
}
dispScore();
}
function returnState() {
if (hitcount >= exhit) {
if (spframe < 52) {
gotoAndPlay (52);
} else {
gotoAndPlay(spframe);
}
} else if (hitcout < exhit) {
gotoAndPlay (23);
}
}
function dispScore() {
if ((hitcount <= maxhit) && (hitcount >= exhit)) {
_parent._parent._parent.scoreUp(point * (hitcount - 1));
scdisp.score = point * (hitcount - 1);
scdisp.gotoAndPlay(2);
}
}
function itemCheck() {
if (itemget > 0) {
if (itemget == 1) {
_parent.bombSet(this._x, this._y);
} else if (itemget == 2) {
_parent.lifeSet(this._x, this._y);
}
itemget = 0;
}
}
point = 600;
exhit = 2;
maxhit = 4;
shootcount = 0;
stop();
Instance of Symbol 584 MovieClip in Symbol 782 MovieClip Frame 17
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.haHit();
}
Symbol 782 MovieClip Frame 21
play();
Symbol 782 MovieClip Frame 22
stop();
Instance of Symbol 588 MovieClip in Symbol 782 MovieClip Frame 22
onClipEvent (load) {
c = 0;
}
onClipEvent (enterFrame) {
c++;
if ((c == _parent.shoottime) && (hitcount < 1)) {
_parent.play();
}
}
Symbol 782 MovieClip Frame 31
shootcount++;
_parent.robotBeam();
Symbol 782 MovieClip Frame 46
if (shootcount < shootnum) {
gotoAndPlay (29);
} else {
stop();
}
Symbol 782 MovieClip Frame 47
play();
Instance of Symbol 774 MovieClip in Symbol 782 MovieClip Frame 47
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.haHit();
}
Symbol 782 MovieClip Frame 51
returnState();
Instance of Symbol 632 MovieClip in Symbol 782 MovieClip Frame 52
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.haHit();
}
Symbol 782 MovieClip Frame 96
itemCheck();
stop();
Symbol 820 MovieClip Frame 1
function ShuffleArray(l_array) {
var a = l_array.length;
while (a--) {
var b = Math.floor(Math.random() * (a + 1));
var c = l_array[a];
l_array[a] = l_array[b];
l_array[b] = c;
}
}
function beamZap(a, b, c, d) {
var id = 0;
i = 0;
while (i < 10) {
id++;
if (zapAry[i] == 0) {
break;
}
i++;
}
if (id < 10) {
_parent._parent.hitcount++;
zap.duplicateMovieClip("zap" + id, id);
eval ("zap" + id)._x = (_parent._xmouse - this._x) + b;
eval ("zap" + id)._y = (_parent._ymouse - this._y) + c;
eval ("zap" + id)._xscale = (eval (a)._xscale / 2) + d;
eval ("zap" + id)._yscale = eval ("zap" + id)._xscale;
eval ("zap" + id).id = id;
eval ("zap" + id).target = a;
zapAry[id - 1] = 1;
eval ("zap" + id).gotoAndPlay(2);
}
}
function deleteZap(a) {
eval ("zap" + a).removeMovieClip();
zapAry[a - 1] = 0;
}
function robotBeam() {
_parent._parent.getDamage(50, 1);
}
function agentCall(a, b, c) {
if (agent.mode == 0) {
if (a == 1) {
agent._x = (-this._x) - b;
} else if (a == 2) {
agent._x = (-this._x) + 600;
}
_parent._parent.soundbox.gotoAndPlay("agentfly");
agent._y = (-this._y) + 150;
agent._xscale = b;
agent._yscale = agent._xscale;
agent.speed = (b / 100) * 6;
agent.mode = a;
agent.shoottime = c;
agent.shootcount = 0;
agent.hitmode = 1;
agent.hitcount = 0;
agent.gunmode = 0;
agent.disarm = 0;
agent._visible = 1;
agent.gotoAndStop("start");
}
}
function agentBeam(a, b, c) {
var bi = 0;
j = 0;
while (j < 10) {
bi++;
if (beamAry[j] == 0) {
break;
}
j++;
}
if (id < 10) {
beam.duplicateMovieClip("beam" + bi, bi + 50);
eval ("beam" + bi)._x = a;
eval ("beam" + bi)._y = b - (30 * ((c - 100) / 100));
eval ("beam" + bi)._xscale = c;
eval ("beam" + bi)._yscale = c;
eval ("beam" + bi).id = bi;
beamAry[bi - 1] = 1;
eval ("beam" + bi).gotoAndPlay(2);
}
}
function deleteBeam(a) {
eval ("beam" + a).removeMovieClip();
beamAry[a - 1] = 0;
}
function robotCall(a, b, c, d) {
if (eval ("robot" + a)._currentframe == 1) {
eval ("robot" + a)._visible = 1;
eval ("robot" + a).shoottime = b;
if (c != undefined) {
eval ("robot" + a).shootnum = c;
} else {
eval ("robot" + a).shootnum = 1;
}
if (d != undefined) {
eval ("robot" + a).itemget = d;
}
eval ("robot" + a).gotoAndPlay("stand");
}
}
function lgmCall(a) {
if (eval ("lgm" + a)._currentframe == 1) {
eval ("lgm" + a).gotoAndPlay(2);
}
}
function bombSet(x, y) {
_parent._parent.soundbox.gotoAndPlay("itemappear");
bombitem._x = x;
bombitem._y = y - 35;
bombitem.play();
}
function lifeSet(x, y) {
_parent._parent.soundbox.gotoAndPlay("itemappear");
lifeitem._x = x;
lifeitem._y = y - 40;
lifeitem.play();
}
zapAry = new Array();
beamAry = new Array();
i = 0;
while (i < 10) {
zapAry[i] = 0;
beamAry[i] = 0;
i++;
}
cList = new Object();
cList.ra = 19;
cList.ga = 19;
cList.ba = 19;
cList.aa = 100;
cList.rb = 207;
cList.gb = 207;
cList.bb = 207;
cList.ab = 0;
dList = new Object();
dList.ra = 48;
dList.ga = 48;
dList.ba = 48;
dList.aa = 100;
dList.rb = 133;
dList.gb = 133;
dList.bb = 133;
dList.ab = 0;
eList = new Object();
eList.ra = 100;
eList.ga = 100;
eList.ba = 100;
eList.aa = 100;
eList.rb = 0;
eList.gb = 0;
eList.bb = 0;
eList.ab = 0;
Instance of Symbol 262 MovieClip "zap" in Symbol 820 MovieClip Frame 1
onClipEvent (load) {
zapSound = new Sound(this);
zapSound.attachSound("hit_grub");
}
Instance of Symbol 665 MovieClip "beam" in Symbol 820 MovieClip Frame 1
onClipEvent (load) {
beamSound = new Sound(this);
beamSound.attachSound("agentbeam");
}
Instance of Symbol 292 MovieClip "bombitem" in Symbol 820 MovieClip Frame 1
onClipEvent (load) {
function itemGet() {
this.play();
_parent._parent._parent.hitcount++;
_parent._parent._parent.bombGet();
}
}
Instance of Symbol 298 MovieClip "lifeitem" in Symbol 820 MovieClip Frame 1
onClipEvent (load) {
function itemGet() {
this.play();
_parent._parent._parent.hitcount++;
_parent._parent._parent.lifeGet();
}
}
Instance of Symbol 725 MovieClip "agent" in Symbol 820 MovieClip Frame 1
onClipEvent (load) {
function gunOn() {
if (gunmode != 1) {
gunmode = 1;
if (hitcount < exhit) {
this.gotoAndPlay("gun");
}
}
}
function setColor(a) {
colObj = new Color(body);
if (a == 2) {
colObj.setTransform(_parent.cList);
} else if (a == 1) {
colObj.setTransform(_parent.dList);
} else {
colObj.setTransform(_parent.eList);
}
}
this._visible = 0;
mode = 0;
middle = 200;
hhcount = 0;
}
onClipEvent (enterFrame) {
if (mode > 0) {
if (mode == 1) {
if (this._x > ((-_parent._x) + middle)) {
ss = speed;
gunOn();
} else {
ss = speed + Math.floor(Math.abs((_parent._x + 300) - this._x) / 30);
}
this._x = this._x + ss;
this._y = this._y + (ss / 2);
if (this._x > ((-_parent._x) + 600)) {
this._visible = 0;
mode = 0;
}
} else if (mode == 2) {
if (this._x < ((-_parent._x) + (600 - middle))) {
ss = speed;
gunOn();
} else {
ss = speed + Math.floor(Math.abs((_parent._x + 300) - this._x) / 30);
}
this._x = this._x - ss;
this._y = this._y + (ss / 2);
if (this._x < ((-_parent._x) - this._xscale)) {
this._visible = 0;
mode = 0;
}
} else if (mode == 3) {
this._y = this._y - (((speed * 3) * c) / 20);
c++;
if (this._y < (-_parent._y)) {
this._visible = 0;
mode = 0;
}
} else if (mode == 4) {
this._y = this._y + (c * 2);
c++;
if (c > 7) {
c = 0;
mode = 3;
gotoAndPlay (1);
}
} else if (mode == 5) {
this._y = this._y + (c / 2);
c++;
} else if (mode == 6) {
this._y = this._y + ((c * 1.8) + speed);
c++;
if (this._y > ((-_parent._y) + 550)) {
c = 0;
mode = 7;
this._visible = 0;
}
}
}
if (spark > 0) {
spark--;
setColor(spark);
}
}
Instance of Symbol 737 MovieClip "robotn1" in Symbol 820 MovieClip Frame 1
onClipEvent (load) {
shoottime = 60;
shootnum = 2;
this.gotoAndPlay("stand");
}
onClipEvent (enterFrame) {
this._y = this._y - 1;
if (((_parent._y + this._y) + 65) < 0) {
this._visible = 0;
}
}
Symbol 820 MovieClip Frame 74
robotCall(1, 5);
Symbol 820 MovieClip Frame 157
robotCall(3, 10);
Symbol 820 MovieClip Frame 181
robotCall(2, 5);
Symbol 820 MovieClip Frame 226
lgmCall(1);
Symbol 820 MovieClip Frame 246
callAry = new Array(4, 5);
ShuffleArray(callAry);
robotCall(callAry[0], 8);
Instance of Symbol 782 MovieClip "robotn2" in Symbol 820 MovieClip Frame 300
onClipEvent (load) {
shoottime = 40;
shootnum = 2;
this.gotoAndPlay("stand");
}
onClipEvent (enterFrame) {
this._y = this._y - 1;
if (((_parent._y + this._y) + 65) < 0) {
this._visible = 0;
}
}
Symbol 820 MovieClip Frame 328
robotCall(7, 9);
Symbol 820 MovieClip Frame 389
agentCall(2, 170, 10);
Symbol 820 MovieClip Frame 455
callAry = new Array(8, 9, 10);
ShuffleArray(callAry);
robotCall(callAry[0], 16);
Symbol 820 MovieClip Frame 456
robotCall(callAry[1], 16, 2, 2);
Symbol 820 MovieClip Frame 515
callAry = new Array(11, 12, 13);
ShuffleArray(callAry);
robotCall(callAry[0], 8);
Symbol 820 MovieClip Frame 536
robotCall(callAry[1], 8);
Instance of Symbol 782 MovieClip "robotn3" in Symbol 820 MovieClip Frame 550
onClipEvent (load) {
shoottime = 40;
shootnum = 2;
this.gotoAndPlay("stand");
}
onClipEvent (enterFrame) {
this._y = this._y - 1;
if (((_parent._y + this._y) + 65) < 0) {
this._visible = 0;
}
}
Symbol 820 MovieClip Frame 569
agentCall(1, 170, 5);
Symbol 820 MovieClip Frame 638
robotCall(14, 5);
Symbol 820 MovieClip Frame 659
robotCall(15, 5, 2, 1);
Symbol 820 MovieClip Frame 744
callAry = new Array(16, 17, 18);
ShuffleArray(callAry);
robotCall(callAry[0], 8);
Symbol 820 MovieClip Frame 763
robotCall(callAry[1], 8);
Symbol 820 MovieClip Frame 784
robotCall(callAry[2], 8);
Symbol 820 MovieClip Frame 815
callAry = new Array(19, 20);
ShuffleArray(callAry);
robotCall(callAry[0], 8);
Symbol 820 MovieClip Frame 833
lgmCall(2);
Symbol 820 MovieClip Frame 851
robotCall(callAry[1], 8);
Symbol 820 MovieClip Frame 867
agentCall(2, 190, 8);
Instance of Symbol 758 MovieClip "lgm5" in Symbol 820 MovieClip Frame 900
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 758 MovieClip "lgm3" in Symbol 820 MovieClip Frame 900
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 758 MovieClip "lgm4" in Symbol 820 MovieClip Frame 900
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 782 MovieClip "robotn4" in Symbol 820 MovieClip Frame 900
onClipEvent (load) {
shoottime = 40;
shootnum = 2;
this.gotoAndPlay("stand");
}
onClipEvent (enterFrame) {
this._y = this._y - 1;
if (((_parent._y + this._y) + 65) < 0) {
this._visible = 0;
}
}
Symbol 820 MovieClip Frame 988
callAry = new Array(22, 23, 24);
ShuffleArray(callAry);
robotCall(callAry[0], 16);
robotCall(callAry[1], 16);
eval ("robot" + callAry[2])._visible = 0;
eval ("lgm" + (callAry[2] - 19))._visible = 1;
lgmCall(callAry[2] - 19);
Instance of Symbol 782 MovieClip "robotn5" in Symbol 820 MovieClip Frame 1050
onClipEvent (load) {
shoottime = 40;
shootnum = 2;
this.gotoAndPlay("stand");
}
onClipEvent (enterFrame) {
this._y = this._y - 1;
if (((_parent._y + this._y) + 65) < 0) {
this._visible = 0;
}
}
Symbol 820 MovieClip Frame 1071
agentCall(1, 180, 8);
Symbol 820 MovieClip Frame 1120
agentCall(2, 210, 8);
Symbol 820 MovieClip Frame 1176
robotCall(26, 7);
Symbol 820 MovieClip Frame 1187
callAry = new Array(27, 28);
ShuffleArray(callAry);
robotCall(callAry[0], 10);
Symbol 820 MovieClip Frame 1207
robotCall(callAry[1], 12);
Symbol 820 MovieClip Frame 1229
callAry = new Array(29, 30, 31);
ShuffleArray(callAry);
robotCall(callAry[0], 8);
Symbol 820 MovieClip Frame 1249
robotCall(callAry[1], 8);
Instance of Symbol 782 MovieClip "robotn6" in Symbol 820 MovieClip Frame 1250
onClipEvent (load) {
shoottime = 60;
shootnum = 2;
this.gotoAndPlay("stand");
}
onClipEvent (enterFrame) {
this._y = this._y - 1;
if (((_parent._y + this._y) + 65) < 0) {
this._visible = 0;
}
}
Symbol 820 MovieClip Frame 1270
robotCall(callAry[2], 10, 2, 2);
Symbol 820 MovieClip Frame 1319
robotCall(32, 30, 2, 1);
Symbol 820 MovieClip Frame 1356
robotCall(33, 10);
Instance of Symbol 782 MovieClip "robotn7" in Symbol 820 MovieClip Frame 1400
onClipEvent (load) {
shoottime = 70;
shootnum = 2;
this.gotoAndPlay("stand");
}
onClipEvent (enterFrame) {
this._y = this._y - 1;
if (((_parent._y + this._y) + 65) < 0) {
this._visible = 0;
}
}
Symbol 820 MovieClip Frame 1423
robotCall(34, 10);
Symbol 820 MovieClip Frame 1460
agentCall(1, 170, 5);
Symbol 820 MovieClip Frame 1504
robotCall(35, 5);
Symbol 820 MovieClip Frame 1536
robotCall(40, 5);
Instance of Symbol 782 MovieClip "robotn8" in Symbol 820 MovieClip Frame 1550
onClipEvent (load) {
shoottime = 40;
shootnum = 2;
this.gotoAndPlay("stand");
}
onClipEvent (enterFrame) {
this._y = this._y - 1;
if (((_parent._y + this._y) + 65) < 0) {
this._visible = 0;
}
}
Symbol 820 MovieClip Frame 1568
robotCall(37, 5);
Symbol 820 MovieClip Frame 1596
robotCall(38, 5);
Symbol 820 MovieClip Frame 1622
robotCall(36, 5);
Symbol 820 MovieClip Frame 1756
_parent.play();
stop();
Symbol 822 MovieClip Frame 100
stop();
Symbol 823 MovieClip Frame 1750
stop();
Symbol 823 MovieClip Frame 1751
play();
Symbol 823 MovieClip Frame 1760
_parent.main.main.textWinOn(2, 0);
_parent.bgmbox.musicFade();
Symbol 823 MovieClip Frame 1773
_parent.stclear.gotoAndPlay(2);
Symbol 823 MovieClip Frame 1825
_parent.main.main.textOff();
_parent.stagenum++;
_parent.shutter.gotoAndPlay("close");
stop();
Symbol 860 MovieClip Frame 2
_parent._parent._parent.soundbox.gotoAndPlay("zurglaugh");
Symbol 860 MovieClip Frame 51
_parent.zcSound.start(0, 1);
Symbol 860 MovieClip Frame 59
stop();
_parent._parent.zcon.play();
Symbol 864 MovieClip Frame 1
if (_parent.final == 1) {
sctext.textColor = 15353928 /* 0xEA4848 */;
} else if (_parent._parent.hitcount == (_parent._parent.exhit + 1)) {
sctext.textColor = 3059185 /* 0x2EADF1 */;
} else if (_parent._parent.hitcount >= (_parent._parent.exhit + 2)) {
sctext.textColor = 15353928 /* 0xEA4848 */;
}
Symbol 864 MovieClip Frame 2
sctext.textColor = 16777215 /* 0xFFFFFF */;
Symbol 865 MovieClip Frame 1
stop();
Symbol 865 MovieClip Frame 2
play();
Symbol 865 MovieClip Frame 14
stop();
final = 0;
this.removeMovieClip();
Symbol 891 MovieClip Frame 1
_parent.sitmode = 1;
_parent.zdSound.start(0, 1);
Symbol 891 MovieClip Frame 12
_parent.hitmode = 1;
Symbol 891 MovieClip Frame 35
_parent._parent.robotCall();
Symbol 891 MovieClip Frame 45
_parent.hitmode = 0;
_parent.hitcount = 0;
_parent.zcSound.start(0, 1);
Symbol 891 MovieClip Frame 55
stop();
Symbol 914 MovieClip Frame 1
_parent.sitmode = 2;
_parent.zdSound.start(0, 1);
Symbol 914 MovieClip Frame 11
_parent.hitmode = 1;
Symbol 914 MovieClip Frame 17
_parent._parent._parent.soundbox.gotoAndPlay("zurgball");
Symbol 914 MovieClip Frame 38
_parent._parent.zurgBall();
Symbol 914 MovieClip Frame 61
_parent.hitmode = 0;
Symbol 914 MovieClip Frame 62
_parent.zcSound.start(0, 1);
Symbol 914 MovieClip Frame 71
stop();
_parent.sitWarpIn();
Symbol 915 MovieClip Frame 10
stop();
Symbol 916 MovieClip Frame 2
_parent.zcSound.start(0, 1);
Symbol 916 MovieClip Frame 11
stop();
Symbol 917 MovieClip Frame 1
_parent.zdSound.start(0, 1);
Symbol 917 MovieClip Frame 10
stop();
Symbol 921 MovieClip Frame 14
_parent.hitmode = 0;
Symbol 921 MovieClip Frame 15
_parent.zcSound.start(0, 1);
Symbol 921 MovieClip Frame 24
stop();
_parent.sitWarpIn();
Symbol 924 MovieClip Frame 33
stop();
Symbol 925 MovieClip Frame 1
_parent.hitmode = 0;
Symbol 925 MovieClip Frame 2
_parent.zcSound.start(0, 1);
Symbol 925 MovieClip Frame 10
stop();
_parent.warpIn();
Symbol 926 MovieClip Frame 1
_parent.zdSound.start(0, 1);
Symbol 926 MovieClip Frame 6
stop();
_parent.hitmode = 1;
_parent.gotoAndStop("stand");
Symbol 934 MovieClip Frame 11
_parent._parent.zurgBeam(_parent._x, _parent._y, _parent._xscale, _parent.getDepth());
Symbol 934 MovieClip Frame 14
count.c = 0;
count.max = Math.floor(Math.random() + 20) + 20;
Instance of Symbol 933 MovieClip "count" in Symbol 934 MovieClip Frame 14
onClipEvent (enterFrame) {
c++;
if ((c >= max) && (_parent._parent.hitcount < _parent._parent.exhit)) {
_parent.gotoAndPlay("shoot");
}
}
Symbol 934 MovieClip Frame 19
if (_parent._parent.mode == 1) {
_parent.gotoAndStop("warpin");
}
stop();
Symbol 938 MovieClip Frame 6
_parent.hitmode = 0;
Symbol 938 MovieClip Frame 7
_parent.zcSound.start(0, 1);
Symbol 938 MovieClip Frame 15
stop();
_parent.warpIn();
Symbol 947 MovieClip Frame 5
stop();
_parent._parent.deleteZurg(_parent);
Symbol 948 MovieClip Frame 18
_parent.hitmode = 0;
Symbol 948 MovieClip Frame 19
_parent.zcSound.start(0, 1);
Symbol 948 MovieClip Frame 27
stop();
_parent.warpInMult();
Symbol 979 MovieClip Frame 6
_parent.hitmode = 1;
Symbol 979 MovieClip Frame 18
_parent.zbSound.start(0, 1);
Symbol 979 MovieClip Frame 21
_parent._parent._parent.getDamage(100, 1);
Symbol 979 MovieClip Frame 36
stop();
_parent.gotoAndStop("eyehit");
Symbol 994 MovieClip Frame 11
stop();
_parent.nearAway();
Symbol 998 MovieClip Frame 2
_parent._parent.zcon.gotoAndPlay("defeat");
Symbol 998 MovieClip Frame 5
_parent._parent.event.gotoAndPlay(2);
Symbol 998 MovieClip Frame 9
_parent._parent._parent.main.main.textWinOn(4, 0);
Symbol 998 MovieClip Frame 62
_parent.zcSound.start(0, 1);
Symbol 998 MovieClip Frame 75
stop();
_parent._parent.Defeated();
_parent.warpInMult();
Symbol 1003 MovieClip Frame 1
_parent.zdSound.start(0, 1);
Symbol 1003 MovieClip Frame 21
stop();
_parent._parent.zcon.gotoAndPlay("cleared");
Symbol 1004 MovieClip Frame 1
function haHit() {
if (hitmode == 1) {
hitcount++;
_parent._parent.hitcount++;
if (near == 1) {
if (_parent.zhitcount < (_parent.zmaxhit - 1)) {
_parent.zhitcount++;
}
} else if (fake != 1) {
_parent.zhitcount++;
}
_parent.beamZap(this._name);
}
}
function bombHit() {
var bhit = 5;
if (hitmode == 1) {
if (hitcount < exhit) {
hitcount = exhit;
}
if (fake != 1) {
if (near != 1) {
_parent.zhitcount = _parent.zhitcount + bhit;
} else if (_parent.zhitcount < (_parent.zmaxhit - bhit)) {
_parent.zhitcount = _parent.zhitcount + bhit;
} else {
_parent.zhitcount = _parent.zmaxhit - 1;
}
}
hitAnime();
}
}
function hitAnime() {
if (_parent.zhitcount >= _parent.zmaxhit) {
if (hitcount >= exhit) {
hitmode = 0;
if (fake == 1) {
gotoAndStop (61);
} else {
blowSound.start(0, 1);
gotoAndPlay (80);
if (_parent.mode == 3) {
_parent.zapCopy();
}
finaldispScore();
}
}
} else {
spark = 3;
if (hitcount >= exhit) {
if (_parent.mode == 1) {
gotoAndStop (57);
dispScore();
} else if (_parent.mode == 2) {
if (sitmode != 1) {
gotoAndStop (32);
}
dispScore();
} else if (_parent.mode == 3) {
if (near == 1) {
gotoAndStop (74);
} else if (fake == 1) {
gotoAndStop (61);
} else {
gotoAndStop (65);
_parent.zapCopy();
_parent.zcon.gotoAndPlay("idle");
dispScore();
}
}
}
}
}
function dispScore() {
if (_parent.mode == 1) {
if (hitcount >= exhit) {
_parent._parent.scoreUp(_parent.pointAry[0] * (hitcount - 1));
scdisp.score = _parent.pointAry[0] * (hitcount - 1);
scdisp.gotoAndPlay(2);
}
} else if (_parent.mode == 2) {
if (hitcount >= exhit) {
_parent._parent.scoreUp(_parent.pointAry[2] * (hitcount - (exhit - 1)));
scdisp.score = _parent.pointAry[2] * (hitcount - (exhit - 1));
scdisp.gotoAndPlay(2);
}
} else if (_parent.mode == 3) {
if (hitcount >= exhit) {
_parent._parent.scoreUp(_parent.pointAry[3] * (hitcount - 1));
scdisp.score = _parent.pointAry[3] * (hitcount - 1);
scdisp.gotoAndPlay(2);
}
}
}
function finaldispScore() {
scdisp.final = 1;
_parent._parent.scoreUp(_parent.finalpoint);
scdisp.score = _parent.finalpoint;
scdisp.gotoAndPlay(2);
}
function setColor(a) {
colObj = new Color(body);
if (a == 2) {
colObj.setTransform(_parent.cList);
} else if (a == 1) {
colObj.setTransform(_parent.dList);
} else {
colObj.setTransform(_parent.eList);
}
}
function warpIn() {
hitcount = 0;
attack = 0;
if (_parent.mode == 1) {
_parent.zcon.play();
if (_parent.zhitcount > _parent.zhitArray[0]) {
_parent.mode = 2;
}
}
}
function warpInMult() {
_parent.deleteZurg(this._name);
}
function sitWarpIn() {
hitcount = 0;
if (mode == 2) {
if (_parent.zhitcount > _parent.zhitArray[1]) {
_parent.mode = 3;
_parent.zcon.gotoAndPlay("third");
} else {
_parent.zcon.gotoAndPlay("second");
}
} else {
_parent.zcon.gotoAndPlay("third");
}
}
function nearAway() {
near = 0;
_parent.zcon.awayZurg();
_parent.zcon.gotoAndPlay("idle2");
}
shootcount = 0;
hitcount = 0;
blowSound = new Sound(this);
blowSound.attachSound("robo_blow");
beamSound = new Sound(this);
beamSound.attachSound("robo_beam");
zaSound = new Sound(this);
zaSound.attachSound("copyzap");
zbSound = new Sound(this);
zbSound.attachSound("z_near");
zcSound = new Sound(this);
zcSound.attachSound("warp_in");
zdSound = new Sound(this);
zdSound.attachSound("warp_out");
stop();
Symbol 1004 MovieClip Frame 2
stop();
Symbol 1004 MovieClip Frame 6
stop();
Instance of Symbol 862 MovieClip in Symbol 1004 MovieClip Frame 6
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.haHit();
}
Symbol 1004 MovieClip Frame 9
stop();
Symbol 1004 MovieClip Frame 15
stop();
Symbol 1004 MovieClip Frame 19
stop();
Symbol 1004 MovieClip Frame 23
stop();
Symbol 1004 MovieClip Frame 27
stop();
Symbol 1004 MovieClip Frame 32
stop();
Symbol 1004 MovieClip Frame 37
stop();
Instance of Symbol 922 MovieClip "body" in Symbol 1004 MovieClip Frame 37
onClipEvent (load) {
c = 0;
}
onClipEvent (enterFrame) {
c++;
if ((c >= _parent.shoottime) && (_parent.hitcount < _parent.exhit)) {
_parent.gotoAndStop("gun");
}
}
Instance of Symbol 923 MovieClip in Symbol 1004 MovieClip Frame 37
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.haHit();
}
Symbol 1004 MovieClip Frame 41
stop();
Symbol 1004 MovieClip Frame 45
stop();
Symbol 1004 MovieClip Frame 49
stop();
Symbol 1004 MovieClip Frame 53
stop();
Symbol 1004 MovieClip Frame 57
stop();
Symbol 1004 MovieClip Frame 61
stop();
zaSound.start(0, 1);
Symbol 1004 MovieClip Frame 65
stop();
Symbol 1004 MovieClip Frame 70
stop();
Instance of Symbol 981 MovieClip in Symbol 1004 MovieClip Frame 70
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.haHit();
}
Symbol 1004 MovieClip Frame 74
stop();
Symbol 1004 MovieClip Frame 80
stop();
Symbol 1004 MovieClip Frame 85
stop();
Symbol 1011 MovieClip Frame 1
function haHit() {
if (hitmode == 1) {
hitcount++;
_parent._parent.hitcount++;
_parent.beamZap(this._name);
}
}
function bombHit() {
if (hitmode == 1) {
if (hitcount < exhit) {
hitcount = exhit;
} else {
hitcount++;
}
hitAnime();
}
}
function hitAnime() {
if (hitcount >= maxhit) {
gotoAndPlay (95);
} else if (hitcount < exhit) {
spark = 3;
} else {
gotoAndPlay (68);
}
dispScore();
}
function dispScore() {
if ((hitcount <= maxhit) && (hitcount >= exhit)) {
_parent._parent._parent.scoreUp(point * (hitcount - 1));
scdisp.score = point * (hitcount - 1);
scdisp.gotoAndPlay(2);
}
}
function itemCheck() {
if (itemget > 0) {
if (itemget == 1) {
_parent.bombSet(this._x, this._y);
} else if (itemget == 2) {
_parent.lifeSet(this._x, this._y);
}
itemget = 0;
}
}
function eliminateCheck() {
_parent.rcount++;
if (_parent.rcount >= 4) {
_parent.rcount = 0;
_parent.zcon.gotoAndPlay("finger");
}
}
function setColor(a) {
colObj = new Color(body);
if (a == 2) {
colObj.setTransform(_parent.cList);
} else if (a == 1) {
colObj.setTransform(_parent.dList);
} else {
colObj.setTransform(_parent.eList);
}
}
function resetPos() {
shootcount = 0;
hitmode = 0;
hitcount = 0;
this._y = this._y - 360;
this._visible = 0;
c = 0;
}
defy = this._y;
fy = 8;
gy = 2.4;
point = 600;
shootnum = 3;
exhit = 2;
maxhit = 4;
blowSound = new Sound(this);
blowSound.attachSound("robo_blow");
beamSound = new Sound(this);
beamSound.attachSound("robo_beam");
resetPos();
stop();
Symbol 1011 MovieClip Frame 2
stop();
Instance of Symbol 569 MovieClip in Symbol 1011 MovieClip Frame 2
onClipEvent (enterFrame) {
c++;
var dy = (_parent.fy + (c * _parent.gy));
if ((_parent.defy - _parent._y) > dy) {
_parent._y = _parent._y + dy;
} else {
_parent._y = _parent.defy;
_parent.play();
}
}
Symbol 1011 MovieClip Frame 3
_parent._parent.soundbox.gotoAndPlay("robotfall");
Symbol 1011 MovieClip Frame 12
hitmode = 1;
Instance of Symbol 584 MovieClip in Symbol 1011 MovieClip Frame 12
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.haHit();
}
Symbol 1011 MovieClip Frame 16
play();
Instance of Symbol 186 MovieClip "scdisp" in Symbol 1011 MovieClip Frame 16
onClipEvent (enterFrame) {
if (_parent.spark > 0) {
_parent.spark--;
_parent.setColor(_parent.spark);
}
}
Symbol 1011 MovieClip Frame 22
stop();
Instance of Symbol 588 MovieClip "body" in Symbol 1011 MovieClip Frame 22
onClipEvent (load) {
c = 0;
}
onClipEvent (enterFrame) {
c++;
if ((c == _parent.shoottime) && (_parent.hitcount < 1)) {
_parent.play();
}
}
Instance of Symbol 584 MovieClip in Symbol 1011 MovieClip Frame 22
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.haHit();
}
Symbol 1011 MovieClip Frame 23
_parent._parent.soundbox.gotoAndPlay("robotaim");
Symbol 1011 MovieClip Frame 31
shootcount++;
_parent._parent.getDamage(50, 1);
beamSound.start(0, 1);
Symbol 1011 MovieClip Frame 67
if (shootcount < shootnum) {
gotoAndPlay (29);
} else {
stop();
}
Symbol 1011 MovieClip Frame 68
play();
Instance of Symbol 632 MovieClip in Symbol 1011 MovieClip Frame 73
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.haHit();
}
Symbol 1011 MovieClip Frame 95
blowSound.start(0, 1);
eliminateCheck();
hitmode = 0;
Symbol 1011 MovieClip Frame 117
itemCheck();
resetPos();
stop();
Symbol 1014 MovieClip Frame 1
function standWarp() {
var z = Math.floor(Math.random() * posArray.length);
_parent.zurg._x = posArray[z].x;
_parent.zurg._y = posArray[z].y;
_parent.zurg._xscale = posArray[z].scale;
_parent.zurg._yscale = posArray[z].scale;
_parent.zurg.attack = 1;
_parent.zurg.shoottime = Math.floor(Math.random() * 5) + 3;
_parent.zurg.exhit = 2;
_parent.zurg.gotoAndPlay("warpout");
}
function ShuffleArray(l_array) {
var a = l_array.length;
while (a--) {
var b = Math.floor(Math.random() * (a + 1));
var c = l_array[a];
l_array[a] = l_array[b];
l_array[b] = c;
}
}
function robotCallSet() {
_parent.zurg._x = _parent.defx;
_parent.zurg._y = _parent.defy;
_parent.zurg._xscale = 100;
_parent.zurg._yscale = 100;
_parent.zurg.exhit = 5;
_parent.zurg.hitcount = 0;
_parent.zurg.gotoAndStop("robotcall");
}
function fingerBeam() {
_parent.zurg._x = _parent.defx;
_parent.zurg._y = _parent.defy;
_parent.zurg._xscale = 100;
_parent.zurg._yscale = 100;
_parent.zurg.exhit = 5;
_parent.zurg.hitcount = 0;
_parent.zurg.gotoAndStop("sitbeam");
}
function zurgMultiply(a) {
var aa = drawArray[a];
var xx = posArray[aryNum][placeArray[a] * 2];
var yy = posArray[aryNum][(placeArray[a] * 2) + 1];
_parent.zurg.duplicateMovieClip("zurg" + (aa + 1), 150);
eval ("_parent.zurg" + (aa + 1))._x = xx;
eval ("_parent.zurg" + (aa + 1))._y = yy;
eval ("_parent.zurg" + (aa + 1))._xscale = (((yy - 430) / 190) * 85) + 160;
eval ("_parent.zurg" + (aa + 1))._yscale = eval ("_parent.zurg" + (aa + 1))._xscale;
eval ("_parent.zurg" + (aa + 1)).swapDepths(placeArray[a] + 10);
eval ("_parent.zurg" + (aa + 1)).shoottime = Math.floor(Math.random() * 10) + 40;
eval ("_parent.zurg" + (aa + 1)).exhit = 2;
eval ("_parent.zurg" + (aa + 1)).hitcount = 0;
if (aa > 0) {
eval ("_parent.zurg" + (aa + 1)).fake = 1;
} else {
eval ("_parent.zurg" + (aa + 1)).fake = 0;
}
eval ("_parent.zurg" + (aa + 1)).gotoAndStop("warpout");
}
function awayZurg() {
_parent.zurg._x = -50;
_parent.zurg._y = 0;
_parent.zurg._visible = 0;
_parent.zurg.hitmode = 0;
}
function nearAttack() {
_parent.zurg._x = _parent.defx;
_parent.zurg._y = _parent.defy;
_parent.zurg._xscale = 100;
_parent.zurg._yscale = 100;
_parent.zurg.exhit = 2;
_parent.zurg.near = 1;
_parent.zurg.hitcount = 0;
_parent.zurg._visible = 1;
_parent.zurg.gotoAndStop("eye");
}
Symbol 1014 MovieClip Frame 2
stop();
_parent.zurg.play();
posArray = new Array();
posArray[0] = {scale:85, x:480, y:274};
posArray[1] = {scale:100, x:120, y:289};
posArray[2] = {scale:110, x:429, y:317};
posArray[3] = {scale:111, x:213, y:317};
posArray[4] = {scale:112, x:314, y:328};
posArray[5] = {scale:121, x:53, y:344};
posArray[6] = {scale:122, x:544, y:343};
posArray[7] = {scale:128, x:390, y:366};
posArray[8] = {scale:130, x:174, y:359};
posArray[9] = {scale:133, x:481, y:387};
posArray[10] = {scale:140, x:249, y:392};
posArray[11] = {scale:152, x:559, y:421};
posArray[12] = {scale:158, x:338, y:426};
posArray[13] = {scale:160, x:79, y:429};
Symbol 1014 MovieClip Frame 3
stop();
Instance of Symbol 1013 MovieClip "dummy" in Symbol 1014 MovieClip Frame 3
onClipEvent (load) {
c = 0;
max = 20;
}
onClipEvent (enterFrame) {
if (_parent._parent.zurg.attack != 1) {
c++;
if (c > max) {
_parent.standWarp();
_parent.play();
}
}
}
Symbol 1014 MovieClip Frame 4
if (_parent.mode == 1) {
dummy.c = 0;
dummy.max = Math.floor(Math.random() * 20) + 10;
prevFrame();
}
Symbol 1014 MovieClip Frame 13
robotCallSet();
stop();
Symbol 1014 MovieClip Frame 21
fingerBeam();
stop();
Symbol 1014 MovieClip Frame 22
awayZurg();
_parent.mode = 3;
play();
posArray = new Array();
posArray[0] = new Array(520, 351, 295, 355, 57, 384, 417, 433, 190, 439);
posArray[1] = new Array(160, 318, 399, 344, 543, 395, 275, 403, 74, 440);
posArray[2] = new Array(172, 363, 429, 371, 56, 378, 300, 391, 543, 395);
posArray[3] = new Array(501, 283, 136, 308, 220, 372, 425, 436, 59, 440);
posArray[4] = new Array(488, 284, 327, 344, 74, 348, 227, 426, 572, 427);
posArray[5] = new Array(107, 303, 414, 324, 228, 344, 510, 440, 1, 440);
posArray[6] = new Array(302, 320, 372, 352, 220, 353, 461, 415, 133, 421);
posArray[7] = new Array(460, 273, 132, 276, 303, 372, 531, 440, 64, 440);
Symbol 1014 MovieClip Frame 25
_parent._parent.main.main.textWinOn(3, 1);
play();
drawArray = new Array(0, 1, 2, 3, 4);
placeArray = new Array(0, 1, 2, 3, 4);
_parent.ShuffleArray(drawArray);
_parent.ShuffleArray(placeArray);
aryNum = Math.floor(Math.random() * 8);
mcount = 0;
Symbol 1014 MovieClip Frame 36
if (_parent.zhitcount < _parent.zmaxhit) {
zurgMultiply(mcount);
} else {
gotoAndStop (94);
}
Symbol 1014 MovieClip Frame 40
mcount++;
if (mcount < 5) {
gotoAndPlay (36);
}
Symbol 1014 MovieClip Frame 51
stop();
if (!eval (_parent.zurg1)) {
gotoAndPlay (52);
}
Symbol 1014 MovieClip Frame 52
play();
Symbol 1014 MovieClip Frame 73
if (Math.floor(Math.random() * 3) < 2) {
gotoAndPlay (25);
}
Symbol 1014 MovieClip Frame 74
nearAttack();
stop();
Symbol 1014 MovieClip Frame 75
play();
Symbol 1014 MovieClip Frame 93
gotoAndPlay (25);
Symbol 1014 MovieClip Frame 94
stop();
Symbol 1014 MovieClip Frame 95
play();
Symbol 1014 MovieClip Frame 96
_parent._parent.bgmbox.musicFade();
Symbol 1014 MovieClip Frame 118
_parent._parent.stclear.gotoAndPlay(2);
Symbol 1014 MovieClip Frame 180
_parent._parent.gotoAndPlay("clear");
stop();
Symbol 1029 MovieClip Frame 1
stop();
Symbol 1029 MovieClip Frame 2
beamSound.start(0, 1);
Symbol 1029 MovieClip Frame 8
_parent._parent.getDamage(80, 1);
Symbol 1029 MovieClip Frame 10
stop();
this._x = -50;
this._y = -50;
this._visible = 0;
gotoAndStop (1);
Symbol 1040 MovieClip Frame 1
stop();
Symbol 1040 MovieClip Frame 2
play();
beamSound.start(0, 1);
Symbol 1040 MovieClip Frame 6
_parent._parent.getDamage(30, 1);
Symbol 1040 MovieClip Frame 7
stop();
this._visible = 0;
_parent.deleteBeam(id);
Symbol 1050 MovieClip Frame 1
stop();
Symbol 1050 MovieClip Frame 2
play();
Symbol 1050 MovieClip Frame 42
stop();
Symbol 1051 MovieClip Frame 1
function ShuffleArray(l_array) {
var a = l_array.length;
while (a--) {
var b = Math.floor(Math.random() * (a + 1));
var c = l_array[a];
l_array[a] = l_array[b];
l_array[b] = c;
}
}
function beamZap(a, b, c, d) {
var id = 0;
i = 0;
while (i < 10) {
id++;
if (zapAry[i] == 0) {
break;
}
i++;
}
if (id < 10) {
_parent._parent.hitcount++;
zap.duplicateMovieClip("zap" + id, id + 50);
eval ("zap" + id)._x = (_parent._xmouse - this._x) + b;
eval ("zap" + id)._y = (_parent._ymouse - this._y) + c;
eval ("zap" + id)._xscale = (eval (a)._xscale / 2) + d;
eval ("zap" + id)._yscale = eval ("zap" + id)._xscale;
eval ("zap" + id).id = id;
eval ("zap" + id).target = a;
zapAry[id - 1] = 1;
eval ("zap" + id).gotoAndPlay(2);
}
}
function deleteZap(a) {
eval ("zap" + a).removeMovieClip();
zapAry[a - 1] = 0;
}
function zurgBeam(a, b, c, d) {
var bi = 0;
j = 0;
while (j < 10) {
bi++;
if (beamAry[j] == 0) {
break;
}
j++;
}
if (ddepths == undefined) {
ddepths = 0;
} else {
ddepths++;
}
if (id < 10) {
beam.duplicateMovieClip("beam" + bi, ddepths + 200);
eval ("beam" + bi)._x = (a - 10) - (((c - 100) / 100) * 15);
eval ("beam" + bi)._y = (b - 83) - (((c - 100) / 100) * 85);
eval ("beam" + bi)._visible = 1;
eval ("beam" + bi)._xscale = 60 + (((c - 100) / 100) * 60);
eval ("beam" + bi)._yscale = eval ("beam" + bi)._xscale;
eval ("beam" + bi).id = bi;
beamAry[bi - 1] = 1;
eval ("beam" + bi).gotoAndPlay(2);
}
}
function deleteBeam(a) {
eval ("beam" + a).removeMovieClip();
beamAry[a - 1] = 0;
}
function deleteZurg(a) {
eval (a).removeMovieClip();
}
function zapCopy() {
i = 2;
while (i < 6) {
eval ("zurg" + i).gotoAndStop("copyzap");
i++;
}
}
function zurgBall() {
ball._x = zurg._x - 5;
ball._y = zurg._y - 65;
ball._xscale = 125;
ball._yscale = 125;
ball._visible = 1;
ball.gotoAndPlay(2);
}
function robotCall() {
rcount = 0;
i = 1;
while (i < 5) {
eval ("robot" + i)._visible = 1;
eval ("robot" + i).shoottime = Math.floor(Math.random() * 10) + 20;
eval ("robot" + i).gotoAndStop(2);
i++;
}
}
function bombSet(x, y) {
bombitem._x = x;
bombitem._y = y - 35;
bombitem.play();
}
function lifeSet(x, y) {
lifeitem._x = x;
lifeitem._y = y - 40;
lifeitem.play();
}
function Defeated() {
zurg._visible = 1;
zurg.gotoAndStop("end");
zurg._xscale = 100;
zurg._yscale = 100;
zurg._x = defx;
zurg._y = defy;
}
mode = 1;
zhitcount = 0;
zmaxhit = 80;
zhitArray = new Array(20, 60);
pointAry = new Array(1000, 2500, 2000, 3000);
finalpoint = 100000 /* 0x0186A0 */;
defx = 299.8;
defy = 158.25;
event.swapDepths(999);
zapAry = new Array();
beamAry = new Array();
i = 0;
while (i < 10) {
zapAry[i] = 0;
beamAry[i] = 0;
i++;
}
cList = new Object();
cList.ra = 19;
cList.ga = 19;
cList.ba = 19;
cList.aa = 100;
cList.rb = 207;
cList.gb = 207;
cList.bb = 207;
cList.ab = 0;
dList = new Object();
dList.ra = 48;
dList.ga = 48;
dList.ba = 48;
dList.aa = 100;
dList.rb = 133;
dList.gb = 133;
dList.bb = 133;
dList.ab = 0;
eList = new Object();
eList.ra = 100;
eList.ga = 100;
eList.ba = 100;
eList.aa = 100;
eList.rb = 0;
eList.gb = 0;
eList.bb = 0;
eList.ab = 0;
Instance of Symbol 262 MovieClip "zap" in Symbol 1051 MovieClip Frame 1
onClipEvent (load) {
zapSound = new Sound(this);
zapSound.attachSound("hit_grub");
}
Instance of Symbol 1004 MovieClip "zurg" in Symbol 1051 MovieClip Frame 1
onClipEvent (enterFrame) {
if (spark > 0) {
spark--;
setColor(spark);
}
}
Instance of Symbol 1029 MovieClip "ball" in Symbol 1051 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
beamSound = new Sound(this);
beamSound.attachSound("z_ball");
}
Instance of Symbol 1040 MovieClip "beam" in Symbol 1051 MovieClip Frame 1
onClipEvent (load) {
beamSound = new Sound(this);
beamSound.attachSound("z_beam");
}
Symbol 1065 MovieClip Frame 1
stop();
Symbol 1065 MovieClip Frame 2
gotoAndStop (1);
Symbol 1065 MovieClip Frame 9
gotoAndStop (1);
Symbol 1065 MovieClip Frame 16
gotoAndStop (1);
Symbol 1095 Button
on (rollOver) {
cursorOn();
}
on (release) {
clickOn();
dest = 0;
_parent.bgmbox.musicFade();
play();
}
Symbol 1096 Button
on (rollOver) {
cursorOn();
}
on (release) {
clickOn();
dest = 1;
_parent.bgmbox.musicFade();
play();
}
Symbol 1097 MovieClip Frame 1
function cursorOn() {
_parent.soundbox.gotoAndPlay("c_move");
}
function clickOn() {
_parent.soundbox.gotoAndPlay("c_select");
}
function clickReturn() {
_parent.soundbox.gotoAndPlay("c_cancel");
}
function clickMenu() {
_parent.soundbox.gotoAndPlay("c_menu");
}
function setColor(a, b) {
dList = new Object();
dList.ra = Math.floor(((b - a) / b) * 100);
dList.ga = Math.floor(((b - a) / b) * 100);
dList.ba = Math.floor(((b - a) / b) * 100);
dList.aa = 100;
dList.rb = Math.floor((a / b) * 255);
dList.gb = Math.floor((a / b) * 255);
dList.bb = Math.floor((a / b) * 200);
dList.ab = 0;
colObj.setTransform(dList);
}
var ss = _parent.score;
var rr = (Math.floor((_parent.hitcount / _parent.shootcount) * 1000) / 10);
var ll = (Math.floor((_parent.life / _parent.mlife) * 1000) / 10);
ccon.dscore = ss;
ccon.drate = rr;
ccon.dlife = ll;
if (ss > 1000000) {
if (rr > 90) {
if (ll > 90) {
ccon.drank = 10;
} else if (ll > 80) {
ccon.drank = 9;
} else {
ccon.drank = 8;
}
} else if (rr > 80) {
if (ll > 80) {
ccon.drank = 9;
} else if (ll > 60) {
ccon.drank = 8;
} else {
ccon.drank = 7;
}
} else if (rr > 70) {
if (ll > 60) {
ccon.drank = 8;
} else {
ccon.drank = 7;
}
} else {
ccon.drank = 7;
}
} else if (ss > 900000) {
if (rr > 90) {
if (ll > 80) {
ccon.drank = 9;
} else {
ccon.drank = 8;
}
} else if (rr > 80) {
if (ll > 60) {
ccon.drank = 8;
} else {
ccon.drank = 7;
}
} else {
ccon.drank = 7;
}
} else if (ss > 750000) {
if (rr > 80) {
ccon.drank = 8;
} else if (rr > 70) {
ccon.drank = 7;
} else {
ccon.drank = 6;
}
} else if (ss > 650000) {
if (rr > 70) {
ccon.drank = 6;
} else if (rr > 50) {
ccon.drank = 5;
} else {
ccon.drank = 4;
}
} else if (ss > 500000) {
if (rr > 70) {
ccon.drank = 5;
} else if (rr > 50) {
ccon.drank = 4;
} else {
ccon.drank = 3;
}
} else if (ss > 300000) {
if (rr > 60) {
ccon.drank = 4;
} else if (rr > 50) {
ccon.drank = 3;
} else {
ccon.drank = 2;
}
} else if (rr > 60) {
ccon.drank = 3;
} else if (rr > 50) {
ccon.drank = 2;
} else {
ccon.drank = 1;
}
Instance of Symbol 1065 MovieClip "ccon" in Symbol 1097 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
c = 0;
max = 15;
f = 0;
fmax = 0;
i = 0;
while (i < max) {
fmax = fmax + (i + 1);
i++;
}
}
onClipEvent (mouseDown) {
if (_parent._currentframe < 60) {
_parent.gotoAndPlay("skip");
}
}
onClipEvent (enterFrame) {
if (mode > 0) {
if (mode == 1) {
c++;
f = f + c;
_parent.score.text = Math.floor(dscore * (f / fmax));
if (c >= max) {
c = 0;
max = 10;
mode = 0;
this.gotoAndPlay("sound2");
_parent.nextFrame();
}
} else if (mode == 2) {
c++;
if (c >= max) {
_parent.life.text = dlife + "%";
c = 0;
max = 10;
mode = 0;
this.gotoAndPlay("sound2");
_parent.nextFrame();
} else {
var td = (Math.floor(Math.random() * 99) + 1);
if (td < 10) {
td = "0" + td;
}
_parent.life.text = td + "%";
}
} else if (mode == 3) {
c++;
if (c >= max) {
_parent.rate.text = drate + "%";
c = 0;
f = 0;
max = 20;
mode = 0;
this.gotoAndPlay("sound2");
_parent.nextFrame();
} else {
var td = (Math.floor(Math.random() * 99) + 1);
if (td < 10) {
td = "0" + td;
}
_parent.rate.text = td + "%";
}
} else if (mode == 4) {
c++;
if (c >= max) {
_parent.medal.gotoAndStop(drank);
max = 10;
c = max;
this.gotoAndPlay("sound3");
mode++;
} else {
if (f < 9) {
f++;
} else {
f = 1;
}
_parent.medal.gotoAndStop(f);
}
} else if (mode == 5) {
_parent.setColor(c, max);
c--;
if (c < 0) {
mode = 0;
_parent.nextFrame();
}
}
}
}
Symbol 1097 MovieClip Frame 2
_parent.bgmbox.musicPlay(5);
Symbol 1097 MovieClip Frame 18
ccon.gotoAndPlay("sound1");
Symbol 1097 MovieClip Frame 78
stop();
ccon.mode = 1;
Symbol 1097 MovieClip Frame 79
play();
Symbol 1097 MovieClip Frame 83
stop();
ccon.mode = 2;
Symbol 1097 MovieClip Frame 84
play();
Symbol 1097 MovieClip Frame 88
stop();
ccon.mode = 3;
Symbol 1097 MovieClip Frame 89
play();
Symbol 1097 MovieClip Frame 93
stop();
ccon.mode = 4;
colObj = new Color(medal);
Symbol 1097 MovieClip Frame 94
play();
Symbol 1097 MovieClip Frame 101
stop();
Symbol 1097 MovieClip Frame 108
stop();
if (dest == 0) {
_parent.startGame();
} else {
_parent.returnTitle();
}
Symbol 1117 MovieClip Frame 1
function startGame() {
stagenum = 1;
mlife = 800;
resetValue();
gotoAndPlay (20);
bgmbox.musicFade();
}
function returnTitle() {
gameover = 0;
resetValue();
resetLife(1);
sbox.tscore = 0;
main.main.scoredisp.text = 0;
main.main.rankmc.gotoAndStop(1);
resetBomb();
gotoAndStop (2);
bgmbox.bgm4.setVolume(bgmbox.vol + 10);
}
function resetValue() {
score = 0;
life = mlife;
bombnum = 0;
shootcount = 0;
hitcount = 0;
rank = 0;
}
function resetLife(a) {
life = mlife;
if (a == 1) {
sbox.tlife = mlife;
main.main.lifebar.bar._width = sbox.mlifew;
main.main.lifebar.bar.gotoAndStop(1);
} else {
sbox.tlife = 0;
main.main.lifebar.bar.gotoAndStop(3);
sbox.damage = 1;
}
}
function resetBomb() {
i = 1;
while (i < 4) {
eval ("main.main.bomb" + i).gotoAndStop(1);
eval ("main.main.bomb" + i)._visible = 0;
i++;
}
}
function toggleMenu(a) {
if (a == 1) {
Mouse.show();
} else {
Mouse.hide();
}
scope._visible = !a;
menuflag = a;
}
function startStage() {
resetLife(1);
main.main.textWinOff();
gotoAndPlay("stage" + stagenum);
shutter.gotoAndPlay("open");
}
function gameoverOn() {
bgmbox.musicFade();
main.main.textWinOn(0, 0);
shutter.gotoAndPlay("close");
}
function continueGame() {
resetValue();
resetLife(0);
sbox.tscore = 0;
main.main.scoredisp.text = 0;
main.main.rankmc.gotoAndStop(1);
resetBomb();
main.main.notextWinOff();
gotoAndPlay("stage" + stagenum);
gameover = 0;
shutter.gotoAndPlay("open");
}
function scoreUp(a) {
score = score + a;
sbox.count = 1;
}
function rankCheck() {
if (sbox.tscore > rankAry[rank]) {
soundbox.gotoAndPlay("rankup");
main.main.rankmc.rankUp();
rank++;
}
}
function getDamage(a, b) {
life = life - a;
if (b == 0) {
soundbox.gotoAndPlay("damage1");
} else if (b == 1) {
soundbox.gotoAndPlay("damage2");
}
main.main.face.gotoAndPlay("damage");
main.shakecontrol.gotoAndPlay(2);
sbox.damage = 1;
}
function bombGet() {
soundbox.gotoAndPlay("bombget");
if (bombnum < 3) {
bombnum++;
eval ("main.main.bomb" + bombnum).gotoAndPlay("get");
}
}
function lifeGet() {
if (life < (mlife / 4)) {
life = life + (mlife / 4);
} else {
life = mlife;
}
soundbox.gotoAndPlay("lifeget");
sbox.damage = 1;
}
function muteOn(a) {
if (a == 1) {
soundObj = new Sound();
soundObj.setVolume(0);
} else {
soundObj = new Sound();
soundObj.setVolume(100);
}
}
rankAry = new Array(30000, 60000, 100000, 200000, 400000, 800000, 1000000, 99999999, 9999999);
menuflag = 1;
play();
Instance of Symbol 30 MovieClip "bgmbox" in Symbol 1117 MovieClip Frame 1
onClipEvent (load) {
function musicPlay(a) {
aa = a;
eval ("bgm" + a).start(0, 999);
c = 0;
fade = 1;
}
function musicFade(a) {
c = max;
fade = 2;
if (a != undefined) {
nextplay = a;
} else {
nextplay = 0;
}
}
function musicStop() {
eval ("bgm" + aa).stop();
fade = 0;
c = 0;
}
function titleMusic() {
bgm4.start(0, 1);
aa = 4;
}
max = 10;
vol = 65;
bgm1 = new Sound(this);
bgm1.attachSound("stage1bgm");
bgm1.setVolume(0);
bgm2 = new Sound(this);
bgm2.attachSound("stage2bgm");
bgm2.setVolume(0);
bgm3 = new Sound(this);
bgm3.attachSound("stage3bgm");
bgm3.setVolume(0);
bgm4 = new Sound(this);
bgm4.attachSound("titlebgm");
bgm4.setVolume(vol + 10);
bgm5 = new Sound(this);
bgm5.attachSound("clearbgm");
bgm5.setVolume(vol + 20);
}
onClipEvent (enterFrame) {
if (fade == 1) {
if (c < max) {
c++;
eval ("bgm" + aa).setVolume((c / max) * vol);
} else {
fade = 0;
}
} else if (fade == 2) {
if (c > 0) {
c--;
eval ("bgm" + aa).setVolume((c / max) * vol);
} else {
musicStop();
if (nextplay > 0) {
musicPlay(1);
}
}
}
}
Symbol 1117 MovieClip Frame 2
stop();
bgmbox.titleMusic();
Instance of Symbol 360 MovieClip "beam" in Symbol 1117 MovieClip Frame 6
onClipEvent (load) {
bx = 294;
by = 445;
hr = 1.07;
this._visible = 0;
beamSound = new Sound(this);
beamSound.attachSound("b_beam");
beamSound.setVolume(85);
}
onClipEvent (mouseDown) {
if (_parent.menuflag != 1) {
_parent.shootcount++;
this._x = bx;
this._y = by;
_parent.circle._x = _parent._xmouse;
_parent.circle._y = _parent._ymouse;
var tx = (_parent._xmouse - bx);
var ty = (_parent._ymouse - by);
var dx = Math.floor(Math.abs(_parent._xmouse - bx));
var dy = Math.floor(Math.abs(_parent._ymouse - by));
this._rotation = 0;
this._height = Math.sqrt(Math.pow(dx, 2) + Math.pow(dy, 2)) * hr;
this._rotation = (Math.atan2(-tx, ty) * 180) / Math.PI;
this._visible = 1;
beamSound.start(0, 1);
gotoAndPlay (2);
}
}
Instance of Symbol 362 MovieClip "scope" in Symbol 1117 MovieClip Frame 6
onClipEvent (enterFrame) {
this._x = _parent._xmouse;
this._y = _parent._ymouse;
}
Instance of Symbol 364 MovieClip "sbox" in Symbol 1117 MovieClip Frame 6
onClipEvent (load) {
mlifew = _parent.main.main.lifebar.bar._width;
tscore = _parent.score;
tlife = _parent.life;
}
onClipEvent (enterFrame) {
if (count == 1) {
if ((_parent.score - tscore) > 3000) {
tscore = tscore + 1000;
} else {
tscore = tscore + 100;
}
_parent.main.main.scoredisp.text = tscore;
_parent.rankCheck();
if (tscore == _parent.score) {
count = 0;
}
}
if (damage == 1) {
if (tlife > _parent.life) {
if (tlife >= 10) {
tlife = tlife - 5;
} else {
tlife = 0;
if (_parent.gameover != 1) {
_parent.gameoverOn();
_parent.gameover = 1;
}
}
if (tlife < (_parent.mlife / 4)) {
_parent.main.main.lifebar.bar.gotoAndStop(3);
} else if (tlife < (_parent.mlife / 2)) {
_parent.main.main.lifebar.bar.gotoAndStop(2);
}
} else if (tlife < _parent.life) {
if (tlife <= (_parent.mlife - 10)) {
tlife = tlife + 10;
}
if (tlife > (_parent.mlife / 2)) {
_parent.main.main.lifebar.bar.gotoAndStop(1);
} else if (tlife > (_parent.mlife / 4)) {
_parent.main.main.lifebar.bar.gotoAndStop(2);
}
}
_parent.main.main.lifebar.bar._width = (tlife / _parent.mlife) * mlifew;
if (tlife == _parent.life) {
damage = 0;
}
}
}
Instance of Symbol 387 MovieClip "bombwave" in Symbol 1117 MovieClip Frame 6
onClipEvent (load) {
function allZap() {
eval ("_parent.main.main.bomb" + _parent.bombnum).gotoAndPlay("use");
_parent.bombnum--;
bombSound.start(0, 1);
this.gotoAndPlay("bomb");
i = 1;
while (i < 40) {
if (eval ("_parent.stage.stage.grub" + i)._currentframe > 1) {
eval ("_parent.stage.stage.grub" + i).bombHit();
}
i++;
}
}
bombSound = new Sound(this);
bombSound.attachSound("b_bomb");
}
onClipEvent (keyDown) {
if (Key.isDown(32)) {
if (_parent.bombnum > 0) {
allZap();
}
}
}
Symbol 1117 MovieClip Frame 7
stop();
bgmbox.musicStop();
bgmbox.musicPlay(1);
Instance of Symbol 387 MovieClip "bombwave" in Symbol 1117 MovieClip Frame 10
onClipEvent (load) {
function allZap() {
eval ("_parent.main.main.bomb" + _parent.bombnum).gotoAndPlay("use");
_parent.bombnum--;
bombSound.start(0, 1);
this.gotoAndPlay("bomb");
i = 1;
while (i < 40) {
if (eval ("_parent.stage.stage.robot" + i)._currentframe > 1) {
eval ("_parent.stage.stage.robot" + i).bombHit();
}
i++;
}
i = 1;
while (i < 9) {
if (eval ("_parent.stage.stage.robotn" + i)._currentframe > 1) {
eval ("_parent.stage.stage.robotn" + i).bombHit();
}
i++;
}
if (_parent.stage.stage.agent._currentframe > 1) {
_parent.stage.stage.agent.bombHit();
}
}
bombSound = new Sound(this);
bombSound.attachSound("b_bomb");
}
onClipEvent (keyDown) {
if (Key.isDown(32)) {
if (_parent.bombnum > 0) {
allZap();
}
}
}
Symbol 1117 MovieClip Frame 11
stop();
bgmbox.musicStop();
bgmbox.musicPlay(2);
Instance of Symbol 387 MovieClip "bombwave" in Symbol 1117 MovieClip Frame 15
onClipEvent (load) {
function allZap() {
eval ("_parent.main.main.bomb" + _parent.bombnum).gotoAndPlay("use");
_parent.bombnum--;
bombSound.start(0, 1);
this.gotoAndPlay("bomb");
i = 1;
while (i < 5) {
if (eval ("_parent.stage.robot" + i)._currentframe > 1) {
eval ("_parent.stage.robot" + i).bombHit();
}
i++;
}
i = 1;
while (i < 6) {
if (eval ("_parent.stage.zurg" + i)._currentframe > 1) {
eval ("_parent.stage.zurg" + i).bombHit();
}
i++;
}
_parent.stage.zurg.bombHit();
}
bombSound = new Sound(this);
bombSound.attachSound("b_bomb");
}
onClipEvent (keyDown) {
if (Key.isDown(32)) {
if (_parent.bombnum > 0) {
allZap();
}
}
}
Instance of Symbol 1058 MovieClip "zurglife" in Symbol 1117 MovieClip Frame 15
onClipEvent (load) {
dw = bar._width;
}
onClipEvent (enterFrame) {
if (bar._width > (dw * ((_parent.stage.zmaxhit - _parent.stage.zhitcount) / _parent.stage.zmaxhit))) {
if (bar._width > 3) {
bar._width = bar._width - 1;
} else {
bar._width = 0;
bar._visible = 0;
}
}
}
Symbol 1117 MovieClip Frame 16
stop();
bgmbox.musicStop();
bgmbox.musicPlay(3);
Symbol 1117 MovieClip Frame 21
if (gameover != 1) {
if (stagenum == 1) {
main.main.textWinRe(5, 1);
toggleMenu(1);
shutter.gotoAndStop("closed");
} else if (stagenum == 2) {
main.main.textWinRe(6, 0);
} else if (stagenum == 3) {
main.main.textWinRe(7, 0);
}
sdisp.gotoAndPlay("stages");
sdisp.disp.gotoAndStop(stagenum);
sdisp.disp.gotoAndStop(stagenum);
} else {
sdisp.gotoAndPlay("gameover");
}
stop();
Symbol 1117 MovieClip Frame 25
stop();
toggleMenu(1);
Symbol 1117 MovieClip Frame 29
stop();