Frame 1
vol = 100;
sfxvol = 100;
qual = 100;
enemhp = 10;
bloodfade = 25;
dectime = 50;
fscommand ("showmenu", "false");
fscommand ("trapallkeys", "false");
stop();
fscommand ("showmenu", "false");
fscommand ("allowscale", "true");
Frame 33
Mouse.show();
removeMovieClip("aimer2");
playscreen = 0;
fireefek2 = new Sound(sfxmc);
fireefek2.attachSound("fireefek2");
fireefek = new Sound(sfxmc);
fireefek.attachSound("fireefek");
shell = new Sound(sfxmc);
shell.attachSound("shell");
glocksound = new Sound(sfxmc);
heavymove = new Sound(sfxmc);
reload = new Sound(sfxmc);
bgm = new Sound(musicmc);
explode = new Sound(sfxmc);
hitefek = new Sound(sfxmc);
ricmetal = new Sound(sfxmc);
doorlock = new Sound(sfxmc);
mesintik = new Sound(sfxmc);
pickitem = new Sound(sfxmc);
hurry = new Sound(sfxmc);
alarm = new Sound(sfxmc);
drops = new Sound(dsfx);
clocktick = new Sound(dsfx);
hurt = new Sound(sfxmc);
heal = new Sound(sfxmx);
hurry.attachSound("hurry");
heal.attachSound("heal");
hurt.attachSound("hurt");
alarm.attachSound("alarm");
drops.attachSound("drops");
clocktick.attachSound("clocktick");
heavymove.attachSound("heavymove");
ricmetal.attachSound("ricmetal");
doorlock.attachSound("doorlock");
pickitem.attachSound("pickitem");
reload.attachSound("clipin");
glocksound.attachSound("glocksound");
explode.attachSound("explode");
hitefek.attachSound("hitflesh");
mesintik.attachSound("mesintik");
bgm.attachSound("bgm");
endmusic.stop();
intros = new Sound(musicmc);
intros.attachSound("intro");
intros.start(0, 9999);
stop();
Instance of Symbol 328 MovieClip "bsound" in Frame 33
onClipEvent (load) {
battle = new Sound(_root.bsound);
goplay = 1;
}
onClipEvent (enterFrame) {
if ((_root.tension > 0.2) && (goplay == 1)) {
battle.stop();
name = "battle" + random(2);
battle.attachSound(name);
battle.start();
goplay = 0;
}
_root.tension = _root.tension * 0.99;
battle.setVolume((_root.tension * _root.vol) * 1.5);
_root.alllevel.setVolume((1 - _root.tension) * _root.vol);
if (_root.tension <= 0.2) {
goplay = 1;
}
}
Instance of Symbol 378 MovieClip "sfxmc" in Frame 33
onClipEvent (load) {
battle = new Sound(_root.bsound);
goplay = 1;
}
onClipEvent (enterFrame) {
if ((_root.tension > 0.2) && (goplay == 1)) {
battle.stop();
name = "battle" + random(2);
battle.attachSound(name);
battle.start();
goplay = 0;
}
_root.tension = _root.tension * 0.99;
battle.setVolume((_root.tension * _root.vol) * 1.5);
if (_root.tension <= 0.2) {
goplay = 1;
}
}
Instance of Symbol 383 MovieClip "musicmc" in Frame 33
onClipEvent (load) {
battle = new Sound(_root.bsound);
goplay = 1;
}
onClipEvent (enterFrame) {
if ((_root.tension > 0.2) && (goplay == 1)) {
battle.stop();
name = "battle" + random(2);
battle.attachSound(name);
battle.start();
goplay = 0;
}
_root.tension = _root.tension * 0.99;
battle.setVolume((_root.tension * _root.vol) * 1.5);
if (_root.tension <= 0.2) {
goplay = 1;
}
}
Instance of Symbol 328 MovieClip "dsfx" in Frame 33
onClipEvent (load) {
battle = new Sound(_root.bsound);
goplay = 1;
}
onClipEvent (enterFrame) {
if ((_root.tension > 0.2) && (goplay == 1)) {
battle.stop();
name = "battle" + random(2);
battle.attachSound(name);
battle.start();
goplay = 0;
}
_root.tension = _root.tension * 0.99;
battle.setVolume((_root.tension * _root.vol) * 1.5);
_root.alllevel.setVolume((1 - _root.tension) * _root.vol);
if (_root.tension <= 0.2) {
goplay = 1;
}
}
Frame 38
function soundfade() {
pol = pol - polspeed;
intros.setVolume(pol);
if (pol < 0) {
intros.stop();
pol = 0;
polspeed = polspeed * -1;
}
if (pol > vol) {
pol = vol;
}
}
function suarateam() {
teamvoicetime--;
if ((teamvoicetime < 0) && (teamsuarago == 1)) {
teamvoice = new Sound(sfxmc);
teamvoices = "team" + random(2);
teamvoice.attachSound(voices);
teamvoice.start();
teamvoicetime = random(10);
teamsuarago = 0;
}
teamvoice.onSoundComplete = function () {
teamsuarago = 1;
};
}
function dialogue() {
myline = "line" + urutan;
line = new Sound(sfxmc);
line.attachSound(myline);
line.start();
}
function wounded() {
if ((woundtime == 1) && (woundgo == 1)) {
hurt.start();
}
woundtime = random(10);
hurt.onSoundComplete = function () {
woundgo = 1;
};
}
function suara() {
if ((voicetime == 1) && (suarago == 1)) {
voice = new Sound(sfxmc);
voices = "voice" + random(9);
voice.attachSound(voices);
voice.start();
}
voicetime = random(10);
voice.onSoundComplete = function () {
suarago = 1;
};
}
function screenclear() {
spawnenem = 0;
while (spawnenem < (spawnjml + 1)) {
namamusuh = "enemy" + spawnenem;
removeMovieClip(namamusuh);
spawnenem++;
}
}
function screen() {
spx = random(10) - 5;
spy = random(10) - 5;
}
function firedawal() {
var _local1 = _root;
if (jumlah > 60) {
x = 1;
jumlah = 1;
} else {
jumlah++;
x++;
}
name = "bullet" + x;
jmltotal++;
duplicateMovieClip ("fire", name, jmltotal);
if (rifle._xscale > 0) {
_local1[name].speedx = 100 * Math.cos(_local1.rifle._rotation * (Math.PI/180));
_local1[name].speedy = 100 * Math.sin(_local1.rifle._rotation * (Math.PI/180));
} else if (rifle._xscale < 0) {
_local1[name].speedx = (100 * Math.cos(_local1.rifle._rotation * (Math.PI/180))) * -1;
_local1[name].speedy = (100 * Math.sin(_local1.rifle._rotation * (Math.PI/180))) * -1;
}
_local1[name]._x = _local1.rifle._x;
_local1[name]._y = _local1.rifle._y;
_local1[name]._rotation = _local1.rifle._rotation;
}
Mouse.hide();
lastpost1 = 3347;
friendsampai = 0;
friendsampai2 = 0;
friendsampai3 = 0;
friendsampai4 = 0;
friendsampai5 = 0;
friendsampai6 = 0;
fenceclosed = 0;
teamvoicetime = 20;
teamsuarago = 1;
voicetime = 20;
woundgo = 1;
suarago = 1;
talked = 0;
talked2 = 0;
talked3 = 0;
hurrygo = 0;
ammoupgrade = 0;
magz1 = 0;
magz2 = 0;
magz3 = 0;
magz4 = 0;
magz5 = 0;
magz6 = 0;
magz7 = 0;
magz8 = 0;
magz9 = 0;
magz10 = 0;
magz11 = 0;
elec = 0;
flood = 0;
bigwar = 0;
finalswitch = 0;
laserinit = 0;
laserinit2 = 0;
labkey = 0;
turretkill = 0;
gas = 0;
urutan = 0;
bodyoffice = 0;
keycard = 0;
windowswitch = 0;
engineswitch = 0;
labswitch = 0;
labswitch2 = 0;
labswitch3 = 0;
bodydrop = 0;
fireallow = 1;
loadammo = 0;
ammo2 = 1;
ammo1 = 30;
ammotipe = 1;
j = 100;
mode = 3;
firerate = 0;
x = 0;
kill = 0;
jumlah = 0;
polspeed = 5;
pol = vol;
elevatorscene = 0;
_root.shell._visible = 0;
this.onMouseUp = function () {
bulletgo = 0;
};
this.onMouseDown = function () {
if (ammotipe == 1) {
if (mode == 1) {
bulletgo = 1;
} else if (mode == 2) {
bulletgo = 3;
} else if (mode == 3) {
bulletgo = 30 + ammoupgrade;
}
}
};
Instance of Symbol 400 MovieClip in Frame 38
onClipEvent (enterFrame) {
_root.soundfade();
}
Instance of Symbol 408 MovieClip in Frame 38
onClipEvent (enterFrame) {
a = 1;
while (a < 30) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
_root.j++;
splatname = "blast" + _root.j;
_root.jmltotal++;
duplicateMovieClip (_root.blast, splatname, _root.jmltotal + 50);
_root[splatname]._x = _root[bulletname]._x;
_root[splatname]._y = 31;
_root[splatname]._rotation = math.abs(_root[bulletname]._rotation);
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 408 MovieClip in Frame 38
onClipEvent (enterFrame) {
a = 1;
while (a < 30) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
_root.j++;
splatname = "blast" + _root.j;
_root.jmltotal++;
duplicateMovieClip (_root.blast, splatname, _root.jmltotal + 50);
_root[splatname]._x = _root[bulletname]._x;
_root[splatname]._y = 31;
_root[splatname]._rotation = math.abs(_root[bulletname]._rotation);
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Frame 107
duplicateMovieClip ("aimer", "aimer2", 9999);
aimer2.go = 1;
Instance of Symbol 429 MovieClip "aimer" in Frame 107
onClipEvent (enterFrame) {
if (go == 1) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
Frame 108
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
this.onEnterFrame = function () {
var _local1 = _root;
infomc._x = Math.floor(infomc.posx - spx);
infomc._y = Math.floor(infomc.posy - spy);
menu._x = Math.floor(menu.posx - spx);
menu._y = Math.floor(menu.posy - spy);
_x = spx;
_y = spy;
if ((ammo1 < 1) && (fireallow == 1)) {
loadammo = loadammo + 5;
if (loadammo > 100) {
reload.start();
ammo1 = 30 + _local1.ammoupgrade;
loadammo = 0;
}
}
if ((bulletgo > 0) && (fireallow == 1)) {
if ((firerate < 0) && (ammo1 > 0)) {
firedawal();
randomplay = random(5);
if (randomplay == 1) {
fireefek2.start();
} else {
fireefek.start();
}
_local1.naame = "blank" + num;
_local1.jmltotal++;
duplicateMovieClip (_local1.blank, _local1.naame, jmltotal);
_local1[naame]._x = _local1.rifle._x + 10;
_local1[naame]._y = _local1.rifle._y - 15;
rotation = Math.atan2(_local1._ymouse - _local1.char._y, _local1._xmouse - _local1.char._x);
_local1[naame].launch = 3 + (random(10) * Math.sin(rotation));
_local1[naame].launchx = ((10 + random(20)) * Math.cos(rotation)) * -1;
_local1[naame].go = 1;
num++;
_local1.rifle.blast._visible = 1;
_local1.rifle.slide.play();
bulletgo--;
firerate = 0;
screen();
if (key.isdown(83)) {
_local1.rifle.bounce = _local1.rifle.bounce + 2.5;
} else {
_local1.rifle.bounce = _local1.rifle.bounce + 5;
}
ammo1--;
}
firerate--;
}
if ((kill + 3) == spawnjml) {
spawnenem = 0;
while (spawnenem < (spawnjml + 1)) {
namamusuh = "enemy" + spawnenem;
removeMovieClip(namamusuh);
spawnenem++;
}
spawnenem = 0;
kill = 0;
}
if (((chance == 1) && (spawnenem < spawnjml)) && (roomspawn == 1)) {
jmltotal++;
spawnenem++;
targ = daftar[random(4)];
namamusuh = "enemy" + spawnenem;
duplicateMovieClip (targ, namamusuh, jmltotal + 1210);
_local1[namamusuh].go = 1;
}
chance = random(time);
};
playscreen = 0;
Instance of Symbol 431 MovieClip "fire" in Frame 108
onClipEvent (load) {
_alpha = random(20);
}
Instance of Symbol 233 MovieClip "blast" in Frame 108
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
}
Instance of Symbol 433 MovieClip "glow" in Frame 108
onClipEvent (load) {
_x = (_root.char._x + (_root.char._xscale / 5));
_y = (_root.char._y - 20);
_alpha = (60 + random(20));
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
_alpha = (_alpha - 8);
if (_alpha < 0) {
removeMovieClip(this);
_visible = 0;
}
}
Instance of Symbol 491 MovieClip "terror" in Frame 108
onClipEvent (load) {
groundead = 4 + random(2);
speed = 2 + (math.random() * 2);
head = 1 + random(3);
hp = 1 + Math.floor(_root.enemhp * 0.1);
ground = 300;
grav = 0;
bouncex = 0;
bouncey = 0;
ground = 300;
grav = 0;
suaraplay = 0;
jeda = 5;
damage = 4 + random(3);
wepsound = "glocksound";
firetime = jeda + random(5);
start = _x;
speed = 2;
dead = 0;
decay = _root.dectime * 3;
if (go == 1) {
_xscale = ((1 + (random(2) * -2)) * 100);
posisi = random(2);
_x = ((posisi * 700) + (((1 + (posisi * -2)) * (20 + random(20))) * -1));
if (_root.bigwar == 1) {
_x = (700 + random(400));
}
tujuan = random(600);
if (((hitTest(_root.reactorxxx) || (hitTest(_root.tembokr))) || (hitTest(_root.tembokl))) || (hitTest(_root.awal))) {
dead = 1;
suaraplay = 1;
hp = -1;
_alpha = -1;
}
suaramati = "zombiedie" + random(3);
suaramulai = new Sound(_root.sfxmc);
suaramulai.attachSound("moan");
suaramulai.start();
mydie = new Sound(_root.sfxmc);
mydie.attachSound(suaramati);
}
}
Instance of Symbol 513 MovieClip "zomb" in Frame 108
onClipEvent (load) {
groundead = 4 + random(2);
speed = 2 + (math.random() * 2);
hp = 1 + Math.floor(_root.enemhp * 0.1);
head = 1 + random(3);
ground = 300;
grav = 0;
bouncex = 0;
bouncey = 0;
suaraplay = 0;
decay = _root.dectime * 3;
if (go == 1) {
_xscale = ((1 + (random(2) * -2)) * 100);
posisi = random(2);
_x = ((posisi * 700) + (((1 + (posisi * -2)) * (20 + random(20))) * -1));
if (_root.bigwar == 1) {
_x = (700 + random(400));
}
if (((hitTest(_root.reactorxxx) || (hitTest(_root.tembokr))) || (hitTest(_root.tembokl))) || (hitTest(_root.awal))) {
_root.kill++;
removeMovieClip(this);
}
suaramati = "zombiedie" + random(3);
suaramulai = new Sound(_root.sfxmc);
suaramulai.attachSound("moan");
suaramulai.start();
mydie = new Sound(_root.sfxmc);
mydie.attachSound(suaramati);
}
waitingtime = random(400);
dead = 0;
}
Instance of Symbol 517 MovieClip "grenad" in Frame 108
onClipEvent (load) {
fire == 1;
}
onClipEvent (enterFrame) {
this.onMouseDown = function () {
var _local1 = _root;
if (((_local1.ammotipe == 2) && (_local1.ammo2 == 1)) && (_local1.fireallow == 1)) {
gotoAndStop (2);
if (_local1.rifle._xscale > 0) {
speedx = 20 * Math.cos(_local1.rifle._rotation * (Math.PI/180));
speedy = 20 * Math.sin(_local1.rifle._rotation * (Math.PI/180));
} else if (_local1.rifle._xscale < 0) {
speedx = (20 * Math.cos(_local1.rifle._rotation * (Math.PI/180))) * -1;
speedy = (20 * Math.sin(_local1.rifle._rotation * (Math.PI/180))) * -1;
}
_x = _local1.rifle._x;
_y = _local1.rifle._y;
_rotation = _local1.rifle._rotation;
_local1.ammo2 = 0;
}
};
if ((_root.ammo2 == 0) && (_root.fireallow == 1)) {
speedy = speedy + 0.5;
_y = (_y + speedy);
_x = (_x - (_root.mainx - speedx));
_rotation = ((Math.atan2(speedy, speedx) * 180) / Math.PI);
if (_root.playscreen == 0) {
_root.menu.ammobar.greload._xscale = 0;
_root.ammo2 = 2;
gotoAndStop (1);
}
if (_y > 300) {
_root.explode.start();
_root.menu.ammobar.greload._xscale = 0;
_root.ammo2 = 2;
_y = 300;
play();
}
}
}
Instance of Symbol 13 MovieClip [splat] "splat" in Frame 108
onClipEvent (load) {
gotoAndStop(random(6) + 1);
speed = 1 + ((4 * (100 - _root.bloodfade)) / 100);
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.playscreen == 0) {
removeMovieClip(this);
}
_alpha = (_alpha - speed);
if (_alpha < 0) {
removeMovieClip(this);
}
}
Instance of Symbol 519 MovieClip "enemfire" in Frame 108
onClipEvent (load) {
_alpha = random(20);
}
Instance of Symbol 535 MovieClip "char" in Frame 108
onClipEvent (load) {
start = _y;
speed = 10;
hp = 100;
jump = 1;
dead = 0;
}
Instance of Symbol 539 MovieClip "rifle" in Frame 108
onClipEvent (load) {
shakespd = 0.2;
aksi = 1;
laser = 0;
}
onClipEvent (enterFrame) {
gotoAndStop(aksi);
if ((shake > 5) || (shake < 0)) {
shakespd = shakespd * -1;
}
shake = shake - shakespd;
_y = (((_root.char._y + _root.crouch) + shake) - 10);
_x = (_root.char._x + (_root.char._xscale / 5));
if (bounce > 1) {
bounce = bounce - 2;
}
if (bounce > 20) {
bounce = 20;
}
if (_root.char._xscale > 0) {
_xscale = 100;
_rotation = (((Math.atan2(_root._ymouse - _y, _root._xmouse - _x) * 180) / Math.PI) - bounce);
} else if (_root.char._xscale < 0) {
_xscale = -100;
_rotation = (((Math.atan2(_root._ymouse - _y, _x - _root._xmouse) * -180) / Math.PI) + bounce);
}
}
Instance of Symbol 545 MovieClip "bat" in Frame 108
onClipEvent (load) {
speed = 2 + (math.random() * 6);
_y = (-100 + random(200));
_x = (320 - ((1 - (2 * random(2))) * 740));
hp = 1 + Math.floor(_root.enemhp * 0.03);
dead = 0;
}
Instance of Symbol 548 MovieClip "infomc" in Frame 108
onClipEvent (load) {
posx = _x;
posy = _y;
}
Instance of Symbol 550 MovieClip "blank" in Frame 108
onClipEvent (load) {
_alpha = 100;
grav = 0;
rotspd = Math.random();
}
onClipEvent (enterFrame) {
_x = (_x + (launchx - _root.mainx));
_y = (_y + (grav - launch));
_rotation = (_rotation + (launchx * rotspd));
grav++;
if ((go == 0) || (go == null)) {
_alpha = (_alpha - 5);
}
if (_y > 300) {
grav = 0;
launchx = launchx * 0.6;
launch = launch * 0.6;
_y = 300;
if (go == 1) {
_root.shell.start();
go = 0;
}
}
if (_alpha < 0) {
removeMovieClip(this);
}
}
Instance of Symbol 558 MovieClip "bpart1" in Frame 108
onClipEvent (load) {
_alpha = 100;
grav = 0;
_rotation = random(360);
}
onClipEvent (enterFrame) {
if ((_root.playscreen == 0) || (_alpha < 0)) {
removeMovieClip(this);
}
if (go == 1) {
_x = (_x - (_root.mainx + speedx));
_rotation = (_rotation + speedx);
_alpha = (_alpha-1);
grav++;
if (grav > 20) {
grav = 20;
}
if (_y > 300) {
grav = 0;
_y = 300;
speedx = speedx * 0.6;
speedy = speedy * 0.6;
if (speedy < 1) {
speedy = 0;
}
}
_y = (_y + (grav - speedy));
}
}
Instance of Symbol 583 MovieClip "growler" in Frame 108
onClipEvent (load) {
hp = 2 + Math.floor(_root.enemhp * 0.1);
grounddead = 3 + random(2);
ground = 300;
speed = 0;
head = 1 + random(3);
grav = 0;
bouncex = 0;
bouncey = 0;
suaraplay = 0;
decay = _root.dectime * 3;
if (go == 1) {
_xscale = ((1 + (random(2) * -2)) * 100);
posisi = random(2);
_x = ((posisi * 700) + (((1 + (posisi * -2)) * (20 + random(20))) * -1));
if (_root.bigwar == 1) {
_x = (700 + random(400));
}
if (((hitTest(_root.reactorxxx) || (hitTest(_root.tembokr))) || (hitTest(_root.tembokl))) || (hitTest(_root.awal))) {
_root.kill++;
removeMovieClip(this);
}
suaramati = "zombiedie" + random(3);
suaramulai = new Sound(_root.sfxmc);
suaramulai.attachSound("moan");
suaramulai.start();
mydie = new Sound(_root.sfxmc);
mydie.attachSound(suaramati);
}
waitingtime = random(400);
dead = 0;
}
Instance of Symbol 586 MovieClip "growlerfall" in Frame 108
onClipEvent (load) {
grounddead = 4 + random(2);
hp = 1;
ground = 300;
speed = 0;
_y = 10;
head = 1 + random(3);
grav = 0;
bouncex = 3 - random(7);
bouncey = 0;
suaraplay = 0;
decay = _root.dectime * 3;
landed = 0;
grav = 20;
if (go == 1) {
_xscale = ((1 + (random(2) * -2)) * 100);
posisi = random(2);
_x = (120 + random(300));
if (((hitTest(_root.reactorxxx) || (hitTest(_root.tembokr))) || (hitTest(_root.tembokl))) || (hitTest(_root.awal))) {
_root.kill++;
removeMovieClip(this);
}
bustceiling = new Sound(_root.sfxmc);
bustceiling.attachSound("bustceiling");
bustceiling.start();
suaramati = "zombiedie" + random(3);
suaramulai = new Sound(_root.sfxmc);
suaramulai.attachSound("moan");
suaramulai.start();
mydie = new Sound(_root.sfxmc);
mydie.attachSound(suaramati);
bodydrop = new Sound(_root.sfxmc);
bodydrop.attachSound("bodydrop");
}
dead = 0;
}
Instance of Symbol 620 MovieClip "menu" in Frame 108
onClipEvent (load) {
posx = _x;
posy = _y;
}
Frame 109
daftar = newarray();
daftar = ["growlerfall", "growlerfall", "growlerfall", "growlerfall"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 9;
roomspawn = 0;
time = 10;
stop();
Instance of Symbol 626 MovieClip in Frame 109
onClipEvent (enterFrame) {
_x = (_x - (_root.mainx * 0.3));
}
Instance of Symbol 641 MovieClip in Frame 109
onClipEvent (load) {
_x = (_root.lastpost1 - 2749);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 643 MovieClip in Frame 109
onClipEvent (load) {
_x = (_root.lastpost1 - 2199);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 647 MovieClip in Frame 109
onClipEvent (load) {
_x = (_root.lastpost1 - 3299);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 265 MovieClip in Frame 109
onClipEvent (load) {
_x = (_root.lastpost1 - 1649);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 641 MovieClip in Frame 109
onClipEvent (load) {
_x = (_root.lastpost1 - 1099);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 286 MovieClip "fence" in Frame 109
onClipEvent (load) {
_x = (_root.lastpost1 - 549);
_root.friend.tujuan = Math.abs(_root.friend._x - _x);
_root.friend2.tujuan = Math.abs(_root.friend2._x - _x) + 100;
_root.friend2.titik = _root.friend2.tujuan / 1.5;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 292 MovieClip "tembokr" in Frame 109
onClipEvent (load) {
_x = _root.lastpost1;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 653 MovieClip "friend" in Frame 109
onClipEvent (load) {
speed = 10;
go = 0;
firego = 0;
moveable = _root.friendsampai;
waitingtime = 0;
wep.stop();
if (_root.friendsampai == 1) {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (moveable == 0) {
if (hitTest(_root.char.hit) && (go == 0)) {
_root.info = "Are you ready?? (press action key [E] to start mission)";
_root.infomc.play();
if (key.isDown(69)) {
_root.urutan++;
_root.dialogue();
_root.friend2.go = 1;
go = 1;
}
}
_x = (_x - _root.mainx);
if ((firetime < 0) && (firego == 1)) {
_root.suarateam();
_root.fireefek.start();
_root.num++;
name = "blaank" + _root.num;
_root.jmltotal++;
duplicateMovieClip (_root.blank, name, _root.jmltotal + 140);
_root[name]._x = _x;
_root[name]._y = _y - 40;
_root[name].launch = random(10);
_root[name].launchx = ((10 + random(10)) * _xscale) / -100;
name = "bullet" + _root.x;
_root.jmltotal++;
_root.jumlah++;
_root.x++;
if (_root.jumlah > 29) {
_root.jumlah = 1;
_root.x = 1;
}
duplicateMovieClip (_root.fire, name, _root.x + 100);
_root[name].speedx = -100 * Math.cos(wep._rotation * (Math.PI/180));
_root[name].speedy = -100 * Math.sin(wep._rotation * (Math.PI/180));
_root[name]._x = _x;
_root[name]._y = _y;
_root[name]._rotation = wep._rotation;
wep.blast._visible = 1;
firetime = random(1);
waitingtime = 20;
firego = 0;
}
firetime--;
if (go == 1) {
waitingtime--;
gotoAndStop(act);
if (((tujuan > 0) && (firego == 0)) && (waitingtime < 0)) {
_x = (_x + speed);
tujuan = tujuan - speed;
act = "run";
} else {
act = "stop";
}
}
}
}
Instance of Symbol 653 MovieClip "friend2" in Frame 109
onClipEvent (load) {
speed = 10;
action = 1;
action2 = 1;
go = 0;
firego = 0;
waitingtime = 0;
wep.stop();
moveable = _root.friendsampai;
if (_root.friendsampai == 1) {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (moveable == 0) {
_x = (_x - _root.mainx);
if ((firetime < 0) && (firego == 1)) {
_root.suarateam();
_root.fireefek.start();
_root.num++;
name = "blaank" + _root.num;
_root.jmltotal++;
duplicateMovieClip (_root.blank, name, _root.jmltotal + 100);
_root[name]._x = _x;
_root[name]._y = _y - 40;
_root[name].launch = random(10);
_root[name].launchx = ((10 + random(10)) * _xscale) / -100;
name = "bullet" + _root.x;
_root.jmltotal++;
_root.jumlah++;
_root.x++;
if (_root.jumlah > 29) {
_root.jumlah = 1;
_root.x = 1;
}
duplicateMovieClip (_root.fire, name, _root.x + 100);
_root[name].speedx = -100 * Math.cos(wep._rotation * (Math.PI/180));
_root[name].speedy = -100 * Math.sin(wep._rotation * (Math.PI/180));
_root[name]._x = _x;
_root[name]._y = _y;
_root[name]._rotation = wep._rotation;
wep.blast._visible = 1;
firetime = random(1);
waitingtime = 20;
firego = 0;
}
firetime--;
if (go == 1) {
waitingtime--;
gotoAndStop(act);
if ((tujuan < titik) && (action2 == 1)) {
_root.urutan++;
_root.dialogue();
action2 = 0;
}
if ((tujuan < 1) && (action == 1)) {
_root.fence.blok.play();
action = 0;
}
if (((tujuan > 0) && (firego == 0)) && (waitingtime < 0)) {
_x = (_x + speed);
tujuan = tujuan - speed;
act = "run";
} else {
act = "stop";
}
}
}
}
Instance of Symbol 587 MovieClip in Frame 109
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 109
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "Front Gate, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 113
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 114
daftar = newarray();
daftar = ["bat", "bat", "bat", "bat"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 9;
roomspawn = 0;
time = 60;
stop();
Instance of Symbol 676 MovieClip in Frame 114
onClipEvent (load) {
_x = (_root.lastpost2 + 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 678 MovieClip "awal" in Frame 114
onClipEvent (load) {
_x = _root.lastpost2;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 680 MovieClip in Frame 114
onClipEvent (load) {
_x = (_root.lastpost2 + 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 691 MovieClip "elev" in Frame 114
onClipEvent (load) {
_x = (_root.lastpost2 + 1650);
_root.friend.tujuan = Math.abs(_root.friend._x - _x) - 30;
_root.friend2.tujuan = Math.abs(_root.friend2._x - _x) - 230;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 693 MovieClip "tembokr" in Frame 114
onClipEvent (load) {
_x = (_root.lastpost2 + 3300);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 709 MovieClip in Frame 114
onClipEvent (load) {
_x = (_root.lastpost2 + 2200);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 719 MovieClip in Frame 114
onClipEvent (load) {
_x = (_root.lastpost2 + 2750);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 653 MovieClip "friend" in Frame 114
onClipEvent (load) {
speed = 10;
go = 1;
firego = 0;
waitingtime = 0;
if (_root.friendsampai3 == 1) {
_visible = 0;
}
if (_root.friendsampai2 == 1) {
go = 0;
wep._rotation = 230;
_x = _root.elev._x;
wep.play();
} else {
wep.stop();
}
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((firetime < 0) && (firego == 1)) {
_root.suarateam();
_root.fireefek.start();
_root.num++;
name = "blaank" + _root.num;
_root.jmltotal++;
duplicateMovieClip (_root.blank, name, _root.jmltotal + 100);
_root[name]._x = _x;
_root[name]._y = _y - 40;
_root[name].launch = random(10);
_root[name].launchx = ((10 + random(10)) * _xscale) / -100;
name = "bullet" + _root.x;
_root.jmltotal++;
_root.jumlah++;
_root.x++;
if (_root.jumlah > 30) {
_root.jumlah = 1;
_root.x = 1;
}
duplicateMovieClip (_root.fire, name, _root.x + 100);
_root[name].speedx = -100 * Math.cos(wep._rotation * (Math.PI/180));
_root[name].speedy = -100 * Math.sin(wep._rotation * (Math.PI/180));
_root[name]._x = _x;
_root[name]._y = _y;
_root[name]._rotation = wep._rotation;
wep.blast._visible = 1;
firetime = random(1);
waitingtime = 20;
firego = 0;
}
firetime--;
if (go == 1) {
waitingtime--;
gotoAndStop(act);
if (((tujuan > 0) && (firego == 0)) && (waitingtime < 0)) {
_x = (_x + speed);
tujuan = tujuan - speed;
act = "run";
} else {
wep.play();
wep._rotation = 230;
act = "stop";
}
}
}
Instance of Symbol 653 MovieClip "friend2" in Frame 114
onClipEvent (load) {
speed = 10;
action = 1;
go = 1;
firego = 0;
waitingtime = 0;
if (_root.talked == 0) {
_root.urutan++;
_root.dialogue();
_root.talked = 1;
}
wep.stop();
if (_root.friendsampai3 == 1) {
_visible = 0;
}
if (_root.friendsampai2 == 1) {
go = 0;
gotoAndStop (3);
_xscale = -100;
_x = (_root.elev._x - 200);
}
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((firetime < 0) && (firego == 1)) {
_root.suarateam();
_root.fireefek.start();
_root.num++;
name = "blaank" + _root.num;
_root.jmltotal++;
duplicateMovieClip (_root.blank, name, _root.jmltotal + 100);
_root[name]._x = _x;
_root[name]._y = _y - 40;
_root[name].launch = random(10);
_root[name].launchx = ((10 + random(10)) * _xscale) / -100;
name = "bullet" + _root.x;
_root.jmltotal++;
_root.jumlah++;
_root.x++;
if (_root.jumlah > 30) {
_root.jumlah = 1;
_root.x = 1;
}
duplicateMovieClip (_root.fire, name, _root.x + 100);
_root[name].speedx = -100 * Math.cos(wep._rotation * (Math.PI/180));
_root[name].speedy = -100 * Math.sin(wep._rotation * (Math.PI/180));
_root[name]._x = _x;
_root[name]._y = _y;
_root[name]._rotation = wep._rotation;
wep.blast._visible = 1;
firetime = random(1);
waitingtime = 20;
firego = 0;
}
firetime--;
if (go == 1) {
waitingtime--;
gotoAndStop(act);
if ((tujuan < 1) && (action == 1)) {
_xscale = -100;
_root.urutan++;
_root.dialogue();
_root.friendsampai2 = 1;
action = 0;
}
if (((tujuan > 0) && (firego == 0)) && (waitingtime < 0)) {
_x = (_x + speed);
tujuan = tujuan - speed;
act = "run";
} else {
act = "crouch";
}
}
}
Instance of Symbol 587 MovieClip in Frame 114
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 114
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "Reception, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 118
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 119
daftar = newarray();
daftar = ["bat", "bat", "bat", "bat"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 9;
roomspawn = 1;
time = 60;
stop();
Instance of Symbol 732 MovieClip "tembokl" in Frame 119
onClipEvent (load) {
_x = _root.lastpost3;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 750 MovieClip in Frame 119
onClipEvent (load) {
_x = (_root.lastpost3 + 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 762 MovieClip in Frame 119
onClipEvent (load) {
_x = (_root.lastpost3 + 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 765 MovieClip in Frame 119
onClipEvent (load) {
_x = (_root.lastpost3 + 1650);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 771 MovieClip "tembokr" in Frame 119
onClipEvent (load) {
_x = (_root.lastpost3 + 3300);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 773 MovieClip in Frame 119
onClipEvent (load) {
_x = (_root.lastpost3 + 2750);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 762 MovieClip in Frame 119
onClipEvent (load) {
_x = (_root.lastpost3 + 2200);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 587 MovieClip in Frame 119
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 119
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "Basement, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 123
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 124
daftar = newarray();
daftar = ["bat", "bat", "bat", "bat"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 9;
roomspawn = 0;
time = 60;
stop();
Instance of Symbol 778 MovieClip "tembokr" in Frame 124
onClipEvent (load) {
_x = (_root.lastpost4 - 2200);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 783 MovieClip in Frame 124
onClipEvent (load) {
_x = (_root.lastpost4 - 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 789 MovieClip in Frame 124
onClipEvent (load) {
_x = (_root.lastpost4 + 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 819 MovieClip "elev" in Frame 124
onClipEvent (load) {
_x = _root.lastpost4;
_root.friend.tujuan = 230;
_root.friend2.tujuan = 230;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 821 MovieClip "tembokr" in Frame 124
onClipEvent (load) {
_x = (_root.lastpost4 + 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 826 MovieClip in Frame 124
onClipEvent (load) {
_x = (_root.lastpost4 - 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 831 MovieClip in Frame 124
onClipEvent (load) {
_x = (_root.lastpost4 - 1650);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 653 MovieClip "friend" in Frame 124
onClipEvent (load) {
speed = 10;
go = 1;
firego = 0;
waitingtime = 0;
if (_root.friendsampai5 == 1) {
_visible = 0;
}
wep.stop();
if (_root.friendsampai4 == 1) {
go = 0;
wep._rotation = 200;
_x = (_root.elev._x + 150);
gotoAndStop (3);
if (_root.bodydrop == 1) {
wep.play();
}
}
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((firetime < 0) && (firego == 1)) {
_root.fireefek.start();
_root.num++;
name = "blaank" + _root.num;
_root.jmltotal++;
duplicateMovieClip (_root.blank, name, _root.jmltotal + 100);
_root[name]._x = _x;
_root[name]._y = _y - 40;
_root[name].launch = random(10);
_root[name].launchx = ((10 + random(10)) * _xscale) / -100;
name = "bullet" + _root.x;
_root.jmltotal++;
_root.jumlah++;
_root.x++;
if (_root.jumlah > 30) {
_root.jumlah = 1;
_root.x = 1;
}
duplicateMovieClip (_root.fire, name, _root.x + 100);
_root[name].speedx = -100 * Math.cos(wep._rotation * (Math.PI/180));
_root[name].speedy = -100 * Math.sin(wep._rotation * (Math.PI/180));
_root[name]._x = _x;
_root[name]._y = _y;
_root[name]._rotation = wep._rotation;
wep.blast._visible = 1;
firetime = random(1);
waitingtime = 20;
firego = 0;
}
firetime--;
if (go == 1) {
waitingtime--;
gotoAndStop(act);
if (((tujuan > 0) && (firego == 0)) && (waitingtime < 0)) {
_x = (_x + speed);
tujuan = tujuan - speed;
act = "run";
} else {
act = "stop";
}
}
}
Instance of Symbol 653 MovieClip "friend2" in Frame 124
onClipEvent (load) {
speed = 10;
action = 1;
go = 1;
firego = 0;
waitingtime = 0;
wep.stop();
if (_root.friendsampai5 == 1) {
_visible = 0;
}
if (_root.friendsampai4 == 1) {
go = 0;
gotoAndStop (3);
if (_root.bodydrop == 1) {
_xscale = -100;
}
_x = (_root.elev._x - 80);
}
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((firetime < 0) && (firego == 1)) {
_root.fireefek.start();
_root.num++;
name = "blaank" + _root.num;
_root.jmltotal++;
duplicateMovieClip (_root.blank, name, _root.jmltotal + 100);
_root[name]._x = _x;
_root[name]._y = _y - 40;
_root[name].launch = random(10);
_root[name].launchx = ((10 + random(10)) * _xscale) / -100;
name = "bullet" + _root.x;
_root.jmltotal++;
_root.jumlah++;
_root.x++;
if (_root.jumlah > 30) {
_root.jumlah = 1;
_root.x = 1;
}
duplicateMovieClip (_root.fire, name, _root.x + 100);
_root[name].speedx = -100 * Math.cos(wep._rotation * (Math.PI/180));
_root[name].speedy = -100 * Math.sin(wep._rotation * (Math.PI/180));
_root[name]._x = _x;
_root[name]._y = _y;
_root[name]._rotation = wep._rotation;
wep.blast._visible = 1;
firetime = random(1);
waitingtime = 20;
firego = 0;
}
firetime--;
if (go == 1) {
waitingtime--;
gotoAndStop(act);
if ((tujuan < 1) && (action == 1)) {
_root.friendsampai4 = 1;
act = "crouch";
action = 0;
}
if (((tujuan > 0) && (firego == 0)) && (waitingtime < 0)) {
_x = (_x + speed);
tujuan = tujuan - speed;
act = "run";
} else {
act = "stop";
}
}
}
Instance of Symbol 833 MovieClip "aim" in Frame 124
onClipEvent (enterFrame) {
_x = ((_root.friend._x + 20) + random(250));
_y = (200 + random(100));
n = 0;
while (n < 9) {
namatarget = "enemy" + n;
if (hitTest(_root[namatarget])) {
_root.friend.wep._rotation = (Math.atan2(_root.friend._y - _y, _root.friend._x - _x) * 180) / Math.PI;
_root.friend.firego = 1;
}
n++;
}
}
Instance of Symbol 833 MovieClip "aim2" in Frame 124
onClipEvent (enterFrame) {
_x = ((_root.friend2._x + 20) + random(250));
_y = (200 + random(100));
n = 0;
while (n < 9) {
namatarget = "enemy" + n;
if (hitTest(_root[namatarget])) {
_root.friend2.wep._rotation = ((Math.atan2(_root.friend2._y - _y, _root.friend2._x - _x) * 180) / Math.PI) - bounce;
_root.friend2.firego = 1;
}
n++;
}
}
Instance of Symbol 587 MovieClip "fade" in Frame 124
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_alpha = 0;
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 656 MovieClip in Frame 124
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "Lobby, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 128
intros.stop();
playscreen = 0;
Frame 129
daftar = newarray();
daftar = ["bat", "bat", "bat", "bat"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 9;
roomspawn = 0;
time = 60;
stop();
Instance of Symbol 851 MovieClip in Frame 129
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
}
Instance of Symbol 587 MovieClip "fade" in Frame 129
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_alpha = 0;
_visible = 0;
} else {
_visible = 1;
}
}
Frame 133
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 134
daftar = newarray();
daftar = ["zomb", "zomb", "growler", "zomb"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 50;
roomspawn = 1;
time = 20;
stop();
Instance of Symbol 863 MovieClip in Frame 134
onClipEvent (load) {
_x = (_root.lastpost5 + 640);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 865 MovieClip in Frame 134
onClipEvent (load) {
_x = (_root.lastpost5 + 1280);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 869 MovieClip in Frame 134
onClipEvent (load) {
_x = (_root.lastpost5 + 1920);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 871 MovieClip in Frame 134
onClipEvent (load) {
_x = (_root.lastpost5 + 2560);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 863 MovieClip in Frame 134
onClipEvent (load) {
_x = (_root.lastpost5 + 3200);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 877 MovieClip "awal" in Frame 134
onClipEvent (load) {
_x = _root.lastpost5;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 879 MovieClip "tembokr" in Frame 134
onClipEvent (load) {
_x = (_root.lastpost5 + 3840);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 587 MovieClip in Frame 134
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 134
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "Silo, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 138
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 139
daftar = newarray();
daftar = ["zomb", "growler", "zomb", "zomb"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 35;
roomspawn = 1;
time = 50;
stop();
Instance of Symbol 889 MovieClip in Frame 139
onClipEvent (load) {
_x = (_root.lastpost6 + 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 895 MovieClip in Frame 139
onClipEvent (load) {
_x = (_root.lastpost6 + 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 900 MovieClip "awal" in Frame 139
onClipEvent (load) {
_x = _root.lastpost6;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 902 MovieClip "tembokr" in Frame 139
onClipEvent (load) {
_x = (_root.lastpost6 + 1650);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 904 MovieClip "tembokl" in Frame 139
onClipEvent (load) {
_x = (_root.lastpost6 - 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 587 MovieClip in Frame 139
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 139
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "Connection deck 1, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 143
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 144
daftar = newarray();
daftar = ["zomb", "growlerfall", "growler", "zomb"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 30;
roomspawn = 1;
time = 40;
stop();
Instance of Symbol 908 MovieClip in Frame 144
onClipEvent (load) {
_x = (_root.lastpost7 - 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 910 MovieClip "awal" in Frame 144
onClipEvent (load) {
_x = _root.lastpost7;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 915 MovieClip in Frame 144
onClipEvent (load) {
_x = (_root.lastpost7 - 1100);
_root.drinkzomb._x = _x + 150;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 917 MovieClip "tembokr" in Frame 144
onClipEvent (load) {
_x = (_root.lastpost7 + 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 919 MovieClip "tembokl" in Frame 144
onClipEvent (load) {
_x = (_root.lastpost7 - 1650);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 500 MovieClip in Frame 144
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Frame 144
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Frame 144
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 924 MovieClip "drinkzomb" in Frame 144
onClipEvent (load) {
groundead = 4 + random(2);
speed = 2 + (math.random() * 2);
hp = 1 + Math.Floor(_root.enemhp * 0.1);
head = 1 + random(3);
ground = 300;
grav = 0;
bouncex = 0;
bouncey = 0;
suaraplay = 0;
decay = _root.dectime * 3;
go = 1;
lemparawal = 0;
_xscale = ((1 + (random(2) * -2)) * 100);
posisi = random(2);
suaramati = "zombiedie" + random(3);
suaramulai = new Sound(_root.sfxmc);
suaramulai.attachSound("moan");
suaramulai.start();
mydie = new Sound(_root.sfxmc);
mydie.attachSound(suaramati);
waitingtime = random(400);
dead = 0;
}
Instance of Symbol 926 MovieClip "can" in Frame 144
onClipEvent (enterFrame) {
if (go == 1) {
_x = (_x + (speedx - _root.mainx));
_y = (_y - (speedy - grav));
_rotation = (_rotation + speedx);
grav++;
if (hitTest(_root.char.hit) && (speedx > 4)) {
_root.char.hp = _root.char.hp - (2 + random(3));
speedx = speedx * -0.3;
_root.ricmetal.start();
grav = 0;
}
if (_y > 300) {
_y = 300;
speedx = speedx * 0.9;
speedy = speedy * 0.6;
}
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hittest(_root[bulletname]) && (speedx > 2)) {
_root.ricmetal.start();
speedx = speedx + (_root[bulletname].speedx / 30);
speedy = speedy - (_root[bulletname].speedy / 40);
grav = 0;
removeMovieClip(_root[bulletname]);
}
a++;
}
}
}
Instance of Symbol 587 MovieClip in Frame 144
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 144
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "Connection deck 2, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 148
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 149
daftar = newarray();
daftar = ["bat", "growler", "zomb", "zomb"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 40;
roomspawn = 1;
time = 40;
stop();
Instance of Symbol 933 MovieClip in Frame 149
onClipEvent (load) {
_x = (_root.lastpost8 - 3200);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 865 MovieClip in Frame 149
onClipEvent (load) {
_x = (_root.lastpost8 - 2560);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 940 MovieClip in Frame 149
onClipEvent (load) {
_x = (_root.lastpost8 - 1920);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 871 MovieClip in Frame 149
onClipEvent (load) {
_x = (_root.lastpost8 - 1280);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 863 MovieClip in Frame 149
onClipEvent (load) {
_x = (_root.lastpost8 - 640);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 943 MovieClip "tembokl" in Frame 149
onClipEvent (load) {
_x = (_root.lastpost8 - 3840);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 945 MovieClip "awal" in Frame 149
onClipEvent (load) {
_x = _root.lastpost8;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 948 MovieClip "hook" in Frame 149
onClipEvent (load) {
_x = (_root.awal._x - 600);
pos = _rotation;
}
onClipEvent (enterFrame) {
_x = (_x + (speed - _root.mainx));
_rotation = (pos - speed);
speed = speed * 0.9;
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hittest(_root[bulletname])) {
speed = speed + (_root[bulletname].speedx / 8);
_root.ricmetal.start();
splatname = "blast" + _root.j;
_root.jmltotal++;
duplicateMovieClip (_root.blast, splatname, _root.jmltotal + 50);
_root[splatname]._x = _root[bulletname]._x;
_root[splatname]._y = 31;
_root[splatname]._rotation = _rotation;
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 587 MovieClip in Frame 149
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 149
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "Silo hall 2, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 153
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 154
daftar = newarray();
daftar = ["bat", "growler", "growlerfall", "zomb"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 30;
roomspawn = 1;
time = 25;
stop();
Instance of Symbol 958 MovieClip in Frame 154
onClipEvent (load) {
_x = (_root.lastpost9 + 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 984 MovieClip in Frame 154
onClipEvent (load) {
_x = (_root.lastpost9 + 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 986 MovieClip in Frame 154
onClipEvent (load) {
_x = _root.lastpost9;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 989 MovieClip in Frame 154
onClipEvent (load) {
_x = (_root.lastpost9 + 1650);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1003 MovieClip in Frame 154
onClipEvent (load) {
_x = (_root.lastpost9 + 2200);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1005 MovieClip "tembokr" in Frame 154
onClipEvent (load) {
_x = (_root.lastpost9 + 3300);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1010 MovieClip in Frame 154
onClipEvent (load) {
_x = (_root.lastpost9 + 2750);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1005 MovieClip "tembokl" in Frame 154
onClipEvent (load) {
_x = (_root.lastpost9 - 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 587 MovieClip in Frame 154
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 154
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "Sewer, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 158
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 159
daftar = newarray();
daftar = ["zomb", "growler", "zomb", "bat"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 14;
roomspawn = 1;
time = 40;
stop();
Instance of Symbol 1013 MovieClip "tembokl" in Frame 159
onClipEvent (load) {
_x = (_root.lastpost10 - 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1021 MovieClip in Frame 159
onClipEvent (load) {
_x = (_root.lastpost10 + 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1041 MovieClip in Frame 159
onClipEvent (load) {
_x = _root.lastpost10;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1043 MovieClip "tembokr" in Frame 159
onClipEvent (load) {
_x = (_root.lastpost10 + 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 587 MovieClip in Frame 159
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 159
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "Office, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 163
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 164
daftar = newarray();
daftar = ["zomb", "growler", "zomb", "zomb"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 15;
roomspawn = 1;
time = 30;
stop();
Instance of Symbol 1013 MovieClip "tembokl" in Frame 164
onClipEvent (load) {
_x = (_root.lastpost20 - 1650);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1046 MovieClip "tembokr" in Frame 164
onClipEvent (load) {
_x = (_root.lastpost20 + 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1049 MovieClip "awal" in Frame 164
onClipEvent (load) {
_x = _root.lastpost20;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1051 MovieClip in Frame 164
onClipEvent (load) {
_x = (_root.lastpost20 - 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1053 MovieClip in Frame 164
onClipEvent (load) {
_x = (_root.lastpost20 - 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 587 MovieClip in Frame 164
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 164
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "West wing: 2nd floor, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 168
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 169
daftar = newarray();
daftar = ["terror", "terror", "growlerfall", "zomb"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 50;
roomspawn = 1;
time = 14;
stop();
Instance of Symbol 1013 MovieClip "tembokl" in Frame 169
onClipEvent (load) {
_x = (_root.lastpost21 - 2200);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1043 MovieClip "tembokr" in Frame 169
onClipEvent (load) {
_x = (_root.lastpost21 + 1650);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1056 MovieClip "awal" in Frame 169
onClipEvent (load) {
_x = _root.lastpost21;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 908 MovieClip in Frame 169
onClipEvent (load) {
_x = (_root.lastpost21 + 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1059 MovieClip in Frame 169
onClipEvent (load) {
_x = (_root.lastpost21 + 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 831 MovieClip in Frame 169
onClipEvent (load) {
_x = (_root.lastpost21 - 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1066 MovieClip in Frame 169
onClipEvent (load) {
_x = (_root.lastpost21 - 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 908 MovieClip in Frame 169
onClipEvent (load) {
_x = (_root.lastpost21 - 1650);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 587 MovieClip in Frame 169
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 169
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "West wing: 1st floor, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 173
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 174
daftar = newarray();
daftar = ["bat", "growler", "bat", "bat"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 15;
roomspawn = 1;
time = 220;
stop();
Instance of Symbol 1074 MovieClip in Frame 174
onClipEvent (load) {
_x = (_root.lastpost11 - 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1013 MovieClip "tembokl" in Frame 174
onClipEvent (load) {
_x = (_root.lastpost11 - 1650);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1127 MovieClip in Frame 174
onClipEvent (load) {
_x = (_root.lastpost11 - 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1043 MovieClip "tembokr" in Frame 174
onClipEvent (load) {
_x = (_root.lastpost11 + 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1140 MovieClip in Frame 174
onClipEvent (load) {
_x = _root.lastpost11;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 587 MovieClip in Frame 174
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 174
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "Infirmary, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 178
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 179
daftar = newarray();
daftar = ["bat", "bat", "bat", "bat"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 2;
roomspawn = 1;
time = 100;
stop();
Instance of Symbol 1143 MovieClip "tembokl" in Frame 179
onClipEvent (load) {
_x = (_root.lastpost12 - 2200);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1189 MovieClip in Frame 179
onClipEvent (load) {
_x = (_root.lastpost12 - 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1200 MovieClip in Frame 179
onClipEvent (load) {
_x = (_root.lastpost12 - 1650);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1202 MovieClip "tembokr" in Frame 179
onClipEvent (load) {
_x = _root.lastpost12;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 831 MovieClip in Frame 179
onClipEvent (load) {
_x = (_root.lastpost12 - 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 587 MovieClip in Frame 179
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 179
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "Security Room, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 183
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 184
daftar = newarray();
daftar = ["zomb", "growler", "growler", "bat"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 10;
roomspawn = 1;
time = 60;
stop();
Instance of Symbol 1207 MovieClip in Frame 184
onClipEvent (load) {
_x = _root.lastpost13;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1211 MovieClip "tembokr" in Frame 184
onClipEvent (load) {
_x = (_root.lastpost13 + 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1212 MovieClip "tembokl" in Frame 184
onClipEvent (load) {
_x = (_root.lastpost13 - 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1223 MovieClip in Frame 184
onClipEvent (load) {
_x = (_root.lastpost13 + 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 587 MovieClip in Frame 184
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 184
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "Control room, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 188
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 189
daftar = newarray();
daftar = ["growlerfall", "bat", "growler", "zomb"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 10;
roomspawn = 1;
time = 40;
stop();
Instance of Symbol 1005 MovieClip "tembokl" in Frame 189
onClipEvent (load) {
_x = (_root.lastpost14 - 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1227 MovieClip in Frame 189
onClipEvent (load) {
_x = _root.lastpost14;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1005 MovieClip "tembokr" in Frame 189
onClipEvent (load) {
_x = (_root.lastpost14 + 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1234 MovieClip in Frame 189
onClipEvent (load) {
_x = (_root.lastpost14 + 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 587 MovieClip in Frame 189
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 189
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "Engine room, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 193
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 194
daftar = newarray();
daftar = ["bat", "growler", "growler", "bat"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 50;
roomspawn = 0;
time = 50;
stop();
Instance of Symbol 1237 MovieClip "awal" in Frame 194
onClipEvent (load) {
_x = _root.lastpost15;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1239 MovieClip "tembokr" in Frame 194
onClipEvent (load) {
_x = (_root.lastpost15 + 3300);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1250 MovieClip in Frame 194
onClipEvent (load) {
_x = (_root.lastpost15 + 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1257 MovieClip "point" in Frame 194
onClipEvent (load) {
_x = (_root.lastpost15 + 1100);
_root.friend.tujuan = Math.abs(_root.friend._x - _x);
_root.friend2.tujuan = Math.abs(_root.friend2._x - _x) - 100;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1265 MovieClip in Frame 194
onClipEvent (load) {
_x = (_root.lastpost15 + 1650);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1268 MovieClip in Frame 194
onClipEvent (load) {
_x = (_root.lastpost15 + 2200);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1273 MovieClip in Frame 194
onClipEvent (load) {
_x = (_root.lastpost15 + 2750);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 653 MovieClip "friend" in Frame 194
onClipEvent (load) {
speed = 10;
go = 1;
firego = 0;
waitingtime = 0;
wep.stop();
if (_root.friendsampai6 == 1) {
gotoAndStop (3);
go = 0;
_x = (_root.point._x - 100);
}
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((firetime < 0) && (firego == 1)) {
_root.suarateam();
_root.fireefek.start();
_root.num++;
name = "blaank" + _root.num;
_root.jmltotal++;
duplicateMovieClip (_root.blank, name, _root.jmltotal + 100);
_root[name]._x = _x;
_root[name]._y = _y - 40;
_root[name].launch = random(10);
_root[name].launchx = ((10 + random(10)) * _xscale) / -100;
name = "bullet" + _root.x;
_root.jmltotal++;
_root.jumlah++;
_root.x++;
if (_root.jumlah > 30) {
_root.jumlah = 1;
_root.x = 1;
}
duplicateMovieClip (_root.fire, name, _root.x + 100);
_root[name].speedx = -100 * Math.cos(wep._rotation * (Math.PI/180));
_root[name].speedy = -100 * Math.sin(wep._rotation * (Math.PI/180));
_root[name]._x = _x;
_root[name]._y = _y;
_root[name]._rotation = wep._rotation;
wep.blast._visible = 1;
firetime = random(1);
waitingtime = 20;
firego = 0;
}
firetime--;
if (go == 1) {
waitingtime--;
gotoAndStop(act);
if (((tujuan > 0) && (firego == 0)) && (waitingtime < 0)) {
_x = (_x + speed);
tujuan = tujuan - speed;
act = "run";
} else {
act = "crouch";
}
}
}
Instance of Symbol 653 MovieClip "friend2" in Frame 194
onClipEvent (load) {
speed = 10;
action = 1;
go = 1;
firego = 0;
waitingtime = 0;
wep.stop();
if (_root.friendsampai6 == 1) {
_xscale = -100;
gotoAndStop (3);
go = 0;
_x = _root.point._x;
}
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((firetime < 0) && (firego == 1)) {
_root.suarateam();
_root.fireefek.start();
_root.num++;
name = "blaank" + _root.num;
_root.jmltotal++;
duplicateMovieClip (_root.blank, name, _root.jmltotal + 100);
_root[name]._x = _x;
_root[name]._y = _y - 40;
_root[name].launch = random(10);
_root[name].launchx = ((10 + random(10)) * _xscale) / -100;
name = "bullet" + _root.x;
_root.jmltotal++;
_root.jumlah++;
_root.x++;
if (_root.jumlah > 30) {
_root.jumlah = 1;
_root.x = 1;
}
duplicateMovieClip (_root.fire, name, _root.x + 100);
_root[name].speedx = -100 * Math.cos(wep._rotation * (Math.PI/180));
_root[name].speedy = -100 * Math.sin(wep._rotation * (Math.PI/180));
_root[name]._x = _x;
_root[name]._y = _y;
_root[name]._rotation = wep._rotation;
wep.blast._visible = 1;
firetime = random(1);
waitingtime = 20;
firego = 0;
}
firetime--;
if (go == 1) {
waitingtime--;
gotoAndStop(act);
if ((tujuan < 1) && (action == 1)) {
_xscale = -100;
_root.urutan++;
_root.dialogue();
_root.friendsampai6 = 1;
action = 0;
}
if (((tujuan > 0) && (firego == 0)) && (waitingtime < 0)) {
_x = (_x + speed);
tujuan = tujuan - speed;
act = "run";
} else {
act = "crouch";
}
}
}
Instance of Symbol 833 MovieClip "aim" in Frame 194
onClipEvent (enterFrame) {
_x = ((_root.friend._x + 20) + random(250));
_y = random(300);
n = 0;
while (n < 9) {
namatarget = "enemy" + n;
if (hitTest(_root[namatarget])) {
_root.friend.wep._rotation = ((Math.atan2(_root.friend._y - _y, _root.friend._x - _x) * 180) / Math.PI) - bounce;
_root.friend.firego = 1;
}
n++;
}
}
Instance of Symbol 833 MovieClip "aim2" in Frame 194
onClipEvent (enterFrame) {
_x = ((_root.friend2._x + 20) + random(250));
_y = random(300);
n = 0;
while (n < 9) {
namatarget = "enemy" + n;
if (hitTest(_root[namatarget])) {
_root.friend2.wep._rotation = ((Math.atan2(_root.friend2._y - _y, _root.friend2._x - _x) * 180) / Math.PI) - bounce;
_root.friend2.firego = 1;
}
n++;
}
}
Instance of Symbol 587 MovieClip in Frame 194
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 194
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "Lab 1, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 199
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 200
daftar = newarray();
daftar = ["terror", "terror", "growler", "zomb"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 60;
roomspawn = 1;
time = 15;
stop();
Instance of Symbol 1275 MovieClip "awal" in Frame 200
onClipEvent (load) {
_x = _root.lastpost16;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1282 MovieClip "reactor" in Frame 200
onClipEvent (load) {
_x = (_root.lastpost16 + 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1265 MovieClip in Frame 200
onClipEvent (load) {
_x = (_root.lastpost16 + 1650);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1268 MovieClip in Frame 200
onClipEvent (load) {
_x = (_root.lastpost16 + 2200);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1285 MovieClip in Frame 200
onClipEvent (load) {
_x = (_root.lastpost16 + 2750);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1303 MovieClip in Frame 200
onClipEvent (load) {
_x = (_root.lastpost16 + 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1305 MovieClip "tembokr" in Frame 200
onClipEvent (load) {
_x = (_root.lastpost16 + 3300);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 587 MovieClip in Frame 200
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 200
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "Sub reactor: middle, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 205
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 206
daftar = newarray();
daftar = ["terror", "growler", "zomb", "zomb"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 60;
roomspawn = 1;
time = 15;
stop();
Instance of Symbol 1308 MovieClip "tembokl" in Frame 206
onClipEvent (load) {
_x = (_root.lastpost17 - 2750);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1310 MovieClip in Frame 206
onClipEvent (load) {
_x = (_root.lastpost17 - 1650);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1326 MovieClip in Frame 206
onClipEvent (load) {
_x = (_root.lastpost17 - 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1330 MovieClip in Frame 206
onClipEvent (load) {
_x = (_root.lastpost17 - 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1332 MovieClip "awal" in Frame 206
onClipEvent (load) {
_x = _root.lastpost17;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1333 MovieClip in Frame 206
onClipEvent (load) {
_x = (_root.lastpost17 - 2200);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1305 MovieClip "tembokr" in Frame 206
onClipEvent (load) {
_x = (_root.lastpost17 + 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 587 MovieClip in Frame 206
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 206
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "sub reactor: bottom, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 211
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 212
daftar = newarray();
daftar = ["growler", "growler", "zomb", "growlerfall"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 10;
roomspawn = 1;
time = 80;
stop();
Instance of Symbol 1337 MovieClip in Frame 212
onClipEvent (load) {
_x = _root.lastpost18;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1308 MovieClip "tembokl" in Frame 212
onClipEvent (load) {
_x = (_root.lastpost18 - 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1340 MovieClip in Frame 212
onClipEvent (load) {
_x = (_root.lastpost18 - 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1341 MovieClip "tembokr" in Frame 212
onClipEvent (load) {
_x = (_root.lastpost18 + 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 587 MovieClip in Frame 212
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 212
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "security room, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 217
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 218
daftar = newarray();
daftar = ["terror", "zomb", "growler", "terror"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 30;
time = 20;
if (initbigwar == 1) {
spawnjml = 60;
time = 11;
bigwar = 1;
initbigwar = 0;
}
if (windowswitch == 1) {
roomspawn = 1;
} else {
roomspawn = 0;
}
stop();
Instance of Symbol 641 MovieClip in Frame 218
onClipEvent (load) {
_x = (_root.lastpost19 + 1650);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1345 MovieClip in Frame 218
onClipEvent (load) {
_x = (_root.lastpost17 + 2200);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1347 MovieClip in Frame 218
onClipEvent (load) {
_x = (_root.lastpost19 + 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1347 MovieClip in Frame 218
onClipEvent (load) {
_x = (_root.lastpost19 + 2750);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1350 MovieClip in Frame 218
onClipEvent (load) {
_x = (_root.lastpost19 + 3300);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1352 MovieClip in Frame 218
onClipEvent (load) {
_x = (_root.lastpost19 + 3850);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1354 MovieClip "tembokr" in Frame 218
onClipEvent (load) {
_x = (_root.lastpost19 + 4400);
_root.friend.tujuan = Math.abs(_root.friend._x - _x) - 300;
_root.friend2.tujuan = Math.abs(_root.friend2._x - _x) - 400;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1350 MovieClip in Frame 218
onClipEvent (load) {
_x = (_root.lastpost19 + 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1355 MovieClip "awal" in Frame 218
onClipEvent (load) {
_x = _root.lastpost19;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 653 MovieClip "friend" in Frame 218
onClipEvent (load) {
speed = 10;
go = 0;
firego = 0;
moveable = _root.friendsampai5;
waitingtime = 0;
wep.stop();
_visible = 0;
if (_root.friendsampai5 == 1) {
_visible = 1;
}
}
onClipEvent (enterFrame) {
if (moveable == 1) {
if (hitTest(_root.char.hit) && (go == 0)) {
_root.info = "OK!! let's go!!";
_root.infomc.play();
_root.friend2.go = 1;
go = 1;
}
_x = (_x - _root.mainx);
if ((firetime < 0) && (firego == 1)) {
_root.suarateam();
_root.fireefek.start();
_root.num++;
name = "blaank" + _root.num;
_root.jmltotal++;
duplicateMovieClip (_root.blank, name, _root.jmltotal + 140);
_root[name]._x = _x;
_root[name]._y = _y - 40;
_root[name].launch = random(10);
_root[name].launchx = ((10 + random(10)) * _xscale) / -100;
name = "bullet" + _root.x;
_root.jmltotal++;
_root.jumlah++;
_root.x++;
if (_root.jumlah > 29) {
_root.jumlah = 1;
_root.x = 1;
}
duplicateMovieClip (_root.fire, name, _root.x + 100);
_root[name].speedx = -100 * Math.cos(wep._rotation * (Math.PI/180));
_root[name].speedy = -100 * Math.sin(wep._rotation * (Math.PI/180));
_root[name]._x = _x;
_root[name]._y = _y;
_root[name]._rotation = wep._rotation;
wep.blast._visible = 1;
firetime = random(1);
waitingtime = 20;
firego = 0;
}
firetime--;
if (go == 1) {
waitingtime--;
gotoAndStop(act);
if (((tujuan > 0) && (firego == 0)) && (waitingtime < 0)) {
_x = (_x + speed);
tujuan = tujuan - speed;
act = "run";
} else {
act = "stop";
}
}
}
}
Instance of Symbol 653 MovieClip "friend2" in Frame 218
onClipEvent (load) {
speed = 10;
action = 1;
go = 0;
firego = 0;
waitingtime = 0;
wep.stop();
moveable = _root.friendsampai5;
_visible = 0;
if (_root.friendsampai5 == 1) {
_visible = 1;
}
}
onClipEvent (enterFrame) {
if (moveable == 1) {
_x = (_x - _root.mainx);
if ((firetime < 0) && (firego == 1)) {
_root.suarateam();
_root.fireefek.start();
_root.num++;
name = "blaank" + _root.num;
_root.jmltotal++;
duplicateMovieClip (_root.blank, name, _root.jmltotal + 100);
_root[name]._x = _x;
_root[name]._y = _y - 40;
_root[name].launch = random(10);
_root[name].launchx = ((10 + random(10)) * _xscale) / -100;
name = "bullet" + _root.x;
_root.jmltotal++;
_root.jumlah++;
_root.x++;
if (_root.jumlah > 29) {
_root.jumlah = 1;
_root.x = 1;
}
duplicateMovieClip (_root.fire, name, _root.x + 100);
_root[name].speedx = -100 * Math.cos(wep._rotation * (Math.PI/180));
_root[name].speedy = -100 * Math.sin(wep._rotation * (Math.PI/180));
_root[name]._x = _x;
_root[name]._y = _y;
_root[name]._rotation = wep._rotation;
wep.blast._visible = 1;
firetime = random(1);
waitingtime = 20;
firego = 0;
}
firetime--;
if (go == 1) {
waitingtime--;
gotoAndStop(act);
if ((tujuan < 1) && (action == 1)) {
_root.fence.blok.play();
action = 0;
}
if (((tujuan > 0) && (firego == 0)) && (waitingtime < 0)) {
_x = (_x + speed);
tujuan = tujuan - speed;
act = "run";
} else {
act = "stop";
}
}
}
}
Instance of Symbol 833 MovieClip "aim" in Frame 218
onClipEvent (enterFrame) {
_x = ((_root.friend._x + 20) + random(250));
_y = (100 + random(200));
n = 0;
while (n < 60) {
namatarget = "enemy" + n;
if (hitTest(_root[namatarget]) && (_root[namatarget].hp > 0)) {
_root.friend.wep._rotation = ((Math.atan2(_root.friend._y - _y, _root.friend._x - _x) * 180) / Math.PI) - bounce;
_root.friend.firego = 1;
}
n++;
}
}
Instance of Symbol 833 MovieClip "aim2" in Frame 218
onClipEvent (enterFrame) {
_x = ((_root.friend2._x + 20) + random(250));
_y = (100 + random(200));
n = 0;
while (n < 60) {
namatarget = "enemy" + n;
if (hitTest(_root[namatarget]) && (_root[namatarget].hp > 0)) {
_root.friend2.wep._rotation = ((Math.atan2(_root.friend2._y - _y, _root.friend2._x - _x) * 180) / Math.PI) - bounce;
_root.friend2.firego = 1;
}
n++;
}
}
Instance of Symbol 587 MovieClip in Frame 218
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 218
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "Outside, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 223
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 224
daftar = newarray();
daftar = ["bat", "bat", "bat", "bat"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 9;
roomspawn = 0;
time = 20;
stop();
Instance of Symbol 1358 MovieClip "tembokr" in Frame 224
onClipEvent (load) {
_x = (_root.lastpost22 - 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1361 MovieClip in Frame 224
onClipEvent (load) {
_x = _root.lastpost22;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1393 MovieClip in Frame 224
onClipEvent (load) {
_x = (_root.lastpost22 - 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1341 MovieClip "tembokl" in Frame 224
onClipEvent (load) {
_x = (_root.lastpost22 + 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1388 MovieClip "toiletzombie" in Frame 224
onClipEvent (load) {
_visible = true;
speed = 1 + (math.random() * 2);
head = 1 + random(3);
hp = 1 + Math.Floor(_root.enemhp * 0.1);
ground = 300;
grav = 0;
bouncex = 0;
bouncey = 0;
decay = _root.dectime * 3;
suaramati = "zombiedie" + random(3);
suaramulai = new Sound(_root.sfxmc);
suaramulai.attachSound("moan");
suaramulai.start();
mydie = new Sound(_root.sfxmc);
mydie.attachSound(suaramati);
waitingtime = random(400);
dead = 0;
aksi = 1;
}
onClipEvent (enterFrame) {
if (_visible == true) {
gotoAndStop(aksi);
_x = (_x - (_root.mainx + bouncex));
_y = (_y + (grav - bouncey));
grav++;
bouncex = bouncex * 0.9;
bouncey = bouncey * 0.9;
if (_y > ground) {
_y = ground;
bouncey = 0;
grav = 0;
}
if (dead == 0) {
if (bouncey < 1) {
if (((waitingtime < 1) || (_root.tension > 0.9)) || (Math.abs(_root.char._x - _x) < 300)) {
aksi = 2;
gojalan = 1;
}
if (gojalan == 1) {
if (_root.char._x > _x) {
_x = (_x + speed);
_xscale = 100;
} else {
_x = (_x - speed);
_xscale = -100;
}
}
} else {
gotoAndStop (3);
}
if (atk.hittest(_root.char.hit) && (_root.char.hp > 0)) {
_root.char.hp = _root.char.hp - 1;
_root.hitefek.start();
_root.j++;
_root.jmltotal++;
splatname = "splat" + _root.j;
duplicateMovieClip (_root.splat, splatname, _root.jmltotal + 1800);
_root[splatname]._x = (_root.char._x - 20) + random(40);
_root[splatname]._y = (_root.char._y + 15) - random(30);
_root[splatname].ukuran = 25 + random(25);
_root[splatname]._xscale = ukuran;
_root[splatname]._yscale = ukuran;
_root[splatname]._rotation = random(360);
_root.char.blood._visible = 1;
if (_root.tension < 1) {
_root.tension = _root.tension + 0.3;
}
_root.moveex = _root.moveex + (_xscale / 20);
}
if (((hp < 0) || (_x < -400)) || (_x > 1200)) {
mydie.start();
dead = 1;
}
if (hittest(_root.grenad.hit)) {
_root.hitefek.start();
_root.j++;
_root.jmltotal++;
splatname = "splat" + _root.j;
duplicateMovieClip (_root.splat, splatname, _root.jmltotal + 1800);
_root[splatname]._x = (_x - 5) + random(10);
_root[splatname]._y = (_y - 10) - random(20);
ukuran = 50 + random(50);
_root[splatname]._xscale = ukuran;
_root[splatname]._yscale = ukuran;
_root[splatname]._rotation = random(360);
bouncex = bouncex - (((_x - _root.grenad._x) / 4) * Math.random());
bouncey = bouncey + (5 + random(10));
_root.screen();
hp = hp - (3 + random(2));
blood._visible = 1;
if (_root.tension < 1) {
_root.tension = _root.tension + 0.3;
}
}
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.hitefek.start();
_root.j++;
_root.jmltotal++;
splatname = "splat" + _root.j;
duplicateMovieClip (_root.splat, splatname, _root.jmltotal + 1800);
_root[splatname]._x = (_x - 5) + random(10);
_root[splatname]._y = (_y - 10) - random(20);
ukuran = 50 + random(50);
_root[splatname]._xscale = ukuran;
_root[splatname]._yscale = ukuran;
_root[splatname]._rotation = random(360);
bouncex = bouncex - (_root[bulletname].speedx / 100);
bouncey = bouncey - (_root[bulletname].speedy / 30);
hp--;
if (_root.tension < 1) {
_root.tension = _root.tension + 0.3;
}
blood._visible = 1;
removeMovieClip(_root[bulletname]);
}
a++;
}
} else {
gotoAndStop (4);
if (hittest(_root.grenad.hit)) {
_root.hitefek.start();
_root.j++;
_root.jmltotal++;
splatname = "splat" + _root.j;
duplicateMovieClip (_root.splat, splatname, _root.jmltotal + 1800);
_root[splatname]._x = (_x - 5) + random(10);
_root[splatname]._y = (_y - 10) - random(20);
ukuran = 50 + random(50);
_root[splatname]._xscale = ukuran;
_root[splatname]._yscale = ukuran;
_root[splatname]._rotation = random(360);
_root.screen();
bouncex = bouncex - ((_x - _root.grenad._x) * Math.random());
bouncey = bouncey + (5 + random(10));
}
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hittest(_root[bulletname])) {
_root.hitefek.start();
body.play();
}
a++;
}
if (bouncey < 1) {
aksi = 4;
decay--;
if (decay < 1) {
_alpha = (_alpha-1);
}
if (_alpha < 1) {
_visible = false;
}
} else {
gotoAndStop (5);
n = 0;
while (n < 6) {
_root.jmltotal++;
nama = (n + "bodypart") + _root.jmltotal;
duplicateMovieClip (_root.bpart1, nama, _root.jmltotal + 1);
_root[nama]._x = _x;
_root[nama]._y = (_y - 30) - random(15);
_root[nama].go = 1;
_root[nama].gotoAndStop(1 + n);
_root[nama].speedx = (bouncex / Math.abs(bouncex)) * (15 + random(15));
_root[nama].speedy = 3 + random(15);
n++;
}
_visible = false;
}
}
}
}
Instance of Symbol 587 MovieClip in Frame 224
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 224
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "Toilet, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 229
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 230
daftar = newarray();
daftar = ["zomb", "growlerfall", "growler", "terror"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 50;
if (finalswitch == 0) {
roomspawn = 1;
} else {
_root.red._alpha = 100;
_root.alarm.start(0, 9999);
roomspawn = 0;
}
time = 20;
stop();
Instance of Symbol 1399 MovieClip "awal" in Frame 230
onClipEvent (load) {
_x = _root.lastpost23;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1401 MovieClip in Frame 230
onClipEvent (load) {
_x = (_root.lastpost23 + 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1403 MovieClip in Frame 230
onClipEvent (load) {
_x = (_root.lastpost23 + 1650);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1401 MovieClip in Frame 230
onClipEvent (load) {
_x = (_root.lastpost23 + 2200);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1326 MovieClip "fence" in Frame 230
onClipEvent (load) {
_x = (_root.lastpost23 + 2750);
_root.friend.tujuan = Math.abs(_root.friend._x - _x);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1403 MovieClip in Frame 230
onClipEvent (load) {
_x = (_root.lastpost23 + 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1405 MovieClip "tembokr" in Frame 230
onClipEvent (load) {
_x = (_root.lastpost23 + 3300);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1406 MovieClip in Frame 230
onClipEvent (load) {
_alpha = 0;
if (_root.finalswitch == 1) {
_alpha = 100;
}
}
Instance of Symbol 587 MovieClip in Frame 230
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 230
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "Main reactor Passage, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 235
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 236
daftar = newarray();
daftar = ["bat", "bat", "bat", "bat"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 9;
roomspawn = 0;
time = 20;
stop();
Instance of Symbol 1409 MovieClip "tembokl" in Frame 236
onClipEvent (load) {
_x = _root.lastpost24;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1412 MovieClip in Frame 236
onClipEvent (load) {
_x = (_root.lastpost24 + 1650);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1422 MovieClip in Frame 236
onClipEvent (load) {
_x = (_root.lastpost24 + 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1426 MovieClip in Frame 236
onClipEvent (load) {
_x = (_root.lastpost24 + 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1043 MovieClip "tembokr" in Frame 236
onClipEvent (load) {
_x = (_root.lastpost24 + 2200);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1406 MovieClip "red" in Frame 236
onClipEvent (load) {
_alpha = 0;
if (_root.finalswitch == 1) {
_alpha = 100;
}
}
Instance of Symbol 587 MovieClip in Frame 236
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 236
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "Main reactor, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 241
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 242
daftar = newarray();
daftar = ["zomb", "zomb", "growler", "terror"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 15;
roomspawn = 1;
time = 90;
stop();
Instance of Symbol 1358 MovieClip "tembokl" in Frame 242
onClipEvent (load) {
_x = (_root.lastpost25 - 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1439 MovieClip in Frame 242
onClipEvent (load) {
_x = (_root.lastpost25 + 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1443 MovieClip in Frame 242
onClipEvent (load) {
_x = _root.lastpost25;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1341 MovieClip "tembokr" in Frame 242
onClipEvent (load) {
_x = (_root.lastpost25 + 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 587 MovieClip in Frame 242
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 242
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "Lab Office, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 247
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Frame 248
daftar = newarray();
daftar = ["zomb", "zomb", "growler", "terror"];
screenclear();
spawnenem = 0;
kill = 0;
sttx = _x - 20;
stty = _y;
jmltotal = 0;
playscreen = 1;
spawnjml = 50;
roomspawn = 1;
time = 20;
stop();
Instance of Symbol 1445 MovieClip "tembokr" in Frame 248
onClipEvent (load) {
_x = (_root.lastpost26 + 2200);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1455 MovieClip "reactorxxx" in Frame 248
onClipEvent (load) {
_x = (_root.lastpost26 + 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1458 MovieClip in Frame 248
onClipEvent (load) {
_x = (_root.lastpost26 + 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1460 MovieClip "awal" in Frame 248
onClipEvent (load) {
_x = _root.lastpost26;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1326 MovieClip in Frame 248
onClipEvent (load) {
_x = (_root.lastpost26 + 1650);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1462 MovieClip in Frame 248
onClipEvent (load) {
_x = (_root.lastpost26 - 550);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1465 MovieClip in Frame 248
onClipEvent (load) {
_x = (_root.lastpost26 - 1100);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1013 MovieClip "tembokl" in Frame 248
onClipEvent (load) {
_x = (_root.lastpost26 - 2200);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 1471 MovieClip in Frame 248
onClipEvent (load) {
_x = (_root.lastpost26 - 1650);
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 587 MovieClip in Frame 248
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Instance of Symbol 656 MovieClip in Frame 248
onClipEvent (load) {
ketik = 0;
typespeed = 3 + random(3);
myDate = new Date();
jam = mydate.getHours();
if (jam < 10) {
jam = "0" + jam;
}
menit = mydate.getMinutes();
if (menit < 10) {
menit = "0" + menit;
}
time = (jam + ":") + menit;
area = "Lab : 2nd Floor, " + time;
huruf = length(area);
}
onClipEvent (enterFrame) {
if (ketik < huruf) {
typespeed--;
if (typespeed < 0) {
ketik++;
areaname = substring(area, 0, ketik);
_root.mesintik.start();
typespeed = 3 + random(3);
}
} else {
_alpha = (_alpha-1);
}
}
Frame 253
intros.stop();
alllevel.stop();
removeMovieClip("aimer2");
endmusic = new Sound(musicmc);
endmusic.attachSound("endmusic");
endmusic.start(0, 9999);
playscreen = 0;
Mouse.show();
Frame 254
screenclear();
roomspawn = 0;
Instance of Symbol 408 MovieClip in Frame 254
onClipEvent (enterFrame) {
a = 1;
while (a < 30) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
_root.j++;
splatname = "blast" + _root.j;
_root.jmltotal++;
duplicateMovieClip (_root.blast, splatname, _root.jmltotal + 50);
_root[splatname]._x = _root[bulletname]._x;
_root[splatname]._y = 31;
_root[splatname]._rotation = math.abs(_root[bulletname]._rotation);
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 408 MovieClip in Frame 254
onClipEvent (enterFrame) {
a = 1;
while (a < 30) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
_root.j++;
splatname = "blast" + _root.j;
_root.jmltotal++;
duplicateMovieClip (_root.blast, splatname, _root.jmltotal + 50);
_root[splatname]._x = _root[bulletname]._x;
_root[splatname]._y = 31;
_root[splatname]._rotation = math.abs(_root[bulletname]._rotation);
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 587 MovieClip in Frame 254
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_visible = 0;
}
}
Frame 322
_root.alarm.stop();
Instance of Symbol 408 MovieClip in Frame 322
onClipEvent (enterFrame) {
a = 1;
while (a < 30) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
_root.j++;
splatname = "blast" + _root.j;
_root.jmltotal++;
duplicateMovieClip (_root.blast, splatname, _root.jmltotal + 50);
_root[splatname]._x = _root[bulletname]._x;
_root[splatname]._y = 31;
_root[splatname]._rotation = math.abs(_root[bulletname]._rotation);
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Frame 378
stop();
Frame 379
intros.stop();
alllevel = new Sound(musicmc);
alllevel.attachSound("alllevel");
alllevel.start(0, 9999);
playscreen = 0;
Mouse.show();
removeMovieClip("aimer2");
Frame 380
stop();
Instance of Symbol 1501 MovieClip in Frame 380
onClipEvent (load) {
_x = _root.lastpost2;
}
onClipEvent (enterFrame) {
_x = (_x - _root.mainx);
if ((_x < -320) || (_x > 960)) {
_visible = 0;
} else {
_visible = 1;
}
}
Instance of Symbol 87 MovieClip in Frame 380
onClipEvent (enterFrame) {
_alpha = random(100);
}
Symbol 15 Button
on (release) {
getURL ("http://www.arcadebomb.com", "_blank");
}
Symbol 23 MovieClip Frame 5
explodeFinished();
Symbol 45 MovieClip Frame 31
stop();
Symbol 46 MovieClip Frame 1
_root.stop();
Symbol 46 MovieClip Frame 3
if ((_root.getBytesLoaded() / _root.getBytesTotal()) < 1) {
loaderbar.gotoAndStop(Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100));
gotoAndPlay (2);
}
Symbol 46 MovieClip Frame 140
_root.play();
Symbol 64 MovieClip Frame 1
stop();
Instance of Symbol 59 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
mulai = _x;
speed = 60 + (random(3) * 20);
batas = (mulai + 1000) + (random(5) * 100);
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (_x > batas) {
_parent.gotoAndStop(1 + random(5));
speed = 60 + (random(3) * 20);
batas = (mulai + 1000) + (random(5) * 100);
_x = mulai;
}
}
Instance of Symbol 59 MovieClip in Symbol 64 MovieClip Frame 2
onClipEvent (load) {
mulai = _x;
speed = 60 + (random(3) * 20);
batas = (mulai + 1000) + (random(5) * 100);
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (_x > batas) {
_parent.gotoAndStop(1 + random(5));
speed = 60 + (random(3) * 20);
batas = (mulai + 1000) + (random(5) * 100);
_x = mulai;
}
}
Instance of Symbol 59 MovieClip in Symbol 64 MovieClip Frame 3
onClipEvent (load) {
mulai = _x;
speed = 60 + (random(3) * 20);
batas = (mulai + 1000) + (random(5) * 100);
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (_x > batas) {
_parent.gotoAndStop(1 + random(5));
speed = 60 + (random(3) * 20);
batas = (mulai + 1000) + (random(5) * 100);
_x = mulai;
}
}
Instance of Symbol 59 MovieClip in Symbol 64 MovieClip Frame 4
onClipEvent (load) {
mulai = _x;
speed = 60 + (random(3) * 20);
batas = (mulai + 1000) + (random(5) * 100);
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (_x > batas) {
_parent.gotoAndStop(1 + random(5));
speed = 60 + (random(3) * 20);
batas = (mulai + 1000) + (random(5) * 100);
_x = mulai;
}
}
Instance of Symbol 59 MovieClip in Symbol 64 MovieClip Frame 5
onClipEvent (load) {
mulai = _x;
speed = 60 + (random(3) * 20);
batas = (mulai + 1000) + (random(5) * 100);
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (_x > batas) {
_parent.gotoAndStop(1 + random(5));
speed = 60 + (random(3) * 20);
batas = (mulai + 1000) + (random(5) * 100);
_x = mulai;
}
}
Symbol 76 MovieClip Frame 39
explodeFinished();
Symbol 83 Button
on (release) {
getURL ("http://www.arcadebomb.com/free_website_games.html", "_blank");
}
Instance of Symbol 87 MovieClip in Symbol 88 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = ((_root.char.hp * 0.9) + random(math.floor(_root.char.hp / 0.1)));
}
Symbol 101 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 12
stop();
Symbol 130 MovieClip Frame 92
stop();
Symbol 132 Button
on (release) {
gotoAndStop ("intro");
}
Symbol 134 Button
on (release) {
gotoAndStop ("ins");
}
Symbol 136 Button
on (release) {
gotoAndStop ("option");
}
Symbol 138 Button
on (release) {
gotoAndStop ("credit");
}
Symbol 140 Button
on (release) {
getURL ("http://www.arcadebomb.com", "_blank");
}
Symbol 154 Button
on (release) {
gotoAndStop ("mainmenu");
}
Instance of Symbol 178 MovieClip in Symbol 181 MovieClip Frame 1
onClipEvent (load) {
_xscale = 0;
}
onClipEvent (enterFrame) {
_xscale = ((100 * (12 + _parent.nilai)) / 24);
}
Instance of Symbol 179 MovieClip "pointbar" in Symbol 181 MovieClip Frame 1
onClipEvent (load) {
_x = (_parent.nilai * 12);
}
onClipEvent (mouseDown) {
if ((((_root._xmouse > (_parent._x - 150)) && (_root._xmouse < (_parent._x + 150))) && (_root._ymouse > (_parent._y + _y))) && (_root._ymouse < ((_parent._y + _y) + 26))) {
_parent.nilai = start + math.ceil((_root._xmouse - _parent._x) / 12);
_x = (math.ceil((_root._xmouse - _parent._x) / 12) * 12);
}
}
Symbol 185 Button
on (release) {
gotoAndStop ("option2");
}
Symbol 196 Button
on (release) {
_root.play();
}
Symbol 214 MovieClip Frame 43
stop();
Symbol 217 MovieClip Frame 6
removeMovieClip(this);
Symbol 224 MovieClip Frame 1
stop();
Symbol 224 MovieClip Frame 12
stop();
Symbol 233 MovieClip Frame 6
removeMovieClip(this);
Symbol 245 MovieClip Frame 1
stop();
Symbol 245 MovieClip Frame 21
stop();
Symbol 259 MovieClip Frame 1
stop();
Instance of Symbol 251 MovieClip in Symbol 259 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.info = "There's objects that can be destroyed by shooting at it";
_root.infomc.play();
_root.movex = -2;
_root.moveex = -2;
}
}
Instance of Symbol 251 MovieClip in Symbol 259 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.movex = 2;
_root.moveex = 2;
}
}
Symbol 259 MovieClip Frame 16
stop();
Instance of Symbol 224 MovieClip in Symbol 265 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 30) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 245 MovieClip in Symbol 265 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 245 MovieClip in Symbol 265 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 245 MovieClip in Symbol 265 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 259 MovieClip in Symbol 265 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
play();
_root.ricmetal.start();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 264 MovieClip in Symbol 265 MovieClip Frame 1
onClipEvent (load) {
if (_root.magz1 == 1) {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.char) && (_root.magz1 == 0)) {
_root.info = "Extra magazine: press [E] to pick up item";
_root.infomc.play();
if (key.isDown(69)) {
_root.ammoupgrade = _root.ammoupgrade + 5;
_root.reload.start();
_visible = 0;
_root.magz1 = 1;
}
}
}
Symbol 271 MovieClip Frame 1
stop();
Symbol 271 MovieClip Frame 12
stop();
Instance of Symbol 271 MovieClip in Symbol 273 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 30) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
_root.j++;
splatname = "blast" + _root.j;
_root.jmltotal++;
duplicateMovieClip (_root.blast, splatname, _root.jmltotal + 50);
_root[splatname]._x = _root[bulletname]._x;
_root[splatname]._y = 31;
_root[splatname]._rotation = math.abs(_root[bulletname]._rotation);
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Symbol 285 MovieClip Frame 1
stop();
if (_root.fenceclosed == 1) {
gotoAndStop ("akhir");
}
Instance of Symbol 251 MovieClip in Symbol 285 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.movex = -2;
_root.moveex = -2;
}
}
Symbol 285 MovieClip Frame 20
stop();
_root.fenceclosed = 1;
_root.friendsampai = 1;
_root.friend.tujuan = _root.friend.tujuan + 300;
_root.friend2.tujuan = _root.friend2.tujuan + 250;
Instance of Symbol 271 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
_root.j++;
splatname = "blast" + _root.j;
_root.jmltotal++;
duplicateMovieClip (_root.blast, splatname, _root.jmltotal + 50);
_root[splatname]._x = _root[bulletname]._x;
_root[splatname]._y = 31;
_root[splatname]._rotation = Math.abs(_root[bulletname]._rotation);
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 245 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 245 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 251 MovieClip in Symbol 292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char)) {
_root.lastpost1 = _parent._x + 200;
_root.lastpost2 = -150;
_root.playscreen = 0;
_root.gotoAndPlay("bridge");
}
}
Instance of Symbol 224 MovieClip in Symbol 292 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Symbol 305 MovieClip Frame 289
stop();
Symbol 311 MovieClip Frame 376
stop();
Symbol 315 Button
on (release) {
gotoAndStop ("option");
}
Symbol 320 MovieClip Frame 1
stop();
Instance of Symbol 181 MovieClip in Symbol 320 MovieClip Frame 11
onClipEvent (load) {
layar = newarray();
layar = ["LOW", "MEDIUM", "HIGH", "BEST"];
nilai = math.floor(_root.qual / 4.2) - 12;
}
onClipEvent (enterFrame) {
_root.qual = (12 + nilai) * 4.2;
_quality = layar[math.ceil(_root.qual / 35)];
}
Instance of Symbol 181 MovieClip in Symbol 320 MovieClip Frame 11
onClipEvent (load) {
nilai = math.floor(_root.sfxvol / 4.2) - 12;
}
onClipEvent (enterFrame) {
_root.sfxvol = (12 + nilai) * 4.2;
_root.doorlock.setVolume(_root.sfxvol);
}
Instance of Symbol 181 MovieClip in Symbol 320 MovieClip Frame 11
onClipEvent (load) {
nilai = math.floor(_root.vol / 4.2) - 12;
}
onClipEvent (enterFrame) {
_root.vol = (12 + nilai) * 4.2;
_root.intros.setVolume(_root.vol);
}
Instance of Symbol 181 MovieClip in Symbol 320 MovieClip Frame 26
onClipEvent (load) {
nilai = math.floor(_root.dectime / 4.2) - 12;
}
onClipEvent (enterFrame) {
_root.dectime = (12 + nilai) * 4.2;
}
Instance of Symbol 181 MovieClip in Symbol 320 MovieClip Frame 26
onClipEvent (load) {
nilai = math.floor(_root.bloodfade / 4.2) - 12;
}
onClipEvent (enterFrame) {
_root.bloodfade = (12 + nilai) * 4.2;
}
Instance of Symbol 181 MovieClip in Symbol 320 MovieClip Frame 26
onClipEvent (load) {
nilai = math.floor(_root.enemhp / 4.2) - 12;
}
onClipEvent (enterFrame) {
_root.enemhp = (12 + nilai) * 4.2;
}
Symbol 328 MovieClip Frame 1
battle.onSoundComplete = function () {
battle.start();
};
Symbol 378 MovieClip Frame 1
stop();
battle.onSoundComplete = function () {
battle.start();
};
Symbol 431 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
_alpha = (_alpha - 5);
_x = (_x + speedx);
_y = (_y + speedy);
if ((_x > 640) || (_x < 0)) {
removeMovieClip(this);
}
if (_y > 300) {
_local1.ricmetal.start();
_local1.j++;
splatname = "blast" + _local1.j;
_local1.jmltotal++;
duplicateMovieClip (_local1.blast, splatname, _local1.jmltotal + 50);
_local1[splatname]._x = _x;
_local1[splatname]._y = 300;
_local1[splatname]._rotation = Math.abs(_rotation) * -1;
removeMovieClip(this);
}
};
Symbol 439 MovieClip Frame 1
gotoAndStop(_parent._parent.head);
Symbol 449 MovieClip Frame 4
_visible = 0;
Symbol 452 MovieClip Frame 1
stop();
Instance of Symbol 459 MovieClip "blast" in Symbol 460 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (_visible == 1) {
_parent.gun.play();
_visible = 0;
} else {
_visible = 0;
}
}
Symbol 482 MovieClip Frame 7
stop();
Symbol 483 MovieClip Frame 9
stop();
Symbol 483 MovieClip Frame 13
gotoAndStop (9);
Symbol 488 MovieClip Frame 10
stop();
Symbol 488 MovieClip Frame 13
gotoAndStop (10);
Symbol 490 MovieClip Frame 4
stop();
_parent._alpha = 0;
Symbol 491 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (_local1.playscreen == 0) {
removeMovieClip(_local2);
}
if (go == 1) {
_x = (_x - (_local1.mainx + bouncex));
_y = (_y + (grav - bouncey));
grav++;
bouncex = bouncex * 0.9;
bouncey = bouncey * 0.9;
if (_y > ground) {
_y = ground;
bouncey = 0;
grav = 0;
}
if (dead == 0) {
bounce = bounce * 0.9;
gotoAndStop(act);
if (((waitingtime < 1) || (_local1.tension > 0.9)) || (Math.abs(_local1.char._x - _x) < 300)) {
gotoAndStop (2);
gojalan = 1;
}
if (firetime < 0) {
_local1[wepsound].start();
_local1.num++;
name = "blaank" + _local1.num;
_local1.jmltotal++;
duplicateMovieClip (_local1.blank, name, _local1.jmltotal);
_local1[name]._x = _x;
_local1[name]._y = _y - 40;
_local1[name].launch = random(10);
_local1[name].launchx = ((10 + random(10)) * _xscale) / -100;
_local1.num++;
name = "enemfire" + _local1.num;
_local1.jmltotal++;
duplicateMovieClip (_local1.enemfire, name, _local1.jmltotal + 5);
aim = ((Math.atan2((_local1.char._y - _y) + 20, _local1.char._x - _x) * 180) / Math.PI) - bounce;
_local1[name].speedx = 100 * Math.cos(aim * (Math.PI/180));
_local1[name].speedy = 100 * Math.sin(aim * (Math.PI/180));
_local1[name]._x = _x;
_local1[name]._y = _y - 30;
_local1[name]._rotation = aim;
_local1[name].damage = damage;
wep.blast._visible = 1;
bounce = jeda + 5;
firetime = jeda + random(5);
} else if ((_x > 0) && (_x < 640)) {
firetime--;
}
if (gojalan == 1) {
if (_x > _local1.char._x) {
wep._rotation = ((Math.atan2((_local1.char._y - _y) + 20, _local1.char._x - _x) * -180) / Math.PI) - bounce;
_xscale = -100;
wep._yscale = 100;
wep._xscale = 100;
} else {
wep._rotation = ((Math.atan2((_local1.char._y - _y) + 20, _local1.char._x - _x) * 180) / Math.PI) - bounce;
_xscale = 100;
wep._yscale = -100;
wep._xscale = -100;
}
if (bouncey < 1) {
if (_x > (tujuan + 5)) {
_x = (_x - speed);
act = "run";
} else if (_x < (tujuan - 5)) {
_x = (_x + speed);
act = "run";
} else {
act = "stop";
}
} else {
firetime = jeda + random(5);
gotoAndStop (3);
}
}
if (hittest(_local1.grenad.hit)) {
_local1.hitefek.start();
_local1.j++;
_local1.jmltotal++;
splatname = "splat" + _local1.j;
duplicateMovieClip (_local1.splat, splatname, _local1.jmltotal + 1800);
_local1[splatname]._x = (_x - 5) + random(10);
_local1[splatname]._y = (_y - 10) - random(20);
ukuran = 50 + random(50);
_local1[splatname]._xscale = ukuran;
_local1[splatname]._yscale = ukuran;
_local1[splatname]._rotation = random(360);
bouncex = bouncex - (((_x - _local1.grenad._x) / 4) * Math.random());
bouncey = bouncey + (5 + random(10));
_local1.screen();
hp = hp - (2 + random(2));
blood._visible = 1;
if (_local1.tension < 1) {
_local1.tension = _local1.tension + 0.3;
}
}
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_local1[bulletname])) {
_local1.hitefek.start();
_local1.j++;
_local1.jmltotal++;
splatname = "splat" + _local1.j;
duplicateMovieClip (_local1.splat, splatname, _local1.jmltotal + 1800);
_local1[splatname]._x = (_x - 5) + random(10);
_local1[splatname]._y = (_y - 10) - random(20);
ukuran = 50 + random(50);
_local1[splatname]._xscale = ukuran;
_local1[splatname]._yscale = ukuran;
_local1[splatname]._rotation = random(360);
bouncex = bouncex - (_local1[bulletname].speedx / 100);
bouncey = bouncey - (_local1[bulletname].speedy / 30);
hp--;
if (_local1.tension < 1) {
_local1.tension = _local1.tension + 0.3;
}
blood._visible = 1;
removeMovieClip(_local1[bulletname]);
}
a++;
}
if (((hp < 0) || (_x < -400)) || (_x > 1200)) {
if (hp < 1) {
mydie.start();
}
tim = 5;
dead = 1;
}
} else {
if ((_x < -400) || (_x > 1200)) {
_local1.kill++;
removeMovieClip(_local2);
}
if (hittest(_local1.grenad.hit)) {
_local1.hitefek.start();
_local1.j++;
_local1.jmltotal++;
splatname = "splat" + _local1.j;
duplicateMovieClip (_local1.splat, splatname, _local1.jmltotal + 2000);
_local1[splatname]._x = (_x - 5) + random(10);
_local1[splatname]._y = (_y - 10) - random(20);
ukuran = 50 + random(50);
_local1[splatname]._xscale = ukuran;
_local1[splatname]._yscale = ukuran;
_local1[splatname]._rotation = random(360);
_local1.screen();
bouncex = bouncex - ((_x - _local1.grenad._x) * Math.random());
bouncey = bouncey + (5 + random(10));
}
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hittest(_local1[bulletname])) {
_local1.hitefek.start();
body.play();
}
a++;
}
if (bouncey < 1) {
gotoAndStop(groundead);
decay--;
if (decay < 0) {
_alpha = (_alpha - 2);
}
if (_alpha < 1) {
_local1.kill++;
if (suaraplay == 0) {
_local1.suara();
}
removeMovieClip(_local2);
}
} else {
gotoAndStop (6);
n = 0;
while (n < 6) {
_local1.jmltotal++;
nama = (n + "bodypart") + _local1.jmltotal;
duplicateMovieClip (_local1.bpart1, nama, _local1.jmltotal + 1);
_local1[nama]._x = _x;
_local1[nama]._y = (_y - 30) - random(15);
_local1[nama].go = 1;
_local1[nama].head = head;
_local1[nama].gotoAndStop(1 + n);
_local1[nama].speedx = (bouncex / Math.abs(bouncex)) * (15 + random(15));
_local1[nama].speedy = 3 + random(15);
n++;
}
if (suaraplay == 0) {
_local1.suara();
}
_local1.kill++;
removeMovieClip(_local2);
}
}
} else {
_visible = 0;
}
};
stop();
Instance of Symbol 449 MovieClip "blood" in Symbol 491 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Symbol 509 MovieClip Frame 9
stop();
Symbol 509 MovieClip Frame 13
gotoAndStop (9);
Symbol 512 MovieClip Frame 10
stop();
Symbol 512 MovieClip Frame 13
gotoAndStop (10);
Symbol 513 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (_local1.playscreen == 0) {
removeMovieClip(_local2);
}
if (go == 1) {
_x = (_x - (_local1.mainx + bouncex));
_y = (_y + (grav - bouncey));
grav++;
bouncex = bouncex * 0.9;
bouncey = bouncey * 0.9;
if (_y > ground) {
_y = ground;
bouncey = 0;
grav = 0;
}
if (dead == 0) {
if (bouncey < 1) {
if (((waitingtime < 1) || (_local1.tension > 0.9)) || (Math.abs(_local1.char._x - _x) < 300)) {
gotoAndStop (2);
gojalan = 1;
}
if (gojalan == 1) {
if (_local1.char._x > _x) {
_x = (_x + speed);
_xscale = 100;
} else {
_x = (_x - speed);
_xscale = -100;
}
}
} else {
gotoAndStop (3);
}
if (atk.hittest(_local1.char.hit) && (_local1.char.hp > 0)) {
_local1.char.hp = _local1.char.hp - (3 + random(3));
_local1.hitefek.start();
_local1.wounded();
_local1.j++;
_local1.jmltotal++;
splatname = "splat" + _local1.j;
duplicateMovieClip (_local1.splat, splatname, _local1.jmltotal + 1800);
_local1[splatname]._x = (_local1.char._x - 20) + random(40);
_local1[splatname]._y = (_local1.char._y + 15) - random(30);
_local1[splatname].ukuran = 25 + random(25);
_local1[splatname]._xscale = ukuran;
_local1[splatname]._yscale = ukuran;
_local1[splatname]._rotation = random(360);
_local1.char.blood._visible = 1;
if (_local1.tension < 1) {
_local1.tension = _local1.tension + 0.3;
}
_local1.moveex = _local1.moveex + (_xscale / 20);
}
if (((hp < 0) || (_x < -400)) || (_x > 1200)) {
if (hp < 0) {
mydie.start();
}
dead = 1;
}
if (hittest(_local1.grenad.hit)) {
_local1.hitefek.start();
_local1.j++;
_local1.jmltotal++;
splatname = "splat" + _local1.j;
duplicateMovieClip (_local1.splat, splatname, _local1.jmltotal + 1800);
_local1[splatname]._x = (_x - 5) + random(10);
_local1[splatname]._y = (_y - 10) - random(20);
ukuran = 50 + random(50);
_local1[splatname]._xscale = ukuran;
_local1[splatname]._yscale = ukuran;
_local1[splatname]._rotation = random(360);
bouncex = bouncex - (((_x - _local1.grenad._x) / 4) * Math.random());
bouncey = bouncey + (5 + random(10));
_local1.screen();
hp = hp - (2 + random(2));
blood._visible = 1;
if (_local1.tension < 1) {
_local1.tension = _local1.tension + 0.3;
}
}
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_local1[bulletname])) {
_local1.hitefek.start();
_local1.j++;
_local1.jmltotal++;
splatname = "splat" + _local1.j;
duplicateMovieClip (_local1.splat, splatname, _local1.jmltotal + 1800);
_local1[splatname]._x = (_x - 5) + random(10);
_local1[splatname]._y = (_y - 10) - random(20);
ukuran = 50 + random(50);
_local1[splatname]._xscale = ukuran;
_local1[splatname]._yscale = ukuran;
_local1[splatname]._rotation = random(360);
bouncex = bouncex - (_local1[bulletname].speedx / 100);
bouncey = bouncey - (_local1[bulletname].speedy / 30);
hp--;
if (_local1.tension < 1) {
_local1.tension = _local1.tension + 0.3;
}
blood._visible = 1;
removeMovieClip(_local1[bulletname]);
}
a++;
}
} else {
if ((_x < -400) || (_x > 1200)) {
_local1.kill++;
removeMovieClip(_local2);
}
if (hittest(_local1.grenad.hit)) {
_local1.hitefek.start();
_local1.j++;
_local1.jmltotal++;
splatname = "splat" + _local1.j;
duplicateMovieClip (_local1.splat, splatname, _local1.jmltotal + 2000);
_local1[splatname]._x = (_x - 5) + random(10);
_local1[splatname]._y = (_y - 10) - random(20);
ukuran = 50 + random(50);
_local1[splatname]._xscale = ukuran;
_local1[splatname]._yscale = ukuran;
_local1[splatname]._rotation = random(360);
_local1.screen();
bouncex = bouncex - ((_x - _local1.grenad._x) * Math.random());
bouncey = bouncey + (5 + random(10));
}
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hittest(_local1[bulletname])) {
_local1.hitefek.start();
body.play();
}
a++;
}
if (bouncey < 1) {
gotoAndStop(groundead);
decay--;
if (decay < 0) {
_alpha = (_alpha - 2);
}
if (_alpha < 1) {
_local1.kill++;
if (suaraplay == 0) {
_local1.suara();
}
removeMovieClip(_local2);
}
} else {
gotoAndStop (6);
n = 0;
while (n < 6) {
_local1.jmltotal++;
nama = (n + "bodypart") + _local1.jmltotal;
duplicateMovieClip (_local1.bpart1, nama, _local1.jmltotal + 1);
_local1[nama]._x = _x;
_local1[nama]._y = (_y - 30) - random(15);
_local1[nama].go = 1;
_local1[nama].head = head;
_local1[nama].gotoAndStop(1 + n);
_local1[nama].speedx = (bouncex / Math.abs(bouncex)) * (15 + random(15));
_local1[nama].speedy = 3 + random(15);
n++;
}
_local1.kill++;
if (suaraplay == 0) {
_local1.suara();
}
removeMovieClip(_local2);
}
}
}
};
stop();
Instance of Symbol 449 MovieClip "blood" in Symbol 513 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 500 MovieClip in Symbol 513 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 513 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 513 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Symbol 517 MovieClip Frame 1
stop();
Symbol 517 MovieClip Frame 3
_root.screen();
Symbol 517 MovieClip Frame 4
_root.screen();
Symbol 519 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
_alpha = (_alpha - 5);
_x = (_x + speedx);
_y = (_y + speedy);
if ((_x > 640) || (_x < 0)) {
removeMovieClip(_local2);
}
if (_y > 300) {
_local1.ricmetal.start();
_local1.j++;
splatname = "blast" + _local1.j;
_local1.jmltotal++;
duplicateMovieClip (_local1.blast, splatname, _local1.jmltotal + 50);
_local1[splatname]._x = _x;
_local1[splatname]._y = 300;
_local1[splatname]._rotation = Math.abs(_rotation) * -1;
removeMovieClip(_local2);
}
if (_local2.hittest(_local1.char.hit)) {
_local1.wounded();
_local1.hitefek.start();
_local1.j++;
_local1.jmltotal++;
splatname = "splat" + _local1.j;
duplicateMovieClip (_local1.splat, splatname, _local1.jmltotal + 500);
_local1[splatname]._x = (_x - 10) + random(20);
_local1[splatname]._y = (_y + 15) - random(30);
ukuran = 20 + random(50);
_local1[splatname]._xscale = ukuran;
_local1[splatname]._yscale = ukuran;
_local1[splatname]._rotation = random(360);
if (_local1.char.hp < damage) {
_local1.char.hp = 0;
} else {
_local1.char.hp = _local1.char.hp - damage;
}
if (_local1.tension < 1) {
_local1.tension = _local1.tension + 0.3;
}
_local1.char.blood._visible = 1;
removeMovieClip(_local2);
}
};
Symbol 526 MovieClip Frame 16
stop();
Symbol 534 MovieClip Frame 11
stop();
Symbol 535 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
var _local1 = _root;
_y = (_y - (jumppower - grav));
jumppower = jumppower * 0.9;
grav++;
gotoAndStop(aksi);
_local1.moveex = _local1.moveex * 0.9;
if (_y > start) {
_y = start;
grav = 0;
jumppower = 0;
jump = 1;
}
if (dead == 0) {
_local1.mainx = _local1.movex + _local1.moveex;
if (_local1._xmouse > _x) {
_xscale = 100;
} else if (_local1._xmouse < _x) {
_xscale = -100;
}
if (hp < 1) {
if (_local1.woundgo == 1) {
_local1.hurt.start();
_local1.woundgo = 0;
}
dead = 1;
}
if (key.isdown(87) && (jump == 1)) {
aksi = 4;
jumppower = jumppower + 30;
jump = 0;
}
if (key.isdown(68) && (!key.isdown(65))) {
_local1.crouch = 0;
if (_xscale > 0) {
_local1.movex = speed;
} else {
_local1.movex = speed / 2;
}
if (jump == 1) {
aksi = 3;
}
} else if ((!key.isdown(68)) && (key.isdown(65))) {
_local1.crouch = 0;
if (_xscale > 0) {
_local1.movex = (-speed) / 2;
} else {
_local1.movex = -speed;
}
if (jump == 1) {
aksi = 3;
}
} else if (((jump == 1) && (!key.isdown(68))) && (!key.isdown(65))) {
_local1.movex = 0;
if (key.isdown(83)) {
_local1.crouch = 20;
aksi = 2;
} else {
_local1.crouch = 0;
aksi = 1;
}
}
} else {
_local1.mainx = 0;
aksi = 5;
_local1.rifle._visible = 0;
_local1.fireallow = 0;
_alpha = (_alpha - 5);
if (_alpha < 5) {
_local1.pertama = 0;
delete _local1.onEnterFrame;
_local1.gotoandPlay("gameover");
}
}
};
Instance of Symbol 449 MovieClip "blood" in Symbol 535 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
_visible = 0;
}
Symbol 535 MovieClip Frame 5
stop();
Symbol 537 Button
on (keyPress "l") {
if (laser == 0) {
laser = 1;
} else {
laser = 0;
}
}
Symbol 539 MovieClip Frame 1
stop();
Instance of Symbol 103 MovieClip "infra" in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
lineStyle(1, 16711680, 50);
moveTo(_x, _y + 10);
lineTo(_x + 1000, _y + 10);
if (_parent.laser == 1) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_parent.laser == 1) {
_visible = 1;
} else {
_visible = 0;
}
}
Instance of Symbol 459 MovieClip "blast" in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
_visible = 0;
}
Symbol 545 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
if (_local1.playscreen == 0) {
removeMovieClip(this);
}
if (go == 1) {
_x = (_x - _local1.mainx);
if (dead == 0) {
if (math.abs(_local1.char._x - _x) < 300) {
_y = (_y + ((_local1.char._y - _y) / 10));
}
if (_local1.char._x > _x) {
_x = (_x + speed);
_xscale = -100;
} else {
_x = (_x - speed);
_xscale = 100;
}
if (hittest(_local1.char) && (_local1.char.hp > 0)) {
_local1.char.hp = _local1.char.hp - (3 + random(3));
_local1.hitefek.start();
_local1.j++;
_local1.jmltotal++;
splatname = "splat" + _local1.j;
duplicateMovieClip (_local1.splat, splatname, _local1.jmltotal + 500);
_local1[splatname]._x = (_local1.char._x - 20) + random(40);
_local1[splatname]._y = (_local1.char._y + 15) - random(30);
_local1[splatname].ukuran = 25 + random(25);
_local1[splatname]._xscale = ukuran;
_local1[splatname]._yscale = ukuran;
_local1[splatname]._rotation = random(360);
_local1.char.blood._visible = 1;
if (_local1.tension < 1) {
_local1.tension = _local1.tension + 0.3;
}
dead = 1;
}
if (((hp < 0) || (_x < -500)) || (_x > 1200)) {
dead = 1;
}
if (hittest(_local1.grenad.hit)) {
_local1.hitefek.start();
_local1.j++;
_local1.jmltotal++;
splatname = "splat" + _local1.j;
duplicateMovieClip (_local1.splat, splatname, _local1.jmltotal + 1800);
_local1[splatname]._x = (_x - 5) + random(10);
_local1[splatname]._y = (_y - 10) - random(20);
ukuran = 50 + random(50);
_local1[splatname]._xscale = ukuran;
_local1[splatname]._yscale = ukuran;
_local1[splatname]._rotation = random(360);
_local1.screen();
hp = hp - (2 + random(2));
if (_local1.tension < 1) {
_local1.tension = _local1.tension + 0.3;
}
}
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hittest(_local1[bulletname])) {
_local1.hitefek.start();
_local1.j++;
_local1.jmltotal++;
splatname = "splat" + _local1.j;
duplicateMovieClip (_local1.splat, splatname, _local1.jmltotal + 500);
_local1[splatname]._x = (_x - 30) + random(60);
_local1[splatname]._y = _y - random(60);
ukuran = 50 + random(50);
_local1[splatname]._xscale = ukuran;
_local1[splatname]._yscale = ukuran;
_local1[splatname]._rotation = random(360);
hp = hp - 4;
if (_local1.tension < 1) {
_local1.tension = _local1.tension + 0.3;
}
removeMovieClip(_local1[bulletname]);
}
a++;
}
} else {
_local1.kill++;
removeMovieClip(this);
}
}
};
Symbol 548 MovieClip Frame 1
stop();
Symbol 554 MovieClip Frame 1
gotoAndStop(_parent.head);
Symbol 565 MovieClip Frame 1
stop();
Symbol 575 MovieClip Frame 7
if (_parent._xscale == 100) {
_parent.speed = _parent.speed - 2;
} else {
_parent.speed = _parent.speed + 4;
}
Symbol 576 MovieClip Frame 5
stop();
Symbol 576 MovieClip Frame 8
gotoAndStop (5);
Symbol 582 MovieClip Frame 6
stop();
Symbol 582 MovieClip Frame 10
gotoAndStop (6);
Symbol 583 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (_local1.playscreen == 0) {
removeMovieClip(_local2);
}
if (go == 1) {
_x = (_x - ((_local1.mainx + bouncex) + speed));
_y = (_y + (grav - bouncey));
speed = speed * 0.7;
grav++;
bouncex = bouncex * 0.9;
bouncey = bouncey * 0.9;
if (_y > ground) {
_y = ground;
bouncey = 0;
grav = 0;
}
waitingtime--;
if (dead == 0) {
if (Math.abs(_x - _local1.char._x) < 150) {
gotoAndStop (1);
body.play();
} else {
if (((waitingtime < 1) || (_local1.tension > 0.9)) || (Math.abs(_local1.char._x - _x) < 300)) {
gotoAndStop (2);
gojalan = 1;
}
if (gojalan == 1) {
if (_local1.char._x > _x) {
_xscale = 100;
} else {
_xscale = -100;
}
}
}
if (body.atk.hittest(_local1.char.hit) && (_local1.char.hp > 0)) {
_local1.char.hp = _local1.char.hp - (5 + random(5));
_local1.hitefek.start();
_local1.wounded();
_local1.j++;
_local1.jmltotal++;
splatname = "splat" + _local1.j;
duplicateMovieClip (_local1.splat, splatname, _local1.jmltotal + 1800);
_local1[splatname]._x = (_local1.char._x - 20) + random(40);
_local1[splatname]._y = (_local1.char._y + 15) - random(30);
_local1[splatname].ukuran = 25 + random(25);
_local1[splatname]._xscale = ukuran;
_local1[splatname]._yscale = ukuran;
_local1[splatname]._rotation = random(360);
_local1.char.blood._visible = 1;
if (_local1.tension < 1) {
_local1.tension = _local1.tension + 0.3;
}
_local1.moveex = _local1.moveex + (_xscale / 20);
}
if (((hp < 1) || (_x < -400)) || (_x > 1200)) {
if (hp < 1) {
mydie.start();
}
dead = 1;
}
if (hittest(_local1.grenad.hit)) {
_local1.hitefek.start();
_local1.j++;
_local1.jmltotal++;
splatname = "splat" + _local1.j;
duplicateMovieClip (_local1.splat, splatname, _local1.jmltotal + 1800);
_local1[splatname]._x = (_x - 5) + random(10);
_local1[splatname]._y = (_y - 10) - random(20);
ukuran = 50 + random(50);
_local1[splatname]._xscale = ukuran;
_local1[splatname]._yscale = ukuran;
_local1[splatname]._rotation = random(360);
bouncex = bouncex - ((_x - _local1.grenad._x) * Math.random());
bouncey = bouncey + (5 + random(10));
_local1.screen();
hp = 0;
blood._visible = 1;
if (_local1.tension < 1) {
_local1.tension = _local1.tension + 0.3;
}
}
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_local1[bulletname])) {
_local1.hitefek.start();
_local1.j++;
_local1.jmltotal++;
splatname = "splat" + _local1.j;
duplicateMovieClip (_local1.splat, splatname, _local1.jmltotal + 2000);
_local1[splatname]._x = (_x - 5) + random(10);
_local1[splatname]._y = (_y - 10) - random(20);
ukuran = 50 + random(50);
_local1[splatname]._xscale = ukuran;
_local1[splatname]._yscale = ukuran;
_local1[splatname]._rotation = random(360);
hp--;
if (_local1.tension < 1) {
_local1.tension = _local1.tension + 0.3;
}
blood._visible = 1;
removeMovieClip(_local1[bulletname]);
}
a++;
}
} else {
if (hittest(_local1.grenad.hit)) {
_local1.hitefek.start();
_local1.j++;
_local1.jmltotal++;
splatname = "splat" + _local1.j;
duplicateMovieClip (_local1.splat, splatname, _local1.jmltotal + 2000);
_local1[splatname]._x = (_x - 5) + random(10);
_local1[splatname]._y = (_y - 10) - random(20);
ukuran = 50 + random(50);
_local1[splatname]._xscale = ukuran;
_local1[splatname]._yscale = ukuran;
_local1[splatname]._rotation = random(360);
_local1.screen();
bouncex = bouncex - ((_x - _local1.grenad._x) * Math.random());
bouncey = bouncey + (5 + random(10));
}
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hittest(_local1[bulletname])) {
_local1.hitefek.start();
body.play();
}
a++;
}
if ((_x < -400) || (_x > 1200)) {
_local1.kill++;
removeMovieClip(_local2);
}
if (bouncey < 1) {
gotoAndStop(grounddead);
decay--;
if (decay < 0) {
_alpha = (_alpha - 2);
}
if (_alpha < 1) {
_local1.kill++;
_local1.suara();
removeMovieClip(_local2);
}
} else {
gotoAndStop (5);
n = 0;
while (n < 6) {
_local1.jmltotal++;
nama = (n + "bodypart") + _local1.jmltotal;
duplicateMovieClip (_local1.bpart1, nama, _local1.jmltotal + 1);
_local1[nama]._x = _x;
_local1[nama]._y = (_y - 30) - random(15);
_local1[nama].go = 1;
_local1[nama].head = head;
_local1[nama].gotoAndStop(1 + n);
_local1[nama].speedx = (bouncex / Math.abs(bouncex)) * (15 + random(15));
_local1[nama].speedy = 3 + random(15);
n++;
}
kill++;
_local1.suara();
removeMovieClip(_local2);
}
}
}
};
stop();
Instance of Symbol 449 MovieClip "blood" in Symbol 583 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Symbol 586 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (_local1.playscreen == 0) {
removeMovieClip(_local2);
}
if (go == 1) {
_x = (_x - ((_local1.mainx + bouncex) + speed));
_y = (_y + (grav - bouncey));
speed = speed * 0.7;
grav++;
bouncex = bouncex * 0.9;
bouncey = bouncey * 0.9;
if (_y > ground) {
if (landed == 0) {
bodydrop.start();
hp = hp + (1 + Math.floor(_local1.enemhp * 0.1));
}
_y = ground;
landed = 1;
bouncey = 0;
grav = 0;
}
if (dead == 0) {
if (landed == 1) {
if (Math.abs(_x - _local1.char._x) < 150) {
gotoAndStop (2);
body.play();
} else {
if (((waitingtime < 1) || (_local1.tension > 0.9)) || (Math.abs(_local1.char._x - _x) < 300)) {
gotoAndStop (3);
gojalan = 1;
}
if (gojalan == 1) {
if (_local1.char._x > _x) {
_xscale = 100;
} else {
_xscale = -100;
}
}
}
}
if (body.atk.hittest(_local1.char.hit) && (_local1.char.hp > 0)) {
_local1.char.hp = _local1.char.hp - (3 + random(3));
_local1.hitefek.start();
_local1.wounded();
_local1.j++;
_local1.jmltotal++;
splatname = "splat" + _local1.j;
duplicateMovieClip (_local1.splat, splatname, _local1.jmltotal + 1800);
_local1[splatname]._x = (_local1.char._x - 20) + random(40);
_local1[splatname]._y = (_local1.char._y + 15) - random(30);
_local1[splatname].ukuran = 25 + random(25);
_local1[splatname]._xscale = ukuran;
_local1[splatname]._yscale = ukuran;
_local1[splatname]._rotation = random(360);
_local1.char.blood._visible = 1;
if (_local1.tension < 1) {
_local1.tension = _local1.tension + 0.3;
}
_local1.moveex = _local1.moveex + (_xscale / 20);
}
if (((hp < 1) || (_x < -400)) || (_x > 1200)) {
if (hp < 1) {
mydie.start();
}
dead = 1;
}
if (hittest(_local1.grenad.hit)) {
_local1.hitefek.start();
_local1.j++;
_local1.jmltotal++;
splatname = "splat" + _local1.j;
duplicateMovieClip (_local1.splat, splatname, _local1.jmltotal + 1800);
_local1[splatname]._x = (_x - 5) + random(10);
_local1[splatname]._y = (_y - 10) - random(20);
ukuran = 50 + random(50);
_local1[splatname]._xscale = ukuran;
_local1[splatname]._yscale = ukuran;
_local1[splatname]._rotation = random(360);
bouncex = bouncex - ((_x - _local1.grenad._x) * Math.random());
bouncey = bouncey + (5 + random(10));
_local1.screen();
hp = 0;
blood._visible = 1;
if (_local1.tension < 1) {
_local1.tension = _local1.tension + 0.3;
}
}
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_local1[bulletname])) {
_local1.hitefek.start();
_local1.j++;
_local1.jmltotal++;
splatname = "splat" + _local1.j;
duplicateMovieClip (_local1.splat, splatname, _local1.jmltotal + 1800);
_local1[splatname]._x = (_x - 5) + random(10);
_local1[splatname]._y = (_y - 10) - random(20);
ukuran = 50 + random(50);
_local1[splatname]._xscale = ukuran;
_local1[splatname]._yscale = ukuran;
_local1[splatname]._rotation = random(360);
hp--;
if (_local1.tension < 1) {
_local1.tension = _local1.tension + 0.3;
}
blood._visible = 1;
removeMovieClip(_local1[bulletname]);
}
a++;
}
} else {
if (hittest(_local1.grenad.hit)) {
_local1.hitefek.start();
_local1.j++;
_local1.jmltotal++;
splatname = "splat" + _local1.j;
duplicateMovieClip (_local1.splat, splatname, _local1.jmltotal + 1800);
_local1[splatname]._x = (_x - 5) + random(10);
_local1[splatname]._y = (_y - 10) - random(20);
ukuran = 50 + random(50);
_local1[splatname]._xscale = ukuran;
_local1[splatname]._yscale = ukuran;
_local1[splatname]._rotation = random(360);
_local1.screen();
bouncex = bouncex - ((_x - _local1.grenad._x) * Math.random());
bouncey = bouncey + (5 + random(10));
}
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hittest(_local1[bulletname])) {
_local1.hitefek.start();
body.play();
}
a++;
}
if ((_x < -400) || (_x > 1200)) {
_local1.kill++;
removeMovieClip(_local2);
}
if ((bouncey < 1) && (landed == 1)) {
gotoAndStop(grounddead);
decay--;
if (decay < 0) {
_alpha = (_alpha - 2);
}
if (_alpha < 1) {
_local1.kill++;
_local1.suara();
removeMovieClip(_local2);
}
} else {
gotoAndStop (6);
n = 0;
while (n < 6) {
_local1.jmltotal++;
nama = (n + "bodypart") + _local1.jmltotal;
duplicateMovieClip (_local1.bpart1, nama, _local1.jmltotal + 1);
_local1[nama]._x = _x;
_local1[nama]._y = (_y - 30) - random(15);
_local1[nama].go = 1;
_local1[nama].head = head;
_local1[nama].gotoAndStop(1 + n);
_local1[nama].speedx = (bouncex / Math.abs(bouncex)) * (15 + random(15));
if (Math.abs(_local1[nama].speedx) < 2) {
_local1[nama].speedx = 10 - random(20);
}
_local1[nama].speedy = 3 + random(15);
n++;
}
_local1.kill++;
_local1.suara();
removeMovieClip(_local2);
}
}
}
};
stop();
Instance of Symbol 449 MovieClip "blood" in Symbol 586 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Symbol 590 Button
on (keyPress "1") {
_root.mode = 1;
gotoAndStop(_root.mode);
}
on (keyPress "2") {
_root.mode = 2;
gotoAndStop(_root.mode);
}
on (keyPress "3") {
_root.mode = 3;
gotoAndStop(_root.mode);
}
Symbol 599 Button
on (keyPress "<Space>") {
if ((_root.ammotipe == 2) && (_root.bulletgo == 0)) {
_root.ammotipe = 1;
_root.rifle.aksi = 1;
gotoAndStop (1);
} else if ((_root.ammotipe == 1) && (_root.bulletgo == 0)) {
_root.ammotipe = 2;
_root.rifle.aksi = 2;
gotoAndStop (2);
}
}
on (keyPress "r") {
_root.ammo1 = 0;
}
Symbol 608 MovieClip Frame 1
stop();
Instance of Symbol 251 MovieClip "reload" in Symbol 608 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = _root.loadammo;
}
Instance of Symbol 251 MovieClip in Symbol 608 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = ((100 * _root.ammo1) / (30 + _root.ammoupgrade));
}
Instance of Symbol 251 MovieClip "greload" in Symbol 608 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_xscale < 100) {
_xscale = (_xscale+1);
go = 1;
} else if ((_xscale > 99) && (go == 1)) {
_root.reload.start();
_root.ammo2 = 1;
go = 0;
}
}
Instance of Symbol 598 MovieClip in Symbol 620 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.mode);
}
Instance of Symbol 614 MovieClip in Symbol 620 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_xscale < 0) {
_xscale = 0;
}
_xscale = _root.char.hp;
}
Instance of Symbol 87 MovieClip in Symbol 620 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = ((_root.char.hp * 0.9) + random(math.floor(_root.char.hp / 0.1)));
}
Symbol 639 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
a = 1;
while (a < 30) {
bulletname = "bullet" + a;
if (hit.hittest(_local1[bulletname])) {
play();
removeMovieClip(_local1[bulletname]);
}
a++;
}
};
Symbol 639 MovieClip Frame 10
stop();
Instance of Symbol 271 MovieClip in Symbol 641 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
_root.j++;
splatname = "blast" + _root.j;
_root.jmltotal++;
duplicateMovieClip (_root.blast, splatname, _root.jmltotal + 50);
_root[splatname]._x = _root[bulletname]._x;
_root[splatname]._y = 31;
_root[splatname]._rotation = Math.abs(_root[bulletname]._rotation);
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 271 MovieClip in Symbol 643 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
_root.j++;
splatname = "blast" + _root.j;
_root.jmltotal++;
duplicateMovieClip (_root.blast, splatname, _root.jmltotal + 50);
_root[splatname]._x = _root[bulletname]._x;
_root[splatname]._y = 31;
_root[splatname]._rotation = Math.abs(_root[bulletname]._rotation);
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 271 MovieClip in Symbol 647 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.j++;
splatname = "blast" + _root.j;
_root.jmltotal++;
duplicateMovieClip (_root.blast, splatname, _root.jmltotal + 50);
_root[splatname]._x = _root[bulletname]._x;
_root[splatname]._y = 31;
_root[splatname]._rotation = Math.abs(_root[bulletname]._rotation);
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 251 MovieClip in Symbol 647 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.movex = 2;
_root.moveex = 2;
}
}
Instance of Symbol 459 MovieClip "blast" in Symbol 652 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
_visible = 0;
}
Symbol 653 MovieClip Frame 1
stop();
Instance of Symbol 251 MovieClip in Symbol 676 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.lastpost2 = _parent._x - 100;
_root.playscreen = 0;
_root.gotoAndPlay("gate");
}
}
Instance of Symbol 251 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
if (_root.elec == 0) {
_root.info = "Elevator but it's not working, I think the power is down";
_root.infomc.play();
} else {
_root.info = "the elevator is working";
_root.infomc.play();
}
if (key.isDown(69)) {
if (_root.elec == 1) {
_root.lastpost2 = _root.awal._x + 150;
if (_root.elevatorscene == 0) {
_root.friendsampai3 = 1;
_root.elevatorscene = 1;
_root.gotoAndPlay("elevator");
} else {
_root.lastpost4 = 320;
_root.playscreen = 0;
_root.gotoAndPlay("upfloor");
}
} else {
_root.doorlock.start();
}
}
}
}
Instance of Symbol 500 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 709 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 709 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 709 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 709 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 709 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 709 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 704 MovieClip in Symbol 709 MovieClip Frame 1
onClipEvent (load) {
start = _y;
speed = 0;
}
onClipEvent (enterFrame) {
_y = (_y + speed);
speed = speed + 0.1;
if (_y > (start + 40)) {
speed = 1 * Math.random();
vol = 80 - (Math.abs((_root.char._x - _x) - _parent._x) / 4);
if (vol > (_root.sfxvol * 0.8)) {
vol = _root.sfxvol * 0.8;
} else if (vol < 0) {
vol = 0;
}
_root.drops.setVolume(vol);
_root.drops.start();
_y = start;
}
}
Instance of Symbol 707 MovieClip in Symbol 709 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = random(100);
}
Instance of Symbol 500 MovieClip in Symbol 719 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 719 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 719 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 251 MovieClip in Symbol 719 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.lastpost2 = _root.awal._x + 100;
_root.lastpost3 = -150;
_root.playscreen = 0;
_root.gotoAndPlay("basement");
}
}
Symbol 739 MovieClip Frame 1
stop();
Instance of Symbol 736 MovieClip "hit" in Symbol 739 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (_parent.hit.hittest(_root[bulletname])) {
_parent.play();
_root.ricmetal.start();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Symbol 739 MovieClip Frame 13
stop();
Symbol 749 MovieClip Frame 1
stop();
Instance of Symbol 742 MovieClip "hit" in Symbol 749 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (_parent.hit.hittest(_root[bulletname])) {
_parent.play();
_root.ricmetal.start();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Symbol 749 MovieClip Frame 23
stop();
Instance of Symbol 251 MovieClip in Symbol 750 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.playscreen = 0;
_root.gotoAndPlay("bridge");
}
}
Symbol 758 MovieClip Frame 1
stop();
Instance of Symbol 742 MovieClip "hit" in Symbol 758 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (_parent.hit.hittest(_root[bulletname])) {
_parent.play();
_root.ricmetal.start();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Symbol 758 MovieClip Frame 23
stop();
Symbol 770 MovieClip Frame 1
stop();
Symbol 770 MovieClip Frame 10
stop();
Instance of Symbol 251 MovieClip in Symbol 771 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.movex = -2;
_root.moveex = -2;
}
}
Instance of Symbol 224 MovieClip in Symbol 771 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 770 MovieClip in Symbol 771 MovieClip Frame 1
onClipEvent (load) {
stop();
if (_root.elec == 1) {
gotoAndStop ("on");
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.char)) {
_root.info = "There's a switch box, I think is connected to power source";
_root.infomc.play();
if (key.isDown(69) && (_root.elec == 0)) {
gotoAndPlay ("sound");
time = 10;
_root.urutan++;
_root.dialogue();
_root.heavymove.start();
_root.elec = 1;
}
if (time > 0) {
_root.screen();
time--;
}
}
}
Instance of Symbol 264 MovieClip in Symbol 773 MovieClip Frame 1
onClipEvent (load) {
if (_root.magz2 == 1) {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.char) && (_root.magz2 == 0)) {
_root.info = "Extra magazine";
_root.infomc.play();
if (key.isDown(69)) {
_root.ammoupgrade = _root.ammoupgrade + 5;
_root.reload.start();
_visible = 0;
_root.magz2 = 1;
}
}
}
Instance of Symbol 776 MovieClip in Symbol 778 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.lastpost4 = _root.elev._x - 100;
_root.lastpost12 = 650;
_root.gotoAndPlay("security");
}
}
Instance of Symbol 224 MovieClip in Symbol 778 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 251 MovieClip in Symbol 789 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.info = "Open the door";
_root.infomc.play();
if (key.isDown(69)) {
_root.lastpost4 = _root.elev._x + 100;
_root.lastpost22 = 320;
_root.playscreen = 0;
_root.gotoAndPlay("toilet");
}
}
}
Instance of Symbol 251 MovieClip in Symbol 789 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.lastpost4 = _root.elev._x + 150;
_root.lastpost5 = 100;
_root.playscreen = 0;
_root.gotoAndPlay("silo");
}
}
Instance of Symbol 224 MovieClip in Symbol 789 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Symbol 815 MovieClip Frame 1
if (_root.bodydrop == 1) {
gotoAndPlay ("dropped");
}
Symbol 815 MovieClip Frame 30
stop();
Instance of Symbol 251 MovieClip "hit" in Symbol 818 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 251 MovieClip in Symbol 818 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.fade._alpha = 70 + random(30);
_root.tension = 1;
if (time < 0) {
_root.friend.wep._rotation = (Math.atan2(_root.friend._y - _root.aim._y, _root.friend._x - _root.aim._x) * 180) / Math.PI;
_root.friend2.wep._rotation = (Math.atan2(_root.friend2._y - _root.aim2._y, _root.friend2._x - _root.aim2._x) * 180) / Math.PI;
_root.friend.firego = 1;
_root.friend2.firego = 1;
time = random(3);
}
time--;
hitkena = random(2);
if (hitkena == 1) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hittest(_root[bulletname])) {
_root.hitefek.start();
_root.j++;
_root.jmltotal++;
splatname = "splat" + _root.j;
duplicateMovieClip (_root.splat, splatname, _root.jmltotal + 1800);
_root[splatname]._x = (_root.elev._x + _parent._x) + random(40);
_root[splatname]._y = (_root.elev._y + _parent._y) + random(300);
ukuran = 50 + random(50);
_root[splatname]._xscale = ukuran;
_root[splatname]._yscale = ukuran;
_root[splatname]._rotation = random(360);
removeMovieClip(_root[bulletname]);
}
a++;
}
}
}
Symbol 818 MovieClip Frame 36
_root.fader._alpha = 0;
stop();
timergo = 1;
Instance of Symbol 818 MovieClip in Symbol 819 MovieClip Frame 1
onClipEvent (load) {
stop();
time = 35;
if (_root.bodydrop == 1) {
gotoAndPlay ("dropped");
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit) && (_root.bodydrop == 0)) {
_root.urutan++;
_root.dialogue();
_root.tension = 1;
_root.bodydrop = 1;
play();
}
if (timergo == 1) {
time--;
}
if (((_root.talked3 == 0) && (_root.bodydrop == 1)) && (time < 1)) {
_root.urutan++;
trace("sound");
_root.dialogue();
_root.talked3 = 1;
}
}
Instance of Symbol 251 MovieClip in Symbol 819 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit) && (key.isDown(69))) {
_root.info = "use the elevator";
_root.infomc.play();
_root.playscreen = 0;
_root.gotoAndPlay("bridge");
}
}
Instance of Symbol 824 MovieClip in Symbol 826 MovieClip Frame 1
onClipEvent (load) {
pos = _parent.secondhand._rotation;
}
onClipEvent (enterFrame) {
myDate = new Date();
_rotation = ((myDate.getHours() * 30) + (myDate.getMinutes() / 2));
_parent.minutehand._rotation = (myDate.getMinutes() * 6) + (myDate.getSeconds() / 10);
_parent.secondhand._rotation = myDate.getSeconds() * 6;
if (!(pos === _parent.secondhand._rotation)) {
vol = 100 - (Math.abs((_root.char._x - _x) - _parent._x) / 4);
if (vol > _root.sfxvol) {
vol = _root.sfxvol;
} else if (vol < 0) {
vol = 0;
}
_root.clocktick.setVolume(vol);
_root.clocktick.start();
pos = _parent.secondhand._rotation;
}
}
Instance of Symbol 251 MovieClip in Symbol 826 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.info = "Open the door";
_root.infomc.play();
if (key.isDown(69)) {
_root.lastpost4 = _root.elev._x - 100;
_root.lastpost11 = 320;
_root.playscreen = 0;
_root.gotoAndPlay("infirmary");
}
}
}
Symbol 838 MovieClip Frame 12
stop();
Symbol 841 MovieClip Frame 12
stop();
Symbol 848 MovieClip Frame 37
stop();
Instance of Symbol 251 MovieClip in Symbol 850 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.movex = -2;
_root.moveex = -2;
}
}
Instance of Symbol 251 MovieClip in Symbol 850 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.movex = 2;
_root.moveex = 2;
}
}
Symbol 850 MovieClip Frame 193
stop();
_root.lastpost4 = 320;
_root.playscreen = 0;
_root.gotoAndPlay("upfloor");
Instance of Symbol 776 MovieClip in Symbol 869 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
if (_root.flood == 1) {
_root.info = "The sewer now is dry";
_root.infomc.play();
} else {
_root.info = "The sewer is flooded";
_root.infomc.play();
}
if (key.isDown(69)) {
if (_root.flood == 1) {
_root.lastpost5 = _root.awal._x - 100;
_root.lastpost9 = 250;
_root.playscreen = 0;
_root.gotoAndPlay("sewer");
} else {
_root.doorlock.start();
}
}
}
}
Instance of Symbol 776 MovieClip in Symbol 877 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.playscreen = 0;
_root.gotoAndPlay("upfloor");
}
}
Instance of Symbol 224 MovieClip in Symbol 877 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 30) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 251 MovieClip in Symbol 879 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.lastpost5 = _root.awal._x + 150;
_root.lastpost6 = 325;
_root.playscreen = 0;
_root.gotoAndPlay("silo2");
}
}
Instance of Symbol 224 MovieClip in Symbol 879 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 500 MovieClip in Symbol 889 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 889 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 889 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 889 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 889 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 889 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 264 MovieClip in Symbol 889 MovieClip Frame 1
onClipEvent (load) {
if (_root.magz3 == 1) {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.char) && (_root.magz3 == 0)) {
_root.info = "Extra magazine";
_root.infomc.play();
if (key.isDown(69)) {
_root.ammoupgrade = _root.ammoupgrade + 5;
_root.reload.start();
_visible = 0;
_root.magz3 = 1;
}
}
}
Instance of Symbol 251 MovieClip in Symbol 895 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.info = "use the elevator";
_root.infomc.play();
if (key.isDown(69)) {
_root.lastpost6 = _root.awal._x + 150;
_root.lastpost7 = 250;
_root.playscreen = 0;
_root.gotoAndPlay("silo3");
if (_root.elec == 0) {
} else {
_root.doorlock.start();
}
}
}
}
Instance of Symbol 500 MovieClip in Symbol 895 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 895 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 895 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 251 MovieClip in Symbol 900 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.info = "it said security clearance level 1";
_root.infomc.play();
if (key.isDown(69)) {
_root.lastpost6 = _root.awal._x + 100;
_root.lastpost10 = 250;
_root.playscreen = 0;
if (_root.keycard > 0) {
_root.gotoAndPlay("office");
} else {
_root.doorlock.start();
}
}
}
}
Instance of Symbol 776 MovieClip in Symbol 900 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.playscreen = 0;
_root.gotoAndPlay("silo");
}
}
Instance of Symbol 224 MovieClip in Symbol 900 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 500 MovieClip in Symbol 900 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 900 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 900 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 251 MovieClip in Symbol 902 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.playscreen = 0;
_root.lastpost6 = _root.awal._x + 100;
_root.lastpost13 = 250;
_root.gotoAndPlay("window");
}
}
Instance of Symbol 251 MovieClip in Symbol 910 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.info = "use the elevator";
_root.infomc.play();
if (key.isDown(69)) {
_root.gotoAndPlay("silo2");
}
}
}
Instance of Symbol 224 MovieClip in Symbol 915 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 251 MovieClip in Symbol 915 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.lastpost7 = _root.awal._x - 100;
_root.lastpost8 = 450;
_root.playscreen = 0;
_root.gotoAndPlay("silo4");
}
}
Instance of Symbol 776 MovieClip in Symbol 917 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.playscreen = 0;
_root.lastpost19 = 0;
_root.lastpost7 = _root.awal._x + 100;
_root.gotoAndPlay("out");
}
}
Instance of Symbol 224 MovieClip in Symbol 917 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Symbol 924 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (_local1.playscreen == 0) {
removeMovieClip(_local2);
}
if (go == 1) {
_x = (_x - (_local1.mainx + bouncex));
_y = (_y + (grav - bouncey));
grav++;
bouncex = bouncex * 0.9;
bouncey = bouncey * 0.9;
if (_y > ground) {
_y = ground;
bouncey = 0;
grav = 0;
}
if (dead == 0) {
if (bouncey < 1) {
if (((waitingtime < 1) || (_local1.tension > 0.9)) || (Math.abs(_local1.char._x - _x) < 300)) {
gotoAndStop (2);
gojalan = 1;
}
if (gojalan == 1) {
if (_local1.char._x > _x) {
_x = (_x + speed);
_xscale = 100;
} else {
_x = (_x - speed);
_xscale = -100;
}
if (lemparawal == 0) {
_local1.can._x = _x;
_local1.can._y = _y - 60;
_local1.can.speedx = _xscale / 3;
_local1.can.speedy = random(3);
_local1.can.go = 1;
lemparawal = 1;
}
}
} else {
gotoAndStop (3);
}
if (atk.hittest(_local1.char.hit) && (_local1.char.hp > 0)) {
_local1.char.hp = _local1.char.hp - (1 + random(3));
_local1.hitefek.start();
_local1.wounded();
_local1.j++;
_local1.jmltotal++;
splatname = "splat" + _local1.j;
duplicateMovieClip (_local1.splat, splatname, _local1.jmltotal + 1800);
_local1[splatname]._x = (_local1.char._x - 20) + random(40);
_local1[splatname]._y = (_local1.char._y + 15) - random(30);
_local1[splatname].ukuran = 25 + random(25);
_local1[splatname]._xscale = ukuran;
_local1[splatname]._yscale = ukuran;
_local1[splatname]._rotation = random(360);
_local1.char.blood._visible = 1;
if (_local1.tension < 1) {
_local1.tension = _local1.tension + 0.3;
}
_local1.moveex = _local1.moveex + (_xscale / 20);
}
if (hp < 0) {
if (hp < 0) {
mydie.start();
}
dead = 1;
}
if (hittest(_local1.grenad.hit)) {
_local1.hitefek.start();
_local1.j++;
_local1.jmltotal++;
splatname = "splat" + _local1.j;
duplicateMovieClip (_local1.splat, splatname, _local1.jmltotal + 1800);
_local1[splatname]._x = (_x - 5) + random(10);
_local1[splatname]._y = (_y - 10) - random(20);
ukuran = 50 + random(50);
_local1[splatname]._xscale = ukuran;
_local1[splatname]._yscale = ukuran;
_local1[splatname]._rotation = random(360);
bouncex = bouncex - (((_x - _local1.grenad._x) / 4) * Math.random());
bouncey = bouncey + (5 + random(10));
_local1.screen();
hp = hp - (2 + random(2));
blood._visible = 1;
if (_local1.tension < 1) {
_local1.tension = _local1.tension + 0.3;
}
}
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_local1[bulletname])) {
_local1.hitefek.start();
_local1.j++;
_local1.jmltotal++;
splatname = "splat" + _local1.j;
duplicateMovieClip (_local1.splat, splatname, _local1.jmltotal + 1800);
_local1[splatname]._x = (_x - 5) + random(10);
_local1[splatname]._y = (_y - 10) - random(20);
ukuran = 50 + random(50);
_local1[splatname]._xscale = ukuran;
_local1[splatname]._yscale = ukuran;
_local1[splatname]._rotation = random(360);
bouncex = bouncex - (_local1[bulletname].speedx / 100);
bouncey = bouncey - (_local1[bulletname].speedy / 30);
hp--;
if (_local1.tension < 1) {
_local1.tension = _local1.tension + 0.3;
}
blood._visible = 1;
removeMovieClip(_local1[bulletname]);
}
a++;
}
} else {
if (hittest(_local1.grenad.hit)) {
_local1.hitefek.start();
_local1.j++;
_local1.jmltotal++;
splatname = "splat" + _local1.j;
duplicateMovieClip (_local1.splat, splatname, _local1.jmltotal + 1800);
_local1[splatname]._x = (_x - 5) + random(10);
_local1[splatname]._y = (_y - 10) - random(20);
ukuran = 50 + random(50);
_local1[splatname]._xscale = ukuran;
_local1[splatname]._yscale = ukuran;
_local1[splatname]._rotation = random(360);
_local1.screen();
bouncex = bouncex - ((_x - _local1.grenad._x) * Math.random());
bouncey = bouncey + (5 + random(10));
}
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hittest(_local1[bulletname])) {
_local1.hitefek.start();
body.play();
}
a++;
}
if (bouncey < 1) {
gotoAndStop(groundead);
decay--;
if (decay < 0) {
_alpha = (_alpha - 2);
}
if (_alpha < 1) {
if (suaraplay == 0) {
_local1.suara();
}
removeMovieClip(_local2);
go = 0;
}
} else {
gotoAndStop (6);
n = 0;
while (n < 6) {
_local1.jmltotal++;
nama = (n + "bodypart") + _local1.jmltotal;
duplicateMovieClip (_local1.bpart1, nama, _local1.jmltotal + 1);
_local1[nama]._x = _x;
_local1[nama]._y = (_y - 30) - random(15);
_local1[nama].go = 1;
_local1[nama].head = head;
_local1[nama].gotoAndStop(1 + n);
_local1[nama].speedx = (bouncex / Math.abs(bouncex)) * (15 + random(15));
_local1[nama].speedy = 3 + random(15);
n++;
}
if (suaraplay == 0) {
_local1.suara();
}
go = 0;
removeMovieClip(_local2);
}
}
}
};
stop();
Instance of Symbol 449 MovieClip "blood" in Symbol 924 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 500 MovieClip in Symbol 924 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 924 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 924 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 398 MovieClip in Symbol 933 MovieClip Frame 1
onClipEvent (load) {
ground = _y + 220;
if (_root.keycard > 0) {
_x = -100;
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.hook)) {
fall = 1;
}
if (_y > ground) {
_y = ground;
}
_y = (_y + grav);
if (fall == 1) {
grav++;
if (grav > 10) {
grav = 10;
}
}
if (hitTest(_root.char) && (_root.keycard == 0)) {
_root.info = "Key card level 1";
_root.infomc.play();
if (key.isDown(69)) {
_root.pickitem.start();
_root.urutan++;
_root.dialogue();
_root.keycard++;
_x = -100;
_visible = 0;
}
}
}
Instance of Symbol 776 MovieClip in Symbol 940 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.info = "the ladder goes down to engine room";
_root.infomc.play();
if (key.isDown(69)) {
_root.lastpost8 = _root.awal._x + 100;
_root.lastpost14 = 350;
_root.gotoAndPlay("engine");
}
}
}
Instance of Symbol 264 MovieClip in Symbol 940 MovieClip Frame 1
onClipEvent (load) {
if (_root.magz4 == 1) {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.char) && (_root.magz4 == 0)) {
_root.info = "Extra magazine";
_root.infomc.play();
if (key.isDown(69)) {
_root.reload.start();
_root.ammoupgrade = _root.ammoupgrade + 5;
_visible = 0;
_root.magz4 = 1;
}
}
}
Instance of Symbol 251 MovieClip in Symbol 940 MovieClip Frame 1
onClipEvent (load) {
if (_root.gas == 1) {
_parent.leak1._visible = 0;
_parent.leak2._visible = 0;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.char) && (_root.gas == 0)) {
_root.info = "ouch!! the gas is hot!! better find a way to shut it down";
_root.infomc.play();
_root.char.hp--;
_root.movex = 2;
_root.moveex = 2;
}
}
Instance of Symbol 776 MovieClip in Symbol 943 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.playscreen = 0;
_root.lastpost8 = _root.awal._x - 100;
_root.lastpost20 = 300;
_root.gotoAndPlay("silo5");
}
}
Instance of Symbol 224 MovieClip in Symbol 943 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 251 MovieClip in Symbol 945 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.gotoAndPlay("silo3");
}
}
Instance of Symbol 224 MovieClip in Symbol 945 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Symbol 955 MovieClip Frame 6
removeMovieClip(this);
Symbol 956 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
a = 1;
while (a < 30) {
bulletname = "bullet" + a;
if (hit.hittest(_local1[bulletname])) {
play();
removeMovieClip(_local1[bulletname]);
}
a++;
}
};
Symbol 956 MovieClip Frame 10
stop();
Instance of Symbol 952 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hittest(_root[bulletname])) {
_root.ricmetal.start();
_root.j++;
splatname = "blast" + _root.j;
_root.jmltotal++;
duplicateMovieClip (_root.blast, splatname, _root.jmltotal + 50);
_root[splatname]._x = _root[bulletname]._x;
_root[splatname]._y = 31;
_root[splatname]._rotation = math.abs(_root[bulletname]._rotation);
_rotation = (1 - (Math.random() * 2));
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 956 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 30) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 956 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 30) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Symbol 982 MovieClip Frame 1
stop();
Instance of Symbol 742 MovieClip "hit" in Symbol 982 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (_parent.hit.hittest(_root[bulletname])) {
_parent.play();
_root.ricmetal.start();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Symbol 982 MovieClip Frame 17
stop();
Instance of Symbol 952 MovieClip in Symbol 984 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hittest(_root[bulletname])) {
_root.ricmetal.start();
_root.j++;
splatname = "blast" + _root.j;
_root.jmltotal++;
duplicateMovieClip (_root.blast, splatname, _root.jmltotal + 50);
_root[splatname]._x = _root[bulletname]._x;
_root[splatname]._y = 31;
_root[splatname]._rotation = math.abs(_root[bulletname]._rotation);
_rotation = (1 - (Math.random() * 2));
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 952 MovieClip in Symbol 986 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hittest(_root[bulletname])) {
_root.ricmetal.start();
_root.j++;
splatname = "blast" + _root.j;
_root.jmltotal++;
duplicateMovieClip (_root.blast, splatname, _root.jmltotal + 50);
_root[splatname]._x = _root[bulletname]._x;
_root[splatname]._y = 31;
_root[splatname]._rotation = math.abs(_root[bulletname]._rotation);
_rotation = (1 - (Math.random() * 2));
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 776 MovieClip in Symbol 986 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.info = "Climb the ladder";
_root.infomc.play();
if (key.isDown(69)) {
_root.playscreen = 0;
_root.gotoAndPlay("silo");
}
}
}
Instance of Symbol 251 MovieClip in Symbol 986 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.movex = 2;
_root.moveex = 2;
}
}
Instance of Symbol 952 MovieClip in Symbol 989 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hittest(_root[bulletname])) {
_root.ricmetal.start();
_root.j++;
splatname = "blast" + _root.j;
_root.jmltotal++;
duplicateMovieClip (_root.blast, splatname, _root.jmltotal + 50);
_root[splatname]._x = _root[bulletname]._x;
_root[splatname]._y = 31;
_root[splatname]._rotation = math.abs(_root[bulletname]._rotation);
_rotation = (1 - (Math.random() * 2));
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Symbol 999 MovieClip Frame 1
stop();
Instance of Symbol 999 MovieClip in Symbol 1000 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 30) {
bulletname = "bullet" + a;
if (hittest(_root[bulletname])) {
_root.hitefek.start();
play();
}
a++;
}
}
Instance of Symbol 704 MovieClip in Symbol 1000 MovieClip Frame 1
onClipEvent (load) {
start = _y;
startx = _x;
_x = (startx + random(60));
speed = 0;
_y = (start + random(110));
}
onClipEvent (enterFrame) {
_y = (_y + speed);
speed = speed + 1;
if (_y > (start + 110)) {
_x = (startx + random(60));
vol = 100 - (Math.abs(((_root.char._x - _x) - _parent._x) - _parent._parent._x) / 4);
if (vol > _root.sfxvol) {
vol = _root.sfxvol;
} else if (vol < 0) {
vol = 0;
}
_root.drops.setVolume(vol);
_root.drops.start();
speed = 1 + Math.random();
_y = start;
}
}
Instance of Symbol 704 MovieClip in Symbol 1000 MovieClip Frame 1
onClipEvent (load) {
start = _y;
startx = _x;
_x = (startx + random(60));
speed = 0;
_y = (start + random(110));
}
onClipEvent (enterFrame) {
_y = (_y + speed);
speed = speed + 1;
if (_y > (start + 110)) {
_x = (startx + random(60));
vol = 100 - (Math.abs(((_root.char._x - _x) - _parent._x) - _parent._parent._x) / 4);
if (vol > _root.sfxvol) {
vol = _root.sfxvol;
} else if (vol < 0) {
vol = 0;
}
_root.drops.setVolume(vol);
_root.drops.start();
speed = 0;
_y = start;
}
}
Instance of Symbol 704 MovieClip in Symbol 1000 MovieClip Frame 1
onClipEvent (load) {
start = _y;
startx = _x;
_x = (startx + random(60));
speed = 0;
_y = (start + random(110));
}
onClipEvent (enterFrame) {
_y = (_y + speed);
speed = speed + 1;
if (_y > (start + 110)) {
_x = (startx + random(60));
vol = 100 - (Math.abs(((_root.char._x - _x) - _parent._x) - _parent._parent._x) / 4);
if (vol > _root.sfxvol) {
vol = _root.sfxvol;
} else if (vol < 0) {
vol = 0;
}
_root.drops.setVolume(vol);
_root.drops.start();
speed = 0;
_y = start;
}
}
Instance of Symbol 956 MovieClip in Symbol 1003 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 30) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 952 MovieClip in Symbol 1003 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hittest(_root[bulletname])) {
_root.ricmetal.start();
_root.j++;
splatname = "blast" + _root.j;
_root.jmltotal++;
duplicateMovieClip (_root.blast, splatname, _root.jmltotal + 50);
_root[splatname]._x = _root[bulletname]._x;
_root[splatname]._y = 31;
_root[splatname]._rotation = math.abs(_root[bulletname]._rotation);
_rotation = (1 - (Math.random() * 2));
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 264 MovieClip in Symbol 1003 MovieClip Frame 1
onClipEvent (load) {
if (_root.magz5 == 1) {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.char) && (_root.magz5 == 0)) {
_root.info = "Extra magazine";
_root.infomc.play();
if (key.isDown(69)) {
_root.ammoupgrade = _root.ammoupgrade + 5;
_root.reload.start();
_visible = 0;
_root.magz5 = 1;
}
}
}
Instance of Symbol 952 MovieClip in Symbol 1010 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hittest(_root[bulletname])) {
_root.ricmetal.start();
_root.j++;
splatname = "blast" + _root.j;
_root.jmltotal++;
duplicateMovieClip (_root.blast, splatname, _root.jmltotal + 50);
_root[splatname]._x = _root[bulletname]._x;
_root[splatname]._y = 31;
_root[splatname]._rotation = math.abs(_root[bulletname]._rotation);
_rotation = (1 - (Math.random() * 2));
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 251 MovieClip in Symbol 1010 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.movex = -2;
_root.moveex = -2;
}
}
Instance of Symbol 1009 MovieClip in Symbol 1010 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
if (_root.gas == 1) {
_root.info = "Gas has been blocked";
_root.infomc.play();
} else {
_root.info = "There a valve, connected to gas pipe";
_root.infomc.play();
}
if (key.isDown(69) && (_root.gas == 0)) {
time = 10;
_root.heavymove.start();
_root.gas = 1;
}
if (time > 0) {
_root.screen();
time--;
}
}
}
Instance of Symbol 251 MovieClip in Symbol 1013 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.movex = 2;
_root.moveex = 2;
}
}
Instance of Symbol 824 MovieClip in Symbol 1021 MovieClip Frame 1
onClipEvent (load) {
pos = _parent.secondhand._rotation;
}
onClipEvent (enterFrame) {
myDate = new Date();
_rotation = ((myDate.getHours() * 30) + (myDate.getMinutes() / 2));
_parent.minutehand._rotation = (myDate.getMinutes() * 6) + (myDate.getSeconds() / 10);
_parent.secondhand._rotation = myDate.getSeconds() * 6;
if (!(pos === _parent.secondhand._rotation)) {
vol = 100 - (Math.abs((_root.char._x - _x) - _parent._x) / 4);
if (vol > _root.sfxvol) {
vol = _root.sfxvol;
} else if (vol < 0) {
vol = 0;
}
_root.clocktick.setVolume(vol);
_root.clocktick.start();
pos = _parent.secondhand._rotation;
}
}
Instance of Symbol 398 MovieClip in Symbol 1021 MovieClip Frame 1
onClipEvent (load) {
if (_root.keycard > 1) {
_x = -100;
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.char) && (_root.keycard == 1)) {
_root.info = "Key card level 2";
_root.infomc.play();
if (key.isDown(69)) {
_root.pickitem.start();
_root.keycard++;
_x = -100;
_visible = 0;
}
}
}
Instance of Symbol 264 MovieClip in Symbol 1021 MovieClip Frame 1
onClipEvent (load) {
if (_root.magz6 == 1) {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.char) && (_root.magz6 == 0)) {
_root.info = "Extra magazine";
_root.infomc.play();
if (key.isDown(69)) {
_root.ammoupgrade = _root.ammoupgrade + 5;
_root.reload.start();
_visible = 0;
_root.magz6 = 1;
}
}
}
Symbol 1036 MovieClip Frame 1
if (_root.bodyoffice == 1) {
gotoAndStop ("dead");
}
Symbol 1036 MovieClip Frame 5
gotoAndPlay (1);
Symbol 1036 MovieClip Frame 13
stop();
_root.bodyoffice = 1;
Instance of Symbol 251 MovieClip in Symbol 1041 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.info = "open the door";
_root.infomc.play();
if (key.isDown(69)) {
_root.gotoAndPlay("silo2");
}
}
}
Instance of Symbol 1037 MovieClip "body" in Symbol 1041 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (_parent.body.hittest(_root[bulletname])) {
_root.hitefek.start();
_parent.body.hit.gotoAndPlay(6);
}
a++;
}
}
Instance of Symbol 251 MovieClip in Symbol 1043 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.movex = -2;
_root.moveex = -2;
}
}
Instance of Symbol 776 MovieClip in Symbol 1049 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.playscreen = 0;
_root.gotoAndPlay("silo4");
}
}
Instance of Symbol 224 MovieClip in Symbol 1049 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 30) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 500 MovieClip in Symbol 1049 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 824 MovieClip in Symbol 1051 MovieClip Frame 1
onClipEvent (load) {
pos = _parent.secondhand._rotation;
}
onClipEvent (enterFrame) {
myDate = new Date();
_rotation = ((myDate.getHours() * 30) + (myDate.getMinutes() / 2));
_parent.minutehand._rotation = (myDate.getMinutes() * 6) + (myDate.getSeconds() / 10);
_parent.secondhand._rotation = myDate.getSeconds() * 6;
if (!(pos === _parent.secondhand._rotation)) {
vol = 100 - (Math.abs((_root.char._x - _x) - _parent._x) / 4);
if (vol > _root.sfxvol) {
vol = _root.sfxvol;
} else if (vol < 0) {
vol = 0;
}
_root.clocktick.setVolume(vol);
_root.clocktick.start();
pos = _parent.secondhand._rotation;
}
}
Instance of Symbol 251 MovieClip in Symbol 1053 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.info = "use the elevator";
_root.infomc.play();
if (key.isDown(69)) {
_root.lastpost20 = _root.awal._x + 100;
_root.lastpost21 = 200;
_root.gotoAndPlay("silo6");
}
}
}
Instance of Symbol 251 MovieClip in Symbol 1056 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.info = "use the elevator";
_root.infomc.play();
if (key.isDown(69)) {
_root.gotoAndPlay("silo5");
}
}
}
Instance of Symbol 251 MovieClip in Symbol 1059 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char)) {
_root.info = "Open the door";
_root.infomc.play();
if (key.isDown(69)) {
_root.lastpost13 = 250;
_root.gotoAndPlay("window");
}
}
}
Instance of Symbol 251 MovieClip in Symbol 1066 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.info = "Door is broken";
_root.infomc.play();
}
}
Instance of Symbol 264 MovieClip in Symbol 1066 MovieClip Frame 1
onClipEvent (load) {
if (_root.magz7 == 1) {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.char) && (_root.magz7 == 0)) {
_root.info = "Extra magazine";
_root.infomc.play();
if (key.isDown(69)) {
_root.ammoupgrade = _root.ammoupgrade + 20;
_root.reload.start();
_visible = 0;
_root.magz7 = 1;
}
}
}
Symbol 1072 MovieClip Frame 1
stop();
Instance of Symbol 1070 MovieClip "hit" in Symbol 1072 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
play();
}
a++;
}
}
Symbol 1072 MovieClip Frame 13
stop();
Instance of Symbol 251 MovieClip in Symbol 1074 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char)) {
_root.info = "First aid kit: Hold acton [E] to recover your Health";
_root.infomc.play();
if (key.isDown(69) && (_root.char.hp < 100)) {
_root.char.hp++;
if (_root.char.hp == 99) {
_root.heal.start();
_root.char.hp = 100;
}
}
}
}
Symbol 1086 MovieClip Frame 14
stop();
Symbol 1120 MovieClip Frame 1
stop();
Instance of Symbol 1089 MovieClip "hit" in Symbol 1120 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (_parent.hit.hittest(_root[bulletname])) {
_parent.play();
_root.ricmetal.start();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Symbol 1120 MovieClip Frame 8
stop();
Instance of Symbol 1086 MovieClip in Symbol 1127 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
play();
}
a++;
}
}
Symbol 1131 MovieClip Frame 6
removeMovieClip(this);
Symbol 1138 MovieClip Frame 1
stop();
Instance of Symbol 251 MovieClip in Symbol 1138 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hittest(_root[bulletname])) {
_parent.play();
_root.ricmetal.start();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Symbol 1138 MovieClip Frame 8
stop();
Instance of Symbol 251 MovieClip in Symbol 1138 MovieClip Frame 8
onClipEvent (enterFrame) {
a = 1;
while (a < 30) {
bulletname = "bullet" + a;
if (hittest(_root[bulletname])) {
_parent.gotoAndStop(5);
_root.ricmetal.start();
}
a++;
}
}
Instance of Symbol 1138 MovieClip in Symbol 1140 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 251 MovieClip in Symbol 1140 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.info = "Open the door";
_root.infomc.play();
if (key.isDown(69)) {
_root.gotoAndPlay("upfloor");
}
}
}
Instance of Symbol 251 MovieClip in Symbol 1143 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.movex = 2;
_root.moveex = 2;
}
}
Instance of Symbol 1150 MovieClip in Symbol 1151 MovieClip Frame 1
onClipEvent (load) {
start = _y;
speed = 1 + random(2);
_y = (start + random(70));
_alpha = (30 + random(50));
}
onClipEvent (enterFrame) {
_y = (_y + speed);
if (_y > (start + 70)) {
speed = 1 + random(2);
_alpha = (30 + random(50));
_y = start;
}
}
Instance of Symbol 1150 MovieClip in Symbol 1155 MovieClip Frame 1
onClipEvent (load) {
start = _y;
speed = 1 + random(2);
_y = (start + random(70));
_alpha = (30 + random(50));
}
onClipEvent (enterFrame) {
_y = (_y + speed);
if (_y > (start + 70)) {
speed = 1 + random(2);
_alpha = (30 + random(50));
_y = start;
}
}
Instance of Symbol 1150 MovieClip in Symbol 1161 MovieClip Frame 1
onClipEvent (load) {
start = _y;
speed = 1 + random(2);
_y = (start + random(70));
_alpha = (30 + random(50));
}
onClipEvent (enterFrame) {
_y = (_y + speed);
if (_y > (start + 70)) {
speed = 1 + random(2);
_alpha = (30 + random(50));
_y = start;
}
}
Instance of Symbol 1150 MovieClip in Symbol 1167 MovieClip Frame 1
onClipEvent (load) {
start = _y;
speed = 1 + random(2);
_y = (start + random(70));
_alpha = (30 + random(50));
}
onClipEvent (enterFrame) {
_y = (_y + speed);
if (_y > (start + 70)) {
speed = 1 + random(2);
_alpha = (30 + random(50));
_y = start;
}
}
Instance of Symbol 1150 MovieClip in Symbol 1172 MovieClip Frame 1
onClipEvent (load) {
start = _y;
speed = 1 + random(2);
_y = (start + random(70));
_alpha = (30 + random(50));
}
onClipEvent (enterFrame) {
_y = (_y + speed);
if (_y > (start + 70)) {
speed = 1 + random(2);
_alpha = (30 + random(50));
_y = start;
}
}
Instance of Symbol 1150 MovieClip in Symbol 1175 MovieClip Frame 1
onClipEvent (load) {
start = _y;
speed = 1 + random(2);
_y = (start + random(70));
_alpha = (30 + random(50));
}
onClipEvent (enterFrame) {
_y = (_y + speed);
if (_y > (start + 70)) {
speed = 1 + random(2);
_alpha = (30 + random(50));
_y = start;
}
}
Instance of Symbol 1150 MovieClip in Symbol 1178 MovieClip Frame 1
onClipEvent (load) {
start = _y;
speed = 1 + random(2);
_y = (start + random(70));
_alpha = (30 + random(50));
}
onClipEvent (enterFrame) {
_y = (_y + speed);
if (_y > (start + 70)) {
speed = 1 + random(2);
_alpha = (30 + random(50));
_y = start;
}
}
Instance of Symbol 1150 MovieClip in Symbol 1183 MovieClip Frame 1
onClipEvent (load) {
start = _y;
speed = 1 + random(2);
_y = (start + random(70));
_alpha = (30 + random(50));
}
onClipEvent (enterFrame) {
_y = (_y + speed);
if (_y > (start + 70)) {
speed = 1 + random(2);
_alpha = (30 + random(50));
_y = start;
}
}
Instance of Symbol 1151 MovieClip in Symbol 1189 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(478));
}
Instance of Symbol 1155 MovieClip in Symbol 1189 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(478));
}
Instance of Symbol 1167 MovieClip in Symbol 1189 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(478));
}
Instance of Symbol 1172 MovieClip in Symbol 1189 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(478));
}
Instance of Symbol 264 MovieClip in Symbol 1189 MovieClip Frame 1
onClipEvent (load) {
if (_root.magz8 == 1) {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.char) && (_root.magz8 == 0)) {
_root.info = "Extra magazine";
_root.infomc.play();
if (key.isDown(69)) {
_root.ammoupgrade = _root.ammoupgrade + 5;
_root.reload.start();
_visible = 0;
_root.magz8 = 1;
}
}
}
Instance of Symbol 1150 MovieClip in Symbol 1194 MovieClip Frame 1
onClipEvent (load) {
start = _y;
speed = 1 + random(2);
_y = (start + random(70));
_alpha = (30 + random(50));
}
onClipEvent (enterFrame) {
_y = (_y + speed);
if (_y > (start + 70)) {
speed = 1 + random(2);
_alpha = (30 + random(50));
_y = start;
}
}
Instance of Symbol 1150 MovieClip in Symbol 1199 MovieClip Frame 1
onClipEvent (load) {
start = _y;
speed = 1 + random(2);
_y = (start + random(70));
_alpha = (30 + random(50));
}
onClipEvent (enterFrame) {
_y = (_y + speed);
if (_y > (start + 70)) {
speed = 1 + random(2);
_alpha = (30 + random(50));
_y = start;
}
}
Instance of Symbol 1194 MovieClip in Symbol 1200 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(478));
}
Instance of Symbol 1199 MovieClip in Symbol 1200 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(478));
}
Instance of Symbol 251 MovieClip in Symbol 1202 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.playscreen = 0;
_root.gotoAndPlay("upfloor");
}
}
Instance of Symbol 251 MovieClip in Symbol 1207 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.playscreen = 0;
_root.gotoAndPlay("silo2");
}
}
Instance of Symbol 251 MovieClip in Symbol 1211 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.movex = -2;
_root.moveex = -2;
}
}
Symbol 1222 MovieClip Frame 1
stop();
Instance of Symbol 824 MovieClip in Symbol 1223 MovieClip Frame 1
onClipEvent (load) {
pos = _parent.secondhand._rotation;
}
onClipEvent (enterFrame) {
myDate = new Date();
_rotation = ((myDate.getHours() * 30) + (myDate.getMinutes() / 2));
_parent.minutehand._rotation = (myDate.getMinutes() * 6) + (myDate.getSeconds() / 10);
_parent.secondhand._rotation = myDate.getSeconds() * 6;
if (!(pos === _parent.secondhand._rotation)) {
vol = 100 - (Math.abs((_root.char._x - _x) - _parent._x) / 4);
if (vol > _root.sfxvol) {
vol = _root.sfxvol;
} else if (vol < 0) {
vol = 0;
}
_root.clocktick.setVolume(vol);
_root.clocktick.start();
pos = _parent.secondhand._rotation;
}
}
Instance of Symbol 251 MovieClip in Symbol 1223 MovieClip Frame 1
onClipEvent (load) {
if (_root.windowswitch == 1) {
_parent.panel.gotoAndStop("open");
}
}
onClipEvent (enterFrame) {
if (time > 0) {
_root.screen();
time--;
}
if (hitTest(_root.char)) {
_root.info = "it said security clearance level 2";
_root.infomc.play();
if (key.isDown(69) && (_root.windowswitch == 0)) {
if (_root.keycard > 1) {
_root.windowswitch = 1;
_root.initbigwar = 1;
time = 10;
_root.friendsampai5 = 1;
_root.heavymove.start();
_parent.panel.gotoAndStop("open");
} else {
_root.doorlock.start();
}
}
}
}
Instance of Symbol 251 MovieClip in Symbol 1227 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.info = "Climb the ladder";
_root.infomc.play();
if (key.isDown(69)) {
_root.playscreen = 0;
_root.gotoAndPlay("silo4");
}
}
}
Instance of Symbol 251 MovieClip in Symbol 1227 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.movex = 2;
_root.moveex = 2;
}
}
Symbol 1233 MovieClip Frame 1
stop();
Symbol 1233 MovieClip Frame 34
stop();
Instance of Symbol 1229 MovieClip in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
if (_root.engineswitch == 1) {
_parent.meter.gotoAndStop("end");
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.char)) {
if (_root.engineswitch == 1) {
_root.info = "The water has been drained";
_root.infomc.play();
} else {
_root.info = "There a valve, connected to pump engine";
_root.infomc.play();
}
if (key.isDown(69) && (_root.engineswitch == 0)) {
time = 10;
_root.heavymove.start();
_parent.meter.play();
_root.flood = 1;
_root.engineswitch = 1;
}
if (time > 0) {
_root.screen();
time--;
}
}
}
Instance of Symbol 956 MovieClip in Symbol 1234 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 251 MovieClip in Symbol 1234 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.movex = -2;
_root.moveex = -2;
}
}
Instance of Symbol 251 MovieClip in Symbol 1237 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.playscreen = 0;
_root.gotoAndPlay("out");
}
}
Instance of Symbol 776 MovieClip in Symbol 1239 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.playscreen = 0;
_root.lastpost16 = -150;
_root.lastpost15 = _root.awal._x + 100;
_root.gotoAndPlay("lab2");
}
}
Instance of Symbol 824 MovieClip in Symbol 1257 MovieClip Frame 1
onClipEvent (load) {
pos = _parent.secondhand._rotation;
}
onClipEvent (enterFrame) {
myDate = new Date();
_rotation = ((myDate.getHours() * 30) + (myDate.getMinutes() / 2));
_parent.minutehand._rotation = (myDate.getMinutes() * 6) + (myDate.getSeconds() / 10);
_parent.secondhand._rotation = myDate.getSeconds() * 6;
if (!(pos === _parent.secondhand._rotation)) {
vol = 100 - (Math.abs((_root.char._x - _x) - _parent._x) / 4);
if (vol > _root.sfxvol) {
vol = _root.sfxvol;
} else if (vol < 0) {
vol = 0;
}
_root.clocktick.setVolume(vol);
_root.clocktick.start();
pos = _parent.secondhand._rotation;
}
}
Symbol 1272 MovieClip Frame 1
stop();
Instance of Symbol 251 MovieClip in Symbol 1272 MovieClip Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.char.hp--;
_root.movex = -2;
_root.moveex = -2;
}
}
Symbol 1272 MovieClip Frame 6
stop();
Instance of Symbol 251 MovieClip in Symbol 1273 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.info = "Open the door";
_root.infomc.play();
if (key.isDown(69)) {
_root.lastpost15 = _root.awal._x + 100;
_root.lastpost26 = 400;
_root.gotoAndPlay("labflor2");
}
}
}
Instance of Symbol 1272 MovieClip "laserblok" in Symbol 1273 MovieClip Frame 1
onClipEvent (load) {
if (_root.laserinit2 == 1) {
_visible = 0;
} else {
init = 0;
gotoAndStop (6);
}
}
onClipEvent (enterFrame) {
_alpha = (50 + random(40));
if ((_root.laserinit2 == 1) && (init == 0)) {
play();
init = 1;
}
}
Instance of Symbol 251 MovieClip in Symbol 1273 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit) && (_root.laserinit2 == 0)) {
_root.info = "i need card key level 3 to shut down the laser";
_root.infomc.play();
if (Key.isDown(69) && (_root.labkey == 1)) {
_root.laserinit2 = 1;
}
}
}
Instance of Symbol 251 MovieClip in Symbol 1275 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.playscreen = 0;
_root.gotoAndPlay("lab");
}
}
Instance of Symbol 251 MovieClip in Symbol 1285 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.info = "Use the evelator";
_root.infomc.play();
if (Key.isDown(69)) {
_root.playscreen = 0;
_root.lastpost16 = _root.awal._x + 100;
_root.lastpost17 = 350;
_root.gotoAndPlay("lab3");
}
}
}
Symbol 1291 MovieClip Frame 1
stop();
Symbol 1302 MovieClip Frame 1
stop();
Symbol 1302 MovieClip Frame 13
stop();
Instance of Symbol 1291 MovieClip in Symbol 1303 MovieClip Frame 1
onClipEvent (load) {
if (_root.labswitch == 1) {
_parent.screen.gotoAndStop("end");
gotoAndStop ("on");
_root.reactor.inside.stop();
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.char) && (_root.labswitch == 0)) {
_root.info = "Reactor control panel";
_root.infomc.play();
if (key.isDown(69)) {
_parent.screen.play();
gotoAndStop ("on");
_root.heavymove.start();
time = 10;
_root.reactor.inside.stop();
_root.labswitch = 1;
}
}
if (time > 0) {
_root.screen();
time--;
}
}
Instance of Symbol 251 MovieClip in Symbol 1305 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.movex = -2;
_root.moveex = -2;
}
}
Instance of Symbol 251 MovieClip in Symbol 1308 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.movex = 2;
_root.moveex = 2;
}
}
Symbol 1321 MovieClip Frame 1
stop();
Instance of Symbol 459 MovieClip "blast" in Symbol 1321 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
_visible = 0;
}
Symbol 1325 MovieClip Frame 1
stop();
Symbol 1325 MovieClip Frame 56
stop();
Instance of Symbol 1321 MovieClip "gun" in Symbol 1325 MovieClip Frame 56
onClipEvent (load) {
firetime = 15;
hp = 50;
}
onClipEvent (enterFrame) {
tujuan = (Math.atan2(((_root.char._y - _parent._y) - _parent._parent._y) - _y, ((_root.char._x - _x) - _parent._x) - _parent._parent._x) * 180) / Math.PI;
_rotation = (_rotation + ((tujuan - _rotation) / 10));
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
_root.j++;
splatname = "blast" + _root.j;
_root.jmltotal++;
duplicateMovieClip (_root.blast, splatname, _root.jmltotal + 50);
_root[splatname]._x = _root[bulletname]._x;
_root[splatname]._y = _root[bulletname]._y;
_root[splatname]._rotation = Math.abs(_root[bulletname]._rotation);
hp--;
removeMovieClip(_root[bulletname]);
}
a++;
}
if (hp < 1) {
_parent.time = 10;
_root.explode.start();
_parent.play();
}
if (firetime < 0) {
_root.glocksound.start();
_root.num++;
name = "blaank" + _root.num;
_root.jmltotal++;
duplicateMovieClip (_root.blank, name, _root.jmltotal);
_root[name]._x = Math.abs(((-_parent._parent._x) - _parent._x) - _x);
_root[name]._y = (_y - _parent._y) - _parent._parent._y;
_root[name].launch = random(10);
_root[name].launchx = ((10 + random(10)) * _xscale) / -100;
_root.num++;
name = "enemfire" + _root.num;
_root.jmltotal++;
duplicateMovieClip (_root.enemfire, name, _root.jmltotal + 5);
_root[name].speedx = 100 * Math.cos(_rotation * (Math.PI/180));
_root[name].speedy = 100 * Math.sin(_rotation * (Math.PI/180));
_root[name]._x = Math.abs(((-_parent._parent._x) - _parent._x) - _x);
_root[name]._y = (_y - _parent._y) - _parent._parent._y;
_root[name]._rotation = _rotation;
_root[name].damage = 1;
play();
blast._visible = 1;
firetime = random(3);
} else {
firetime--;
}
}
Symbol 1325 MovieClip Frame 59
stop();
_root.turretkill++;
Instance of Symbol 233 MovieClip in Symbol 1325 MovieClip Frame 59
onClipEvent (load) {
gotoAndPlay(1 + random(6));
}
Instance of Symbol 233 MovieClip in Symbol 1325 MovieClip Frame 59
onClipEvent (load) {
gotoAndPlay(1 + random(6));
}
Instance of Symbol 1325 MovieClip in Symbol 1326 MovieClip Frame 1
onClipEvent (load) {
turretinit = 1;
}
onClipEvent (enterFrame) {
if ((_root.finalswitch == 1) && (turretinit == 1)) {
play();
turretinit = 0;
}
if (time > 1) {
_root.screen();
time--;
}
}
Instance of Symbol 245 MovieClip in Symbol 1326 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 245 MovieClip in Symbol 1326 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 264 MovieClip in Symbol 1330 MovieClip Frame 1
onClipEvent (load) {
if (_root.magz9 == 1) {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.char) && (_root.magz9 == 0)) {
_root.info = "Extra magazine";
_root.infomc.play();
if (key.isDown(69)) {
_root.ammoupgrade = _root.ammoupgrade + 5;
_root.reload.start();
_visible = 0;
_root.magz9 = 1;
}
}
}
Instance of Symbol 251 MovieClip in Symbol 1332 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.info = "Use the evelator";
_root.infomc.play();
if (key.isDown(69)) {
_root.gotoAndPlay("lab2");
}
}
}
Instance of Symbol 1291 MovieClip in Symbol 1333 MovieClip Frame 1
onClipEvent (load) {
if (_root.labswitch2 == 1) {
_parent.screen.gotoAndStop("end");
gotoAndStop ("on");
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.char) && (_root.labswitch2 == 0)) {
_root.info = "Reactor control panel";
_root.infomc.play();
if (key.isDown(69)) {
_parent.screen.play();
_root.heavymove.start();
gotoAndStop ("on");
time = 10;
_root.labswitch2 = 1;
}
}
if (time > 0) {
_root.screen();
time--;
}
}
Instance of Symbol 245 MovieClip in Symbol 1333 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 1138 MovieClip in Symbol 1337 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 251 MovieClip in Symbol 1337 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.info = "Open the door";
_root.infomc.play();
if (key.isDown(69)) {
_root.gotoAndPlay("labflor2");
}
}
}
Instance of Symbol 251 MovieClip in Symbol 1340 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char)) {
_root.info = "First aid kit: Use it to recover your Health";
_root.infomc.play();
if (key.isDown(69) && (_root.char.hp < 100)) {
_root.char.hp++;
if (_root.char.hp == 99) {
_root.heal.start();
_root.char.hp = 100;
}
}
}
}
Instance of Symbol 1138 MovieClip in Symbol 1340 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 251 MovieClip in Symbol 1341 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.movex = -2;
_root.moveex = -2;
}
}
Instance of Symbol 224 MovieClip in Symbol 1341 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 271 MovieClip in Symbol 1345 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
_root.j++;
splatname = "blast" + _root.j;
_root.jmltotal++;
duplicateMovieClip (_root.blast, splatname, _root.jmltotal + 50);
_root[splatname]._x = _root[bulletname]._x;
_root[splatname]._y = 31;
_root[splatname]._rotation = Math.abs(_root[bulletname]._rotation);
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 639 MovieClip in Symbol 1347 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 30) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Symbol 1349 MovieClip Frame 1
stop();
if (_root.windowswitch == 1) {
gotoAndStop ("akhir");
}
Instance of Symbol 251 MovieClip in Symbol 1349 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.movex = -2;
_root.moveex = -2;
}
}
Symbol 1349 MovieClip Frame 20
stop();
Instance of Symbol 271 MovieClip in Symbol 1350 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
_root.j++;
splatname = "blast" + _root.j;
_root.jmltotal++;
duplicateMovieClip (_root.blast, splatname, _root.jmltotal + 50);
_root[splatname]._x = _root[bulletname]._x;
_root[splatname]._y = 61;
_root[splatname]._rotation = Math.abs(_root[bulletname]._rotation);
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 271 MovieClip in Symbol 1352 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
_root.ricmetal.start();
_root.j++;
splatname = "blast" + _root.j;
_root.jmltotal++;
duplicateMovieClip (_root.blast, splatname, _root.jmltotal + 50);
_root[splatname]._x = _root[bulletname]._x;
_root[splatname]._y = 31;
_root[splatname]._rotation = Math.abs(_root[bulletname]._rotation);
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 245 MovieClip in Symbol 1352 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 30) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 245 MovieClip in Symbol 1352 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 30) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 251 MovieClip in Symbol 1354 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char)) {
_root.lastpost1 = _parent._x + 200;
_root.lastpost2 = 204;
_root.playscreen = 0;
_root.gotoAndPlay("bridge");
}
}
Instance of Symbol 251 MovieClip in Symbol 1354 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.friendsampai5 = 0;
_root.playscreen = 0;
_root.bigwar = 0;
_root.lastpost19 = _root.awal._x;
_root.lastpost15 = -100;
_root.gotoAndPlay("lab");
}
}
Instance of Symbol 251 MovieClip in Symbol 1355 MovieClip Frame 1
onClipEvent (load) {
if ((_root.hurrygo == 0) && (_root.windowswitch == 1)) {
_root.hurry.start();
_root.hurrygo = 1;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.playscreen = 0;
_root.gotoAndPlay("silo3");
}
}
Instance of Symbol 251 MovieClip in Symbol 1358 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.movex = 2;
_root.moveex = 2;
}
}
Instance of Symbol 251 MovieClip in Symbol 1361 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.info = "Open the door";
_root.infomc.play();
if (key.isDown(69)) {
_root.gotoAndPlay("upfloor");
}
}
}
Symbol 1388 MovieClip Frame 1
stop();
Instance of Symbol 449 MovieClip "blood" in Symbol 1388 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 500 MovieClip in Symbol 1388 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 1388 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Instance of Symbol 500 MovieClip in Symbol 1388 MovieClip Frame 1
onClipEvent (load) {
start = _x;
starty = _y;
}
onClipEvent (enterFrame) {
_x = (start + (Math.random() * 50));
_y = (starty + (Math.random() * 50));
}
Symbol 1389 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = _parent;
_alpha = _local1.char._alpha;
_x = (((_local1.char._x - _local2._parent._x) - _local2._x) - 30);
_y = (((_local1.char._y - _local2._parent._y) - _local2._y) - 30);
_xscale = _local1.char._xscale;
gotoAndStop(_local1.char.aksi);
};
Instance of Symbol 449 MovieClip "blood" in Symbol 1389 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
_visible = 0;
}
Symbol 1389 MovieClip Frame 5
stop();
Instance of Symbol 1388 MovieClip "toiletzomb" in Symbol 1391 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = _root.toiletzombie._alpha;
_y = (((_root.toiletzombie._y - _parent._parent._y) - _parent._y) - 30);
_x = (((_root.toiletzombie._x - _parent._parent._x) - _parent._x) - 30);
_xscale = _root.toiletzombie._xscale;
gotoAndStop(_root.toiletzombie.aksi);
}
Instance of Symbol 539 MovieClip in Symbol 1391 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (((_parent.char._y + _root.crouch) + shake) - 10);
_x = (_parent.char._x + (_root.char._xscale / 5));
blast._visible = _root.rifle.blast._visible;
gotoAndStop(_root.rifle.aksi);
_xscale = _root.rifle._xscale;
_rotation = _root.rifle._rotation;
}
Instance of Symbol 264 MovieClip in Symbol 1393 MovieClip Frame 1
onClipEvent (load) {
if (_root.magz10 == 1) {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.char) && (_root.magz10 == 0)) {
_root.info = "Extra magazine";
_root.infomc.play();
if (key.isDown(69)) {
_root.ammoupgrade = _root.ammoupgrade + 5;
_root.reload.start();
_visible = 0;
_root.magz10 = 1;
}
}
}
Symbol 1398 MovieClip Frame 1
stop();
Instance of Symbol 251 MovieClip in Symbol 1398 MovieClip Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.char.hp--;
_root.movex = 2;
_root.moveex = 2;
}
}
Symbol 1398 MovieClip Frame 6
stop();
Instance of Symbol 251 MovieClip in Symbol 1399 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.playscreen = 0;
if (_root.finalswitch == 0) {
_root.gotoAndPlay("labflor2");
} else {
_root.gotoAndPlay("ending");
}
}
}
Instance of Symbol 1398 MovieClip in Symbol 1399 MovieClip Frame 1
onClipEvent (load) {
init = 1;
if ((_root.laserinit == 0) && (_root.finalswitch == 1)) {
_root.turretkill = 0;
_root.laserinit = 1;
}
}
onClipEvent (enterFrame) {
_alpha = (50 + random(40));
if (((_root.finalswitch == 1) && (_root.turretkill < 1)) && (init == 1)) {
play();
init = 0;
}
if ((_root.turretkill > 2) && (init == 0)) {
play();
init = 1;
}
}
Instance of Symbol 1325 MovieClip in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
turretinit = 1;
}
onClipEvent (enterFrame) {
if ((_root.finalswitch == 1) && (turretinit == 1)) {
play();
turretinit = 0;
}
if (time > 1) {
_root.screen();
time--;
}
}
Instance of Symbol 245 MovieClip in Symbol 1403 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 30) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 245 MovieClip in Symbol 1403 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 30) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 776 MovieClip in Symbol 1405 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.playscreen = 0;
_root.lastpost24 = -200;
_root.lastpost23 = _root.awal._x + 100;
_root.gotoAndPlay("final2");
}
}
Instance of Symbol 251 MovieClip in Symbol 1409 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.playscreen = 0;
_root.gotoAndPlay("final1");
}
}
Instance of Symbol 1325 MovieClip in Symbol 1412 MovieClip Frame 1
onClipEvent (load) {
turretinit = 1;
}
onClipEvent (enterFrame) {
if ((_root.finalswitch == 1) && (turretinit == 1)) {
play();
turretinit = 0;
}
if (time > 1) {
_root.screen();
time--;
}
}
Instance of Symbol 245 MovieClip in Symbol 1412 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 30) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Instance of Symbol 245 MovieClip in Symbol 1412 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 30) {
bulletname = "bullet" + a;
if (hit.hittest(_root[bulletname])) {
play();
removeMovieClip(_root[bulletname]);
}
a++;
}
}
Symbol 1421 MovieClip Frame 1
stop();
Instance of Symbol 1414 MovieClip "reactor" in Symbol 1422 MovieClip Frame 1
onClipEvent (load) {
if (_root.finalswitch == 1) {
stop();
}
}
Instance of Symbol 264 MovieClip in Symbol 1422 MovieClip Frame 1
onClipEvent (load) {
if (_root.magz11 == 1) {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.char)) {
_root.info = "Extra magazine";
_root.infomc.play();
if (key.isDown(69) && (_root.magz11 == 0)) {
_root.ammoupgrade = _root.ammoupgrade + 15;
_root.reload.start();
_visible = 0;
_root.magz11 = 1;
}
}
}
Instance of Symbol 1421 MovieClip in Symbol 1422 MovieClip Frame 1
onClipEvent (load) {
c4beep = new Sound(_root.sfx);
c4beep.attachSound("c4beep");
if (_root.finalswitch == 1) {
_root.red._alpha = 100;
c4beep.start(0, 9999);
_root.alarm.start(0, 9999);
gotoAndStop ("on");
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit) && (_root.finalswitch == 0)) {
_root.info = "this is the main reactor core, put explosive here";
_root.infomc.play();
if (key.isDown(69)) {
_root.heavymove.start();
_parent.reactor.stop();
gotoAndStop ("on");
time = 10;
_root.urutan++;
_root.dialogue();
c4beep.start(0, 9999);
_root.alarm.start(0, 9999);
_root.red._alpha = 100;
_root.finalswitch = 1;
}
}
if (time > 0) {
_root.screen();
time--;
}
}
Instance of Symbol 1325 MovieClip in Symbol 1426 MovieClip Frame 1
onClipEvent (load) {
turretinit = 1;
}
onClipEvent (enterFrame) {
if ((_root.finalswitch == 1) && (turretinit == 1)) {
play();
turretinit = 0;
}
if (time > 1) {
_root.screen();
time--;
}
}
Instance of Symbol 1398 MovieClip in Symbol 1426 MovieClip Frame 1
onClipEvent (load) {
init = 1;
}
onClipEvent (enterFrame) {
_alpha = (50 + random(40));
if (((_root.finalswitch == 1) && (_root.turretkill < 1)) && (init == 1)) {
play();
init = 0;
}
if ((_root.turretkill > 1) && (init == 0)) {
play();
init = 1;
}
}
Symbol 1438 MovieClip Frame 1
stop();
stop();
Instance of Symbol 1438 MovieClip in Symbol 1439 MovieClip Frame 1
onClipEvent (load) {
news = 0;
}
onClipEvent (enterFrame) {
if ((news == 0) && (hitTest(_root.char.hit))) {
play();
news = 1;
}
}
Instance of Symbol 398 MovieClip in Symbol 1439 MovieClip Frame 1
onClipEvent (load) {
if (_root.labkey == 1) {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.char) && (_root.labkey == 0)) {
_root.info = "Key card level 3";
_root.infomc.play();
if (key.isDown(69)) {
_root.pickitem.start();
_root.keycard = 3;
_root.labkey = 1;
_visible = 0;
}
}
}
Instance of Symbol 251 MovieClip in Symbol 1443 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.info = "Open the door";
_root.infomc.play();
if (key.isDown(69)) {
_root.playscreen = 0;
_root.gotoAndPlay("labflor2");
}
}
}
Instance of Symbol 251 MovieClip in Symbol 1445 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.playscreen = 0;
_root.lastpost26 = _root.awal._x + 100;
_root.lastpost23 = -250;
_root.gotoAndPlay("final1");
}
}
Symbol 1453 MovieClip Frame 20
if (!(_root.labswitch3 === 1)) {
gotoAndPlay (1);
}
Symbol 1453 MovieClip Frame 21
stop();
Symbol 1454 MovieClip Frame 1
stop();
Instance of Symbol 251 MovieClip in Symbol 1454 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.movex = -2;
_root.moveex = -2;
}
}
Symbol 1454 MovieClip Frame 33
stop();
Instance of Symbol 1454 MovieClip "pump" in Symbol 1455 MovieClip Frame 1
onClipEvent (load) {
if (_root.labswitch3 == 1) {
piston.gotoAndStop("off");
gotoAndStop ("end");
}
}
Instance of Symbol 1291 MovieClip in Symbol 1458 MovieClip Frame 1
onClipEvent (load) {
if (_root.labswitch3 == 1) {
_parent.screen.gotoAndStop("end");
gotoAndStop ("on");
_root.reactor.inside.stop();
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.char)) {
if (_root.labswitch3 == 0) {
_root.info = "i need to shut down bottom reactors first";
_root.infomc.play();
}
if (((key.isDown(69) && (_root.labswitch == 1)) && (_root.labswitch2 == 1)) && (_root.labswitch3 == 0)) {
_parent.screen.play();
_root.reactorxxx.pump.play();
_root.urutan++;
_root.dialogue();
gotoAndStop ("on");
_root.heavymove.start();
time = 10;
_root.labswitch3 = 1;
}
}
if (time > 0) {
_root.screen();
time--;
}
}
Instance of Symbol 251 MovieClip in Symbol 1460 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.info = "Use the elevator";
_root.infomc.play();
if (key.isDown(69)) {
_root.playscreen = 0;
_root.gotoAndPlay("lab");
}
}
}
Instance of Symbol 251 MovieClip in Symbol 1465 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.info = "Open the door";
_root.infomc.play();
if (key.isDown(69)) {
_root.lastpost26 = _root.awal._x - 100;
_root.lastpost18 = 300;
_root.gotoAndPlay("labhospic");
}
}
}
Instance of Symbol 1037 MovieClip "body" in Symbol 1465 MovieClip Frame 1
onClipEvent (enterFrame) {
a = 1;
while (a < 60) {
bulletname = "bullet" + a;
if (_parent.body.hittest(_root[bulletname])) {
_root.hitefek.start();
_parent.body.hit.gotoAndPlay(6);
}
a++;
}
}
Instance of Symbol 251 MovieClip in Symbol 1471 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.char.hit)) {
_root.info = "Open the door";
_root.infomc.play();
if (key.isDown(69)) {
_root.lastpost26 = _root.awal._x - 100;
_root.lastpost25 = 300;
_root.gotoAndPlay("laboff");
}
}
}
Symbol 1494 Button
on (release) {
gotoAndStop ("mainmenu");
}