Combined Code
// unknown tag 88 length 59
movieClip 5 pressSpace {
}
movieClip 7 coll {
}
movieClip 10 {
}
movieClip 11 gold {
frame 1 {
xspeed = 12 - Math.random() * 24;
yspeed = 12 - Math.random() * 24;
zspeed = 12 - Math.random() * 24;
this.onEnterFrame = function () {
_root.swapLayer(this);
xspeed *= 0.8;
yspeed *= 0.8;
this._x += xspeed;
this._y += yspeed;
_root.wallColl(this);
_root.bounds(this);
if (this.coll.hitTest(_root.pl_x, _root.pl_y, true)) {
n = _root.np;
_root.scena.particles.attachMovie('xp', 'xp' + n, n);
xp = eval('_root.scena.particles.xp' + n);
xp._x = this._x;
xp._y = this._y;
_root.np += 1;
n = _root.np;
_root.gold += 10;
this.removeMovieClip();
}
};
}
}
movieClip 14 zblood {
frame 1 {
this._xscale = _root.scaleIndex * this.dir;
this._yscale = this._xscale;
n = 0;
while (n <= 4) {
l = _root.np;
_root.scena.particles.attachMovie('bloodSpray', 'bs' + l, l);
bs = eval('_root.scena.particles.bs' + l);
bs._x = this._x;
bs._y = this._y;
_root.np += 1;
++n;
}
}
frame 9 {
this.removeMovieClip();
}
}
movieClip 17 dust_p {
frame 1 {
this._xscale = Math.random() * 40 + 40;
this._yscale = this._xscale;
this._alpha = 0;
stato = 1;
xspeed = Math.random() - Math.random();
this.yspeed = Math.random() / 2;
this.onEnterFrame = function () {
this._y += yspeed;
this._x += xspeed;
yspeed *= 1.01;
switch (stato) {
case 1:
this._alpha += 2;
if (this._alpha >= 70) {
this.stato = 2;
}
break;
case 2:
this._alpha -= 2;
if (this._alpha <= 0) {
this.removeMovieClip();
}
}
};
}
}
movieClip 18 pointZero {
}
movieClip 19 point {
frame 1 {
this.angularSpeed = 0;
this.rot = 0;
this.accel = 0.95;
timer = 0;
this.onEnterFrame = function () {
if (timer == _root.lamp_frameRate) {
_root.pendolo(this, px, raggio);
timer = 0;
} else {
timer += 1;
}
};
}
}
movieClip 23 {
}
movieClip 24 head {
frame 1 {
timer = 0;
this.onEnterFrame = function () {
if (timer == _root.lamp_frameRate) {
clip1 = eval('_parent.point' + pre);
nex = pre + 1;
clip2 = eval('_parent.point' + nex);
myRadians = Math.atan2(clip2._x - clip1._x, clip2._y - clip1._y);
myRotation = myRadians * 180 / Math.PI;
this._rotation = -myRotation;
this._x = clip1._x;
this._y = clip1._y;
timer = 0;
} else {
timer += 1;
}
};
}
}
movieClip 25 swinging_lamp {
frame 1 {
spawnTime = 0;
_root.swapLayer(this);
this.attachMovie('pointZero', 'point0', 0);
this.point0._y = -300;
this.attachMovie('point', 'point1', 1);
this.point1.px = point0;
this.point1.raggio = 30;
this.attachMovie('point', 'point2', 2);
this.point2.px = point1;
this.point2.raggio = 30;
this.attachMovie('point', 'point3', 3);
this.point3.px = point2;
this.point3.raggio = 30;
this.attachMovie('point', 'point4', 4);
this.point4.px = point3;
this.point4.raggio = 30;
this.attachMovie('point', 'point5', 5);
this.point5.px = point4;
this.point5.raggio = 30;
this.attachMovie('point', 'point6', 6);
this.point6.px = point5;
this.point6.raggio = 30;
n = 0;
while (n <= 4) {
id = n - 10;
this.attachMovie('cable', 'cable' + n, n + 10);
cable = eval('this.cable' + n);
cable.pre = n;
++n;
}
this.attachMovie('head', 'cable5', 15);
cable = this.cable5;
cable.pre = n;
this.onEnterFrame = function () {
if (spawnTime > 30) {
this._visible = true;
n = _root.np;
_root.scena.particles.attachMovie('lamp_flare', 'lf' + n, n);
lf = eval('_root.scena.particles.lf' + n);
lf._x = (this.cable5.ph.getBounds(_root.scena.particles)).xMin;
lf._y = (this.cable5.ph.getBounds(_root.scena.particles)).yMin;
lf._alpha = 50;
_root.np += 1;
s = 1;
while (s <= 4) {
shot = eval('_root.scena.sprites.shotPH.gS' + s);
if (this.cable5.hitTest(shot)) {
n = 1;
while (n <= 5) {
point = eval('this.point' + n);
if (shot.xs != undefined) {
this.point.rot -= shot.xs / 300;
}
++n;
}
shot.removeMovieClip();
}
++s;
}
} else {
spawnTime += 1;
this._visible = false;
}
};
}
}
movieClip 27 cable {
frame 1 {
timer = 0;
this.onEnterFrame = function () {
if (timer == _root.lamp_frameRate) {
clip1 = eval('_parent.point' + pre);
nex = pre + 1;
clip2 = eval('_parent.point' + nex);
myRadians = Math.atan2(clip2._x - clip1._x, clip2._y - clip1._y);
myRotation = myRadians * 180 / Math.PI;
this._rotation = -myRotation;
this._x = clip1._x;
this._y = clip1._y;
timer = 0;
} else {
timer += 1;
}
};
}
}
movieClip 29 {
frame 1 {
n = 0;
}
frame 2 {
this.attachMovie('myst', 'myst' + n, n);
myst = eval('this.myst' + n);
myst._x = 100;
n += 1;
}
frame 20 {
this.gotoAndPlay(2);
}
}
movieClip 30 myst_masked {
frame 1 {
_root.swapLayer(this);
}
}
movieClip 33 myst {
frame 1 {
this._alpha = Math.random() * 50 + 50;
this._rotation = Math.random() * 180;
this._xscale = Math.random() * 100 + 200;
this._yscale = this._xscale;
rot = Math.random() * 2;
speed = Math.random() * 2 + 2;
this.onEnterFrame = function () {
this._y += 0.1;
this._rotation -= rot;
this._alpha -= 0.4;
this._x -= speed;
speed *= 0.99;
this._xscale -= 2;
this._yscale = this._xscale;
if (this._alpha <= 0) {
this.removeMovieClip();
}
};
}
}
movieClip 36 gunshot_flame_small {
frame 1 {
speed = Math.random() * 1 + 0.2;
this.xs = speed * Math.cos((this._rotation / 180) * Math.PI);
this.ys = speed * Math.sin((this._rotation / 180) * Math.PI);
offset = Math.random() * 8;
this.onEnterFrame = function () {
this._rotation += offset;
this._x += this.xs;
this._y += this.ys;
this._alpha -= 2;
this._yscale += 2;
this._xscale += 2;
};
}
frame 40 {
this.removeMovieClip();
}
}
movieClip 43 blood_pool_trail {
frame 1 {
_root.swapLayer(this);
}
}
movieClip 46 blood_pool {
}
movieClip 49 {
frame 100 {
stop();
}
}
movieClip 50 flame_particle {
frame 1 {
frame = Math.ceil(Math.random() * 1);
this.gotoAndStop(frame);
this.rot = Math.random() * 2 - 1;
this._xscale = Math.random() * 100 + 50;
this._yscale = this._xscale;
this.yspeed = Math.random() * 3 + 1;
this.degrade = Math.random() * 1 + 1;
scale = Math.random() * 2;
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
this.flame.play();
this._xscale -= 2;
this._yscale -= scale;
this._rotation += this.rot;
this._y -= yspeed;
this.yspeed *= 0.98;
this._alpha -= this.degrade;
if (this._xscale <= 20) {
this.removeMovieClip();
}
} else {
this.flame.stop();
}
};
}
}
movieClip 55 fire_clip {
frame 1 {
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
this.play();
} else {
this.stop();
}
};
}
}
movieClip 57 shotgunShot {
frame 1 {
xs = 14 * Math.cos((this._rotation / 180) * Math.PI);
ys = 14 * Math.sin((this._rotation / 180) * Math.PI);
offset = 4 - Math.random() * 8;
this.onEnterFrame = function () {
this._x += xs;
this._y += ys + offset;
this.xpos = Math.floor(this._x);
if (_root.strict2d == undefined) {
if (this._y >= _root.scena.sprites.US._y) {
lev = _root.fpl;
_root.scena.floorParticles.attachMovie('shotHitFloor', 'shf' + lev, lev);
shf = eval('_root.scena.floorParticles.shf' + lev);
shf._xscale = _root.scaleIndex * Math.random() * 2;
shf._yscale = shf._xscale;
shf._x = this._x;
shf._y = _root.scena.sprites.US._y;
_root.fpl += 1;
this.removeMovieClip();
}
} else {
if (this._y >= _root.wallArray[Math.floor(this._x)]) {
lev = _root.fpl;
_root.scena.floorParticles.attachMovie('shotHitFloor', 'shf' + lev, lev);
shf = eval('_root.scena.floorParticles.shf' + lev);
shf._xscale = _root.scaleIndex;
shf._yscale = shf._xscale;
shf._x = this._x;
shf._y = _root.wallArray[Math.floor(this._x)];
_root.fpl += 1;
this.removeMovieClip();
}
}
};
}
frame 14 {
this.removeMovieClip();
stop();
}
}
movieClip 63 td_shot {
frame 1 {
xs = 25 * Math.cos((this._rotation / 180) * Math.PI);
ys = 25 * Math.sin((this._rotation / 180) * Math.PI);
this.onEnterFrame = function () {
if (_currentframe == this.bullet_duration) {
this.removeMovieClip();
}
this._x += xs;
this._y += ys;
};
}
frame 9 {
}
frame 80 {
this.removeMovieClip();
}
}
movieClip 64 shot {
frame 1 {
xs = 35 * Math.cos((this._rotation / 180) * Math.PI);
ys = 35 * Math.sin((this._rotation / 180) * Math.PI);
offset = 2 - Math.random() * 4;
offset = 0;
this.onEnterFrame = function () {
this._x += xs;
this._y += ys + offset;
this.xpos = Math.floor(this._x);
if (_root.strict2d == undefined) {
if (this._y >= _root.scena.sprites.US._y) {
lev = _root.fpl;
_root.scena.floorParticles.attachMovie('shotHitFloor', 'shf' + lev, lev);
shf = eval('_root.scena.floorParticles.shf' + lev);
shf._xscale = _root.scaleIndex;
shf._yscale = shf._xscale;
shf._x = this._x;
shf._y = _root.scena.sprites.US._y;
_root.fpl += 1;
this.removeMovieClip();
}
} else {
if (this._y >= _root.wallArray[Math.floor(this._x)]) {
lev = _root.fpl;
_root.scena.floorParticles.attachMovie('shotHitFloor', 'shf' + lev, lev);
shf = eval('_root.scena.floorParticles.shf' + lev);
shf._xscale = _root.scaleIndex;
shf._yscale = shf._xscale;
shf._x = this._x;
shf._y = _root.wallArray[Math.floor(this._x)];
_root.fpl += 1;
this.removeMovieClip();
}
}
};
}
}
movieClip 73 {
}
movieClip 74 {
frame 1 {
if (_root.gunTorch_On == 1) {
this.gtl._visible = true;
} else {
this.gtl._visible = false;
}
this.onEnterFrame = function () {
_root.gunTorch_x = (this.fp.getBounds(_root.scena)).xMin;
_root.gunTorch_y = (this.fp.getBounds(_root.scena)).yMin;
};
}
}
movieClip 79 {
frame 1 {
if (_root.maskUnlocked == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
movieClip 82 {
frame 1 {
if (_root.lighterAmmo <= 10) {
this._visible = false;
} else {
this._visible = true;
}
}
instance of movieClip 23 {
onClipEvent (enterFrame) {
lx = (this.getBounds(_root.scena.back)).xMax;
ly = (this.getBounds(_root.scena.back)).yMax;
_root.scena.back.lighter._x = lx;
_root.scena.back.lighter._y = ly;
}
}
}
movieClip 87 walkChest_3 {
frame 1 {
this.onEnterFrame = function () {
this.gotoAndPlay(_parent.stand._currentframe);
};
}
}
movieClip 88 aimChest_3 {
frame 1 {
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
this.play();
} else {
this.stop();
}
};
}
frame 25 {
if (_root.fire == 1) {
this.gotoAndPlay(1);
} else {
this.stopFiring = 1;
}
}
}
movieClip 89 standChest_3 {
}
movieClip 95 {
frame 1 {
this.onEnterFrame = function () {
chest = _parent._parent.chest;
_root.yChest = (this.getBounds(_parent._parent)).yMax;
chest._y = _root.yChest;
};
}
}
movieClip 96 aim {
frame 60 {
this.gotoAndPlay(5);
}
}
movieClip 99 swapWeaponClip {
frame 1 {
_root.effetti(this, 'change');
}
frame 15 {
_root.US.item = _root.selected_item;
_root.current_weapon = _root.selected_item;
_root.checkAmmo();
finished = 1;
}
}
movieClip 111 AXE2 {
frame 1 {
_root.effetti(this, 'punch');
}
frame 37 {
_root.effetti(this, 'azz');
}
frame 70 {
finished = 1;
}
}
movieClip 117 AXE {
frame 24 {
_root.effetti(_parent, 'swish');
}
frame 29 {
shot = 'knifeShot';
ns = 5;
_root.scena.sprites.shotPH.attachMovie(shot, 'gS' + ns, ns);
gS = eval('_root.scena.sprites.shotPH.gS' + ns);
fpx = (this.fp1.getBounds(_root.scena)).xMax;
fpy = (this.fp1.getBounds(_root.scena)).yMax;
gS.dir = _root.scena.sprites.US.dir;
gS.shotType = 'AXE';
gS._x = fpx;
gS._y = fpy;
gS._xscale = _root.scaleIndex;
gS._yscale = _root.scaleIndex;
gS.power = 10;
gS.z = _root.US._y;
}
frame 46 {
finished = 1;
}
}
movieClip 128 KNIFE {
frame 1 {
}
frame 11 {
_root.effetti(_parent, 'swish');
}
frame 14 {
_root.effetti(this, 'knife_out');
}
frame 15 {
shot = 'knifeShot';
ns = 5;
_root.scena.sprites.shotPH.attachMovie(shot, 'gS' + ns, ns);
gS = eval('_root.scena.sprites.shotPH.gS' + ns);
fpx = (this.fp1.getBounds(_root.scena)).xMax;
fpy = (this.fp1.getBounds(_root.scena)).yMax;
gS.dir = _root.scena.sprites.US.dir;
gS.shotType = 'KNIFE';
gS._x = fpx;
gS._y = fpy;
gS._xscale = _root.scaleIndex;
gS._yscale = _root.scaleIndex;
gS.power = 5;
gS.z = _root.US._y;
}
frame 30 {
this.finished = 1;
}
}
movieClip 129 US_stand {
}
movieClip 154 US_moonwalk {
frame 12 {
_root.effetti(this, _root.footstep);
}
frame 36 {
_root.effetti(this, _root.footstep);
}
}
movieClip 155 US_walk {
frame 12 {
_root.effetti(this, _root.footstep);
}
frame 36 {
_root.effetti(this, _root.footstep);
}
}
movieClip 157 coll2 {
}
movieClip 158 crateColl {
}
movieClip 159 td_coll {
}
movieClip 162 shotGunShell {
frame 1 {
this.xspeed = 6 + Math.random() * 2;
this.yspeed = 8 + Math.random() * 2;
this.onEnterFrame = function () {
this._rotation += this.xspeed * this.dir * 5;
this.xspeed *= 0.98;
this.yspeed -= 0.5;
this._x += xspeed * this.dir;
this._y -= this.yspeed;
};
}
frame 42 {
this.removeMovieClip();
}
}
movieClip 165 gunShell {
frame 1 {
this.xspeed = 6 + Math.random() * 2;
this.yspeed = 8 + Math.random() * 2;
this.onEnterFrame = function () {
this._rotation += this.xspeed * this.dir * 5;
this.xspeed *= 0.98;
this.yspeed -= 0.5;
this._x += xspeed * this.dir;
this._y -= this.yspeed;
};
}
frame 42 {
this.removeMovieClip();
}
}
movieClip 176 zblood2 {
frame 1 {
frame = Math.ceil(Math.random() * 5);
this.gotoAndStop(frame);
this._xscale = _root.scaleIndex;
this._xscale = 50;
this._yscale = this._xscale;
this.xspeed = Math.random() * 10 - 5;
this.yspeed = Math.random() * 5 + 5;
this._rotation = Math.random() * 180;
this.onEnterFrame = function () {
this._xscale += 0.2;
this._yscale = this._xscale;
this._rotation += this.xspeed * 2;
this._x -= this.xspeed;
this._y -= this.yspeed;
this.yspeed -= 0.5;
if (this._y >= this.z) {
yoffset = Math.random() * 40 - 20;
this.l = _root.fpl;
_root.scena.floorParticles.attachMovie('floorBlood', 'fb' + this.l, this.l);
fb = eval('_root.scena.floorParticles.fb' + this.l);
fb._x = this._x;
fb._y = this._y + yoffset;
_root.fpl += 1;
this.removeMovieClip();
}
};
}
}
movieClip 179 floorBlood {
frame 1 {
time = 0;
this._xscale = _root.scaleIndex * Math.random() * 1.5;
this._yscale = this._xscale;
if (this._xscale > _root.scaleIndex) {
_root.effetti(this, 'squirt');
}
this.gotoAndStop(frame);
this.onEnterFrame = function () {
if (time >= 80) {
this._alpha -= 8;
if (this._alpha <= 0) {
this.removeMovieClip();
}
} else {
time += 1;
}
};
}
}
movieClip 183 {
frame 1 {
this._visible = false;
_root.walls.push(this);
}
}
movieClip 184 crate_00 {
}
movieClip 189 crate_00_broken {
frame 60 {
stop();
}
}
movieClip 190 defaultParticle {
frame 1 {
this.currentObj = 'crate_wood';
this.bounces = 0;
this.xspeed = Math.random() * 20 - 10;
this.yspeed = -(5 + Math.random() * 15);
this.attachMovie(this.currentObj, 'obj', 10);
this.onEnterFrame = function () {
this._x += this.xspeed * this.friction;
this._y += this.yspeed;
this.yspeed += this.gravity;
this._rotation += this.xspeed * this.rot;
if (this._y >= 0) {
this._y = 0;
this.yspeed = -this.yspeed * 0.5;
this.bounces += 1;
}
if (this.bounces >= this.nBounces) {
this.removeMovieClip();
}
};
}
}
movieClip 191 barricade_clip {
frame 1 {
_root.crateArray.push(this);
this.state = 'stand';
this.energy = 10;
this.currentObjHit = 'barricade_hit';
this.attachMovie('crateColl', 'coll', 11);
this.coll._xscale = 50;
this.attachMovie('barricade', 'obj', 10);
this.onEnterFrame = function () {
switch (this.state) {
case 'stand':
_root.crateCollision(this, 1);
if (this.energy <= 0) {
this.coll.removeMovieClip();
this.attachMovie('wooden_door_broken', 'obj', 10);
_root.effetti(this, 'wood');
_root.particelle(30, this, 'defaultParticle', 0, -100, dir, 0.8, 0.5, 8, 1);
_root.scena.particles.attachMovie('crash', 'crash' + _root.np, _root.np);
crash = eval('_root.scena.particles.crash' + _root.np);
crash._x = this._x;
crash._y = this._y - 50;
_root.np += 1;
this.time = 0;
this.state = 'death';
}
break;
case 'death':
_root.barricata = 1;
this.time += 1;
if (this.time >= 180) {
this.removeMovieClip();
}
}
};
}
}
movieClip 192 wooden_door_clip {
frame 1 {
_root.crateArray.push(this);
this.state = 'stand';
this.energy = 20;
this.currentObjHit = 'wooden_door_hit';
this.attachMovie('crateColl', 'coll', 11);
this.attachMovie('wooden_door', 'obj', 10);
this.onEnterFrame = function () {
switch (this.state) {
case 'stand':
_root.crateCollision(this);
if (this.energy <= 0) {
this.coll.removeMovieClip();
this.attachMovie('wooden_door_broken', 'obj', 10);
_root.effetti(this, 'wood');
_root.particelle(10, this, 'defaultParticle', 0, -100, dir, 0.8, 0.5, 8, 1);
_root.scena.particles.attachMovie('crash', 'crash' + _root.np, _root.np);
crash = eval('_root.scena.particles.crash' + _root.np);
crash._x = this._x;
crash._y = this._y - 50;
_root.np += 1;
this.time = 0;
this.state = 'death';
}
break;
case 'death':
this.time += 1;
if (this.time >= 180) {
this.removeMovieClip();
}
}
};
}
}
movieClip 193 supplies_00 {
frame 1 {
this.state = 'stand';
switch (this.crateType) {
case 0:
this.energy = 10;
this.currentObj = 'crate_00';
this.currentObjHit = 'crate_00_hit';
this.currentBrokenObj = 'crate_00_broken';
break;
case 1:
}
this.attachMovie('crateColl', 'coll', 11);
this.attachMovie(this.currentObj, 'obj', 10);
_root.swapLayer(this);
this.onEnterFrame = function () {
switch (this.state) {
case 'stand':
_root.crateCollision(this, this.crateType);
if (this.energy <= 0) {
this.coll.removeMovieClip();
this.attachMovie(currentBrokenObj, 'obj', 10);
_root.effetti(this, 'wood');
_root.particelle(10, this, 'defaultParticle', 0, -100, dir, 0.8, 0.5, 8, 1);
_root.scena.particles.attachMovie('crash', 'crash' + _root.np, _root.np);
crash = eval('_root.scena.particles.crash' + _root.np);
crash._x = this._x;
crash._y = this._y - 50;
_root.np += 1;
this.time = 0;
_root.scena.sprites.attachMovie(this.oggetto, 'ogg' + _root.enemyLayer, _root.enemyLayer);
ogg = eval('_root.scena.sprites.ogg' + _root.enemyLayer);
ogg.layerIndex = _root.layerIndex;
ogg._x = this._x;
ogg._y = this._y;
ogg._xscale = _root.scaleIndex;
ogg._yscale = _root.scaleIndex;
_root.refreshLayers(clip);
this.state = 'death';
}
break;
case 'death':
_root.deleteCrate(this);
this.time += 1;
if (this.time >= 60) {
this._alpha -= 5;
if (this._alpha <= 0) {
this.removeMovieClip();
}
}
}
};
}
}
movieClip 195 knifeShot {
frame 1 {
this._xscale = this.dir * _root.scaleIndex;
this.speed = 20;
this._alpha = 0;
this.onEnterFrame = function () {
this.speed *= 0.9;
this._x -= this.speed * this.dir;
};
}
frame 4 {
this.removeMovieClip();
}
}
movieClip 202 crate_wood {
frame 1 {
frame = Math.ceil(Math.random() * 3);
this.gotoAndStop(frame);
}
}
movieClip 209 shotHitFloor {
frame 60 {
this.removeMovieClip();
}
}
movieClip 210 pauseScreen {
frame 1 {
this.attachMovie('inventory', 'inventory', 14);
}
}
movieClip 212 lighter_mask {
frame 1 {
this.onEnterFrame = function () {
if (_root.US.item == 3) {
this._xscale = _root.lighterAmmo * 2;
this._yscale = this._xscale;
_parent.bck_d.setMask(this);
} else {
_parent.bck_d.setMask(this);
this._xscale = 0;
this._yscale = 0;
}
};
}
}
movieClip 214 curtain_up {
frame 1 {
timer = 0;
this.onEnterFrame = function () {
timer += 1;
if (timer >= 30) {
this._alpha -= 4;
if (this._alpha <= 0) {
this.removeMovieClip();
}
}
};
}
}
movieClip 219 pointer {
frame 1 {
this._alpha = 100;
this.stato = 0;
_root.focusOnEnemy = 0;
this.focusedEnemies = 0;
_root.focusedEnemy = undefined;
this.onEnterFrame = function () {
if (_root.pointerState == 0) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
this._x = _root.pointer._xmouse;
this._y = _root.pointer._ymouse;
_root.pointer.focusPoint._x = _root.pointer._xmouse;
_root.pointer.focusPoint._y = _root.pointer._ymouse;
px = _root.scena.sprites._xmouse;
py = _root.scena.sprites._ymouse;
switch (this.stato) {
case 0:
if (this._currentframe == 1) {
this.l = _root.enemyArray.length;
nf = 0;
while (nf < this.l) {
if (this.hitTest(_root.enemyArray[nf].coll)) {
_root.focusedEnemy = _root.enemyArray[nf];
this.stato = 1;
break;
}
++nf;
}
}
break;
case 1:
if (this.hitTest(_root.focusedEnemy.coll) == true) {
if (_root.focusOnEnemy < 100) {
_root.focusOnEnemy += 2;
} else {
_root.focusOnEnemy = 100;
}
} else {
focusedEnemies = 0;
_root.focusOnEnemy = 0;
_root.focusedEnemy = undefined;
this.stato = 0;
}
}
};
stop();
}
frame 2 {
this._alpha = 100;
}
}
movieClip 240 number {
}
movieClip 241 n_behaviour {
frame 1 {
speed = 2;
rounds = 0;
this.onEnterFrame = function () {
if (rounds < 20) {
speed *= 0.98;
_parent._y -= speed;
rounds += 1;
} else {
_parent._alpha -= 2;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
};
}
}
movieClip 244 crate_00_hit {
frame 6 {
this.removeMovieClip();
}
}
movieClip 246 {
}
movieClip 251 yes {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 254 crash {
frame 35 {
this.removeMovieClip();
}
}
movieClip 259 water_particle {
frame 1 {
stop();
ran = Math.ceil(Math.random() * 2);
this.gotoAndStop(ran);
this.z = 450;
this.speed = Math.random() * 2 + 4;
this.yspeed = Math.random() * 1;
this.friction = 0.98;
this._xscale = Math.random() * 100 + 10;
this._yscale = this._xscale;
rot = Math.random() * 10 + 2;
this.onEnterFrame = function () {
this._alpha -= 1;
this._xscale += 1;
this._yscale += 1;
speed *= friction;
this._rotation += rot;
this._x -= speed;
this._y -= yspeed;
this.yspeed -= 0.2;
if (this._y >= 250) {
this.removeMovieClip();
}
};
}
}
movieClip 260 fuoco {
frame 1 {
_root.swapLayer(this);
this.attachMovie('fire_clip', 'fire', 10);
_root.fireArray.push(this);
}
frame 1 {
this.np = 11;
timer = 0;
damageTimer = 10;
intensity = 8;
this.stato = 0;
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
switch (this.stato) {
case 0:
if (this.coll.hitTest(_root.pl_x, _root.pl_y, true)) {
if (damageTimer == 20) {
_root.energy -= 1;
_root.effetti(this.fire, 'hit');
_root.damage.attachMovie('damage', 'damage', 10);
damageTimer = 0;
} else {
damageTimer += 1;
}
}
if (timer >= intensity) {
this.attachMovie('flame_particle', 'fp' + this.np, this.np);
this.fp = eval('this.fp' + this.np);
this.fp._x = Math.random() * 40 - 20;
this.fp._y = -(10 + Math.random() * 10);
this.np += 1;
this.attachMovie('smoke2', 'fp' + this.np, this.np);
this.fp = eval('this.fp' + this.np);
this.fp._x = Math.random() * 40 - 20;
this.fp._y = -(20 + Math.random() * 20);
this.np += 1;
timer = 0;
} else {
timer += 1;
}
break;
case 1:
if (timer >= intensity) {
this.attachMovie('smoke', 'fp' + this.np, this.np);
this.fp = eval('this.fp' + this.np);
this.fp._x = Math.random() * 40 - 20;
this.fp._y = -(10 + Math.random() * 10);
this.np += 1;
timer = 0;
} else {
timer += 1;
}
}
}
};
}
}
movieClip 263 smoke2 {
frame 1 {
this.rot = Math.random() * 1;
this._xscale = Math.random() * 20 + 50;
this._yscale = this._xscale;
this.yspeed = Math.random() * 1 + 1;
scale = Math.random() * 0.2 + 0.1;
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
this.play();
this._y -= yspeed;
this.yspeed *= 0.99;
} else {
this.stop();
}
};
}
frame 40 {
this.removeMovieClip();
}
}
movieClip 264 td_smoke {
frame 1 {
this.rot = Math.random() * 2;
this._rotation = Math.random() * 360;
this._alpha = 75;
this._xscale = Math.random() * 50 + 50;
this._yscale = this._xscale;
this.degrade = 1;
scale = Math.random() * 1 + 0.1;
speed = Math.random() * 1 + 1;
yspeed = Math.random() * 1 + 0.5;
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
this._x -= speed;
this._y -= yspeed;
this.scale *= 1.02;
this._xscale += scale;
this._yscale = this._xscale;
this._rotation += this.rot;
this._alpha -= this.degrade;
if (this._alpha <= 0) {
this.removeMovieClip();
}
}
};
}
}
movieClip 265 smoke {
frame 1 {
this.rot = Math.random() * 10 - 5;
this._xscale = Math.random() * 50 + 50;
this._yscale = this._xscale;
this.yspeed = Math.random() * 3 + 1;
this.degrade = Math.random() * 1 + 2;
scale = Math.random() * 0.2 + 0.1;
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
this._xscale += scale;
this._yscale = this._xscale;
this._rotation += this.rot;
this._y -= yspeed;
this.yspeed *= 0.98;
this._alpha -= this.degrade;
if (this._alpha <= 10) {
this.removeMovieClip();
}
}
};
}
}
movieClip 270 corpse {
frame 1 {
_root.swapLayer(this);
stop();
this.onEnterFrame = function () {
if (_root.asciaSulCadavere == 1) {
this.gotoAndStop(2);
}
};
}
frame 2 {
_root.meleeArms[1] = 1;
}
}
movieClip 273 bigBlood {
frame 1 {
time = 0;
_root.effetti(this, 'blood_splatter_00');
this._xscale = _root.scaleIndex * dir;
this._yscale = this._xscale;
}
frame 120 {
this.removeMovieClip();
}
}
movieClip 283 sawblade {
frame 10 {
_root.swapLayer(this);
_root.energy -= 2;
_root.effetti(this, 'swish');
_root.effetti(_root.US, 'hit');
_root.damage.attachMovie('damage', 'damage', 10);
play();
}
frame 70 {
this.removeMovieClip();
}
}
movieClip 286 barricade_hit {
frame 5 {
this.removeMovieClip();
}
}
movieClip 289 wooden_door_hit {
frame 10 {
this.removeMovieClip();
}
}
movieClip 290 wooden_door_broken {
}
movieClip 293 barricade {
}
movieClip 296 wooden_door {
}
movieClip 301 pow {
frame 55 {
this.removeMovieClip();
}
}
button 307 {
on (release) {
_root.effetti(this, 'bip');
this.keycode.push(1);
}
}
button 308 {
on (release) {
_root.effetti(this, 'bip');
this.keycode.push(2);
}
}
button 309 {
on (release) {
_root.effetti(this, 'bip');
this.keycode.push(3);
}
}
button 310 {
on (release) {
_root.effetti(this, 'bip');
this.keycode.push(4);
}
}
button 311 {
on (release) {
_root.effetti(this, 'bip');
this.keycode.push(5);
}
}
button 312 {
on (release) {
_root.effetti(this, 'bip');
this.keycode.push(6);
}
}
button 313 {
on (release) {
_root.effetti(this, 'bip');
this.keycode.push(7);
}
}
button 314 {
on (release) {
_root.effetti(this, 'bip');
this.keycode.push(8);
}
}
button 315 {
on (release) {
_root.effetti(this, 'bip');
this.keycode.push(9);
}
}
button 316 {
on (release) {
_root.effetti(this, 'bip');
this.keycode.push(0);
}
}
// unknown tag 88 length 197
movieClip 319 keyCodePanel {
frame 1 {
this.keycode = new Array();
this.matches = 0;
this.onEnterFrame = function () {
l = this.keycode.length;
if (l == 0) {
codice = 'ONLINE...';
} else {
codice = this.keycode;
}
if (l >= 5) {
n = 0;
while (n < l) {
if (this.keycode[n] == this.requiredKeyCode[n]) {
this.matches += 1;
} else {
this.matches = 0;
}
++n;
}
if (matches == 5) {
if (this.variabile !== '_root.pannelloCodice1') {
} else {
_root.effetti(_root, 'done');
_root.pannelloCodice1 = 1;
}
_root.pointerState = 0;
_parent.removeMovieClip();
} else {
this.keycode = new Array();
this.matches = 0;
this.codice = 'wrong code';
}
}
};
}
}
movieClip 323 interaction_area_floor {
frame 1 {
this.attivo = 0;
this.onEnterFrame = function () {
switch (this.event) {
case 0:
this.unlocked = _root.chiaveSulTetto;
break;
case 1:
this.unlocked = _root.asciaSulCadavere;
break;
case 2:
this.unlocked = _root.valvolaInserita;
break;
case 3:
this.unlocked = _root.armadiettoAperto;
break;
case 4:
this.unlocked = _root.crowbarUsato;
break;
case 5:
this.unlocked = _root.shotgunRaccolto;
break;
case 6:
this.unlocked = _root.granataUsata;
break;
case 7:
this.unlocked = _root.crankUsato;
break;
default:
this.unlocked = 0;
}
if (this.unlocked == 0) {
switch (this.behaviour) {
case 0:
if (this.attivo == 0) {
if (this.hitTest(_root.pl_x, _root.pl_y, true)) {
this.attivo = 1;
_root.messages.attachMovie('mainPanel', 'mainPanel', 10);
_root.messages.mainPanel.genre = 'roomchange';
_root.messages.mainPanel.nextRoom = this.nextRoom;
_root.messages.mainPanel.testo = this.testo;
_root.messages.mainPanel.attachMovie('yes', 'yes', 11);
_root.messages.mainPanel.yes._x = 590;
_root.messages.mainPanel.yes._y = 100;
_root.messages.mainPanel.x_start_position = this.x_start_position;
_root.messages.mainPanel.y_start_position = this.y_start_position;
}
} else {
if (this.hitTest(_root.pl_x, _root.pl_y, true) == false && this.attivo == 1) {
_root.messages.mainPanel.removeMovieClip();
_root.pointerState = 0;
this.attivo = 0;
}
}
break;
case 1:
if (this.attivo == 0) {
if (this.hitTest(_root.pl_x, _root.pl_y, true)) {
this.attivo = 1;
_root.messages.attachMovie('mainPanel', 'mainPanel', 10);
_root.messages.mainPanel.testo = this.testo;
_root.messages.mainPanel.attachMovie('pressSpace', 'pS', 1000);
_root.messages.mainPanel.pS._x = 523;
_root.messages.mainPanel.pS._y = 113;
_root.needed_item = this.needed_item;
}
} else {
if (this.hitTest(_root.pl_x, _root.pl_y, true) == false && this.attivo == 1) {
_root.needed_item = undefined;
_root.messages.mainPanel.removeMovieClip();
_root.pointerState = 0;
this.attivo = 0;
}
}
break;
case 4:
if (this.attivo == 0) {
if (this.hitTest(_root.pl_x, _root.pl_y, true)) {
this.attivo = 1;
_root.messages.attachMovie('mainPanel', 'mainPanel', 10);
_root.messages.mainPanel.genre = 'startEvent';
_root.messages.mainPanel.testo = this.testo;
_root.messages.mainPanel.testo2 = this.testo2;
_root.messages.mainPanel.variabile = this.variabile;
_root.messages.mainPanel.attachMovie('yes', 'yes', 11);
_root.messages.mainPanel.yes._x = 590;
_root.messages.mainPanel.yes._y = 100;
}
} else {
if (this.hitTest(_root.pl_x, _root.pl_y, true) == false && this.attivo == 1) {
_root.messages.mainPanel.removeMovieClip();
_root.pointerState = 0;
this.attivo = 0;
}
}
break;
default:
}
}
};
}
}
movieClip 326 {
}
movieClip 327 {
frame 1 {
n = 0;
time = 0;
this.onEnterFrame = function () {
time += 1;
if (time >= 4) {
this.attachMovie('gas_flame', 'gs' + n, n);
gs = eval('this.gs' + n);
n += 1;
time = 0;
}
};
}
}
movieClip 330 {
frame 1 {
this.attivo = 0;
this._visible = false;
this.onEnterFrame = function () {
if (this.attivo == 0) {
if (this.hitTest(_root.pl_x, _root.pl_y, true)) {
this.attivo = 1;
_root.messages.attachMovie('mainPanel', 'mainPanel', 10);
_root.messages.mainPanel.genre = 'pickUpObject';
_root.messages.mainPanel.current_item = this.current_item;
_root.messages.mainPanel.testo = this.testo;
_root.messages.mainPanel.testo2 = this.testo2;
_root.messages.mainPanel.variabile = this.variabile;
_root.messages.mainPanel.attachMovie('yes', 'yes', 11);
_root.messages.mainPanel.yes._x = 590;
_root.messages.mainPanel.yes._y = 100;
}
} else {
if (this.hitTest(_root.pl_x, _root.pl_y, true) == false && this.attivo == 1) {
_root.messages.mainPanel.removeMovieClip();
_root.pointerState = 0;
this.attivo = 0;
}
}
};
}
}
movieClip 333 gas_tube {
frame 1 {
this.onEnterFrame = function () {
if (_root.valvolaInserita == 0) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
};
}
frame 1 {
stop();
}
instance int2 of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 1;
this.needed_item = 'valve';
this.event = 2;
this.testo = _root.testi[16];
}
}
frame 2 {
stop();
}
instance int2 of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.nextRoom = 'corridors';
this.testo = _root.testi[18];
this.x_start_position = 850;
this.y_start_position = 350;
}
}
instance of movieClip 330 {
onClipEvent (load) {
this.current_item = 'valve';
this.testo = _root.testi[17];
this.testo2 = 'You removed the Valve.';
}
}
}
movieClip 336 focusPoint {
frame 1 {
this.onEnterFrame = function () {
this._alpha = _root.focusOnEnemy;
this._xscale = 100 - _root.focusOnEnemy / 2;
this._yscale = this._xscale;
};
}
}
movieClip 339 lamp_flare {
frame 1 {
this.onEnterFrame = function () {
this._yscale -= 5;
this._xscale -= 2;
this._alpha -= 2;
};
}
frame 20 {
this.removeMovieClip();
}
}
movieClip 342 piu {
}
movieClip 345 td_shadowClip {
frame 1 {
this.onEnterFrame = function () {};
}
}
movieClip 347 td_knifeShot {
frame 2 {
this.removeMovieClip();
}
}
movieClip 349 td_crateColl {
}
movieClip 358 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 363 td_pickable {
frame 1 {
frm = this.oggetto + 1;
this.ph.gotoAndStop(frm);
this.supplyGenre = this.oggetto;
this.onEnterFrame = function () {
if (this.coll.hitTest(_root.pl_x, _root.pl_y, true)) {
switch (this.oggetto) {
case 0:
_root.energy += 10;
ran = 10;
break;
case 1:
_root.mp5Mags += 20;
ran = 20;
break;
case 2:
_root.shotGunMags += 6;
ran = 6;
break;
case 3:
_root.money += ran;
}
_root.gotItem(this, ran);
this.removeMovieClip();
}
};
}
frame 61 {
this.gotoAndPlay(2);
}
}
movieClip 366 td_blood_floor {
frame 1 {
this._xscale += Math.random() * 50;
this._yscale += Math.random() * 50;
this._rotation = Math.random() * 360;
this.timer = 0;
this.onEnterFrame = function () {
this._alpha -= 0.5;
this.timer += 1;
if (this.timer >= 120) {
this.removeMovieClip();
}
};
}
}
movieClip 369 td_blood {
frame 1 {
n = 0;
while (n <= 3) {
l = _root.np;
_root.scena.particles.attachMovie('bloodSpray', 'bs' + l, l);
bs = eval('_root.scena.particles.bs' + l);
bs._x = this._x;
bs._y = this._y;
_root.np += 1;
++n;
}
}
frame 6 {
this.removeMovieClip();
}
}
movieClip 372 bloodSpray {
frame 1 {
this.xspeed = Math.random() * 10 - 5;
this.yspeed = Math.random() * 10 - 5;
this._xscale = 10 + Math.random() * 50;
this._yscale = this._xscale;
this.onEnterFrame = function () {
xspeed *= 0.98;
yspeed *= 0.98;
this._x += xspeed;
this._y += yspeed;
};
}
frame 20 {
this.removeMovieClip();
}
}
movieClip 375 lamp_side {
frame 1 {
this._xscale = 200;
this._yscale = 400;
this._alpha = 90;
this.onEnterFrame = function () {
switch (_root.US.item) {
case 3:
this._visible = false;
break;
default:
this._visible = true;
}
this._x = _root.US._x;
this._y = _root.US._y - 80;
this._xscale = -300 * _root.US.dir;
};
}
}
movieClip 377 lamp {
frame 1 {
this._xscale = 200;
this._yscale = 200;
this._alpha = 90;
this.onEnterFrame = function () {
this._x = _root.US._x;
this._y = _root.US._y;
this._rotation = _root.US.chest._rotation;
};
}
}
movieClip 383 boss_coll {
}
movieClip 384 boss_blade {
frame 30 {
_root.effetti(this, 'knife_out');
}
frame 30 {
this._xscale = _root.scaleIndex;
this._yscale = _root.scaleIndex;
_root.swapLayer(this);
}
frame 34 {
if (this.collision.hitTest(_root.US.coll)) {
offset = Math.abs(this._y - _root.US._y);
if (offset <= 20) {
_root.effetti(_root.scena, 'hit');
_root.energy -= 10;
_root.damage.attachMovie('damage', 'damage', 10);
}
}
}
frame 55 {
stop();
this.onEnterFrame = function () {
this._alpha -= 1;
if (this._alpha <= 0) {
_root.deleteFoe(this);
}
};
}
}
movieClip 389 {
frame 1 {
this._visible = false;
this.onEnterFrame = function () {
if (this.hitTest(_root.pl_x, _root.pl_y, true)) {
_root.currentRoom = this.nextRoom;
_root.pointerState = 0;
_root.x_start_position = this.x_start_position;
_root.y_start_position = this.y_start_position;
_root.gotoAndPlay('refreshGame');
}
};
}
}
movieClip 392 {
frame 1 {
this._visible = false;
this.attivo = 0;
this.onEnterFrame = function () {
if (this.attivo == 0) {
if (this.hitTest(_root.pl_x, _root.pl_y, true)) {
this.attivo = 1;
if (_root.enemyArray.length == 0) {
_root.messages.attachMovie('mainPanel', 'mainPanel', 10);
_root.messages.mainPanel.genre = 'event';
_root.messages.mainPanel.testo = this.testo;
}
}
} else {
if (this.hitTest(_root.pl_x, _root.pl_y, true) == false && this.attivo == 1) {
_root.messages.mainPanel.removeMovieClip();
_root.pointerState = 0;
this.attivo = 0;
}
}
};
}
}
movieClip 393 elevator_down {
frame 1 {
_root.wallArray = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 293, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 294, 295, 295, 296, 296, 297, 297, 298, 298, 298, 299, 299, 300, 300, 301, 301, 302, 302, 302, 303, 303, 304, 304, 305, 305, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 299);
_root.wallArray3 = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 299, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 304, 304, 304, 304, 304, 305, 305, 305, 305, 305, 306, 306, 306, 306, 306, 306, 307, 307, 307, 307, 307, 308, 308, 308, 308, 308, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 308, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311);
_root.leftBound = 50;
_root.rightBound = 490;
}
instance of movieClip 389 {
onClipEvent (load) {
this.nextRoom = 'corridor_down';
this.x_start_position = 1300;
this.y_start_position = 302;
}
}
instance int1 of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.nextRoom = 'elevator';
this.testo = 'I can climb up to the upper floors.';
this.x_start_position = 304;
this.y_start_position = 302;
}
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[60];
}
}
}
movieClip 396 elevator_down_front {
}
movieClip 399 corridor_down_columns {
}
movieClip 402 yellow_fog {
frame 1 {
this.layer = this._y * _root.totalLayers + this.layerIndex;
this.swapDepths(this.layer);
this._alpha = 30;
}
}
movieClip 403 columns {
frame 1 {
this.layer = 325 * _root.totalLayers + this.layerIndex;
this.swapDepths(this.layer);
}
}
movieClip 406 xp {
frame 1 {
speed = 8;
this._xscale = _root.scaleIndex;
this._yscale = _root.scaleIndex;
this.onEnterFrame = function () {
this._y -= speed;
speed *= 0.85;
};
}
frame 61 {
this.removeMovieClip();
}
}
movieClip 411 cadillac {
frame 1 {
_root.swapLayer(this);
}
}
movieClip 416 hstar {
}
movieClip 417 {
frame 1 {
stop();
if (_root.crankUsato == 1) {
this.gotoAndStop(240);
}
this.onEnterFrame = function () {
if (this._currentframe == 1) {
if (_root.crankUsato == 1) {
this.gotoAndPlay(2);
}
} else {
if (this._currentframe < 240) {
if (_root.pausedGame == 0) {
this.play();
} else {
this.stop();
}
}
}
};
}
instance of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 1;
this.needed_item = 'crank';
this.event = 7;
this.testo = 'a hole for a crank. Let\'s take a look around, could be a good way out...';
}
}
frame 240 {
stop();
}
instance of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.testo = _root.testi[54];
this.nextRoom = 'roof_0';
this.x_start_position = 312;
this.y_start_position = 1451;
}
}
}
movieClip 420 {
frame 1 {
this._visible = false;
this.attivo = 0;
this.onEnterFrame = function () {
if (this.attivo == 0) {
if (this.hitTest(_root.pl_x, _root.pl_y, true)) {
this.attivo = 1;
_root.messages.attachMovie('mainPanel', 'mainPanel', 10);
_root.messages.mainPanel.genre = 'event';
_root.messages.mainPanel.testo = this.testo;
}
} else {
if (this.hitTest(_root.pl_x, _root.pl_y, true) == false && this.attivo == 1) {
_root.messages.mainPanel.removeMovieClip();
_root.pointerState = 0;
this.attivo = 0;
}
}
};
}
}
movieClip 421 tutorial_back {
frame 1 {
if (_root.playerSpawning == 0) {
this.attachMovie('player_spawner', 'ps', 10);
this.ps._x = _root.US._x;
this.ps._y = _root.US._y;
_root.playerSpawning = 1;
}
_root.generateCrate('supplies_00', 2722, 211, 0, 'painkiller_ammo_pack', 25);
_root.generateCrate('supplies_00', 3081, 418, 0, 'NG_tank', 26);
}
frame 1 {
_root.placeObject(this, 'cadillac', 2779, 283, 100);
_root.generateFoe('cop', 2795, 327);
_root.generateFoe('cop', 3382, 344);
_root.generateFoe('cop', 1500, 260);
if (_root.crank == 0) {
_root.releaseObject(this, 'crank', 3303, 284);
}
this.onEnterFrame = function () {
if (_root.crank == 1 && _root.crankUsato == 0) {
_root.resurrection = 1;
_root.generateFoe('z1', 1000, 332);
_root.generateFoe('z1', 3700, 286);
delete this.onEnterFrame;
}
};
}
frame 1 {
_root.wallArray = new Array(undefined, undefined, undefined, undefined, undefined, undefined, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 258, 258, 258, 259, 259, 259, 260, 260, 260, 261, 261, 261, 262, 262, 262, 262, 263, 263, 263, 264, 264, 264, 265, 265, 265, 266, 266, 266, 267, 267, 267, 267, 268, 268, 268, 269, 269, 269, 270, 270, 270, 271, 271, 271, 272, 272, 272, 272, 273, 273, 273, 273, 274, 274, 274, 274, 275, 275, 275, 275, 276, 276, 276, 276, 276, 277, 277, 277, 277, 278, 278, 278, 278, 279, 279, 279, 279, 280, 280, 280, 280, 280, 281, 281, 281, 281, 282, 282, 282, 282, 283, 283, 283, 283, 284, 284, 284, 284, 284, 285, 285, 285, 285, 286, 286, 286, 286, 287, 287, 287, 287, 288, 288, 288, 288, 288, 289, 289, 289, 289, 290, 290, 290, 290, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 266, 265, 264, 263, 262, 261, 260, 259, 258, 256, 255, 254, 253, 252, 251, 250, 249, 247, 246, 245, 244, 243, 242, 241, 240, 239, 237, 236, 235, 234, 233, 232, 231, 230, 228, 227, 226, 225, 224, 223, 222, 221, 219, 219, 219, 219, 219, 218, 218, 218, 218, 217, 217, 217, 217, 216, 216, 216, 216, 216, 215, 215, 215, 215, 214, 214, 214, 214, 213, 213, 213, 213, 213, 212, 212, 212, 212, 211, 211, 211, 211, 210, 210, 210, 210, 210, 209, 209, 209, 209, 208, 208, 208, 208, 207, 207, 207, 207, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 209, 209, 209, 209, 209, 209, 209, 209, 209, 209, 209, 209, 209, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 211, 211, 211, 211, 211, 211, 211, 211, 211, 211, 211, 211, 211, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 215, 216, 216, 217, 218, 218, 219, 220, 220, 221, 222, 222, 223, 224, 224, 225, 225, 226, 227, 227, 228, 229, 229, 230, 231, 231, 232, 233, 233, 234, 234, 235, 236, 236, 237, 238, 238, 239, 240, 240, 241, 242, 242, 243, 243, 244, 245, 245, 246, 247, 247, 248, 249, 249, 250, 251, 251, 252, 252, 253, 254, 255, 256, 256, 257, 258, 259, 260, 260, 261, 262, 263, 264, 264, 265, 266, 267, 268, 268, 269, 270, 271, 272, 272, 273, 274, 275, 276, 276, 277, 278, 279, 280, 280, 281, 282, 283, 284, 284, 285, 286, 287, 288, 288, 289, 290, 291, 292, 292, 293, 294, 295, 296, 296, 297, 297, 297, 297, 297, 298, 298, 298, 298, 298, 298, 299, 299, 299, 299, 299, 300, 300, 300, 300, 300, 300, 301, 301, 301, 301, 301, 301, 302, 302, 302, 302, 302, 303, 303, 303, 303, 303, 303, 304, 304, 304, 304, 304, 304, 304, 304, 304, 303, 303, 303, 302, 302, 302, 301, 301, 301, 300, 300, 300, 299, 299, 299, 298, 298, 298, 297, 297, 297, 296, 296, 296, 295, 295, 295, 294, 294, 294, 293, 293, 293, 292, 292, 292, 291, 291, 291, 290, 290, 290, 289, 289, 289, 288, 288, 288, 287, 287, 287, 286, 286, 286, 285, 285, 285, 284, 284, 284, 283, 283, 282, 282, 282, 281, 281, 281, 280, 280, 279, 279, 279, 278, 278, 277, 277, 277, 276, 276, 276, 275, 275, 274, 274, 274, 273, 273, 273, 272, 272, 271, 271, 271, 270, 270, 269, 269, 269, 268, 268, 268, 267, 267, 266, 266, 266, 265, 265, 265, 264, 264, 263, 263, 263, 262, 262, 261, 261, 260, 260, 259, 259, 258, 257, 257, 256, 256, 255, 254, 254, 253, 253, 252, 252, 251, 250, 250, 249, 249, 248, 247, 247, 246, 246, 245, 244, 244, 243, 243, 242, 242, 241, 240, 240, 239, 239, 238, 237, 237, 236, 236, 235, 234, 234, 234, 234, 233, 233, 233, 232, 232, 232, 231, 231, 231, 230, 230, 230, 229, 229, 229, 228, 228, 228, 227, 227, 227, 226, 226, 226, 225, 225, 225, 224, 224, 224, 223, 223, 223, 222, 222, 222, 221, 221, 221, 220, 220, 220, 219, 219, 219, 218, 218, 218, 217, 217, 217, 216, 216, 216, 215, 215, 215, 214, 214, 214, 213, 213, 213, 212, 212, 212, 211, 211, 211, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 211, 211, 211, 212, 212, 212, 212, 213, 213, 213, 214, 214, 214, 214, 215, 215, 215, 215, 216, 216, 216, 217, 217, 217, 217, 218, 218, 218, 218, 219, 219, 219, 220, 220, 220, 220, 221, 221, 221, 222, 222, 222, 222, 223, 223, 223, 223, 224, 224, 224, 225, 225, 225, 225, 226, 226, 226, 226, 227, 227, 227, 228, 228, 228, 228, 229, 229, 229, 229, 230, 230, 230, 231, 231, 231, 231, 232, 232, 232, 232, 233, 233, 233, 234, 234, 234, 234, 235, 235, 235, 235, 236, 236, 236, 237, 237, 237, 237, 238, 238, 238, 238, 239, 239, 239, 240, 240, 240, 240, 241, 241, 241, 241, 242, 242, 242, 243, 243, 243, 243, 244, 244, 244, 244, 245, 245, 245, 245, 245, 245, 245, 245, 245, 244, 244, 244, 244, 244, 243, 243, 243, 243, 243, 243, 242, 242, 242, 242, 242, 241, 241, 241, 241, 241, 241, 240, 240, 240, 240, 240, 239, 239, 239, 239, 239, 238, 238, 238, 238, 238, 238, 237, 237, 237, 237, 237, 236, 236, 236, 236, 236, 236, 235, 235, 235, 235, 235, 234, 234, 234, 234, 234, 234, 233, 233, 233, 233, 233, 232, 232, 232, 232, 232, 231, 231, 231, 231, 231, 231, 230, 230, 230, 230, 230, 229, 229, 229, 229, 229, 229, 228, 228, 228, 228, 228, 227, 227, 227, 227, 227, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 225, 225, 225, 225, 225, 225, 225, 225, 225, 224, 224, 224, 224, 224, 224, 224, 224, 224, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 222, 222, 222, 222, 222, 222, 222, 222, 222, 221, 221, 221, 221, 221, 221, 221, 221, 221, 220, 221, 221, 221, 221, 221, 221, 221, 221, 222, 222, 222, 222, 222, 222, 222, 222, 222, 223, 223, 223, 223, 223, 223, 223, 223, 223, 224, 224, 224, 224, 224, 224, 224, 224, 224, 225, 225, 225, 225, 225, 225, 225, 225, 225, 226, 226, 226, 226, 226, 226, 226, 226, 226, 227, 227, 227, 227, 227, 227, 227, 227, 227, 228, 228, 229, 229, 229, 230, 230, 231, 231, 231, 232, 232, 233, 233, 233, 234, 234, 235, 235, 235, 236, 236, 237, 237, 237, 238, 238, 239, 239, 239, 240, 240, 241, 241, 241, 242, 242, 243, 243, 243, 244, 244, 245, 245, 245, 246, 246, 247, 247, 247, 248, 248, 249, 249, 249, 250, 250, 251, 251, 251, 252, 252, 253, 253, 253, 254, 254, 255, 255, 255, 256, 256, 257, 257, 257, 258, 258, 259, 259, 259, 260, 260, 261, 261, 261, 262, 262, 262, 263, 264, 265, 265, 266, 267, 267, 268, 269, 269, 270, 271, 272, 272, 273, 274, 274, 275, 276, 276, 277, 278, 279, 279, 280, 281, 281, 282, 283, 283, 284, 285, 286, 286, 287, 288, 288, 289, 290, 290, 291, 291, 291, 291, 291, 291, 291, 291, 292, 292, 292, 292, 292, 292, 292, 292, 293, 293, 293, 293, 293, 293, 293, 293, 294, 294, 294, 294, 294, 294, 294, 294, 295, 295, 295, 295, 295, 295, 295, 295, 296, 296, 296, 296, 296, 296, 296, 296, 297, 297, 297, 297, 297, 297, 297, 297, 298, 298, 298, 298, 298, 298, 298, 298, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 290, 291, 291, 291, 291, 291, 291, 291, 292, 292, 292, 292, 292, 292, 292, 293, 293, 293, 293, 293, 293, 293, 293, 294, 294, 294, 294, 294, 294, 294, 295, 295, 295, 295, 295, 295, 295, 296, 296, 296, 296, 296, 296, 296, 296, 297, 298, 298, 299, 299, 300, 300, 301, 301, 302, 302, 303, 303, 304, 304, 305, 305, 306, 307, 307, 308, 308, 309, 309, 310, 310, 311, 311, 312, 312, 313, 313, 314, 314, 315, 315, 316, 317, 317, 318, 318, 319, 319, 320, 320, 321, 321, 322, 322, 323, 323, 324, 324, 325, 325, 326, 326, 327, 327, 327, 328, 328, 328, 329, 329, 330, 330, 330, 331, 331, 331, 332, 332, 333, 333, 333, 334, 334, 334, 335, 335, 335, 336, 336, 337, 337, 337, 338, 338, 338, 339, 339, 340, 340, 340, 341, 341, 341, 342, 342, 342, 343, 344, 344, 345, 345, 346, 346, 347, 348, 348, 349, 349, 350, 350, 351, 351, 352, 353, 353, 354, 354, 355, 355, 356, 356, 357, 358, 358, 359, 359, 360, 360, 361, 361, 362, 363, 363, 364, 364, 365, 365, 366, 366, 367, 368, 368, 369, 369, 370, 370, 371, 371, 372, 373, 373, 374, 374, 375, 375, 376, 376, 377, 378, 378, 379, 379, 380, 380, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 380, 379, 377, 376, 374, 373, 371, 369, 368, 366, 365, 363, 361, 360, 358, 357, 355, 354, 352, 350, 349, 347, 346, 344, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 337, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338);
_root.wallArray3 = new Array(409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 408, 408, 408, 408, 407, 407, 407, 407, 406, 406, 406, 406, 405, 405, 405, 405, 404, 404, 404, 404, 403, 403, 403, 403, 402, 402, 402, 402, 401, 401, 401, 401, 400, 400, 400, 400, 399, 399, 399, 399, 398, 398, 398, 398, 397, 397, 397, 397, 396, 396, 396, 396, 395, 395, 395, 395, 394, 394, 394, 394, 393, 393, 393, 393, 392, 392, 392, 392, 391, 391, 391, 391, 390, 390, 390, 390, 389, 389, 389, 389, 388, 388, 388, 388, 387, 387, 387, 387, 386, 386, 386, 386, 385, 385, 385, 385, 385, 385, 385, 385, 385, 385, 385, 385, 385, 384, 384, 384, 384, 384, 384, 384, 384, 384, 384, 384, 384, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 374, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 381, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 379, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 375, 376, 376, 377, 377, 377, 378, 378, 378, 379, 379, 379, 380, 380, 380, 381, 381, 382, 382, 382, 383, 383, 383, 384, 384, 384, 385, 385, 385, 386, 386, 387, 387, 387, 388, 388, 388, 389, 389, 389, 390, 390, 390, 391, 391, 392, 392, 392, 393, 393, 393, 394, 394, 394, 395, 395, 395, 396, 396, 397, 397, 397, 398, 398, 398, 399, 399, 399, 400, 400, 400, 401, 401, 402, 402, 402, 403, 403, 403, 404, 404, 404, 405, 405, 405, 406, 406, 407, 407, 407, 408, 408, 408, 409, 409, 409, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 405, 405, 405, 405, 405, 405, 405, 405, 405, 405, 405, 405, 405, 405, 405, 405, 405, 405, 405, 405, 405, 405, 405, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 403, 403, 403, 403, 403, 402, 402, 402, 402, 402, 401, 401, 401, 401, 401, 400, 400, 400, 400, 399, 399, 399, 399, 399, 398, 398, 398, 398, 398, 397, 397, 397, 397, 396, 396, 396, 396, 396, 395, 395, 395, 395, 395, 394, 394, 394, 394, 393, 393, 393, 393, 393, 392, 392, 392, 392, 392, 391, 391, 391, 391, 390, 390, 390, 390, 390, 389, 389, 389, 389, 389, 388, 388, 388, 388, 387, 387, 387, 387, 387, 386, 386, 386, 386, 386, 385, 385, 385, 385, 384, 384, 384, 384, 384, 383, 383, 383, 383, 383, 382, 382, 382, 382, 381, 381, 380, 380, 379, 379, 378, 378, 377, 377, 376, 376, 375, 374, 374, 373, 373, 372, 372, 371, 371, 370, 370, 369, 368, 368, 367, 367, 366, 366, 365, 365, 364, 364, 363, 363, 362, 361, 361, 360, 360, 359, 359, 358, 358, 357, 357, 356, 355, 355, 354, 354, 353, 353, 352, 352, 351, 351, 350, 349, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 355, 355, 355, 355, 355, 355, 355, 355, 355, 355, 355, 355, 355, 355, 355, 356, 356, 356, 356, 356, 356, 356, 356, 356, 356, 356, 356, 356, 356, 356, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 359, 359, 359, 359, 359, 359, 359, 359, 359, 359, 359, 359, 359, 359, 359, 360, 360, 360, 360, 360, 360, 360, 360, 360, 360, 360, 360, 360, 360, 360, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, 363, 363, 363, 363, 363, 363, 363, 363, 364, 364, 364, 364, 364, 364, 364, 364, 365, 365, 365, 365, 365, 365, 365, 365, 366, 366, 366, 366, 366, 366, 366, 366, 367, 367, 367, 367, 367, 367, 367, 367, 368, 368, 368, 368, 368, 368, 368, 368, 369, 369, 369, 369, 369, 369, 369, 369, 370, 370, 370, 370, 370, 370, 370, 370, 371, 371, 371, 371, 371, 371, 371, 371, 372, 372, 372, 372, 372, 372, 372, 372, 373, 373, 373, 373, 373, 373, 373, 373, 374, 374, 374, 374, 374, 374, 374, 374, 375, 375, 375, 375, 375, 375, 375, 375, 376, 376, 376, 376, 376, 376, 376, 376, 377, 377, 377, 377, 377, 377, 377, 377, 378, 378, 378, 378, 378, 378, 378, 378, 379, 379, 379, 379, 379, 379, 379, 379, 380, 380, 380, 380, 380, 380, 380, 380, 381, 381, 381, 381, 381, 381, 381, 381, 382, 382, 382, 382, 382, 382, 382, 382, 383, 383, 383, 383, 383, 383, 383, 383, 384, 384, 384, 384, 384, 384, 384, 384, 385, 385, 385, 385, 385, 385, 385, 385, 386, 386, 386, 386, 386, 386, 386, 386, 387, 387, 387, 387, 387, 387, 387, 387, 388, 388, 388, 388, 388, 388, 388, 388, 389, 389, 389, 389, 389, 389, 389, 389, 390, 390, 390, 390, 390, 390, 390, 390, 390, 391, 391, 391, 392, 392, 392, 392, 393, 393, 393, 393, 394, 394, 394, 394, 395, 395, 395, 395, 396, 396, 396, 397, 397, 397, 397, 398, 398, 398, 398, 399, 399, 399, 399, 400, 400, 400, 400, 401, 401, 401, 402, 402, 402, 402, 403, 403, 403, 403, 404, 404, 404, 404, 405, 405, 405, 405, 406, 406, 406, 406, 407, 407, 407, 408, 408, 408, 408, 409, 409, 409, 409, 410, 410, 410, 410, 411, 411, 411, 411, 412, 412, 412, 413, 413, 413, 413, 414, 414, 414, 414, 415, 415, 415, 415, 416, 416, 416, 416, 417, 417, 417, 417, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 419, 419, 418, 418, 417, 417, 416, 416, 416, 415, 415, 414, 414, 413, 413, 412, 412, 411, 411, 411, 410, 410, 409, 409, 408, 408, 407, 407, 406, 406, 406, 405, 405, 404, 404, 403, 403, 402, 402, 401, 401, 400, 399, 399, 398, 397, 397, 396, 395, 394, 394, 393, 392, 392, 391, 390, 390, 389, 388, 387, 387, 386, 385, 385, 384, 383, 383, 382, 381, 380, 380, 379, 378, 378, 377, 376, 375, 375, 375, 375, 375, 375, 374, 374, 374, 374, 374, 373, 373, 373, 373, 373, 373, 372, 372, 372, 372, 372, 371, 371, 371, 371, 371, 370, 370, 370, 370, 370, 370, 369, 369, 369, 369, 369, 368, 368, 368, 368, 368, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, 361);
_root.leftBound = 70;
_root.rightBound = 4100;
}
instance of movieClip 420 {
onClipEvent (load) {
this.testo = _root.testi[56];
}
}
instance of movieClip 420 {
onClipEvent (load) {
this.testo = _root.testi[59];
}
}
instance of movieClip 420 {
onClipEvent (load) {
this.testo = _root.testi[57];
}
}
instance of movieClip 389 {
onClipEvent (load) {
this.nextRoom = 'town';
this.x_start_position = 1687;
this.y_start_position = 317;
}
}
}
movieClip 424 tutorial_front {
}
movieClip 429 tutorial_skull {
}
// unknown tag 88 length 59
movieClip 434 {
}
movieClip 437 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 439 {
}
movieClip 449 tutorial_text {
frame 1 {
this.onEnterFrame = function () {
switch (_root.US.dir) {
case 1:
stagex = -300;
break;
case -1:
stagex = 40;
}
this._x += (stagex - this._x) * 0.1;
};
}
frame 1 {
stop();
}
}
movieClip 450 tutorial_panel {
frame 1 {
function turnPage(clip, tempo, pagina, frame) {
clip.time += 1;
if (clip.time >= tempo) {
clip.time = 0;
clip.page = pagina;
clip.testi.gotoAndStop(frame);
}
}
timer = 0;
page = '1';
time = 0;
this.skip = this.testi.skip;
this.onMouseUp = function () {
if (this.skip._currentframe == 2 && _root.pausedGame == 0) {
this.time = 600;
}
};
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
px = _root.US._x;
this._x += (px - this._x) * 0.05;
if (this._x <= 350) {
this._x = 350;
}
if (this._x >= 1450) {
this._x = 1450;
}
switch (page) {
break;
case '0':
case '1':
_root.rightBound = 300;
this.turnPage(this, 600, '2', 2);
break;
case '2':
this.turnPage(this, 600, 'walk', 3);
break;
case 'walk':
_root.rightBound = 1100;
if (_root.US._x >= 600) {
this.turnPage(this, 1, 'melee', 4);
}
break;
case 'melee':
l = _root.crateArray.length;
if (l == 2) {
_root.gunMags = 100;
this.turnPage(this, 1, 'shoot', 5);
}
break;
case 'shoot':
l = _root.crateArray.length;
if (l == 0) {
_root.rightBound = 1700;
this.turnPage(this, 1, '6', 6);
}
break;
case '6':
this.turnPage(this, 600, '7', 7);
break;
case '7':
this.turnPage(this, 600, '8', 8);
break;
case '8':
this.turnPage(this, 600, '9', 9);
break;
case '9':
this.turnPage(this, 600, '10', 10);
break;
case '10':
_root.rightBound = 2000;
}
this._visible = true;
mousex = _root._xmouse;
mousey = _root._ymouse;
if (this.skip.coll.hitTest(mousex, mousey, true)) {
this.skip.gotoAndStop(2);
} else {
this.skip.gotoAndStop(1);
}
if (this.testi.coll.hitTest(_root.pointer.pointer)) {
_root.pointerState = 1;
} else {
_root.pointerState = 0;
}
} else {
this._visible = false;
}
};
}
}
movieClip 455 player_spawner {
frame 1 {
_root.effetti(this, 'spawn_sfx');
}
frame 120 {
this.removeMovieClip();
}
}
movieClip 458 deadhead {
frame 1 {
yspeed = 14;
xspeed = 4 - Math.random() * 8;
this.bounces = 0;
this.onEnterFrame = function () {
this._rotation += this.xspeed;
this._y -= yspeed;
this._x -= this.xspeed;
this.xspeed *= 0.99;
this.yspeed -= 0.5;
if (this._y > 0) {
this.bounces += 1;
this._y = 0;
this.yspeed = -this.yspeed * 0.5;
}
if (this.bounces >= 6) {
this.removeMovieClip();
}
};
}
}
movieClip 465 shining {
}
movieClip 467 flea {
frame 1 {
startx = this._x;
starty = this._y;
this.stato = 2;
this._xscale = 50;
this._yscale = 50;
this.onEnterFrame = function () {
if (this.stato !== 2) {
} else {
this._x += Math.random() * 10 - 5;
this._y += Math.random() * 10 - 5;
this._x -= (this._x - startx) / this._x;
this._y -= (this._y - starty) / this._y;
}
};
}
}
movieClip 469 spawn_area {
}
movieClip 472 {
}
movieClip 473 {
}
movieClip 475 {
}
movieClip 477 {
frame 1 {
stop();
}
}
movieClip 480 {
}
movieClip 481 {
}
movieClip 484 {
}
movieClip 487 {
frame 1 {
stop();
}
}
movieClip 488 Preloader {
frame 1 {
function enterFrameHandler() {
var v2 = 0;
v2 = _root.getBytesLoaded() / _root.getBytesTotal();
if (loadingBar) {
loadingBar.gotoAndStop(int(v2 * (loadingBar._totalframes - 1)) + 1);
}
if (v2 >= 1 && haltComplete != true) {
onEnterFrame = null;
gotoAndStop('loaded');
}
}
stop();
var autoPlay;
var className;
var haltComplete;
onEnterFrame = enterFrameHandler;
}
frame 10 {
function _onPlayClick() {
_root.nextFrame();
_root.play();
_parent._onLoaded();
}
if (playButton) {
playButton.onRelease = _onPlayClick;
playButton.stop();
}
if (autoPlay) {
_onPlayClick(null);
}
}
}
movieClip 490 Newgrounds API Classes {
#initclip
Object.registerClass('Newgrounds API Classes', com.newgrounds.shims.APIShim);
#endinitclip
}
movieClip 530 {
}
movieClip 533 {
}
movieClip 538 {
}
movieClip 542 {
}
movieClip 543 {
}
movieClip 544 {
}
movieClip 545 FlashAd {
#initclip
Object.registerClass('FlashAd', com.newgrounds.components.FlashAdBase);
#endinitclip
frame 1 {
function initPlayButton() {
if (this.playButton) {
this.playButton.onRelease = onPlayClick;
if (!this.showPlayButton) {
this.playButton._visible = false;
}
}
}
function onPlayClick() {
removeAd();
_visible = false;
}
stop();
}
frame 2 {
initPlayButton();
}
frame 10 {
initPlayButton();
}
frame 20 {
initPlayButton();
}
}
movieClip 546 APIConnector {
frame 1 {
function _onLoaded() {
gotoAndStop('invisible');
if (_redirect) {
com.newgrounds.API.loadOfficialVersion();
return undefined;
}
}
function _apiConnect() {
var v2 = com.newgrounds.API;
if (v2 && !v2.connected) {
if (!apiId) {
com.newgrounds.Logger.logError('No API ID entered in the API Connector component.', 'You can create an API ID for this submission at http://newgrounds.com/account/flashapi', 'Enter your API ID into the API Connector using the Component Inspector (Window -> Component Inspector).');
return undefined;
}
switch (debugMode) {
case 'Off':
default:
v2.debugMode = v2.RELEASE_MODE;
goto 1319;
case 'Simulate Logged-in User':
//Invalid switch }
v2.debugMode = v2.DEBUG_MODE_LOGGED_IN;
goto 1319;
case 'Off':
v2.debugMode = v2.DEBUG_MODE_LOGGED_OUT;
goto 1319;
case 'Simulate Logged-in User':
v2.debugMode = v2.DEBUG_MODE_NEW_VERSION;
goto 1319;
case 'Simulate Logged-out User':
v2.debugMode = v2.DEBUG_MODE_HOST_BLOCKED;
label 1319:
if (loader) {
loader.haltComplete = true;
}
v2.addEventListener(com.newgrounds.APIEvent.API_CONNECTED, _onConnected);
v2.connect(_root, apiId, encryptionKey, movieVersion);
}
}
function _onConnected(event) {
if (loader) {
loader.haltComplete = false;
}
if (redirectOnNewVersion && event.__get__success() && (event.__get__data()).newVersion) {
_redirect = true;
}
if (redirectOnHostBlocked && !event.__get__success() && event.__get__error() == com.newgrounds.APIEvent.ERROR_HOST_BLOCKED) {
_redirect = true;
}
if (_redirect) {
gotoAndStop('adPreloader');
forceAlwaysOnTop();
}
}
function forceAlwaysOnTop() {
var v2 = getNextHighestDepth();
swapDepths(v2);
if (Stage) {
_x = (Stage.width - _width) / 2;
_y = (Stage.height - _height) / 2;
_visible = true;
}
if (_root && _root instanceof MovieClip) {
(MovieClip(_root)).stop();
}
}
stop();
if (_root && _root instanceof MovieClip) {
(MovieClip(_root)).stop();
}
var apiId;
var encryptionKey;
var movieVersion;
var debugMode;
var connectorType;
var redirectOnHostBlocked;
var redirectOnNewVersion;
var adType;
var className;
var _redirect;
_x = int(_x);
_y = int(_y);
if (!debugMode) {
debugMode = 'Simulate Logged-in User';
}
if (!connectorType) {
connectorType = 'Flash Ad + Preloader';
}
if (!adType) {
adType = 'Video';
}
if (ad) {
ad.adType = adType;
}
switch (connectorType) {
case 'Flash Ad + Preloader':
gotoAndStop('adPreloader');
break;
case 'Flash Ad Only':
gotoAndStop('ad');
break;
case 'Invisible':
gotoAndStop('invisible');
}
_apiConnect();
}
instance ad of movieClip 545 FlashAd {
onClipEvent (construct) {
apiId = '';
showBorder = true;
adType = 'Video';
}
}
instance loader of movieClip 488 Preloader {
onClipEvent (construct) {
autoPlay = false;
mainClass = '';
}
}
}
instance of movieClip 546 APIConnector {
onClipEvent (construct) {
apiId = '32498:mSOJ5Agm';
encryptionKey = 'h67PUS9Ok6k80JMOeCYJfCPVIkFSewaE';
debugMode = 'Simulate Logged-in User';
movieVersion = '';
connectorType = 'Flash Ad + Preloader';
redirectOnNewVersion = true;
redirectOnHostBlocked = true;
adType = 'Video';
}
}
movieClip 499 __Packages.com.newgrounds.APIConnection {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.APIConnection) {
var v1 = function () {
this.reset();
};
com.newgrounds.APIConnection = v1;
var v2 = v1.prototype;
v2.__get__hostURL = function () {
return this._hostURL;
};
v2.__set__hostURL = function (value) {
this._hostURL = value;
this.hostDomain = null;
if (this._hostURL) {
var v2 = this._hostURL.split('/');
if (v2[0] != 'file:' && this._hostURL != 'localhost') {
this.hostDomain = (v2.splice(0, 3)).join('/');
}
}
if (!this.hostDomain) {
this.hostDomain = 'localhost';
}
return this.__get__hostURL();
};
v2.__get__sandboxType = function () {
return System.security.sandboxType;
};
v2.__get__isNetworkHost = function () {
switch (this.__get__sandboxType()) {
return true;
case 'localWithFile':
case 'localWithNetwork':
case 'localTrusted':
case 'application':
return false;
case 'remote':
}
return true;
};
v2.__get__hasUserSession = function () {
return this.sessionId != null && this.sessionId != '' && this.publisherId != 0;
};
v2.__get__connected = function () {
return this.connectionState == com.newgrounds.APIConnection.CONNECTED;
};
v2.reset = function () {
this.connectionState = com.newgrounds.APIConnection.NOT_CONNECTED;
this.encryptionKey = null;
this.sessionId = null;
this.userEmail = null;
this.username = null;
this.userId = 0;
this.userpageFormat = 0;
};
v2.assertInitialized = function () {
if (!this.initialized) {
com.newgrounds.Logger.logError('You must initialized the API using API.connect() before using this command.');
return false;
}
return true;
};
v2.assertConnected = function () {
if (!this.connectionState == com.newgrounds.APIConnection.CONNECTED) {
com.newgrounds.Logger.logError('You must establish a connection using API.connect() before using this command.');
return false;
}
return true;
};
v2.sendSimpleCommand = function (command, completeHandler, parameters, secureParameters) {
if (parameters == undefined) {
parameters = null;
}
if (secureParameters == undefined) {
secureParameters = null;
}
var v2 = new com.newgrounds.APICommand(command);
v2.__set__parameters(parameters);
v2.__set__secureParameters(secureParameters);
if (completeHandler != null) {
v2.addEventListener(com.newgrounds.APIEvent.COMMAND_COMPLETE, completeHandler);
}
v2.send(this);
};
v2.sendCommand = function (command) {
command.send(this);
};
v2.loadInBrowser = function (command, newWindow, parameters) {
if (newWindow == undefined) {
newWindow = true;
}
if (parameters == undefined) {
parameters = null;
}
var v2 = new com.newgrounds.APICommand(command);
v2.__set__parameters(parameters);
v2.loadInBrowser(this, newWindow);
};
v1.NOT_CONNECTED = 'notConnected';
v1.CONNECTING = 'connecting';
v1.CONNECTED = 'connected';
v2.connectionState = com.newgrounds.APIConnection.NOT_CONNECTED;
v2.apiURL = 'http://www.ngads.com/gateway_v2.php';
v2.addProperty('connected', v2.__get__connected, function () {});
v2.addProperty('hasUserSession', v2.__get__hasUserSession, function () {});
v2.addProperty('hostURL', v2.__get__hostURL, v2.__set__hostURL);
v2.addProperty('isNetworkHost', v2.__get__isNetworkHost, function () {});
v2.addProperty('sandboxType', v2.__get__sandboxType, function () {});
ASSetPropFlags(com.newgrounds.APIConnection.prototype, null, 1);
}
#endinitclip
}
movieClip 492 __Packages.com.newgrounds.EventDispatcher {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.EventDispatcher) {
var v1 = function () {
this._listeners = {};
};
com.newgrounds.EventDispatcher = v1;
var v2 = v1.prototype;
v2.addEventListener = function (type, listener) {
if (!this._listeners[type]) {
this._listeners[type] = [];
}
if (typeof listener == 'function') {
this._listeners[type].push({'target': null, 'func': listener});
} else {
this._listeners[type].push(listener);
}
};
v2.removeEventListener = function (type, listener) {
var v3 = this._listeners[type];
if (v3) {
var v5 = v3.length;
var v2 = 0;
while (v2 < v5) {
if (v3[v2].func == listener || v3[v2] == listener) {
v3.splice(v2, 1);
return undefined;
}
++v2;
}
}
};
v2.dispatchEvent = function (event) {
var v4 = this._listeners[event.__get__type()];
if (v4) {
var v5 = v4.length;
var v2 = 0;
while (v2 < v5) {
var v3 = v4[v2];
v3.func.call(v3.target, event);
++v2;
}
}
return true;
};
ASSetPropFlags(com.newgrounds.EventDispatcher.prototype, null, 1);
}
#endinitclip
}
movieClip 491 __Packages.com.newgrounds.Event {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.Event) {
var v1 = function (type) {
this._type = type;
};
com.newgrounds.Event = v1;
var v2 = v1.prototype;
v2.__get__type = function () {
return this._type;
};
v2.addProperty('type', v2.__get__type, function () {});
ASSetPropFlags(com.newgrounds.Event.prototype, null, 1);
}
#endinitclip
}
movieClip 493 __Packages.com.newgrounds.APIEventDispatcher {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.APIEventDispatcher) {
var v1 = function () {
super();
};
com.newgrounds.APIEventDispatcher = v1;
com.newgrounds.APIEventDispatcher extends com.newgrounds.EventDispatcher;
var v2 = v1.prototype;
v1.__get__globalDispatcher = function () {
return com.newgrounds.APIEventDispatcher._globalDispatcher;
};
v1.__set__globalDispatcher = function (value) {
com.newgrounds.APIEventDispatcher._globalDispatcher = value;
return com.newgrounds.APIEventDispatcher.__get__globalDispatcher();
};
v1.initEventQueue = function () {
setInterval(com.newgrounds.APIEventDispatcher.runEventQueue, 50);
return [];
};
v2.dispatchEvent = function (event) {
com.newgrounds.APIEventDispatcher._eventQueue.push({'dispatcher': this, 'event': event});
return true;
};
v2.actualDispatchEvent = function (event) {
var v3 = super.dispatchEvent(event);
if (com.newgrounds.APIEventDispatcher._globalDispatcher && this != com.newgrounds.APIEventDispatcher._globalDispatcher) {
com.newgrounds.APIEventDispatcher._globalDispatcher.dispatchEvent(event);
}
};
v1.runEventQueue = function (event) {
var v3 = com.newgrounds.APIEventDispatcher._eventQueue.length;
if (v3) {
var v4 = com.newgrounds.APIEventDispatcher._eventQueue;
com.newgrounds.APIEventDispatcher._eventQueue = [];
var v1 = 0;
while (v1 < v3) {
var v2 = v4[v1];
v2.dispatcher.actualDispatchEvent(v2.event);
++v1;
}
}
};
v1._eventQueue = com.newgrounds.APIEventDispatcher.initEventQueue();
v1.addProperty('globalDispatcher', v1.__get__globalDispatcher, v1.__set__globalDispatcher);
ASSetPropFlags(com.newgrounds.APIEventDispatcher.prototype, null, 1);
}
#endinitclip
}
movieClip 496 __Packages.com.newgrounds.encoders.BaseN {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.encoders) {
_global.com.newgrounds.encoders = new Object();
}
if (!_global.com.newgrounds.encoders.BaseN) {
var v1 = function (hash) {
if (hash) {
this._hash = hash;
} else {
this._hash = com.newgrounds.encoders.BaseN.DEFAULT_HASH;
}
this._base = this._hash.length;
this._reverseHash = new Object();
var v2 = 0;
while (v2 < this._hash.length) {
this._reverseHash[this._hash.charAt(v2)] = v2;
++v2;
}
};
com.newgrounds.encoders.BaseN = v1;
var v2 = v1.prototype;
v2.encodeUint = function (number, minimumChars) {
if (minimumChars == undefined) {
minimumChars = 1;
}
var v2 = '';
var v3 = number;
while (v3 != 0) {
v2 = this._hash.charAt(v3 % this._base) + v2;
v3 /= this._base;
v3 = int(v3);
}
while (v2.length < minimumChars) {
v2 = this._hash.charAt(0) + v2;
}
return v2;
};
v2.decodeUint = function (encodedNumber) {
var v3 = 0;
var v2 = 0;
while (v2 < encodedNumber.length) {
v3 *= this._base;
v3 += this._reverseHash[encodedNumber.charAt(v2)];
++v2;
}
return v3;
};
v1.DEFAULT_HASH = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ`~@#$%^&*()+|;/';
ASSetPropFlags(com.newgrounds.encoders.BaseN.prototype, null, 1);
}
#endinitclip
}
movieClip 502 __Packages.com.newgrounds.APICommand {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.APICommand) {
var v1 = function (command) {
super();
this._command = command;
this._parameters = new Object();
this._secureParameters = new Object();
this._hasTimeout = true;
};
com.newgrounds.APICommand = v1;
com.newgrounds.APICommand extends com.newgrounds.APIEventDispatcher;
var v2 = v1.prototype;
v1.stopPendingCommands = function () {
for (var v2 in com.newgrounds.APICommand._pendingCommands) {
var v1 = com.newgrounds.APICommand._pendingCommands[v2];
v1.close();
}
com.newgrounds.APICommand._pendingCommands = [];
};
v1.onThrottleTimer = function (event) {
if (getTimer() - com.newgrounds.APICommand._throttleTimestamp >= com.newgrounds.APICommand.THROTTLE_INTERVAL) {
com.newgrounds.APICommand._throttleCount = 0;
com.newgrounds.APICommand._throttleCount = 0;
for (;;) {
if (!(com.newgrounds.APICommand._commandQueue.length && com.newgrounds.APICommand._throttleCount < com.newgrounds.APICommand.THROTTLE_THRESHOLD)) break;
var v1 = com.newgrounds.APICommand._commandQueue.shift();
v1.command.send(v1.connection);
++com.newgrounds.APICommand._throttleCount;
}
}
};
v1.encryptHex = function (hexValue) {
var v4 = hexValue.length % 6;
var v3 = '';
var v1 = 0;
while (v1 < hexValue.length) {
v3 += com.newgrounds.APICommand._encryptor.encodeUint(int('0x' + hexValue.substr(v1, 6)), 4);
v1 += 6;
}
return v4.toString() + v3;
};
v2.__get__command = function () {
return this._command;
};
v2.__set__command = function (value) {
this._command = value;
return this.__get__command();
};
v2.__get__hasTimeout = function () {
return this._hasTimeout;
};
v2.__set__hasTimeout = function (val) {
this._hasTimeout = val;
return this.__get__hasTimeout();
};
v2.__get__parameters = function () {
return this._parameters;
};
v2.__set__parameters = function (object) {
this._parameters = new Object();
if (object) {
for (var v3 in object) {
this._parameters[v3] = object[v3];
}
}
return this.__get__parameters();
};
v2.__get__preventCache = function () {
return this._preventCache;
};
v2.__set__preventCache = function (value) {
this._preventCache = value;
return this.__get__preventCache();
};
v2.__get__secureParameters = function () {
return this._secureParameters;
};
v2.__set__secureParameters = function (object) {
this._secureParameters = new Object();
if (object) {
for (var v3 in object) {
this._secureParameters[v3] = object[v3];
}
}
return this.__get__secureParameters();
};
v2.__get__hasSecureParameters = function () {
for (var v2 in this._secureParameters) {
return true;
}
return false;
};
v2.addFile = function (filename, data, dataField, contentType) {
if (contentType == undefined) {
contentType = 'application/octet-stream';
}
if (!this._files) {
this._files = new Object();
}
var v3 = {'filename': filename, 'data': data, 'dataField': dataField, 'contentType': contentType};
this._files[filename] = v3;
};
v2.removeFile = function (filename) {
if (this._files) {
delete this._files[filename];
}
};
v2.clearFiles = function () {
this._files = null;
};
v2.close = function () {
if (this._loader) {
clearInterval(this._timeoutTimer);
var v2 = 0;
while (v2 < com.newgrounds.APICommand._pendingCommands.length) {
if (com.newgrounds.APICommand._pendingCommands[v2] == this) {
com.newgrounds.APICommand._pendingCommands.splice(v2, 1);
break;
}
++v2;
}
this._loader = null;
}
};
v2.loadInBrowser = function (connection, newWindow) {
this._parameters.command_id = this._command;
this._parameters.tracker_id = connection.apiId ? connection.apiId : 1;
if (connection.debug) {
this._parameters.debug = 1;
}
var v3 = connection.apiURL + '?host=' + escape(connection.hostDomain);
for (var v4 in this._parameters) {
v3 += '&' + escape(v4) + '=' + escape(this._parameters[v4]);
}
var v6;
if (newWindow) {
v6 = '_blank';
} else {
v6 = '_top';
}
_root.getURL(v3, v6);
};
v2.send = function (connection) {
if (com.newgrounds.APICommand._throttleCount >= com.newgrounds.APICommand.THROTTLE_THRESHOLD) {
com.newgrounds.APICommand._commandQueue.push({'connection': connection, 'command': this});
} else {
this.sendInternal(connection);
}
};
v2.sendInternal = function (connection) {
var v4;
v4 = new LoadVars();
v4.command_id = this._command;
v4.tracker_id = connection.apiId;
if (connection.debug) {
v4.debug = 1;
}
if (this._preventCache) {
v4.seed = Math.random();
}
var v2;
var v3;
var v7;
for (v2 in this._parameters) {
v3 = this._parameters[v2];
if (v3 != null) {
if (typeof v3 == 'boolean') {
v4[v2] = int(v3);
} else {
v4[v2] = v3;
}
}
}
if (this.__get__hasSecureParameters()) {
var v6 = new Object();
for (v2 in this._secureParameters) {
v3 = this._secureParameters[v2];
if (v3 != null) {
if (typeof v3 == 'boolean') {
v6[v2] = int(v3);
} else {
v6[v2] = v3;
}
}
}
var v8 = '';
v7 = 0;
while (v7 < 16) {
v8 += com.newgrounds.APICommand.ENCRYPTOR_RADIX.charAt(int(Math.random() * com.newgrounds.APICommand.ENCRYPTOR_RADIX.length));
++v7;
}
v4.command_id = 'securePacket';
v6.command_id = this._command;
v6.as_version = 3;
v6.session_id = connection.sessionId;
v6.user_email = connection.userEmail;
v6.publisher_id = connection.publisherId;
v6.seed = v8;
var v13 = com.newgrounds.crypto.MD5.hash(v8);
var v11 = com.newgrounds.crypto.RC4.encrypt(com.newgrounds.encoders.json.JSON.encode(v6), connection.encryptionKey);
v4.secure = com.newgrounds.APICommand.encryptHex(v13 + v11);
}
com.newgrounds.Logger.logInternal('Sending packet:', v4);
var v12;
v12 = 'application/x-www-form-urlencoded';
for (v2 in v4) {
if (typeof v4[v2] == 'object') {
v4[v2] = com.newgrounds.encoders.json.JSON.encode(v4[v2]);
}
}
if (this._files) {
for (var v10 in this._files) {
var v5 = this._files[v10];
if (typeof v5.data == 'string') {
v4[v10] = v5.data;
} else {
v4[v10] = com.newgrounds.encoders.json.JSON.encode(v5.data);
}
}
}
com.newgrounds.APICommand._pendingCommands.push(this);
++com.newgrounds.APICommand._throttleCount;
com.newgrounds.APICommand._throttleTimestamp = getTimer();
this.startLoader(connection.apiURL, v4, v12);
};
v2.startLoader = function (url, data, contentType) {
this._loader = LoadVars(data);
this._loader.onData = this.as2CompleteHandler;
this._loader.contentType = contentType;
this._loader.sendAndLoad(url, this._loader, 'POST');
if (this._hasTimeout) {
setInterval(this, this.onTimeout, com.newgrounds.APICommand.TIMEOUT_INTERVAL);
}
};
v2.as2CompleteHandler = function (data) {
var v3;
var v2 = 0;
while (v2 < com.newgrounds.APICommand._pendingCommands.length) {
if (com.newgrounds.APICommand._pendingCommands[v2]._loader == this) {
v3 = com.newgrounds.APICommand._pendingCommands[v2];
break;
}
++v2;
}
v3.onComplete(data);
};
v2.onTimeout = function (event) {
this.close();
com.newgrounds.Logger.logError('Command timed out.');
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.COMMAND_COMPLETE, null, com.newgrounds.APIEvent.ERROR_TIMED_OUT));
};
v2.onError = function (error) {
com.newgrounds.Logger.logError('Error when sending command:', error);
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.COMMAND_COMPLETE, null, com.newgrounds.APIEvent.ERROR_UNKNOWN));
this.close();
};
v2.onComplete = function (data) {
com.newgrounds.Logger.logInternal('Received packet:', data);
try {
if (!data || data == '') {
throw new Error();
}
var v2 = com.newgrounds.encoders.json.JSON.decode(data);
if (!v2) {
throw new Error();
}
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.COMMAND_COMPLETE, v2, (v2 && v2.success) ? com.newgrounds.APIEvent.ERROR_NONE : com.newgrounds.APIEvent.ERROR_COMMAND_FAILED));
if (com.newgrounds.APICommand.bridge) {
com.newgrounds.APICommand.bridge.sendEvent(v2.command_id, v2);
}
}
catch (e) {
com.newgrounds.Logger.logError('Invalid response returned from server: ' + data);
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.COMMAND_COMPLETE, null, com.newgrounds.APIEvent.ERROR_BAD_RESPONSE));
}
this.close();
};
v1.TIMEOUT_INTERVAL = 10000;
v1.THROTTLE_INTERVAL = 10050;
v1.THROTTLE_TICK_INTERVAL = 1000;
v1.THROTTLE_THRESHOLD = 24;
v1._throttleCount = 0;
v1._commandQueue = [];
v1._throttleTimer = setInterval(com.newgrounds.APICommand.onThrottleTimer, com.newgrounds.APICommand.THROTTLE_TICK_INTERVAL);
v1.ENCRYPTOR_RADIX = '/g8236klvBQ#&|;Zb*7CEA59%s`Oue1wziFp$rDVY@TKxUPWytSaGHJ>dmoMR^<0~4qNLhc(I+fjn)X';
v1._encryptor = new com.newgrounds.encoders.BaseN(com.newgrounds.APICommand.ENCRYPTOR_RADIX);
v1._pendingCommands = [];
v1.CRLF = '\r\n';
v2.addProperty('command', v2.__get__command, v2.__set__command);
v2.addProperty('hasSecureParameters', v2.__get__hasSecureParameters, function () {});
v2.addProperty('hasTimeout', v2.__get__hasTimeout, v2.__set__hasTimeout);
v2.addProperty('parameters', v2.__get__parameters, v2.__set__parameters);
v2.addProperty('preventCache', v2.__get__preventCache, v2.__set__preventCache);
v2.addProperty('secureParameters', v2.__get__secureParameters, v2.__set__secureParameters);
ASSetPropFlags(com.newgrounds.APICommand.prototype, null, 1);
}
#endinitclip
}
movieClip 498 __Packages.com.newgrounds.Bridge {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.Bridge) {
var v1 = function (id) {
super();
this._widgetId = id;
this._inConnection = new LocalConnection();
this._outConnection = new LocalConnection();
var me = this;
this._inConnection.receiveEvent = function () {
me.receiveEvent.apply(me, arguments);
};
this._inConnection.allowInsecureDomain = function (d) {
return d == 'www.newgrounds.com' || d == 'newgrounds.com' || d == 'uploads.ungrounded.net';
};
this._inConnection.allowDomain = this._inConnection.allowInsecureDomain;
this._inConnection.connect('_rec_' + this._widgetId);
com.newgrounds.Logger.addEventListener(com.newgrounds.APIEvent.LOG, {'target': this, 'func': this.onLogMessage});
};
com.newgrounds.Bridge = v1;
com.newgrounds.Bridge extends com.newgrounds.EventDispatcher;
var v2 = v1.prototype;
v2.__get__widgetId = function () {
return this._widgetId;
};
v2.onLogMessage = function (event) {
try {
this._outConnection.send(this._widgetId, 'sendEvent', 'trace', String(event.__get__data()));
}
};
v2.sendEvent = function (command, parameters) {
if (this._outConnection) {
parameters = {'data': parameters};
try {
this._outConnection.send(this._widgetId, 'sendEvent', command, parameters);
}
}
};
v2.receiveEvent = function (responseData) {
var v2;
try {
v2 = com.newgrounds.encoders.json.JSON.decode(responseData);
}
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.BRIDGE_EVENT_RECEIVED, v2, (v2 == null) ? com.newgrounds.APIEvent.ERROR_UNKNOWN : null));
};
v2.onStatus = function (event) {};
v2.addProperty('widgetId', v2.__get__widgetId, function () {});
ASSetPropFlags(com.newgrounds.Bridge.prototype, null, 1);
}
#endinitclip
}
movieClip 494 __Packages.com.newgrounds.APIEvent {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.APIEvent) {
var v1 = function (type, data, error) {
super(type);
if (data == undefined) {
data = null;
}
if (error == undefined) {
error = null;
}
if (!error || error == '' || error == com.newgrounds.APIEvent.ERROR_NONE) {
this._error = com.newgrounds.APIEvent.ERROR_NONE;
this._success = true;
} else {
this._error = error;
this._success = false;
}
if (data) {
this._data = data;
} else {
this._data = {};
}
};
com.newgrounds.APIEvent = v1;
com.newgrounds.APIEvent extends com.newgrounds.Event;
var v2 = v1.prototype;
v2.clone = function () {
return new com.newgrounds.APIEvent(this.__get__type(), this._data, this._error);
};
v2.__get__success = function () {
return this._success;
};
v2.__get__data = function () {
return this._data;
};
v2.__get__error = function () {
return this._error;
};
v1.COMMAND_COMPLETE = 'commandComplete';
v1.MEDAL_UNLOCK_CONFIRMED = 'medalUnlockConfirmed';
v1.ICON_LOADED = 'iconLoaded';
v1.BRIDGE_EVENT_RECEIVED = 'brdigeEventReceived';
v1.API_CONNECTED = 'movieConnected';
v1.LOG = 'log';
v1.MEDAL_UNLOCKED = 'medalUnlocked';
v1.SCORES_LOADED = 'scoresLoaded';
v1.SCORE_POSTED = 'scorePosted';
v1.QUERY_COMPLETE = 'queryComplete';
v1.FILE_LOADED = 'fileLoaded';
v1.FILE_SAVED = 'fileSaved';
v1.FILE_DELETED = 'fileDeleted';
v1.FILE_REQUESTED = 'fileRequested';
v1.VOTE_COMPLETE = 'voteComplete';
v1.USER_SIGNED_IN = 'userSignedIn';
v1.ERROR_NONE = 'noError';
v1.ERROR_UNKNOWN = 'unknownError';
v1.ERROR_COMMAND_FAILED = 'commandFailed';
v1.ERROR_NOT_CONNECTED = 'notConnected';
v1.ERROR_INVALID_ARGUMENT = 'invalidArgument';
v1.ERROR_TIMED_OUT = 'timedOut';
v1.ERROR_BAD_FILE = 'badFile';
v1.ERROR_BAD_RESPONSE = 'badResponse';
v1.ERROR_SENDING_COMMAND = 'errorSendingCommand';
v1.ERROR_HOST_BLOCKED = 'hostBlocked';
v1.ERROR_ALREADY_VOTED = 'alreadyVoted';
v1.ERROR_NOT_LOGGED_IN = 'notLoggedIn';
v1.ERROR_WRONG_ENCRYPTION_KEY = 'wrongEncryptionKey';
v1.ERROR_SIGN_IN_FAILED = 'signInFailed';
v2.addProperty('data', v2.__get__data, function () {});
v2.addProperty('error', v2.__get__error, function () {});
v2.addProperty('success', v2.__get__success, function () {});
ASSetPropFlags(com.newgrounds.APIEvent.prototype, null, 1);
}
#endinitclip
}
movieClip 513 __Packages.com.newgrounds.API {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.API) {
var v1 = function () {};
com.newgrounds.API = v1;
var v2 = v1.prototype;
v1.__get__connected = function () {
return com.newgrounds.API._connection.__get__connected();
};
v1.__get__isNetworkHost = function () {
return com.newgrounds.API._connection.__get__isNetworkHost();
};
v1.__get__apiId = function () {
com.newgrounds.API._connection.assertInitialized();
return com.newgrounds.API._connection.apiId;
};
v1.__get__debugMode = function () {
return com.newgrounds.API._debugMode;
};
v1.__set__debugMode = function (val) {
com.newgrounds.API._debugMode = val;
return com.newgrounds.API.__get__debugMode();
};
v1.__get__publisherId = function () {
com.newgrounds.API._connection.assertInitialized();
return com.newgrounds.API._connection.publisherId;
};
v1.__get__sessionId = function () {
com.newgrounds.API._connection.assertInitialized();
return com.newgrounds.API._connection.sessionId;
};
v1.__get__hostDomain = function () {
com.newgrounds.API._connection.assertInitialized();
return com.newgrounds.API._connection.hostDomain;
};
v1.__get__hostURL = function () {
com.newgrounds.API._connection.assertInitialized();
return com.newgrounds.API._connection.__get__hostURL();
};
v1.__get__isNewgrounds = function () {
return com.newgrounds.API._connection.publisherId == 1;
};
v1.__get__hasUserSession = function () {
com.newgrounds.API._connection.assertInitialized();
return com.newgrounds.API._connection.__get__hasUserSession();
};
v1.__get__username = function () {
com.newgrounds.API._connection.assertInitialized();
return com.newgrounds.API._connection.username;
};
v1.__get__userId = function () {
com.newgrounds.API._connection.assertInitialized();
return com.newgrounds.API._connection.userId;
};
v1.assertConnected = function (eventType) {
if (eventType == undefined) {
eventType = null;
}
if (com.newgrounds.API._connection.assertConnected()) {
return true;
} else {
if (eventType) {
com.newgrounds.API.dispatchEvent(eventType, null, com.newgrounds.APIEvent.ERROR_NOT_CONNECTED);
}
return false;
}
};
v1.__get__serverTime = function () {
return com.newgrounds.API._serverTime;
};
v1.__get__adsApproved = function () {
return com.newgrounds.API._adsApproved;
};
v1.__get__adFeedURL = function () {
return com.newgrounds.API._adFeedURL;
};
v1.__get__medals = function () {
return com.newgrounds.API._medalsArray;
};
v1.__get__scoreBoards = function () {
return com.newgrounds.API._scoreBoardsArray;
};
v1.__get__saveGroups = function () {
return com.newgrounds.API._saveGroupsArray;
};
v1.connect = function (_root, apiId, encryptionKey, movieVersion) {
if (encryptionKey == undefined) {
encryptionKey = null;
}
if (movieVersion == undefined) {
movieVersion = '';
}
com.newgrounds.APIEventDispatcher.__set__globalDispatcher(com.newgrounds.API._dispatcher);
System.security.loadPolicyFile('http://apifiles.ngfiles.com/crossdomain.xml');
if (com.newgrounds.API._connection.initialized) {
com.newgrounds.Logger.logError('Connection already in progress. Please call API.disconnect() before attempting another connection.');
com.newgrounds.API.dispatchEvent(com.newgrounds.APIEvent.API_CONNECTED, false, com.newgrounds.APIEvent.ERROR_NOT_CONNECTED);
return undefined;
}
apiId = com.newgrounds.API.trimWhitespace(apiId);
if (encryptionKey) {
encryptionKey = com.newgrounds.API.trimWhitespace(encryptionKey);
}
if (!apiId || apiId == '') {
com.newgrounds.Logger.logError('No apiId given. Please use the API ID from your API settings page.');
com.newgrounds.API.dispatchEvent(com.newgrounds.APIEvent.API_CONNECTED, false, com.newgrounds.APIEvent.ERROR_INVALID_ARGUMENT);
return undefined;
}
com.newgrounds.Logger.logMessage('====== Newgrounds API v' + com.newgrounds.API.VERSION + ' ======');
com.newgrounds.API._connection.connectionState = com.newgrounds.APIConnection.CONNECTING;
_root = _root;
com.newgrounds.API._movieVersion = movieVersion;
com.newgrounds.API._connection.apiId = apiId;
var v4;
v4 = apiId.indexOf(':');
if (v4 != -1) {
com.newgrounds.API._connection.trackerId = int(apiId.substring(0, v4));
} else {
com.newgrounds.API._connection.trackerId = int(apiId);
}
if (!com.newgrounds.API._connection.trackerId) {
com.newgrounds.Logger.logError('Invalid API ID: ' + apiId);
com.newgrounds.API.dispatchEvent(com.newgrounds.APIEvent.API_CONNECTED, false, com.newgrounds.APIEvent.ERROR_INVALID_ARGUMENT);
return undefined;
}
com.newgrounds.API._connection.encryptionKey = encryptionKey;
com.newgrounds.API._connection.initialized = true;
com.newgrounds.API._connection.__set__hostURL(_root._url);
com.newgrounds.API.doConnect(_root);
};
v1.doConnect = function (flashVars) {
if (com.newgrounds.API.__get__isNetworkHost() && com.newgrounds.API._debugMode != com.newgrounds.API.RELEASE_MODE) {
com.newgrounds.Logger.logMessage('Live file detected, turning off debug mode.');
com.newgrounds.API._debugMode = com.newgrounds.API.RELEASE_MODE;
}
if (flashVars && flashVars.NewgroundsAPI_SandboxID) {
com.newgrounds.API._bridge = new com.newgrounds.Bridge(flashVars.NewgroundsAPI_SandboxID);
com.newgrounds.APICommand.bridge = com.newgrounds.API._bridge;
} else {
com.newgrounds.API._bridge = new com.newgrounds.Bridge(com.newgrounds.crypto.MD5.hash(String(Math.random())));
com.newgrounds.APICommand.bridge = com.newgrounds.API._bridge;
}
if (com.newgrounds.API._debugMode == com.newgrounds.API.RELEASE_MODE) {
if (flashVars) {
if (flashVars.NewgroundsAPI_UserName) {
com.newgrounds.API._connection.username = flashVars.NewgroundsAPI_UserName;
}
if (flashVars.NewgroundsAPI_UserID) {
com.newgrounds.API._connection.userId = flashVars.NewgroundsAPI_UserID;
}
if (flashVars.NewgroundsAPI_PublisherID) {
com.newgrounds.API._connection.publisherId = flashVars.NewgroundsAPI_PublisherID;
}
if (flashVars.NewgroundsAPI_UserpageFormat) {
com.newgrounds.API._connection.userpageFormat = flashVars.NewgroundsAPI_UserpageFormat;
}
if (flashVars.NewgroundsAPI_SessionID) {
com.newgrounds.API._connection.sessionId = flashVars.NewgroundsAPI_SessionID;
}
if (flashVars.NewgroundsAPI_SaveGroupID) {
com.newgrounds.API._requestedSaveGroupId = flashVars.NewgroundsAPI_SaveGroupID;
}
if (flashVars.NewgroundsAPI_SaveFileID) {
com.newgrounds.API._requestedSaveFileId = flashVars.NewgroundsAPI_SaveFileID;
}
}
} else {
com.newgrounds.API._connection.debug = true;
if (com.newgrounds.API._debugMode == com.newgrounds.API.DEBUG_MODE_LOGGED_IN || com.newgrounds.API._debugMode == com.newgrounds.API.DEBUG_MODE_LOGGED_OUT) {
com.newgrounds.API._connection.publisherId = 1;
}
if (com.newgrounds.API._debugMode == com.newgrounds.API.DEBUG_MODE_LOGGED_IN) {
com.newgrounds.API._connection.sessionId = 'D3bu64p1U53R';
com.newgrounds.API._connection.userId = 10;
com.newgrounds.API._connection.username = 'API-Debugger';
}
}
com.newgrounds.API._connection.sendSimpleCommand('connectMovie', com.newgrounds.API.onConnect, {'host': com.newgrounds.API._connection.hostDomain, 'movie_version': com.newgrounds.API._movieVersion, 'publisher_id': com.newgrounds.API._connection.publisherId});
};
v1.onConnect = function (event) {
var v1 = event.__get__data();
if (!event.__get__success()) {
com.newgrounds.Logger.logError('Unable to connect to the API.');
com.newgrounds.API._connection.reset();
com.newgrounds.API.dispatchEvent(com.newgrounds.APIEvent.API_CONNECTED, event.__get__data(), event.__get__error());
return undefined;
}
if (com.newgrounds.API.__get__debugMode() != com.newgrounds.API.RELEASE_MODE) {
com.newgrounds.API._adFeedURL = com.newgrounds.API.TEST_AD_FEED_URL;
} else {
if (v1.ad_url) {
com.newgrounds.API._adFeedURL = unescape(v1.ad_url);
}
}
switch (v1.ad_status) {
case -1:
com.newgrounds.Logger.logWarning('Your movie is not approved to run Flash Ads.');
break;
case 0:
com.newgrounds.Logger.logWarning('Your movie is still awaiting approval to run Flash Ads.');
break;
case 1:
com.newgrounds.Logger.logMessage('Your movie is approved to run Flash Ads!');
}
com.newgrounds.API._adsApproved = v1.ad_status == 1;
if (com.newgrounds.API._debugMode == com.newgrounds.API.DEBUG_MODE_HOST_BLOCKED || v1.deny_host) {
com.newgrounds.Logger.logWarning(com.newgrounds.API._connection.hostDomain + ' does not have permission to host this movie!', 'Update your API configuration to allow this host.');
com.newgrounds.API.dispatchEvent(com.newgrounds.APIEvent.API_CONNECTED, {'officialURL': unescape(v1.movie_url)}, com.newgrounds.APIEvent.ERROR_HOST_BLOCKED);
com.newgrounds.API._connection.reset();
return undefined;
}
com.newgrounds.API._movieName = v1.movieName ? v1.movieName : '';
com.newgrounds.Logger.logMessage('Connecting to the Newgrounds API Gateway...', '----- ' + v1.movie_name + ' -----');
if (com.newgrounds.API._debugMode == com.newgrounds.API.DEBUG_MODE_NEW_VERSION) {
v1.movie_version = 'Debug Mode';
}
if (v1.movie_version) {
com.newgrounds.Logger.logMessage('A new version of this movie is available.', 'Current version:\t' + com.newgrounds.API._movieVersion, 'Newest version:\t' + v1.movie_version, 'Use API.loadOfficialVersion() to link to the latest version.');
com.newgrounds.API._newVersion = true;
} else {
com.newgrounds.API._newVersion = false;
}
com.newgrounds.API._serverTime = new Date(int(v1.time) * 1000);
if (v1.request_portal_url) {
com.newgrounds.API._connection.sendSimpleCommand('setPortalID', null, {'portal_url': com.newgrounds.API._connection.__get__hostURL()});
}
com.newgrounds.API._connection.sendSimpleCommand('preloadSettings', com.newgrounds.API.onMetadataLoaded, {'publisher_id': com.newgrounds.API._connection.publisherId, 'user_id': com.newgrounds.API._connection.userId});
};
v1.onMetadataLoaded = function (event) {
var v11 = event.__get__data();
var v4;
var v1;
if (!event.__get__success()) {
com.newgrounds.Logger.logWarning('Unable to load movie metadata.');
com.newgrounds.API.disconnect();
com.newgrounds.API.dispatchEvent(com.newgrounds.APIEvent.API_CONNECTED, null, event.__get__error());
return undefined;
}
var v10 = 0;
if (v11.medals) {
v10 = v11.medals.length;
var v18;
if (com.newgrounds.API.__get__hasUserSession()) {
v18 = com.newgrounds.API.loadLocal('medals_unlocked_' + com.newgrounds.API.__get__username());
} else {
v18 = com.newgrounds.API.loadLocal('medals_unlocked');
}
v4 = 0;
while (v4 < v10) {
var v5 = v11.medals[v4];
var v15 = v5.medal_unlocked;
var v17 = v18 && v18[v5.medal_id];
var v14 = com.newgrounds.API.__get__hasUserSession() ? v15 : v17;
if (com.newgrounds.API.__get__debugMode() != com.newgrounds.API.RELEASE_MODE) {
v14 = false;
}
var v6 = new com.newgrounds.Medal(com.newgrounds.API._connection, v5.medal_id, v5.medal_name, v5.medal_description, Boolean(int(v5.secret)), v14, v5.medal_value, v5.medal_difficulty, v5.medal_icon);
v6.addEventListener(com.newgrounds.APIEvent.MEDAL_UNLOCKED, com.newgrounds.API.onMedalUnlocked, false, 0, true);
v6.addEventListener(com.newgrounds.APIEvent.MEDAL_UNLOCK_CONFIRMED, com.newgrounds.API.onMedalUnlockConfirmed, false, 0, true);
com.newgrounds.API._medals[v6.__get__name()] = v6;
com.newgrounds.API._medalsArray.push(v6);
com.newgrounds.Logger.logMessage(v6);
if (com.newgrounds.API.__get__hasUserSession() && v17 && !v15) {
com.newgrounds.Logger.logMessage('Server missed the "' + v6.__get__name() + '" unlock. Resending...');
v6.unlock();
}
++v4;
}
}
com.newgrounds.Logger.logMessage(v10 + ' medal' + ((v10 != 1) ? 's' : '') + ' initialized.');
v10 = 0;
if (v11.score_boards) {
v10 = v11.score_boards.length;
v4 = 0;
while (v4 < v10) {
var v16 = v11.score_boards[v4];
var v9 = new com.newgrounds.ScoreBoard(com.newgrounds.API._connection, v16.name, v16.id);
com.newgrounds.API._scoreBoards[v9.__get__name()] = v9;
com.newgrounds.API._scoreBoardsArray.push(v9);
com.newgrounds.Logger.logMessage(v9);
++v4;
}
}
com.newgrounds.Logger.logMessage(v10 + ' scoreboard' + ((v10 != 1) ? 's' : '') + ' initialized.');
v10 = 0;
if (v11.save_groups) {
v10 = v11.save_groups.length;
v4 = 0;
while (v4 < v10) {
var v2 = v11.save_groups[v4];
var v13 = [];
if (v2.keys) {
v1 = 0;
while (v1 < v2.keys.length) {
var v7 = v2.keys[v1];
v13.push(new com.newgrounds.SaveKey(v7.name, v7.id, v7.type));
++v1;
}
}
var v12 = [];
if (v2.ratings) {
v1 = 0;
while (v1 < v2.ratings.length) {
var v3 = v2.ratings[v1];
v12.push(new com.newgrounds.SaveRating(v3.name, v3.id, v3.float, v3.min, v3.max));
++v1;
}
}
var v8 = new com.newgrounds.SaveGroup(com.newgrounds.API._connection, v2.group_name, v2.group_id, v2.group_type, v13, v12);
com.newgrounds.API._saveGroups[v8.__get__name()] = v8;
com.newgrounds.API._saveGroupsArray.push(v8);
com.newgrounds.Logger.logMessage(v8);
++v4;
}
}
com.newgrounds.Logger.logMessage(v10 + ' save group' + ((v10 != 1) ? 's' : '') + ' initialized.');
if (v11.save_file_path) {
com.newgrounds.API._saveFilePath = v11.save_file_path + '/';
com.newgrounds.SaveFile._saveFilePath = com.newgrounds.API._saveFilePath;
com.newgrounds.Logger.logInternal('Save file path: ' + com.newgrounds.API._saveFilePath);
}
if (v11.image_file_path) {
com.newgrounds.API._imageFilePath = v11.image_file_path + '/';
com.newgrounds.SaveFile._imageFilePath = com.newgrounds.API._imageFilePath;
com.newgrounds.Logger.logInternal('Image file path: ' + com.newgrounds.API._imageFilePath);
}
com.newgrounds.Logger.logMessage('Connection complete!');
com.newgrounds.API._connection.connectionState = com.newgrounds.APIConnection.CONNECTED;
com.newgrounds.API.dispatchEvent(com.newgrounds.APIEvent.API_CONNECTED, {'movieName': com.newgrounds.API._movieName, 'newVersion': com.newgrounds.API._newVersion});
if (com.newgrounds.API._requestedSaveFileId && com.newgrounds.API._requestedSaveGroupId) {
com.newgrounds.API.addEventListener(com.newgrounds.APIEvent.FILE_LOADED, com.newgrounds.API.onRequestedFileLoaded);
com.newgrounds.API.loadSaveFile(com.newgrounds.API._requestedSaveFileId, false);
}
};
v1.disconnect = function () {
if (!com.newgrounds.API._connection.__get__connected()) {
com.newgrounds.Logger.logWarning('The Newgrounds API is already disconnected.');
return undefined;
}
com.newgrounds.API._connection.reset();
for (var v2 in com.newgrounds.API._medals) {
var v1 = com.newgrounds.API._medals[v2];
v1.removeEventListener(com.newgrounds.APIEvent.MEDAL_UNLOCKED, com.newgrounds.API.onMedalUnlocked);
v1.removeEventListener(com.newgrounds.APIEvent.MEDAL_UNLOCK_CONFIRMED, com.newgrounds.API.onMedalUnlockConfirmed);
}
com.newgrounds.API._newVersion = false;
com.newgrounds.API._medals = new Object();
com.newgrounds.API._medalsArray = [];
com.newgrounds.API._scoreBoards = new Object();
com.newgrounds.API._scoreBoardsArray = [];
com.newgrounds.API._saveGroups = new Object();
com.newgrounds.API._saveGroupsArray = [];
com.newgrounds.API._sharedObjects = new Object();
com.newgrounds.API._imageFilePath = null;
com.newgrounds.API._saveFilePath = null;
com.newgrounds.Logger.logMessage('Disconnected from the Newgrounds API.');
};
v1.loadNewgrounds = function () {
com.newgrounds.API._connection.loadInBrowser('loadNewgrounds');
};
v1.loadOfficialVersion = function () {
if (com.newgrounds.API._connection.assertInitialized()) {
com.newgrounds.API._connection.loadInBrowser('loadOfficialVersion', false);
}
};
v1.promptSignIn = function () {
if (com.newgrounds.API._connection.assertInitialized()) {
getURL(com.newgrounds.API.PASSPORT_URL + com.newgrounds.API._bridge.__get__widgetId(), '_blank');
com.newgrounds.API._bridge.addEventListener(com.newgrounds.APIEvent.BRIDGE_EVENT_RECEIVED, com.newgrounds.API.onUserSignedIn, false, 0, true);
}
};
v1.onUserSignedIn = function (e) {
com.newgrounds.API._bridge.removeEventListener(com.newgrounds.APIEvent.BRIDGE_EVENT_RECEIVED, com.newgrounds.API.onUserSignedIn);
var v1 = e.__get__data();
if (e.__get__success()) {
try {
if (v1.NewgroundsAPI_UserName) {
com.newgrounds.API._connection.username = v1.NewgroundsAPI_UserName;
}
if (v1.NewgroundsAPI_UserID) {
com.newgrounds.API._connection.userId = v1.NewgroundsAPI_UserID;
}
if (v1.NewgroundsAPI_PublisherID) {
com.newgrounds.API._connection.publisherId = v1.NewgroundsAPI_PublisherID;
}
if (v1.NewgroundsAPI_SessionID) {
com.newgrounds.API._connection.sessionId = v1.NewgroundsAPI_SessionID;
}
com.newgrounds.API._connection.sendSimpleCommand('preloadSettings', com.newgrounds.API.onMetadataLoaded, {'publisher_id': com.newgrounds.API._connection.publisherId, 'user_id': com.newgrounds.API._connection.userId});
}
com.newgrounds.Logger.logMessage('User ' + com.newgrounds.API._connection.username + ' signed in.');
}
com.newgrounds.API.dispatchEvent(com.newgrounds.APIEvent.USER_SIGNED_IN, null, e.__get__success() ? null : com.newgrounds.APIEvent.ERROR_SIGN_IN_FAILED);
};
v1.loadMySite = function () {
if (com.newgrounds.API._connection.assertInitialized()) {
com.newgrounds.API._connection.loadInBrowser('loadMySite');
}
};
v1.loadCustomLink = function (linkName) {
if (com.newgrounds.API._connection.assertInitialized()) {
com.newgrounds.API._connection.loadInBrowser('loadCustomLink', true, {'link': linkName});
}
};
v1.getMedal = function (medalName) {
return com.newgrounds.API._medals[medalName];
};
v1.unlockMedal = function (medalName) {
if (!com.newgrounds.API.assertConnected()) {
return undefined;
}
var v1 = com.newgrounds.API._medals[medalName];
if (!v1) {
com.newgrounds.Logger.logError('No medal named "' + medalName + '" w.');
return undefined;
}
v1.unlock();
};
v1.onMedalUnlocked = function (event) {
if (event.__get__success()) {
var v2 = com.newgrounds.Medal(event.__get__data());
var v1;
if (com.newgrounds.API.__get__hasUserSession()) {
v1 = com.newgrounds.API.loadLocal('medals_unlocked_' + com.newgrounds.API.__get__username());
if (!v1) {
v1 = new Object();
}
v1[v2.__get__id()] = true;
com.newgrounds.API.saveLocal('medals_unlocked_' + com.newgrounds.API.__get__username(), v1);
} else {
v1 = com.newgrounds.API.loadLocal('medals_unlocked');
if (!v1) {
v1 = new Object();
}
v1[(com.newgrounds.Medal(event.__get__data())).__get__id()] = true;
com.newgrounds.API.saveLocal('medals_unlocked', v1);
com.newgrounds.Logger.logMessage('User instanceof not logged in. Medal "' + v2.__get__name() + '" unlocked locally.');
}
}
};
v1.onMedalUnlockConfirmed = function (event) {
if (com.newgrounds.API.__get__hasUserSession()) {
var v1 = com.newgrounds.API.loadLocal('medals_unlocked_' + com.newgrounds.API.__get__username());
if (!v1) {
v1 = new Object();
} else {
delete v1[(com.newgrounds.Medal(event.__get__data())).__get__id()];
}
com.newgrounds.API.saveLocal('medals_unlocked_' + com.newgrounds.API.__get__username(), v1);
}
};
v1.clearLocalMedals = function () {
for (var v2 in com.newgrounds.API._medals) {
var v1 = com.newgrounds.API._medals[v2];
v1.setUnlocked(false);
}
if (!com.newgrounds.API.__get__hasUserSession()) {
com.newgrounds.API.saveLocal('medals_unlocked', new Object());
}
};
v1.getScoreBoard = function (scoreBoardName) {
if (!com.newgrounds.API.assertConnected()) {
return null;
}
return com.newgrounds.API._scoreBoards[scoreBoardName];
};
v1.loadScores = function (scoreBoardName, period, firstResult, numResults, tag) {
if (period == undefined) {
period = 'All-Time';
}
if (firstResult == undefined) {
firstResult = 1;
}
if (numResults == undefined) {
numResults = 10;
}
if (tag == undefined) {
tag = null;
}
if (!com.newgrounds.API.assertConnected()) {
return null;
}
var v1 = com.newgrounds.API._scoreBoards[scoreBoardName];
if (!v1) {
com.newgrounds.Logger.logError('No scoreboard named "' + scoreBoardName + '" w.');
com.newgrounds.API.dispatchEvent(com.newgrounds.APIEvent.SCORES_LOADED, null, com.newgrounds.APIEvent.ERROR_INVALID_ARGUMENT);
return null;
}
v1.__set__period(period);
v1.__set__firstResult(firstResult);
v1.__set__numResults(numResults);
v1.__set__tag(tag);
v1.loadScores();
return v1;
};
v1.postScore = function (scoreBoardName, numericScore, tag) {
if (tag == undefined) {
tag = null;
}
if (!com.newgrounds.API.assertConnected()) {
return undefined;
}
if (!com.newgrounds.API.__get__hasUserSession()) {
com.newgrounds.Logger.logError('The user must be logged-in to post a score.');
com.newgrounds.API.dispatchEvent(com.newgrounds.APIEvent.SCORE_POSTED, null, com.newgrounds.APIEvent.ERROR_NOT_LOGGED_IN);
return undefined;
}
var v1 = com.newgrounds.API._scoreBoards[scoreBoardName];
if (!v1) {
com.newgrounds.Logger.logError('No scoreboard named "' + scoreBoardName + '" w.');
com.newgrounds.API.dispatchEvent(com.newgrounds.APIEvent.SCORE_POSTED, null, com.newgrounds.APIEvent.ERROR_INVALID_ARGUMENT);
return undefined;
}
v1.postScore(numericScore, tag);
};
v1.getSaveGroup = function (groupName) {
if (!com.newgrounds.API.assertConnected()) {
return null;
}
return com.newgrounds.API._saveGroups[groupName];
};
v1.getSaveGroupById = function (id) {
for (var v3 in com.newgrounds.API._saveGroups) {
var v1 = com.newgrounds.API._saveGroups[v3];
if (v1.__get__id() == id) {
return v1;
}
}
return null;
};
v1.createSaveFile = function (groupName) {
if (!com.newgrounds.API.assertConnected()) {
return null;
}
var v1 = com.newgrounds.API.getSaveGroup(groupName);
if (!v1) {
com.newgrounds.Logger.logError('The save group "' + groupName + '" w found.');
return null;
}
return new com.newgrounds.SaveFile(v1);
};
v1.loadSaveFile = function (saveId, loadContents) {
if (loadContents == undefined) {
loadContents = true;
}
com.newgrounds.API._connection.sendSimpleCommand('loadSaveFile', com.newgrounds.API.onFileLoaded, {'save_id': saveId, 'get_contents': loadContents});
};
v1.onFileLoaded = function (event) {
var v2;
if (event.__get__success()) {
v2 = com.newgrounds.SaveFile.fromObject(com.newgrounds.API.getSaveGroupById((event.__get__data()).group_id), (event.__get__data()).file);
if ((event.__get__data()).get_contents) {
v2.load();
} else {
com.newgrounds.API.dispatchEvent(com.newgrounds.APIEvent.FILE_LOADED, v2);
}
} else {
com.newgrounds.Logger.logError('Unable to load file:', event.__get__error());
com.newgrounds.API.dispatchEvent(com.newgrounds.APIEvent.FILE_LOADED, null, event.__get__error());
}
};
v1.createSaveQuery = function (groupName) {
if (!com.newgrounds.API.assertConnected()) {
return null;
}
var v1 = com.newgrounds.API.getSaveGroup(groupName);
if (!v1) {
com.newgrounds.Logger.logError('The save group "' + groupName + '" w found.');
return null;
}
var v2 = new com.newgrounds.SaveQuery(v1);
return v2;
};
v1.createSaveQueryByDate = function (groupName, sortDescending) {
if (sortDescending == undefined) {
sortDescending = true;
}
var v1 = com.newgrounds.API.createSaveQuery(groupName);
if (!v1) {
return null;
}
v1.sortOn(com.newgrounds.SaveQuery.CREATED_ON, sortDescending);
return v1;
};
v1.createSaveQueryByName = function (groupName, filename, exactMatch, sortDescending) {
if (exactMatch == undefined) {
exactMatch = false;
}
if (sortDescending == undefined) {
sortDescending = false;
}
var v1 = com.newgrounds.API.createSaveQuery(groupName);
if (!exactMatch) {
v1.addCondition(com.newgrounds.SaveQuery.FILE_NAME, com.newgrounds.SaveQuery.OPERATOR_CONTAINS, filename);
return v1;
}
v1.addCondition(com.newgrounds.SaveQuery.FILE_NAME, com.newgrounds.SaveQuery.OPERATOR_EQUAL, filename);
return v1;
};
v1.createSaveQueryByRating = function (groupName, ratingName, sortDescending) {
if (sortDescending == undefined) {
sortDescending = true;
}
var v1 = com.newgrounds.API.createSaveQuery(groupName);
v1.sortOn(ratingName, sortDescending);
return v1;
};
v1.onRequestedFileLoaded = function (event) {
com.newgrounds.API.removeEventListener(com.newgrounds.APIEvent.FILE_LOADED, com.newgrounds.API.onRequestedFileLoaded);
if (event.__get__success()) {
var v1 = event.__get__data();
if (v1) {
com.newgrounds.API.dispatchEvent(com.newgrounds.APIEvent.FILE_REQUESTED, v1);
}
}
};
v1.addEventListener = function (eventType, listener, priority, useWeakReference) {
if (priority == undefined) {
priority = 0;
}
if (useWeakReference == undefined) {
useWeakReference = true;
}
com.newgrounds.API._dispatcher.addEventListener(eventType, listener, false, priority, useWeakReference);
};
v1.removeEventListener = function (eventType, listener) {
com.newgrounds.API._dispatcher.removeEventListener(eventType, listener);
};
v1.dispatchEvent = function (event, data, error) {
if (data == undefined) {
data = null;
}
if (error == undefined) {
error = null;
}
com.newgrounds.API._dispatcher.dispatchEvent(new com.newgrounds.APIEvent(event, data, error));
};
v1.saveLocal = function (saveId, saveData) {
try {
var v3;
var v2 = 'ng_ap_secure_' + com.newgrounds.API._connection.trackerId + '_' + com.newgrounds.crypto.RC4.encrypt(saveId, com.newgrounds.API._connection.encryptionKey);
if (!com.newgrounds.API._sharedObjects[saveId]) {
com.newgrounds.API._sharedObjects[saveId] = SharedObject.getLocal(v2);
}
v3 = com.newgrounds.API._sharedObjects[saveId];
v3.data.data = com.newgrounds.API.encodeData(saveData);
}
catch (v0) {
if (Error(v0) != null) {
var error = Error(v0);
com.newgrounds.Logger.logError('Unable to save local data.', error);
return false;
return true;
}
throw v0;
}
return true;
};
v1.loadLocal = function (saveId) {
try {
var v1;
var v3 = 'ng_ap_secure_' + com.newgrounds.API._connection.trackerId + '_' + com.newgrounds.crypto.RC4.encrypt(saveId, com.newgrounds.API._connection.encryptionKey);
if (!com.newgrounds.API._sharedObjects[saveId]) {
com.newgrounds.API._sharedObjects[saveId] = SharedObject.getLocal(v3);
}
v1 = com.newgrounds.API._sharedObjects[saveId];
if (v1 && v1.data && v1.data.data) {
return com.newgrounds.API.decodeData(v1.data.data);
}
return null;
}
catch (v0) {
if (Error(v0) != null) {
var error = Error(v0);
com.newgrounds.Logger.logError('Unable to load local data.', error);
return null;
}
throw v0;
}
return null;
};
v1.logCustomEvent = function (eventName) {
if (com.newgrounds.API.assertConnected()) {
com.newgrounds.Logger.logMessage('Logged event: ' + eventName);
com.newgrounds.API._connection.sendSimpleCommand('logCustomEvent', null, {'event': eventName});
}
};
v1.encodeData = function (data) {
if (!com.newgrounds.API._connection.assertInitialized()) {
return null;
}
return com.newgrounds.crypto.RC4.encrypt(com.newgrounds.encoders.json.JSON.encode(data), com.newgrounds.API._connection.encryptionKey);
};
v1.decodeData = function (data) {
if (!com.newgrounds.API._connection.assertInitialized()) {
return null;
}
try {
return com.newgrounds.encoders.json.JSON.decode(com.newgrounds.crypto.RC4.decrypt(data, com.newgrounds.API._connection.encryptionKey));
}
catch (v0) {
if (Error(v0) != null) {
var error = Error(v0);
return null;
}
throw v0;
}
return null;
};
v1.stopPendingCommands = function () {
com.newgrounds.APICommand.stopPendingCommands();
com.newgrounds.Logger.logMessage('Pending commands stopped.');
};
v1.trimWhitespace = function (string) {
if (!string) {
return null;
}
var v3 = 0;
while (string.charAt(v3) == ' ') {
++v3;
}
var v1 = string.length - 1;
for (;;) {
if (!(string.charAt(v1) == ' ' && v1 >= 0)) break;
--v1;
}
return string.slice(v3, v1 + 1);
};
v1.VERSION = '3.2 AS2';
v1.RELEASE_MODE = 'releaseMode';
v1.DEBUG_MODE_LOGGED_IN = 'debugModeLoggedIn';
v1.DEBUG_MODE_LOGGED_OUT = 'debugModeLoggedOut';
v1.DEBUG_MODE_NEW_VERSION = 'debugModeNewVersion';
v1.DEBUG_MODE_HOST_BLOCKED = 'debugModeHostBlocked';
v1.TEST_AD_FEED_URL = 'http://www.ngads.com/adtest.php';
v1.PASSPORT_URL = 'https://www.newgrounds.com/login/remote/';
v1._dispatcher = new com.newgrounds.APIEventDispatcher();
v1._connection = new com.newgrounds.APIConnection();
v1._debugMode = com.newgrounds.API.DEBUG_MODE_LOGGED_IN;
v1._adsApproved = false;
v1._medals = new Object();
v1._medalsArray = [];
v1._scoreBoards = new Object();
v1._scoreBoardsArray = [];
v1._saveGroups = new Object();
v1._saveGroupsArray = [];
v1._sharedObjects = new Object();
v1.addProperty('adFeedURL', v1.__get__adFeedURL, function () {});
v1.addProperty('adsApproved', v1.__get__adsApproved, function () {});
v1.addProperty('apiId', v1.__get__apiId, function () {});
v1.addProperty('connected', v1.__get__connected, function () {});
v1.addProperty('debugMode', v1.__get__debugMode, v1.__set__debugMode);
v1.addProperty('hasUserSession', v1.__get__hasUserSession, function () {});
v1.addProperty('hostDomain', v1.__get__hostDomain, function () {});
v1.addProperty('hostURL', v1.__get__hostURL, function () {});
v1.addProperty('isNetworkHost', v1.__get__isNetworkHost, function () {});
v1.addProperty('isNewgrounds', v1.__get__isNewgrounds, function () {});
v1.addProperty('medals', v1.__get__medals, function () {});
v1.addProperty('publisherId', v1.__get__publisherId, function () {});
v1.addProperty('saveGroups', v1.__get__saveGroups, function () {});
v1.addProperty('scoreBoards', v1.__get__scoreBoards, function () {});
v1.addProperty('serverTime', v1.__get__serverTime, function () {});
v1.addProperty('sessionId', v1.__get__sessionId, function () {});
v1.addProperty('userId', v1.__get__userId, function () {});
v1.addProperty('username', v1.__get__username, function () {});
ASSetPropFlags(com.newgrounds.API.prototype, null, 1);
}
#endinitclip
}
movieClip 510 __Packages.com.newgrounds.encoders.ImageScanner {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.encoders) {
_global.com.newgrounds.encoders = new Object();
}
if (!_global.com.newgrounds.encoders.ImageScanner) {
var v1 = function (hashLength, charsPerPixel) {
if (hashLength) {
this._hash = com.newgrounds.encoders.ImageScanner.DEFAULT_HASH.substr(0, hashLength);
}
this._baseN = new com.newgrounds.encoders.BaseN(this._hash);
if (charsPerPixel) {
this._charsPerPixel = charsPerPixel;
}
this.__set__encodeAlpha(false);
};
com.newgrounds.encoders.ImageScanner = v1;
var v2 = v1.prototype;
v2.__get__encodeAlpha = function () {
return this._encodeAlpha;
};
v2.__set__encodeAlpha = function (v) {
this._encodeAlpha = v;
this._maxPerChannel = int(Math.pow(this._hash.length, this._charsPerPixel / (this._encodeAlpha ? 4 : 3)));
if (this._maxPerChannel > 256) {
this._maxPerChannel = 256;
}
return this.__get__encodeAlpha();
};
v2.encode = function (source, callbackFunction, callbackObject) {
var v4 = {'callbackFunction': callbackFunction, 'callbackObject': callbackObject, 'source': source, 'x': 0, 'y': 0, 'output': null};
var v2 = source.width.toString();
var v3 = source.height.toString();
while (v2.length < 3) {
v2 = '0' + v2;
}
while (v3.length < 3) {
v3 = '0' + v3;
}
v4.output = v2 + v3;
var v6 = setInterval(this, 'doEncode', com.newgrounds.encoders.ImageScanner.WORK_INTERVAL, v4);
v4.interval = v6;
};
v2.decode = function (source, callbackFunction, callbackObject) {
var v4 = {'callbackFunction': callbackFunction, 'callbackObject': callbackObject, 'source': source, 'i': 6, 'x': 0, 'y': 0, 'output': null};
var v3 = source.substr(0, 3);
var v2 = source.substr(3, 3);
while (v3.charAt(0) == '0') {
v3 = v3.substr(1);
}
while (v2.charAt(0) == '0') {
v2 = v2.substr(1);
}
var v7 = int(v3);
var v8 = int(v2);
v4.output = new flash.display.BitmapData(v7, v8, this._encodeAlpha);
var v6 = setInterval(this, 'doDecode', com.newgrounds.encoders.ImageScanner.WORK_INTERVAL, v4);
v4.interval = v6;
};
v2.doEncode = function (state) {
var v3 = getTimer();
for (;;) {
if (!(state.y < state.source.height && getTimer() - v3 < com.newgrounds.encoders.ImageScanner.WORK_INTERVAL)) break;
state.output += this.encodePixel(state.source.getPixel32(state.x, state.y));
++state.x;
if (state.x == state.source.width) {
state.x = 0;
++state.y;
}
}
if (state.y == state.source.height) {
clearInterval(state.interval);
state.callbackFunction.call(state.callbackObject, state.output);
}
};
v2.doDecode = function (state) {
var v4 = getTimer();
for (;;) {
if (!(state.y < state.output.height && getTimer() - v4 < com.newgrounds.encoders.ImageScanner.WORK_INTERVAL)) break;
var v3 = this.decodePixel(state.source.substr(state.i, this._charsPerPixel));
state.output.setPixel32(state.x, state.y, v3);
state.i += this._charsPerPixel;
++state.x;
if (state.x == state.output.width) {
state.x = 0;
++state.y;
}
}
if (state.y == state.output.height) {
clearInterval(state.interval);
state.callbackFunction.call(state.callbackObject, state.output);
}
};
v2.encodePixel = function (pixel) {
var v3 = pixel >> 24 & 255;
var v4 = pixel >> 16 & 255;
var v5 = pixel >> 8 & 255;
var v2 = pixel & 255;
v3 = int((v3 / 256) * this._maxPerChannel);
v4 = int((v4 / 256) * this._maxPerChannel);
v5 = int((v5 / 256) * this._maxPerChannel);
v2 = int((v2 / 256) * this._maxPerChannel);
var v7 = v4 * this._maxPerChannel * this._maxPerChannel + v5 * this._maxPerChannel + v2;
if (this._encodeAlpha) {
v7 += v3 * this._maxPerChannel * this._maxPerChannel * this._maxPerChannel;
}
return this._baseN.encodeUint(v7, this._charsPerPixel);
};
v2.decodePixel = function (encodedPixel) {
var v3 = 255;
var v5;
var v6;
var v4;
var v7 = 0;
var v2 = this._baseN.decodeUint(encodedPixel);
v4 = v2 % this._maxPerChannel;
v2 /= int(this._maxPerChannel);
v6 = v2 % this._maxPerChannel;
v2 /= int(this._maxPerChannel);
v5 = v2 % this._maxPerChannel;
v2 /= int(this._maxPerChannel);
if (this._encodeAlpha) {
v3 = v2 % this._maxPerChannel;
v2 /= int(this._maxPerChannel);
}
return v3 << 24 | v5 << 16 | v6 << 8 | v4;
};
v1.DEFAULT_HASH = '0123456789aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ<>?:;-_=+()!&';
v2._hash = com.newgrounds.encoders.ImageScanner.DEFAULT_HASH;
v2._charsPerPixel = 2;
v1.WORK_INTERVAL = 33.33333333333334;
v2.addProperty('encodeAlpha', v2.__get__encodeAlpha, v2.__set__encodeAlpha);
ASSetPropFlags(com.newgrounds.encoders.ImageScanner.prototype, null, 1);
}
#endinitclip
}
movieClip 511 __Packages.com.newgrounds.SaveFile {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.SaveFile) {
var v1 = function (group) {
super();
this._iconLoader = new com.newgrounds.BitmapLoader(com.newgrounds.SaveFile.DEFAULT_ICON, null);
this._group = group;
this._keys = {};
this._ratings = {};
this._numVotes = {};
};
com.newgrounds.SaveFile = v1;
com.newgrounds.SaveFile extends com.newgrounds.APIEventDispatcher;
var v2 = v1.prototype;
v1.__get__currentFile = function () {
return com.newgrounds.SaveFile._currentFile;
};
v1.fromObject = function (group, fileData) {
var v3 = new com.newgrounds.SaveFile(group);
v3._name = fileData.filename;
v3._description = fileData.description;
v3._id = fileData.save_id;
v3._authorId = fileData.user_id;
v3._authorName = fileData.user_name;
v3._createdDate = fileData.created;
v3._modifiedDate = fileData.last_update;
v3._views = fileData.views;
if (fileData.thumb && fileData.thumb != '') {
v3._iconLoader.__set__url(com.newgrounds.SaveFile._imageFilePath + fileData.thumb);
}
v3._dataURL = com.newgrounds.SaveFile._saveFilePath + fileData.file;
v3._fileSize = fileData.file_size;
v3._approved = fileData.status != com.newgrounds.SaveFile.STATUS_UNAPPROVED;
v3._readOnly = false;
v3._public = fileData.status != com.newgrounds.SaveFile.STATUS_PRIVATE && fileData.status != com.newgrounds.SaveFile.STATUS_UNAPPROVED;
for (var v8 in fileData.keys) {
var v6 = fileData.keys[v8];
var v4 = group.getKeyById(v6.id);
if (v4) {
v3._keys[v4.__get__name()] = v4.validateValue(v6.value);
}
}
for (var v9 in fileData.ratings) {
var v5 = fileData.ratings[v9];
var v2 = group.getRatingById(v5.id);
if (v2) {
v3._ratings[v2.__get__name()] = v2.validateValue(v5.score);
v3._numVotes[v2.__get__name()] = int(v5.votes);
}
}
return v3;
};
v2.__get__group = function () {
return this._group;
};
v2.__get__name = function () {
return this._name;
};
v2.__set__name = function (val) {
this._name = val;
return this.__get__name();
};
v2.__get__description = function () {
return this._description;
};
v2.__set__description = function (val) {
this._description = val;
return this.__get__description();
};
v2.__get__id = function () {
return this._id;
};
v2.__get__data = function () {
return this._data;
};
v2.__set__data = function (val) {
this._data = val;
return this.__get__data();
};
v2.__get__bytesLoaded = function () {
if (this._data) {
return this.__get__bytesTotal();
} else {
if (!this._dataLoader) {
return 0;
} else {
return this._dataLoader.getBytesLoaded();
}
}
};
v2.__get__bytesTotal = function () {
return this._fileSize;
};
v2.__get__readOnly = function () {
return this._readOnly;
};
v2.__get__draft = function () {
return this._draft;
};
v2.__set__draft = function (v) {
this._draft = v;
return this.__get__draft();
};
v2.__get__authorId = function () {
return this._authorId;
};
v2.__get__authorName = function () {
return this._authorName;
};
v2.__get__keys = function () {
return this._keys;
};
v2.__get__ratings = function () {
return this._ratings;
};
v2.__get__numVotes = function () {
return this._numVotes;
};
v2.__get__views = function () {
return this._views;
};
v2.__get__createdDate = function () {
return this._createdDate;
};
v2.__get__updatedDate = function () {
return this._modifiedDate;
};
v2.toString = function () {
return 'Save File: ' + this._name;
};
v2.__get__icon = function () {
return this._iconLoader.__get__bitmapData();
};
v2.__set__icon = function (v) {
this.createIcon(v);
return this.__get__icon();
};
v2.__get__iconLoaded = function () {
return this._iconLoader.__get__loaded();
};
v2.createIcon = function (source) {
var v9 = new flash.display.BitmapData(com.newgrounds.SaveFile.ICON_WIDTH, com.newgrounds.SaveFile.ICON_HEIGHT, false, 0);
var v7;
var v6;
var v10 = 0;
var v8 = 0;
if (source instanceof flash.display.BitmapData) {
v7 = source.width;
v6 = source.height;
} else {
if (source instanceof MovieClip) {
var v2 = (MovieClip(source)).getBounds(source);
v7 = v2.xMax - v2.xMin;
v6 = v2.yMax - v2.yMin;
v10 = v2.xMin;
v8 = v2.yMin;
}
}
var v4 = new flash.geom.Matrix();
var v5;
v5 = Math.min(com.newgrounds.SaveFile.ICON_WIDTH / v7, com.newgrounds.SaveFile.ICON_HEIGHT / v6);
v4.translate(-v10, -v8);
v4.scale(v5, v5);
v4.translate((com.newgrounds.SaveFile.ICON_WIDTH - v7 * v5) / 2, (com.newgrounds.SaveFile.ICON_HEIGHT - v6 * v5) / 2);
v9.draw(source, v4);
this._iconLoader.__set__bitmapData(v9);
};
v2.attachIcon = function (parent) {
if (this._iconLoader) {
return this._iconLoader.attachBitmap(parent);
}
com.newgrounds.Logger.logError('No icon available for this sumbission.');
return null;
};
v2.deleteFile = function () {
if (!(this._group.__get__connection()).__get__hasUserSession()) {
com.newgrounds.Logger.logError('The user must be logged-in to delete a file.');
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.FILE_DELETED, null, com.newgrounds.APIEvent.ERROR_NOT_LOGGED_IN));
return undefined;
}
if (!this._id) {
com.newgrounds.Logger.logError('The file does not exist.');
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.FILE_DELETED, null, com.newgrounds.APIEvent.ERROR_NOT_LOGGED_IN));
return undefined;
}
var v2 = new com.newgrounds.APICommand('deleteSaveFile');
(v2.__get__secureParameters()).save_id = this._id;
v2.addEventListener(com.newgrounds.APIEvent.COMMAND_COMPLETE, {'target': this, 'func': this.onFileDeleted});
(this._group.__get__connection()).sendCommand(v2);
};
v2.save = function () {
if (!(this._group.__get__connection()).__get__hasUserSession()) {
com.newgrounds.Logger.logError('The user must be logged-in to save a file.');
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.FILE_SAVED, null, com.newgrounds.APIEvent.ERROR_NOT_LOGGED_IN));
return undefined;
}
++com.newgrounds.BitmapLoader._cacheSeed;
com.newgrounds.SaveFile._currentFile = this;
if (this.__get__iconLoaded()) {
com.newgrounds.SaveFile.ICON_IMAGE_SCANNER.encode(this.__get__icon(), this.onIconEncoded, this);
} else {
this.encodeData(true);
}
};
v2.onIconEncoded = function (encodedIcon) {
this._encodedIcon = encodedIcon;
this.encodeData(true);
};
v2.doSave = function () {
var v4 = new com.newgrounds.APICommand('saveFile');
(v4.__get__secureParameters()).group = this._group.id;
(v4.__get__secureParameters()).user_name = (this._group.__get__connection()).username;
(v4.__get__secureParameters()).filename = this._name;
(v4.__get__secureParameters()).description = this._description;
if (this._draft) {
(v4.__get__secureParameters()).draft = true;
}
if (this._id && !this._readOnly) {
(v4.__get__secureParameters()).overwrite = 1;
(v4.__get__secureParameters()).save_id = this._id;
}
var v8 = [];
for (var v9 in this._keys) {
var v2 = this._group.getKey(v9);
if (v2) {
v8.push({'id': v2.__get__id(), 'value': v2.validateValue(this._keys[v9])});
} else {
com.newgrounds.Logger.logError('No key named "' + v9 + '" in save group "' + this._group.__get__name() + '".');
}
}
(v4.__get__secureParameters()).keys = v8;
var v7 = [];
for (var v10 in this._ratings) {
var v3 = this._group.getRating(v10);
if (v3) {
v7.push({'id': v3.__get__id(), 'value': v3.validateValue(this._ratings[v10])});
} else {
com.newgrounds.Logger.logError('No rating named "' + v10 + '" in save group "' + this._group.__get__name() + '".');
}
}
(v4.__get__secureParameters()).ratings = v7;
if (typeof this._encodedData == 'string') {
v4.addFile('file', this._encodedData, 'file');
} else {
v4.addFile('file', com.newgrounds.encoders.json.JSON.encode(this._encodedData), 'file');
}
if (this.__get__iconLoaded()) {
v4.addFile('thumbnail', this._encodedIcon, 'thumbnail');
}
v4.addEventListener(com.newgrounds.APIEvent.COMMAND_COMPLETE, {'target': this, 'func': this.onSaveComplete});
(this._group.__get__connection()).sendCommand(v4);
};
v2.encodeData = function (encode) {
this._encoderQueue = [];
this._encoding = encode;
if (encode) {
this._encodedData = this._data;
this.preEncodeObject(this, '_encodedData');
} else {
this.preEncodeObject(this, '_data');
}
this.encodeObject();
};
v2.preEncodeObject = function (parent, property) {
var v3 = parent[property];
var v5;
try {
if (this._encoding) {
v5 = v3 instanceof flash.display.BitmapData;
} else {
v5 = v3.type == '__bitmap';
}
}
var v2 = v3;
var v8;
if (v5) {
this._encoderQueue.push({'parent': parent, 'property': property});
} else {
if (typeof v3 == 'object' && !v8) {
if (this._encoding) {
if (v3 instanceof Array) {
v2 = [];
} else {
v2 = {};
}
for (var v4 in v3) {
v2[v4] = v3[v4];
}
parent[property] = v2;
}
for (v4 in v2) {
this.preEncodeObject(v2, v4);
}
}
}
};
v2.encodeObject = function () {
if (!this._encoderQueue.length) {
if (this._encoding) {
this.doSave();
} else {
this._dataLoaded = true;
this.checkLoadComplete();
}
return undefined;
}
var v6 = this._encoderQueue.pop();
var v4 = v6.parent;
var v3 = v6.property;
var v2 = v4[v3];
var v5;
if (this._encoding) {
v5 = {'type': '__bitmap', 'width': v2.width, 'height': v2.height, 'transparent': v2.transparent};
v4[v3] = v5;
this._encodingParent = v5;
this._encodingProperty = 'data';
com.newgrounds.SaveFile.DATA_IMAGE_SCANNER.__set__encodeAlpha(v2.transparent);
com.newgrounds.SaveFile.DATA_IMAGE_SCANNER.encode(flash.display.BitmapData(v2), this.encodeBitmapComplete, this);
} else {
this._encodingParent = v4;
this._encodingProperty = v3;
com.newgrounds.SaveFile.DATA_IMAGE_SCANNER.__set__encodeAlpha(v2.transparent);
com.newgrounds.SaveFile.DATA_IMAGE_SCANNER.decode(String(v2.data), this.encodeBitmapComplete, this);
}
};
v2.encodeBitmapComplete = function (data) {
this._encodingParent[this._encodingProperty] = data;
this.encodeObject();
};
v2.load = function () {
com.newgrounds.SaveFile._currentFile = this;
this._dataLoaded = false;
this._data = null;
if (!this.__get__iconLoaded()) {
this._iconLoader.addEventListener(com.newgrounds.APIEvent.ICON_LOADED, {'target': this, 'func': this.onIconLoaded});
this._iconLoader.load();
}
this._dataLoader = new LoadVars();
var file = this;
this._dataLoader.onData = function (data) {
file.onDataLoaded(data);
};
this._dataLoader.load(this._dataURL + '&random=' + Math.random());
};
v2.onIconLoaded = function (event) {
if (!event.__get__success() && this._iconLoader.__get__url()) {
com.newgrounds.Logger.logWarning('Unable to load the icon for this save file.');
}
this._iconLoader.removeEventListener(com.newgrounds.APIEvent.ICON_LOADED, this.onIconLoaded);
this.checkLoadComplete();
};
v2.checkLoadComplete = function () {
if (this._dataLoaded && this.__get__iconLoaded()) {
com.newgrounds.Logger.logMessage('Data loaded.');
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.FILE_LOADED, this));
}
};
v2.onDataLoaded = function (data) {
try {
if (data) {
if (data.charAt(0) == '{') {
this._data = com.newgrounds.encoders.json.JSON.decode(String(data));
} else {
this._data = String(data);
}
this.encodeData(false);
}
}
catch (v0) {
if (Error(v0) != null) {
var error = Error(v0);
com.newgrounds.Logger.logError('Error while loading data:', error);
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.FILE_LOADED, this, com.newgrounds.APIEvent.ERROR_BAD_FILE));
} else {
throw v0;
}
}
};
v2.onDataError = function (error) {
com.newgrounds.Logger.logError('Unable to load data:', error);
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.FILE_LOADED, this, com.newgrounds.APIEvent.ERROR_BAD_FILE));
};
v2.onSaveComplete = function (event) {
if (event.__get__success()) {
com.newgrounds.Logger.logMessage('File "' + this._name + '" saved!');
if (event.__get__data()) {
this._id = (event.__get__data()).save_id;
this._dataURL = unescape((event.__get__data()).file_url);
}
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.FILE_SAVED, this));
} else {
com.newgrounds.Logger.logError('Error saving file "' + this._name + '":', event.__get__error());
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.FILE_SAVED, this, event.__get__error()));
}
};
v2.sendVote = function (ratingName, vote) {
var v2 = this._group.getRating(ratingName);
if (!v2) {
com.newgrounds.Logger.logError('No save rating named "' + ratingName + '" exists for this save group.');
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.VOTE_COMPLETE, {}, com.newgrounds.APIEvent.ERROR_INVALID_ARGUMENT));
return undefined;
}
vote = v2.validateValue(vote);
if (isNaN(vote)) {
com.newgrounds.Logger.logError('Invalid vote (' + vote + '). ' + ratingName + ' allows a range of ' + v2.__get__minimum() + '-' + v2.__get__maximum() + '.');
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.VOTE_COMPLETE, {}, com.newgrounds.APIEvent.ERROR_INVALID_ARGUMENT));
return undefined;
}
com.newgrounds.Logger.logMessage('Voting ' + vote + ' for ' + ratingName + ' on ' + this._name + '...');
(this._group.__get__connection()).sendSimpleCommand('rateSaveFile', {'target': this, 'func': this.onVoteComplete}, null, {'group': this._group.__get__id(), 'save_id': this._id, 'rating_id': v2.__get__id(), 'vote': vote});
};
v2.onVoteComplete = function (event) {
var v2 = event.__get__error();
if ((event.__get__data()).already_voted) {
com.newgrounds.Logger.logError('Vote failed. You\'ve already voted on this rating today.');
v2 = com.newgrounds.APIEvent.ERROR_ALREADY_VOTED;
}
if (v2 == com.newgrounds.APIEvent.ERROR_NONE) {
var v3 = this._group.getRatingById((event.__get__data()).rating_id);
if (v3) {
this._ratings[v3.__get__name()] = v3.validateValue((event.__get__data()).score);
}
com.newgrounds.Logger.logMessage('Vote complete!');
}
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.VOTE_COMPLETE, this, v2));
};
v2.onFileDeleted = function (event) {
if (event.__get__success()) {
this._id = 0;
}
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.FILE_DELETED, this, event.__get__error()));
};
v2.clone = function () {
var v3 = new com.newgrounds.SaveFile(this._group);
v3._data = this._data;
v3._description = this._description;
v3._draft = this._draft;
v3._fileSize = this._fileSize;
v3._iconLoader.__set__bitmapData(this._iconLoader.bitmapData);
var v2;
for (v2 in this._keys) {
v3._keys[v2] = this._keys[v2];
}
for (v2 in this._ratings) {
v3._ratings[v2] = this._ratings[v2];
}
for (v2 in this._numVotes) {
v3._numVotes[v2] = this._numVotes[v2];
}
v3._name = this._name;
return v3;
};
v1.ICON_WIDTH = 90;
v1.ICON_HEIGHT = 90;
v1.DEFAULT_ICON = new flash.display.BitmapData(com.newgrounds.SaveFile.ICON_WIDTH, com.newgrounds.SaveFile.ICON_HEIGHT, false, 0);
v1.STATUS_PRIVATE = 0;
v1.STATUS_SHARED = 1;
v1.STATUS_UNAPPROVED = 2;
v1.STATUS_APPROVED = 3;
v1._imageFilePath = '';
v1._saveFilePath = '';
v1.ICON_IMAGE_SCANNER = new com.newgrounds.encoders.ImageScanner();
v1.DATA_IMAGE_SCANNER = new com.newgrounds.encoders.ImageScanner(64, 6);
v2.addProperty('authorId', v2.__get__authorId, function () {});
v2.addProperty('authorName', v2.__get__authorName, function () {});
v2.addProperty('bytesLoaded', v2.__get__bytesLoaded, function () {});
v2.addProperty('bytesTotal', v2.__get__bytesTotal, function () {});
v2.addProperty('createdDate', v2.__get__createdDate, function () {});
v1.addProperty('currentFile', v1.__get__currentFile, function () {});
v2.addProperty('data', v2.__get__data, v2.__set__data);
v2.addProperty('description', v2.__get__description, v2.__set__description);
v2.addProperty('draft', v2.__get__draft, v2.__set__draft);
v2.addProperty('group', v2.__get__group, function () {});
v2.addProperty('icon', v2.__get__icon, v2.__set__icon);
v2.addProperty('iconLoaded', v2.__get__iconLoaded, function () {});
v2.addProperty('id', v2.__get__id, function () {});
v2.addProperty('keys', v2.__get__keys, function () {});
v2.addProperty('name', v2.__get__name, v2.__set__name);
v2.addProperty('numVotes', v2.__get__numVotes, function () {});
v2.addProperty('ratings', v2.__get__ratings, function () {});
v2.addProperty('readOnly', v2.__get__readOnly, function () {});
v2.addProperty('updatedDate', v2.__get__updatedDate, function () {});
v2.addProperty('views', v2.__get__views, function () {});
ASSetPropFlags(com.newgrounds.SaveFile.prototype, null, 1);
}
#endinitclip
}
movieClip 509 __Packages.com.newgrounds.SaveGroup {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.SaveGroup) {
var v1 = function (connection, name, id, type, keys, ratings) {
this._connection = connection;
this._id = id;
this._name = name;
this._type = type;
this._keysArray = keys;
this._ratingsArray = ratings;
this._keys = new Object();
this._ratings = new Object();
var v11;
for (var v7 in keys) {
var v2 = keys[v7];
this._keys[v2.__get__name()] = v2;
}
for (var v6 in ratings) {
var v3 = ratings[v6];
this._ratings[v3.__get__name()] = v3;
}
};
com.newgrounds.SaveGroup = v1;
var v2 = v1.prototype;
v2.__get__connection = function () {
return this._connection;
};
v2.__get__name = function () {
return this._name;
};
v2.__get__type = function () {
return this._type;
};
v2.__get__id = function () {
return this._id;
};
v2.__get__keys = function () {
return this._keysArray;
};
v2.__get__ratings = function () {
return this._ratingsArray;
};
v2.getKey = function (name) {
return this._keys[name];
};
v2.getRating = function (name) {
return this._ratings[name];
};
v2.getKeyById = function (id) {
for (var v4 in this._keys) {
var v2 = this._keys[v4];
if (v2.__get__id() == id) {
return v2;
}
}
return null;
};
v2.getRatingById = function (id) {
for (var v4 in this._ratings) {
var v2 = this._ratings[v4];
if (v2.__get__id() == id) {
return v2;
}
}
return null;
};
v2.toString = function () {
return 'SaveGroup: ' + this.__get__name() + ' Keys: ' + this._keysArray + ' Ratings: ' + this._ratingsArray;
};
v1.TYPE_SYSTEM = 0;
v1.TYPE_PRIVATE = 1;
v1.TYPE_PUBLIC = 2;
v1.TYPE_MODERATED = 3;
v2.addProperty('connection', v2.__get__connection, function () {});
v2.addProperty('id', v2.__get__id, function () {});
v2.addProperty('keys', v2.__get__keys, function () {});
v2.addProperty('name', v2.__get__name, function () {});
v2.addProperty('ratings', v2.__get__ratings, function () {});
v2.addProperty('type', v2.__get__type, function () {});
ASSetPropFlags(com.newgrounds.SaveGroup.prototype, null, 1);
}
#endinitclip
}
movieClip 507 __Packages.com.newgrounds.SaveKey {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.SaveKey) {
var v1 = function (name, id, type) {
this._name = name;
this._id = id;
this._type = type;
};
com.newgrounds.SaveKey = v1;
var v2 = v1.prototype;
v2.__get__name = function () {
return this._name;
};
v2.__get__id = function () {
return this._id;
};
v2.__get__type = function () {
return this._type;
};
v2.validateValue = function (value) {
switch (this._type) {
return null;
case com.newgrounds.SaveKey.TYPE_INTEGER:
value = Number(value);
if (!isNaN(value)) {
var v3 = int(value);
if (v3 != value) {
com.newgrounds.Logger.logWarning('Float value ' + value + ' given for integer key "' + this._name + '". Clamping to ' + v3 + '.');
}
return v3;
}
return null;
case com.newgrounds.SaveKey.TYPE_FLOAT:
value = Number(value);
if (!isNaN(value)) {
return isNaN(Number(value));
}
return null;
case com.newgrounds.SaveKey.TYPE_BOOLEAN:
return Boolean(value) && int(value) != 0;
return null;
case com.newgrounds.SaveKey.TYPE_STRING:
return value ? value.toString() : '';
return null;
}
return null;
};
v2.toString = function () {
return this._name;
};
v1.TYPE_FLOAT = 1;
v1.TYPE_INTEGER = 2;
v1.TYPE_STRING = 3;
v1.TYPE_BOOLEAN = 4;
v2.addProperty('id', v2.__get__id, function () {});
v2.addProperty('name', v2.__get__name, function () {});
v2.addProperty('type', v2.__get__type, function () {});
ASSetPropFlags(com.newgrounds.SaveKey.prototype, null, 1);
}
#endinitclip
}
movieClip 508 __Packages.com.newgrounds.SaveRating {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.SaveRating) {
var v1 = function (name, id, isFloat, minimum, maximum) {
this._name = name;
this._id = id;
this._isFloat = isFloat;
this._minimum = minimum;
this._maximum = maximum;
};
com.newgrounds.SaveRating = v1;
var v2 = v1.prototype;
v2.__get__name = function () {
return this._name;
};
v2.__get__id = function () {
return this._id;
};
v2.__get__isFloat = function () {
return this._isFloat;
};
v2.__get__minimum = function () {
return this._minimum;
};
v2.__get__maximum = function () {
return this._maximum;
};
v2.validateValue = function (value) {
var v2 = Number(value);
if (isNaN(v2)) {
com.newgrounds.Logger.logError('Invalid value for rating "' + this._name + '".');
return NaN;
}
if (v2 < this._minimum) {
com.newgrounds.Logger.logWarning(v2 + ' is out of acceptable range for rating "' + this._name + '". Clamping to ' + this._minimum + '.');
return this._minimum;
}
if (v2 > this._maximum) {
com.newgrounds.Logger.logWarning(v2 + ' is out of acceptable range for rating "' + this._name + '". Clamping to ' + this._maximum + '.');
return this._maximum;
}
if (!this.__get__isFloat()) {
var v3 = int(v2);
if (v3 != v2) {
com.newgrounds.Logger.logWarning('Float value ' + v2 + ' given for integer rating "' + this._name + '". Clamping to ' + v3 + '.');
}
return v3;
}
return v2;
};
v2.toString = function () {
return this._name;
};
v2.addProperty('id', v2.__get__id, function () {});
v2.addProperty('isFloat', v2.__get__isFloat, function () {});
v2.addProperty('maximum', v2.__get__maximum, function () {});
v2.addProperty('minimum', v2.__get__minimum, function () {});
v2.addProperty('name', v2.__get__name, function () {});
ASSetPropFlags(com.newgrounds.SaveRating.prototype, null, 1);
}
#endinitclip
}
movieClip 503 __Packages.com.newgrounds.BitmapLoader {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.BitmapLoader) {
var v1 = function (defaultBitmap, url) {
super();
this._bitmapData = defaultBitmap;
this._url = url;
};
com.newgrounds.BitmapLoader = v1;
com.newgrounds.BitmapLoader extends com.newgrounds.APIEventDispatcher;
var v2 = v1.prototype;
v2.__get__url = function () {
return this._url;
};
v2.__set__url = function (v) {
this._loaded = false;
this._url = v;
return this.__get__url();
};
v2.__get__bitmapData = function () {
return this._bitmapData;
};
v2.__set__bitmapData = function (v) {
this._bitmapData = v;
this._loaded = true;
return this.__get__bitmapData();
};
v2.__get__loaded = function () {
return this._loaded;
};
v2.disposeLoader = function () {
if (this._loader) {
if (this._loaderClip._parent == _root) {
this._loader.unloadClip(this._loaderClip.bitmap);
this._loaderClip.removeMovieClip();
}
this._loader = null;
this._loaderClip = null;
}
};
v2.load = function () {
if (!this._url || this._url == '') {
this.onLoadComplete();
return undefined;
}
this._loaded = false;
if (this._bitmapData) {
this._bitmapData.dispose();
this._bitmapData = null;
}
this.disposeLoader();
this.attachBitmap(null);
};
v2.attachBitmap = function (parent) {
if (!parent) {
parent = _root;
}
var v5 = parent.getNextHighestDepth();
var v3 = parent.createEmptyMovieClip('__bitmap' + v5, v5);
if (!this._loaded && this._url && this._url != '') {
v3.createEmptyMovieClip('bitmap', 0);
this._loader = new MovieClipLoader();
this._loaderClip = v3;
if (parent == _root) {
this._loaderClip._visible = false;
}
var thisObj = this;
this._loaderClip.onEnterFrame = function () {
thisObj.pollLoad();
};
this._loader.addListener({'onLoadError': function () {
thisObj.onLoadComplete();
}});
this._loader.loadClip(this._url, v3.bitmap);
return v3;
}
v3.attachBitmap(this._bitmapData, 0);
return v3;
};
v2.pollLoad = function () {
if (this._loaderClip._width) {
this.onLoadComplete();
}
};
v2.onLoadComplete = function () {
var v2;
if (this._loader && this._loaderClip && this._loaderClip._width) {
try {
this._loaderClip.onEnterFrame = null;
v2 = new flash.display.BitmapData(this._loaderClip._width, this._loaderClip._height, true, 0);
v2.draw(this._loaderClip);
this._bitmapData = v2;
this._loaded = true;
}
catch (error) {
if (v2) {
v2.dispose();
}
}
}
this.disposeLoader();
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.ICON_LOADED, this, this._loaded ? null : com.newgrounds.APIEvent.ERROR_BAD_FILE));
};
v1._cacheSeed = 0;
v2._loaded = true;
v2.addProperty('bitmapData', v2.__get__bitmapData, v2.__set__bitmapData);
v2.addProperty('loaded', v2.__get__loaded, function () {});
v2.addProperty('url', v2.__get__url, v2.__set__url);
ASSetPropFlags(com.newgrounds.BitmapLoader.prototype, null, 1);
}
#endinitclip
}
movieClip 512 __Packages.com.newgrounds.SaveQuery {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.SaveQuery) {
var v1 = function (group) {
super();
this._group = group;
this._connection = group.connection;
this.reset();
};
com.newgrounds.SaveQuery = v1;
com.newgrounds.SaveQuery extends com.newgrounds.APIEventDispatcher;
var v2 = v1.prototype;
v2.__get__group = function () {
return this._group;
};
v2.__get__resultsPerPage = function () {
return this._resultsPerPage;
};
v2.__set__resultsPerPage = function (val) {
this._resultsPerPage = Math.min(Math.max(val, 1), 100);
return this.__get__resultsPerPage();
};
v2.__get__page = function () {
return this._page;
};
v2.__set__page = function (val) {
this._page = Math.max(val, 1);
return this.__get__page();
};
v2.prevPage = function () {
this.__set__page(this.__get__page() - 1);
};
v2.nextPage = function () {
this.__set__page(this.__get__page() + 1);
};
v2.__get__isRandomized = function () {
return this._isRandomized;
};
v2.__set__isRandomized = function (val) {
this._isRandomized = val;
return this.__get__isRandomized();
};
v2.__get__files = function () {
return this._files;
};
v2.reset = function () {
this._page = 1;
this._resultsPerPage = 10;
this._isRandomized = false;
this._lookupKeys = [];
this._lookupRatings = [];
this._fileConditions = [];
this._keyConditions = [];
this._ratingConditions = [];
this._sortFields = [];
this._files = [];
this.includeAllFields();
};
v2.clone = function () {
var v2 = new com.newgrounds.SaveQuery(this._group);
v2._page = this._page;
v2._resultsPerPage = this._resultsPerPage;
v2._isRandomized = this._isRandomized;
v2._lookupKeys = this._lookupKeys.concat();
v2._lookupRatings = this._lookupRatings.concat();
v2._fileConditions = this._fileConditions.concat();
v2._keyConditions = this._keyConditions.concat();
v2._ratingConditions = this._ratingConditions.concat();
return v2;
};
v2.includeAllFields = function () {
for (var v5 in this._group.__get__keys()) {
var v2 = (this._group.__get__keys())[v5];
this._lookupKeys.push(v2.__get__id());
}
for (var v4 in this._group.__get__ratings()) {
var v3 = (this._group.__get__ratings())[v4];
this._lookupRatings.push(v3.__get__id());
}
};
v2.addCondition = function (field, operator, value) {
var v2;
v2 = 0;
while (v2 < com.newgrounds.SaveQuery.FILE_FIELDS.length) {
if (com.newgrounds.SaveQuery.FILE_FIELDS[v2] == field) {
break;
}
++v2;
}
if (v2 == com.newgrounds.SaveQuery.FILE_FIELDS.length) {
v2 = -1;
}
if (v2 >= 0) {
this._fileConditions.push({'field': v2, 'operator': operator, 'value': value});
} else {
var v4 = this._group.getKey(field);
if (v4) {
value = v4.validateValue(value);
this._keyConditions.push({'key_id': v4.__get__id(), 'operator': operator, 'value': value});
return undefined;
}
var v3 = field.split('.');
var v6 = this._group.getRating(v3[0]);
if (v6) {
if (v3[1] != 'votes') {
value = v6.validateValue(value);
}
this._ratingConditions.push({'rating_id': v6.__get__id(), 'operator': operator, 'value': value, 'column': v3[1] ? v3[1] : 'score'});
return undefined;
}
com.newgrounds.Logger.logError('The save group "' + this._group.__get__name() + '" does not have a field named "' + field + '".');
}
};
v2.sortOn = function (field, sortDescending) {
if (sortDescending == undefined) {
sortDescending = false;
}
var v2;
v2 = 0;
while (v2 < com.newgrounds.SaveQuery.FILE_FIELDS.length) {
if (com.newgrounds.SaveQuery.FILE_FIELDS[v2] == field) {
break;
}
++v2;
}
if (v2 == com.newgrounds.SaveQuery.FILE_FIELDS.length) {
v2 = -1;
}
if (v2 >= 0) {
this._sortFields.push({'table': com.newgrounds.SaveQuery.TABLE_FILES, 'field': v2, 'desc': sortDescending});
} else {
var v5 = this._group.getKey(field);
if (v5) {
this._sortFields.push({'table': com.newgrounds.SaveQuery.TABLE_KEYS, 'field': v5.__get__id(), 'desc': sortDescending});
return undefined;
}
var v3 = field.split('.');
var v6 = this._group.getRating(v3[0]);
if (v6) {
this._sortFields.push({'table': com.newgrounds.SaveQuery.TABLE_RATINGS, 'field': v6.__get__id(), 'desc': sortDescending, 'extra': v3[1] ? v3[1] : 'score'});
return undefined;
}
com.newgrounds.Logger.logError('The save group "' + this._group.__get__name() + '" does not have a field named "' + field + '".');
}
};
v2.execute = function () {
var v5 = {};
v5.page = this._page;
v5.num_results = this._resultsPerPage;
if (this._isRandomized) {
v5.randomize = 1;
}
if (this._lookupKeys && this._lookupKeys.length) {
v5.lookup_keys = this._lookupKeys;
}
if (this._lookupRatings && this._lookupRatings.length) {
v5.lookup_ratings = this._lookupRatings;
}
if (this._fileConditions && this._fileConditions.length) {
v5.file_conditions = this._fileConditions;
}
if (this._keyConditions && this._keyConditions.length) {
v5.key_conditions = this._keyConditions;
}
if (this._ratingConditions && this._ratingConditions.length) {
v5.rating_conditions = this._ratingConditions;
}
if (this._sortFields && this._sortFields.length) {
v5.sort_conditions = this._sortFields;
}
this._connection.sendSimpleCommand('lookupSaveFiles', {'target': this, 'func': this.onQueryComplete}, {'publisher_id': this._connection.publisherId, 'group_id': this._group.__get__id(), 'query': v5});
};
v2.onQueryComplete = function (event) {
if (event.__get__success()) {
var v4 = event.__get__data();
this._files = [];
if (v4.files) {
var v2 = 0;
while (v2 < v4.files.length) {
var v3 = com.newgrounds.SaveFile.fromObject(this._group, v4.files[v2]);
if (v3) {
this._files.push(v3);
}
++v2;
}
}
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.QUERY_COMPLETE, this));
} else {
com.newgrounds.Logger.logError('Query failed: ' + event.__get__error());
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.QUERY_COMPLETE, this, event.__get__error()));
}
};
v1.FILE_ID = 'fileId';
v1.AUTHOR_ID = 'authorId';
v1.AUTHOR_NAME = 'authorName';
v1.FILE_NAME = 'fileName';
v1.CREATED_ON = 'createdOn';
v1.UPDATED_ON = 'updatedOn';
v1.FILE_VIEWS = 'fileViews';
v1.FILE_STATUS = 'fileStatus';
v1.FILE_FIELDS = [com.newgrounds.SaveQuery.FILE_ID, com.newgrounds.SaveQuery.AUTHOR_ID, com.newgrounds.SaveQuery.AUTHOR_NAME, com.newgrounds.SaveQuery.FILE_NAME, com.newgrounds.SaveQuery.CREATED_ON, com.newgrounds.SaveQuery.UPDATED_ON, com.newgrounds.SaveQuery.FILE_VIEWS, com.newgrounds.SaveQuery.FILE_STATUS];
v1.OPERATOR_EQUAL = '=';
v1.OPERATOR_LESS_THAN = '<';
v1.OPERATOR_GREATER_THAN = '>';
v1.OPERATOR_NOT_EQUAL = '!=';
v1.OPERATOR_LESS_OR_EQUAL = '<=';
v1.OPERATOR_GREATER_OR_EQUAL = '>=';
v1.OPERATOR_CONTAINS = '*';
v1.OPERATOR_NOT_CONTAINS = '!*';
v1.OPERATOR_NOT_BEGINS_WITH = '!*=';
v1.OPERATOR_NOT_ENDS_WITH = '!=*';
v1.OPERATOR_BEGINS_WITH = '*=';
v1.OPERATOR_ENDS_WITH = '=*';
v1.TABLE_FILES = 1;
v1.TABLE_KEYS = 2;
v1.TABLE_RATINGS = 3;
v2._page = 1;
v2._resultsPerPage = 10;
v2._isRandomized = false;
v2.addProperty('files', v2.__get__files, function () {});
v2.addProperty('group', v2.__get__group, function () {});
v2.addProperty('isRandomized', v2.__get__isRandomized, v2.__set__isRandomized);
v2.addProperty('page', v2.__get__page, v2.__set__page);
v2.addProperty('resultsPerPage', v2.__get__resultsPerPage, v2.__set__resultsPerPage);
ASSetPropFlags(com.newgrounds.SaveQuery.prototype, null, 1);
}
#endinitclip
}
movieClip 504 __Packages.com.newgrounds.Medal {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.Medal) {
var v1 = function (connection, id, name, description, secret, unlocked, value, difficultyId, iconURL) {
super();
this._connection = connection;
this._id = id;
this._name = name;
this._description = description;
this._secret = secret;
this._unlocked = unlocked;
this._value = value;
this._difficulty = com.newgrounds.Medal.DIFFICULTIES[difficultyId];
this._iconLoader = new com.newgrounds.BitmapLoader(com.newgrounds.Medal.DEFAULT_ICON, iconURL);
this._iconLoader.load();
};
com.newgrounds.Medal = v1;
com.newgrounds.Medal extends com.newgrounds.APIEventDispatcher;
var v2 = v1.prototype;
v2.__get__difficulty = function () {
return this._difficulty;
};
v2.__get__icon = function () {
return this._iconLoader.__get__bitmapData();
};
v2.__get__id = function () {
return this._id;
};
v2.__get__name = function () {
return this._name;
};
v2.__get__description = function () {
return this._description;
};
v2.__get__secret = function () {
return this._secret;
};
v2.__get__unlocked = function () {
return this._unlocked;
};
v2.__get__value = function () {
return this._value;
};
v2.toString = function () {
if (!this._unlocked) {
return 'Medal: ' + this._name + '\t\t(' + 'locked, ' + this._value + 'pts, ' + this._difficulty + ')';
}
return 'Medal: ' + this._name + '\t\t(' + 'unlocked, ' + this._value + 'pts, ' + this._difficulty + ')';
};
v2.attachIcon = function (parent) {
return this._iconLoader.attachBitmap(parent);
};
v2.unlock = function () {
if (this._unlocked) {
com.newgrounds.Logger.logWarning('Medal "' + this._name + '" is already unlocked.');
return undefined;
}
com.newgrounds.Logger.logMessage('Unlocking medal "' + this.__get__name() + '"...');
this._unlocked = true;
if (this._connection.__get__hasUserSession()) {
this._connection.sendSimpleCommand('unlockMedal', {'target': this, 'func': this.onUnlockConfirmed}, null, {'medal_id': this.__get__id()});
}
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.MEDAL_UNLOCKED, this));
};
v2.setUnlocked = function (unlocked) {
this._unlocked = unlocked;
};
v2.onUnlockConfirmed = function (event) {
if (event.__get__success()) {
com.newgrounds.Logger.logMessage('Medal "' + this.__get__name() + '" unlocked.');
} else {
com.newgrounds.Logger.logError('Failed to unlock "' + this.__get__name() + '"!');
}
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.MEDAL_UNLOCK_CONFIRMED, this, event.__get__error()));
};
v1.ICON_WIDTH = 50;
v1.ICON_HEIGHT = 50;
v1.DEFAULT_ICON = flash.display.BitmapData.loadBitmap('DefaultMedalIcon');
v1.DIFFICULTY_EASY = 'Easy';
v1.DIFFICULTY_MODERATE = 'Moderate';
v1.DIFFICULTY_CHALLENGING = 'Challenging';
v1.DIFFICULTY_DIFFICULT = 'Difficult';
v1.DIFFICULTY_BRUTAL = 'Brutal';
v1.DIFFICULTIES = ['Unknown', com.newgrounds.Medal.DIFFICULTY_EASY, com.newgrounds.Medal.DIFFICULTY_MODERATE, com.newgrounds.Medal.DIFFICULTY_CHALLENGING, com.newgrounds.Medal.DIFFICULTY_DIFFICULT, com.newgrounds.Medal.DIFFICULTY_BRUTAL];
v2.addProperty('description', v2.__get__description, function () {});
v2.addProperty('difficulty', v2.__get__difficulty, function () {});
v2.addProperty('icon', v2.__get__icon, function () {});
v2.addProperty('id', v2.__get__id, function () {});
v2.addProperty('name', v2.__get__name, function () {});
v2.addProperty('secret', v2.__get__secret, function () {});
v2.addProperty('unlocked', v2.__get__unlocked, function () {});
v2.addProperty('value', v2.__get__value, function () {});
ASSetPropFlags(com.newgrounds.Medal.prototype, null, 1);
}
#endinitclip
}
movieClip 506 __Packages.com.newgrounds.ScoreBoard {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.ScoreBoard) {
var v1 = function (connection, name, id) {
super();
this._connection = connection;
this._name = name;
this._id = id;
};
com.newgrounds.ScoreBoard = v1;
com.newgrounds.ScoreBoard extends com.newgrounds.APIEventDispatcher;
var v2 = v1.prototype;
v2.__get__name = function () {
return this._name;
};
v2.__get__scores = function () {
return this._scores;
};
v2.__get__period = function () {
return this._period;
};
v2.__set__period = function (val) {
this._period = val;
return this.__get__period();
};
v2.__get__firstResult = function () {
return this._firstResult;
};
v2.__set__firstResult = function (val) {
this._firstResult = Math.max(1, val);
return this.__get__firstResult();
};
v2.__get__numResults = function () {
return this._numResults;
};
v2.__set__numResults = function (val) {
this._numResults = val;
return this.__get__numResults();
};
v2.__get__tag = function () {
return this._tag;
};
v2.__set__tag = function (val) {
this._tag = val;
return this.__get__tag();
};
v2.__get__page = function () {
return Math.ceil((this._firstResult - 1) / this._numResults) + 1;
};
v2.prevPage = function () {
if (this.__get__firstResult() > this._numResults) {
this.firstResult -= this._numResults;
}
};
v2.nextPage = function () {
this.firstResult += this._numResults;
};
v2.loadScores = function () {
this._connection.sendSimpleCommand('loadScores', {'target': this, 'func': this.onScoresLoaded}, {'publisher_id': this._connection.publisherId, 'board': this._id, 'page': (this._firstResult - 1) / this._numResults + 1, 'num_results': this._numResults, 'period': this._period, 'tag': this._tag});
};
v2.postScore = function (numericScore, tag) {
if (tag == undefined) {
tag = null;
}
if (isNaN(numericScore)) {
com.newgrounds.Logger.logError('Cannot post invalid score: ' + numericScore);
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.SCORE_POSTED, null, com.newgrounds.APIEvent.ERROR_INVALID_ARGUMENT));
return undefined;
}
com.newgrounds.Logger.logMessage('Posting a score of ' + numericScore + ' by ' + this._connection.username + ' to scoreboard "' + this._name + '"...');
this._connection.sendSimpleCommand('postScore', {'target': this, 'func': this.onScorePosted}, null, {'user_name': this._connection.username, 'board': this._id, 'value': numericScore, 'tag': tag});
};
v2.onScoresLoaded = function (event) {
var v4 = event.__get__data();
this._scores = [];
var v5;
if (v4.first_result) {
v5 = v4.first_result;
} else {
v5 = this._firstResult;
}
if (v4.scores) {
var v3 = 0;
while (v3 < v4.scores.length) {
var v2 = v4.scores[v3];
if (v2) {
this._scores[v3] = new com.newgrounds.Score(v5, v2.username, v2.value, v2.numeric_value, v2.tag);
}
v3++;
v5++;
}
}
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.SCORES_LOADED, this));
};
v2.onScorePosted = function (event) {
if (event.__get__success()) {
com.newgrounds.Logger.logMessage('Score posted!');
var v4 = event.__get__data();
var v2 = {};
v2.score = v4.value;
v2.scoreBoard = this;
} else {
com.newgrounds.Logger.logError('Error posting score: ' + event.__get__error());
}
this.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.SCORE_POSTED, storedv2, event.__get__error()));
};
v2.toString = function () {
return 'Scoreboard: ' + this._name;
};
v1.TODAY = 'Today';
v1.THIS_WEEK = 'This Week';
v1.THIS_MONTH = 'This Month';
v1.THIS_YEAR = 'This Year';
v1.ALL_TIME = 'All-Time';
v2._period = com.newgrounds.ScoreBoard.ALL_TIME;
v2._firstResult = 1;
v2._numResults = 10;
v2.addProperty('firstResult', v2.__get__firstResult, v2.__set__firstResult);
v2.addProperty('name', v2.__get__name, function () {});
v2.addProperty('numResults', v2.__get__numResults, v2.__set__numResults);
v2.addProperty('page', v2.__get__page, function () {});
v2.addProperty('period', v2.__get__period, v2.__set__period);
v2.addProperty('scores', v2.__get__scores, function () {});
v2.addProperty('tag', v2.__get__tag, v2.__set__tag);
ASSetPropFlags(com.newgrounds.ScoreBoard.prototype, null, 1);
}
#endinitclip
}
movieClip 495 __Packages.com.newgrounds.Logger {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.Logger) {
var v1 = function () {};
com.newgrounds.Logger = v1;
var v2 = v1.prototype;
v1.logInternal = function () {
var v2 = arguments;
com.newgrounds.Logger.log(com.newgrounds.Logger.PRIORITY_INTERNAL, v2);
};
v1.logMessage = function () {
var v2 = arguments;
com.newgrounds.Logger.log(com.newgrounds.Logger.PRIORITY_MESSAGE, v2);
};
v1.logWarning = function () {
var v2 = arguments;
com.newgrounds.Logger.log(com.newgrounds.Logger.PRIORITY_WARNING, v2);
};
v1.logError = function () {
var v2 = arguments;
com.newgrounds.Logger.log(com.newgrounds.Logger.PRIORITY_ERROR, v2);
};
v1.log = function (priority, messages) {
if (priority == undefined) {
priority = com.newgrounds.Logger.PRIORITY_MESSAGE;
}
if (messages == undefined) {
messages = null;
}
if (priority >= com.newgrounds.Logger._messageLevel) {
var v1 = 0;
while (v1 < messages.length) {
trace(com.newgrounds.Logger.HEADER + messages[v1]);
com.newgrounds.Logger._eventDispatcher.dispatchEvent(new com.newgrounds.APIEvent(com.newgrounds.APIEvent.LOG, messages[v1]));
++v1;
}
}
if (priority >= com.newgrounds.Logger._throwLevel) {
throw new Error(messages.join('\n'));
}
};
v1.addEventListener = function (event, listener) {
com.newgrounds.Logger._eventDispatcher.addEventListener(event, listener, false, 0, false);
};
v1.PRIORITY_INTERNAL = 0;
v1.PRIORITY_MESSAGE = 1;
v1.PRIORITY_WARNING = 2;
v1.PRIORITY_ERROR = 3;
v1.PRIORITY_MAX = 4;
v1.HEADER = '[Newgrounds API] :: ';
v1._eventDispatcher = new com.newgrounds.EventDispatcher();
v1._messageLevel = com.newgrounds.Logger.PRIORITY_MESSAGE;
v1._throwLevel = com.newgrounds.Logger.PRIORITY_MAX;
ASSetPropFlags(com.newgrounds.Logger.prototype, null, 1);
}
#endinitclip
}
movieClip 514 __Packages.com.newgrounds.components.FlashAdBase {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.components) {
_global.com.newgrounds.components = new Object();
}
if (!_global.com.newgrounds.components.FlashAdBase) {
var v1 = function () {
super();
try {
System.security.allowDomain('server.cpmstar.com');
System.security.allowInsecureDomain('server.cpmstar.com');
}
this.gotoAndStop('idle');
this._x = int(this._x);
this._y = int(this._y);
this.stop();
if (this.__get___newgroundsButton()) {
(this.__get___newgroundsButton()).onRelease = this.onNGClick;
}
this.onUnload = this.removeAd;
var v4 = this;
this._adListener = {'onLoadError': function (target, error, httpStatus) {
target._parent.onAdError(target, error, httpStatus);
}};
if (this.__get__fullScreen()) {
this.drawFullScreenRect();
}
if (com.newgrounds.API.__get__adFeedURL()) {
this.loadAdFeed();
} else {
com.newgrounds.API.addEventListener(com.newgrounds.APIEvent.API_CONNECTED, {'target': this, 'func': this.loadAdFeed});
}
};
com.newgrounds.components.FlashAdBase = v1;
com.newgrounds.components.FlashAdBase extends MovieClip;
var v2 = v1.prototype;
v2.__get___adContainer = function () {
return this.adContainer;
};
v2.__get___newgroundsButton = function () {
return this.newgroundsButton;
};
v2.__get__fullScreen = function () {
return this._fullScreen;
};
v2.__set__fullScreen = function (v) {
this._fullScreen = v;
if (v) {
this.drawFullScreenRect();
} else {
this.clear();
}
return this.__get__fullScreen();
};
v2.__get__showBorder = function () {
return this._showBorder;
};
v2.__set__showBorder = function (value) {
this._showBorder = value;
if (this._showBorder) {
if (this._ad) {
var v2 = this._ad.getProgress(this.__get___adContainer());
if (v2.bytesLoaded >= v2.bytesTotal) {
this.gotoAndStop('loaded');
} else {
this.gotoAndStop('loading');
}
} else {
this.gotoAndStop('idle');
}
} else {
this.gotoAndStop('noBorder');
}
return this.__get__showBorder();
};
v2.loadAdFeed = function (event) {
if (event == undefined) {
event = null;
}
this._adFeedLoader = new LoadVars();
var target = this;
this._adFeedLoader.onData = function (data) {
target.onAdFeedLoaded(data);
};
this._adFeedLoader.load(com.newgrounds.API.__get__adFeedURL(), this._adFeedLoader);
};
v2.onAdFeedLoaded = function (data) {
if (data && data != '') {
this.loadAd(data);
} else {
this.onAdError();
}
};
v2.loadAd = function (adURL) {
if (this.adType != this.VIDEO_ADS) {
if (adURL.indexOf('?') >= 0) {
adURL += '&';
} else {
adURL += '?';
}
adURL += 'blockoverlays=1';
}
this._ad = new MovieClipLoader();
this._ad.addListener(this._adListener);
(this.__get___adContainer())._lockroot = true;
this._ad.loadClip(adURL, this.__get___adContainer());
};
v2.removeAd = function () {
this._adFeedLoader.onData = null;
this._adFeedLoader = null;
this._ad.removeListener(this._adListener);
if (this.__get___adContainer()) {
this._ad.unloadClip(this.__get___adContainer());
}
this._ad = null;
};
v2.onAdError = function (target, error, httpStatus) {
com.newgrounds.Logger.logError('Unable to load ad.');
this.removeAd();
};
v2.onNGClick = function () {
com.newgrounds.API.loadNewgrounds();
};
v2.drawFullScreenRect = function () {
this._x = (Stage.width - this._width) / 2;
this._y = (Stage.height - this._height) / 2;
this.beginFill(0);
this.moveTo(-Stage.width, -Stage.height);
this.lineTo(Stage.width, -Stage.height);
this.lineTo(Stage.width, Stage.height);
this.lineTo(-Stage.width, Stage.height);
this.lineTo(-Stage.width, -Stage.height);
this.endFill();
};
v2._showBorder = true;
v2.adType = com.newgrounds.components.FlashAdBase.prototype.VIDEO_ADS;
v2.VIDEO_ADS = 'Video';
v2.SIMPLE_ADS = 'Simple';
v2.addProperty('_adContainer', v2.__get___adContainer, function () {});
v2.addProperty('_newgroundsButton', v2.__get___newgroundsButton, function () {});
v2.addProperty('fullScreen', v2.__get__fullScreen, v2.__set__fullScreen);
v2.addProperty('showBorder', v2.__get__showBorder, v2.__set__showBorder);
ASSetPropFlags(com.newgrounds.components.FlashAdBase.prototype, null, 1);
}
#endinitclip
}
movieClip 489 __Packages.com.newgrounds.shims.APIShim {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.shims) {
_global.com.newgrounds.shims = new Object();
}
if (!_global.com.newgrounds.shims.APIShim) {
var v1 = function () {
super();
};
com.newgrounds.shims.APIShim = v1;
com.newgrounds.shims.APIShim extends MovieClip;
var v2 = v1.prototype;
ASSetPropFlags(com.newgrounds.shims.APIShim.prototype, null, 1);
}
#endinitclip
}
movieClip 497 __Packages.com.newgrounds.encoders.json.JSON {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.encoders) {
_global.com.newgrounds.encoders = new Object();
}
if (!_global.com.newgrounds.encoders.json) {
_global.com.newgrounds.encoders.json = new Object();
}
if (!_global.com.newgrounds.encoders.json.JSON) {
var v1 = function () {};
com.newgrounds.encoders.json.JSON = v1;
var v2 = v1.prototype;
v1.encode = function (arg, noquotes) {
var v3;
var v2;
var v6;
var v1 = '';
var v4;
if (arg.isSServerVar()) {
var v8 = 'sservervariable';
} else {
var v8 = typeof arg;
}
switch (v8) {
return 'null';
case 'sservervariable':
return '?' + arg.getEncodedValue();
break;
case 'object':
if (arg) {
if (arg instanceof Array) {
v2 = 0;
while (v2 < arg.length) {
v4 = com.newgrounds.encoders.json.JSON.encode(arg[v2]);
if (v1) {
v1 += ',';
}
v1 += v4;
++v2;
}
return '[' + v1 + ']';
} else {
if (typeof arg.toString != 'undefined') {
for (v2 in arg) {
v4 = arg[v2];
if (typeof v4 != 'undefined' && typeof v4 != 'function') {
v4 = com.newgrounds.encoders.json.JSON.encode(v4);
if (v1) {
v1 += ',';
}
v1 += com.newgrounds.encoders.json.JSON.encode(v2) + ':' + v4;
}
}
return '{' + v1 + '}';
}
}
}
return 'null';
case 'number':
return isFinite(arg) ? String(arg) : 'null';
case 'string':
v6 = arg.length;
if (noquotes) {
var v7 = '';
} else {
var v7 = '"';
}
v1 = v7;
v2 = 0;
while (v2 < v6) {
v3 = arg.charAt(v2);
if (v3 >= ' ') {
if (v3 == '\\' || v3 == '"') {
v1 += '\\';
}
v1 += v3;
} else {
switch (v3) {
case '\b':
v1 += '\\b';
break;
case '\f':
v1 += '\\f';
break;
case '\n':
v1 += '\\n';
break;
case '\r':
v1 += '\\r';
break;
case '\t':
v1 += '\\t';
break;
default:
v3 = v3.charCodeAt();
v1 += '\\u00' + (Math.floor(v3 / 16)).toString(16) + (v3 % 16).toString(16);
}
}
v2 += 1;
}
return v1 + v7;
case 'boolean':
return String(arg);
default:
return 'null';
}
};
v1.background_encode = function (arg, callback) {
if (com.newgrounds.encoders.json.JSON.busy) {
trace('[Newgrounds Encoder] :: Cannot encode a new file until the previous file is completed');
return false;
} else {
if (!callback) {
trace('[Newgrounds Encoder] :: Missing a callback function, skipping encode');
return false;
}
}
com.newgrounds.encoders.json.JSON.busy = true;
var v2 = new Date();
com.newgrounds.encoders.json.JSON.start = v2.getTime();
com.newgrounds.encoders.json.JSON.cache = {'busy': false, 'complete': false, 'arg': arg, 'target': arg, 'parents': [], 'encoded': '', 'callback': callback, 'encode_chunk': function () {
com.newgrounds.encoders.json.JSON.encode_chunk();
}};
if (com.newgrounds.encoders.json.JSON.getType(arg) == 'object') {
com.newgrounds.encoders.json.JSON.cache.encoded = '{';
com.newgrounds.encoders.json.JSON.interval = setInterval(com.newgrounds.encoders.json.JSON.cache, 'encode_chunk', 25);
return true;
}
if (com.newgrounds.encoders.json.JSON.getType(arg) == 'array') {
com.newgrounds.encoders.json.JSON.cache.encoded = '[';
}
com.newgrounds.encoders.json.JSON.interval = setInterval(com.newgrounds.encoders.json.JSON.cache, 'encode_chunk', 25);
return true;
};
v1.background_decode = function (arg, callback) {
if (com.newgrounds.encoders.json.JSON.busy) {
trace('[Newgrounds Encoder] :: Cannot decode a new file until the previous file is completed');
return false;
} else {
if (!callback) {
trace('[Newgrounds Encoder] :: Missing a callback function, skipping decode');
return false;
}
}
com.newgrounds.encoders.json.JSON.busy = true;
var v1 = new Date();
com.newgrounds.encoders.json.JSON.start = v1.getTime();
com.newgrounds.encoders.json.JSON.cache = {'busy': false, 'callback': callback, 'complete': false, 'arg': arg, 'pos': 0, 'parents': ['root'], 'target': null, 'scratch': '', 'decode_chunk': function () {
com.newgrounds.encoders.json.JSON.decode_chunk();
}};
com.newgrounds.encoders.json.JSON.interval = setInterval(com.newgrounds.encoders.json.JSON.cache, 'decode_chunk', 25);
return true;
};
v1.decode = function (text) {
var at = 0;
var ch = ' ';
var _value;
var _error = function (m) {
throw {'name': 'JSONError', 'message': m, 'at': at - 1, 'text': text};
};
var _next = function () {
ch = text.charAt(at);
at += 1;
return ch;
};
var _white = function () {
while (ch) {
if (ch <= ' ') {
_next();
} else {
if (ch == '/') {
switch (_next()) {
case '/':
for (;;) {
if (!(_next() && ch != '\n' && ch != '\r')) break;
}
break;
case '*':
_next();
for (;;) {
if (ch) {
if (ch == '*') {
if (_next() == '/') {
_next();
break;
}
} else {
_next();
}
continue;
}
_error('Unterminated comment');
}
break;
default:
_error('Syntax error');
}
} else {
break;
}
}
}
};
var _string = function () {
var v4;
var v1 = '';
var v3;
var v2;
var v5 = false;
if (ch == '"') {
while (_next()) {
if (ch == '"') {
_next();
return v1;
} else {
if (ch == '\\') {
switch (_next()) {
case 'b':
v1 += '\b';
break;
case 'f':
v1 += '\f';
break;
case 'n':
v1 += '\n';
break;
case 'r':
v1 += '\r';
break;
case 't':
v1 += '\t';
break;
case 'u':
v2 = 0;
v4 = 0;
while (v4 < 4) {
v3 = parseInt(_next(), 16);
if (!isFinite(v3)) {
v5 = true;
break;
}
v2 = v2 * 16 + v3;
v4 += 1;
}
if (v5) {
v5 = false;
} else {
v1 += String.fromCharCode(v2);
break;
default:
v1 += ch;
}
}
} else {
v1 += ch;
}
}
}
}
_error('Bad string');
};
var _array = function () {
var v1 = [];
if (ch == '[') {
_next();
_white();
if (ch == ']') {
_next();
return v1;
}
while (ch) {
v1.push(_value());
_white();
if (ch == ']') {
_next();
return v1;
} else {
if (ch != ',') {
break;
}
}
_next();
_white();
}
}
_error('Bad array');
};
var _object = function () {
var v2;
var v1 = {};
if (ch == '{') {
_next();
_white();
if (ch == '}') {
_next();
return v1;
}
while (ch) {
v2 = _string();
_white();
if (ch != ':') {
break;
}
_next();
v1[v2] = _value();
_white();
if (ch == '}') {
_next();
return v1;
} else {
if (ch != ',') {
break;
}
}
_next();
_white();
}
}
_error('Bad object');
};
var _number = function () {
var v1 = '';
var v2;
if (ch == '-') {
v1 = '-';
_next();
}
for (;;) {
if (!(ch >= '0' && ch <= '9')) break;
v1 += ch;
_next();
}
if (ch == '.') {
v1 += '.';
for (;;) {
if (!(_next() && ch >= '0' && ch <= '9')) break;
v1 += ch;
}
}
v2 = 1 * v1;
if (!isFinite(v2)) {
_error('Bad number');
} else {
return v2;
}
};
var _word = function () {
switch (ch) {
case 't':
if (_next() == 'r' && _next() == 'u' && _next() == 'e') {
_next();
return true;
}
break;
case 'f':
if (_next() == 'a' && _next() == 'l' && _next() == 's' && _next() == 'e') {
_next();
return false;
}
break;
case 'n':
if (_next() == 'u' && _next() == 'l' && _next() == 'l') {
_next();
return null;
}
}
_error('Syntax error');
};
_value = function () {
_white();
switch (ch) {
case '{':
return _object();
case '[':
return _array();
case '"':
return _string();
case '-':
return _number();
}
return (ch >= '0' && ch <= '9') ? _number() : _word();
};
return _value();
};
v1.getType = function (v) {
if (v instanceof Array) {
return 'array';
} else {
return typeof v;
}
};
v1.decode_chunk = function () {
if (!com.newgrounds.encoders.json.JSON.cache.busy && !com.newgrounds.encoders.json.JSON.cache.complete) {
com.newgrounds.encoders.json.JSON.cache.busy = true;
var v1 = 0;
while (v1 < com.newgrounds.encoders.json.JSON.decode_chunks) {
com.newgrounds.encoders.json.JSON.chunk_decoder();
if (com.newgrounds.encoders.json.JSON.cache.complete) {
break;
}
++v1;
}
trace(Math.round((com.newgrounds.encoders.json.JSON.cache.pos / com.newgrounds.encoders.json.JSON.cache.arg.length) * 100) + '% decoded');
com.newgrounds.encoders.json.JSON.cache.busy = false;
}
if (com.newgrounds.encoders.json.JSON.cache.complete) {
var v2 = new Date();
com.newgrounds.encoders.json.JSON.busy = false;
clearInterval(com.newgrounds.encoders.json.JSON.interval);
com.newgrounds.encoders.json.JSON.cache.callback(com.newgrounds.encoders.json.JSON.cache.root, v2.getTime() - com.newgrounds.encoders.json.JSON.start);
com.newgrounds.encoders.json.JSON.cache.arg = '';
}
};
v1.encode_chunk = function () {
if (!com.newgrounds.encoders.json.JSON.cache.busy && !com.newgrounds.encoders.json.JSON.cache.complete) {
com.newgrounds.encoders.json.JSON.cache.busy = true;
var v1 = 0;
while (v1 < com.newgrounds.encoders.json.JSON.encode_chunks) {
com.newgrounds.encoders.json.JSON.chunk_encoder();
if (com.newgrounds.encoders.json.JSON.cache.complete) {
break;
}
++v1;
}
com.newgrounds.encoders.json.JSON.cache.busy = false;
}
if (com.newgrounds.encoders.json.JSON.cache.complete) {
var v3 = new Date();
var v2 = v3.getTime();
com.newgrounds.encoders.json.JSON.busy = false;
clearInterval(com.newgrounds.encoders.json.JSON.interval);
com.newgrounds.encoders.json.JSON.cache.callback(com.newgrounds.encoders.json.JSON.cache.encoded, v2 - com.newgrounds.encoders.json.JSON.start);
com.newgrounds.encoders.json.JSON.cache.encoded = '';
}
};
v1.chunk_decoder = function () {
function _object() {
var v1 = com.newgrounds.encoders.json.JSON.cache.arg.charAt(com.newgrounds.encoders.json.JSON.cache.pos);
if (!com.newgrounds.encoders.json.JSON.cache.mode) {
com.newgrounds.encoders.json.JSON.cache.mode = 'object';
++com.newgrounds.encoders.json.JSON.cache.pos;
v1 = com.newgrounds.encoders.json.JSON.cache.arg.charAt(com.newgrounds.encoders.json.JSON.cache.pos);
if (v1 != '"') {
throw 'Malformed object key in encoded string. Keys must be wrapped in quotes ("")';
}
com.newgrounds.encoders.json.JSON.cache.scratch = '';
_setTargetValue({});
} else {
if (v1 == ',') {
++com.newgrounds.encoders.json.JSON.cache.pos;
v1 = com.newgrounds.encoders.json.JSON.cache.arg.charAt(com.newgrounds.encoders.json.JSON.cache.pos);
if (v1 != '"') {
throw 'Malformed object key in encoded string. Keys must be wrapped in quotes ("")';
}
com.newgrounds.encoders.json.JSON.cache.scratch = '';
} else {
if (v1 == '}') {
_useParent();
} else {
if (v1 == '"') {
++com.newgrounds.encoders.json.JSON.cache.pos;
v1 = com.newgrounds.encoders.json.JSON.cache.arg.charAt(com.newgrounds.encoders.json.JSON.cache.pos);
if (v1 != ':') {
throw 'Malformed object notation. Object keys and values must be separated by colons(:)';
}
_addParent(com.newgrounds.encoders.json.JSON.cache.scratch);
com.newgrounds.encoders.json.JSON.cache.mode = null;
} else {
if (v1 == '\\') {
++com.newgrounds.encoders.json.JSON.cache.pos;
v1 = com.newgrounds.encoders.json.JSON.cache.arg.charAt(com.newgrounds.encoders.json.JSON.cache.pos);
}
com.newgrounds.encoders.json.JSON.cache.scratch += v1;
}
}
}
}
++com.newgrounds.encoders.json.JSON.cache.pos;
}
function _array() {
var v1 = com.newgrounds.encoders.json.JSON.cache.arg.charAt(com.newgrounds.encoders.json.JSON.cache.pos);
if (!com.newgrounds.encoders.json.JSON.cache.mode) {
com.newgrounds.encoders.json.JSON.cache.mode = 'array';
++com.newgrounds.encoders.json.JSON.cache.pos;
v1 = com.newgrounds.encoders.json.JSON.cache.arg.charAt(com.newgrounds.encoders.json.JSON.cache.pos);
_setTargetValue([]);
if (v1 != ']') {
_addArrayKey();
} else {
_useParent();
}
return undefined;
} else {
if (v1 == ',') {
_addArrayKey();
} else {
if (v1 == ']') {
_useParent();
}
}
}
++com.newgrounds.encoders.json.JSON.cache.pos;
}
function _boolean() {
var v1 = com.newgrounds.encoders.json.JSON.cache.arg.charAt(com.newgrounds.encoders.json.JSON.cache.pos);
if (v1 == 't') {
_setTargetValue(true);
com.newgrounds.encoders.json.JSON.cache.pos += 3;
} else {
if (v1 == 'f') {
_setTargetValue(false);
com.newgrounds.encoders.json.JSON.cache.pos += 4;
} else {
throw 'Bool values must be true or false';
}
}
_useParent();
}
function _null() {
var v1 = com.newgrounds.encoders.json.JSON.cache.arg.charAt(com.newgrounds.encoders.json.JSON.cache.pos);
if (v1 == 'n') {
_setTargetValue(null);
com.newgrounds.encoders.json.JSON.cache.pos += 2;
} else {
throw 'Null values must be null';
}
_useParent();
}
function _string() {
var v1 = com.newgrounds.encoders.json.JSON.cache.arg.charAt(com.newgrounds.encoders.json.JSON.cache.pos);
if (!com.newgrounds.encoders.json.JSON.cache.mode) {
if (v1 != '"') {
throw 'Strings must be wrapped in quotes ("")';
}
com.newgrounds.encoders.json.JSON.cache.scratch = '';
com.newgrounds.encoders.json.JSON.cache.mode = 'string';
} else {
if (v1 == '"') {
_setTargetValue(com.newgrounds.encoders.json.JSON.cache.scratch);
_useParent();
} else {
if (v1 == '\\') {
++com.newgrounds.encoders.json.JSON.cache.pos;
v1 = com.newgrounds.encoders.json.JSON.cache.arg.charAt(com.newgrounds.encoders.json.JSON.cache.pos);
switch (v1) {
case 'n':
v1 = '\n';
break;
case 'r':
v1 = '\n';
break;
case 't':
v1 = '\t';
break;
case 'u':
v1 = '\\' + v1;
}
}
com.newgrounds.encoders.json.JSON.cache.scratch += v1;
}
}
++com.newgrounds.encoders.json.JSON.cache.pos;
}
function _number() {
var v1 = com.newgrounds.encoders.json.JSON.cache.arg.charAt(com.newgrounds.encoders.json.JSON.cache.pos);
var v2 = '01234567890.-';
if (!com.newgrounds.encoders.json.JSON.cache.mode) {
com.newgrounds.encoders.json.JSON.cache.mode = 'number';
com.newgrounds.encoders.json.JSON.cache.scratch = '';
}
if (v2.indexOf(v1) < 0) {
_setTargetValue(Number(com.newgrounds.encoders.json.JSON.cache.scratch));
_useParent();
} else {
com.newgrounds.encoders.json.JSON.cache.scratch += v1;
++com.newgrounds.encoders.json.JSON.cache.pos;
}
}
function _setTargetValue(newval) {
var v2 = (_getParent()).obj;
var v1 = com.newgrounds.encoders.json.JSON.cache.parents[com.newgrounds.encoders.json.JSON.cache.parents.length - 1];
v2[v1] = newval;
}
function _useParent() {
com.newgrounds.encoders.json.JSON.cache.mode = com.newgrounds.encoders.json.JSON.getType((_getParent()).obj);
com.newgrounds.encoders.json.JSON.cache.parents.pop();
}
function _getParent() {
var v2 = com.newgrounds.encoders.json.JSON.cache;
var v1 = 0;
while (v1 < com.newgrounds.encoders.json.JSON.cache.parents.length - 1) {
v2 = v2[com.newgrounds.encoders.json.JSON.cache.parents[v1]];
++v1;
}
return {'obj': v2, 'name': com.newgrounds.encoders.json.JSON.cache.parents[v1]};
}
function _getCurrent() {
var v2 = com.newgrounds.encoders.json.JSON.cache;
var v1 = 0;
while (v1 < com.newgrounds.encoders.json.JSON.cache.parents.length) {
v2 = v2[com.newgrounds.encoders.json.JSON.cache.parents[v1]];
++v1;
}
return {'obj': v2, 'name': com.newgrounds.encoders.json.JSON.cache.parents[v1]};
}
function _addParent(child) {
com.newgrounds.encoders.json.JSON.cache.parents.push(child);
}
function _addArrayKey() {
var v1 = (_getCurrent()).obj.length;
com.newgrounds.encoders.json.JSON.cache.parents.push(v1);
com.newgrounds.encoders.json.JSON.cache.mode = null;
}
if (com.newgrounds.encoders.json.JSON.cache.pos >= com.newgrounds.encoders.json.JSON.cache.arg.length) {
com.newgrounds.encoders.json.JSON.cache.complete = true;
return undefined;
} else {
if (com.newgrounds.encoders.json.JSON.cache.mode) {
('_' + com.newgrounds.encoders.json.JSON.cache.mode)();
} else {
var char = com.newgrounds.encoders.json.JSON.cache.arg.charAt(com.newgrounds.encoders.json.JSON.cache.pos);
switch (char) {
case '{':
_object();
break;
case '[':
_array();
break;
case '"':
_string();
break;
case 'n':
_null();
break;
case 't':
_boolean();
break;
case 'f':
_boolean();
break;
default:
_number();
}
}
}
};
v1.chunk_encoder = function () {
if (com.newgrounds.encoders.json.JSON.cache.complete) {
return undefined;
}
var v2 = com.newgrounds.encoders.json.JSON.getType(com.newgrounds.encoders.json.JSON.cache.target);
switch (v2) {
case 'number':
com.newgrounds.encoders.json.JSON.cache.encoded += com.newgrounds.encoders.json.JSON.cache.target;
com.newgrounds.encoders.json.JSON.getParent();
break;
case 'string':
com.newgrounds.encoders.json.JSON.cache.encoded += '"' + (com.newgrounds.encoders.json.JSON.cache.target.split('"')).join('\\"') + '"';
com.newgrounds.encoders.json.JSON.getParent();
break;
case 'boolean':
com.newgrounds.encoders.json.JSON.cache.encoded += (com.newgrounds.encoders.json.JSON.cache.target == true) ? 'true' : 'false';
com.newgrounds.encoders.json.JSON.getParent();
break;
case 'null':
com.newgrounds.encoders.json.JSON.cache.encoded += 'null';
com.newgrounds.encoders.json.JSON.getParent();
break;
case 'array':
if (com.newgrounds.encoders.json.JSON.cache.target.length < 1) {
com.newgrounds.encoders.json.JSON.cache.encoded += ']';
com.newgrounds.encoders.json.JSON.getParent();
} else {
com.newgrounds.encoders.json.JSON.cache.parents.push(com.newgrounds.encoders.json.JSON.cache.target);
com.newgrounds.encoders.json.JSON.cache.target = com.newgrounds.encoders.json.JSON.cache.target[0];
if (com.newgrounds.encoders.json.JSON.getType(com.newgrounds.encoders.json.JSON.cache.target) == 'array') {
com.newgrounds.encoders.json.JSON.cache.encoded += '[';
} else {
if (com.newgrounds.encoders.json.JSON.getType(com.newgrounds.encoders.json.JSON.cache.target) == 'object') {
com.newgrounds.encoders.json.JSON.cache.encoded += '{';
}
}
}
break;
case 'object':
for (var v1 in com.newgrounds.encoders.json.JSON.cache.target) {
break;
}
if (v1 === undefined) {
com.newgrounds.encoders.json.JSON.cache.encoded += '}';
com.newgrounds.encoders.json.JSON.getParent();
} else {
com.newgrounds.encoders.json.JSON.cache.parents.push(com.newgrounds.encoders.json.JSON.cache.target);
com.newgrounds.encoders.json.JSON.cache.target = com.newgrounds.encoders.json.JSON.cache.target[v1];
com.newgrounds.encoders.json.JSON.cache.encoded += '"' + (v1.split('"')).join('\\"') + '":';
if (com.newgrounds.encoders.json.JSON.getType(com.newgrounds.encoders.json.JSON.cache.target) == 'array') {
com.newgrounds.encoders.json.JSON.cache.encoded += '[';
} else {
if (com.newgrounds.encoders.json.JSON.getType(com.newgrounds.encoders.json.JSON.cache.target) == 'object') {
com.newgrounds.encoders.json.JSON.cache.encoded += '{';
}
}
}
break;
default:
com.newgrounds.encoders.json.JSON.cache.encoded += 'null';
com.newgrounds.encoders.json.JSON.getParent();
}
};
v1.getParent = function () {
if (com.newgrounds.encoders.json.JSON.cache.parents.length > 0) {
var v1 = com.newgrounds.encoders.json.JSON.cache.parents.pop();
if (com.newgrounds.encoders.json.JSON.getType(v1) == 'array') {
v1.shift();
} else {
for (var v3 in v1) {
delete v1[v3];
break;
}
}
if (com.newgrounds.encoders.json.JSON.getType(v1) == 'object' or com.newgrounds.encoders.json.JSON.getType(v1) == 'array') {
for (var v2 in v1) {
break;
}
if (v2 !== undefined) {
com.newgrounds.encoders.json.JSON.cache.encoded += ',';
}
}
com.newgrounds.encoders.json.JSON.cache.target = v1;
} else {
com.newgrounds.encoders.json.JSON.cache.complete = true;
}
};
v1.encode_chunks = 20000;
v1.decode_chunks = 20000;
v1.busy = false;
ASSetPropFlags(com.newgrounds.encoders.json.JSON.prototype, null, 1);
}
#endinitclip
}
movieClip 500 __Packages.com.newgrounds.crypto.MD5 {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.crypto) {
_global.com.newgrounds.crypto = new Object();
}
if (!_global.com.newgrounds.crypto.MD5) {
var v1 = function () {};
com.newgrounds.crypto.MD5 = v1;
var v2 = v1.prototype;
v1.hash = function (src) {
return com.newgrounds.crypto.MD5.hex_md5(src);
};
v1.hex_md5 = function (src) {
return com.newgrounds.crypto.MD5.binl2hex(com.newgrounds.crypto.MD5.core_md5(com.newgrounds.crypto.MD5.str2binl(src), src.length * 8));
};
v1.core_md5 = function (x, len) {
x[len >> 5] |= 128 << len % 32;
x[(len + 64 >>> 9 << 4) + 14] = len;
var v4 = 1732584193;
var v3 = -271733879;
var v2 = -1732584194;
var v1 = 271733878;
var v5 = 0;
while (v5 < x.length) {
var v10 = v4;
var v9 = v3;
var v8 = v2;
var v7 = v1;
v4 = com.newgrounds.crypto.MD5.md5_ff(v4, v3, v2, v1, x[v5 + 0], 7, -680876936);
v1 = com.newgrounds.crypto.MD5.md5_ff(v1, v4, v3, v2, x[v5 + 1], 12, -389564586);
v2 = com.newgrounds.crypto.MD5.md5_ff(v2, v1, v4, v3, x[v5 + 2], 17, 606105819);
v3 = com.newgrounds.crypto.MD5.md5_ff(v3, v2, v1, v4, x[v5 + 3], 22, -1044525330);
v4 = com.newgrounds.crypto.MD5.md5_ff(v4, v3, v2, v1, x[v5 + 4], 7, -176418897);
v1 = com.newgrounds.crypto.MD5.md5_ff(v1, v4, v3, v2, x[v5 + 5], 12, 1200080426);
v2 = com.newgrounds.crypto.MD5.md5_ff(v2, v1, v4, v3, x[v5 + 6], 17, -1473231341);
v3 = com.newgrounds.crypto.MD5.md5_ff(v3, v2, v1, v4, x[v5 + 7], 22, -45705983);
v4 = com.newgrounds.crypto.MD5.md5_ff(v4, v3, v2, v1, x[v5 + 8], 7, 1770035416);
v1 = com.newgrounds.crypto.MD5.md5_ff(v1, v4, v3, v2, x[v5 + 9], 12, -1958414417);
v2 = com.newgrounds.crypto.MD5.md5_ff(v2, v1, v4, v3, x[v5 + 10], 17, -42063);
v3 = com.newgrounds.crypto.MD5.md5_ff(v3, v2, v1, v4, x[v5 + 11], 22, -1990404162);
v4 = com.newgrounds.crypto.MD5.md5_ff(v4, v3, v2, v1, x[v5 + 12], 7, 1804603682);
v1 = com.newgrounds.crypto.MD5.md5_ff(v1, v4, v3, v2, x[v5 + 13], 12, -40341101);
v2 = com.newgrounds.crypto.MD5.md5_ff(v2, v1, v4, v3, x[v5 + 14], 17, -1502002290);
v3 = com.newgrounds.crypto.MD5.md5_ff(v3, v2, v1, v4, x[v5 + 15], 22, 1236535329);
v4 = com.newgrounds.crypto.MD5.md5_gg(v4, v3, v2, v1, x[v5 + 1], 5, -165796510);
v1 = com.newgrounds.crypto.MD5.md5_gg(v1, v4, v3, v2, x[v5 + 6], 9, -1069501632);
v2 = com.newgrounds.crypto.MD5.md5_gg(v2, v1, v4, v3, x[v5 + 11], 14, 643717713);
v3 = com.newgrounds.crypto.MD5.md5_gg(v3, v2, v1, v4, x[v5 + 0], 20, -373897302);
v4 = com.newgrounds.crypto.MD5.md5_gg(v4, v3, v2, v1, x[v5 + 5], 5, -701558691);
v1 = com.newgrounds.crypto.MD5.md5_gg(v1, v4, v3, v2, x[v5 + 10], 9, 38016083);
v2 = com.newgrounds.crypto.MD5.md5_gg(v2, v1, v4, v3, x[v5 + 15], 14, -660478335);
v3 = com.newgrounds.crypto.MD5.md5_gg(v3, v2, v1, v4, x[v5 + 4], 20, -405537848);
v4 = com.newgrounds.crypto.MD5.md5_gg(v4, v3, v2, v1, x[v5 + 9], 5, 568446438);
v1 = com.newgrounds.crypto.MD5.md5_gg(v1, v4, v3, v2, x[v5 + 14], 9, -1019803690);
v2 = com.newgrounds.crypto.MD5.md5_gg(v2, v1, v4, v3, x[v5 + 3], 14, -187363961);
v3 = com.newgrounds.crypto.MD5.md5_gg(v3, v2, v1, v4, x[v5 + 8], 20, 1163531501);
v4 = com.newgrounds.crypto.MD5.md5_gg(v4, v3, v2, v1, x[v5 + 13], 5, -1444681467);
v1 = com.newgrounds.crypto.MD5.md5_gg(v1, v4, v3, v2, x[v5 + 2], 9, -51403784);
v2 = com.newgrounds.crypto.MD5.md5_gg(v2, v1, v4, v3, x[v5 + 7], 14, 1735328473);
v3 = com.newgrounds.crypto.MD5.md5_gg(v3, v2, v1, v4, x[v5 + 12], 20, -1926607734);
v4 = com.newgrounds.crypto.MD5.md5_hh(v4, v3, v2, v1, x[v5 + 5], 4, -378558);
v1 = com.newgrounds.crypto.MD5.md5_hh(v1, v4, v3, v2, x[v5 + 8], 11, -2022574463);
v2 = com.newgrounds.crypto.MD5.md5_hh(v2, v1, v4, v3, x[v5 + 11], 16, 1839030562);
v3 = com.newgrounds.crypto.MD5.md5_hh(v3, v2, v1, v4, x[v5 + 14], 23, -35309556);
v4 = com.newgrounds.crypto.MD5.md5_hh(v4, v3, v2, v1, x[v5 + 1], 4, -1530992060);
v1 = com.newgrounds.crypto.MD5.md5_hh(v1, v4, v3, v2, x[v5 + 4], 11, 1272893353);
v2 = com.newgrounds.crypto.MD5.md5_hh(v2, v1, v4, v3, x[v5 + 7], 16, -155497632);
v3 = com.newgrounds.crypto.MD5.md5_hh(v3, v2, v1, v4, x[v5 + 10], 23, -1094730640);
v4 = com.newgrounds.crypto.MD5.md5_hh(v4, v3, v2, v1, x[v5 + 13], 4, 681279174);
v1 = com.newgrounds.crypto.MD5.md5_hh(v1, v4, v3, v2, x[v5 + 0], 11, -358537222);
v2 = com.newgrounds.crypto.MD5.md5_hh(v2, v1, v4, v3, x[v5 + 3], 16, -722521979);
v3 = com.newgrounds.crypto.MD5.md5_hh(v3, v2, v1, v4, x[v5 + 6], 23, 76029189);
v4 = com.newgrounds.crypto.MD5.md5_hh(v4, v3, v2, v1, x[v5 + 9], 4, -640364487);
v1 = com.newgrounds.crypto.MD5.md5_hh(v1, v4, v3, v2, x[v5 + 12], 11, -421815835);
v2 = com.newgrounds.crypto.MD5.md5_hh(v2, v1, v4, v3, x[v5 + 15], 16, 530742520);
v3 = com.newgrounds.crypto.MD5.md5_hh(v3, v2, v1, v4, x[v5 + 2], 23, -995338651);
v4 = com.newgrounds.crypto.MD5.md5_ii(v4, v3, v2, v1, x[v5 + 0], 6, -198630844);
v1 = com.newgrounds.crypto.MD5.md5_ii(v1, v4, v3, v2, x[v5 + 7], 10, 1126891415);
v2 = com.newgrounds.crypto.MD5.md5_ii(v2, v1, v4, v3, x[v5 + 14], 15, -1416354905);
v3 = com.newgrounds.crypto.MD5.md5_ii(v3, v2, v1, v4, x[v5 + 5], 21, -57434055);
v4 = com.newgrounds.crypto.MD5.md5_ii(v4, v3, v2, v1, x[v5 + 12], 6, 1700485571);
v1 = com.newgrounds.crypto.MD5.md5_ii(v1, v4, v3, v2, x[v5 + 3], 10, -1894986606);
v2 = com.newgrounds.crypto.MD5.md5_ii(v2, v1, v4, v3, x[v5 + 10], 15, -1051523);
v3 = com.newgrounds.crypto.MD5.md5_ii(v3, v2, v1, v4, x[v5 + 1], 21, -2054922799);
v4 = com.newgrounds.crypto.MD5.md5_ii(v4, v3, v2, v1, x[v5 + 8], 6, 1873313359);
v1 = com.newgrounds.crypto.MD5.md5_ii(v1, v4, v3, v2, x[v5 + 15], 10, -30611744);
v2 = com.newgrounds.crypto.MD5.md5_ii(v2, v1, v4, v3, x[v5 + 6], 15, -1560198380);
v3 = com.newgrounds.crypto.MD5.md5_ii(v3, v2, v1, v4, x[v5 + 13], 21, 1309151649);
v4 = com.newgrounds.crypto.MD5.md5_ii(v4, v3, v2, v1, x[v5 + 4], 6, -145523070);
v1 = com.newgrounds.crypto.MD5.md5_ii(v1, v4, v3, v2, x[v5 + 11], 10, -1120210379);
v2 = com.newgrounds.crypto.MD5.md5_ii(v2, v1, v4, v3, x[v5 + 2], 15, 718787259);
v3 = com.newgrounds.crypto.MD5.md5_ii(v3, v2, v1, v4, x[v5 + 9], 21, -343485551);
v4 = com.newgrounds.crypto.MD5.safe_add(v4, v10);
v3 = com.newgrounds.crypto.MD5.safe_add(v3, v9);
v2 = com.newgrounds.crypto.MD5.safe_add(v2, v8);
v1 = com.newgrounds.crypto.MD5.safe_add(v1, v7);
v5 += 16;
}
return new Array(v4, v3, v2, v1);
};
v1.md5_cmn = function (q, a, b, x, s, t) {
return com.newgrounds.crypto.MD5.safe_add(com.newgrounds.crypto.MD5.bit_rol(com.newgrounds.crypto.MD5.safe_add(com.newgrounds.crypto.MD5.safe_add(a, q), com.newgrounds.crypto.MD5.safe_add(x, t)), s), b);
};
v1.md5_ff = function (a, b, c, d, x, s, t) {
return com.newgrounds.crypto.MD5.md5_cmn(b & c | ~b & d, a, b, x, s, t);
};
v1.md5_gg = function (a, b, c, d, x, s, t) {
return com.newgrounds.crypto.MD5.md5_cmn(b & d | c & ~d, a, b, x, s, t);
};
v1.md5_hh = function (a, b, c, d, x, s, t) {
return com.newgrounds.crypto.MD5.md5_cmn(b ^ c ^ d, a, b, x, s, t);
};
v1.md5_ii = function (a, b, c, d, x, s, t) {
return com.newgrounds.crypto.MD5.md5_cmn(c ^ (b | ~d), a, b, x, s, t);
};
v1.bit_rol = function (num, cnt) {
return num << cnt | num >>> 32 - cnt;
};
v1.safe_add = function (x, y) {
var v1 = (x & 65535) + (y & 65535);
var v2 = (x >> 16) + (y >> 16) + (v1 >> 16);
return v2 << 16 | v1 & 65535;
};
v1.str2binl = function (str) {
var v3 = new Array();
var v4 = 255;
var v1 = 0;
while (v1 < str.length * 8) {
v3[v1 >> 5] |= (str.charCodeAt(v1 / 8) & v4) << v1 % 32;
v1 += 8;
}
return v3;
};
v1.binl2hex = function (binarray) {
var v4 = new String('');
var v3 = new String('0123456789abcdef');
var v1 = 0;
while (v1 < binarray.length * 4) {
v4 += v3.charAt(binarray[v1 >> 2] >> (v1 % 4) * 8 + 4 & 15) + v3.charAt(binarray[v1 >> 2] >> (v1 % 4) * 8 & 15);
++v1;
}
return v4;
};
ASSetPropFlags(com.newgrounds.crypto.MD5.prototype, null, 1);
}
#endinitclip
}
movieClip 501 __Packages.com.newgrounds.crypto.RC4 {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.crypto) {
_global.com.newgrounds.crypto = new Object();
}
if (!_global.com.newgrounds.crypto.RC4) {
var v1 = function () {};
com.newgrounds.crypto.RC4 = v1;
var v2 = v1.prototype;
v1.encrypt = function (src, key) {
var v3 = com.newgrounds.crypto.RC4.strToChars(src);
var v1 = com.newgrounds.crypto.RC4.strToChars(key);
var v2 = com.newgrounds.crypto.RC4.calculate(v3, v1);
return com.newgrounds.crypto.RC4.charsToHex(v2);
};
v1.encryptbin = function (src, key) {
var v3 = com.newgrounds.crypto.RC4.strToChars(src);
var v1 = com.newgrounds.crypto.RC4.strToChars(key);
var v2 = com.newgrounds.crypto.RC4.calculate(v3, v1);
return v2;
};
v1.decrypt = function (src, key) {
var v3 = com.newgrounds.crypto.RC4.hexToChars(src);
var v1 = com.newgrounds.crypto.RC4.strToChars(key);
var v2 = com.newgrounds.crypto.RC4.calculate(v3, v1);
return com.newgrounds.crypto.RC4.charsToStr(v2);
};
v1.initialize = function (pwd) {
var v2 = 0;
var v3;
var v4 = pwd.length;
var v1 = 0;
while (v1 <= 255) {
com.newgrounds.crypto.RC4.mykey[v1] = pwd[v1 % v4];
com.newgrounds.crypto.RC4.sbox[v1] = v1;
++v1;
}
v1 = 0;
while (v1 <= 255) {
v2 = (v2 + com.newgrounds.crypto.RC4.sbox[v1] + com.newgrounds.crypto.RC4.mykey[v1]) % 256;
v3 = com.newgrounds.crypto.RC4.sbox[v1];
com.newgrounds.crypto.RC4.sbox[v1] = com.newgrounds.crypto.RC4.sbox[v2];
com.newgrounds.crypto.RC4.sbox[v2] = v3;
++v1;
}
};
v1.calculate = function (plaintxt, psw) {
com.newgrounds.crypto.RC4.initialize(psw);
var v1 = 0;
var v2 = 0;
var v9 = new Array();
var v7;
var v5;
var v6;
var v3 = 0;
while (v3 < plaintxt.length) {
v1 = (v1 + 1) % 256;
v2 = (v2 + com.newgrounds.crypto.RC4.sbox[v1]) % 256;
v5 = com.newgrounds.crypto.RC4.sbox[v1];
com.newgrounds.crypto.RC4.sbox[v1] = com.newgrounds.crypto.RC4.sbox[v2];
com.newgrounds.crypto.RC4.sbox[v2] = v5;
var v4 = (com.newgrounds.crypto.RC4.sbox[v1] + com.newgrounds.crypto.RC4.sbox[v2]) % 256;
v7 = com.newgrounds.crypto.RC4.sbox[v4];
v6 = plaintxt[v3] ^ v7;
v9.push(v6);
++v3;
}
return v9;
};
v1.charsToHex = function (chars) {
var v4 = new String('');
var v3 = new Array('0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f');
var v1 = 0;
while (v1 < chars.length) {
v4 += v3[chars[v1] >> 4] + v3[chars[v1] & 15];
++v1;
}
return v4;
};
v1.hexToChars = function (hex) {
var v3 = new Array();
var v1 = (hex.substr(0, 2) == '0x') ? 2 : 0;
while (v1 < hex.length) {
v3.push(parseInt(hex.substr(v1, 2), 16));
v1 += 2;
}
return v3;
};
v1.charsToStr = function (chars) {
var v3 = new String('');
var v1 = 0;
while (v1 < chars.length) {
v3 += String.fromCharCode(chars[v1]);
++v1;
}
return v3;
};
v1.strToChars = function (str) {
var v3 = new Array();
var v1 = 0;
while (v1 < str.length) {
v3.push(str.charCodeAt(v1));
++v1;
}
return v3;
};
v1.sbox = new Array(255);
v1.mykey = new Array(255);
ASSetPropFlags(com.newgrounds.crypto.RC4.prototype, null, 1);
}
#endinitclip
}
movieClip 505 __Packages.com.newgrounds.Score {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.newgrounds) {
_global.com.newgrounds = new Object();
}
if (!_global.com.newgrounds.Score) {
var v1 = function (rank, username, score, numericValue, tag) {
this._rank = rank;
this._username = username;
this._score = score;
this._numericValue = numericValue;
this._tag = tag;
};
com.newgrounds.Score = v1;
var v2 = v1.prototype;
v2.__get__numericValue = function () {
return this._numericValue;
};
v2.__get__rank = function () {
return this._rank;
};
v2.__get__score = function () {
return this._score;
};
v2.__get__tag = function () {
return this._tag;
};
v2.__get__username = function () {
return this._username;
};
v2.toString = function () {
return this._rank + '.\t' + this._username + '\t' + this._score;
};
v2.addProperty('numericValue', v2.__get__numericValue, function () {});
v2.addProperty('rank', v2.__get__rank, function () {});
v2.addProperty('score', v2.__get__score, function () {});
v2.addProperty('tag', v2.__get__tag, function () {});
v2.addProperty('username', v2.__get__username, function () {});
ASSetPropFlags(com.newgrounds.Score.prototype, null, 1);
}
#endinitclip
}
movieClip 601 {
frame 1 {
stop();
}
}
movieClip 604 parallax_2 {
}
movieClip 607 parallax_1 {
}
movieClip 610 parallax_0 {
}
movieClip 613 back_00 {
frame 1 {
_root.orda_td = 1;
if (_root.portaDiLegno == 0) {
this.attachMovie('wooden_door_clip', 'wdc', 10);
wdc._xscale = _root.scaleIndex;
wdc._yscale = _root.scaleIndex;
wdc._x = 1537;
wdc._y = 310;
_root.portaDiLegno = 1;
}
_root.placeObject(this, 'fuoco', 770, 290, 100);
_root.placeObject(this, 'fuoco', 800, 310, 50);
_root.placeObject(this, 'fuoco', 820, 280, 62);
_root.generateCrate('supplies_00', 271, 245, 0, 'mp5_ammo_pack', 0);
_root.generateCrate('supplies_00', 600, 300, 0, 'NG_tank', 1);
_root.generateCrate('supplies_00', 400, 320, 0, 'mp5_ammo_pack', 2);
_root.generateCrate('supplies_00', 1400, 260, 0, 'painkiller_ammo_pack', 3);
}
frame 1 {
_root.wallArray = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 267, 268, 268, 268, 268, 268, 269, 269, 269, 269, 269, 269, 270, 270, 270, 270, 270, 270, 271, 271, 271, 271, 271, 271, 272, 272, 272, 272, 272, 272, 272, 272, 271, 271, 270, 270, 269, 269, 269, 268, 268, 267, 267, 266, 266, 265, 265, 265, 264, 264, 263, 263, 262, 262, 262, 261, 261, 260, 260, 259, 259, 258, 258, 258, 257, 257, 256, 256, 255, 255, 254, 253, 252, 251, 250, 249, 248, 246, 245, 244, 243, 242, 241, 239, 238, 237, 236, 235, 234, 232, 231, 230, 229, 228, 227, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 224, 225, 226, 226, 227, 227, 228, 229, 229, 230, 230, 231, 231, 232, 233, 233, 234, 234, 235, 235, 236, 237, 237, 238, 238, 239, 239, 240, 241, 241, 242, 242, 243, 243, 244, 245, 245, 246, 246, 247, 248, 248, 249, 249, 250, 250, 251, 252, 252, 253, 253, 254, 254, 255, 256, 256, 257, 257, 258, 258, 259, 260, 260, 261, 261, 262, 262, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 264, 264, 264, 264, 264, 264, 264, 264, 264, 264, 264, 264, 264, 264, 264, 264, 264, 264, 264, 264, 264, 264, 264, 264, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 274, 274, 274, 274, 275, 275, 275, 275, 275, 276, 276, 276, 276, 276, 277, 277, 277, 277, 277, 278, 278, 278, 278, 279, 279, 279, 279, 279, 280, 280, 280, 280, 280, 281, 281, 281, 281, 281, 282, 282, 282, 282, 282, 283, 283, 283, 283, 284, 284, 284, 284, 284, 285, 285, 285, 285, 285, 286, 286, 286, 286, 286, 287, 287, 287, 287, 288, 288, 288, 288, 288, 289, 289, 289, 289, 289, 290, 290, 290, 290, 290, 291, 291, 291, 291, 291, 292, 292, 292, 292, 292, 293, 293, 293, 293, 293, 294, 294, 294, 294, 294, 295, 295, 295, 295, 295, 296, 296, 296, 296, 296, 297, 297, 297, 297, 297, 298, 298, 298, 298, 298, 299, 299, 299, 299, 299, 300, 300, 300, 300, 300, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 302, 302, 302, 302, 302, 303, 303, 303, 303, 303, 304, 304, 304, 304, 304, 305, 305, 305, 305, 305, 305, 306, 306, 306, 306, 306, 307, 307, 307, 307, 307, 308, 308, 308, 308, 308, 308, 309, 309, 309, 309, 309, 310, 310, 310, 310, 310, 311, 311, 311, 311, 311, 311, 312, 312, 312, 312, 312, 313, 313, 313, 313, 313, 314, 314, 314, 314, 314, 314, 315, 315, 315, 315, 315, 316, 316, 316, 316, 316, 317, 317, 317, 317, 317, 317, 317, 316, 316, 315, 315, 314, 314, 313, 312, 312, 311, 311, 310, 310, 309, 308, 308, 307, 307, 306, 306, 305, 304, 304, 303, 303, 302, 302, 301, 300, 300, 299, 299, 298, 298, 297, 296, 296, 295, 294, 293, 293, 292, 291, 290, 290, 289, 288, 287, 287, 286, 285, 284, 284, 283, 282, 281, 281, 280, 279, 278, 278, 277, 276, 275, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 270, 269, 268, 266, 265, 263, 262, 261, 259, 258, 256, 255, 254, 252, 251, 249, 248, 246, 245, 244, 242, 241, 239, 238, 237, 235, 234, 232, 231, 230, 228, 227, 225, 224, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 217, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 250, 249, 248, 247, 246, 245, 243, 242, 241, 240, 239, 238, 236, 235, 234, 233, 232, 231, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 227, 227, 227, 227, 227, 227, 227, 227, 227, 227, 227, 227, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 225, 226, 227, 228, 229, 230, 230, 231, 232, 233, 234, 234, 235, 236, 237, 238, 238, 239, 240, 241, 242, 243, 243, 244, 245, 246, 247, 247, 248, 249, 250, 251, 251, 252, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 253, 254, 255, 255, 256, 256, 257, 258, 258, 259, 259, 260, 260, 261, 262, 262, 263, 263, 264, 265, 265, 266, 266, 267, 267, 268, 269, 269, 270, 270, 271, 272, 272, 273, 273, 274, 274, 275, 276, 276, 277, 277, 278, 279, 279, 280, 280, 281, 281, 282, 283, 283, 284, 284, 285, 286, 286, 287, 287, 288, 288, 289, 290, 290, 291, 291, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289);
_root.wallArray3 = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 297, 298, 298, 299, 299, 300, 300, 301, 301, 302, 303, 303, 304, 304, 305, 305, 306, 306, 307, 308, 308, 309, 309, 310, 310, 311, 311, 312, 313, 313, 314, 314, 315, 315, 316, 316, 317, 317, 318, 319, 319, 320, 320, 321, 321, 322, 322, 323, 324, 324, 325, 325, 326, 326, 327, 327, 328, 329, 329, 330, 330, 331, 331, 332, 332, 333, 333, 334, 335, 335, 336, 336, 337, 337, 338, 339, 339, 340, 340, 341, 341, 342, 342, 343, 344, 344, 345, 345, 346, 346, 347, 348, 348, 349, 349, 350, 350, 351, 351, 352, 353, 353, 354, 354, 355, 355, 356, 356, 357, 358, 358, 359, 359, 360, 360, 361, 361, 362, 362, 363, 363, 364, 364, 365, 365, 365, 366, 366, 367, 367, 368, 368, 369, 369, 369, 370, 370, 371, 371, 372, 372, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 369, 369, 369, 369, 369, 368, 368, 368, 368, 367, 367, 367, 367, 367, 366, 366, 366, 366, 365, 365, 365, 365, 365, 364, 364, 364, 364, 363, 363, 363, 363, 363, 362, 362, 362, 362, 361, 361, 361, 361, 361, 360, 360, 360, 360, 359, 359, 359, 359, 358, 358, 358, 358, 358, 357, 357, 357, 357, 356, 356, 356, 356, 356, 355, 355, 355, 355, 354, 354, 354, 354, 354, 353, 353, 353, 353, 352, 352, 352, 352, 352, 351, 351, 351, 351, 350, 350, 350, 350, 349, 349, 348, 347, 346, 346, 345, 344, 343, 342, 342, 341, 340, 339, 339, 338, 337, 336, 335, 335, 334, 333, 332, 331, 331, 330, 329, 328, 328, 327, 326, 325, 324, 324, 323, 322, 321, 321, 320, 319, 318, 317, 317, 316, 315, 314, 313, 313, 312, 311, 310, 309, 308, 308, 307, 306, 305, 304, 303, 303, 302, 301, 300, 299, 298, 298, 297, 296, 295, 294, 293, 293, 292, 291, 290, 289, 288, 287, 287, 287, 286, 286, 286, 285, 285, 284, 284, 284, 283, 283, 282, 282, 282, 281, 281, 281, 280, 280, 279, 279, 279, 278, 278, 277, 277, 277, 276, 276, 276, 275, 275, 274, 274, 274, 273, 273, 272, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 288, 288, 289, 289, 289, 290, 290, 290, 291, 291, 292, 292, 292, 293, 293, 293, 294, 294, 294, 295, 295, 296, 296, 296, 297, 297, 297, 298, 298, 299, 299, 299, 300, 300, 300, 301, 301, 301, 302, 302, 303, 303, 303, 304, 304, 304, 305, 305, 306, 306, 306, 307, 307, 307, 308, 308, 308, 309, 309, 309, 309, 309, 309, 309, 309, 309, 310, 310, 310, 310, 310, 310, 310, 310, 310, 311, 311, 311, 311, 311, 311, 311, 311, 311, 312, 312, 312, 312, 312, 312, 312, 312, 312, 313, 313, 313, 313, 313, 313, 313, 313, 313, 315, 316, 317, 319, 320, 321, 323, 324, 325, 327, 328, 329, 331, 332, 333, 335, 336, 337, 339, 340, 341, 343, 344, 345, 347, 348, 349, 351, 352, 353, 355, 356, 357, 359, 360, 361, 363, 364, 365, 367, 368, 369, 369, 369, 369, 369, 369, 368, 368, 368, 368, 368, 367, 367, 367, 367, 367, 366, 366, 366, 366, 366, 365, 365, 365, 365, 365, 365, 364, 364, 364, 364, 364, 363, 363, 363, 363, 363, 362, 362, 362, 362, 362, 361, 361, 361, 361, 361, 361, 360, 360, 360, 360, 360, 359, 359, 359, 359, 359, 358, 358, 358, 358, 358, 357, 356, 355, 354, 353, 352, 350, 349, 348, 347, 346, 344, 343, 342, 341, 340, 338, 337, 336, 335, 334, 332, 331, 330, 329, 328, 327, 325, 324, 323, 322, 321, 319, 318, 317, 316, 315, 313, 312, 311, 310, 309, 307, 306, 305, 304, 303, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301);
_root.leftBound = 55;
_root.rightBound = 1728;
}
instance of movieClip 389 {
onClipEvent (load) {
this.nextRoom = 'roof_indoor';
this.x_start_position = 100;
this.y_start_position = 300;
}
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[6];
}
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[7];
}
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[4];
}
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[5];
}
}
instance of movieClip 389 {
onClipEvent (load) {
this.nextRoom = 'roof_0';
this.x_start_position = 503;
this.y_start_position = 191;
}
}
}
movieClip 620 {
frame 1 {
this._xscale = 30;
this._yscale = 30;
}
frame 120 {
_root.effetti(this, 'waterDrop');
}
frame 230 {
ran = Math.ceil(Math.random() * 100);
this.gotoAndPlay(ran);
}
}
movieClip 621 {
frame 1 {
this.z = 290;
this.energy = 3;
this.stato = 0;
np = 0;
timer = 0;
_root.effettoAmbiente(_root, _root.sound1, 'fire_burning');
if (_root.fuocoSpento == 1) {
if (_root.chiaveSulTettoRaccolta == 1) {
_root.Asoundfx.stop();
this.gotoAndStop(26);
} else {
_root.Asoundfx.stop();
this.gotoAndPlay(25);
}
}
this.onEnterFrame = function () {
if (this.water == 1 && timer <= 40) {
_parent.attachMovie('water_particle', 'wp' + np, np);
wp = eval('_parent.wp' + np);
wp._x = this._x - 10;
wp._y = this._y + 6;
np += 1;
timer += 1;
}
if (_root.fuocoSpento == 0) {
switch (this.stato) {
case 0:
n = 1;
while (n <= 4) {
this.shot = eval('_root.scena.sprites.shotPH.gS' + n);
if (this.coll.hitTest(this.shot) && this._currentframe == 2) {
if (this.shot.z >= this.z && _root.US._x < this._x) {
this.shot.removeMovieClip();
_root.effetti(this, 'metal_clang');
if (this.energy <= 0) {
_root.fuocoSpento = 1;
_root.effetti(this, 'water_splash');
_root.Asoundfx.stop();
this.water = 1;
this.stato = 1;
this.gotoAndPlay(7);
break;
} else {
this.energy -= 1;
this.gotoAndPlay(3);
break;
}
}
}
++n;
}
break;
case 1:
}
}
};
}
frame 2 {
stop();
}
frame 3 {
play();
}
frame 6 {
this.gotoAndStop(2);
}
frame 7 {
play();
}
frame 25 {
_root.releaseObject(this, 'roof_key', 760, 310);
_root.chiaveSulTettoCaduta = 1;
}
frame 26 {
stop();
l = _root.fireArray.length;
n = 0;
while (n < l) {
_root.fireArray[n].fire.removeMovieClip();
_root.fireArray[n].stato = 1;
++n;
}
}
}
movieClip 622 front_00 {
}
movieClip 625 back_2 {
frame 1 {
_root.initSpawn(this.spawnArea, _root.orda2);
thisEnemyArray = new Array('blackStain', 'blackStain', 'z1', 'blackStain', 'z1', 'z1', 'blackStain', 'z1', 'z1');
this.onEnterFrame = function () {
if (_root.orda2 == 0 && _root.miscelaPerMotore == 1) {
if (_root.US._x < 1480) {
_root.orda2 = 1;
}
}
_root.runtimeSpawn(this.spawnArea, thisEnemyArray, _root.orda2, 2);
};
_root.generateCrate('supplies_00', 2097, 281, 0, 'shotGun_ammo_pack', 4);
_root.generateCrate('supplies_00', 1454, 271, 0, 'shotGun_ammo_pack', 5);
}
frame 1 {
_root.wallArray = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 267, 268, 268, 268, 268, 268, 268, 268, 269, 269, 269, 269, 269, 269, 269, 269, 270, 270, 270, 270, 270, 270, 270, 270, 271, 271, 271, 271, 271, 271, 271, 272, 272, 272, 272, 272, 272, 272, 272, 273, 273, 273, 273, 273, 273, 273, 273, 274, 274, 274, 274, 274, 274, 274, 275, 275, 275, 275, 275, 275, 275, 275, 276, 276, 276, 276, 276, 276, 276, 276, 277, 277, 277, 277, 277, 277, 277, 278, 278, 278, 278, 278, 278, 278, 278, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 278, 278, 278, 278, 278, 277, 277, 277, 277, 277, 276, 276, 276, 276, 276, 275, 275, 275, 275, 275, 274, 274, 274, 274, 274, 273, 273, 273, 273, 273, 272, 272, 272, 272, 272, 272, 271, 271, 271, 271, 271, 270, 270, 270, 270, 270, 269, 269, 269, 269, 269, 268, 268, 268, 268, 268, 267, 267, 267, 267, 267, 266, 266, 266, 266, 266, 265, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 268, 268, 268, 269, 269, 269, 269, 270, 270, 270, 271, 271, 271, 271, 272, 272, 272, 273, 273, 273, 273, 274, 274, 274, 275, 275, 275, 275, 276, 276, 276, 277, 277, 277, 277, 278, 278, 278, 279, 279, 279, 279, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 267, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 269, 269, 269, 270, 270, 270, 270, 271, 271, 271, 271, 272, 272, 272, 272, 273, 273, 273, 273, 274, 274, 274, 274, 275, 275, 275, 275, 276, 276, 276, 276, 277, 277, 277, 277, 278, 278, 278, 278, 279, 279, 279, 279, 280, 280, 280, 280, 281, 281, 281, 281, 282, 282, 282, 282, 283, 283, 283, 283, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 282, 282, 282, 282, 282, 282, 282, 281, 281, 281, 281, 281, 281, 281, 280, 280, 280, 280, 280, 280, 279, 279, 279, 279, 279, 279, 279, 278, 278, 278, 278, 278, 278, 277, 277, 277, 277, 277, 277, 277, 276, 276, 276, 276, 276, 276, 275, 275, 275, 275, 275, 275, 275, 274, 274, 274, 274, 274, 274, 274, 273, 273, 273, 273, 273, 273, 272, 272, 272, 272, 272, 272, 272, 271, 271, 271, 271, 271, 271, 270, 270, 270, 270, 270, 270, 270, 269, 269, 269, 269, 269, 269, 268, 268, 268, 268, 268, 268, 268, 267, 267, 267, 267, 267, 267, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 264, 265, 265, 265, 266, 266, 266, 267, 267, 267, 268, 268, 268, 269, 269, 269, 270, 270, 270, 270, 271, 271, 271, 272, 272, 272, 273, 273, 273, 274, 274, 274, 275, 275, 275, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 264, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 268, 268, 268, 268, 268, 269, 269, 269, 269, 269, 270, 270, 270, 270, 270, 271, 271, 271, 271, 271, 272, 272, 272, 272, 272, 273, 273, 273, 273, 273, 273, 274, 274, 274, 274, 274, 275, 275, 275, 275, 275, 276, 276, 276, 276, 276, 277, 277, 277, 277, 277, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275);
_root.wallArray3 = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 298, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 305, 305, 305, 305, 305, 305, 305, 305, 305, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 310, 310, 310, 310, 310, 310, 310, 310, 310, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 316, 316, 316, 315, 315, 315, 314, 314, 313, 313, 313, 312, 312, 312, 311, 311, 310, 310, 310, 309, 309, 309, 308, 308, 307, 307, 307, 306, 306, 306, 305, 305, 305, 304, 304, 303, 303, 303, 302, 302, 302, 301, 301, 300, 300, 300, 299, 299, 299, 298, 298, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 298, 298, 298, 299, 299, 299, 299, 300, 300, 300, 301, 301, 301, 301, 302, 302, 302, 303, 303, 303, 303, 304, 304, 304, 305, 305, 305, 305, 306, 306, 306, 306, 307, 307, 307, 308, 308, 308, 308, 309, 309, 309, 310, 310, 310, 310, 311, 311, 311, 312, 312, 312, 312, 313, 313, 313, 313, 314, 314, 314, 315, 315, 315, 315, 316, 316, 316, 317, 317, 317, 317, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 317, 317, 316, 316, 316, 315, 315, 314, 314, 313, 313, 313, 312, 312, 311, 311, 311, 310, 310, 309, 309, 308, 308, 308, 307, 307, 306, 306, 306, 305, 305, 304, 304, 303, 303, 303, 302, 302, 301, 301, 301, 300, 300, 299, 299, 298, 298, 298, 297, 297, 296, 296, 296, 295, 295, 294, 294, 293, 293, 293, 292, 292, 291, 291, 291, 290, 290, 289, 289, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 289, 289, 289, 289, 290, 290, 290, 290, 291, 291, 291, 291, 292, 292, 292, 292, 292, 293, 293, 293, 293, 294, 294, 294, 294, 295, 295, 295, 295, 296, 296, 296, 296, 296, 297, 297, 297, 297, 298, 298, 298, 298, 299, 299, 299, 299, 300, 300, 300, 300, 300, 301, 301, 301, 301, 302, 302, 302, 302, 303, 303, 303, 303, 304, 304, 304, 304, 304, 305, 305, 305, 305, 306, 306, 306, 306, 307, 307, 307, 307, 308, 308, 308, 308, 308, 309, 309, 309, 309, 310, 310, 310, 310, 311, 311, 311, 311, 312, 312, 312, 312, 312, 313, 313, 313, 313, 314, 314, 314, 314, 315, 315, 315, 315, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 315, 315, 315, 315, 315, 315, 315, 315, 314, 314, 314, 314, 314, 314, 314, 314, 314, 313, 313, 313, 313, 313, 313, 313, 313, 312, 312, 312, 312, 312, 312, 312, 312, 312, 311, 311, 311, 311, 311, 311, 311, 311, 310, 310, 310, 310, 310, 310, 310, 310, 310, 309, 309, 309, 309, 309, 309, 309, 309, 308, 308, 308, 308, 308, 308, 308, 308, 308, 307, 307, 307, 307, 307, 307, 307, 307, 306, 306, 306, 306, 306, 306, 306, 306, 306, 305, 305, 305, 305, 305, 305, 305, 305, 304, 304, 304, 304, 304, 304, 304, 304, 304, 303, 303, 303, 303, 303, 303, 303, 303, 302, 302, 302, 302, 302, 302, 302, 302, 301);
_root.leftBound = 190;
_root.rightBound = 3085;
}
instance of movieClip 389 {
onClipEvent (load) {
this.nextRoom = 'corridor2';
this.x_start_position = 200;
this.y_start_position = 300;
}
}
}
movieClip 630 {
frame 1 {
this.attivo = 0;
this._visible = false;
this.onEnterFrame = function () {
if (this.attivo == 0) {
if (this.hitTest(_root.pl_x, _root.pl_y, true)) {
this.attivo = 1;
_root.messages.attachMovie('mainPanel', 'mainPanel', 10);
_root.messages.mainPanel.testo = this.testo;
_root.messages.mainPanel.variabile = this.variabile;
_root.messages.mainPanel.attachMovie('keyCodePanel', 'kcp', 11);
_root.messages.mainPanel.kcp.variabile = this.variabile;
_root.messages.mainPanel.kcp.requiredKeyCode = new Array();
n = 0;
while (n < 5) {
cifra = this.codeArray[n];
_root.messages.mainPanel.kcp.requiredKeyCode.push(cifra);
++n;
}
_root.messages.mainPanel.kcp._x = 400;
_root.messages.mainPanel.kcp._y = 100;
}
} else {
if (this.hitTest(_root.pl_x, _root.pl_y, true) == false && this.attivo == 1) {
_root.messages.mainPanel.removeMovieClip();
_root.pointerState = 0;
this.attivo = 0;
}
}
};
}
}
movieClip 631 {
frame 1 {
this.onEnterFrame = function () {
if (_root.miscelaPerMotore == 0) {
this.gotoAndStop(1);
} else {
if (_root.pannelloCodice1 == 0) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
}
};
}
frame 1 {
stop();
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[11];
}
}
frame 2 {
stop();
}
instance of movieClip 630 {
onClipEvent (load) {
this.testo = _root.testi[12];
this.variabile = '_root.pannelloCodice1';
this.codeArray = new Array(2, 9, 9, 7, 6);
}
}
frame 3 {
stop();
}
instance int3 of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.testo = _root.testi[13];
this.nextRoom = 'controlRoom';
this.x_start_position = 200;
this.y_start_position = 340;
}
}
}
movieClip 632 back_2_dark {
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[14];
}
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[15];
}
}
}
movieClip 637 {
frame 1 {
ran = Math.ceil(Math.random() * 300);
this.gotoAndPlay(ran);
}
frame 130 {
_root.effetti(this, 'waterDrop');
}
frame 301 {
this.gotoAndPlay(2);
}
}
movieClip 638 front_2 {
}
movieClip 646 {
frame 1 {
stop();
this.onEnterFrame = function () {
if (_root.chiaveSulTetto == 1) {
this.gotoAndStop(2);
}
};
}
frame 2 {
stop();
_root.effetti(this, 'openHatch');
}
}
movieClip 647 back2 {
frame 1 {
_root.wallArray = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 278, 279, 279, 279, 279, 279, 279, 279, 279, 280, 280, 280, 280, 280, 280, 280, 280, 280, 281, 281, 281, 281, 281, 281, 281, 281, 282, 282, 282, 282, 282, 282, 282, 282, 282, 283, 283, 283, 283, 283, 283, 283, 283, 283, 284, 284, 284, 284, 284, 284, 284, 284, 285, 285, 285, 285, 285, 285, 285, 285, 285, 286, 286, 286, 286, 286, 286, 286, 286, 287, 287, 287, 287, 287, 287, 287, 287, 287, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 287, 287, 287, 287, 287, 287, 287, 287, 287, 286, 286, 286, 286, 286, 286, 286, 286, 286, 285, 285, 285, 285, 285, 285, 285, 285, 285, 284, 284, 284, 284, 284, 284, 284, 284, 284, 283, 283, 283, 283, 283, 283, 283, 283, 283, 282, 282, 282, 282, 282, 282, 282, 282, 282, 281, 281, 281, 281, 281, 281, 281, 281, 281, 280, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 282, 282, 282, 282, 282, 282, 282, 283, 283, 283, 283, 283, 283, 283, 284, 284, 284, 284, 284, 284, 284, 285, 285, 285, 285, 285, 285, 285, 286, 286, 286, 286, 286, 286, 286, 286, 287, 287, 287, 287, 287, 287, 287, 288, 288, 288, 288, 288, 288, 288, 289, 289, 289, 289, 289, 289, 289, 290, 290, 290, 290, 290, 290, 290, 290, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292);
_root.wallArray3 = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 303, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 308, 309, 309, 310, 310, 311, 311, 312, 312, 313, 313, 314, 314, 315, 315, 316, 316, 317, 317, 318, 318, 319, 319, 320, 320, 321, 321, 322, 322, 323, 323, 324, 324, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 322, 322, 322, 322, 321, 321, 321, 320, 320, 320, 319, 319, 319, 318, 318, 318, 317, 317, 317, 317, 316, 316, 316, 315, 315, 315, 314, 314, 314, 313, 313, 313, 312, 312, 312, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 309);
_root.leftBound = 31;
_root.rightBound = 327;
}
instance int2 of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 1;
this.needed_item = 'roof_key';
this.event = 0;
this.testo = _root.testi[9];
}
}
instance int3 of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.nextRoom = 'corridor1';
this.testo = _root.testi[10];
this.x_start_position = 360;
this.y_start_position = 300;
}
}
instance of movieClip 389 {
onClipEvent (load) {
this.nextRoom = 'roof';
this.x_start_position = 1550;
this.y_start_position = 275;
}
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[8];
}
}
}
movieClip 650 back2_front {
}
movieClip 656 {
frame 1 {
this.stato = 0;
this.gotoAndStop(1);
this.onEnterFrame = function () {
switch (this.stato) {
case 0:
if (_root.asciaSulCadavere == 1) {
this.stato = 1;
this.gotoAndPlay(2);
}
break;
case 1:
if (_root.pausedGame == 1) {
this.stop();
} else {
play();
}
if (_root.miscelaPerMotore == 1) {
this.gotoAndStop(77);
this.stato = 2;
}
break;
case 2:
this.gotoAndStop(77);
}
};
}
frame 4 {
if (this.hitTest(_root.US.coll)) {
_root.energy -= 10;
_root.effetti(_root.US, 'hit');
_root.damage.attachMovie('damage', 'damage', 10);
}
n = 0;
while (n < 5) {
this.attachMovie('smoke', 'fp' + n, n);
this.fp = eval('this.fp' + n);
this.fp._x = Math.random() * 40 - 20;
this.fp._y = -(10 + Math.random() * 10);
++n;
}
}
frame 4 {
_root.effetti(this, 'knife_out');
}
frame 27 {
_root.effetti(this, 'metal_clang');
}
frame 160 {
this.gotoAndPlay(2);
}
}
movieClip 657 corridor2 {
frame 1 {
_root.initSpawn(this.spawnArea, _root.asciaSulCadavere);
switch (_root.difficultyLevel) {
case 1:
noz = 4;
thisEnemyArray = new Array('z1', 'z1', 'z1', 'z1', 'z1', 'z1', 'z1', 'z1', 'z1', 'z1', 'z1', 'z1');
break;
case 0:
noz = 3;
thisEnemyArray = new Array('z1', 'z1', 'z1', 'z1', 'z1', 'z1', 'z1');
break;
default:
noz = 4;
thisEnemyArray = new Array('z1', 'z1', 'z1', 'z1', 'z1', 'z1', 'z1', 'z1', 'z1', 'z1', 'z1', 'z1');
}
this.onEnterFrame = function () {
_root.runtimeSpawn(this.spawnArea, thisEnemyArray, _root.asciaSulCadavere, noz);
};
}
frame 1 {
_root.wallArray = new Array(283, 283, 283, 283, 283, 283, 282, 282, 282, 282, 282, 282, 282, 281, 281, 281, 281, 281, 281, 280, 280, 280, 280, 280, 280, 279, 279, 279, 279, 279, 279, 278, 278, 278, 278, 278, 278, 278, 277, 277, 277, 277, 277, 277, 276, 276, 276, 276, 276, 276, 275, 275, 275, 275, 275, 275, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 275, 275, 276, 276, 276, 277, 277, 277, 278, 278, 278, 279, 279, 279, 280, 280, 281, 281, 281, 282, 282, 282, 283, 283, 283, 284, 284, 284, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 284, 284, 283, 283, 282, 282, 281, 281, 280, 280, 279, 279, 278, 278, 277, 277, 276, 276, 275, 275, 274, 274, 273, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 275, 275, 275, 276, 276, 276, 277, 277, 277, 277, 278, 278, 278, 279, 279, 279, 280, 280, 280, 280, 281, 281, 281, 282, 282, 282, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 282, 282, 282, 281, 281, 280, 280, 280, 279, 279, 278, 278, 278, 277, 277, 276, 276, 276, 275, 275, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 275, 275, 275, 275, 276, 276, 276, 276, 277, 277, 277, 277, 278, 278, 278, 278, 279, 279, 279, 279, 280, 280, 280, 280, 281, 281, 281, 281, 282, 282, 282, 282, 283, 283, 283, 283, 284, 284, 284, 284, 285, 285, 285, 285, 286, 286, 286, 286, 287, 287, 287, 287, 288, 288, 288, 288, 289, 289, 289, 289, 290, 290, 290, 290, 291, 291, 291, 291, 292, 292, 292, 292, 293, 293, 293, 293, 294, 294, 294, 294, 295, 295, 295, 295, 296, 296, 296, 296, 297, 297, 297, 297, 298, 298, 298, 298, 299, 299, 299, 299, 300, 300, 300, 300, 301, 301, 301, 301, 302, 302, 302, 302, 303, 303, 303, 303, 304, 304, 304, 304, 305, 305, 305, 305, 306, 306, 306, 306, 306, 306, 305, 305, 304, 303, 303, 302, 301, 301, 300, 299, 299, 298, 297, 297, 296, 295, 295, 294, 294, 293, 292, 292, 291, 290, 290, 289, 288, 288, 287, 286, 286, 285, 284, 284, 283, 283, 282, 281, 281, 280, 279, 279, 278, 277, 277, 276, 275, 275, 274, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 274, 274, 274, 275, 275, 275, 276, 276, 276, 277, 277, 277, 278, 278, 278, 279, 279, 279, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 275, 276, 277, 277, 278, 279, 279, 280, 281, 281, 282, 283, 283, 284, 285, 285, 286, 287, 287, 288, 289, 289, 289, 289, 289, 289, 289, 289, 289, 288, 288, 288, 288, 288, 288, 288, 288, 287, 287, 287, 287, 287, 287, 287, 287, 286, 286, 286, 286, 286, 286, 286, 286, 285, 285, 285, 285, 285, 285, 285, 285, 284, 284, 284, 284, 284, 284, 284, 284, 283, 283, 283, 283, 283, 283, 283, 283, 282, 282, 282, 282, 282, 282, 282, 282, 281, 281, 281, 281, 281, 281, 281, 281, 280, 280, 280, 280, 280, 280, 280, 280, 279, 279, 279, 279, 279, 279, 279, 279, 278, 278, 278, 278, 278, 278, 278, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 273, 274, 274, 274, 275, 275, 275, 275, 276, 276, 276, 276, 277, 277, 277, 277, 278, 278, 278, 278, 279, 279, 279, 279, 280, 280, 280, 280, 281, 281, 281, 282, 282, 282, 282, 283, 283, 283, 283, 284, 284, 284, 284, 285, 285, 285, 285, 286, 286, 286, 286, 287, 287, 287, 287, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 278, 279, 279, 279, 280, 280, 280, 280, 281, 281, 281, 281, 282, 282, 282, 282, 283, 283, 283, 283, 284, 284, 284, 284, 285, 285, 285, 286, 286, 286, 286, 287, 287, 287, 287, 288, 288, 288, 288, 289, 289, 289, 289, 290, 290, 290, 290, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 292, 293, 293, 294, 294, 295, 295, 296, 297, 297, 298, 298, 299, 299, 300, 301, 301, 302, 302, 303, 303, 304, 304, 305, 306, 306, 307, 307, 308, 308, 309, 310, 310, 311, 311, 312, 312, 313, 314, 314, 315, 315, 316, 316, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 316, 316, 316, 316, 316, 316, 316, 316, 315, 315, 315, 315, 315, 315, 315, 315, 314, 314, 314, 314, 314, 314, 314, 314, 313, 313, 313, 313, 313, 313, 313, 313, 312, 312, 311, 311, 310, 310, 309, 309, 308, 308, 307, 306, 306, 305, 305, 304, 304, 303, 303, 302, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299);
_root.wallArray3 = new Array(328, 329, 329, 330, 330, 330, 331, 331, 332, 332, 333, 333, 333, 334, 334, 335, 335, 336, 336, 336, 337, 337, 338, 338, 339, 339, 339, 340, 340, 341, 341, 342, 342, 342, 343, 343, 344, 344, 345, 345, 345, 346, 346, 347, 347, 348, 348, 348, 349, 349, 350, 350, 351, 351, 351, 352, 352, 353, 353, 354, 354, 354, 355, 355, 356, 356, 357, 357, 357, 358, 358, 359, 359, 360, 360, 360, 361, 361, 362, 362, 363, 363, 363, 364, 364, 365, 365, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 365, 365, 364, 364, 363, 363, 363, 362, 362, 361, 361, 360, 360, 360, 359, 359, 358, 358, 357, 357, 356, 356, 356, 355, 355, 354, 354, 353, 353, 353, 352, 352, 351, 351, 350, 350, 349, 349, 349, 348, 348, 347, 347, 346, 346, 346, 345, 345, 344, 344, 343, 343, 342, 342, 342, 341, 341, 340, 340, 339, 339, 339, 338, 338, 337, 337, 336, 336, 335, 335, 335, 334, 334, 333, 333, 332, 332, 332, 331, 331, 330, 330, 329, 329, 328, 328, 328, 327, 327, 326, 326, 325, 325, 325, 324, 324, 323, 323, 322, 322, 321, 321, 321, 320, 320, 319, 319, 318, 318, 318, 317, 317, 316, 316, 315, 315, 314, 315, 315, 315, 315, 316, 316, 316, 316, 316, 317, 317, 317, 317, 317, 318, 318, 318, 318, 318, 319, 319, 319, 319, 319, 320, 320, 320, 320, 320, 321, 321, 321, 321, 321, 322, 322, 322, 322, 322, 323, 323, 323, 323, 323, 324, 324, 324, 324, 324, 325, 325, 325, 325, 325, 326, 326, 326, 326, 326, 327, 327, 327, 327, 327, 328, 328, 328, 328, 328, 329, 329, 329, 329, 329, 330, 330, 330, 330, 330, 331, 331, 331, 331, 331, 332, 332, 332, 332, 332, 333, 333, 333, 333, 333, 334, 334, 334, 334, 334, 335, 335, 335, 335, 335, 336, 336, 336, 336, 336, 337, 337, 337, 337, 337, 338, 338, 338, 338, 338, 339, 339, 339, 339, 339, 340, 340, 340, 340, 340, 341, 341, 341, 341, 341, 342, 342, 342, 342, 342, 343, 343, 343, 343, 343, 344, 344, 344, 344, 344, 345, 345, 345, 345, 345, 346, 346, 346, 346, 346, 347, 347, 347, 347, 347, 348, 348, 348, 348, 348, 349, 349, 349, 349, 349, 350, 350, 350, 350, 350, 350, 351, 351, 351, 351, 351, 351, 351, 352, 352, 352, 352, 352, 352, 352, 353, 353, 353, 353, 353, 353, 353, 354, 354, 354, 354, 354, 354, 354, 355, 355, 355, 355, 355, 355, 355, 356, 356, 356, 356, 356, 356, 356, 357, 357, 357, 357, 357, 357, 357, 358, 358, 358, 358, 358, 358, 359, 359, 359, 359, 359, 359, 359, 360, 360, 360, 360, 360, 360, 360, 361, 361, 361, 361, 361, 361, 361, 362, 362, 362, 362, 362, 362, 362, 363, 363, 363, 363, 363, 363, 363, 364, 364, 364, 364, 364, 364, 364, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 364, 364, 363, 363, 362, 362, 362, 361, 361, 360, 360, 359, 359, 359, 358, 358, 357, 357, 356, 356, 356, 355, 355, 354, 354, 353, 353, 353, 352, 352, 351, 351, 350, 350, 350, 349, 349, 348, 348, 347, 347, 347, 346, 346, 345, 345, 344, 344, 344, 343, 343, 342, 342, 341, 341, 341, 340, 340, 339, 339, 338, 338, 338, 337, 337, 336, 336, 335, 335, 335, 334, 334, 333, 333, 332, 332, 332, 331, 331, 330, 330, 329, 329, 329, 328, 328, 327, 327, 326, 326, 326, 325, 325, 324, 324, 323, 323, 323, 322, 322, 321, 321, 320, 320, 320, 319, 319, 318, 318, 317, 317, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315);
_root.leftBound = 5;
_root.rightBound = 3244;
}
frame 1 {
if (_root.smgRaccolto == 0) {
_root.placeObject(this, 'mp5_p', 3002, 313, 100);
}
_root.generateCrate('supplies_00', 2903, 287, 0, 'painkiller_ammo_pack', 6);
if (_root.barricata == 0) {
this.attachMovie('barricade_clip', 'wdc', 10);
wdc._x = 3198;
wdc._y = 311;
}
if (_root.miscelaPerMotore == 0) {
_root.placeObject(this, 'corpse', 1330, 310, 100);
} else {
if (_root.crowbar == 0) {
_root.generateFoe('z1', 2613, 299);
_root.generateFoe('z1', 2340, 332);
_root.generateFoe('z1', 2132, 286);
} else {
_root.generateFoe('z1', 2340, 332);
_root.generateFoe('z1', 2132, 286);
_root.generateFoe('z1', 600, 299);
_root.generateFoe('z1', 700, 310);
}
_root.placeObject(this, 'blood_pool_trail', 1330, 310, 100);
this.l = _root.fpl;
_root.scena.floorParticles.attachMovie('blood_pool', 'fp' + this.l, this.l);
fp = eval('_root.scena.floorParticles.fp' + this.l);
fp._x = 1330;
fp._y = 310;
_root.fpl += 1;
}
}
instance int2 of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 4;
this.event = 1;
this.variabile = '_root.asciaSulCadavere';
this.testo = _root.testi[21];
this.testo2 = 'You took the FIRE AXE';
}
}
instance of movieClip 389 {
onClipEvent (load) {
this.nextRoom = 'corridor1';
this.x_start_position = 2540;
this.y_start_position = 300;
}
}
instance of movieClip 389 {
onClipEvent (load) {
this.nextRoom = 'elevator';
this.x_start_position = 170;
this.y_start_position = 350;
}
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[20];
}
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[19];
}
}
}
movieClip 659 {
frame 1 {
n = 0;
repeat = 0;
this.onEnterFrame = function () {
repeat += 1;
if (repeat >= 10) {
this.attachMovie('dust_p', 'dp' + n, n);
dp = eval('this.dp' + n);
dp._x = Math.random() * 80;
dp._y = Math.random() * 100;
n += 1;
repeat = 0;
}
};
}
}
movieClip 662 corridor2_front {
}
movieClip 663 {
frame 1 {
if (_root.levaTirata == 0) {
this.stato = 0;
} else {
this.stato = 2;
}
this.gotoAndStop(1);
this.onEnterFrame = function () {
switch (this.stato) {
case 0:
if (_root.miscelaPerMotore == 1) {
this.stato = 1;
this.gotoAndStop(2);
}
break;
case 1:
if (_root.levaTirata == 1) {
this.gotoAndStop(3);
this.stato = 2;
}
break;
case 2:
}
};
}
frame 2 {
_root.effetti(this, 'knife_out');
}
}
movieClip 664 {
frame 1 {
if (_root.levaTirata == 0) {
this.stato = 0;
} else {
this.stato = 2;
}
this.gotoAndStop(1);
this.onEnterFrame = function () {
switch (this.stato) {
case 0:
if (_root.miscelaPerMotore == 1) {
this.stato = 1;
this.gotoAndStop(2);
}
break;
case 1:
if (_root.levaTirata == 1) {
this.gotoAndStop(3);
this.stato = 2;
}
break;
case 2:
}
};
}
frame 2 {
_root.effetti(this, 'knife_out');
}
}
movieClip 667 bloodCorridor_front {
}
movieClip 673 bloodCorridor_dark {
frame 1 {
_root.placeObject(this, 'swinging_lamp', 1200, 250, 100);
_root.placeObject(this, 'swinging_lamp', 1700, 251, 100);
this.lampsOn = 0;
timer = 180;
foe = 36;
this.onEnterFrame = function () {
if (_root.levaTirata == 0) {
if (_root.miscelaPerMotore == 1) {
l = _root.enemyArray.length;
timer += 1;
if (foe > 0 && timer > 120) {
if (l < 4) {
xpos = 800 + Math.random() * 1200;
ypos = 315 + Math.random() * 25;
_root.generateFoe('z1', xpos, ypos);
foe -= 1;
timer = 0;
}
}
}
}
};
}
frame 1 {
_root.wallArray = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 291, 291, 291, 291, 291, 291, 291, 291, 291, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 288, 289, 289, 289, 289, 290, 290, 290, 290, 291, 291, 291, 291, 292, 292, 292, 292, 293, 293, 293, 293, 294, 294, 294, 294, 295, 295, 295, 295, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 292, 293, 293, 294, 294, 295, 295, 296, 296, 297, 297, 298, 298, 299, 299, 300, 300, 301, 301, 302, 302, 303, 303, 304, 304, 305, 305, 306, 306, 307, 307, 308, 308, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 313, 313, 313, 314, 314, 314, 314, 315, 315, 315, 316, 316, 316, 316, 317, 317, 317, 318, 318, 318, 318, 319, 319, 319, 320, 320, 320, 320, 321, 321, 321, 322, 322, 322, 322, 323, 323, 323, 324, 324, 324, 324, 324, 324, 324, 324, 324, 323, 323, 323, 323, 323, 323, 322, 322, 322, 322, 322, 322, 321, 321, 321, 321, 321, 321, 320, 320, 320, 320, 320, 320, 319, 319, 319, 319, 319, 318, 318, 318, 318, 318, 318, 317, 317, 317, 317, 317, 317, 316, 316, 316, 316, 316, 316, 315, 315, 315, 315, 315, 315, 314, 314, 314, 314, 314, 313, 313, 313, 313, 313, 313, 312, 312, 312, 312, 312, 312, 311, 311, 311, 311, 311, 311, 310, 310, 310, 310, 310, 310, 309, 309, 309, 309, 309, 309, 308, 308, 308, 308, 308, 307, 307, 307, 307, 307, 307, 306, 306, 306, 306, 306, 306, 305, 305, 305, 305, 305, 305, 304, 304, 304, 304, 304, 304, 303, 303, 303, 303, 303, 302, 303, 303, 303, 304, 304, 304, 304, 305, 305, 305, 305, 306, 306, 306, 306, 307, 307, 307, 307, 308, 308, 308, 308, 309, 309, 309, 309, 310, 310, 310, 310, 311, 311, 311, 311, 312, 312, 312, 312, 313, 313, 313, 313, 314, 314, 314, 314, 315, 315, 315, 315, 316, 316, 316, 316, 317, 317, 317, 317, 318, 318, 318, 318, 319, 319, 319, 319, 320, 320, 320, 320, 321, 321, 321, 321, 322, 322, 322, 322, 323, 323, 323, 323, 324, 324, 324, 324, 325, 325, 325, 325, 326, 326, 326, 326, 327, 327, 327, 327, 328, 328, 328, 328, 329, 329, 329, 329, 330, 330, 330, 330, 331, 331, 331, 331, 331, 331, 331, 331, 331, 330, 330, 330, 330, 330, 330, 329, 329, 329, 329, 329, 329, 328, 328, 328, 328, 328, 327, 327, 327, 327, 327, 327, 326, 326, 326, 326, 326, 326, 325, 325, 325, 325, 325, 324, 324, 324, 324, 324, 324, 323, 323, 323, 323, 323, 323, 322, 322, 322, 322, 322, 321, 321, 321, 321, 321, 321, 320, 320, 320, 320, 320, 320, 319, 319, 319, 319, 319, 319, 318, 318, 318, 318, 318, 317, 317, 317, 317, 317, 317, 316, 316, 316, 316, 316, 316, 315, 315, 315, 315, 315, 314, 314, 314, 314, 314, 314, 313, 313, 313, 313, 313, 313, 312, 312, 312, 312, 312, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 296, 296, 296, 296, 296, 296, 296, 296, 296, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 291, 291, 291, 291, 291, 291, 291, 291, 291, 290, 291, 291, 291, 292, 292, 292, 293, 293, 293, 294, 294, 294, 295, 295, 295, 296, 296, 296, 297, 297, 297, 298, 298, 298, 299, 299, 299, 300, 300, 300, 300, 301, 301, 301, 302, 302, 302, 303, 303, 303, 304, 304, 304, 305, 305, 305, 306, 306, 306, 307, 307, 307, 308, 308, 308, 309, 309, 309, 309, 310, 310, 310, 311, 311, 311, 312, 312, 312, 313, 313, 313, 314, 314, 314, 315, 315, 315, 316, 316, 316, 317, 317, 317, 318, 318, 318, 319, 319, 319, 319, 320, 320, 320, 321, 321, 321, 322, 322, 322, 323, 323, 323, 324, 324, 324, 325, 325, 325, 326, 326, 326, 327, 327, 327, 328, 328, 328, 328, 329, 329, 329, 330, 330, 330, 331, 331, 331, 332, 332, 332, 332, 333, 333, 333, 334, 334, 334, 335, 335, 335, 335, 336, 336, 336, 337, 337, 337, 338, 338, 338, 338, 339, 339, 339, 340, 340, 340, 341, 341, 341, 341, 342, 342, 342, 343, 343, 343, 344, 344, 344, 344, 345, 345, 345, 346, 346, 346, 347, 347, 347, 347, 348, 348, 348, 349, 349, 349, 350, 350, 350, 350, 351, 351, 351, 352, 352, 352, 353, 353, 353, 353, 354, 354, 354, 355, 355, 355, 356, 356, 356, 356, 356, 356, 356, 356, 356, 355, 355, 355, 355, 355, 355, 354, 354, 354, 354, 354, 354, 353, 353, 353, 353, 353, 352, 352, 352, 352, 352, 352, 351, 351, 351, 351, 351, 351, 350, 350, 350, 350, 350, 349, 349, 349, 349, 349, 349, 348, 348, 348, 348, 348, 348, 347, 347, 347, 347, 347, 347, 346, 346, 346, 346, 346, 345, 345, 345, 345, 345, 345, 344, 344, 344, 344, 344, 344, 343, 343, 343, 343, 343, 342, 342, 342, 342, 342, 342, 341, 341, 341, 341, 341, 341, 340, 340, 340, 340, 340, 340, 339, 339, 339, 339, 339, 338, 338, 338, 338, 338, 338, 337, 337, 337, 337, 337, 337, 336, 336, 336, 336, 336, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 328, 327, 326, 324, 323, 322, 320, 319, 318, 316, 315, 314, 312, 311, 309, 308, 307, 305, 304, 303, 301, 300, 299, 297, 296, 294, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 297, 298, 298, 299, 300, 300, 301, 301, 302, 303, 303, 304, 304, 305, 306, 306, 307, 308, 308, 309, 309, 310, 311, 311, 312, 312, 313, 314, 314, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 314, 313, 312, 311, 310, 309, 308, 307, 307, 306, 305, 304, 303, 302, 301, 300, 299, 298, 298, 297, 296, 295, 294, 293, 292, 291, 290, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 288, 289, 290, 290, 291, 292, 292, 293, 294, 294, 295, 295, 296, 297, 297, 298, 299, 299, 300, 301, 301, 302, 302, 303, 304, 304, 305, 306, 306, 307, 308, 308, 309, 309, 310, 311, 311, 312, 313, 313, 314, 314, 314, 314, 314, 314, 314, 314, 314, 313, 313, 313, 313, 313, 313, 313, 313, 312, 312, 312, 312, 312, 312, 312, 311, 311, 311, 311, 311, 311, 311, 311, 310, 310, 310, 310, 310, 310, 310, 309, 309, 309, 309, 309, 309, 309, 309, 308, 308, 308, 308, 308, 308, 308, 307, 307, 307, 307, 307, 307, 307, 307, 306, 306, 306, 306, 306, 306, 306, 305, 305, 304, 304, 303, 302, 302, 301, 300, 300, 299, 299, 298, 297, 297, 296, 295, 295, 294, 293, 293, 292, 292, 291, 290, 290, 289, 288, 288, 287, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283);
_root.wallArray3 = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 362, 361, 361, 360, 359, 359, 358, 357, 356, 356, 355, 354, 354, 353, 352, 351, 351, 350, 349, 349, 348, 347, 346, 346, 345, 344, 344, 343, 342, 341, 341, 340, 339, 339, 338, 337, 336, 336, 336, 336, 336, 335, 335, 335, 335, 335, 334, 334, 334, 334, 333, 333, 333, 333, 333, 332, 332, 332, 332, 331, 331, 331, 331, 331, 330, 330, 330, 330, 330, 329, 329, 329, 329, 328, 328, 328, 328, 328, 327, 327, 327, 327, 326, 326, 326, 326, 326, 325, 325, 325, 325, 324, 325, 325, 325, 326, 326, 326, 326, 327, 327, 327, 327, 328, 328, 328, 329, 329, 329, 329, 330, 330, 330, 330, 331, 331, 331, 332, 332, 332, 332, 333, 333, 333, 333, 334, 334, 334, 334, 335, 335, 335, 336, 336, 336, 336, 337, 337, 337, 337, 338, 338, 338, 339, 339, 339, 339, 340, 340, 340, 340, 341, 341, 341, 341, 341, 341, 341, 341, 341, 340, 340, 340, 340, 340, 339, 339, 339, 339, 339, 338, 338, 338, 338, 338, 338, 337, 337, 337, 337, 337, 336, 336, 336, 336, 336, 335, 335, 335, 335, 335, 334, 334, 334, 334, 334, 334, 333, 333, 333, 333, 333, 332, 332, 332, 332, 332, 331, 331, 331, 331, 331, 330, 330, 330, 330, 330, 330, 329, 329, 329, 329, 329, 328, 328, 328, 328, 328, 327, 327, 327, 327, 327, 326, 326, 326, 326, 326, 326, 325, 325, 325, 325, 325, 324, 324, 324, 324, 324, 323, 323, 323, 323, 323, 322, 322, 322, 322, 322, 322, 321, 321, 321, 321, 321, 320, 320, 320, 320, 320, 319, 319, 319, 319, 319, 318, 318, 318, 318, 318, 318, 317, 317, 317, 317, 317, 316, 316, 316, 316, 316, 315, 315, 315, 315, 315, 314, 315, 315, 315, 315, 316, 316, 316, 316, 317, 317, 317, 317, 318, 318, 318, 318, 319, 319, 319, 319, 320, 320, 320, 320, 321, 321, 321, 321, 321, 322, 322, 322, 322, 323, 323, 323, 323, 324, 324, 324, 324, 325, 325, 325, 325, 326, 326, 326, 326, 327, 327, 327, 327, 328, 328, 328, 328, 328, 329, 329, 329, 329, 330, 330, 330, 330, 331, 331, 331, 331, 332, 332, 332, 332, 333, 333, 333, 333, 334, 334, 334, 334, 335, 335, 335, 335, 335, 336, 336, 336, 336, 337, 337, 337, 337, 338, 338, 338, 338, 339, 339, 339, 339, 340, 340, 340, 340, 341, 341, 341, 341, 342, 342, 342, 342, 342, 343, 343, 343, 343, 344, 344, 344, 344, 345, 345, 345, 345, 346, 346, 346, 346, 347, 347, 347, 347, 348, 348, 348, 348, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 348, 348, 348, 348, 348, 348, 347, 347, 347, 347, 347, 347, 346, 346, 346, 346, 346, 346, 345, 345, 345, 345, 345, 344, 344, 344, 344, 344, 344, 343, 343, 343, 343, 343, 343, 342, 342, 342, 342, 342, 342, 341, 341, 341, 341, 341, 340, 340, 340, 340, 340, 340, 339, 339, 339, 339, 339, 339, 338, 338, 338, 338, 338, 338, 337, 337, 337, 337, 337, 337, 336, 336, 336, 336, 336, 335, 335, 335, 335, 335, 335, 334, 334, 334, 334, 334, 334, 333, 333, 333, 333, 333, 333, 332, 332, 332, 332, 332, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 330, 330, 330, 330, 330, 330, 330, 330, 330, 329, 329, 329, 329, 329, 329, 329, 329, 329, 328, 328, 328, 328, 328, 328, 328, 328, 328, 327, 327, 327, 327, 327, 327, 327, 327, 327, 326, 326, 326, 326, 326, 326, 326, 326, 326, 325, 325, 325, 325, 325, 325, 325, 325, 325, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 323, 323, 323, 323, 323, 323, 323, 323, 323, 322, 322, 322, 322, 322, 322, 322, 322, 322, 321, 321, 321, 321, 321, 321, 321, 321, 321, 320, 320, 320, 320, 320, 320, 320, 320, 320, 319, 319, 319, 319, 319, 319, 319, 319, 319, 318, 318, 318, 318, 318, 318, 318, 318, 318, 317, 318, 319, 320, 320, 321, 322, 322, 323, 324, 325, 325, 326, 327, 327, 328, 329, 330, 330, 331, 332, 332, 333, 334, 334, 335, 336, 337, 337, 338, 339, 339, 340, 341, 342, 342, 343, 344, 344, 345, 346, 347, 347, 348, 349, 349, 350, 351, 351, 352, 353, 354, 354, 355, 356, 356, 357, 358, 359, 359, 360, 361, 361, 362, 363, 364, 364, 365, 366, 366, 367, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 364, 364, 363, 362, 361, 360, 359, 358, 357, 356, 355, 355, 354, 353, 352, 351, 350, 349, 348, 347, 346, 347, 347, 347, 348, 348, 348, 348, 349, 349, 349, 349, 350, 350, 350, 351, 351, 351, 351, 352, 352, 352, 352, 353, 353, 353, 354, 354, 354, 354, 355, 355, 355, 355, 356, 356, 356, 356, 357, 357, 357, 358, 358, 358, 358, 359, 359, 359, 359, 360, 360, 360, 361, 361, 361, 361, 362, 362, 362, 362, 363, 363, 363, 364, 364, 364, 364, 365, 365, 365, 365, 366, 366, 366, 366, 367, 367, 367, 368, 368, 368, 368, 369, 369, 369, 369, 370, 370, 370, 371, 371, 371, 371, 372, 372, 372, 372, 373, 373, 373, 374, 374, 374, 374, 375, 375, 375, 375, 376, 376, 376, 376, 376, 376, 376, 376, 376, 375, 375, 375, 375, 375, 375, 374, 374, 374, 374, 374, 374, 373, 373, 373, 373, 373, 373, 372, 372, 372, 372, 372, 372, 371, 371, 371, 371, 371, 370, 370, 370, 370, 370, 370, 369, 369, 369, 369, 369, 369, 368, 368, 368, 368, 368, 368, 367, 367, 367, 367, 367, 367, 366, 366, 366, 366, 366, 366, 365, 365, 365, 365, 365, 364, 364, 364, 364, 364, 364, 363, 363, 363, 363, 363, 363, 362, 362, 362, 362, 362, 362, 361, 361, 361, 361, 361, 361, 360, 360, 360, 360, 360, 360, 359, 359, 359, 359, 359, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 356, 356, 356, 356, 356, 356, 356, 356, 356, 356, 356, 356, 356, 356, 356, 355, 355, 355, 355, 355, 355, 355, 355, 355, 355, 355, 355, 355, 355, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 348, 349, 349, 350, 350, 351, 351, 352, 352, 352, 353, 353, 354, 354, 355, 355, 355, 356, 356, 357, 357, 358, 358, 358, 359, 359, 360, 360, 361, 361, 361, 362, 362, 363, 363, 364, 364, 364, 365, 365, 366, 366, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 363, 363, 362, 361, 360, 360, 359, 358, 357, 357, 356, 355, 354, 354, 353, 352, 351, 351, 350, 349, 348, 348, 347, 346, 345, 344, 344, 343, 342, 341, 341, 340, 339, 338, 338, 337, 336, 335, 335, 334, 333, 332, 332, 331, 330, 329, 328, 328, 328, 327, 327, 327, 326, 326, 325, 325, 325, 324, 324, 323, 323, 323, 322, 322, 321, 321, 321, 320, 320, 319, 319, 319, 318, 318, 318, 317, 317, 316, 316, 316, 315, 315, 314, 314, 314, 313, 313, 312, 312, 312, 311, 311, 310, 310, 310, 309, 309, 308, 308, 308, 307, 307, 307, 306, 306, 305, 305, 305, 304, 304, 303, 303, 303, 302, 302, 301, 301, 301, 300, 300, 299, 299, 299, 298, 298, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 292, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293);
_root.leftBound = 457;
_root.rightBound = 2373;
}
instance int1 of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.testo = 'It seems I can go through here.';
this.nextRoom = 'surgery';
this.x_start_position = 164;
this.y_start_position = 317;
}
}
instance of movieClip 416 hstar {
onClipEvent (enterFrame) {
if (_root.levaTirata == 1) {
this._visible = false;
}
}
}
instance int3 of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.testo = _root.testi[26];
this.nextRoom = 'elevator';
this.x_start_position = 460;
this.y_start_position = 305;
}
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[30];
}
}
}
movieClip 678 {
}
movieClip 680 {
frame 1 {
this.attivo = 0;
this._visible = false;
this.onEnterFrame = function () {
if (this.attivo == 0) {
if (this.hitTest(_root.pl_x, _root.pl_y, true)) {
this.attivo = 1;
_root.messages.attachMovie('mainPanel', 'mainPanel', 10);
_root.messages.mainPanel.genre = 'startEvent';
_root.messages.mainPanel.testo = this.testo;
_root.messages.mainPanel.testo2 = this.testo2;
_root.messages.mainPanel.variabile = this.variabile;
_root.messages.mainPanel.attachMovie('yes', 'yes', 11);
_root.messages.mainPanel.yes._x = 590;
_root.messages.mainPanel.yes._y = 100;
}
} else {
if (this.hitTest(_root.pl_x, _root.pl_y, true) == false && this.attivo == 1) {
_root.messages.mainPanel.removeMovieClip();
_root.pointerState = 0;
this.attivo = 0;
}
}
};
}
}
movieClip 682 {
frame 1 {
stop();
this.onEnterFrame = function () {
if (_root.levaTirata == 0) {
lg = _root.scena.back.lighter;
if (lg.hitTest(this.coll) && lg._xscale > 10) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
} else {
this.gotoAndStop(3);
}
};
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[27];
}
}
instance of movieClip 680 {
onClipEvent (load) {
this.testo = _root.testi[28];
this.testo2 = 'You pulled the PHANTOM LEVER';
this.variabile = '_root.levaTirata';
}
}
frame 3 {
stop();
_root.levaTirata = 1;
}
frame 3 {
_root.effetti(this, 'lever');
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[29];
}
}
}
movieClip 683 bloodCorridor {
}
movieClip 686 forest_parallasse {
}
movieClip 689 forest_front {
frame 1 {
n = 0;
time = 0;
this.onEnterFrame = function () {
if (time == 4) {
this.attachMovie('leaf', 'leaf' + n, n);
leaf = eval('this.leaf' + n);
leaf._y = -(50 + Math.random() * 50);
leaf._x = 200 + Math.random() * 1700;
n += 1;
time = 0;
} else {
time += 1;
}
};
}
}
movieClip 693 forest {
frame 1 {
this.attachMovie('tutorial_panel', 'tp', 10);
this.tp._y = 102;
}
frame 1 {
_root.generateCrate('supplies_00', 1118, 280, 0, 'none', 100);
_root.generateCrate('supplies_00', 1121, 310, 0, 'NG_tank', 101);
_root.generateCrate('supplies_00', 1026, 330, 0, 'painkiller_ammo_pack', 102);
_root.generateCrate('supplies_00', 1110, 360, 0, 'none', 103);
_root.generateCrate('supplies_00', 1480, 310, 0, 'none', 106);
_root.generateCrate('supplies_00', 1470, 360, 0, 'painkiller_ammo_pack', 107);
}
frame 1 {
_root.wallArray = new Array(undefined, undefined, undefined, undefined, undefined, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 264, 264, 264, 264, 264, 264, 264, 264, 264, 264, 264, 264, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, 261, 261, 261, 261, 261, 261, 261, 261, 261, 261, 261, 261, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 254, 254, 255, 255, 255, 256, 256, 256, 257, 257, 257, 258, 258, 258, 259, 259, 259, 260, 260, 260, 261, 261, 261, 262, 262, 262, 263, 263, 263, 264, 264, 264, 265, 265, 265, 266, 266, 266, 267, 267, 267, 267, 268, 268, 268, 269, 269, 269, 269, 270, 270, 270, 271, 271, 271, 271, 272, 272, 272, 273, 273, 273, 273, 274, 274, 274, 275, 275, 275, 275, 276, 276, 276, 277, 277, 277, 277, 278, 278, 278, 279, 279, 279, 279, 280, 280, 280, 280, 281, 281, 281, 281, 281, 282, 282, 282, 282, 282, 282, 283, 283, 283, 283, 283, 284, 284, 284, 284, 284, 284, 285, 285, 285, 285, 285, 286, 286, 286, 286, 286, 286, 287, 287, 287, 287, 287, 287, 288, 288, 288, 288, 288, 289, 289, 289, 289, 289, 289, 290, 290, 290, 290, 290, 291, 291, 291, 291, 291, 291, 292, 292, 292, 292, 292, 292, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 285, 284, 282, 280, 278, 276, 275, 273, 271, 269, 267, 266, 264, 262, 260, 258, 257, 255, 253, 251, 249, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252);
_root.wallArray3 = new Array(undefined, undefined, undefined, undefined, undefined, undefined, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410);
_root.leftBound = 210;
_root.rightBound = 1750;
}
instance of movieClip 389 {
onClipEvent (load) {
this.nextRoom = 'tutorial';
this.x_start_position = 200;
this.y_start_position = 300;
}
}
}
movieClip 696 tutorial_0_parallasse {
}
movieClip 699 tutorial_0_front {
}
movieClip 702 tutorial_0_back {
frame 1 {
_root.generateCrate('supplies_00', 290, 269, 0, 'NG_tank', 108);
_root.generateCrate('supplies_00', 131, 347, 0, 'none', 108);
_root.generateCrate('supplies_00', 626, 350, 0, 'NG_tank', 108);
if (_root.ar15Unlocked == 1) {
if (_root.ar15Raccolto == 0) {
_root.placeObject(this, 'ar15_p', 785, 331, 100);
}
}
if (_root.coltUnlocked == 1) {
if (_root.coltRaccolta == 0) {
_root.placeObject(this, 'colt', 850, 331, 100);
}
}
}
frame 1 {
_root.wallArray = new Array(undefined, undefined, undefined, undefined, undefined, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 264, 264, 264, 264, 264, 264, 264, 264, 264, 264, 264, 264, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, 261, 261, 261, 261, 261, 261, 261, 261, 261, 261, 261, 261, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 254, 254, 255, 255, 255, 256, 256, 256, 257, 257, 257, 258, 258, 258, 259, 259, 259, 260, 260, 260, 261, 261, 261, 262, 262, 262, 263, 263, 263, 264, 264, 264, 265, 265, 265, 266, 266, 266, 267, 267, 267, 267, 268, 268, 268, 269, 269, 269, 269, 270, 270, 270, 271, 271, 271, 271, 272, 272, 272, 273, 273, 273, 273, 274, 274, 274, 275, 275, 275, 275, 276, 276, 276, 277, 277, 277, 277, 278, 278, 278, 279, 279, 279, 279, 280, 280, 280, 280, 281, 281, 281, 281, 281, 282, 282, 282, 282, 282, 282, 283, 283, 283, 283, 283, 284, 284, 284, 284, 284, 284, 285, 285, 285, 285, 285, 286, 286, 286, 286, 286, 286, 287, 287, 287, 287, 287, 287, 288, 288, 288, 288, 288, 289, 289, 289, 289, 289, 289, 290, 290, 290, 290, 290, 291, 291, 291, 291, 291, 291, 292, 292, 292, 292, 292, 292, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 285, 284, 282, 280, 278, 276, 275, 273, 271, 269, 267, 266, 264, 262, 260, 258, 257, 255, 253, 251, 249, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252);
_root.wallArray3 = new Array(undefined, undefined, undefined, undefined, undefined, undefined, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410);
_root.leftBound = 210;
_root.rightBound = 1750;
}
instance of movieClip 389 {
onClipEvent (load) {
this.nextRoom = 'tutorial';
this.x_start_position = 200;
this.y_start_position = 300;
}
}
instance of movieClip 420 {
onClipEvent (load) {
this.testo = _root.testi[61];
}
}
instance of movieClip 420 {
onClipEvent (load) {
this.testo = _root.testi[62];
}
}
instance of movieClip 420 {
onClipEvent (load) {
this.testo = _root.testi[63];
}
}
}
movieClip 707 corridor_down {
frame 1 {
_root.scena.sprites.attachMovie('columns', 'cols' + _root.enemyLayer, _root.enemyLayer);
cols = eval('_root.scena.sprites.cols' + _root.enemyLayer);
cols.layerIndex = _root.layerIndex;
cols._x = 0;
cols._y = 0;
_root.refreshLayers(this);
n = 0;
while (n < 8) {
_root.scena.sprites.attachMovie('yellow_fog', 'yfog' + _root.enemyLayer, _root.enemyLayer);
yfog = eval('_root.scena.sprites.yfog' + _root.enemyLayer);
yfog.layerIndex = _root.layerIndex;
yfog._x = 0;
yfog._y = 300 + n * 12;
_root.refreshLayers(this);
++n;
}
}
frame 1 {
_root.wallArray = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 283, 283, 284, 284, 285, 285, 286, 286, 286, 287, 287, 288, 288, 289, 289, 290, 290, 290, 291, 291, 292, 292, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 289);
_root.wallArray3 = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 387, 387, 386, 386, 385, 385, 384, 384, 383, 383, 382, 382, 381, 381, 380, 380, 379, 379, 379, 378, 378, 377, 377, 376, 376, 375, 375, 374, 374, 373, 373, 372, 372, 371, 371, 370, 370, 370, 369, 369, 368, 368, 367, 367, 366, 366, 365, 365, 364, 364, 363, 363, 362, 362, 361, 361, 361, 360, 360, 359, 359, 358, 358, 357, 357, 356, 356, 355, 355, 354, 354, 353, 353, 352, 352, 352, 351, 351, 350, 350, 349, 349, 348, 348, 347, 347, 346, 346, 345, 345, 344, 344, 343, 343, 342, 342, 341, 340, 339, 339, 338, 337, 336, 335, 335, 334, 333, 332, 331, 331, 330, 329, 328, 327, 327, 326, 325, 324, 323, 323, 322, 321, 320, 319, 319, 318, 317, 316, 315, 315, 314, 313, 312, 311, 311, 310, 309, 308, 307, 307, 306, 305, 304, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303);
_root.leftBound = 28;
_root.rightBound = 1427;
}
instance of movieClip 389 {
onClipEvent (load) {
this.nextRoom = 'elevator_down';
this.x_start_position = 121;
this.y_start_position = 304;
}
}
instance int1 of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.nextRoom = 'bathroom';
this.testo = _root.testi[36];
if (_root.boss == 3) {
this.x_start_position = 800;
} else {
this.x_start_position = 600;
}
this.y_start_position = 321;
}
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = '\'Watch your steps! A special light will lead you to the Beast\'';
}
}
}
movieClip 711 {
frame 1 {
this._visible = false;
}
}
movieClip 712 corridor_down_light {
frame 1 {
time = 0;
_root.generateCrate('supplies_00', 627, 294, 0, 'NG_tank', 28);
_root.generateCrate('supplies_00', 923, 364, 0, 'mp5_ammo_pack', 29);
_root.generateCrate('supplies_00', 409, 357, 0, 'painkiller_ammo_pack', 35);
_root.generateCrate('supplies_00', 1063, 339, 0, 'painkiller_ammo_pack', 36);
this.onEnterFrame = function () {
if (_root.pausedGame == 0 && _root.boss == 0) {
if (time <= 0) {
if (this.coll.hitTest(_root.pl_x, _root.pl_y, true)) {
_root.placeObject(this, 'sawblade', _root.US._x, _root.US._y, 100);
time = 90;
}
} else {
time -= 1;
}
}
};
}
}
movieClip 723 {
}
movieClip 724 {
frame 1 {
if (_root.cancelloAperto == 1) {
this.gotoAndStop(30);
}
stop();
}
frame 2 {
this.onEnterFrame = function () {
if (_currentframe != 1 && _currentframe != 30) {
if (_root.pausedGame == 0) {
play();
} else {
stop();
}
}
};
}
frame 2 {
_parent.flare._visible = false;
}
frame 3 {
_root.effetti(this, 'buzz');
}
frame 4 {
_parent.flare._visible = true;
}
frame 6 {
_root.effetti(this, 'buzz');
}
frame 6 {
_parent.flare._visible = false;
}
frame 8 {
_parent.flare._visible = true;
}
frame 12 {
_root.effetti(this, 'buzz');
}
frame 12 {
_parent.flare._visible = false;
}
frame 14 {
_parent.flare._visible = true;
}
frame 16 {
_root.effetti(this, 'buzz');
}
frame 16 {
_parent.flare._visible = false;
}
frame 18 {
_parent.flare._visible = true;
}
frame 20 {
_root.effetti(this, 'buzz');
}
frame 20 {
_parent.flare._visible = false;
}
frame 25 {
_parent.flare._visible = true;
}
frame 28 {
stop();
_parent.flare._visible = false;
}
}
movieClip 729 {
frame 1 {
stop();
if (_root.cancelloAperto == 1) {
this.gotoAndStop(2);
}
this.onEnterFrame = function () {
if (_root.cancelloAperto == 1) {
this.gotoAndStop(2);
}
};
}
instance of movieClip 680 {
onClipEvent (load) {
this.testo = 'A switch....Let\'s pull this thing and see what happens. ';
this.testo2 = 'Something happened outside';
this.variabile = '_root.cancelloAperto';
}
}
frame 2 {
stop();
_root.cancelloAperto = 1;
}
}
movieClip 730 casetta {
frame 1 {
_root.placeObject(this, 'cop_rise', 220, 290, 50);
if (_root.firstSequence == 1) {
this.flare._visible = false;
}
this.onEnterFrame = function () {
if (_root.cancelloAperto == 1 && _root.firstSequence == undefined) {
_root.firstSequence = 1;
this.casetta.gotoAndPlay(2);
}
};
}
frame 1 {
_root.wallArray = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298);
_root.wallArray3 = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298);
_root.leftBound = 160;
_root.rightBound = 849;
}
instance of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.testo = 'Back outside?';
this.nextRoom = 'roof_0';
this.x_start_position = 240;
this.y_start_position = 1050;
}
}
}
movieClip 733 casetta_front {
}
movieClip 736 maintenance2 {
frame 1 {
_root.generateCrate('supplies_00', 73, 304, 0, 'NG_tank', 30);
}
frame 1 {
_root.wallArray = new Array(undefined, undefined, undefined, undefined, undefined, undefined, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 291, 292, 292, 293, 293, 294, 294, 294, 295, 295, 296, 296, 296, 297, 297, 298, 298, 299, 299, 299, 300, 300, 301, 301, 301, 302, 302, 303, 303, 303, 304, 304, 305, 305, 306, 306, 306, 307, 307, 308, 308, 308, 309, 309, 310, 310, 310, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 306, 306, 306, 306, 305, 305, 305, 305, 304, 304, 304, 304, 303, 303, 303, 302, 302, 302, 302, 301, 301, 301, 301, 300, 300, 300, 300, 299, 299, 299, 299, 298, 298, 298, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 298, 298, 299, 299, 300, 300, 300, 301, 301, 302, 302, 303, 303, 303, 304, 304, 305, 305, 306, 306, 306, 307, 307, 308, 308, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 308, 308, 308, 308, 307, 307, 307, 307, 306, 306, 306, 306, 305, 305, 305, 305, 304, 304, 304, 304, 303, 303, 303, 303, 302, 302, 302, 301);
_root.wallArray3 = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 324, 325, 326, 326, 327, 328, 328, 329, 330, 330, 331, 332, 332, 333, 334, 334, 335, 336, 336, 337, 338, 338, 339, 340, 340, 341, 342, 342, 343, 344, 344, 345, 346, 346, 347, 347, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 343, 343, 343, 343, 343, 343, 343, 343, 343, 343, 343, 343, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 340);
_root.leftBound = 76;
_root.rightBound = 490;
}
instance int1 of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.nextRoom = 'maintenance';
this.x_start_position = 432;
this.y_start_position = 330;
this.testo = _root.testi[41];
}
}
instance of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.nextRoom = 'hotel';
this.testo = 'The hotel rooms are on the other side of this wall...';
this.x_start_position = 200;
this.y_start_position = 320;
}
}
}
movieClip 739 maintenance2_front {
}
movieClip 742 bathroom_front {
}
movieClip 745 bathroom {
frame 1 {
this.onEnterFrame = function () {
position = _root.US._x;
if (_root.boss == 0 && position <= 825) {
_root.scena.sprites.attachMovie('spawner_wall', 'sw2', _root.enemyLayer);
sw2 = _root.scena.sprites.sw2;
sw2.layerIndex = _root.layerIndex;
sw2._x = 855;
sw2._y = 345;
sw2._xscale = 90;
sw2._yscale = 90;
_root.refreshLayers(clip);
_root.generateFoe('boss_clip', 170, 320);
_root.boss = 1;
}
if (_root.boss == 2) {
sw2 = _root.scena.sprites.sw2;
sw2.removeMovieClip();
_root.boss = 3;
}
};
}
frame 1 {
_root.wallArray = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332);
_root.wallArray3 = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332);
if (_root.boss == 3) {
_root.leftBound = 90;
} else {
_root.leftBound = 350;
}
_root.rightBound = 890;
}
instance int1 of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.nextRoom = 'corridor_down';
this.testo = 'Get out of here?';
this.x_start_position = 276;
this.y_start_position = 321;
}
}
instance int2 of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.nextRoom = 'ending';
this.testo = 'A way to the underground? Things are getting interesting.....';
}
}
}
movieClip 748 maintenance_front {
}
movieClip 755 {
frame 1 {
this.onEnterFrame = function () {
this._rotation += 5;
};
}
}
movieClip 757 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 762 {
frame 1 {
n = 0;
timer = 0;
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
timer += 1;
if (timer == 5) {
this.attachMovie('smoke', 'sm' + n, n);
timer = 0;
n += 1;
}
}
};
}
}
movieClip 763 {
frame 1 {
stop();
this.onEnterFrame = function () {
if (_root.granataUsata == 1 && _currentframe == 1) {
this.gotoAndPlay(2);
}
};
}
instance of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 1;
this.needed_item = 'smoke_g';
this.event = 6;
this.testo = _root.testi[40];
}
}
frame 2 {
_parent.vent.gotoAndStop(2);
_parent.light.gotoAndStop(2);
play();
}
frame 24 {
stop();
}
instance int2 of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.nextRoom = 'maintenance2';
this.testo = _root.testi[41];
this.x_start_position = 445;
this.y_start_position = 331;
}
}
}
movieClip 766 {
}
movieClip 767 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 768 maintenance_dark {
frame 1 {
_root.wallArray = new Array(299, 299, 299, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 301, 301, 301, 300, 300, 300, 299, 299, 298, 298, 298, 297, 297, 297, 296, 296, 295, 295, 295, 294, 294, 294, 293, 293, 292, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, 294, 295, 296, 297, 298, 299, 300, 300, 301, 302, 303, 304, 305, 306, 307, 307, 308, 309, 310, 311, 312, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 311, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 303);
_root.wallArray3 = new Array(328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 330, 330, 330, 330, 330, 330, 331, 331, 331, 331, 331, 331, 331, 332, 332, 332, 332, 332, 332, 332, 333, 333, 333, 333, 333, 333, 333, 334, 334, 334, 334, 334, 334, 334, 335, 335, 335, 335, 335, 335, 335, 336, 336, 336, 336, 336, 336, 337, 337, 337, 337, 337, 337, 337, 338, 338, 338, 338, 338, 338, 338, 339, 339, 339, 339, 339, 339, 339, 340, 340, 340, 340, 340, 340, 340, 341, 341, 341, 341, 341, 341, 341, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 341, 341, 341, 341, 341, 341, 341, 340, 340, 340, 340, 340, 340, 340, 340, 339, 339, 339, 339, 339, 339, 339, 338, 338, 338, 338, 338, 338, 338, 338, 337, 337, 337, 337, 337, 337, 337, 336, 336, 336, 336, 336, 336, 336, 336, 335, 335, 335, 335, 335, 335, 335, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 332);
_root.leftBound = 76;
_root.rightBound = 706;
}
frame 1 {
if (_root.crowbar == 1) {
_root.generateFoe('blackStain', 300, 300);
_root.generateFoe('blackStain', 456, 352);
}
_root.generateCrate('supplies_00', 179, 312, 0, 'mp5_ammo_pack', 22);
_root.generateCrate('supplies_00', 421, 302, 0, 'painkiller_ammo_pack', 23);
_root.generateCrate('supplies_00', 310, 333, 0, 'shotGun_ammo_pack', 24);
}
instance int1 of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.nextRoom = 'corridors';
this.testo = _root.testi[39];
this.x_start_position = 1230;
this.y_start_position = 70;
}
}
}
movieClip 771 {
frame 1 {
ran = 5 + Math.floor(Math.random() * 80);
this.gotoAndPlay(ran);
}
frame 126 {
this.gotoAndPlay(2);
}
}
movieClip 772 hotel_front {
}
movieClip 775 hotel {
frame 1 {
if (_root.crowbar == 1) {
_root.generateFoe('ciccio', 400, 320);
_root.generateFoe('ciccio', 1287, 310);
_root.generateFoe('z1', 800, 312);
_root.generateFoe('z1', 1700, 324);
}
_root.generateCrate('supplies_00', 2168, 315, 0, 'NG_tank', 31);
}
frame 1 {
_root.wallArray = new Array(307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 302, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 301, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 311, 312, 312, 312, 313, 313, 313, 314, 314, 314, 315, 315, 315, 316, 316, 316, 317, 317, 317, 317, 318, 318, 318, 319, 319, 319, 320, 320, 320, 321, 321, 321, 322, 322, 322, 323, 323, 323, 323, 324, 324, 324, 325, 325, 325, 326, 326, 326, 327, 327, 327, 328, 328, 328, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 321);
_root.wallArray3 = new Array(326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 324, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 329, 329, 329, 329, 329, 329, 330, 330, 330, 330, 330, 330, 331, 331, 331, 331, 331, 331, 331, 332, 332, 332, 332, 332, 332, 333, 333, 333, 333, 333, 333, 333, 334, 334, 334, 334, 334, 334, 335, 335, 335, 335, 335, 335, 336, 336, 336, 336, 336, 336, 336, 337, 337, 337, 337, 337, 337, 338, 338, 338, 338, 338, 338, 338, 339, 339, 339, 339, 339, 339, 340, 340, 340, 340, 340, 340, 341, 341, 341, 341, 341, 341, 341, 342, 342, 342, 342, 342, 342, 343, 343, 343, 343, 343, 343, 343, 344, 344, 344, 344, 344, 344, 345, 345, 345, 345, 345, 345, 346, 346, 346, 346, 346, 346, 346, 347, 347, 347, 347, 347, 347, 348, 348, 348, 348, 348, 348, 348, 349, 349, 349, 349, 349, 349, 350, 350, 350, 350, 350, 350, 350, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 351, 351, 351, 351, 351, 351, 350, 350, 350, 350, 350, 350, 350, 349, 349, 349, 349, 349, 349, 348, 348, 348, 348, 348, 348, 348, 347, 347, 347, 347, 347, 347, 346, 346, 346, 346, 346, 346, 346, 345, 345, 345, 345, 345, 345, 344, 344, 344, 344, 344, 344, 344, 343, 343, 343, 343, 343, 343, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342);
_root.leftBound = 21;
_root.rightBound = 2259;
}
instance of movieClip 389 {
onClipEvent (load) {
this.nextRoom = 'maintenance2';
this.x_start_position = 140;
this.y_start_position = 312;
}
}
instance int2 of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.nextRoom = 'apartment_00';
this.testo = _root.testi[44];
this.x_start_position = 318;
this.y_start_position = 1500;
}
}
instance int1 of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.nextRoom = 'hotel_room';
this.testo = _root.testi[43];
this.x_start_position = 185;
this.y_start_position = 310;
}
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[42];
}
}
}
movieClip 780 {
frame 1 {
if (_root.valvolaInserita == 0) {
this.play();
} else {
this.stop();
}
}
}
movieClip 783 {
frame 1 {
stop();
this.onEnterFrame = function () {
if (_root.armadiettoAperto == 0) {
if (_root.valvolaInserita == 0) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
} else {
if (_root.shotgunRaccolto == 0) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(4);
}
}
};
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[31];
}
}
instance of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 1;
this.needed_item = 'locker_key';
this.event = 3;
this.testo = _root.testi[32];
}
}
instance of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 4;
this.event = 5;
this.variabile = '_root.shotgunRaccolto';
this.testo = _root.testi[33];
this.testo2 = 'You picked up the DOCUMENTS and a BIG FAT SHOTGUN. You feel safe now, uh?';
}
}
frame 4 {
stop();
_root.armory[2] = 1;
}
instance of movieClip 392 {
onClipEvent (load) {
this.variabile = '_root.shotgunRaccolto';
this.testo = _root.testi[34];
}
}
}
movieClip 784 controlRoom {
frame 1 {
if (_root.valve == 0) {
_root.releaseObject(this, 'valve', 400, 300);
}
_root.generateCrate('supplies_00', 226, 308, 0, 'NG_tank', 27);
}
frame 1 {
_root.wallArray = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 264, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 268, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 264, 265, 266, 267, 268, 269, 270, 271, 272, 272, 273, 274, 275, 276, 277, 278, 279, 279, 280, 281, 282, 283, 284, 285, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 283);
_root.wallArray3 = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 281, 282, 282, 283, 283, 283, 284, 284, 285, 285, 285, 286, 286, 287, 287, 287, 288, 288, 288, 289, 289, 290, 290, 290, 291, 291, 292, 292, 292, 293, 293, 293, 294, 294, 295, 295, 295, 296, 296, 297, 297, 297, 298, 298, 299, 299, 299, 300, 300, 300, 301, 301, 302, 302, 302, 303, 303, 304, 304, 304, 305, 305, 305, 306, 306, 307, 307, 307, 308, 308, 309, 309, 309, 310, 310, 311, 311, 311, 312, 312, 312, 313, 313, 314, 314, 314, 315, 315, 316, 316, 316, 317, 317, 317, 318, 318, 319, 319, 319, 320, 320, 321, 321, 321, 322, 322, 323, 323, 323, 324, 324, 324, 325, 325, 326, 326, 326, 327, 327, 328, 328, 328, 329, 329, 329, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 330, 330, 330, 330, 330, 330, 330, 329, 329, 329, 329, 329, 329, 329, 329, 328, 328, 328, 328, 328, 328, 328, 327, 327, 327, 327, 327, 327, 327, 326, 326, 326, 326, 326, 326, 326, 326, 325, 325, 325, 325, 325, 325, 325, 324, 324, 324, 324, 324, 324, 324, 323, 323, 323, 323, 323, 323, 323, 323, 322, 322, 322, 322, 322, 322, 322, 321, 321, 321, 321, 321, 321, 321, 320, 320, 320, 320, 320, 320, 320, 319, 319, 319, 319, 319, 319, 318, 318, 318, 318, 318, 318, 317, 317, 317, 317, 317, 317, 316, 316, 316, 316, 316, 316, 315, 315, 315, 315, 315, 315, 315, 314, 314, 314, 314, 314, 314, 313, 313, 313, 313, 313, 313, 312, 312, 312, 312, 312, 312, 311, 311, 311, 311, 311, 311, 310, 310, 310, 310, 310, 310, 309, 309, 309, 309, 309, 309, 309, 309, 308, 308, 308, 308, 308, 308, 308, 307, 307, 307, 307, 307, 307, 307, 307, 306, 306, 306, 306, 306, 306, 306, 305, 305, 305, 305, 305, 305, 305, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 300);
_root.leftBound = 217;
_root.rightBound = 495;
}
instance int1 of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.testo = 'Back outside?';
this.nextRoom = 'corridor1';
this.x_start_position = 545;
this.y_start_position = 290;
}
}
}
movieClip 787 controlRoom_front {
}
movieClip 794 {
frame 1 {
stop();
if (_root.crowbarUsato == 1) {
this.gotoAndStop(2);
}
this.onEnterFrame = function () {
if (_root.crowbarUsato == 1) {
this.gotoAndStop(2);
}
};
}
instance of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 1;
this.needed_item = 'crowbar';
this.event = 4;
this.testo = _root.testi[22];
}
}
frame 2 {
stop();
}
instance escape of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.x_start_position = 250;
this.y_start_position = 300;
this.nextRoom = 'elevator_down';
this.testo = 'Let\'s see what\'s on the first floor...';
}
}
}
movieClip 797 elevator {
frame 1 {
_root.wallArray = new Array(297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 295, 295, 295, 295, 296, 296, 296, 296, 296, 297, 297, 297, 297, 298, 298, 298, 298, 298, 299, 299, 299, 299, 300, 300, 300, 300, 300, 301, 301, 301, 301, 302, 302, 302, 302, 302, 302, 302, 301, 301, 301, 300, 300, 300, 299, 299, 299, 298, 298, 298, 297, 297, 297, 296, 296, 296, 295, 295, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 295, 295, 295, 295, 295, 295, 296, 296, 296, 296, 296, 296, 297, 297, 297, 297, 297, 297, 298, 298, 298, 298, 298, 298, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299);
_root.wallArray3 = new Array(310, 310, 310, 310, 310, 310, 310, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 305, 306, 306, 306, 306, 306, 306, 306, 306, 306, 307, 307, 307, 307, 307, 307, 307, 307, 307, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 309, 309, 309, 309, 309, 309, 309, 309, 309, 310, 310, 310, 310, 310, 310, 310, 310, 310, 310, 311, 311, 311, 311, 311, 311, 311, 311, 311, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 311, 311, 311, 311, 311, 311, 310, 310, 310, 310, 310, 310, 310, 309, 309, 309, 309, 309, 309, 308, 308, 308, 308, 308, 308, 308, 307, 307, 307, 307, 307, 307, 306, 306, 306, 306, 306, 306, 306, 305, 305, 305, 305, 305, 305, 304, 304, 304, 304, 304, 304, 304, 303, 303, 303, 303, 303, 303, 302, 302, 302, 302, 302, 302, 301, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307);
_root.leftBound = 37;
_root.rightBound = 616;
}
frame 1 {
if (_root.ordaAscensore == undefined) {
_root.generateFoe('z1', 350, 295);
_root.generateFoe('z1', 516, 296);
_root.ordaAscensore = 1;
}
if (_root.crowbar == 1) {
_root.generateFoe('z1', 266, 295);
_root.generateFoe('z1', 355, 297);
_root.generateFoe('z1', 516, 296);
}
_root.placeObject(this, 'myst_masked', 548, 298, 100);
}
instance of movieClip 389 {
onClipEvent (load) {
this.nextRoom = 'corridor2';
this.x_start_position = 3095;
this.y_start_position = 303;
}
}
instance of movieClip 389 {
onClipEvent (load) {
this.nextRoom = 'city_out';
this.x_start_position = 162;
this.y_start_position = 263;
}
}
instance int3 of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.testo = _root.testi[24];
this.nextRoom = 'blood_corridor';
this.x_start_position = 500;
this.y_start_position = 350;
}
}
}
movieClip 800 elevator_front {
}
movieClip 803 city_out_front {
}
movieClip 806 city_out {
frame 1 {
_root.wallArray = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 261, 261, 261, 261, 261, 262, 262, 262, 262, 262, 263, 263, 263, 263, 263, 264, 264, 264, 264, 264, 264, 265, 265, 265, 265, 265, 266, 266, 266, 266, 266, 267, 267, 267, 267, 267, 267, 268, 268, 268, 268, 268, 269, 269, 269, 269, 269, 270, 270, 270, 270, 270, 271, 271, 271, 271, 271, 271, 272, 272, 272, 272, 272, 273, 273, 273, 273, 273, 274, 274, 274, 274, 274, 274, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 274, 274, 274, 274, 274, 274, 273, 273, 273, 273, 273, 272, 272, 272, 272, 272, 272, 271, 271, 271, 271, 271, 270, 270, 270, 270, 270, 270, 269, 269, 269, 269, 269, 268, 268, 268, 268, 268, 268, 267, 267, 267, 267, 267, 266, 266, 266, 266, 266, 266, 265, 265, 265, 265, 265, 264, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265);
_root.wallArray3 = new Array(271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 271, 271, 271, 272, 272, 272, 273, 273, 273, 273, 274, 274, 274, 275, 275, 275, 276, 276, 276, 276, 277, 277, 277, 278, 278, 278, 279, 279, 279, 279, 280, 280, 280, 281, 281, 281, 282, 282, 282, 282, 283, 283, 283, 284, 284, 284, 285, 285, 285, 285, 286, 286, 286, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 285, 285, 285, 285, 285, 284, 284, 284, 284, 284, 283, 283, 283, 283, 282, 282, 282, 282, 282, 281, 281, 281, 281, 281, 280, 280, 280, 280, 280, 279, 279, 279, 279, 278, 278, 278, 278, 278, 277, 277, 277, 277, 277, 276, 276, 276, 276, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 272);
_root.leftBound = 90;
_root.rightBound = 490;
}
frame 1 {
if (_root.smoke_g == 0) {
_root.releaseObject(this, 'smoke_g', 501, 269);
}
this.onEnterFrame = function () {
if (_root.smoke_g == 1) {
if (_root.smgZombies == 0) {
_root.generateFoe('z1', 150, 320);
_root.generateFoe('z1', 200, 310);
_root.smgZombies = 1;
}
}
};
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[25];
}
}
instance of movieClip 389 {
onClipEvent (load) {
this.nextRoom = 'elevator';
this.x_start_position = 460;
this.y_start_position = 305;
}
}
}
movieClip 809 {
frame 1 {
this._visible = false;
_root.walls.push(this);
}
}
movieClip 811 {
frame 1 {
this._visible = false;
this.onEnterFrame = function () {
n = 101;
while (n <= 104) {
shot = eval('_root.scena.sprites.gS' + n);
sx = (shot.getBounds(_root)).xMax - shot._width / 2;
sy = (shot.getBounds(_root)).yMax - shot._height / 2;
if (this.hitTest(sx, sy, true)) {
shot.removeMovieClip();
}
++n;
}
};
}
}
movieClip 813 {
frame 1 {
this._visible = false;
this.attivo = 0;
this.onEnterFrame = function () {
if (this.attivo == 0) {
if (this.hitTest(_root.pl_x, _root.pl_y, true)) {
this.attivo = 1;
_root.footstep = 'footstep';
}
} else {
if (this.hitTest(_root.pl_x, _root.pl_y, true) == false && this.attivo == 1) {
this.attivo = 0;
_root.footstep = 'gravelA';
}
}
};
}
}
movieClip 814 apartment_00 {
frame 1 {
_root.td_generateCrate('td_crate', 458, 1230, 1, 12, 13);
_root.td_generateCrate('td_crate', 592, 1306, 1, 10, 14);
_root.td_generateCrate('td_crate', 593, 1538, 0, 11, 15);
_root.td_generateCrate('td_crate', 595, 640, 2, 13, 16);
_root.td_generateCrate('td_crate', 110, 151, 2, 14, 17);
}
frame 1 {
_root.wallArray = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 18, 18, 19, 19, 20, 20, 20, 21, 21, 22, 22, 23, 23, 23, 24, 24, 25, 25, 26, 26, 26, 27, 27, 28, 28, 29, 29, 29, 30, 30, 31, 31, 32, 32, 32, 33, 33, 34, 34, 35, 35, 35, 36, 36, 37, 37, 38, 38, 38, 39, 39, 40, 40, 41, 41, 41, 42, 42, 43, 43, 44, 44, 44, 45, 45, 46, 46, 47, 47, 47, 48, 48, 49, 49, 50, 50, 50, 51, 51, 52, 52, 53, 53, 53, 54, 54, 55, 55, 55, 56, 57, 58, 58, 59, 60, 61, 61, 62, 63, 64, 64, 65, 66, 66, 67, 68, 69, 69, 70, 71, 72, 72, 73, 74, 75, 75, 76, 77, 77, 78, 79, 80, 80, 81, 82, 83, 83, 84, 85, 86, 86, 87, 88, 88, 89, 90, 91, 91, 92, 93, 94, 94, 95, 96, 97, 97, 98, 99, 99, 100, 100, 100, 100, 100, 101, 101, 101, 101, 101, 101, 102, 102, 102, 102, 102, 102, 103, 103, 103, 103, 103, 103, 104, 104, 104, 104, 104, 104, 105, 105, 105, 105, 105, 105, 106, 106, 106, 106, 106, 106, 107, 107, 107, 107, 107, 107, 108, 108, 108, 108, 108, 108, 109, 109, 109, 109, 109, 109, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 109, 109, 109, 109, 109, 109, 109, 109, 109, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 107, 107, 107, 107, 107, 107, 107, 107, 107, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 105, 105, 105, 105, 105, 105, 105, 105, 105, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 103, 103, 103, 103, 103, 103, 103, 103, 103, 102, 102, 102, 102, 102, 102, 102, 102, 102, 101, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 101, 100, 99, 98, 98, 97, 96, 95, 94, 93, 93, 92, 91, 90, 89, 89, 88, 87, 86, 85, 84, 84, 83, 82, 81, 80, 79, 79, 78, 77, 76, 75, 75, 74, 73, 72, 71, 70, 70, 69, 68, 67, 66, 65, 65, 64, 63, 62, 61, 61, 60, 59, 58, 57, 56, 56, 55, 54, 53, 52, 51, 51, 50, 49, 48, 47, 47, 46, 45, 44, 43, 42, 42, 41, 40, 39, 38, 37, 37, 37, 37, 37, 37, 36, 36, 36, 36, 36, 35, 35, 35, 35, 35, 35, 34, 34, 34, 34, 34, 33, 33, 33, 33, 33, 32, 32, 32, 32, 32, 32, 31, 31, 31, 31, 31, 30, 30, 30, 30, 30, 30, 29, 29, 29, 29, 29, 28, 28, 28, 28, 28, 27, 27, 27, 27, 27, 27, 26, 26, 26, 26, 26, 25, 25, 25, 25, 25, 24, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25);
_root.wallArray3 = new Array(undefined, undefined, undefined, undefined, undefined, undefined, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, 628, 627, 626, 625, 624, 623, 621, 620, 619, 618, 617, 616, 615, 613, 612, 611, 610, 609, 608, 607, 605, 604, 603, 602, 601, 600, 599, 597, 596, 595, 594, 593, 592, 591, 589, 588, 587, 586, 585, 584, 582, 582, 581, 580, 579, 579, 578, 577, 576, 576, 575, 574, 573, 573, 572, 571, 570, 570, 569, 568, 567, 567, 566, 565, 564, 564, 563, 562, 561, 560, 560, 560, 560, 560, 560, 560, 560, 560, 559, 559, 559, 559, 559, 559, 559, 559, 558, 558, 558, 558, 558, 558, 558, 558, 557, 557, 557, 557, 557, 557, 557, 557, 557, 556, 556, 556, 556, 556, 556, 556, 556, 555, 555, 555, 555, 555, 555, 555, 555, 554, 554, 554, 554, 554, 554, 554, 554, 554, 553, 553, 553, 553, 553, 553, 553, 553, 552, 552, 552, 552, 552, 552, 552, 552, 551, 552, 552, 552, 552, 552, 552, 552, 552, 552, 552, 552, 552, 552, 552, 552, 552, 553, 553, 553, 553, 553, 553, 553, 553, 553, 553, 553, 553, 553, 553, 553, 553, 553, 554, 554, 554, 555, 555, 555, 555, 556, 556, 556, 556, 557, 557, 557, 557, 558, 558, 558, 559, 559, 559, 559, 560, 560, 560, 560, 561, 561, 561, 561, 562, 562, 562, 562, 563, 563, 563, 564, 564, 564, 564, 565, 565, 565, 565, 566, 566, 566, 566, 567, 567, 567, 567, 568, 568, 568, 569, 569, 569, 569, 570, 570, 570, 570, 571, 571, 571, 571, 572, 572, 572, 572, 573, 573, 574, 574, 575, 575, 575, 576, 576, 577, 577, 578, 578, 578, 579, 579, 580, 580, 580, 581, 581, 582, 582, 583, 583, 583, 584, 584, 585, 585, 586, 586, 586, 587, 587, 588, 588, 588, 589, 589, 590, 590, 591, 591, 591, 592, 592, 593, 593, 594, 594, 594, 595, 595, 596, 596, 596, 597, 597, 598, 598, 599, 599, 599, 600, 600, 601, 601, 602, 602, 602, 603, 603, 604, 604, 604, 605, 605, 605, 605, 606, 606, 606, 606, 606, 607, 607, 607, 607, 608, 608, 608, 608, 608, 609, 609, 609, 609, 609, 610, 610, 610, 610, 611, 611, 611, 611, 611, 612, 612, 612, 612, 613, 613, 613, 613, 613, 614, 614, 614, 614, 614, 615, 615, 615, 615, 616, 616, 616, 616, 616, 617, 617, 617, 617, 618, 618, 618, 618, 618, 619, 619, 619, 619, 619, 620, 620, 620, 620, 620, 620, 620, 621, 621, 621, 621, 621, 621, 621, 622, 622, 622, 622, 622, 622, 622, 623, 623, 623, 623, 623, 623, 623, 624, 624, 624, 624, 624, 624, 624, 625, 625, 625, 625, 625, 625, 625, 626, 626, 626, 626, 626, 626, 626, 627, 627, 627, 627, 627, 627, 627, 628, 628, 628, 628, 628, 628, 628, 629, 629, 629, 629, 629, 629, 629, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 625, 620, 615, 610, 605, 600, 594, 589, 584, 579, 574, 569, 564, 558, 553, 548, 543, 538, 533, 528, 522, 517, 512, 507, 502, 497, 492, 486, 486, 485, 484, 484, 483, 482, 482, 481, 480, 480, 479, 478, 478, 477, 476, 476, 475, 474, 474, 473, 472, 472, 471, 470, 470, 469, 468, 468, 467, 466, 466, 465, 464, 464, 463, 462, 462, 461, 460, 460, 459, 458, 458, 457, 456, 456, 455, 454, 454, 453, 452, 452, 451, 450, 450, 449, 448, 448, 447, 446, 446, 445, 444, 444, 443, 442, 442, 441, 440, 440, 439, 438, 438, 437, 436, 436, 435, 434, 434, 433, 432, 432, 431, 430, 430, 429, 428, 427, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 429, 430, 430, 431, 431, 432, 432, 433, 434, 434, 435, 435, 436, 436, 437, 438, 438, 439, 439, 440, 440, 441, 442, 442, 443, 443, 444, 444, 445, 446, 446, 447, 447, 448, 448, 449, 450, 450, 451, 451, 452, 452, 453, 454, 454, 455, 455, 456, 456, 457, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 495, 496, 497, 497, 498, 499, 499, 500, 500, 501, 502, 502, 503, 504, 504, 505, 505, 506, 507, 507, 508, 509, 509, 510, 510, 511, 512, 512, 513, 514, 514, 515, 515, 516, 517, 517, 518, 519, 519, 520, 520, 521, 522, 522, 523, 524, 524, 525, 525, 526, 527, 527, 528, 529, 529, 530, 530, 531, 532, 532, 533, 533, 534, 535, 535, 536, 537, 537, 538, 539, 539, 540, 541, 541, 542, 543, 543, 544, 545, 545, 546, 547, 547, 548, 549, 549, 550, 551, 551, 578, 604, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630);
_root.upperBound = 30;
_root.lowerBound = 1580;
}
frame 1 {
if (_root.crowbar == 0) {
_root.releaseObject(this, 'crowbar', 315, 262);
}
_root.td_generateZombie('tdz', 107, 207);
_root.td_generateZombie('tdz', 307, 676);
_root.td_generateZombie('tdz', 104, 926);
_root.td_generateZombie('tdz', 540, 1313);
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[49];
}
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[48];
}
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[47];
}
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[46];
}
}
instance int2 of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.nextRoom = 'hotel';
this.testo = 'Can I go out now?...';
this.x_start_position = 2024;
this.y_start_position = 320;
}
}
}
movieClip 817 apartment_00_front {
}
movieClip 822 {
}
movieClip 823 {
frame 1 {
timer = 0;
this.onEnterFrame = function () {
timer += 1;
if (this.hitTest(_root.US.coll) && timer >= 10) {
if (_currentframe < 70) {
_root.effetti(_root.US, 'hit');
_root.energy -= 5;
_root.damage.attachMovie('damage', 'damage', 10);
timer = 0;
}
}
};
}
}
movieClip 825 {
frame 1 {
this._visible = false;
this.onEnterFrame = function () {
n = 101;
while (n <= 104) {
shot = eval('_root.scena.sprites.gS' + n);
sx = (shot.getBounds(_root)).xMax - shot._width / 2;
sy = (shot.getBounds(_root)).yMax - shot._height / 2;
if (this.hitTest(sx, sy, true)) {
shot.removeMovieClip();
}
++n;
}
};
}
}
movieClip 826 corridors {
frame 1 {
_root.wallArray = undefined;
_root.wallArray3 = undefined;
_root.upperBound = undefined;
_root.lowerBound = undefined;
_root.td_generateCrate('td_crate', 226, 57, 2, 12, 18);
_root.td_generateCrate('td_crate', 198, 132, 1, 10, 19);
_root.td_generateCrate('td_crate', 486, 351, 0, 11, 20);
_root.td_generateCrate('td_crate', 1344, 75, 1, 13, 21);
if (_root.crowbar == 1) {
_root.td_generateZombie('tdz', 370, 100);
_root.td_generateZombie('tdz', 545, 351);
_root.td_generateZombie('tdz', 1153, 287);
}
}
instance int2 of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.nextRoom = 'corridor1';
this.testo = _root.testi[37];
this.x_start_position = 2400;
this.y_start_position = 185;
}
}
instance of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.nextRoom = 'maintenance';
this.testo = _root.testi[38];
this.x_start_position = 650;
this.y_start_position = 320;
}
}
}
movieClip 829 corridors_front {
}
movieClip 833 {
frame 1 {
this._visible = false;
this.onEnterFrame = function () {
n = 101;
while (n <= 104) {
shot = eval('_root.scena.sprites.gS' + n);
sx = (shot.getBounds(_root)).xMax - shot._width / 2;
sy = (shot.getBounds(_root)).yMax - shot._height / 2;
if (this.hitTest(sx, sy, true)) {
shot.removeMovieClip();
}
++n;
}
};
}
}
movieClip 836 {
frame 1 {
timer = 0;
startP = _root.np;
endP = _root.np + 50;
_root.np += 51;
currentP = endP;
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
this._rotation += 5;
timer += 1;
if (timer >= 10) {
n = currentP;
_root.scena.particles.attachMovie('td_smoke', 'sm' + n, n);
sm = eval('_root.scena.particles.sm' + n);
sm._x = this._x;
sm._y = this._y;
sm._xscale = 50 + Math.random() * 100;
sm._yscale = sm._xscale;
timer = 0;
if (n > startP) {
currentP -= 1;
} else {
currentP = endP;
}
}
}
};
}
}
movieClip 837 td_back_00 {
frame 1 {
if (_root.orda_td == undefined) {
if (_root.cancelloAperto != 0) {
_root.td_generateZombie('tdz', 489, 745);
_root.td_generateZombie('tdz', 128, 1402);
_root.td_generateZombie('tdz', 497, 393);
}
}
}
frame 1 {
_root.upperBound = 30;
_root.lowerBound = 1580;
_root.td_generateCrate('td_crate', 370, 778, 1, 12, 9);
_root.td_generateCrate('td_crate', 124, 1054, 2, 10, 7);
_root.td_generateCrate('td_crate', 575, 770, 1, 11, 8);
_root.td_generateCrate('td_crate', 86, 1488, 2, 13, 10);
_root.td_generateCrate('td_crate', 60, 675, 1, 14, 11);
}
frame 1 {
_root.wallArray = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 113, 114, 115, 116, 117, 118, 119, 120, 121, 121, 122, 123, 124, 125, 126, 127, 128, 128, 129, 130, 131, 132, 133, 134, 135, 135, 136, 137, 138, 139, 140, 141, 142, 142, 143, 144, 145, 146, 147, 148, 149, 149, 150, 151, 152, 153, 154, 155, 156, 156, 157, 158, 159, 160, 161, 162, 163, 163, 164, 164, 165, 165, 166, 166, 167, 167, 168, 168, 169, 169, 170, 170, 171, 171, 172, 172, 173, 173, 174, 174, 175, 175, 176, 176, 177, 177, 178, 178, 179, 179, 179, 180, 180, 181, 181, 182, 182, 183, 183, 184, 184, 185, 185, 186, 186, 187, 187, 188, 188, 189, 189, 190, 190, 191, 191, 192, 192, 193, 193, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 193, 193, 193, 192, 192, 192, 191, 191, 191, 190, 190, 190, 189, 189, 188, 188, 188, 187, 187, 187, 186, 186, 186, 185, 185, 185, 184, 184, 184, 183, 183, 182, 182, 182, 181, 181, 181, 180, 180, 180, 179, 179, 179, 178, 178, 177, 177, 177, 176, 176, 176, 175, 175, 175, 174, 174, 174, 173, 173, 173, 172, 172, 171, 171, 171, 170, 170, 170, 169, 169, 169, 168, 168, 168, 167, 167, 166, 166, 166, 165, 165, 165, 164, 164, 164, 163, 163, 163, 162, 162, 162, 161, 161, 160, 160, 160, 159, 159, 159, 158, 158, 158, 157, 157, 157, 156, 156, 155, 154, 153, 152, 151, 150, 148, 147, 146, 145, 144, 143, 141, 140, 139, 138, 137, 136, 134, 133, 132, 131, 130, 129, 127, 126, 125, 124, 123, 121, 120, 119, 118, 117, 116, 114, 113, 112, 111, 110, 109, 107, 106, 105, 104, 103, 102, 100, 99, 98, 97, 96, 94, 94, 93, 93, 92, 92, 91, 91, 90, 90, 89, 88, 88, 87, 87, 86, 86, 85, 85, 84, 83, 83, 82, 82, 81, 81, 80, 80, 79, 78, 78, 77, 77, 76, 76, 75, 75, 74, 73, 73, 72, 72, 71, 71, 70, 70, 69, 68, 68, 67, 67, 66, 66, 65, 65, 64, 63, 63, 62, 62, 61, 61, 60, 60, 59, 58, 58, 57, 57, 56, 56, 55, 55, 54, 53, 53, 52, 52, 51, 51, 50, 50, 49, 48, 48, 47, 47, 46, 46, 45, 45, 44, 43, 43, 42, 42, 41, 41, 40, 40, 39, 38, 38, 38, 38, 38, 38, 37, 37, 37, 37, 37, 36, 36, 36, 36, 36, 35, 35, 35, 35, 35, 34, 34, 34, 34, 34, 34, 33, 33, 33, 33, 33, 32, 32, 32, 32, 32, 31, 31, 31, 31, 31, 30, 30, 30, 30, 30, 30, 29, 29, 29, 29, 29, 28, 28, 28, 28, 28, 27, 27, 27, 27, 27, 26, 26, 26, 26, 26, 25, 25, 25, 25, 25, 25, 24, 24, 24, 24, 24, 23, 23, 23, 23, 23, 22, 22, 22, 22, 22, 21, 21, 21, 21, 21, 21, 20, 20, 20, 20, 20, 19, 19, 19, 19, 19, 18, 18, 18, 18, 18, 17, 17, 17, 17, 17, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 20, 21, 21, 21, 21, 21, 22, 22, 22, 22, 23, 23, 23, 23, 23, 24, 24, 24, 24, 24, 25, 25, 25, 25, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 28, 28, 28, 28, 28, 29, 29, 29, 29, 30, 30, 30, 30, 30, 31, 31, 31, 31, 31, 32, 32, 32, 32, 33, 33, 33, 33, 33, 34, 34, 34, 34, 34, 35, 35, 35, 35, 36, 36, 36, 36, 36, 37, 37, 37, 37, 37, 38, 38, 38, 38, 38, 39, 40, 40, 41, 42, 42, 43, 43, 44, 45, 45, 46, 47, 47, 48, 48, 49, 50, 50, 51, 52, 52, 53, 53, 54, 55, 55, 56, 56, 57, 58, 58, 59, 60, 60, 61, 61, 62, 63, 63, 64, 65, 65, 66, 66, 67, 68, 68, 69, 70, 70, 71, 71, 72, 73, 73, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 73, 73, 72, 72, 71, 71, 70, 69, 69, 68, 68, 67, 67, 66, 65, 65, 64, 64, 63, 63, 62, 62, 61, 60, 60, 59, 59, 58, 58, 57, 56, 56, 55, 55, 54, 54, 53, 53, 52, 51, 51, 50, 50, 49, 49, 48, 47, 47, 46, 46, 45, 45, 44, 43, 43, 42, 42, 41, 41, 40, 40, 39, 38, 38, 37, 37, 36, 36, 35, 34, 34, 33, 33, 32, 32, 31, 31, 30, 29, 29, 28, 28, 27, 27, 26, 25, 25, 24, 24, 23, 23, 22, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21);
_root.wallArray3 = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 512, 513, 513, 513, 513, 513, 513, 514, 514, 514, 514, 514, 514, 514, 515, 515, 515, 515, 515, 515, 516, 516, 516, 516, 516, 516, 516, 517, 517, 517, 517, 517, 517, 518, 518, 518, 518, 518, 518, 518, 519, 519, 519, 519, 519, 519, 520, 520, 520, 520, 520, 520, 520, 521, 521, 521, 521, 521, 521, 522, 522, 522, 522, 522, 522, 522, 523, 523, 523, 523, 523, 523, 524, 524, 524, 524, 524, 524, 524, 525, 525, 525, 525, 525, 525, 525, 526, 527, 528, 528, 529, 530, 531, 531, 532, 533, 533, 534, 535, 536, 536, 537, 538, 538, 539, 540, 541, 541, 542, 543, 544, 544, 545, 546, 546, 547, 548, 549, 549, 550, 551, 551, 552, 553, 554, 554, 555, 556, 557, 557, 558, 559, 559, 560, 561, 562, 562, 563, 564, 564, 565, 566, 567, 567, 568, 569, 569, 570, 571, 572, 573, 574, 575, 575, 576, 577, 578, 579, 580, 581, 581, 582, 583, 584, 585, 586, 586, 587, 588, 589, 590, 591, 592, 592, 593, 594, 595, 596, 597, 598, 598, 599, 600, 601, 602, 603, 603, 604, 605, 606, 607, 608, 609, 609, 610, 611, 612, 613, 614, 614, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, 619, 617, 615, 612, 610, 607, 605, 602, 600, 597, 595, 592, 590, 588, 585, 583, 580, 578, 575, 573, 570, 568, 565, 564, 563, 562, 560, 559, 558, 556, 555, 554, 552, 551, 550, 548, 547, 546, 544, 543, 542, 540, 539, 538, 536, 535, 534, 532, 531, 530, 528, 528, 527, 526, 525, 524, 523, 522, 521, 520, 519, 518, 517, 516, 515, 514, 513, 512, 511, 510, 509, 508, 507, 506, 505, 504, 503, 502, 501, 500, 499, 498, 497, 496, 495, 494, 493, 492, 491, 490, 489, 488, 487, 486, 485, 484, 483, 482, 481, 480, 479, 479, 479, 478, 478, 478, 477, 477, 477, 476, 476, 476, 475, 475, 474, 474, 474, 473, 473, 473, 472, 472, 472, 471, 471, 471, 470, 470, 469, 469, 469, 468, 468, 468, 467, 467, 467, 466, 466, 466, 465, 465, 464, 465, 466, 467, 468, 468, 469, 470, 471, 472, 472, 473, 474, 475, 476, 476, 477, 478, 479, 480, 480, 481, 482, 483, 484, 484, 485, 486, 487, 488, 488, 489, 490, 491, 492, 492, 493, 494, 495, 495, 496, 496, 496, 496, 496, 496, 497, 497, 497, 497, 497, 497, 498, 498, 498, 498, 498, 498, 499, 499, 499, 499, 499, 499, 500, 500, 500, 500, 500, 500, 500, 499, 499, 498, 498, 497, 497, 496, 495, 495, 494, 494, 493, 493, 492, 491, 491, 490, 490, 489, 489, 488, 488, 487, 486, 486, 485, 485, 484, 484, 483, 482, 482, 481, 481, 480, 480, 479, 478, 478, 478, 477, 477, 476, 476, 475, 475, 474, 474, 473, 473, 472, 472, 472, 471, 471, 470, 470, 469, 469, 468, 468, 467, 467, 466, 466, 466, 465, 465, 464, 464, 463, 463, 462, 462, 461, 461, 460, 460, 460, 459, 459, 458, 458, 457, 457, 456, 456, 455, 455, 454, 454, 454, 453, 453, 452, 452, 451, 451, 450, 450, 449, 449, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 447, 448, 449, 449, 450, 451, 451, 452, 453, 453, 454, 455, 455, 456, 457, 457, 458, 458, 459, 460, 460, 461, 462, 462, 463, 464, 464, 465, 466, 466, 467, 467, 468, 469, 469, 470, 471, 471, 472, 473, 473, 474, 475, 475, 476, 476, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 477, 477, 476, 476, 476, 475, 475, 474, 474, 474, 473, 473, 472, 472, 471, 471, 471, 470, 470, 469, 469, 469, 468, 468, 467, 467, 467, 466, 466, 465, 465, 464, 464, 464, 463, 463, 462, 462, 462, 461, 461, 460, 460, 459, 459, 459, 458, 458, 457, 457, 457, 456, 456, 455, 455, 455, 454, 454, 453, 453, 452, 452, 452, 451, 451, 450, 450, 450, 449, 449, 448, 448, 447, 447, 447, 446, 446, 445, 445, 445, 444, 444, 443, 443, 443, 442, 442, 441, 441, 441, 440, 440, 439, 439, 439, 438, 438, 437, 437, 436, 436, 436, 435, 435, 434, 434, 434, 433, 433, 432, 432, 432, 431, 431, 430, 430, 430, 429, 429, 428, 428, 428, 427, 427, 426, 426, 425, 425, 425, 424, 424, 423, 423, 423, 422, 422, 421, 421, 421, 420, 420, 419, 419, 419, 418, 418, 417, 417, 416, 416, 415, 414, 413, 412, 411, 411, 410, 409, 408, 407, 406, 405, 405, 404, 403, 402, 401, 400, 400, 399, 398, 397, 396, 395, 394, 394, 393, 392, 391, 390, 389, 388, 388, 387, 386, 385, 384, 383, 383, 382, 381, 380, 379, 378, 377, 377, 376, 375, 374, 373, 372, 372, 371, 370, 369, 368, 367, 366, 366, 365, 364, 363, 362, 361, 360, 360, 359, 358, 357, 356, 356, 355, 354, 353, 352, 351, 351, 350, 349, 348, 347, 346, 346, 345, 344, 343, 342, 341, 341, 340, 339, 338, 337, 336, 336, 336, 335, 335, 334, 334, 333, 333, 332, 332, 331, 331, 330, 330, 329, 329, 328, 328, 327, 327, 326, 326, 325, 325, 325, 324, 324, 323, 323, 322, 322, 321, 321, 320, 320, 319, 319, 318, 318, 317, 317, 316, 316, 315, 315, 314, 314, 314, 313, 313, 312, 312, 311, 311, 310, 310, 309, 309, 308, 308, 307, 307, 306, 306, 305, 305, 304, 304, 303, 303, 303, 303, 303, 303, 302, 302, 302, 302, 302, 301, 301, 301, 301, 301, 300, 300, 300, 300, 300, 299, 299, 299, 299, 299, 298, 298, 298, 298, 298, 297, 297, 297, 297, 297, 296, 296, 296, 296, 296, 295);
_root.lowerBound = 1500;
_root.upperBound = 50;
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[0];
}
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[53];
}
}
instance of movieClip 389 {
onClipEvent (load) {
this.nextRoom = 'roof';
this.x_start_position = 181;
this.y_start_position = 300;
}
}
instance of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.testo = 'This must be a maintenance room for the attic.';
this.nextRoom = 'casetta';
this.x_start_position = 780;
this.y_start_position = 290;
}
}
instance of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.testo = _root.testi[55];
this.nextRoom = 'tutorial';
this.x_start_position = 1921;
this.y_start_position = 293;
}
}
}
movieClip 840 {
}
movieClip 843 {
frame 1 {
this.onEnterFrame = function () {
if (_root.cancelloAperto == 1) {
if (this._x > 185) {
this._x -= 0.5;
} else {
this._x = 185;
}
}
};
}
}
movieClip 846 td_back_00_front {
instance of movieClip 392 {
onClipEvent (load) {
this.testo = 'The gate needs power....';
}
}
instance of movieClip 416 hstar {
onClipEvent (load) {
if (_root.cancelloAperto == 1) {
this._visible = false;
}
}
}
}
movieClip 849 shadowClip {
}
movieClip 865 {
frame 1 {
switch (_root.US.item) {
case 0:
this.gotoAndStop(1);
break;
case 1:
this.gotoAndStop(2);
break;
case 2:
this.gotoAndStop(3);
break;
case 3:
this.gotoAndStop(4);
break;
case 4:
this.gotoAndStop(5);
break;
case 5:
this.gotoAndStop(6);
}
}
}
movieClip 870 KICK {
frame 14 {
shot = 'knifeShot';
ns = 5;
_root.scena.sprites.shotPH.attachMovie(shot, 'gS' + ns, ns);
gS = eval('_root.scena.sprites.shotPH.gS' + ns);
fpx = (this.fp1.getBounds(_root.scena)).xMax;
fpy = (this.fp1.getBounds(_root.scena)).yMax;
gS.dir = _root.scena.sprites.US.dir;
gS.shotType = 'KICK';
gS._x = fpx;
gS._y = fpy;
gS._xscale = _root.scaleIndex;
gS._yscale = _root.scaleIndex;
gS.power = 2;
gS.z = _root.US._y;
}
frame 15 {
_root.effetti(this, 'punch');
}
frame 36 {
this.finished = 1;
}
}
movieClip 876 walkChest_1 {
frame 1 {
this.onEnterFrame = function () {
this.gotoAndPlay(_parent.stand._currentframe);
};
}
}
movieClip 879 standChest_1 {
}
movieClip 884 {
frame 1 {
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
this.play();
} else {
this.stop();
}
};
}
frame 2 {
_root.gunshot(this, 2);
_root.mp5Ammo -= 1;
}
frame 3 {
_root.effetti(this, 'mp5');
}
frame 7 {
if (_root.fire == 1) {
this.gotoAndPlay(1);
} else {
_parent.stopFiring = 1;
}
}
}
movieClip 885 {
frame 1 {
xc = (this.getBounds(_root)).xMin;
yc = (this.getBounds(_root)).yMin;
xm = _root._xmouse;
ym = _root._ymouse;
myRadians = Math.atan2(xm - xc, ym - yc);
myRotation = Math.abs(Math.floor(myRadians * 180 / Math.PI));
_parent.gotoAndStop(-45 + myRotation);
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
xc = (this.getBounds(_root)).xMin;
yc = (this.getBounds(_root)).yMin;
xm = _root._xmouse;
ym = _root._ymouse;
myRadians = Math.atan2(xm - xc, ym - yc);
myRotation = Math.abs(Math.floor(myRadians * 180 / Math.PI));
_parent.gotoAndStop(-45 + myRotation);
}
};
}
}
movieClip 886 aimChest_1 {
frame 1 {
stop();
}
}
movieClip 896 reloadChest_1 {
frame 1 {
_root.effetti(this, 'reload');
}
frame 54 {
_root.effetti(this, 'otturatore');
}
frame 74 {
_root.mp5ReloadFunction(this, _root.maxMp5Ammo);
}
frame 75 {
this.stopFiring = 1;
}
}
movieClip 900 walkChest_2 {
frame 1 {
this.onEnterFrame = function () {
this.gotoAndPlay(_parent.stand._currentframe);
};
}
}
movieClip 901 standChest_2 {
}
movieClip 904 {
frame 1 {
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
this.play();
} else {
this.stop();
}
};
}
frame 4 {
_root.effetti(_parent._parent, 'shotgun');
}
frame 4 {
_root.shotgun(this);
_root.shotGunAmmo -= 1;
}
frame 16 {
_root.effetti(this, 'kuklux');
}
frame 19 {
fpx2 = (fp2.getBounds(_root.scena)).xMax;
fpy2 = (fp2.getBounds(_root.scena)).yMin;
shell = 'shotGunShell';
_root.scena.sprites.shotPH.attachMovie(shell, 'shell10', 10);
shell = _root.scena.sprites.shotPH.shell10;
dir = _root.US.dir;
shell._x = fpx2 - 10 * dir;
shell._y = fpy2;
shell.dir = _root.US.dir;
shell._xscale = _root.scaleIndex * dir;
shell._yscale = _root.scaleIndex;
}
frame 51 {
if (_root.fire == 1) {
this.gotoAndPlay(1);
} else {
_parent.stopFiring = 1;
}
}
}
movieClip 905 aimChest_2 {
frame 1 {
stop();
}
}
movieClip 909 reloadChest_2 {
frame 1 {
rounds = _root.maxShotGunAmmo - _root.shotGunAmmo;
}
frame 12 {
_root.effetti(this, 'shotgun_load');
}
frame 20 {
if (_root.shotGunMags > 0) {
_root.shotGunAmmo += 1;
_root.shotGunMags -= 1;
rounds -= 1;
} else {
rounds = 0;
}
if (rounds == 0) {
this.play();
} else {
this.gotoAndPlay(5);
}
}
frame 32 {
_root.effetti(this, 'kuklux');
}
frame 52 {
this.stopFiring = 1;
}
}
movieClip 920 {
frame 1 {
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
this.play();
} else {
this.stop();
}
};
}
frame 3 {
_root.gunshot(this, 1);
_root.effetti(_parent, 'beretta');
_root.gunAmmo -= 1;
}
frame 16 {
if (_root.fire == 1) {
this.gotoAndPlay(1);
} else {
_parent.stopFiring = 1;
}
}
}
movieClip 921 standChest_0 {
}
movieClip 922 walkChest_0 {
frame 1 {
this.onEnterFrame = function () {
this.gotoAndPlay(_parent.stand._currentframe);
};
}
}
movieClip 923 aimChest_0 {
frame 1 {
stop();
}
}
movieClip 927 reloadChest_0 {
frame 1 {
_root.effetti(this, 'change');
}
frame 14 {
_root.effetti(this, 'gun_mag_out');
}
frame 36 {
_root.effetti(this, 'gun_mag_in');
}
frame 54 {
_root.gunReloadFunction(this, _root.maxGunAmmo);
}
frame 55 {
this.stopFiring = 1;
}
}
movieClip 934 {
frame 1 {
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
this.play();
} else {
this.stop();
}
};
}
frame 3 {
_root.gunshot(this, 4);
_root.effetti(_parent, 'shotgun');
_root.coltAmmo -= 1;
}
frame 24 {
if (_root.fire == 1) {
this.gotoAndPlay(1);
} else {
_parent.stopFiring = 1;
}
}
}
movieClip 935 aimChest_4 {
frame 1 {
stop();
}
}
movieClip 938 reloadChest_4 {
frame 1 {
_root.effetti(this, 'change');
}
frame 16 {
_root.effetti(this, 'gun_mag_out');
}
frame 41 {
_root.effetti(this, 'gun_mag_in');
}
frame 59 {
_root.coltReloadFunction(this, _root.maxColtAmmo);
}
frame 60 {
this.stopFiring = 1;
}
}
movieClip 940 standChest_4 {
}
movieClip 941 walkChest_4 {
frame 1 {
this.onEnterFrame = function () {
this.gotoAndPlay(_parent.stand._currentframe);
};
}
}
movieClip 943 walkChest_5 {
frame 1 {
this.onEnterFrame = function () {
this.gotoAndPlay(_parent.stand._currentframe);
};
}
}
movieClip 944 standChest_5 {
}
movieClip 948 {
frame 1 {
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
this.play();
} else {
this.stop();
}
};
}
frame 2 {
_root.gunshot(this, 5);
_root.ar15Ammo -= 1;
}
frame 3 {
_root.effetti(this, 'mp5');
_root.effetti(_parent, 'beretta');
}
frame 10 {
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
this.play();
} else {
this.stop();
}
};
}
frame 10 {
if (_root.fire == 1) {
this.gotoAndPlay(1);
} else {
_parent.stopFiring = 1;
}
}
}
movieClip 949 aimChest_5 {
frame 1 {
stop();
}
}
movieClip 951 reloadChest_5 {
frame 1 {
_root.effetti(this, 'reload');
}
frame 52 {
_root.ar15ReloadFunction(this, _root.maxAr15Ammo);
}
frame 53 {
this.stopFiring = 1;
}
}
movieClip 952 US {
frame 1 {
this.state = 'stand';
this.currentMelee = _root.current_melee;
this.attachMovie('ff_coll', 'coll', 0);
this.item = _root.current_weapon;
_root.swapItems(this);
this.attachMovie('US_stand', 'stand', 10);
this.attachMovie('coll', 'coll', 12);
this.attachMovie('coll2', 'coll2', 14);
this.chestState = 0;
this.pauseState = 1;
this.busy = 0;
this.onEnterFrame = function () {
_root.deathCheck(this);
_root.meleeCheck(this);
if (_root.pausedGame == 0) {
this._visible = true;
shotPH = _root.scena.sprites.shotPH;
shotPH.layer = Math.ceil(this._y) * _root.totalLayers + shotPH.layerIndex;
shotPH.swapDepths(shotPH.layer);
_root.swapLayer(this);
shad = _root.scena.shadows.shadowClip;
shad._x = this._x;
shad._y = this._y - 2;
this.dir = this._xscale / Math.abs(this._xscale);
_root.pl_y = (this.coll.getBounds(_root)).yMax;
this.cx_m = (this.coll.getBounds(_root)).xMin;
this.cx_x = (this.coll.getBounds(_root)).xMax;
_root.pl_x = this.cx_m + (this.cx_x - this.cx_m) / 2;
if (this.busy == 0) {
fireAction = _root.fire;
reloadAction = _root.reload;
switch (this.chestState) {
case 0:
this.attachMovie(this.standChest, 'chest', 11);
this.chestState = 1;
this.chest._y = _root.yChest;
break;
case 1:
if (reloadAction == 1) {
_root.checkAmmo();
if (_root.checkedMags > 0 && _root.checkedAmmo < _root.actualItemMax) {
this.attachMovie(this.reloadChest, 'chest', 11);
this.chest._y = _root.yChest;
this.chestState = 3;
} else {
if (fireAction == 1) {
this.attachMovie(this.fireChest, 'chest', 11);
this.chest._y = _root.yChest;
this.chestState = 3;
} else {
if (this.state == 'walk') {
this.attachMovie(this.walkChest, 'chest', 11);
this.chest._y = _root.yChest;
this.chestState = 2;
} else {
break;
case 2:
if (reloadAction == 1) {
_root.checkAmmo();
if (_root.checkedMags > 0 && _root.checkedAmmo < _root.actualItemMax) {
this.attachMovie(this.reloadChest, 'chest', 11);
this.chest._y = _root.yChest;
this.chestState = 3;
} else {
if (fireAction == 1) {
this.attachMovie(this.fireChest, 'chest', 11);
this.chest._y = _root.yChest;
this.chestState = 3;
} else {
if (this.state == 'stand') {
this.attachMovie(this.standChest, 'chest', 11);
this.chest._y = _root.yChest;
this.chestState = 1;
} else {
break;
case 3:
if (this.chest.stopFiring == 1) {
switch (this.state) {
case 'stand':
this.currentChest = this.standChest;
this.chest._y = _root.yChest;
stato = 1;
break;
case 'walk':
this.currentChest = this.walkChest;
this.chest._y = _root.yChest;
stato = 2;
break;
default:
this.currentChest = this.standChest;
this.chest._y = _root.yChest;
stato = 0;
}
this.attachMovie(this.currentChest, 'chest', 11);
this.chest._y = _root.yChest;
if (this.stato == 2) {
chestFrame = this.stand._currentframe;
this.chest.gotoAndPlay(chestFrame);
}
this.chestState = stato;
} else {}
}
}
}
}
}
}
}
}
}
}
switch (this.state) {
case 'stand':
if (this._x > _root.scena.sprites._xmouse) {
this._xscale = _root.scaleIndex;
} else {
this._xscale = -_root.scaleIndex;
}
if (_root.Right == 1) {
this.lastWalk = undefined;
_root.backWalk(this);
this.state = 'walk';
} else {
if (_root.Left == 1) {
this.lastWalk = undefined;
_root.backWalk(this);
this.state = 'walk';
} else {
if (_root.Up + _root.Dw >= 1) {
this.lastWalk = undefined;
_root.backWalk(this);
this.state = 'walk';
} else {
_root.specialActions(this);
break;
case 'walk':
if (_root.Up == 1) {
this._y -= 1;
}
if (_root.Dw == 1) {
this._y += 1;
}
if (_root.Left == 1) {
this._x -= 3.5;
}
if (_root.Right == 1) {
this._x += 3.5;
}
if (_root.Left + _root.Right + _root.Up + _root.Dw == 0) {
this.attachMovie('US_stand', 'stand', 10);
this.state = 'stand';
} else {
_root.backWalk(this);
_root.specialActions(this);
break;
case 'reload':
if (this.chest.reloaded == 1) {
_root.restorePlayer(this);
} else {
break;
case 'melee':
if (this.stand.finished == 1) {
_root.restorePlayer(this);
} else {
break;
case 'swap':
if (this.stand.finished == 1) {
_root.swapItems(this);
_root.restorePlayer(this);
} else {
break;
case 'grab':
if (this.stand.finished == 1) {
_root.restorePlayer(this);
} else {
break;
case 'restore':
this.pauseState = 1;
this.chest.play();
this.stand.play();
this.state = this.lastState;
}
}
}
}
}
}
}
}
}
_root.wallColl(this);
_root.bounds(this);
} else {
switch (this.pauseState) {
case 1:
this.lastState = this.state;
this.state = 'restore';
this.chest.stop();
this.stand.stop();
this.pauseState = 2;
break;
case 2:
}
}
};
}
}
movieClip 955 blackPuke {
frame 40 {
this.removeMovieClip();
}
}
movieClip 958 cop_bullet {
frame 1 {
this.xspeed = 7;
this._xscale = 40 + Math.random() * 10;
this._yscale = this._xscale;
this.rot = 5 + Math.random() * 20;
this.yspeed = -2;
bounces = 0;
this.layer = Math.ceil(this.z) * _root.totalLayers + this.layerIndex;
this.swapDepths(this.layer);
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
n = _root.np;
_root.scena.particles.attachMovie('blackPuke', 'bp' + n, n);
bp = eval('_root.scena.particles.bp' + n);
bp._x = this._x;
bp._y = this._y;
bp._xscale = _root.scaleIndex + 25;
bp._yscale = _root.scaleIndex + 25;
bp._rotation += Math.random() * 180;
_root.np += 1;
this.xspeed *= 0.98;
this.yspeed += 0.2;
this._rotation += this.rot;
this._x -= this.xspeed * this.dir;
this._y += this.yspeed;
if (this._y > this.z) {
this.removeMovieClip();
}
if (this.hitTest(_root.US.coll)) {
this.offset = this.z - _root.US._y;
if (Math.abs(this.offset) < 10) {
_root.effetti(_root.US, 'hit');
_root.energy -= 5;
_root.damage.attachMovie('damage', 'damage', 10);
this.removeMovieClip();
}
}
}
};
}
}
movieClip 959 cop {
frame 1 {
switch (_root.difficultyLevel) {
case 0:
this.energy = 50;
break;
case 1:
this.energy = 100;
}
z_stand = 'cop_stand';
z_kicked = 'cop_kicked';
z_death = 'cop_death';
z_death2 = 'cop_death';
z_stand2 = 'cop_stand';
z_walk = 'cop_walk';
z_headShot = 'cop_death2';
z_attack = 'cop_hit';
z_attack2 = 'cop_hit2';
z_hit0 = 'cop_knifed';
z_hit1 = 'cop_knifed';
z_hit_axe = 'cop_death';
z_revive = 'cop_revive';
z_down = 'cop_down';
this.customSpeed = 0.5 + Math.random() * 0.5;
this.pauseState = 0;
this.tempo = 0;
this.customReactionTime = 60 + Math.ceil(Math.random() * 120);
if (_root.resurrection == 0) {
this.state = 'down';
this.attachMovie(z_down, 'stand', 10);
} else {
this.state = 'stand';
this.attachMovie(z_stand, 'stand', 10);
this.attachMovie('coll', 'coll', 11);
this.coll._height = 220;
}
_root.towardPlayer(this);
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
_root.wallColl(this);
_root.bounds(this);
if (this.death != 1) {
if (this.energy <= 0) {
this.attachMovie(z_death, 'stand', 10);
_root.releaseGold(this, 2);
this.death = 1;
this.coll.removeMovieClip();
this.state = 'death';
}
}
_root.swapLayer(this);
this.pdir = _root.US.dir;
this.px = _root.US._x;
this.py = _root.US._y;
this.dir = this._xscale / Math.abs(this._xscale);
_root.zCollision(this);
switch (this.state) {
case 'down':
if (_root.resurrection == 1) {
this.attachMovie(z_revive, 'stand', 10);
this.state = 'spawn';
}
case 'spawn':
if (this.stand.finished == 1) {
this.attachMovie(z_walk, 'stand', 10);
this.attachMovie('coll', 'coll', 11);
this.coll._height = 220;
_root.speedCheck(this, 40);
this.tempo = 0;
this.state = 'walk';
}
break;
case 'stand':
if (Math.abs(px - this._x) <= 2000) {
this.attachMovie(z_walk, 'stand', 10);
_root.speedCheck(this, 40);
this.tempo = 0;
this.state = 'walk';
}
break;
case 'walk':
if (this.tempo >= this.customReactionTime) {
_root.speedCheck(this, 40);
this.tempo = 0;
} else {
this.tempo += 1;
}
this._x -= this.xspeed;
this._y -= this.yspeed;
this.attackDistance = Math.abs(px - this._x);
if (this.attackDistance < 200) {
if (Math.abs(py - this._y) < 10) {
_root.towardPlayer(this);
this.state = 'attack';
if (this.attackDistance > 100) {
this.attachMovie(z_attack, 'stand', 10);
} else {
this.attachMovie(z_attack2, 'stand', 10);
}
}
}
break;
case 'attack':
if (this.stand.finished == 1) {
this.state = 'stand2';
this.tempo = 0;
this.attachMovie(z_stand2, 'stand', 10);
}
break;
case 'stand2':
if (this.tempo >= 120) {
this.attachMovie(z_walk, 'stand', 10);
_root.speedCheck(this, 40);
this.state = 'walk';
this.tempo = 0;
} else {
this.tempo += 1;
}
break;
case 'hit1':
if (this.stand.finished == 1) {
_root.speedCheck(this, 40);
this.tempo = 0;
this.attachMovie(z_walk, 'stand', 10);
this.state = 'walk';
}
case 'kicked':
if (this.stand.finished == 1) {
_root.speedCheck(this, 40);
this.tempo = 0;
this.attachMovie(z_walk, 'stand', 10);
this.state = 'walk';
}
break;
case 'axeHit':
_root.releaseGold(this, 4);
this.death = 1;
this.coll.removeMovieClip();
this.state = 'death';
break;
case 'headShot':
_root.releaseGold(this, 8);
this.death = 1;
this.coll.removeMovieClip();
this.state = 'death';
break;
case 'death':
break;
case 'restore':
this.pauseState = 0;
if (this.lastState == 'death' && this.stand.finished == 1) {
this.stand.stop();
} else {
this.stand.play();
}
this.state = this.lastState;
}
} else {
switch (pauseState) {
case 0:
this.stand.stop();
this.lastState = this.state;
this.state = 'restore';
this.pauseState = 1;
break;
case 1:
}
}
};
}
}
movieClip 983 cop_death {
frame 1 {
_root.effetti(_parent, 'z_groan_00');
}
frame 60 {
_root.effetti(this, 'bodyfall');
}
frame 118 {
stop();
this.finished = 1;
}
}
movieClip 990 cop_death2 {
frame 1 {
_root.effetti(this, 'blood_splatter_00');
}
frame 60 {
_root.effetti(_parent, 'bodyfall');
}
frame 118 {
stop();
this.finished = 1;
}
}
movieClip 991 cop_down {
frame 1 {
stop();
}
}
movieClip 992 {
}
movieClip 993 cop_hit {
frame 25 {
_root.scena.sprites.attachMovie('cop_bullet', 'cb' + _root.enemyLayer, _root.enemyLayer);
cb = eval('_root.scena.sprites.cb' + _root.enemyLayer);
cb.layerIndex = _root.layerIndex;
cb.z = _parent._y;
cb._x = (fp.getBounds(_root.scena.sprites)).xMin;
cb._y = (fp.getBounds(_root.scena.sprites)).yMin;
cb._xscale = _root.scaleIndex;
cb._yscale = cb._xscale;
cb.dir = _parent.dir;
_root.refreshLayers(clip);
_root.effetti(this, 'burp');
}
frame 40 {
this.finished = 1;
}
}
movieClip 994 cop_hit2 {
frame 10 {
_root.effetti(this, 'z_groan_02');
}
frame 25 {
_root.enemyAttack(this, 4);
}
frame 40 {
this.finished = 1;
}
}
movieClip 995 cop_kicked {
frame 1 {
speed = Math.random() * 4 + 2;
_root.effetti(this, 'z_groan_00');
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
speed *= 0.92;
_parent._x += speed * _parent.dir;
}
};
}
frame 30 {
this.finished = 1;
}
}
movieClip 996 cop_knifed {
frame 16 {
this.finished = 1;
}
}
movieClip 997 cop_revive {
frame 1 {
stop();
frame = Math.ceil(Math.random() * 25);
this.gotoAndPlay(frame);
}
frame 39 {
_root.effetti(this, 'z_groan_01');
}
frame 118 {
this.finished = 1;
}
}
movieClip 1004 cop_rise {
frame 1 {
_root.swapLayer(this);
this._xscale = -_root.scaleIndex;
if (_root.firstSequence == 1) {
this.gotoAndStop(122);
}
this.onEnterFrame = function () {
if (_root.pausedGame == 0 && _currentframe != 122) {
play();
} else {
stop();
}
};
}
frame 30 {
_root.effetti(this, 'ahhh');
}
frame 46 {
if (_root.firstSequence == 1) {
this.gotoAndPlay(47);
} else {
this.gotoAndPlay(2);
}
}
frame 47 {
play();
}
frame 65 {
_root.effetti(this, 'bodyfall');
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[52];
}
}
frame 122 {
stop();
this.finished = 1;
}
}
movieClip 1005 cop_stand {
}
movieClip 1006 cop_walk {
}
movieClip 1020 td_melee_axe {
frame 23 {
_root.effetti(_parent, 'swish');
}
frame 26 {
shot = 'td_knifeShot';
ns = 105;
_root.scena.sprites.attachMovie(shot, 'gS' + ns, ns);
gS = eval('_root.scena.sprites.gS' + ns);
fpx = (this.fp1.getBounds(_root.scena)).xMax;
fpy = (this.fp1.getBounds(_root.scena)).yMax;
gS._x = fpx;
gS._y = fpy;
gS._xscale = _root.scaleIndex;
gS._yscale = _root.scaleIndex;
gS.power = 20;
gS.z = _root.US._y;
}
frame 26 {
_root.effetti(this, 'knife_out');
}
frame 49 {
finished = 1;
}
}
movieClip 1025 td_melee {
frame 10 {
_root.effetti(_parent, 'swish');
}
frame 13 {
shot = 'td_knifeShot';
ns = 105;
_root.scena.sprites.attachMovie(shot, 'gS' + ns, ns);
gS = eval('_root.scena.sprites.gS' + ns);
fpx = (this.fp1.getBounds(_root.scena)).xMax;
fpy = (this.fp1.getBounds(_root.scena)).yMax;
gS._x = fpx;
gS._y = fpy;
gS._xscale = _root.scaleIndex;
gS._yscale = _root.scaleIndex;
gS.power = 5;
gS.z = _root.US._y;
}
frame 13 {
_root.effetti(this, 'knife_out');
}
frame 36 {
finished = 1;
}
}
movieClip 1026 td_swap {
frame 1 {
_root.effetti(this, 'change');
_root.pausedGame = 1;
_root.pauseScreen.attachMovie('armor_wheel', 'ps', 10);
_root.pauseScreen.ps._x = 320;
_root.pauseScreen.ps._y = 200;
_root.effetti(this, 'menu_00');
_root.pointerState = 1;
_root.armorWheel = 1;
}
frame 15 {
_root.US.item = _root.selected_item;
_root.current_weapon = _root.selected_item;
_root.checkAmmo();
finished = 1;
}
}
movieClip 1042 td_legs {
frame 2 {
_root.effetti(this, _root.footstep);
}
frame 27 {
_root.effetti(this, _root.footstep);
}
}
movieClip 1044 td_legs_stand {
}
movieClip 1045 {
frame 1 {
this.onEnterFrame = function () {
this._rotation = _parent.chest._rotation;
};
}
}
movieClip 1046 {
frame 1 {
xc = (this.getBounds(_root)).xMin;
yc = (this.getBounds(_root)).yMin;
xm = _root._xmouse;
ym = _root._ymouse;
myRadians = Math.atan2(xm - xc, ym - yc);
myRotation = Math.abs(Math.floor(myRadians * 180 / Math.PI));
_parent.gotoAndStop(-45 + myRotation);
_parent.myRot = 0;
this.onEnterFrame = function () {
xc = (this.getBounds(_root)).xMin;
yc = (this.getBounds(_root)).yMin;
xm = _root._xmouse;
ym = _root._ymouse;
myRadians = Math.atan2(xm - xc, ym - yc);
myRotation = Math.floor(myRadians * 180 / Math.PI);
_parent.myRot = -myRotation + 180;
};
}
}
movieClip 1047 td_US {
frame 1 {
this.currentMelee = _root.current_melee;
this.speed = 2;
this.item = _root.current_weapon;
_root.td_swap_item(this);
this.currentChest = td_chest;
this.attachMovie(this.currentChest, 'chest', 11);
this.attachMovie('td_legs_stand', 'legs', 10);
this.attachMovie('td_coll', 'coll', 0);
this.state = 'stand';
this.chestState = 'stand';
shad = _root.scena.shadows.shadowClip;
inPausa = 0;
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
_root.deathCheck(this);
if (inPausa == 1) {
this.legs.play();
this.chest.play();
inPausa = 0;
}
_root.pl_y = (this.coll.getBounds(_root)).yMax;
this.cx_m = (this.coll.getBounds(_root)).xMin;
this.cx_x = (this.coll.getBounds(_root)).xMax;
_root.pl_x = this.cx_m + (this.cx_x - this.cx_m) / 2;
shad._x = this._x;
shad._y = this._y;
_root.td_meleeCheck(this);
_root.td_collisionWithZombie(this);
switch (this.chestState) {
case 'stand':
if (_root.fire == 1) {
this.attachMovie(td_chest_fire, 'chest', 11);
this.chestState = 'fire';
} else {
if (_root.reload == 1) {
_root.checkAmmo();
if (_root.checkedMags > 0 && _root.checkedAmmo < _root.actualItemMax) {
this.attachMovie(this.td_chest_reload, 'chest', 11);
this.chestState = 'reload';
} else {
if (_root.swap == 1) {
this.attachMovie('td_swap', 'chest', 11);
this.chestState = 'swap';
} else {
break;
case 'fire':
if (this.chest.finished == 1) {
_root.td_actionChestManagement(this);
this.chestState = 'stand';
} else {
break;
case 'reload':
if (this.chest.finished == 1) {
_root.td_actionChestManagement(this);
this.chestState = 'stand';
} else {
break;
case 'melee':
if (this.chest.finished == 1) {
_root.td_actionChestManagement(this);
this.chestState = 'stand';
} else {
break;
case 'swap':
if (this.chest.finished == 1) {
_root.td_swap_item(this);
_root.td_actionChestManagement(this);
this.chestState = 'stand';
} else {}
}
}
}
}
}
}
}
}
this.chest._rotation = this.myRot;
this.legs._rotation = this.myRot;
switch (this.state) {
case 'stand':
movement = _root.Dw + _root.Up + _root.Right + _root.Left;
if (movement != 0) {
this.state = 'walk';
this.attachMovie('td_legs', 'legs', 10);
this.legs._rotation = this.myRot;
_root.td_standChestManagement(this);
} else {
break;
case 'walk':
movement = _root.Dw + _root.Up + _root.Right + _root.Left;
if (movement == 0) {
this.attachMovie('td_legs_stand', 'legs', 10);
this.legs._rotation = this.myRot;
this.state = 'stand';
_root.td_standChestManagement(this);
} else {
if (_root.Up == 1) {
walkAngle = 0;
this._y -= this.speed;
}
if (_root.Dw == 1) {
walkAngle = 180;
this._y += this.speed;
}
if (_root.Left == 1) {
walkAngle = -90;
this._x -= this.speed;
}
if (_root.Right == 1) {
walkAngle = 90;
this._x += this.speed;
}
}
}
}
_root.td_bounds(this);
_root.wallColl(this);
} else {
inPausa = 1;
this.legs.stop();
this.chest.stop();
}
};
}
}
movieClip 1056 td_chest_ar15Fire {
frame 2 {
_root.tdGunShot(this, 8, 20);
_root.ar15Ammo -= 1;
_root.effetti(this, 'mp5');
_root.effetti(_parent, 'beretta');
}
frame 10 {
if (_root.fire == 1) {
this.gotoAndPlay(1);
} else {
this.finished = 1;
}
}
}
movieClip 1057 td_chest_ar15 {
}
movieClip 1058 td_chest_walk_ar15 {
frame 1 {
this.gotoAndPlay(_parent.legs._currentframe);
this.onEnterFrame = function () {
this.gotoAndPlay(_parent.legs._currentframe);
};
}
}
movieClip 1059 td_reload_ar15_chest {
frame 1 {
_root.effetti(this, 'change');
}
frame 12 {
_root.effetti(this, 'gun_mag_out');
}
frame 28 {
_root.effetti(this, 'gun_mag_in');
}
frame 39 {
_root.ar15ReloadFunction(this, _root.maxAr15Ammo);
}
frame 40 {
this.finished = 1;
}
}
movieClip 1064 td_chest_coltFire {
frame 2 {
_root.tdGunShot(this, 20);
_root.effetti(_parent, 'shotgun');
_root.coltAmmo -= 1;
}
frame 30 {
if (_root.fire == 1) {
this.gotoAndPlay(1);
} else {
this.finished = 1;
}
}
}
movieClip 1065 td_reload_colt_chest {
frame 1 {
_root.effetti(this, 'change');
}
frame 15 {
_root.effetti(this, 'gun_mag_out');
}
frame 42 {
_root.effetti(this, 'gun_mag_in');
}
frame 59 {
_root.coltReloadFunction(this, _root.maxColtAmmo);
}
frame 60 {
this.finished = 1;
}
}
movieClip 1066 td_chest_gun {
}
movieClip 1067 td_chest_gun_walk {
frame 1 {
this.gotoAndPlay(_parent.legs._currentframe);
this.onEnterFrame = function () {
this.gotoAndPlay(_parent.legs._currentframe);
};
}
}
movieClip 1068 td_chest_gunFire {
frame 2 {
_root.tdGunShot(this, 2, 30);
_root.effetti(_parent, 'beretta');
_root.gunAmmo -= 1;
}
frame 15 {
if (_root.fire == 1) {
this.gotoAndPlay(1);
} else {
this.finished = 1;
}
}
}
movieClip 1069 td_reload_gun_chest {
frame 1 {
_root.effetti(this, 'change');
}
frame 12 {
_root.effetti(this, 'gun_mag_out');
}
frame 33 {
_root.effetti(this, 'gun_mag_in');
}
frame 47 {
_root.gunReloadFunction(this, _root.maxGunAmmo);
}
frame 48 {
this.finished = 1;
}
}
movieClip 1072 td_chest_smg {
}
movieClip 1073 td_chest_smg_walk {
frame 1 {
this.gotoAndPlay(_parent.legs._currentframe);
this.onEnterFrame = function () {
this.gotoAndPlay(_parent.legs._currentframe);
};
}
}
movieClip 1076 td_chest_smgFire {
frame 2 {
_root.tdGunShot(this, 4, 20);
_root.mp5Ammo -= 1;
_root.effetti(this, 'mp5');
}
frame 7 {
if (_root.fire == 1) {
this.gotoAndPlay(1);
} else {
this.finished = 1;
}
}
}
movieClip 1077 td_reload_smg_chest {
frame 1 {
_root.effetti(this, 'change');
}
frame 12 {
_root.effetti(this, 'gun_mag_out');
}
frame 28 {
_root.effetti(this, 'gun_mag_in');
}
frame 39 {
_root.mp5ReloadFunction(this, _root.maxMp5Ammo);
}
frame 40 {
this.finished = 1;
}
}
movieClip 1080 td_chest_shotgun {
}
movieClip 1081 td_chest_shotgun_walk {
frame 1 {
this.gotoAndPlay(_parent.legs._currentframe);
this.onEnterFrame = function () {
this.gotoAndPlay(_parent.legs._currentframe);
};
}
}
movieClip 1086 td_chest_shotgunFire {
frame 2 {
_root.shotGunAmmo -= 1;
_root.effetti(_parent, 'shotgun');
}
frame 2 {
_root.tdShotGunShot(this);
}
frame 20 {
_root.effetti(this, 'kuklux');
}
frame 40 {
if (_root.fire == 1) {
this.gotoAndPlay(1);
} else {
this.finished = 1;
}
}
}
movieClip 1087 td_reload_shotgun_chest {
frame 1 {
_root.effetti(this, 'change');
rounds = _root.maxShotGunAmmo - _root.shotGunAmmo;
}
frame 17 {
_root.effetti(this, 'shotgun_load');
}
frame 28 {
if (_root.shotGunMags > 0) {
_root.shotGunAmmo += 1;
_root.shotGunMags -= 1;
rounds -= 1;
} else {
rounds = 0;
}
if (rounds == 0) {
this.play();
} else {
this.gotoAndPlay(12);
}
}
frame 42 {
_root.SGReloadFunction(this, _root.maxShotGunAmmo);
}
frame 43 {
this.finished = 1;
}
}
movieClip 1114 {
frame 1 {
this.onEnterFrame = function () {
_parent._parent.coll._x = (this.ph.getBounds(_parent._parent)).xMin;
_parent._parent.coll._y = (this.ph.getBounds(_parent._parent)).yMin;
};
}
frame 90 {
this.gotoAndPlay(1);
}
frame 91 {
play();
_root.bossBlood(this, 'zblood2', _parent._parent._y, 5);
}
frame 120 {
this.gotoAndPlay(1);
}
}
movieClip 1121 boss_attack_1 {
frame 180 {
this.finished = 1;
}
}
movieClip 1122 boss_attack_4 {
frame 1 {
rounds = 0;
}
frame 29 {
_root.scena.sprites.attachMovie('boss_bullet', 'cb' + _root.enemyLayer, _root.enemyLayer);
cb = eval('_root.scena.sprites.cb' + _root.enemyLayer);
cb.layerIndex = _root.layerIndex;
cb.z = _parent._y;
cb._x = (fp.getBounds(_root.scena.sprites)).xMin;
cb._y = (fp.getBounds(_root.scena.sprites)).yMin;
cb._xscale = _root.scaleIndex + 50;
cb._yscale = cb._xscale;
cb.dir = -1;
_root.refreshLayers(clip);
}
frame 50 {
if (rounds == 3) {
this.play();
} else {
rounds += 1;
this.gotoAndPlay(25);
}
}
frame 180 {
this.finished = 1;
}
}
movieClip 1123 boss_attack_2 {
frame 28 {
_root.effetti(this, 'swish');
}
frame 30 {
_root.enemyAttack(this, 15);
}
frame 180 {
this.finished = 1;
}
}
movieClip 1124 boss_attack_3 {
frame 30 {
bx = _root.US._x;
by = _root.US._y;
_root.generateFoe('boss_blade', bx, by);
}
frame 60 {
bx = _root.US._x;
by = _root.US._y;
_root.generateFoe('boss_blade', bx, by);
}
frame 90 {
bx = _root.US._x;
by = _root.US._y;
_root.generateFoe('boss_blade', bx, by);
}
frame 120 {
bx = _root.US._x;
by = _root.US._y;
_root.generateFoe('boss_blade', bx, by);
}
frame 180 {
this.finished = 1;
}
}
movieClip 1125 boss_spawn {
frame 30 {
_root.effetti(_parent, 'roar');
}
frame 101 {
this.finished = 1;
}
}
movieClip 1126 boss_bullet {
frame 1 {
this.xspeed = 4 + Math.random() * 16;
this._xscale = 100;
this._yscale = this._xscale;
this.rot = 5 + Math.random() * 20;
this.yspeed = -6;
this.layer = Math.ceil(this.z) * _root.totalLayers + this.layerIndex;
this.swapDepths(this.layer);
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
n = _root.np;
_root.scena.particles.attachMovie('blackPuke', 'bp' + n, n);
bp = eval('_root.scena.particles.bp' + n);
bp._x = this._x;
bp._y = this._y;
bp._xscale = _root.scaleIndex + 25;
bp._yscale = _root.scaleIndex + 25;
bp._rotation += Math.random() * 180;
_root.np += 1;
this.xspeed *= 0.98;
this.yspeed += 0.2;
this._rotation += this.rot;
this._x -= this.xspeed * this.dir;
this._y += this.yspeed;
if (this._y > this.z) {
this.removeMovieClip();
}
if (this.hitTest(_root.US.coll)) {
this.offset = this.z - _root.US._y;
if (Math.abs(this.offset) < 20) {
_root.effetti(_root.US, 'hit');
_root.energy -= 10;
_root.damage.attachMovie('damage', 'damage', 10);
this.removeMovieClip();
}
}
}
};
}
}
movieClip 1127 boss_hit {
frame 90 {
this.finished = 1;
}
}
movieClip 1128 boss_walk {
frame 90 {
this.finished = 1;
}
}
movieClip 1129 boss_death {
frame 1 {
time = 0;
this.onEnterFrame = function () {
if (_currentframe < 45) {
if (time == 5) {
_root.bossBlood(this.head, 'zblood2', _parent._y, 5);
time = 0;
} else {
time += 1;
}
}
};
}
frame 135 {
stop();
this.onEnterFrame = function () {
this._alpha -= 2;
if (this._alpha <= 0) {
_root.deleteFoe(_parent);
}
};
}
}
movieClip 1130 boss_stand {
frame 90 {
this.finished = 1;
}
}
movieClip 1131 boss_clip {
frame 1 {
this.b_stand = 'boss_stand';
this.b_spawn = 'boss_spawn';
this.b_attack_1 = 'boss_attack_1';
this.b_attack_2 = 'boss_attack_2';
this.b_attack_3 = 'boss_attack_3';
this.b_attack_4 = 'boss_attack_4';
this.b_walk = 'boss_walk';
this.b_hit = 'boss_hit';
this.b_death = 'boss_death';
this._xscale = -_root.scaleIndex;
this.energy = 500;
this.notKickable = 1;
this.state = 'spawn';
walks = 0;
this.pauseState = 0;
this.dead = 0;
_root.leftBound = this._x + 180;
this.attachMovie(this.b_spawn, 'chest', 10);
this.onEnterFrame = function () {
_root.swapLayer(this);
this.pdir = _root.US.dir;
this.px = _root.US._x;
this.py = _root.US._y;
if (_root.pausedGame == 0) {
_root.bossCollision(this);
if (this.energy <= 0 && this.dead == 0) {
this.dead = 1;
_root.leftBound = 90;
_root.boss = 2;
this.coll.removeMovieClip();
this.attachMovie(this.b_death, 'chest', 10);
this.state = 'death';
}
switch (this.state) {
break;
case 'pre_spawn':
case 'spawn':
if (this.chest.finished == 1) {
this.attachMovie('boss_coll', 'coll', 11);
this.attachMovie(this.b_stand, 'chest', 10);
this.state = 'stand';
}
break;
case 'stand':
if (this.chest.finished == 1) {
ran = Math.ceil(Math.random() * 5);
if (ran == 5 && walks < 4) {
walks += 1;
this.attachMovie(this.b_walk, 'chest', 10);
this.state = 'walk';
} else {
switch (ran) {
case 1:
currentAttack = this.b_attack_1;
break;
case 2:
currentAttack = this.b_attack_2;
break;
case 3:
currentAttack = this.b_attack_3;
break;
case 4:
currentAttack = this.b_attack_4;
}
this.attachMovie(currentAttack, 'chest', 10);
this.state = 'attack';
break;
case 'walk':
_root.leftBound = this._x + 180;
this._x += 0.5;
if (this.chest.finished == 1) {
this.attachMovie(this.b_stand, 'chest', 10);
this.state = 'stand';
}
break;
case 'hit':
if (this.chest.finished == 1) {
this.attachMovie(this.b_stand, 'chest', 10);
this.state = 'stand';
}
break;
case 'attack':
if (this.chest.finished == 1) {
this.attachMovie(this.b_stand, 'chest', 10);
this.state = 'stand';
}
break;
break;
case 'death':
case 'restore':
this.pauseState = 0;
this.chest.play();
this.state = this.lastState;
}
}
}
} else {
switch (pauseState) {
case 0:
this.chest.stop();
this.lastState = this.state;
this.state = 'restore';
this.pauseState = 1;
break;
case 1:
}
}
};
}
}
movieClip 1142 leaf {
frame 1 {
if (yspeed == undefined) {
xspeed = Math.random() * 1 + 1;
yspeed = Math.random() * 6 + 2;
this._xscale = 100 + yspeed * 10;
this._yscale = this._xscale;
}
this.onEnterFrame = function () {
this._x -= xspeed;
this._y += yspeed;
if ((this.getBounds(_root)).yMin >= 400) {
this.removeMovieClip();
}
};
}
}
movieClip 1143 z1 {
frame 1 {
z_spawn = 'zom1_spawn';
switch (_root.difficultyLevel) {
case 0:
this.energy = 30;
break;
case 1:
this.energy = 60;
}
if (_root.currentRoom == 'blood_corridor') {
z_spawn = 'zom1_fall';
this.energy -= 10;
}
z_stand = 'z1_stand';
z_kicked = 'z1_kicked';
z_death = 'z1_death3';
z_death2 = 'z1_death2';
z_stand2 = 'z1_stand';
z_walk = 'z1_walk';
z_headShot = 'z1_headShot';
z_attack = 'z1_attack';
z_hit0 = 'z1_hit0';
z_hit1 = 'z1_hit1';
z_hit_axe = 'z1_hit_axe';
this.customSpeed = 1 + Math.random() * 1.5;
if (this.customSpeed <= 1.5) {
z_walk = 'z1_walk';
} else {
z_walk = 'z1_walkFast';
}
this.pauseState = 0;
this.tempo = 0;
this.customReactionTime = 60 + Math.ceil(Math.random() * 120);
this.state = 'spawn';
_root.towardPlayer(this);
this.attachMovie(z_spawn, 'stand', 10);
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
_root.wallColl(this);
_root.bounds(this);
if (this.death != 1) {
if (this.energy <= 0) {
if (this.lastBullet == 3) {
this.attachMovie(z_death2, 'stand', 10);
} else {
this.attachMovie(z_death, 'stand', 10);
}
amount = Math.ceil(Math.random() * 5) + 1;
_root.releaseGold(this, 2);
this.death = 1;
this.coll.removeMovieClip();
this.state = 'death';
}
}
_root.swapLayer(this);
this.pdir = _root.US.dir;
this.px = _root.US._x;
this.py = _root.US._y;
this.dir = this._xscale / Math.abs(this._xscale);
_root.zCollision(this);
switch (this.state) {
case 'spawn':
if (this.stand.finished == 1) {
this.attachMovie(z_stand, 'stand', 10);
this.attachMovie('coll', 'coll', 11);
_root.speedCheck(this);
this.coll._height = 220;
this.state = 'stand';
}
break;
case 'stand':
if (Math.abs(px - this._x) <= 2000) {
this.attachMovie(z_walk, 'stand', 10);
_root.speedCheck(this, 40);
this.tempo = 0;
this.state = 'walk';
}
break;
case 'walk':
if (this.tempo >= this.customReactionTime) {
_root.speedCheck(this, 40);
this.tempo = 0;
} else {
this.tempo += 1;
}
this._x -= this.xspeed;
this._y -= this.yspeed;
if (Math.abs(px - this._x) < 100) {
if (Math.abs(py - this._y) < 10) {
_root.towardPlayer(this);
this.state = 'attack';
this.attachMovie(z_attack, 'stand', 10);
}
}
break;
case 'attack':
if (this.stand.finished == 1) {
this.state = 'stand2';
this.tempo = 0;
this.attachMovie(z_stand2, 'stand', 10);
}
break;
case 'stand2':
if (this.tempo >= 60) {
this.attachMovie(z_walk, 'stand', 10);
_root.speedCheck(this, 40);
this.state = 'walk';
this.tempo = 0;
} else {
this.tempo += 1;
}
break;
case 'hit1':
if (this.stand.finished == 1) {
_root.speedCheck(this, 40);
this.tempo = 0;
this.attachMovie(z_walk, 'stand', 10);
this.state = 'walk';
}
case 'kicked':
if (this.stand.finished == 1) {
_root.speedCheck(this, 40);
this.tempo = 0;
this.attachMovie(z_walk, 'stand', 10);
this.state = 'walk';
}
break;
case 'axeHit':
_root.releaseGold(this, 4);
this.death = 1;
this.coll.removeMovieClip();
this.state = 'death';
break;
case 'headShot':
_root.releaseGold(this, 8);
this.death = 1;
this.coll.removeMovieClip();
this.state = 'death';
break;
break;
case 'death':
case 'restore':
this.pauseState = 0;
this.stand.play();
this.state = this.lastState;
}
} else {
switch (pauseState) {
case 0:
this.stand.stop();
this.lastState = this.state;
this.state = 'restore';
this.pauseState = 1;
break;
case 1:
}
}
};
}
}
movieClip 1166 z1_walk {
frame 30 {
ran = Math.random() * 10;
if (ran >= 6) {
_root.effetti(this, 'z_groan_01');
}
}
}
movieClip 1167 z1_stand {
}
movieClip 1168 z1_hit1 {
frame 1 {
speed = Math.random() * 4 + 2;
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
speed *= 0.95;
_parent._x += speed * _parent.dir;
}
};
}
frame 30 {
this.finished = 1;
}
}
movieClip 1169 z1_kicked {
frame 1 {
speed = Math.random() * 8 + 4;
_root.effetti(this, 'z_groan_00');
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
speed *= 0.95;
_parent._x += speed * _parent.dir;
}
};
}
frame 30 {
this.finished = 1;
}
}
movieClip 1170 z1_attack {
frame 10 {
_root.effetti(_parent, 'z_groan_02');
}
frame 20 {
_root.enemyAttack(this, 2);
}
frame 45 {
_root.effetti(_parent, 'z_groan_02');
}
frame 50 {
_root.enemyAttack(this, 2);
}
frame 60 {
this.finished = 1;
}
}
movieClip 1171 z1_walkFast {
frame 15 {
_root.effetti(_parent, 'z_stagger');
}
frame 25 {
ran = Math.random() * 10;
if (ran >= 6) {
_root.effetti(this, 'z_groan_01');
}
}
frame 45 {
_root.effetti(_parent, 'z_stagger');
}
}
movieClip 1184 zom1_fall {
frame 1 {
fr = Math.ceil(Math.random() * 60);
this.gotoAndPlay(fr);
}
frame 75 {
_root.effetti(this, 'chaindrop');
}
frame 150 {
this.finished = 1;
}
}
movieClip 1186 zom1_spawn {
frame 108 {
this.finished = 1;
}
}
movieClip 1200 z1_hit_axe {
frame 5 {
_root.effetti(this, 'blood_splatter_00');
}
frame 144 {
stop();
_root.deleteFoe(_parent);
}
}
movieClip 1209 z1_death3 {
frame 1 {
_root.effetti(_parent, 'z_groan_00');
speed = Math.random() * 4 + 4;
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
speed *= 0.95;
_parent._x += speed * _parent.dir;
}
};
}
frame 35 {
_root.effetti(this, 'bodyfall');
}
frame 109 {
stop();
_root.deleteFoe(_parent);
}
}
movieClip 1214 z1_headShot {
frame 1 {
_root.effetti(this, 'blood_splatter_00');
}
frame 109 {
stop();
_root.deleteFoe(_parent);
}
}
movieClip 1221 z1_death2 {
frame 1 {
this.attachMovie('deadhead', 'dh', 1);
this.dh._y = -100;
speed = 5;
this.onEnterFrame = function () {
_parent._x += speed * _parent.dir;
speed *= 0.9;
};
this.l = _root.fpl;
_root.scena.floorParticles.attachMovie('bigBlood', 'fb' + this.l, this.l);
fb = eval('_root.scena.floorParticles.fb' + this.l);
fb.dir = _parent.dir;
fb._x = _parent._x;
fb._y = _parent._y;
_root.fpl += 1;
n = 0;
while (n <= 15) {
this.l = _root.np;
_root.scena.particles.attachMovie('zblood2', 'zb' + this.l, this.l);
zb = eval('_root.scena.particles.zb' + this.l);
zb.z = _parent._y;
zb._x = _parent._x;
zb._y = _parent._y - 100;
_root.np += 1;
zb.dir = _parent.dir;
++n;
}
}
frame 101 {
stop();
time = 0;
this.onEnterFrame = function () {
this._alpha -= 5;
if (this._alpha <= 0) {
_root.deleteFoe(_parent);
}
};
}
}
movieClip 1224 damage {
frame 1 {
this.onEnterFrame = function () {
this._alpha -= 5;
if (this._alpha <= 0) {
this.removeMovieClip();
}
};
}
}
movieClip 1249 HUD {
frame 1 {
this.onEnterFrame = function () {
this.nframe = _root.US.item + 1;
this.gotoAndStop(nframe);
};
}
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1252 ciccio_bullet {
frame 1 {
this.xspeed = 7;
this._xscale = 40 + Math.random() * 10;
this._yscale = this._xscale;
this.rot = 5 + Math.random() * 20;
this.yspeed = -2;
bounces = 0;
this.layer = Math.ceil(this.z) * _root.totalLayers + this.layerIndex;
this.swapDepths(this.layer);
this.onEnterFrame = function () {
this.xspeed *= 0.98;
this.yspeed += 0.2;
this._rotation += this.rot;
this._x -= this.xspeed * this.dir;
this._y += this.yspeed;
if (this._y > this.z) {
fpl = _root.fpl;
_root.scena.floorParticles.attachMovie('puke', 'puke' + fpl, fpl);
puke = eval('_root.scena.floorParticles.puke' + fpl);
puke._x = this._x;
puke._y = this.z;
_root.fpl += 1;
this.removeMovieClip();
}
if (this.hitTest(_root.US.coll)) {
this.offset = this.z - _root.US._y;
if (Math.abs(this.offset) < 10) {
_root.effetti(_root.US, 'hit');
_root.energy -= 2;
_root.damage.attachMovie('damage', 'damage', 10);
this.removeMovieClip();
}
}
};
}
}
movieClip 1259 ciccio_particle {
frame 1 {
this.xspeed = Math.random() * 6 - 3;
this.yspeed = -(5 + Math.random() * 5);
this._xscale = 50 * Math.random() + 10;
this._yscale = this._xscale;
fr = Math.ceil(Math.random() * 3);
this.gotoAndStop(fr);
this.onEnterFrame = function () {
this._x += this.xspeed * 0.98;
this._y += this.yspeed;
this.yspeed += 0.2;
this._rotation += this.xspeed * 2;
if (this._y >= this.z) {
this.removeMovieClip();
}
};
}
}
movieClip 1284 ciccio_attack {
frame 35 {
speed = 10;
this.onEnterFrame = function () {
speed *= 0.9;
_parent._x -= speed * _parent.dir;
};
}
frame 40 {
_root.enemyAttack(this, 10);
}
frame 70 {
finished = 1;
}
}
movieClip 1285 ciccio_attack2 {
frame 51 {
_root.effetti(this, 'burp');
}
frame 51 {
_root.scena.sprites.attachMovie('ciccio_bullet', 'cb' + _root.enemyLayer, _root.enemyLayer);
cb = eval('_root.scena.sprites.cb' + _root.enemyLayer);
cb.layerIndex = _root.layerIndex;
cb.z = _parent._y;
cb._x = (fp.getBounds(_root.scena.sprites)).xMin;
cb._y = (fp.getBounds(_root.scena.sprites)).yMin;
cb._xscale = _root.scaleIndex;
cb._yscale = cb._xscale;
cb.dir = _parent.dir;
_root.refreshLayers(clip);
}
frame 72 {
finished = 1;
}
}
movieClip 1286 ciccio_hit {
}
movieClip 1287 ciccio_stand {
}
movieClip 1297 ciccio_death {
frame 1 {
_root.enemyAttack(this, 20);
}
frame 1 {
_root.effetti(this, 'blood_splatter_00');
n = 0;
while (n < 20) {
np = _root.np;
_root.scena.particles.attachMovie('ciccio_particle', 'cp' + np, np);
cp = eval('_root.scena.particles.cp' + np);
cp.z = _parent._y;
cp._x = _parent._x;
cp._y = _parent._y - 20;
_root.np += 1;
++n;
}
np = _root.np;
_root.scena.particles.attachMovie('pow', 'pow' + np, np);
cp = eval('_root.scena.particles.pow' + np);
cp._x = _parent._x;
cp._y = _parent._y - 75;
cp._xscale = 50;
cp._yscale = cp._xscale;
_root.np += 1;
}
frame 141 {
stop();
_root.deleteFoe(_parent);
}
}
movieClip 1298 ciccio_walk {
frame 46 {
_root.effetti(this, 'heavystep');
}
frame 75 {
_root.effetti(this, 'heavystep');
}
}
movieClip 1299 ciccio_spawn {
frame 130 {
this.finished = 1;
}
}
movieClip 1302 puke {
frame 1 {
_root.effetti(this, 'squirt');
this._xscale = _root.scaleIndex;
this._yscale = this._xscale;
this.collInterval = 0;
this.onEnterFrame = function () {
if (this.collInterval > 0) {
this.collInterval -= 1;
} else {
if (this.hitTest(_root.US.coll)) {
this.offset = this._y - _root.US._y;
if (Math.abs(this.offset) < 20) {
_root.effetti(_root.US, 'hit');
_root.energy -= 2;
_root.damage.attachMovie('damage', 'damage', 10);
this.collInterval = 20;
}
}
}
this._alpha -= 1;
this._xscale += 0.2;
this._yscale = this._xscale;
if (this._alpha <= 0) {
this.removeMovieClip();
}
};
}
}
movieClip 1303 ciccio {
frame 1 {
z_spawn = 'ciccio_spawn';
z_stand = 'ciccio_stand';
z_death = 'ciccio_death';
z_walk = 'ciccio_walk';
z_attack = 'ciccio_attack';
z_attack2 = 'ciccio_attack2';
z_hit0 = 'ciccio_hit';
this.energy = 100;
this.tempo = 0;
this.pauseState = 0;
this.customSpeed = 1 + Math.random() * 0.4;
this.customReactionTime = 30 + Math.ceil(Math.random() * 30);
this.state = 'spawn';
this.attachMovie(z_spawn, 'stand', 10);
_root.towardPlayer(this);
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
_root.wallColl(this);
_root.bounds(this);
if (this.death != 1) {
if (this.energy <= 0) {
this.attachMovie(z_death, 'stand', 10);
this.death = 1;
this.coll.removeMovieClip();
this.state = 'death';
}
}
_root.swapLayer(this);
this.pdir = _root.US.dir;
this.px = _root.US._x;
this.py = _root.US._y;
this.dir = this._xscale / Math.abs(this._xscale);
_root.ciccioCollision(this);
switch (this.state) {
case 'spawn':
if (this.stand.finished == 1) {
this.attachMovie(z_stand, 'stand', 10);
this.attachMovie('coll', 'coll', 11);
_root.speedCheck(this);
this.coll._height = 260;
this.state = 'stand';
}
break;
case 'stand':
if (Math.abs(px - this._x) <= 1280) {
this.attachMovie(z_walk, 'stand', 10);
_root.speedCheck(this, 50);
this.tempo = 0;
this.state = 'walk';
}
break;
case 'walk':
if (this.tempo >= this.customReactionTime) {
_root.speedCheck(this, 50);
this.tempo = 0;
} else {
this.tempo += 1;
}
if (this.stand._currentframe > 39 && this.stand._currentframe < 75) {
this._x -= this.xspeed;
this._y -= this.yspeed;
} else {
this._x -= this.xspeed / 4;
this._y -= this.yspeed / 4;
}
if (this.stand._currentframe >= 89) {
this.ran = Math.random() * 10;
if (this.ran > 8) {
_root.towardPlayer(this);
this.state = 'attack';
this.attachMovie(z_attack2, 'stand', 10);
} else {
if (Math.abs(px - this._x) < 100) {
if (Math.abs(py - this._y) < 10) {
_root.towardPlayer(this);
this.state = 'attack';
this.attachMovie(z_attack, 'stand', 10);
}
}
break;
case 'attack':
if (this.stand._currentframe >= 70) {
this.state = 'stand2';
this.tempo = 0;
this.attachMovie(z_stand, 'stand', 10);
}
break;
case 'stand2':
if (this.tempo >= 90) {
this.attachMovie(z_walk, 'stand', 10);
_root.speedCheck(this, 50);
this.state = 'walk';
this.tempo = 0;
} else {
this.tempo += 1;
}
break;
case 'hit0':
if (this.stand._currentframe >= 30) {
_root.towardPlayer(this);
this.state = 'attack';
this.attachMovie(z_attack, 'stand', 10);
}
break;
case 'death':
case 'restore':
this.pauseState = 0;
this.stand.play();
this.state = this.lastState;
}
}
}
} else {
switch (pauseState) {
case 0:
this.stand.stop();
this.lastState = this.state;
this.state = 'restore';
this.pauseState = 1;
break;
case 1:
}
}
};
}
}
movieClip 1312 item_notification {
frame 1 {
stop();
}
frame 1 {
_root.effetti(this, 'otturatore');
if (this.supplyFrame < 4) {
numero = Math.round(this.quantity);
decine = Math.floor(numero / 10);
unita = numero - decine * 10;
fr1 = decine + 1;
fr2 = unita + 1;
this.attachMovie('piu', 'piu', 0);
this.attachMovie('number', 'n1', 1);
this.attachMovie('number', 'n2', 2);
this.piu._x += 10;
this.piu._y += 2;
this.n1._x += 22;
this.n2._x += 32;
this.n1.gotoAndStop(fr1);
this.n2.gotoAndStop(fr2);
}
}
frame 1 {
time = 0;
this.gotoAndStop(this.supplyFrame);
this.onEnterFrame = function () {
if (this.time >= 30) {
this._alpha -= 0.5;
this._y -= 0.2;
if (this._alpha <= 0) {
this.removeMovieClip();
}
} else {
time += 1;
}
};
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 1315 shotGun_ammo_pack {
frame 1 {
this.supplyGenre = 2;
_root.swapLayer(this);
this.onEnterFrame = function () {
if (this.coll.hitTest(_root.pl_x, _root.pl_y, true)) {
_root.shotGunMags += 6;
_root.gotItem(this, 6);
this.removeMovieClip();
}
};
this.attachMovie('shining', 'sh', 10);
}
}
movieClip 1316 NG_tank {
frame 1 {
this.supplyGenre = 4;
_root.swapLayer(this);
this.onEnterFrame = function () {
if (this.coll.hitTest(_root.pl_x, _root.pl_y, true)) {
_root.gold += 1;
_root.gotItem(this, 1);
this.removeMovieClip();
}
};
this.attachMovie('shining', 'sh', 10);
}
}
movieClip 1319 mp5_ammo_pack {
frame 1 {
this.supplyGenre = 1;
_root.swapLayer(this);
this.onEnterFrame = function () {
if (this.coll.hitTest(_root.pl_x, _root.pl_y, true)) {
_root.mp5Mags += 20;
_root.gotItem(this, 20);
this.removeMovieClip();
}
};
this.attachMovie('shining', 'sh', 10);
}
}
movieClip 1322 painkiller_ammo_pack {
frame 1 {
this.supplyGenre = 0;
_root.swapLayer(this);
this.onEnterFrame = function () {
if (this.coll.hitTest(_root.pl_x, _root.pl_y, true)) {
if (_root.energy <= 90) {
_root.energy += 10;
} else {
_root.energy = 100;
}
_root.gotItem(this, 10);
this.removeMovieClip();
}
};
this.attachMovie('shining', 'sh', 10);
}
}
movieClip 1325 gas_flame {
frame 1 {
speed = 3;
yspeed = Math.random() * 1 - 0.5;
rot = Math.random() * 10;
this._xscale = 20 + Math.random() * 20;
this._yscale = this._xscale;
stato = 1;
this.onEnterFrame = function () {
switch (stato) {
case 1:
speed *= 0.98;
this._x += speed;
this._y += yspeed;
this._xscale += 1.5;
this._yscale = this._xscale;
this._rotation += rot;
this._alpha -= 1;
if (this.speed <= 1) {
this.stato = 2;
}
break;
case 2:
this._xscale += 20;
this._yscale = this._xscale;
this._alpha -= 2;
this._x -= 2;
if (this._alpha <= 0) {
this.removeMovieClip();
}
}
};
}
frame 60 {
stop();
}
}
movieClip 1328 td_crate_piece {
frame 1 {
this._xscale = Math.random() * 40 + _root.scaleIndex / 10;
this._yscale = this._xscale;
speed = Math.random() * 12 - 6;
yspeed = Math.random() * 12 - 6;
time = 0;
this.onEnterFrame = function () {
speed *= 0.95;
yspeed *= 0.95;
this._x += speed;
this._y += yspeed;
this._rotation += speed;
this.time += 1;
if (this.time >= 180) {
this.removeMovieClip();
}
};
frame = Math.ceil(Math.random() * 30);
this.gotoAndStop(frame);
}
frame 90 {
stop();
}
}
movieClip 1331 td_crate_hit {
frame 7 {
this.removeMovieClip();
}
}
movieClip 1336 td_crate_break {
frame 1 {
l = 0;
while (l <= 10) {
n = _root.fpl;
_root.scena.floorParticles.attachMovie('td_crate_piece', 'par' + n, n);
par = eval('_root.scena.floorParticles.par' + n);
par._x = _parent._x;
par._y = _parent._y;
_root.fpl += 1;
++l;
}
genre = _parent.oggetto;
_root.td_pickable_generation(this, _parent._x, _parent._y, genre);
_root.deleteCrate(_parent);
}
frame 60 {
this.finished = 1;
}
}
movieClip 1338 td_crate_00 {
}
movieClip 1339 td_crate {
frame 1 {
this.state = 'stand';
this.energy = 10;
this.attachMovie('td_crate_00', 'obj', 10);
this.attachMovie('td_crateColl', 'coll', 9);
this.onEnterFrame = function () {
switch (this.state) {
case 'stand':
_root.tdCrateCollision(this);
if (this.energy <= 0) {
this.attachMovie('td_crate_break', 'obj', 10);
this.state = 'death';
this.tdch.removeMovieClip();
this.coll.removeMovieClip();
_root.effetti(this, 'wood');
}
break;
case 'death':
if (this.obj.finished == 1) {
this.removeMovieClip();
} else {}
}
};
}
}
movieClip 1340 tdz {
frame 1 {
this.energy = 30;
this.speed = Math.random() * 2 + 0.5;
this.walkClip = 'tdz_walk';
this.attackClip = 'tdz_attack';
this.hitClip = 'tdz_hit';
this.standClip = 'tdz_stand';
this.deathClip = 'tdz_death';
this.state = 'stand';
this.attachMovie(this.standClip, 'chest', 10);
this.attachMovie('tdz_coll', 'coll', 9);
this.pauseState = 0;
this.dead = 0;
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
_root.tdZCollision(this);
if (this.energy <= 0 && this.dead == 0) {
this.attachMovie(this.deathClip, 'chest', 10);
this.dead = 1;
this.coll.removeMovieClip();
this.state = 'death';
}
switch (this.state) {
case 'stand':
_root.diagonal(this);
if (this.dist < 500) {
this.state = 'walk';
this.attachMovie(this.walkClip, 'chest', 10);
} else {
break;
case 'walk':
_root.changeDirection(this);
_root.diagonal(this);
if (this.dist > 500) {
this.attachMovie(this.standClip, 'chest', 10);
this.state = 'stand';
} else {
if (this.dist < 100) {
this.attachMovie(this.attackClip, 'chest', 10);
this.state = 'attack';
} else {
this._x += this.xs;
this._y += this.ys;
break;
case 'attack':
if (this.chest.finished == 1) {
this.state = 'walk';
this.attachMovie(this.walkClip, 'chest', 10);
}
break;
case 'hit':
this._x -= this.xs;
this._y -= this.ys;
if (this.chest.finished == 1) {
this.state = 'stand';
this.attachMovie(this.standClip, 'chest', 10);
}
break;
case 'death':
break;
case 'restore':
this.pauseState = 0;
this.chest.play();
this.state = this.lastState;
}
}
}
}
_root.td_bounds(this);
_root.wallColl(this);
} else {
switch (pauseState) {
case 0:
this.chest.stop();
this.lastState = this.state;
this.state = 'restore';
this.pauseState = 1;
break;
case 1:
}
}
};
}
}
movieClip 1341 tdz_coll {
frame 1 {
this._visible = false;
}
}
movieClip 1350 {
}
movieClip 1353 {
}
movieClip 1358 tdz_attack {
frame 15 {
_root.effetti(_parent, 'z_groan_02');
}
frame 25 {
_root.tdEnemyAttack(this, 2);
}
frame 55 {
_root.effetti(_parent, 'z_groan_02');
}
frame 64 {
_root.tdEnemyAttack(this, 2);
}
frame 80 {
this.finished = 1;
}
}
movieClip 1359 tdz_hit {
frame 40 {
this.finished = 1;
}
}
movieClip 1360 tdz_death {
frame 1 {
_root.effetti(this, 'blood_splatter_00');
n = 0;
while (n <= 30) {
l = _root.np;
_root.scena.particles.attachMovie('bloodSpray', 'bs' + l, l);
bs = eval('_root.scena.particles.bs' + l);
bs._x = _parent._x;
bs._y = _parent._y;
_root.np += 1;
++n;
}
n = _root.fpl;
_root.scena.floorParticles.attachMovie('tdz_death_animation', 'tda' + n, n);
tda = eval('_root.scena.floorParticles.tda' + n);
tda._rotation = _parent._rotation;
tda._x = _parent._x;
tda._y = _parent._y;
tda._xscale = _parent._xscale;
tda._yscale = _parent._yscale;
_root.fpl += 1;
}
frame 60 {
stop();
_root.deleteFoe(_parent);
}
}
movieClip 1367 {
}
movieClip 1368 tdz_death_animation {
frame 100 {
stop();
}
}
movieClip 1381 tdz_walk {
}
movieClip 1382 tdz_stand {
}
button 1390 {
on (release) {
_root.wheel(this, 1);
}
}
button 1391 {
on (release) {
_root.wheel(this, 0);
}
}
button 1392 {
on (release) {
if (_root.td == 0) {
_root.wheel(this, 3);
} else {}
}
}
button 1393 {
on (release) {
_root.wheel(this, 2);
}
}
button 1394 {
on (release) {
_root.wheel(this, 4);
}
}
button 1395 {
on (release) {
_root.wheel(this, 5);
}
}
movieClip 1400 {
}
movieClip 1403 {
}
movieClip 1406 {
}
movieClip 1409 {
}
movieClip 1412 {
}
movieClip 1413 armor_wheel {
frame 1 {
l = _root.armory.length;
n = 0;
while (n < l) {
button = eval('w' + n);
item = eval('i' + n);
if (_root.armory[n] == 1) {
button._visible = true;
item._visible = true;
} else {
item._visible = false;
button._visible = false;
}
++n;
}
if (_root.td == 1 && _root.armory[3] == 1) {
i3._visible = false;
w3._visible = false;
}
}
}
movieClip 1418 {
}
movieClip 1421 surgery_front {
}
movieClip 1422 surgery {
frame 1 {
if (_root.miscelaPerMotore == 0) {
_root.placeObject(this, 'lighter_fluid', 282, 319, 100);
}
}
frame 1 {
_root.wallArray = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 302, 302, 302, 302, 301, 301, 301, 301, 300, 300, 300, 300, 299, 299, 299, 299, 298, 298, 298, 298, 297, 297, 297, 297, 296, 296, 296, 295, 295, 295, 295, 294, 294, 294, 294, 293, 293, 293, 293, 292, 292, 292, 292, 291, 291, 291, 291, 290, 290, 290, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 287, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 289, 289, 290, 290, 290, 291, 291, 292, 292, 292, 293, 293, 294, 294, 294, 295, 295, 295, 296, 296, 297, 297, 297, 298, 298, 299, 299, 299, 300, 300, 300);
_root.wallArray3 = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 320, 321, 321, 321, 321, 321, 321, 322, 322, 322, 322, 322, 322, 323, 323, 323, 323, 323, 323, 324, 324, 324, 324, 324, 324, 324, 325, 325, 325, 325, 325, 325, 326, 326, 326, 326, 326, 326, 327, 327, 327, 327, 327, 327, 327, 328, 328, 328, 328, 328, 328, 329, 329, 329, 329, 329, 329, 330, 330, 330, 330, 330, 330, 330, 331, 331, 331, 331, 331, 331, 331, 331, 331, 332, 332, 332, 332, 332, 332, 332, 332, 332, 333, 333, 333, 333, 333, 333, 333, 333, 333, 334, 334, 334, 334, 334, 334, 334, 334, 334, 335, 335, 335, 335, 335, 335, 335, 335, 335, 336, 336, 336, 336, 336, 336, 336, 336, 336, 337, 337, 337, 337, 337, 337, 337, 337, 337, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 337, 337, 337, 337, 337, 337, 337, 337, 337, 337, 337, 337, 337, 337, 337, 337, 337, 337, 337, 337, 337, 337, 337, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 331, 331, 331, 331, 330, 330, 330, 330, 329, 329, 329, 328, 328, 328, 328, 327, 327, 327, 326, 326, 326, 326, 325, 325, 325, 324, 324, 324, 324, 323, 323, 323, 322);
_root.leftBound = 110;
_root.rightBound = 290;
}
frame 1 {
}
instance int1 of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.testo = 'ok...';
this.nextRoom = 'blood_corridor';
this.x_start_position = 2116;
this.y_start_position = 334;
}
}
instance of movieClip 392 {
onClipEvent (load) {
this.testo = _root.testi[50];
}
}
}
movieClip 1425 surgery_masked {
}
movieClip 1426 black_particle {
frame 1 {
this._xscale = Math.random() * _root.scaleIndex + 10;
this._yscale = this._xscale;
}
}
movieClip 1429 stain {
frame 1 {
this._xscale = 100 * Math.random();
this._yscale = this._xscale;
this.onEnterFrame = function () {
this._xscale += 0.5;
this._yscale += 0.2;
this._alpha -= 1;
if (this._alpha <= 0) {
this.removeMovieClip();
}
};
}
}
movieClip 1430 bs_coll {
}
movieClip 1431 blackStain {
frame 1 {
z_spawn = 'bs_spawn';
z_stand = 'bs_stand';
z_death = 'bs_death';
z_death2 = 'bs_death2';
z_stand2 = 'bs_stand2';
z_walk = 'bs_walk';
z_walkFast = 'bs_walk2';
z_attack = 'bs_attack';
z_attack2 = 'bs_attack2';
z_hit0 = 'bs_hit0';
z_hit1 = 'bs_hit1';
z_hit_axe = 'bs_hit_axe';
this.energy = 100;
this.tempo = 0;
this.endurance = 0;
this.customSpeed = 0.2 + Math.random() * 0.5;
this.customReactionTime = 10 + Math.ceil(Math.random() * 10);
this.state = 'spawn';
this.pauseState = 0;
this.attachMovie(z_spawn, 'stand', 10);
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
_root.wallColl(this);
_root.bounds(this);
if (this.death != 1) {
if (this.energy <= 0) {
this.attachMovie(z_death, 'stand', 10);
this.death = 1;
this.coll.removeMovieClip();
this.state = 'death';
}
}
_root.swapLayer(this);
this.pdir = _root.US.dir;
this.px = _root.US._x;
this.py = _root.US._y;
this.dir = this._xscale / Math.abs(this._xscale);
_root.bsCollision(this);
switch (this.state) {
case 'spawn':
if (this.stand.finished == 1) {
this.attachMovie(z_stand, 'stand', 10);
this.attachMovie('bs_coll', 'coll', 11);
_root.speedCheck(this, 50);
this.state = 'stand';
}
break;
case 'stand':
if (Math.abs(px - this._x) <= 1280) {
this.tempo = 0;
this.attachMovie(z_walk, 'stand', 10);
_root.speedCheck(this, 50);
this.state = 'walk';
}
break;
case 'walk':
if (this.endurance >= 5) {
this.state = 'stand2';
this.tempo = 0;
this.attachMovie(z_stand2, 'stand', 10);
this.coll._yscale = 600;
} else {
if (this.tempo >= this.customReactionTime) {
_root.speedCheck(this, 50);
this.tempo = 0;
} else {
this.tempo += 1;
}
this._x -= this.xspeed;
this._y -= this.yspeed;
if (Math.abs(px - this._x) > 1280) {
this.state = 'stand';
this.attachMovie(z_stand, 'stand', 10);
} else {
if (Math.abs(px - this._x) < 200) {
if (Math.abs(py - this._y) < 10) {
_root.towardPlayer(this);
this.state = 'attack';
this.attachMovie(z_attack, 'stand', 10);
}
}
break;
case 'attack':
if (this.stand._currentframe >= 64) {
this.state = 'stand2';
this.tempo = 0;
this.attachMovie(z_stand2, 'stand', 10);
this.coll._yscale = 600;
}
case 'attack2':
if (this.stand.finished == 1) {
this.attachMovie(z_walk, 'stand', 10);
this.attachMovie('bs_coll', 'coll', 11);
this.tempo = 0;
_root.speedCheck(this, 50);
this.coll._yscale = 100;
this.state = 'walk';
}
break;
case 'stand2':
this.direzione = this._x - _root.US._x;
if (this.direzione >= 0) {
this._xscale = _root.scaleIndex;
} else {
this._xscale = -_root.scaleIndex;
}
if (this.stand.finished == 1) {
this.tempo = 0;
this.attachMovie(z_attack2, 'stand', 10);
_root.speedCheck(this, 50);
this.coll.removeMovieClip();
this.state = 'attack2';
} else {
break;
case 'hit0':
if (this.stand._currentframe >= 26) {
this.tempo = 0;
this.state = 'walk';
this.coll._yscale = 100;
this.attachMovie(z_walk, 'stand', 10);
}
break;
case 'hit1':
if (this.stand.finished == 1) {
this.tempo = 0;
this.coll._yscale = 100;
_root.speedCheck(this, 50);
this.state = 'walk';
this.attachMovie(z_walk, 'stand', 10);
}
break;
case 'death':
break;
case 'restore':
this.pauseState = 0;
this.stand.play();
this.state = this.lastState;
}
}
}
}
} else {
switch (this.pauseState) {
case 0:
this.stand.stop();
this.lastState = this.state;
this.state = 'restore';
this.pauseState = 1;
break;
case 1:
}
}
};
}
}
movieClip 1434 bs_stand {
}
movieClip 1435 bs_death {
frame 1 {
_root.effetti(this, 'groan');
}
frame 80 {
stop();
_root.deleteFoe(_parent);
}
}
movieClip 1436 bs_spawn {
frame 80 {
this.finished = 1;
}
}
movieClip 1437 bs_hit0 {
frame 1 {
n = 0;
while (n < 10) {
np = _root.np;
_root.scena.particles.attachMovie('blackstain_particle', 'bsp' + np, np);
bsp = eval('_root.scena.particles.bsp' + np);
bsp.z = _parent._y;
bsp._x = _parent._x;
bsp._y = _parent._y - 20;
_root.np += 1;
++n;
}
}
}
movieClip 1438 bs_walk {
frame 1 {
time = 0;
_parent.endurance = 0;
this.onEnterFrame = function () {
if (time > 8) {
n = _root.fpl;
bx = Math.random() * 100 - 50;
by = Math.random() * 20 - 10;
_root.scena.floorParticles.attachMovie('stain', 'bs' + n, n);
bs = eval('_root.scena.floorParticles.bs' + n);
bs._x = _parent._x + bx;
bs._y = _parent._y + by;
time = 0;
_root.fpl += 1;
} else {
time += 1;
}
};
}
frame 80 {
_parent.endurance += 1;
this.gotoAndPlay(2);
}
}
movieClip 1445 bs_attack {
frame 35 {
_root.enemyAttack(this, 5, 10);
}
}
movieClip 1450 bs_attack2 {
frame 65 {
_parent._x = _root.US._x;
_parent._y = _root.US._y + 1;
}
frame 156 {
_root.enemyAttack(this, 10, 10);
}
frame 193 {
this.finished = 1;
}
}
movieClip 1457 bs_stand2 {
frame 1 {
rounds = 0;
}
frame 120 {
rounds += 1;
if (rounds >= 3) {
this.gotoAndPlay(121);
} else {
this.gotoAndPlay(40);
}
}
frame 130 {
this.finished = 1;
}
}
movieClip 1458 bs_hit1 {
frame 1 {
_root.effetti(this, 'blood_splatter_00');
}
frame 1 {
n = 0;
while (n < 10) {
np = _root.np;
_root.scena.particles.attachMovie('blackstain_particle', 'bsp' + np, np);
bsp = eval('_root.scena.particles.bsp' + np);
bsp.z = _parent._y;
bsp._x = _parent._x;
bsp._y = _parent._y - 100;
_root.np += 1;
++n;
}
}
frame 45 {
this.finished = 1;
}
}
movieClip 1459 blackstain_particle {
frame 1 {
this.currentObj = 'black_particle';
this.xspeed = Math.random() * 4 - 2;
this.yspeed = -(2 + Math.random() * 2);
this.attachMovie(this.currentObj, 'obj', 10);
this.onEnterFrame = function () {
this._x += this.xspeed * 0.98;
this._y += this.yspeed;
this.yspeed += 0.2;
this._rotation += this.xspeed * 5;
if (this._y >= this.z) {
this.removeMovieClip();
}
};
}
}
movieClip 1467 spawner_wall {
}
movieClip 1470 valve {
}
movieClip 1473 lighter_fluid {
frame 1 {
_root.swapLayer(this);
this.onEnterFrame = function () {
if (this.coll.hitTest(_root.pl_x, _root.pl_y, true)) {
_root.armory[3] = 1;
_root.notificationPanel();
_root.messages.notificationPanel.testo = 'You picked up the SPECIAL LIGHTER!(Equip it in the guns menu)';
_root.miscelaPerMotore = 1;
this.removeMovieClip();
}
};
this.attachMovie('shining', 'sh', 10);
}
}
movieClip 1475 mp5_p {
frame 1 {
_root.swapLayer(this);
this.onEnterFrame = function () {
if (this.coll.hitTest(_root.pl_x, _root.pl_y, true)) {
_root.armory[1] = 1;
_root.smgRaccolto = 1;
_root.notificationPanel();
_root.messages.notificationPanel.testo = 'You got the MP5 SMG DEATHSQUAD EDITION!';
this.removeMovieClip();
}
};
this.attachMovie('shining', 'sh', 10);
}
}
movieClip 1477 ar15_p {
frame 1 {
_root.swapLayer(this);
this.onEnterFrame = function () {
if (this.coll.hitTest(_root.pl_x, _root.pl_y, true)) {
_root.armory[5] = 1;
_root.ar15Raccolto = 1;
_root.notificationPanel();
_root.messages.notificationPanel.testo = 'You got the SERIOUS RIFLE';
this.removeMovieClip();
}
};
this.attachMovie('shining', 'sh', 10);
}
}
movieClip 1479 colt {
frame 1 {
_root.swapLayer(this);
this.onEnterFrame = function () {
if (this.coll.hitTest(_root.pl_x, _root.pl_y, true)) {
_root.armory[4] = 1;
_root.coltRaccolta = 1;
_root.notificationPanel();
_root.messages.notificationPanel.testo = 'You got the 1911 FEVER';
this.removeMovieClip();
}
};
this.attachMovie('shining', 'sh', 10);
}
}
movieClip 1482 locker_key {
}
movieClip 1485 crowbar {
}
movieClip 1488 smoke_g {
}
movieClip 1491 crank {
}
movieClip 1494 roof_key {
}
movieClip 1495 generalItem {
frame 1 {
stop();
this.attachMovie(current_item, 'ogg', 10);
this.attachMovie('shining', 'sh', 12);
_root.swapLayer(this);
this.onEnterFrame = function () {
if (this.coll.hitTest(_root.pl_x, _root.pl_y, true)) {
_root.key_items.push(current_item);
_root.notificationPanel();
switch (current_item) {
case 'roof_key':
_root.chiaveSulTettoRaccolta = 1;
_root.messages.notificationPanel.testo = 'You picked up the KEY FOR THE APARTMENTS';
break;
case 'valve':
_root.valve = 1;
_root.messages.notificationPanel.testo = 'You picked up the TRIDODECAGONAL SECTION VALVE';
break;
case 'locker_key':
_root.locker_key = 1;
_root.messages.notificationPanel.testo = 'You picked up the EMERGENCY LOCKER KEY';
break;
case 'crowbar':
_root.crowbar = 1;
_root.messages.notificationPanel.testo = 'You picked up the BLOODY CROWBAR';
break;
case 'smoke_g':
_root.smoke_g = 1;
_root.messages.notificationPanel.testo = 'You picked up a SMOKE GRENADE';
break;
case 'crank':
_root.crank = 1;
_root.messages.notificationPanel.testo = 'You picked up a huge CRANK';
}
this.removeMovieClip();
}
};
}
}
movieClip 1498 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
_root.US.currentMelee = _parent.item_id;
_root.current_melee = _parent.item_id;
}
}
movieClip 1506 meleeBox {
}
movieClip 1509 {
}
movieClip 1511 itembox {
frame 1 {
_root.used_item = undefined;
this.onMouseUp = function () {
if (this._currentframe == 2) {
_root.used_item = this.item_id;
if (_root.used_item == _root.needed_item) {
l = _root.key_items.length;
n = 0;
while (n < l) {
if (_root.used_item == _root.key_items[n]) {
_root.messages.mainPanel.removeMovieClip();
_root.pointerState = 0;
_root.notificationPanel();
switch (_root.key_items[n]) {
case 'roof_key':
_root.messages.notificationPanel.testo = 'You used the KEY FOR THE APARTMENTS';
_root.chiaveSulTetto = 1;
break;
case 'valve':
_root.messages.notificationPanel.testo = 'You used the VALVE WITH VERY MESSED UP DIFFICULT SECTION';
_root.valvolaInserita = 1;
break;
case 'locker_key':
_root.messages.notificationPanel.testo = 'You used the EMERGENCY KEY';
_root.armadiettoAperto = 1;
break;
case 'crowbar':
_root.messages.notificationPanel.testo = 'You used the BLOODY CROWBAR';
_root.crowbarUsato = 1;
break;
case 'smoke_g':
_root.messages.notificationPanel.testo = 'You placed the SMOKE GRENADE';
_root.granataUsata = 1;
break;
case 'crank':
_root.messages.notificationPanel.testo = 'You used the CRANK';
_root.crankUsato = 1;
}
_root.key_items.splice(n, 1);
_root.needed_item = undefined;
_root.used_item = undefined;
_root.pausedGame = 0;
_root.pauseScreen.ps.removeMovieClip();
break;
}
++n;
}
}
}
};
this.onEnterFrame = function () {
mousex = _root._xmouse;
mousey = _root._ymouse;
if (this.hitTest(mousex, mousey, true)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
}
frame 1 {
stop();
}
frame 2 {
stop();
_root.effetti(this, 'bip');
}
}
movieClip 1515 mainPanel {
frame 10 {
stop();
}
frame 10 {
stop();
this.onMouseUp = function () {
if (_root.pausedGame == 0) {
switch (this.genre) {
case 'roomchange':
if (this.yes._currentframe == 2) {
_root.currentRoom = this.nextRoom;
_root.x_start_position = this.x_start_position;
_root.y_start_position = this.y_start_position;
_root.effetti(_root.doorSound, this.doorSound);
this.gotoAndStop(11);
_root.gotoAndPlay('refreshGame');
}
break;
case 'startEvent':
if (this.yes._currentframe == 2) {
eval(this.variabile) = 1;
if (this.testo2 != undefined) {
_root.notificationPanel();
_root.messages.notificationPanel.testo = this.testo2;
}
_root.pointerState = 0;
this.gotoAndStop(11);
}
break;
case 'pickUpObject':
if (this.yes._currentframe == 2) {
_root.key_items.push(this.current_item);
_root.notificationPanel();
if (current_item !== 'valve') {
} else {
_root.valve = 1;
_root.valvolaInserita = 0;
_root.messages.notificationPanel.testo = this.testo2;
}
_root.pointerState = 0;
this.gotoAndStop(11);
}
}
}
};
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
this._visible = true;
mousex = _root._xmouse;
mousey = _root._ymouse;
if (this.yes.coll.hitTest(mousex, mousey, true)) {
this.yes.gotoAndStop(2);
} else {
this.yes.gotoAndStop(1);
}
if (this.hitTest(_root.pointer.pointer)) {
_root.pointerState = 1;
} else {
_root.pointerState = 0;
}
} else {
this._visible = false;
}
};
}
frame 11 {
_root.pointerState = 0;
this.removeMovieClip();
}
}
movieClip 1519 notificationPanel {
frame 1 {
stop();
_root.effetti(this, 'done');
}
frame 1 {
stop();
timer = 0;
_root.pausedGame = 1;
this.onEnterFrame = function () {
this.timer += 1;
if (timer >= 180) {
this._alpha -= 5;
if (this._alpha <= 0) {
_root.pauseScreen.ps.removeMovieClip();
_root.effetti(this, 'menu_01');
_root.pointerState = 0;
_root.pausedGame = 0;
this.removeMovieClip();
}
}
};
}
}
movieClip 1525 {
}
button 1527 {
on (release) {
this.gotoAndStop(2);
}
}
button 1531 {
on (release) {
this.gotoAndStop(1);
}
}
button 1532 {
on (release) {
this.gotoAndStop(3);
}
}
button 1538 {
on (release) {
_root.gotoAndStop('quitGame');
}
}
movieClip 1540 inventory {
frame 1 {
stop();
}
frame 1 {
_root.effetti(this, 'menu_00');
level = 100;
n = 0;
while (n < 5) {
this.attachMovie('meleeBox', 'meleebox' + level, level);
meleeBox = eval('this.meleebox' + level);
meleeBox._x = 190 + n * 72;
meleeBox._y = 30;
if (_root.meleeArms[n] == 1) {
meleeBox.gotoAndStop(n + 2);
switch (n) {
case 0:
meleeBox.item_id = 'KNIFE';
break;
case 1:
meleeBox.item_id = 'AXE';
break;
case 2:
meleeBox.item_id = 'MANNAIA';
break;
case 3:
meleeBox.item_id = 'SWORD';
break;
case 4:
meleeBox.item_id = 'SCHYTHE';
}
if (meleeBox.item_id == _root.US.currentMelee) {
meleeBox.box.gotoAndStop(3);
}
} else {
meleeBox.item_id = undefined;
meleeBox.gotoAndStop(1);
}
level += 1;
++n;
}
level = 0;
l = _root.key_items.length;
n = 0;
while (n < 3) {
i = 0;
while (i < 8) {
this.attachMovie('itembox', 'itembox' + level, level);
itembox = eval('this.itembox' + level);
itembox._x = 28 + i * 72;
itembox._y = 170 + n * 66;
level += 1;
++i;
}
++n;
}
n = 0;
while (n < l) {
current_item = _root.key_items[n];
box = eval('this.itembox' + n);
box.attachMovie(current_item, 'current_item', 10);
box.item_id = current_item;
box.current_item._xscale = _root.scaleIndex;
box.current_item._yscale = _root.scaleIndex;
box.current_item._x = 32;
box.current_item._y = 48;
++n;
}
}
frame 1 {
this.onMouseDown = function () {
selectedBox = undefined;
mousex = _root._xmouse;
mousey = _root._ymouse;
n = 100;
while (n < 105) {
mBox = eval('this.meleebox' + n);
box = mBox.box;
if (box.hitTest(mousex, mousey, true) && mBox.item_id != undefined) {
selectedBox = n;
}
++n;
}
if (selectedBox != undefined) {
n = 100;
while (n < 105) {
mBox = eval('this.meleebox' + n);
box = mBox.box;
if (n == selectedBox) {
box.gotoAndStop(3);
} else {
box.gotoAndStop(1);
}
++n;
}
}
};
this.onEnterFrame = function () {
this.energyHud._alpha = 100 - _root.energy;
n = 100;
while (n < 105) {
mBox = eval('this.meleebox' + n);
if (mBox.box._currentframe != 3) {
mousex = _root._xmouse;
mousey = _root._ymouse;
if (mBox.box.hitTest(mousex, mousey, true)) {
mBox.box.gotoAndStop(2);
} else {
mBox.box.gotoAndStop(1);
}
}
++n;
}
};
}
frame 2 {
stop();
}
frame 2 {
_root.effetti(this, 'menu_00');
delete this.onEnterFrame;
livello = 100;
n = 0;
while (n < 5) {
boxToBeDeleted = eval('this.meleebox' + livello);
boxToBeDeleted.removeMovieClip();
livello += 1;
++n;
}
livello = 0;
n = 0;
while (n < 3) {
i = 0;
while (i < 8) {
itemboxTBD = eval('this.itembox' + livello);
trace(itemboxTBD);
this.itemboxTBD.removeMovieClip();
livello += 1;
++i;
}
++n;
}
}
frame 3 {
stop();
}
}
movieClip 1545 {
}
movieClip 1546 {
}
movieClip 1551 {
}
movieClip 1552 {
}
movieClip 1555 {
frame 1 {
this.rotationSpeed = 0;
if (_root.chiavettaCaduta == 1) {
if (_root.locker_key == 0) {
_root.releaseObject(this, 'locker_key', 450, 285);
}
}
this.onEnterFrame = function () {
if (_root.chiavettaCaduta == 0) {
if (this.rotationSpeed >= 10) {
_root.chiavettaCaduta = 1;
_root.releaseObject(this, 'locker_key', 450, 285);
}
}
if (this.rotationSpeed > 0) {
this.rotationSpeed -= 0.05;
} else {
this.rotationSpeed = 0;
}
this.fan_s.fan_s._rotation += this.rotationSpeed;
this.fan.fan._rotation += this.rotationSpeed;
n = 1;
while (n <= 4) {
this.shot = eval('_root.scena.sprites.shotPH.gS' + n);
if (this.hitTest(shot)) {
shot.removeMovieClip();
_root.effetti(this, 'metal_clang');
this.rotationSpeed += 2;
}
++n;
}
};
}
instance of movieClip 465 shining {
onClipEvent (enterFrame) {
if (_root.chiavettaCaduta == 1) {
this._visible = false;
}
}
}
}
movieClip 1556 hotel_room {
frame 1 {
_root.generateFoe('cop', 533, 286);
this.onEnterFrame = function () {
if (_root.locker_key == 1 && _root.zombieNellArmadio == undefined) {
_root.zombieNellArmadio = 1;
_root.resurrection = 1;
delete this.onEnterFrame;
}
};
}
frame 1 {
_root.wallArray = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 308, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 308, 308, 308, 308, 308, 308, 308, 307, 307, 307, 307, 307, 307, 307, 306, 306, 306, 306, 306, 306, 305, 305, 305, 305, 305, 305, 305, 304, 304, 304, 304, 304, 304, 304, 303, 303, 303, 303, 303, 303, 303, 302, 302, 302, 302, 302, 302, 301, 301, 301, 301, 301, 301, 301, 300, 300, 300, 300, 300, 300, 300, 299, 299, 299, 299, 299, 299, 298, 299, 299, 300, 300, 300, 301, 301, 301, 302, 302, 302, 303, 303, 303, 304, 304, 305, 305, 305, 306, 306, 306, 307, 307, 307, 308, 308, 308, 309, 309, 309, 310, 310, 311, 311, 311, 312, 312, 312, 313, 313, 313, 314, 314, 314, 315, 315, 316, 316, 316, 317, 317, 317, 318, 318, 318, 319, 319, 319, 320, 320, 320, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 320, 318, 317, 315, 313, 312, 310, 309, 307, 305, 304, 302, 300, 299, 297, 296, 294, 292, 291, 289, 287, 287, 287, 287, 287, 287, 287, 286, 286, 286, 286, 286, 286, 286, 285, 285, 285, 285, 285, 285, 285, 284, 284, 284, 284, 284, 284, 284, 283, 283, 283, 283, 283, 283, 283, 282, 282, 282, 282, 282, 282, 282, 281, 281, 281, 281, 281, 281, 281, 280, 280, 280, 280, 280, 280, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279);
_root.wallArray3 = new Array(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 328, 329, 329, 329, 329, 329, 329, 330, 330, 330, 330, 330, 330, 331, 331, 331, 331, 331, 331, 332, 332, 332, 332, 332, 332, 333, 333, 333, 333, 333, 333, 334, 334, 334, 334, 334, 334, 335, 335, 335, 335, 335, 335, 336, 336, 336, 336, 336, 336, 336, 337, 337, 337, 337, 337, 337, 338, 338, 338, 338, 338, 338, 339, 339, 339, 339, 339, 339, 340, 340, 340, 340, 340, 340, 341, 341, 341, 341, 341, 341, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 341, 341, 341, 340, 340, 340, 339, 339, 339, 338, 338, 338, 337, 337, 337, 336, 336, 336, 335, 335, 335, 334, 334, 334, 333, 333, 333, 333, 332, 332, 332, 331, 331, 331, 330, 330, 330, 329, 329, 329, 328, 328, 328, 327, 327, 327, 326, 326, 326, 325, 325, 325, 324, 322, 320, 318, 316, 313, 311, 309, 307, 305, 302, 300, 298, 296, 294, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291);
_root.leftBound = 117;
_root.rightBound = 592;
}
instance int2 of movieClip 323 interaction_area_floor {
onClipEvent (load) {
this.behaviour = 0;
this.nextRoom = 'hotel';
this.testo = _root.testi[45];
this.x_start_position = 690;
this.y_start_position = 297;
}
}
}
movieClip 1559 hotel_room_front {
}
movieClip 1560 {
frame 1 {
stop();
}
}
frame 3 {
stopAllSounds();
}
frame 4 {
_root.maskUnlocked = 0;
_root.coltUnlocked = 0;
_root.ar15Unlocked = 0;
if (_root.gold == undefined) {
_root.gold = 0;
}
_root.gameCompleted = 0;
}
frame 4 {
function effetti(clip, sfx) {
if (_root.sfxs == 1) {
clip.soundfx = new Sound(clip);
clip.soundfx.attachSound(sfx);
clip.soundfx.stop();
clip.soundfx.start(0, 0);
}
}
function effettoAmbiente(clip, target, sfx) {
if (_root.sfxs == 1) {
clip.Asoundfx = new Sound(target);
clip.Asoundfx.attachSound(sfx);
clip.Asoundfx.stop();
clip.Asoundfx.start(0, 999);
}
}
function musica(clip, target, sfx) {
if (_root.sfxs == 1) {
clip.soundTrack = new Sound(target);
clip.soundTrack.attachSound(sfx);
clip.soundTrack.stop();
clip.soundTrack.start(0, 999);
}
}
stop();
_root.sfxs = 1;
}
movieClip 1565 {
frame 1 {
}
frame 320 {
_root.gotoAndPlay(5);
}
}
frame 5 {
if (_root.gold >= 30) {
_root.maskUnlocked = 1;
}
if (_root.gameCompleted == 1) {
_root.coltUnlocked = 1;
}
if (_root.gold >= 20) {
_root.ar15Unlocked = 1;
}
_root.coltRaccolta = 0;
_root.ar15Raccolto = 0;
}
frame 5 {
stop();
Mouse.hide();
_root.intro = 0;
_root.musicState = 0;
currentSoundTrack = undefined;
_root.playerSpawning = 0;
}
frame 5 {
function initSpawn(clip, variabile) {
clip.totalZombies = 0;
if (variabile == 1) {
clip.stato = 'off';
} else {
clip.stato = 'attesa';
}
}
function runtimeSpawn(clip, tipo, variabile, foesOnScreen) {
switch (clip.stato) {
case 'attesa':
if (variabile == 1) {
_root.scena.sprites.attachMovie('spawner_wall', 'sw1', _root.enemyLayer);
clip.sw1 = _root.scena.sprites.sw1;
clip.sw1.layerIndex = _root.layerIndex;
clip.sw1._x = clip._x;
clip.sw1._y = clip._y;
clip.sw1._xscale = -90;
clip.sw1._yscale = 90;
_root.refreshLayers(clip);
_root.scena.sprites.attachMovie('spawner_wall', 'sw2', _root.enemyLayer);
clip.sw2 = _root.scena.sprites.sw2;
clip.sw2.layerIndex = _root.layerIndex;
clip.sw2._x = clip._x + clip._width;
clip.sw2._y = clip._y;
clip.sw2._xscale = 90;
clip.sw2._yscale = 90;
_root.refreshLayers(clip);
clip.stato = 'on';
}
break;
case 'on':
clip.l = _root.enemyArray.length;
clip.totalAmount = tipo.length;
if (clip.l < foesOnScreen && clip.totalZombies < clip.totalAmount) {
clip.ran = Math.random() * 10;
clip.xpos = clip._width - 400;
clip.zx = clip._x + 200 + Math.random() * clip.xpos;
clip.zy = (clip.getBounds(_root.scena.sprites)).yMin + Math.random() * clip._height;
_root.generateFoe(tipo[clip.totalZombies], clip.zx, clip.zy);
clip.totalZombies += 1;
}
if (clip.totalZombies >= clip.totalAmount) {
clip.sw1.removeMovieClip();
clip.sw2.removeMovieClip();
clip.stato = 'off';
}
break;
case 'off':
}
}
}
frame 5 {
function releaseObject(clip, oggetto, oggx, oggy) {
_root.scena.sprites.attachMovie('generalItem', 'ogg' + _root.enemyLayer, _root.enemyLayer);
clip.ogg = eval('_root.scena.sprites.ogg' + _root.enemyLayer);
clip.ogg.layerIndex = _root.layerIndex;
clip.ogg._x = oggx;
clip.ogg._y = oggy;
clip.ogg._xscale = _root.scaleIndex;
clip.ogg._yscale = _root.scaleIndex;
clip.ogg.current_item = oggetto;
_root.refreshLayers(clip);
}
function placeObject(clip, ogg, ogg_x, ogg_y, ogg_scale) {
_root.scena.sprites.attachMovie(ogg, 'ogg' + _root.enemyLayer, _root.enemyLayer);
clip.ogg = eval('_root.scena.sprites.ogg' + _root.enemyLayer);
clip.ogg.layerIndex = _root.layerIndex;
clip.ogg._x = ogg_x;
clip.ogg._y = ogg_y;
if (ogg_scale == undefined) {
clip.ogg._xscale = _root.scaleIndex;
clip.ogg._yscale = _root.scaleIndex;
} else {
clip.ogg._xscale = ogg_scale;
clip.ogg._yscale = ogg_scale;
}
_root.refreshLayers(clip);
}
function notificationPanel() {
_root.messages.attachMovie('notificationPanel', 'notificationPanel', 100);
_root.messages.notificationPanel._x = 12;
_root.messages.notificationPanel._y = 329;
}
function deathCheck(clip) {
if (_root.energy <= 0) {
_root.curtain.attachMovie('curtain_up', 'curtain', 0);
_root.gotoAndStop('death');
}
}
function meleeCheck(clip) {
clip.totalEnemies = _root.enemyArray.length;
tE = 0;
while (tE < clip.totalEnemies) {
clip.foe = _root.enemyArray[tE];
if (clip.coll2.hitTest(clip.foe.coll) && clip.foe.notKickable != 1) {
clip.pFO = Math.abs(clip._y - clip.foe._y);
if (clip.pFO < 20 && _root.melee == 1) {
if (clip.state == 'stand' || clip.state == 'walk') {
clip.busy = 1;
clip.chest.removeMovieClip();
clip.attachMovie('KICK', 'stand', 10);
clip.state = 'melee';
break;
}
}
}
++tE;
}
}
function restorePlayer(clip) {
clip.busy = 0;
clip.attachMovie('US_stand', 'stand', 10);
clip.state = 'stand';
clip.attachMovie(clip.standChest, 'chest', 11);
clip.chest._y = _root.yChest;
clip.chestState = 1;
}
function specialActions(clip) {
if (_root.swap == 1 && _root.pausedGame == 0) {
clip.busy = 1;
clip.chest.removeMovieClip();
clip.attachMovie('swapWeaponClip', 'stand', 10);
clip.state = 'swap';
_root.pausedGame = 1;
_root.pauseScreen.attachMovie('armor_wheel', 'ps', 10);
_root.pauseScreen.ps._x = 320;
_root.pauseScreen.ps._y = 200;
_root.effetti(this, 'menu_00');
_root.pointerState = 1;
_root.armorWheel = 1;
}
if (_root.Amelee == 1) {
clip.busy = 1;
clip.chest.removeMovieClip();
clip.attachMovie(clip.currentMelee, 'stand', 10);
clip.state = 'melee';
}
}
function swapItems(clip) {
clip.standChest = 'standChest_' + clip.item;
clip.walkChest = 'walkChest_' + clip.item;
clip.fireChest = 'aimChest_' + clip.item;
clip.aimChest = 'aimChest_' + clip.item;
clip.reloadChest = 'reloadChest_' + clip.item;
}
function wallColl(clip) {
l = _root.walls.length;
n = 0;
while (n < l) {
clip.wall = _root.walls[n];
clip.cym = (clip.wall.getBounds(_root.scena.sprites)).yMin;
clip.cyx = (clip.wall.getBounds(_root.scena.sprites)).yMax;
clip.cxm = (clip.wall.getBounds(_root.scena.sprites)).xMin;
clip.cxx = (clip.wall.getBounds(_root.scena.sprites)).xMax;
clip.wallW = (clip.cxx - clip.cxm) / 2;
clip.wallH = (clip.cyx - clip.cym) / 2;
clip.wx = clip.cxm + clip.wallW;
clip.wy = clip.cym + clip.wallH;
if (Math.abs(clip.wx - clip._x) < clip.wallW) {
if (Math.abs(clip.wy - clip._y) < clip.wallH) {
clip.xxdist = Math.abs(clip._x - clip.cxx);
clip.xmdist = Math.abs(clip._x - clip.cxm);
clip.yxdist = Math.abs(clip._y - clip.cyx);
clip.ymdist = Math.abs(clip._y - clip.cym);
if (clip._x < clip.wx) {
if (clip._y < clip.wy) {
if (clip.xmdist < clip.ymdist) {
clip._x = clip.cxm;
} else {
clip._y = clip.cym;
}
} else {
if (clip.xmdist < clip.yxdist) {
clip._x = clip.cxm;
} else {
clip._y = clip.cyx;
}
}
}
if (clip._x >= clip.wx) {
if (clip._y < clip.wy) {
if (clip.xxdist < clip.ymdist) {
clip._x = clip.cxx;
} else {
clip._y = clip.cym;
}
} else {
if (clip.xxdist < clip.yxdist) {
clip._x = clip.cxx;
} else {
clip._y = clip.cyx;
}
}
}
}
}
++n;
}
}
function bounds(clip) {
if (clip._x >= _root.rightBound) {
clip._x = _root.rightBound;
}
if (clip._x <= _root.leftBound) {
clip._x = _root.leftBound;
}
if (clip._y <= _root.wallArray[Math.floor(clip._x)]) {
clip._y = _root.wallArray[Math.floor(clip._x)];
}
if (clip._y >= _root.wallArray3[Math.floor(clip._x)]) {
clip._y = _root.wallArray3[Math.floor(clip._x)];
}
}
function td_bounds(clip) {
if (clip._y >= _root.lowerBound) {
clip._y = _root.lowerBound;
}
if (clip._y <= _root.upperBound) {
clip._y = _root.upperBound;
}
if (clip._x <= _root.wallArray[Math.floor(clip._y)]) {
clip._x = _root.wallArray[Math.floor(clip._y)];
}
if (clip._x >= _root.wallArray3[Math.floor(clip._y)]) {
clip._x = _root.wallArray3[Math.floor(clip._y)];
}
}
function gunReloadFunction(clip, max) {
_root.gunAmmo = max;
}
function coltReloadFunction(clip, max) {
if (_root.coltMags > 0) {
clip.ammoNeeded = max - _root.coltAmmo;
if (_root.coltMags >= clip.ammoNeeded) {
_root.coltAmmo = max;
_root.coltMags -= clip.ammoNeeded;
} else {
_root.coltAmmo += _root.coltMags;
_root.coltMags = 0;
}
}
}
function mp5ReloadFunction(clip, max) {
if (_root.mp5Mags > 0) {
clip.ammoNeeded = max - _root.mp5Ammo;
if (_root.mp5Mags >= clip.ammoNeeded) {
_root.mp5Ammo = max;
_root.mp5Mags -= clip.ammoNeeded;
} else {
_root.mp5Ammo += _root.mp5Mags;
_root.mp5Mags = 0;
}
}
}
function ar15ReloadFunction(clip, max) {
if (_root.ar15Mags > 0) {
clip.ammoNeeded = max - _root.ar15Ammo;
if (_root.ar15Mags >= clip.ammoNeeded) {
_root.ar15Ammo = max;
_root.ar15Mags -= clip.ammoNeeded;
} else {
_root.ar15Ammo += _root.ar15Mags;
_root.ar15Mags = 0;
}
}
}
function SGReloadFunction(clip, max) {
if (_root.shotGunMags > 0) {
clip.ammoNeeded = max - _root.shotGunAmmo;
if (_root.shotGunMags >= clip.ammoNeeded) {
_root.shotGunAmmo = max;
_root.shotGunMags -= clip.ammoNeeded;
} else {
_root.shotGunAmmo += _root.shotGunMags;
_root.shotGunMags = 0;
}
}
}
function lighterReloadFunction(clip, max) {
if (_root.lighterMags > 0) {
clip.ammoNeeded = max - _root.lighterAmmo;
if (_root.lighterMags >= clip.ammoNeeded) {
_root.lighterAmmo = max;
_root.lighterMags -= clip.ammoNeeded;
} else {
_root.lighterAmmo += _root.lighterMags;
_root.lighterMags = 0;
}
}
}
function checkAmmo() {
switch (_root.US.item) {
case 0:
_root.ammoLeft = _root.gunAmmo;
_root.magsLeft = _root.gunMags;
_root.actualItemMax = _root.maxGunAmmo;
break;
case 1:
_root.ammoLeft = _root.mp5Ammo;
_root.magsLeft = _root.mp5Mags;
_root.actualItemMax = _root.maxMp5Ammo;
break;
case 2:
_root.ammoLeft = _root.shotGunAmmo;
_root.magsLeft = _root.shotGunMags;
_root.actualItemMax = _root.maxShotGunAmmo;
break;
case 3:
_root.ammoLeft = _root.lighterAmmo;
_root.magsLeft = _root.lighterMags;
_root.actualItemMax = _root.maxLighterAmmo;
break;
case 4:
_root.ammoLeft = _root.coltAmmo;
_root.magsLeft = _root.coltMags;
_root.actualItemMax = _root.maxColtAmmo;
break;
case 5:
_root.ammoLeft = _root.ar15Ammo;
_root.magsLeft = _root.ar15Mags;
_root.actualItemMax = _root.maxAr15Ammo;
}
_root.actualItemMax = _root.actualItemMax;
_root.checkedAmmo = _root.ammoLeft;
_root.checkedMags = _root.magsLeft;
}
function bsCollision(clip) {
if (clip.coll.hitTest(_root.US.coll)) {
if (Math.abs(clip._y - _root.US._y) < 20) {
clip.region = clip._x - _root.US._x;
if (clip.region < 0) {
_root.US._x += 2;
} else {
_root.US._x -= 2;
}
}
}
clip.xbounds = (clip.coll.getBounds(_root)).xMax;
clip.mbounds = (clip.coll.getBounds(_root)).xMin;
if (clip.xbounds > 0 && clip.mbounds < 640) {
n = 1;
while (n <= 5) {
clip.shot = eval('_root.scena.sprites.shotPH.gS' + n);
if (clip.coll.hitTest(clip.shot)) {
if (Math.abs(clip.shot.z - clip._y) < 20) {
if (n == 5) {
if (clip.state == 'stand2') {
switch (clip.shot.shotType) {
case 'KICK':
clip.totalDamage = 10;
break;
case 'KNIFE':
clip.totalDamage = 30;
break;
case 'AXE':
clip.totalDamage = 50;
}
clip.attachMovie(clip.z_hit1, 'stand', 10);
clip.state = 'hit1';
} else {
clip.totalDamage = 0;
}
} else {
clip.totalDamage = 5 + clip.shot.power;
clip.attachMovie(clip.z_hit0, 'stand', 10);
_root.effetti(clip, 'squirt');
clip.state = 'hit0';
}
clip.coll._yscale = 100;
clip.energy -= clip.totalDamage;
_root.hitPointsDisplay(clip.totalDamage, clip._x, clip._y - 110);
clip.shot.removeMovieClip();
}
}
++n;
}
}
}
function ciccioCollision(clip) {
if (clip.coll.hitTest(_root.US.coll)) {
if (Math.abs(clip._y - _root.US._y) < 20) {
clip.region = clip._x - _root.US._x;
if (clip.region < 0) {
_root.US._x += 2;
} else {
_root.US._x -= 2;
}
}
}
clip.xbounds = (clip.coll.getBounds(_root)).xMax;
clip.mbounds = (clip.coll.getBounds(_root)).xMin;
if (clip.xbounds > 0 && clip.mbounds < 640) {
n = 1;
while (n <= 5) {
clip.shot = eval('_root.scena.sprites.shotPH.gS' + n);
if (clip.coll.hitTest(clip.shot)) {
if (Math.abs(clip.shot.z - clip._y) < 20) {
clip.aimToTheHead = 1;
clip.addDamage = 0;
if (n == 5) {
switch (clip.shot.shotType) {
case 'AXE':
clip.addDamage = 4;
break;
case 'KNIFE':
clip.addDamage = 2;
}
n = 0;
while (n <= 4) {
_root.zBlood(clip, 'zblood2', clip.shot.z);
++n;
}
if (clip.state != 'attack') {
clip.attachMovie(clip.z_hit0, 'stand', 10);
clip.state = 'hit0';
}
} else {
clip.headShot = Math.round(clip._y - clip.shot._y);
if (clip.headShot > 100) {
clip.aimToTheHead = 1;
} else {
clip.aimToTheHead = 0;
}
if (_root.focusedEnemy == clip) {
clip.aimPower = clip.shot.aimPower;
} else {
clip.aimPower = 0;
}
if (clip.aimPower >= 90 && clip.aimToTheHead == 1) {
clip.addDamage += 8;
n = 0;
while (n <= 5) {
_root.zBlood(clip, 'zblood2', clip.shot.z);
++n;
}
clip.attachMovie(clip.z_hit0, 'stand', 10);
clip.state = 'hit0';
} else {
clip.addDamage += 2;
}
}
clip.totalDamage = clip.shot.power + clip.addDamage;
clip.energy -= clip.totalDamage;
_root.zBlood(clip, 'zblood', clip.shot.z);
_root.zBlood(clip, 'zblood2', clip.shot.z);
_root.hitPointsDisplay(clip.totalDamage, clip._x, clip._y - 110);
clip.shot.removeMovieClip();
}
}
++n;
}
}
}
function bossBlood(clip, bloodType, clipZ, quantity) {
clip.n = 0;
while (clip.n < quantity) {
clip.l = _root.np;
_root.scena.particles.attachMovie(bloodType, 'zb' + clip.l, clip.l);
zb = eval('_root.scena.particles.zb' + clip.l);
zb.z = clipZ;
zb._x = (clip.ph.getBounds(_root.scena.particles)).xMax;
zb._y = (clip.ph.getBounds(_root.scena.particles)).yMax;
_root.np += 1;
++clip.n;
}
}
function bossCollision(clip) {
clip.xbounds = (clip.coll.getBounds(_root)).xMax;
clip.mbounds = (clip.coll.getBounds(_root)).xMin;
if (clip.xbounds > 0 && clip.mbounds < 640) {
n = 1;
while (n <= 5) {
clip.shot = eval('_root.scena.sprites.shotPH.gS' + n);
if (clip.coll.hitTest(clip.shot)) {
if (Math.abs(clip.shot.z - clip._y) < 20) {
clip.addDamage = 0;
if (n == 5) {
clip.aimPower = 0;
if (clip.state == 'attack') {
switch (clip.shot.shotType) {
case 'AXE':
clip.addDamage = 49;
break;
case 'KNIFE':
clip.addDamage = 29;
break;
case 'KICK':
clip.addDamage = 1;
}
clip.attachMovie(clip.b_hit, 'chest', 10);
clip.state = 'hit';
}
} else {
if (_root.focusedEnemy == clip) {
clip.aimPower = clip.shot.aimPower;
} else {
clip.aimPower = 0;
}
}
clip.totalDamage = 1 + clip.addDamage + Math.round(clip.aimPower / 10);
clip.energy -= clip.totalDamage;
clip.chest.head.gotoAndPlay(91);
_root.hitPointsDisplay(clip.totalDamage, clip._x, clip._y - 110);
clip.shot.removeMovieClip();
}
}
++n;
}
}
}
function infectedCollisions(clip) {
clip.xbounds = (clip.coll.getBounds(_root)).xMax;
clip.mbounds = (clip.coll.getBounds(_root)).xMin;
if (clip.xbounds > 0 && clip.mbounds < 640) {
if (clip.coll.hitTest(_root.US.coll)) {
clip.region = clip._x - _root.US._x;
if (clip.region < 0) {
_root.US._x += 2;
} else {
_root.US._x -= 2;
}
}
n = 1;
while (n <= 4) {
clip.shot = eval('_root.scena.sprites.shotPH.gS' + n);
if (clip.coll.hitTest(clip.shot)) {
clip.csy = clip.shot._y;
if (clip.csy <= clip._y - 70) {
clip.bodyPart = 'head';
clip.addDamage = 2;
} else {
clip.bodyPart = 'legs';
clip.addDamage = 0;
}
if (_root.focusedEnemy == clip) {
clip.aimPower = clip.shot.aimPower;
} else {
clip.aimPower = 0;
}
if (clip.aimPower > 70) {
clip.attachMovie(clip.z_kicked, 'stand', 10);
clip.state = 'kicked';
clip.addDamage += 1;
}
clip.totalDamage = clip.shot.power + clip.addDamage;
clip.energy -= clip.totalDamage;
_root.zBlood(clip, 'zblood', clip.shot.z);
_root.hitPointsDisplay(clip.totalDamage, clip._x, clip._y - 150);
clip.shot.removeMovieClip();
}
++n;
}
clip.shot = _root.scena.sprites.shotPH.gS5;
if (clip.coll.hitTest(clip.shot) && clip.state != 'kicked') {
switch (clip.shot.shotType) {
case 'AXE':
clip.totalDamage = clip.shot.power;
_root.zBlood(clip, 'zblood', clip.shot.z);
clip.shot.removeMovieClip();
break;
case 'KNIFE':
clip.totalDamage = clip.shot.power;
_root.zBlood(clip, 'zblood', clip.shot.z);
clip.shot.removeMovieClip();
break;
case 'KICK':
clip.totalDamage = clip.shot.power;
}
clip._xscale = -_root.US._xscale;
clip.attachMovie(clip.z_kicked, 'stand', 10);
if (clip.state == 'run') {
clip.state = 'kicked2';
} else {
clip.state = 'kicked';
}
clip.energy -= clip.totalDamage;
_root.hitPointsDisplay(clip.totalDamage, clip._x, clip._y - 150);
}
}
}
function speedCheck(clip, dist) {
if (clip._xscale > 0) {
clip.xgoal = clip.px + dist;
} else {
clip.xgoal = clip.px - dist;
}
clip.xdiff = clip._x - clip.xgoal;
clip.Radians = Math.atan2(clip.py - clip._y, clip.xgoal - clip._x);
clip.coseno = Math.cos(clip.Radians);
clip.seno = Math.sin(clip.Radians);
clip.xspeed = -clip.customSpeed * clip.coseno;
clip.yspeed = -clip.customSpeed * clip.seno;
clip._xscale = _root.scaleIndex * (clip.xdiff / Math.abs(clip.xdiff));
}
function reachPosition(clip, ref) {
clip.newX = ref._x + (Math.random() * 640 - 320);
clip.newY = ref._y + (Math.random() * 80 - 40);
clip.xdiff = clip._x - clip.newX;
clip.Radians = Math.atan2(clip.newY - clip._y, clip.newX - clip._x);
clip.coseno = Math.cos(clip.Radians);
clip.seno = Math.sin(clip.Radians);
clip.xspeed = -3 * clip.coseno;
clip.yspeed = -3 * clip.seno;
clip._xscale = _root.scaleIndex * (clip.xdiff / Math.abs(clip.xdiff));
}
function generateCrate(crate, fx, fy, genere, oggetto, indice) {
if (_root.totalCratesArray[indice] == 0) {
_root.scena.sprites.attachMovie(crate, 'crate' + _root.enemyLayer, _root.enemyLayer);
crate = eval('_root.scena.sprites.crate' + _root.enemyLayer);
crate.crateType = genere;
crate.oggetto = oggetto;
crate.layerIndex = _root.layerIndex;
crate._x = fx;
crate._y = fy;
crate.crateIndex = indice;
crate._xscale = _root.scaleIndex;
crate._yscale = _root.scaleIndex;
_root.refreshLayers(clip);
_root.crateArray.push(crate);
}
}
function deleteCrate(clip) {
clip.l = _root.crateArray.length;
nf = 0;
while (nf < clip.l) {
if (_root.crateArray[nf] == clip) {
_root.crateArray.splice(nf, 1);
break;
}
++nf;
}
_root.totalCratesArray[clip.crateIndex] = 1;
}
function sideScrolling(clip, sx, sy) {
if (_root.pausedGame == 0) {
if (_root.US.dir > 0) {
scrollPos = 450;
} else {
scrollPos = 200;
}
plx = (clip.coll.getBounds(_root)).xMax;
ply = (clip.coll.getBounds(_root)).yMax;
Xscene = _root.scena;
Xscene._x += Math.floor((scrollPos - plx) * 0.1);
if (Xscene._x > _root.scrollMin) {
Xscene._x = _root.scrollMin;
}
if (Xscene._x < _root.scrollMax) {
Xscene._x = _root.scrollMax;
}
if (_root.verticalScrollingAllowed == 1) {
Xscene._y += Math.floor((240 - ply) * 0.75);
if (Xscene._y > _root.yscrollMin) {
Xscene._y = _root.yscrollMin;
}
if (Xscene._y < _root.yscrollMax) {
Xscene._y = _root.yscrollMax;
}
}
_root.parallasse._x = _root.scena._x / 10;
_root.parallasse2._x = _root.scena._x / 5;
}
}
function tdGunShot(clip, power, duration) {
shot = 'td_shot';
_root.scena.sprites.attachMovie(shot, 'gS' + _root.tdShotLevel, _root.tdShotLevel);
clip.gS = eval('_root.scena.sprites.gS' + _root.tdShotLevel);
clip.fpx = (clip.fp1.getBounds(_root.scena)).xMax;
clip.fpy = (clip.fp1.getBounds(_root.scena)).yMin;
clip.fpx2 = (clip.fp2.getBounds(_root.scena)).xMax;
clip.fpy2 = (clip.fp2.getBounds(_root.scena)).yMin;
clip.gS._x = clip.fpx;
clip.gS._y = clip.fpy;
clip.gS.aimPower = _root.focusOnEnemy;
clip.gS.bullet_duration = duration;
clip.gS.power = power;
clip.myRadians = Math.atan2(clip.fpx - clip.fpx2, clip.fpy - clip.fpy2);
clip.myRotation = -(clip.myRadians * 180 / Math.PI) + 90;
clip.gS._rotation = clip.myRotation;
if (_root.tdShotLevel < 104) {
_root.tdShotLevel += 1;
} else {
_root.tdShotLevel = 101;
}
n = _root.np;
_root.scena.particles.attachMovie('gunshot_flame_small', 'par' + n, n);
clip.par = eval('_root.scena.particles.par' + n);
clip.par._xscale = _root.scaleIndex * (Math.random() * 3);
clip.par._yscale = clip.par._xscale;
clip.xoffset = Math.random() * 20 - 10;
clip.par._x = clip.fpx + clip.xoffset;
clip.par._y = clip.fpy;
clip.par._rotation = clip.myRotation;
_root.np += 1;
}
function tdShotGunShot(clip) {
clip.shot = 'td_shot';
clip.n = 101;
while (clip.n <= 104) {
_root.scena.sprites.attachMovie(clip.shot, 'gS' + clip.n, clip.n);
clip.gS = eval('_root.scena.sprites.gS' + clip.n);
clip.fpx = (clip.fp1.getBounds(_root.scena)).xMax;
clip.fpy = (clip.fp1.getBounds(_root.scena)).yMin;
clip.fpx2 = (clip.fp2.getBounds(_root.scena)).xMax;
clip.fpy2 = (clip.fp2.getBounds(_root.scena)).yMin;
clip.gS._x = clip.fpx;
clip.gS._y = clip.fpy;
clip.gS.power = 5;
clip.gS.aimPower = _root.focusOnEnemy;
clip.gS.bullet_duration = 10;
clip.myRadians = Math.atan2(clip.fpx - clip.fpx2, clip.fpy - clip.fpy2);
clip.myRotation = -(clip.myRadians * 180 / Math.PI) + 90;
clip.spread = Math.random() * 90 - 45;
switch (clip.n) {
case 101:
clip.spread = -10;
break;
case 102:
clip.spread = -5;
break;
case 103:
clip.spread = 5;
break;
case 104:
clip.spread = 10;
}
clip.gS._rotation = clip.myRotation + clip.spread;
n = _root.np;
_root.scena.particles.attachMovie('gunshot_flame_small', 'par' + n, n);
clip.par = eval('_root.scena.particles.par' + n);
clip.par._xscale = _root.scaleIndex * (Math.random() * 3);
clip.par._yscale = clip.par._xscale;
clip.xoffset = Math.random() * 20 - 10;
clip.par._x = clip.fpx + clip.xoffset;
clip.par._y = clip.fpy;
clip.par._rotation = clip.myRotation;
_root.np += 1;
++clip.n;
}
}
function topDownScrolling(clip, sx, sy) {
if (_root.pausedGame == 0) {
clip.mainRot = Math.abs(Math.ceil(_root.US.chest._rotation));
clip.YscrollPos = 320 - clip.mainRot;
scrollPos = 320;
plx = (clip.coll.getBounds(_root)).xMax;
ply = (clip.coll.getBounds(_root)).yMax;
Xscene = _root.scena;
Xscene._x += Math.floor((scrollPos - plx) * 0.1);
if (Xscene._x > _root.scrollMin) {
Xscene._x = _root.scrollMin;
}
if (Xscene._x < _root.scrollMax) {
Xscene._x = _root.scrollMax;
}
Xscene._y += Math.floor((clip.YscrollPos - ply) * 0.2);
if (Xscene._y <= -1200) {
Xscene._y = -1200;
}
if (Xscene._y >= 0) {
Xscene._y = 0;
}
}
}
function td_generateCrate(crate, fx, fy, oggetto, layer, indice) {
if (_root.totalCratesArray[indice] == 0) {
_root.scena.sprites.attachMovie(crate, 'crate' + layer, layer);
crate = eval('_root.scena.sprites.crate' + layer);
crate.crateType = genere;
crate.oggetto = oggetto;
crate._x = fx;
crate._y = fy;
crate.crateIndex = indice;
crate._xscale = _root.scaleIndex;
crate._yscale = _root.scaleIndex;
_root.crateArray.push(crate);
}
}
function tdCrateCollision(clip, ct) {
clip.xbounds = (clip.coll.getBounds(_root)).xMax;
clip.mbounds = (clip.coll.getBounds(_root)).xMin;
if (clip.xbounds > 0 && clip.mbounds < 640) {
i = 101;
while (i <= 105) {
clip.shot = eval('_root.scena.sprites.gS' + i);
if (clip.coll.hitTest(clip.shot)) {
if (i == 105) {
clip.energy -= 15;
} else {
clip.energy -= 5;
}
clip.attachMovie('td_crate_hit', 'tdch', 11);
_root.effetti(clip, 'impact');
clip.shot.removeMovieClip();
}
++i;
}
}
}
function td_pickable_generation(clip, fx, fy, genere) {
clip.layer = _root.fpl;
_root.scena.floorParticles.attachMovie('td_pickable', 'tdp' + clip.layer, clip.layer);
clip.tdp = eval('_root.scena.floorParticles.tdp' + clip.layer);
clip.tdp.oggetto = genere;
clip.tdp._x = fx;
clip.tdp._y = fy;
clip.tdp._xscale = _root.scaleIndex - 10;
clip.tdp._yscale = _root.scaleIndex - 10;
_root.fpl += 1;
}
function td_generateZombie(zombie, fx, fy) {
layer = _root.enemyLayer;
_root.scena.sprites.attachMovie(zombie, 'tdz' + layer, layer);
zom = eval('_root.scena.sprites.tdz' + layer);
zom._x = fx;
zom._y = fy;
zom._xscale = _root.scaleIndex - 12;
zom._yscale = _root.scaleIndex - 12;
_root.enemyArray.push(zom);
_root.enemyLayer += 1;
}
function diagonal(clip) {
clip.xdist = clip._x - _root.US._x;
clip.ydist = clip._y - _root.US._y;
clip.pitagora = clip.xdist * clip.xdist + clip.ydist * clip.ydist;
clip.dist = Math.sqrt(clip.pitagora);
}
function changeDirection(clip) {
clip.xc = clip._x;
clip.yc = clip._y;
clip.myRadians = Math.atan2(_root.US._x - clip.xc, _root.US._y - clip.yc);
clip.myRotation = Math.floor(clip.myRadians * 180 / Math.PI);
clip._rotation = -clip.myRotation + 180;
clip.xs = clip.speed * Math.cos(((clip._rotation - 90) / 180) * Math.PI);
clip.ys = clip.speed * Math.sin(((clip._rotation - 90) / 180) * Math.PI);
}
function tdZCollision(clip) {
clip.ybounds = (clip.coll.getBounds(_root)).yMax;
clip.mbounds = (clip.coll.getBounds(_root)).yMin;
if (clip.ybounds > 0 && clip.mbounds < 400) {
i = 101;
while (i <= 105) {
clip.shot = eval('_root.scena.sprites.gS' + i);
if (clip.coll.hitTest(clip.shot)) {
if (i == 105) {
clip.energyLoss = clip.shot.power;
clip.state = 'hit';
clip.attachMovie(clip.hitClip, 'chest', 10);
} else {
if (_root.focusedEnemy == clip) {
clip.aimPower = clip.shot.aimPower;
} else {
clip.aimPower = 0;
}
if (clip.aimPower >= 70) {
clip.energyLoss = 10 + clip.shot.power;
} else {
clip.energyLoss = clip.shot.power;
}
}
clip.energy -= clip.energyLoss;
_root.hitPointsDisplay(clip.energyLoss, clip._x, clip._y);
clip.nb = 0;
while (clip.nb <= 1) {
clip.l = _root.fpl;
_root.scena.floorParticles.attachMovie('td_blood_floor', 'tdbf' + clip.l, clip.l);
clip.tdbf = eval('_root.scena.floorParticles.tdbf' + clip.l);
clip.tdbf._xscale = _root.scaleIndex;
clip.tdbf._yscale = _root.scaleIndex;
clip.tdbf._x = clip._x + Math.random() * 100 - 50;
clip.tdbf._y = clip._y + Math.random() * 100 - 50;
_root.fpl += 1;
++clip.nb;
}
clip.l = _root.np;
_root.scena.particles.attachMovie('td_blood', 'tdb' + clip.l, clip.l);
clip.tdb = eval('_root.scena.particles.tdb' + clip.l);
clip.tdb._x = clip._x;
clip.tdb._y = clip._y;
clip.tdb._rotation = Math.random() * 360;
_root.np += 1;
_root.effetti(clip, 'punch');
clip.shot.removeMovieClip();
}
++i;
}
}
}
function td_meleeCheck(clip) {
clip.totalCrates = _root.crateArray.length;
tc = 0;
while (tc < clip.totalCrates) {
clip.crate = _root.crateArray[tc];
if (clip.coll2.hitTest(clip.crate.coll) && _root.melee == 1) {
if (clip.chestState == 'stand' || clip.chestState == 'fire') {
clip.currentMelee = _root.current_melee;
switch (clip.currentMelee) {
case 'KNIFE':
clip.attachMovie('td_melee', 'chest', 11);
break;
case 'AXE':
clip.attachMovie('td_melee_axe', 'chest', 11);
}
clip.chestState = 'melee';
break;
}
}
++tc;
}
clip.totalEnemies = _root.enemyArray.length;
tc = 0;
while (tc < clip.totalEnemies) {
clip.foe = _root.enemyArray[tc];
if (clip.coll2.hitTest(clip.foe.coll) && _root.melee == 1) {
if (clip.chestState == 'stand' || clip.chestState == 'fire') {
clip.currentMelee = _root.current_melee;
switch (clip.currentMelee) {
case 'KNIFE':
clip.attachMovie('td_melee', 'chest', 11);
break;
case 'AXE':
clip.attachMovie('td_melee_axe', 'chest', 11);
}
clip.chestState = 'melee';
break;
}
}
++tc;
}
}
function td_collisionWithZombie(clip) {
clip.totalEnemies = _root.enemyArray.length;
clip.ncolls = 0;
clip.nz = 0;
while (clip.nz < clip.totalEnemies) {
clip.zombie = _root.enemyArray[clip.nz];
if (clip.coll.hitTest(clip.zombie.coll) == true) {
clip.ncolls += 1;
}
++clip.nz;
}
if (clip.ncolls > 0) {
clip.speed = 1;
} else {
clip.speed = 3;
}
}
function td_standChestManagement(clip) {
if (clip.chestState == 'stand') {
if (clip.state == 'walk') {
clip.currentChest = clip.td_chest_walk;
}
if (clip.state == 'stand') {
clip.currentChest = clip.td_chest;
}
clip.attachMovie(clip.currentChest, 'chest', 11);
clip.chest._rotation = clip.myRot;
}
}
function td_actionChestManagement(clip) {
if (clip.state == 'walk') {
clip.currentChest = clip.td_chest_walk;
}
if (clip.state == 'stand') {
clip.currentChest = clip.td_chest;
}
clip.attachMovie(clip.currentChest, 'chest', 11);
clip.chest._rotation = clip.myRot;
}
function td_swap_item(clip) {
switch (clip.item) {
case 0:
clip.td_chest = 'td_chest_gun';
clip.td_chest_walk = 'td_chest_gun_walk';
clip.td_chest_fire = 'td_chest_gunFire';
clip.td_chest_reload = 'td_reload_gun_chest';
break;
case 1:
clip.td_chest = 'td_chest_smg';
clip.td_chest_walk = 'td_chest_smg_walk';
clip.td_chest_fire = 'td_chest_smgFire';
clip.td_chest_reload = 'td_reload_smg_chest';
break;
case 2:
clip.td_chest = 'td_chest_shotgun';
clip.td_chest_walk = 'td_chest_shotgun_walk';
clip.td_chest_fire = 'td_chest_shotgunFire';
clip.td_chest_reload = 'td_reload_shotgun_chest';
break;
case 4:
clip.td_chest = 'td_chest_gun';
clip.td_chest_walk = 'td_chest_gun_walk';
clip.td_chest_fire = 'td_chest_coltFire';
clip.td_chest_reload = 'td_reload_colt_chest';
break;
case 5:
clip.td_chest = 'td_chest_ar15';
clip.td_chest_walk = 'td_chest_walk_ar15';
clip.td_chest_fire = 'td_chest_ar15Fire';
clip.td_chest_reload = 'td_reload_ar15_chest';
break;
default:
clip.td_chest = 'td_chest_gun';
clip.td_chest_walk = 'td_chest_gun_walk';
clip.td_chest_fire = 'td_chest_gunFire';
clip.td_chest_reload = 'td_reload_gun_chest';
}
}
function backWalk(clip) {
clip.side = _root.scena.sprites._xmouse - clip._x;
if (clip.side > 0) {
clip._xscale = -_root.scaleIndex;
if (_root.Left == 1) {
clip.currentWalk = 0;
}
if (_root.Right == 1) {
clip.currentWalk = 1;
}
if (_root.Right + _root.Left == 0) {
clip.currentWalk = 1;
}
} else {
clip._xscale = _root.scaleIndex;
if (_root.Left == 1) {
clip.currentWalk = 2;
}
if (_root.Right == 1) {
clip.currentWalk = 3;
}
if (_root.Right + _root.Left == 0) {
clip.currentWalk = 2;
}
}
if (clip.lastWalk != clip.currentWalk) {
switch (clip.currentWalk) {
case 0:
clip.attachMovie('US_moonwalk', 'stand', 10);
clip.lastWalk = 0;
break;
case 1:
clip.attachMovie('US_walk', 'stand', 10);
clip.lastWalk = 1;
break;
case 2:
clip.attachMovie('US_walk', 'stand', 10);
clip.lastWalk = 2;
break;
case 3:
clip.attachMovie('US_moonwalk', 'stand', 10);
clip.lastWalk = 3;
}
}
}
function crateCollision(clip, ct) {
clip.xbounds = (clip.coll.getBounds(_root)).xMax;
clip.mbounds = (clip.coll.getBounds(_root)).xMin;
if (clip.xbounds > 0 && clip.mbounds < 640) {
i = 1;
while (i <= 5) {
clip.shot = eval('_root.scena.sprites.shotPH.gS' + i);
if (clip.coll.hitTest(clip.shot)) {
if (Math.abs(clip.shot.z - clip._y) < 20) {
clip.attachMovie(clip.currentObjHit, 'cOH', 12);
switch (ct) {
case 1:
if (i == 5 && clip.shot.shotType == 'AXE') {
clip.energy -= 10;
}
_root.effetti(clip, 'impact');
clip.shot.removeMovieClip();
break;
break;
default:
if (i == 5) {
clip.energy -= 10;
} else {
clip.energy -= 5;
}
_root.effetti(clip, 'impact');
clip.shot.removeMovieClip();
}
}
}
++i;
}
}
}
_quality = 'high';
_root.difficultyLevel = 0;
_root.autoreload = 1;
_root.scaleIndex = 50;
_root.np = 11;
_root.fpl = 0;
_root.currentRoom = 'tutorial_0';
_root.x_start_position = 300;
_root.y_start_position = 300;
arrays;
_root.needed_item = undefined;
_root.used_item = undefined;
_root.key_items = new Array();
keydown = new Object();
keydown.onKeyDown = function () {
key_pressed = Key.getCode();
switch (key_pressed) {
case 82:
_root.reload = 1;
break;
case 70:
_root.swap = 1;
}
};
keydown.onKeyUp = function () {
_root.aim = 0;
_root.reload = 0;
_root.swap = 0;
};
Key.addListener(keydown);
_root.testi = new Array();
_root.testi.push('A chopper...What the hell is it doing here?. Dollar bills and shells are spread everywhere, someone fucked up a transaction.');
_root.testi.push('Someone\'s still here...');
_root.testi.push('This guy is not looking good, and his heavy breathing\'s making me nervous.');
_root.testi.push('He\'s dead... Looks like his face\' been ripped off. This sucks... ');
_root.testi.push('Something\'s burning here. Smells like a human burger...');
_root.testi.push('A huge water tank. It\'s almost empty, Villa Infierno\'s desert is a bitch.');
_root.testi.push('The whole town looks deserted, like swallowed by silence.');
_root.testi.push('A blood stained mattress, there\'s also a dealer\'s note: \'I\'ll go to hell by my own, you bastards! you\'ll never have the key!\'.He should be the same guy is roasting back there...');
_root.testi.push('I am a cop, not an electrician...');
_root.testi.push('A big fat padlock. Bullets won\'t even scratch this thing, I need to find the key.');
_root.testi.push('Stairs are gone, once I\'ll be down there I won\'t be able to come back up here.');
_root.testi.push('This door has an electronic lock. Need to find a way in...');
_root.testi.push('I\'ll need a 5 digits code to unlock this damn thing.');
_root.testi.push('Bingo! The door is finally unlocked...');
_root.testi.push('This door is heavily barred...For a good reason I guess. I\'ll leave it as it is.');
_root.testi.push('Fresh blood in the sink. And something else I don\'t wanna know...');
_root.testi.push('A gas loss. Need something to stop it.');
_root.testi.push('Remove the valve?');
_root.testi.push('I could cut from here to other side of the building.');
_root.testi.push('A bunch of science school books. I hated them when I was a school kid. Still hate\'em..');
_root.testi.push('This painting is creepy...Won\'t give a dollar bill for that');
_root.testi.push('Someone split his head in 2 with an axe. I could use it to break through those wooden barricades');
_root.testi.push('Elevator doors are stuck. I need a tool...');
_root.testi.push('I could climb down the wires to the first floor');
_root.testi.push('A ladder for the attic. A smell of death is comin\' down from that dirty hole, it\'s disgusting...');
_root.testi.push('Dan Hicks of the HTPD special team...He wasn\'t supposed to be here. Danny, you ain\'t special anymore.');
_root.testi.push('Back down to the elevator room?');
_root.testi.push('Something is missing here, some kind of lever I think.');
_root.testi.push('I can see a lever! Better act quickly...');
_root.testi.push('Damn lever...');
_root.testi.push('Some diary pages are scattered here on the floor. This one reads: \'Find the lighter...Find that damn lighter! I lost it in the surgery, I bet it\'s still there. And remember: it\'s not a common lighter, you\'ll see things only the dead can see\'');
_root.testi.push('A tough locker with 2 locks, one is connected to the emergency light. the panel reads:\'Emergency lock ON\'');
_root.testi.push('A red light is flashing. the panel on the lock reads:\'Emergency lock OFF\'');
_root.testi.push('Wait, there\'s something here...');
_root.testi.push('Tape, a gas mask and a pack of chewing gum. Nothing else useful here.');
_root.testi.push('The door is stuck, would need a tool to open it.');
_root.testi.push('It\'s a toilet, I should check it');
_root.testi.push('Back into the dark?');
_root.testi.push('Another hole in the wall here...');
_root.testi.push('Back into the hole?');
_root.testi.push('\'Emergency ladder will lower in case of fire\'');
_root.testi.push('Climb?');
_root.testi.push('This door is tightly shut, no reason to investigate further.');
_root.testi.push('It\'s open...');
_root.testi.push('I heard a sound...I should check this apartment..');
_root.testi.push('Back to the corridor?');
_root.testi.push('A desk used to stash and dose cocaine.');
_root.testi.push('An AK here! Damn, it\'s broken....');
_root.testi.push('Cocaine and bullets are scattered on the floor, they had a hell of a party here...');
_root.testi.push('Nothing\'s left here except the bones and some bloodstains, those monsters are looking for human meals. ');
_root.testi.push('These tools are rusted and dirty. A message here reads: \'Last specimen didn\'t give good results. Next test 5:30 AM. Try with the Z_102.\' ');
_root.testi[51] = 'This dude doesn\'t look good. No emblems on the uniform...He looks to be a mercenary. This thing stinks...';
_root.testi[52] = 'Thank god, he\'s dead...';
_root.testi[53] = 'I think I should follow these red flares...';
_root.testi[54] = 'A ladder to the roof...';
_root.testi[55] = 'Back down onto the streets?';
_root.testi[56] = 'Bald Heads? They must be some sort of gang or religious order. What a mess... ';
_root.testi[57] = 'Damn! The door is shut..';
_root.testi[58] = 'No emblems...He looks like a mercenary. Something\'s not right here... ';
_root.testi[59] = 'Didn\'t know the army was involved in the operation. Still can\'t figure out what the hell is happening here.. ';
_root.testi[60] = 'An arcade machine. There\'s no coin slot, it looks more like a card reader.';
_root.testi[61] = 'I am sure there was a forest here just few seconds ago...';
_root.testi[62] = 'It\'s the ghost town we were looking for, I thought it didn\'t exist. Funny name anyway...';
_root.testi[63] = 'A huge piece of junk. Unless it has pedals it won\'t move.';
_root.orda_td = undefined;
_root.ordaAscensore = undefined;
_root.crank = 0;
_root.crankUsato = 0;
_root.cancelloAperto = 0;
_root.firstSequence = undefined;
_root.portaDiLegno = 0;
_root.fuocoSpento = 0;
_root.chiaveSulTettoRaccolta = 0;
_root.chiaveSulTetto = 0;
_root.asciaSulCadavere = 0;
_root.barricata = 0;
_root.smgRaccolto = 0;
_root.smgZombies = 0;
_root.miscelaPerMotore = 0;
_root.levaTirata = 0;
_root.pannelloCodice1 = 0;
_root.valve = 0;
_root.valvolaInserita = 0;
_root.zombieNellArmadio = undefined;
_root.chiavettaCaduta = 0;
_root.locker_key = 0;
_root.armadiettoAperto = 0;
_root.shotgunRaccolto = 0;
_root.smoke_g = 0;
_root.granataUsata = 0;
_root.m_card = 0;
_root.cartaUsata = 0;
_root.crowbar = 0;
_root.crowbarUsato = 0;
_root.boss = 0;
_root.bossUcciso = 0;
_root.barricataEsplosa = 0;
_root.orda1 = 0;
_root.orda2 = 0;
_root.orda4 = 0;
_root.totalCratesArray = new Array(200);
tc = 0;
while (tc < 200) {
_root.totalCratesArray[tc] = 0;
++tc;
}
}
frame 5 {
function gotItem(clip, qtt) {
clip.n = _root.np;
_root.scena.particles.attachMovie('item_notification', 'in' + clip.n, clip.n);
clip.sup = eval('_root.scena.particles.in' + clip.n);
clip.sup._xscale = 75;
clip.sup._yscale = 75;
clip.sup.supplyFrame = clip.supplyGenre + 1;
clip.sup.quantity = qtt;
clip.sup._x = clip._x;
clip.sup._y = clip._y - 50;
_root.np += 1;
}
_root.current_weapon = 0;
_root.selected_item = 0;
_root.current_melee = 'KNIFE';
_root.armory = new Array(1, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_root.meleeArms = new Array(1, 0, 0, 0, 0);
_root.gunTorch_On = 0;
_root.gunAmmo = 0;
_root.maxGunAmmo = 11;
_root.shotGunAmmo = 12;
_root.maxShotGunAmmo = 12;
_root.shotGunMags = 12;
_root.mp5Ammo = 40;
_root.maxMp5Ammo = 40;
_root.mp5Mags = 40;
_root.coltAmmo = 11;
_root.maxColtAmmo = 11;
_root.coltMags = 110;
_root.ar15Ammo = 21;
_root.maxAr15Ammo = 21;
_root.ar15Mags = 210;
_root.lighterAmmo = 100;
_root.maxLighterAmmo = 100;
_root.lighterMags = 100;
}
frame 5 {
function generateFoe(foe, fx, fy) {
_root.scena.sprites.attachMovie(foe, 'foe' + _root.enemyLayer, _root.enemyLayer);
foe = eval('_root.scena.sprites.foe' + _root.enemyLayer);
foe.layerIndex = _root.layerIndex;
foe._x = fx;
foe._y = fy;
foe._xscale = _root.scaleIndex;
foe._yscale = _root.scaleIndex;
_root.refreshLayers(clip);
_root.enemyArray.push(foe);
}
function deleteFoe(clip) {
clip.l = _root.enemyArray.length;
nf = 0;
while (nf < clip.l) {
if (_root.enemyArray[nf] == clip) {
_root.enemyArray.splice(nf, 1);
clip.removeMovieClip();
break;
}
++nf;
}
}
function enemyAttack(clip, gauge, range) {
if (clip.coll.hitTest(_root.US.coll)) {
clip.offset = clip._parent._y - _root.US._y;
if (range == undefined) {
range = 20;
}
if (Math.abs(clip.offset) < range) {
_root.effetti(clip, 'hit');
_root.energy -= gauge;
_root.damage.attachMovie('damage', 'damage', 10);
}
}
}
function tdEnemyAttack(clip, gauge, range) {
if (clip.coll.hitTest(_root.US.coll)) {
_root.effetti(clip, 'hit');
_root.energy -= gauge;
_root.damage.attachMovie('damage', 'damage', 10);
}
}
function collisionWithPlayer(clip, range) {
if (clip.coll.hitTest(_root.US.coll)) {
if (Math.abs(clip._y - _root.US._y) < range) {
clip.region = clip._x - _root.US._x;
if (clip.region < 0) {
_root.US._x += 2;
} else {
_root.US._x -= 2;
}
}
}
}
function towardPlayer(clip) {
if (_root.US._x < clip._x) {
clip._xscale = _root.scaleIndex;
} else {
clip._xscale = -_root.scaleIndex;
}
}
function zCollision(clip) {
_root.collisionWithPlayer(clip, 10);
clip.xbounds = (clip.coll.getBounds(_root)).xMax;
clip.mbounds = (clip.coll.getBounds(_root)).xMin;
if (clip.xbounds > 0 && clip.mbounds < 640) {
n = 1;
while (n <= 4) {
clip.shot = eval('_root.scena.sprites.shotPH.gS' + n);
if (clip.coll.hitTest(clip.shot)) {
if (Math.abs(clip.shot.z - clip._y) < 20) {
csMAX = (clip.shot.getBounds(clip)).yMax;
csMIN = (clip.shot.getBounds(clip)).yMin;
csPos = Math.abs(csMIN + (csMAX - csMIN) / 2);
collH = Math.abs((clip.coll.getBounds(clip)).yMin);
collPortion = collH / 6;
if (csPos >= collPortion * 5) {
clip.bodyPart = 'head';
clip.addDamage = 10;
} else {
if (csPos >= collPortion * 3) {
clip.bodyPart = 'chest';
clip.addDamage = 4;
} else {
clip.bodyPart = 'legs';
clip.addDamage = 1;
}
}
clip.csc = clip.stand._currentframe;
if (clip.state == 'walk') {
clip.stand.gotoAndPlay(clip.csc - 10);
clip._x += 5 * clip.dir;
}
if (_root.focusedEnemy == clip) {
clip.aimPower = clip.shot.aimPower;
} else {
clip.aimPower = 0;
}
if (clip.aimPower >= 50) {
clip.addDamage += 2;
n = 0;
while (n <= 1) {
_root.zBlood(clip, 'zblood2', clip.shot.z);
++n;
}
clip.attachMovie(clip.z_hit1, 'stand', 10);
clip.state = 'hit1';
}
if (clip.aimPower >= 90) {
clip.addDamage += 4;
n = 0;
while (n <= 3) {
_root.zBlood(clip, 'zblood2', clip.shot.z);
++n;
}
if (clip.bodyPart == 'head') {
clip.attachMovie(clip.z_headShot, 'stand', 10);
clip.state = 'headShot';
} else {
clip.attachMovie(clip.z_hit1, 'stand', 10);
clip.state = 'hit1';
}
}
clip.lastBullet = clip.shot.shotType;
clip.totalDamage = clip.shot.power + clip.addDamage;
clip.energy -= clip.totalDamage;
_root.zBlood(clip, 'zblood', clip.shot.z);
_root.hitPointsDisplay(clip.totalDamage, clip._x, clip._y - 150);
clip.shot.removeMovieClip();
}
}
++n;
}
}
clip.shot = _root.scena.sprites.shotPH.gS5;
if (clip.coll.hitTest(clip.shot) && clip.state != 'kicked') {
if (Math.abs(clip.shot.z - clip._y) < 20) {
switch (clip.shot.shotType) {
case 'KICK':
clip._xscale = -_root.US._xscale;
clip.addDamage = 0;
clip.attachMovie(clip.z_kicked, 'stand', 10);
clip.state = 'kicked';
clip.totalDamage = 1;
break;
case 'KNIFE':
n = 0;
while (n <= 3) {
_root.zBlood(clip, 'zblood2', clip.shot.z);
++n;
}
clip.attachMovie(clip.z_hit1, 'stand', 10);
clip.state = 'hit1';
clip.totalDamage = clip.shot.power + 5;
clip.shot.removeMovieClip();
break;
case 'AXE':
_root.US.attachMovie('AXE2', 'stand', 10);
clip.attachMovie(clip.z_hit_axe, 'stand', 10);
clip._x = _root.US._x - 118 * _root.US.dir;
clip._y = _root.US._y - 1;
clip._xscale = -_root.scaleIndex * _root.US.dir;
clip.state = 'axeHit';
n = 0;
while (n <= 9) {
_root.zBlood(clip, 'zblood2', clip.shot.z);
++n;
}
clip.totalDamage = clip.shot.power + 80;
clip.shot.removeMovieClip();
}
clip.lastBullet = clip.shot.shotType;
clip.energy -= clip.totalDamage;
_root.hitPointsDisplay(clip.totalDamage, clip._x, clip._y - 150);
}
}
}
}
frame 5 {
function pendolo(clip, target, radius) {
clip.pox = target._x;
clip.poy = target._y;
clip.gap = (clip.pox - clip._x) / 20;
clip.angularSpeed = clip.angularSpeed * clip.accel + clip.gap * 0.9;
clip.rot -= (clip.angularSpeed / 180) * Math.PI;
clip.xAx = Math.cos(clip.rot) * radius;
clip.yAx = Math.sin(clip.rot) * radius;
clip._x = clip.pox + clip.xAx;
clip._y = clip.poy + clip.yAx;
}
_root.lamp_frameRate = 2;
}
movieClip 1573 {
}
button 1580 {
on (release) {
getURL('http://www.newgrounds.com', '_blank');
}
}
movieClip 1586 {
}
movieClip 1589 {
}
movieClip 1592 {
frame 1 {
stop();
}
}
movieClip 1595 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
button 1598 {
on (release) {
getURL('http://www.newgrounds.com/games', '_blank');
}
}
button 1599 {
on (release) {
getURL('http://www.newgrounds.com/collection/zombiegames', '_blank');
}
}
movieClip 1606 {
}
movieClip 1607 {
frame 1 {
stop();
this.onEnterFrame = function () {
if (_currentframe != 3) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
};
}
frame 2 {
stop();
}
}
// unknown tag 88 length 191
// unknown tag 88 length 196
movieClip 1626 {
frame 1 {
stop();
sta = 0;
opt = 0;
focus = -1000;
if (_root.defaultParameters == undefined) {
controlsState = 1;
soundState = 1;
qualityState = 3;
gameState = 2;
_root.controlsState = controlsState;
_root.soundState = soundState;
_root.qualityState = qualityState;
_root.gameState = gameState;
_root.defaultParameters = 1;
} else {
controlsState = _root.controlsState;
soundState = _root.soundState;
qualityState = _root.qualityState;
gameState = _root.gameState;
}
this.onMouseDown = function () {
n = 1;
while (n <= 2) {
q = eval('this.q' + n);
if (q._currentframe == 2) {
switch (q) {
case q1:
controlsState = 1;
q1.v._visible = true;
q2.v._visible = false;
break;
case q2:
controlsState = 2;
q1.v._visible = false;
q2.v._visible = true;
}
_root.controlsState = controlsState;
}
++n;
}
n = 3;
while (n <= 4) {
q = eval('this.q' + n);
if (q._currentframe == 2) {
switch (q) {
case q3:
soundState = 1;
_root.sfxs = 1;
if (q3.v._visible == false) {
_root.effetti(_parent, 'mainTheme');
}
q3.v._visible = true;
q4.v._visible = false;
break;
case q4:
_root.sfxs = 0;
stopAllSounds();
soundState = 2;
q3.v._visible = false;
q4.v._visible = true;
}
_root.soundState = soundState;
}
++n;
}
n = 5;
while (n <= 7) {
q = eval('this.q' + n);
if (q._currentframe == 2) {
switch (q) {
case q5:
qualityState = 1;
q5.v._visible = true;
q6.v._visible = false;
q7.v._visible = false;
break;
case q6:
qualityState = 2;
q5.v._visible = false;
q6.v._visible = true;
q7.v._visible = false;
break;
case q7:
qualityState = 3;
q5.v._visible = false;
q6.v._visible = false;
q7.v._visible = true;
}
_root.qualityState = qualityState;
}
++n;
}
n = 8;
while (n <= 10) {
q = eval('this.q' + n);
if (q._currentframe == 2) {
switch (q) {
case q8:
gameState = 1;
q8.v._visible = true;
q9.v._visible = false;
q10.v._visible = false;
break;
case q9:
gameState = 2;
q8.v._visible = false;
q9.v._visible = true;
q10.v._visible = false;
break;
case q10:
gameState = 3;
q8.v._visible = false;
q9.v._visible = false;
q10.v._visible = true;
}
_root.gameState = gameState;
}
++n;
}
if (sta == 1) {
_root.controlsState = controlsState;
_root.soundState = soundState;
_root.qualityState = qualityState;
_root.gameState = gameState;
_parent.play();
}
if (opt == 1) {
this.play();
}
if (back._currentframe == 2) {
this.play();
}
};
this.onEnterFrame = function () {
if (_currentframe == 1) {
bar._x = focus;
bar._y = yfocus;
if (sta + opt == 0) {
focus = -1000;
yfocus = 200;
} else {
if (opt == 1) {
focus = options._x;
yfocus = options._y + 22;
}
if (sta == 1) {
focus = starter._x;
yfocus = starter._y + 20;
}
}
if (options.coll.hitTest(_root.main.pointer)) {
opt = 1;
options.gotoAndStop(2);
} else {
opt = 0;
options.gotoAndStop(1);
}
if (starter.coll.hitTest(_root.main.pointer)) {
sta = 1;
starter.gotoAndStop(2);
} else {
sta = 0;
starter.gotoAndStop(1);
}
}
};
}
frame 2 {
sta = 0;
opt = 0;
}
frame 20 {
switch (controlsState) {
case 1:
q1.v._visible = true;
q2.v._visible = false;
break;
case 2:
q1.v._visible = false;
q2.v._visible = true;
}
switch (soundState) {
case 1:
q3.v._visible = true;
q4.v._visible = false;
break;
case 2:
q3.v._visible = false;
q4.v._visible = true;
}
switch (qualityState) {
case 1:
q5.v._visible = true;
q6.v._visible = false;
q7.v._visible = false;
break;
case 2:
q5.v._visible = false;
q6.v._visible = true;
q7.v._visible = false;
break;
case 3:
q5.v._visible = false;
q6.v._visible = false;
q7.v._visible = true;
}
switch (gameState) {
case 1:
q8.v._visible = true;
q9.v._visible = false;
q10.v._visible = false;
break;
case 2:
q8.v._visible = false;
q9.v._visible = true;
q10.v._visible = false;
break;
case 3:
q8.v._visible = false;
q9.v._visible = false;
q10.v._visible = true;
}
}
frame 20 {
stop();
}
frame 21 {
play();
}
frame 40 {
this.gotoAndStop(1);
}
}
movieClip 1628 {
frame 1 {
this.onEnterFrame = function () {
this._x = _parent._xmouse;
this._y = _parent._ymouse;
};
}
}
button 1631 {
on (release) {
getURL('http://dogget76.newgrounds.com/', '_blank');
}
}
movieClip 1632 {
frame 1 {
_root.effetti(this, 'mainTheme');
}
frame 320 {
stop();
}
frame 321 {
if (_root.sfxs == 1) {
_root.effetti(this, 'shotgun');
}
}
frame 459 {
stopAllSounds();
}
frame 459 {
stop();
_root.play();
}
}
instance main of movieClip 1632 {
}
frame 6 {
_root.gunMags = 0;
switch (_root.gameState) {
case 1:
_root.energy = 80;
_root.difficultyLevel = 0;
_root.mp5Mags = 150;
break;
case 2:
_root.energy = 70;
_root.difficultyLevel = 1;
_root.mp5Mags = 50;
break;
case 3:
_root.energy = 20;
_root.difficultyLevel = 2;
}
switch (_root.qualityState) {
case 1:
_quality = 'low';
break;
case 2:
_quality = 'medium';
break;
case 3:
_quality = 'high';
}
}
frame 7 {
_root.suono.stop();
_root.scena.removeMovieClip();
_root.stillBack.removeMovieClip();
_root.parallasse.removeMovieClip();
_root.parallasse2.removeMovieClip();
_root.hud.removeMovieClip();
_root.messages.removeMovieClip();
_root.pauseScreen.removeMovieClip();
_root.pointer.removeMovieClip();
_root.resurrection = 0;
_root.strict2d = undefined;
_root.Asoundfx.stop();
}
frame 8 {
if (intro == 0) {
stop();
} else {
play();
}
}
// unknown tag 88 length 59
movieClip 1637 {
frame 1 {
time = 0;
this.onEnterFrame = function () {
time += 1;
if (time == 900) {
time = 300;
play();
}
if (Key.isDown(83)) {
_root.play();
delete this.onEnterFrame;
}
};
}
frame 15 {
stop();
}
frame 45 {
stop();
}
frame 60 {
_root.play();
}
}
frame 9 {
stop();
intro = 1;
_root.crateArray = new Array();
_root.walls = new Array();
_root.enemyArray = new Array();
_root.fireArray = new Array();
_root.lightsArray = new Array();
_root.layerIndex = 1000;
_root.np = 11;
_root.fpl = 0;
}
frame 9 {
function gunshot(clip, shotType) {
shot = 'shot';
_root.scena.sprites.shotPH.attachMovie(shot, 'gS' + _root.shotLevel, _root.shotLevel);
clip.gS = eval('_root.scena.sprites.shotPH.gS' + _root.shotLevel);
fpx = (clip.fp1.getBounds(_root.scena)).xMax;
fpy = (clip.fp1.getBounds(_root.scena)).yMin;
fpx2 = (clip.fp2.getBounds(_root.scena)).xMax;
fpy2 = (clip.fp2.getBounds(_root.scena)).yMin;
clip.gS.dir = _root.scena.sprites.US.dir;
clip.gS._x = fpx;
clip.gS._y = fpy;
clip.gS.shotType = shotType;
switch (shotType) {
case 1:
clip.gS._alpha = 0;
clip.gS.power = 2;
clip.gS.aimPower = _root.focusOnEnemy;
break;
case 2:
clip.gS.power = 4;
clip.gS.aimPower = _root.focusOnEnemy;
break;
case 4:
clip.gS.power = 50;
clip.gS.aimPower = _root.focusOnEnemy;
break;
case 5:
clip.gS.power = 10;
clip.gS.aimPower = _root.focusOnEnemy;
}
clip.gS.z = _root.US._y;
myRadians = Math.atan2(fpx - fpx2, fpy - fpy2);
myRotation = -(myRadians * 180 / Math.PI) + 90;
clip.gS._rotation = myRotation;
if (_root.shotLevel < 4) {
_root.shotLevel += 1;
} else {
_root.shotLevel = 1;
}
shell = 'gunShell';
_root.scena.sprites.shotPH.attachMovie(shell, 'shell' + _root.shellLevel, _root.shellLevel);
clip.shell = eval('_root.scena.sprites.shotPH.shell' + _root.shellLevel);
clip.dir = _root.US.dir;
clip.shell._x = fpx2 - 10 * clip.dir;
clip.shell._y = fpy2;
clip.shell.dir = _root.US.dir;
clip.shell._xscale = _root.scaleIndex * clip.dir;
clip.shell._yscale = _root.scaleIndex;
if (_root.shellLevel < 20) {
_root.shellLevel += 1;
} else {
_root.shellLevel = 10;
}
n = _root.np;
_root.scena.particles.attachMovie('gunshot_flame_small', 'par' + n, n);
clip.par = eval('_root.scena.particles.par' + n);
clip.par._xscale = _root.scaleIndex * (Math.random() * 3);
clip.par._yscale = clip.par._xscale;
clip.xoffset = Math.random() * 20 - 10;
clip.par._x = fpx + clip.xoffset;
clip.par._y = fpy;
clip.par._rotation = myRotation;
_root.np += 1;
}
function shotgun(clip) {
shot = 'shotgunShot';
ns = 1;
while (ns <= 4) {
_root.scena.sprites.shotPH.attachMovie(shot, 'gS' + ns, ns);
clip.gS = eval('_root.scena.sprites.shotPH.gS' + ns);
fpx = (clip.fp1.getBounds(_root.scena)).xMax;
fpy = (clip.fp1.getBounds(_root.scena)).yMax;
fpx2 = (clip.fp2.getBounds(_root.scena)).xMax;
fpy2 = (clip.fp2.getBounds(_root.scena)).yMax;
clip.gS.dir = _root.scena.sprites.US.dir;
clip.gS.shotType = 3;
clip.gS._x = fpx;
clip.gS._y = fpy;
clip.gS._xscale = _root.scaleIndex;
clip.gS._yscale = _root.scaleIndex;
clip.gS.power = 5;
clip.gS.aimPower = _root.focusOnEnemy;
clip.gS.z = _root.US._y;
myRadians = Math.atan2(fpx - fpx2, fpy - fpy2);
myRotation = -(myRadians * 180 / Math.PI) + 90;
clip.gS._rotation = myRotation;
n = _root.np;
_root.scena.particles.attachMovie('gunshot_flame_small', 'par' + n, n);
clip.par = eval('_root.scena.particles.par' + n);
clip.par._xscale = _root.scaleIndex * (Math.random() * 3);
clip.par._yscale = clip.par._xscale;
clip.xoffset = Math.random() * 20 - 10;
clip.par._x = fpx + clip.xoffset;
clip.par._y = fpy;
clip.par._rotation = myRotation;
_root.np += 1;
++ns;
}
}
_root.shotLevel = 1;
_root.shellLevel = 10;
_root.tdShotLevel = 101;
}
frame 9 {
function swapLayer(clip) {
clip.layer = Math.ceil(clip._y) * _root.totalLayers + clip.layerIndex;
clip.swapDepths(clip.layer);
}
function refreshLayers(clip) {
if (_root.layerIndex < _root.totalLayers) {
_root.layerIndex += 1;
} else {
_root.layerIndex = 1000;
}
_root.enemyLayer += 1;
}
function particelle(num, clip, tipo, px, py, dir, friction, gravity, nBounces, rot) {
clip.NN = 11 + num;
n = 11;
while (n <= clip.NN) {
clip.attachMovie(tipo, 'par' + n, n);
clip.par = eval('clip.par' + n);
clip.par.dir = dir;
clip.par._xscale = _root.scaleIndex * (Math.random() * 2);
clip.par._yscale = clip.par._xscale;
clip.par._x = px;
clip.par._y = py;
clip.par.friction = friction;
clip.par.xspeed = xspeed;
clip.par.yspeed = yspeed;
clip.par.gravity = gravity;
clip.par.nBounces = nBounces;
clip.par.rot = rot;
++n;
}
}
_root.layerIndex = 1000;
_root.enemyLayer = 1000;
_root.totalLayers = 100000;
scrollMin = 0;
scrollMax = -1117;
scrollingEnabled = 1;
}
frame 9 {
function swapItems(clip) {
clip.standChest = 'standChest_' + clip.item;
clip.walkChest = 'walkChest_' + clip.item;
clip.fireChest = 'aimChest_' + clip.item;
clip.aimChest = 'aimChest_' + clip.item;
clip.reloadChest = 'reloadChest_' + clip.item;
}
function wheel(clip, indice) {
clip.armaCorrente = _root.armory[indice];
if (clip.armaCorrente == 1) {
_root.selected_item = indice;
_root.pauseScreen.ps.removeMovieClip();
_root.effetti(this, 'menu_01');
_root.pointerState = 0;
_root.pausedGame = 0;
}
}
_root.Right = 0;
_root.Left = 0;
_root.Up = 0;
_root.Dw = 0;
_root.fire = 0;
_root.swap = 0;
_root.reload = 0;
_root.fireIsPressed = 0;
_root.pausedGame = 0;
_root.pG = 0;
_root.pauseIsPressed = 0;
_root.lastKeyPressed = 0;
_root.lastKeyPressed_b = 0;
_root.pointerState = 0;
this.onMouseDown = function () {
_root.mouseClick = 1;
};
this.onMouseUp = function () {
_root.mouseClick = 0;
};
this.onEnterFrame = function () {
if (_root.pausedGame == 0) {
if (_root.scrollingEnabled == 1) {
if (_root.td == 0) {
_root.sideScrolling(_root.scena.sprites.US, 0, 0);
} else {
_root.topDownScrolling(_root.scena.sprites.US, 0, 0);
}
}
if (Key.isDown(69) == true) {
_root.Amelee = 1;
} else {
_root.Amelee = 0;
}
if (_root.controlsState == 1) {
if (Key.isDown(65) == true) {
_root.Akey = 1;
} else {
_root.Akey = 0;
}
if (Key.isDown(68) == true) {
_root.Dkey = 1;
} else {
_root.Dkey = 0;
}
_root.sum = _root.Akey + _root.Dkey;
switch (_root.sum) {
case 0:
_root.lastKeyPressed = 0;
_root.Left = 0;
_root.Right = 0;
break;
case 1:
if (_root.Akey == 1) {
_root.lastKeyPressed = 1;
_root.Left = 1;
_root.Right = 0;
} else {
_root.lastKeyPressed = 2;
_root.Left = 0;
_root.Right = 1;
}
break;
case 2:
switch (_root.lastKeyPressed) {
case 0:
_root.Left = 0;
_root.Right = 0;
break;
case 1:
_root.Left = 0;
_root.Right = 1;
break;
case 2:
_root.Left = 1;
_root.Right = 0;
}
}
if (Key.isDown(87) == true) {
_root.Wkey = 1;
} else {
_root.Wkey = 0;
}
if (Key.isDown(83) == true) {
_root.Skey = 1;
} else {
_root.Skey = 0;
}
_root.sum_b = _root.Wkey + _root.Skey;
switch (_root.sum_b) {
case 0:
_root.lastKeyPressed_b = 0;
_root.Up = 0;
_root.Dw = 0;
break;
case 1:
if (_root.Wkey == 1) {
_root.lastKeyPressed_b = 1;
_root.Up = 1;
_root.Dw = 0;
} else {
_root.lastKeyPressed_b = 2;
_root.Up = 0;
_root.Dw = 1;
}
break;
case 2:
switch (_root.lastKeyPressed_b) {
case 0:
_root.Up = 0;
_root.Dw = 0;
break;
case 1:
_root.Up = 0;
_root.Dw = 1;
break;
case 2:
_root.Up = 1;
_root.Dw = 0;
}
}
} else {
if (Key.isDown(37) == true) {
_root.Akey = 1;
} else {
_root.Akey = 0;
}
if (Key.isDown(39) == true) {
_root.Dkey = 1;
} else {
_root.Dkey = 0;
}
_root.sum = _root.Akey + _root.Dkey;
switch (_root.sum) {
case 0:
_root.lastKeyPressed = 0;
_root.Left = 0;
_root.Right = 0;
break;
case 1:
if (_root.Akey == 1) {
_root.lastKeyPressed = 1;
_root.Left = 1;
_root.Right = 0;
} else {
_root.lastKeyPressed = 2;
_root.Left = 0;
_root.Right = 1;
}
break;
case 2:
switch (_root.lastKeyPressed) {
case 0:
_root.Left = 0;
_root.Right = 0;
break;
case 1:
_root.Left = 0;
_root.Right = 1;
break;
case 2:
_root.Left = 1;
_root.Right = 0;
}
}
if (Key.isDown(38) == true) {
_root.Wkey = 1;
} else {
_root.Wkey = 0;
}
if (Key.isDown(40) == true) {
_root.Skey = 1;
} else {
_root.Skey = 0;
}
_root.sum_b = _root.Wkey + _root.Skey;
switch (_root.sum_b) {
case 0:
_root.lastKeyPressed_b = 0;
_root.Up = 0;
_root.Dw = 0;
break;
case 1:
if (_root.Wkey == 1) {
_root.lastKeyPressed_b = 1;
_root.Up = 1;
_root.Dw = 0;
} else {
_root.lastKeyPressed_b = 2;
_root.Up = 0;
_root.Dw = 1;
}
break;
case 2:
switch (_root.lastKeyPressed_b) {
case 0:
_root.Up = 0;
_root.Dw = 0;
break;
case 1:
_root.Up = 0;
_root.Dw = 1;
break;
case 2:
_root.Up = 1;
_root.Dw = 0;
}
}
}
switch (_root.pointerState) {
case 0:
if (_root.mouseClick == 1) {
_root.melee = 1;
_root.checkAmmo();
if (_root.checkedAmmo > 0) {
_root.reload = 0;
_root.fire = 1;
} else {
_root.fire = 0;
if (_root.checkedMags > 0) {
if (_root.autoreload == 1) {
_root.reload = 1;
}
}
}
} else {
_root.reload = 0;
_root.fire = 0;
_root.melee = 0;
}
break;
case 1:
_root.reload = 0;
_root.fire = 0;
_root.melee = 0;
}
}
if (_root._currentframe == 9) {
if (Key.isDown(32) == false) {
_root.pG = 0;
_root.pauseIsPressed = 0;
}
if (Key.isDown(32) && _root.pauseIsPressed == 0) {
_root.pG = 1;
_root.pauseIsPressed = 1;
} else {
_root.pG = 0;
}
if (_root.pG == 1) {
if (_root.pausedGame == 0) {
_root.pauseScreen.attachMovie('pauseScreen', 'ps', 10);
_root.effetti(this, 'menu_00');
_root.pointerState = 1;
_root.pausedGame = 1;
} else {
_root.messages.notificationPanel.removeMovieClip();
_root.pauseScreen.ps.removeMovieClip();
_root.effetti(this, 'menu_01');
_root.pointerState = 0;
_root.pausedGame = 0;
}
}
}
};
}
frame 9 {
function sceneGeneration() {
_root.createEmptyMovieClip('stillBack', 50);
_root.createEmptyMovieClip('parallasse', 90);
_root.createEmptyMovieClip('parallasse2', 91);
_root.createEmptyMovieClip('scena', 100);
_root.scena.createEmptyMovieClip('back', 100);
_root.scena.createEmptyMovieClip('floorParticles', 101);
_root.scena.createEmptyMovieClip('shadows', 102);
_root.scena.createEmptyMovieClip('sprites', 110);
_root.scena.createEmptyMovieClip('particles', 120);
_root.scena.createEmptyMovieClip('fore', 130);
_root.scena.sprites.createEmptyMovieClip('shotPH', 101);
_root.createEmptyMovieClip('damage', 105);
_root.createEmptyMovieClip('hud', 106);
_root.createEmptyMovieClip('messages', 120);
_root.createEmptyMovieClip('pauseScreen', 130);
_root.createEmptyMovieClip('pointer', 140);
_root.createEmptyMovieClip('curtain', 200);
_root.hud.attachMovie('HUD', 'HUD', 10);
_root.hud.HUD._x = 10;
_root.hud.HUD._y = 0;
_root.hud.HUD._xscale = _root.scaleIndex;
_root.hud.HUD._yscale = _root.scaleIndex;
_root.curtain.attachMovie('curtain_up', 'curtain', 0);
_root.pointer.attachMovie('pointer', 'pointer', 10);
_root.pointer.attachMovie('focusPoint', 'focusPoint', 11);
_root.createEmptyMovieClip('sound1', 201);
_root.createEmptyMovieClip('sound_track', 202);
_root.createEmptyMovieClip('doorSound', 203);
}
_root.sceneGeneration();
}
frame 9 {
function zBlood(clip, bloodType, clipZ) {
clip.l = _root.np;
_root.effetti(clip, 'punch');
_root.scena.particles.attachMovie(bloodType, 'zb' + clip.l, clip.l);
zb = eval('_root.scena.particles.zb' + clip.l);
zb.z = clipZ;
zb._x = clip._x;
zb._y = clip.shot._y;
_root.np += 1;
zb.dir = clip.dir;
}
function hitPointsDisplay(numero, hpdx, hpdy) {
if (_root.maskUnlocked == 1) {
numero = Math.round(numero);
decine = Math.floor(numero / 10);
unita = numero - decine * 10;
fr1 = decine + 1;
fr2 = unita + 1;
n = 0;
_root.scena.particles.createEmptyMovieClip('hpDisplay' + n, n);
hpd = eval('_root.scena.particles.hpDisplay' + n);
if (numero > 25) {
hpd._xscale = 200;
hpd._yscale = 200;
}
if (numero > 50) {
hpd._xscale = 300;
hpd._yscale = 300;
}
hpd._x = hpdx;
hpd._y = hpdy;
hpd.attachMovie('number', 'n1', 0);
hpd.attachMovie('number', 'n2', 1);
hpd.attachMovie('n_behaviour', 'n_b', 2);
hpd.n2._x += 8;
hpd.n1.gotoAndStop(fr1);
hpd.n2.gotoAndStop(fr2);
}
}
}
frame 9 {
switch (_root.currentRoom) {
case 'tutorial_0':
_root.musica(_root, _root.sound_track, 'windy');
_root.currentSoundTrack = 'windy';
_root.footstep = 'leaves_step';
_root.td = 0;
scrollMax = -1160;
scrollingEnabled = 1;
_root.verticalScrollingAllowed = 0;
_root.scena.back.attachMovie('forest', 'bck', 1);
_root.scena.fore.attachMovie('forest_front', 'bck', 1);
_root.parallasse2.attachMovie('forest_parallasse', 'par', 1);
break;
case 'town':
_root.footstep = 'gravelA';
_root.td = 0;
scrollMax = -1160;
scrollingEnabled = 1;
_root.verticalScrollingAllowed = 0;
_root.scena.back.attachMovie('tutorial_0_back', 'bck', 1);
_root.scena.fore.attachMovie('tutorial_0_front', 'bck', 1);
_root.parallasse2.attachMovie('tutorial_0_parallasse', 'par', 1);
break;
case 'tutorial':
if (_root.musicState == 0) {
_root.musica(_root, _root.sound_track, 'music_2');
_root.currentSoundTrack = 'music_2';
_root.musicState += 1;
}
_root.footstep = 'gravelA';
_root.td = 0;
scrollMax = -3860;
scrollingEnabled = 1;
_root.verticalScrollingAllowed = 0;
_root.scena.back.attachMovie('tutorial_back', 'bck', 1);
_root.scena.fore.attachMovie('tutorial_front', 'bck', 1);
break;
case 'roof_0':
_root.footstep = 'gravelA';
_root.td = 1;
scrollMax = 0;
scrollingEnabled = 1;
_root.verticalScrollingAllowed = 1;
_root.scena.fore.attachMovie('td_back_00_front', 'bck', 1);
_root.scena.back.attachMovie('td_back_00', 'bck', 1);
break;
case 'casetta':
_root.footstep = 'gravelA';
_root.td = 0;
scrollMax = -386;
scrollingEnabled = 1;
_root.verticalScrollingAllowed = 0;
_root.parallax_distance = 2;
_root.scena.back.attachMovie('casetta', 'bck', 1);
_root.scena.fore.attachMovie('casetta_front', 'bck', 1);
_root.parallasse.attachMovie('none', 'par', 1);
break;
case 'roof':
_root.effettoAmbiente(_root, _root.sound1, 'fire_burning');
_root.footstep = 'gravelA';
_root.td = 0;
scrollMax = -1117;
scrollingEnabled = 1;
_root.verticalScrollingAllowed = 0;
_root.parallax_distance = 2;
_root.scena.back.attachMovie('back_00', 'bck', 1);
_root.scena.fore.attachMovie('front_00', 'bck', 1);
_root.stillBack.attachMovie('parallax_0', 'par', 1);
_root.parallasse.attachMovie('parallax_1', 'par', 1);
_root.parallasse2.attachMovie('parallax_2', 'par', 1);
break;
case 'roof_indoor':
_root.footstep = 'footstep';
_root.td = 0;
scrollMax = 0;
scrollingEnabled = 0;
_root.verticalScrollingAllowed = 0;
_root.scena.back.attachMovie('back2', 'bck_d', 2);
_root.scena.fore.attachMovie('back2_front', 'bck', 1);
_root.parallasse.attachMovie('none', 'par', 1);
break;
case 'corridor1':
if (_root.musicState == 1) {
_root.musica(_root, _root.sound_track, 'music_3');
_root.currentSoundTrack = 'music_3';
_root.musicState += 1;
}
_root.footstep = 'footstep';
_root.gunTorch_On = 1;
_root.td = 0;
scrollMax = -1963;
scrollingEnabled = 1;
_root.verticalScrollingAllowed = 0;
_root.scena.back.attachMovie('back_2_dark', 'bck', 1);
_root.scena.back.attachMovie('back_2', 'bck_d', 2);
_root.scena.fore.attachMovie('lamp_side', 'lamp', 2);
_root.scena.back.attachMovie('lighter_mask', 'lighter', 3);
_root.scena.back.attachMovie('gas_tube', 'gastube', 4);
_root.scena.back.gastube._x = 2220;
_root.scena.back.gastube._y = 0;
_root.scena.fore.attachMovie('front_2', 'bck', 1);
_root.parallasse.attachMovie('none', 'par', 1);
break;
case 'corridor2':
_root.footstep = 'footstep';
_root.gunTorch_On = 0;
_root.td = 0;
_root.parallax_distance = 2;
scrollMax = -2700;
scrollingEnabled = 1;
_root.verticalScrollingAllowed = 0;
_root.scena.back.attachMovie('corridor2', 'bck_d', 2);
_root.scena.fore.attachMovie('corridor2_front', 'bck', 1);
_root.parallasse.attachMovie('none', 'par', 1);
break;
case 'blood_corridor':
_root.footstep = 'footstep';
_root.td = 0;
scrollMax = -1860;
scrollingEnabled = 1;
_root.verticalScrollingAllowed = 0;
_root.scena.back.attachMovie('bloodCorridor_dark', 'bck', 1);
_root.scena.back.attachMovie('bloodCorridor', 'bck_d', 2);
_root.scena.back.attachMovie('lighter_mask', 'lighter', 3);
_root.scena.fore.attachMovie('bloodCorridor_front', 'bck', 1);
_root.parallasse.attachMovie('none', 'par', 1);
break;
case 'surgery':
_root.footstep = 'gravelA';
_root.td = 0;
scrollMax = 0;
scrollingEnabled = 0;
_root.verticalScrollingAllowed = 0;
_root.scena.back.attachMovie('surgery', 'bck', 1);
_root.scena.fore.attachMovie('surgery_front', 'bck', 1);
_root.scena.back.attachMovie('surgery_masked', 'bck_d', 2);
_root.scena.back.attachMovie('lighter_mask', 'lighter', 3);
_root.parallasse.attachMovie('none', 'par', 1);
break;
case 'controlRoom':
_root.footstep = 'footstep';
_root.gunTorch_On = 0;
_root.td = 0;
scrollMax = 0;
scrollingEnabled = 0;
_root.verticalScrollingAllowed = 0;
_root.scena.fore.attachMovie('controlRoom_front', 'bck', 1);
_root.scena.back.attachMovie('controlRoom', 'bck', 1);
_root.parallasse.attachMovie('none', 'par', 1);
break;
case 'elevator':
_root.footstep = 'footstep';
_root.td = 0;
scrollMax = 0;
scrollingEnabled = 0;
_root.verticalScrollingAllowed = 0;
_root.scena.fore.attachMovie('elevator_front', 'bck', 1);
_root.scena.back.attachMovie('elevator', 'bck', 1);
_root.parallasse.attachMovie('none', 'par', 1);
break;
case 'elevator_down':
_root.footstep = 'footstep';
_root.td = 0;
scrollMax = 0;
scrollingEnabled = 0;
_root.verticalScrollingAllowed = 0;
_root.scena.fore.attachMovie('elevator_down_front', 'bck', 1);
_root.scena.back.attachMovie('elevator_down', 'bck', 1);
_root.parallasse.attachMovie('none', 'par', 1);
break;
case 'corridor_down':
_root.footstep = 'footstep';
_root.td = 0;
scrollMax = -982;
scrollingEnabled = 1;
_root.verticalScrollingAllowed = 0;
_root.scena.back.attachMovie('corridor_down', 'bck', 1);
_root.scena.back.attachMovie('corridor_down_light', 'bck_d', 2);
_root.scena.back.attachMovie('lighter_mask', 'lighter', 3);
_root.scena.fore.attachMovie('none', 'bck', 1);
_root.parallasse.attachMovie('none', 'par', 1);
break;
case 'city_out':
_root.footstep = 'footstep';
_root.td = 0;
scrollMax = 0;
scrollingEnabled = 0;
_root.verticalScrollingAllowed = 0;
_root.scena.fore.attachMovie('city_out_front', 'bck', 1);
_root.scena.back.attachMovie('city_out', 'bck', 1);
_root.parallasse.attachMovie('none', 'par', 1);
break;
case 'maintenance':
_root.footstep = 'gravelA';
_root.gunTorch_On = 0;
_root.td = 0;
scrollMax = -177;
scrollingEnabled = 1;
_root.verticalScrollingAllowed = 0;
_root.scena.back.attachMovie('maintenance_dark', 'bck', 1);
_root.scena.fore.attachMovie('maintenance_front', 'bck', 1);
_root.parallasse.attachMovie('none', 'par', 1);
break;
case 'maintenance2':
_root.footstep = 'gravelA';
_root.gunTorch_On = 0;
_root.td = 0;
scrollMax = -60;
scrollingEnabled = 1;
_root.verticalScrollingAllowed = 0;
_root.scena.back.attachMovie('maintenance2', 'bck', 1);
_root.scena.fore.attachMovie('maintenance2_front', 'bck', 1);
_root.parallasse.attachMovie('none', 'par', 1);
break;
case 'bathroom':
_root.footstep = 'gravelA';
_root.gunTorch_On = 0;
_root.td = 0;
scrollMax = -260;
scrollingEnabled = 1;
_root.verticalScrollingAllowed = 0;
_root.scena.back.attachMovie('bathroom', 'bck', 1);
_root.scena.fore.attachMovie('bathroom_front', 'bck', 1);
_root.parallasse.attachMovie('none', 'par', 1);
break;
case 'underground':
_root.footstep = 'gravelA';
_root.td = 0;
_root.strict2d = 1;
scrollMax = -1800;
_root.yscrollMin = 0;
_root.yscrollMax = -200;
scrollingEnabled = 1;
_root.verticalScrollingAllowed = 1;
_root.scena.back.attachMovie('underground', 'bck', 1);
_root.scena.fore.attachMovie('underground_front', 'bck', 1);
_root.parallasse.attachMovie('none', 'par', 1);
break;
case 'underground2':
_root.footstep = 'gravelA';
_root.td = 0;
scrollMax = -1112;
scrollingEnabled = 1;
_root.verticalScrollingAllowed = 0;
_root.scena.back.attachMovie('underground2', 'bck', 1);
_root.scena.fore.attachMovie('underground2_front', 'bck', 1);
_root.parallasse.attachMovie('none', 'par', 1);
break;
case 'hotel':
_root.footstep = 'footstep';
_root.td = 0;
scrollMax = -1760;
scrollingEnabled = 1;
_root.verticalScrollingAllowed = 0;
_root.scena.fore.attachMovie('hotel_front', 'bck', 1);
_root.scena.back.attachMovie('hotel', 'bck', 1);
_root.parallasse.attachMovie('none', 'par', 1);
break;
case 'hotel_room':
_root.footstep = 'footstep';
_root.td = 0;
scrollMax = 0;
scrollingEnabled = 0;
_root.verticalScrollingAllowed = 0;
_root.scena.fore.attachMovie('hotel_room_front', 'bck', 1);
_root.scena.back.attachMovie('hotel_room', 'bck', 1);
_root.parallasse.attachMovie('none', 'par', 1);
break;
case 'apartment_00':
_root.footstep = 'gravelA';
_root.td = 1;
scrollMax = 0;
scrollingEnabled = 1;
_root.verticalScrollingAllowed = 1;
_root.scena.fore.attachMovie('apartment_00_front', 'bck', 1);
_root.scena.fore.attachMovie('lamp', 'lamp', 2);
_root.scena.back.attachMovie('apartment_00', 'bck', 1);
break;
case 'corridors':
_root.footstep = 'gravelA';
_root.td = 1;
scrollMax = -860;
scrollingEnabled = 1;
_root.verticalScrollingAllowed = 0;
_root.scena.fore.attachMovie('corridors_front', 'bck', 1);
_root.scena.back.attachMovie('corridors', 'bck', 1);
break;
case 'ending':
_root.gotoAndStop('tobecontinued');
}
switch (td) {
case 0:
_root.scena.sprites.attachMovie('US', 'US', 100);
_root.US = _root.scena.sprites.US;
_root.US.layerIndex = _root.layerIndex;
_root.layerIndex += 1;
_root.scena.sprites.shotPH.layerIndex = _root.layerIndex;
_root.layerIndex += 1;
_root.US._xscale = _root.scaleIndex;
_root.US._yscale = _root.scaleIndex;
_root.US._x = _root.x_start_position;
_root.US._y = _root.y_start_position;
_root.characterShadow = 'shadowClip';
break;
case 1:
if (_root.current_weapon == 3) {
_root.current_weapon = 0;
_root.selected_item = 0;
}
_root.scena.sprites.attachMovie('td_US', 'US', 100);
_root.US = _root.scena.sprites.US;
_root.US._xscale = _root.scaleIndex - 10;
_root.US._yscale = _root.scaleIndex - 10;
_root.US._x = _root.x_start_position;
_root.US._y = _root.y_start_position;
_root.characterShadow = 'td_shadowClip';
}
_root.scena.shadows.attachMovie(_root.characterShadow, 'shadowClip', 99);
shadowclip = _root.scena.shadows.shadowClip;
shadowclip._xscale = _root.scaleIndex;
shadowclip._yscale = _root.scaleIndex;
}
frame 13 {
stop();
_root.scena.removeMovieClip();
_root.stillBack.removeMovieClip();
_root.parallasse.removeMovieClip();
_root.parallasse2.removeMovieClip();
_root.hud.removeMovieClip();
_root.messages.removeMovieClip();
_root.pauseScreen.removeMovieClip();
_root.pointer.removeMovieClip();
_root.strict2d = undefined;
_root.Asoundfx.stop();
_root.soundTrack.stop();
_root.gotoAndStop(5);
}
frame 14 {
stop();
_root.scena.removeMovieClip();
_root.stillBack.removeMovieClip();
_root.parallasse.removeMovieClip();
_root.parallasse2.removeMovieClip();
_root.hud.removeMovieClip();
_root.messages.removeMovieClip();
_root.pauseScreen.removeMovieClip();
_root.pointer.removeMovieClip();
_root.strict2d = undefined;
_root.Asoundfx.stop();
_root.soundTrack.stop();
}
button 1644 {
on (release) {
_root.energy = 50;
_root.gold = 0;
_root.musica(_root, _root.sound_track, _root.currentSoundTrack);
if (_root.boss == 1) {
_root.boss = 0;
}
_root.gotoAndPlay('refreshGame');
}
}
button 1647 {
on (release) {
_root.gotoAndStop(5);
}
}
movieClip 1650 {
frame 1 {
this.onEnterFrame = function () {
this._x = _parent._xmouse;
this._y = _parent._ymouse;
};
}
}
movieClip 1651 {
}
frame 15 {
stop();
_root.scena.removeMovieClip();
_root.stillBack.removeMovieClip();
_root.parallasse.removeMovieClip();
_root.parallasse2.removeMovieClip();
_root.hud.removeMovieClip();
_root.messages.removeMovieClip();
_root.pauseScreen.removeMovieClip();
_root.pointer.removeMovieClip();
_root.strict2d = undefined;
_root.Asoundfx.stop();
_root.soundTrack.stop();
_root.gameCompleted = 1;
}
movieClip 1658 {
frame 1 {
timer = 0;
this.onMouseUp = function () {
if (this.timer >= 200) {
_root.gotoAndStop(5);
}
};
this.onEnterFrame = function () {
timer += 1;
if (timer >= 200) {
this.timer = 200;
delete this.onEnterFrame;
}
};
}
frame 980 {
stop();
_root.gotoAndStop(5);
}
}