STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229455
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2574 · P5148

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/86273344?noj=FRM86273344-5DC" width="1" height="1"></div>

Gunmaster Urban Assault.swf

This is the info page for
Flash #6816

(Click the ID number above for more basic data on this flash file.)


Text
Level:

100

1

1

1

1

1

1

Top Scores

x

1

enter your name

goal

enemies

Tips

rocket launcer

help topics:

cross bow

gun

controls

for additional GunMaster
Games visit
UGotGames.com

current mode:

progressive

click to change

1

1

score

level

Game Over

restart

Testing
asdf

1

1

1

1

1

1

moder

100

2000

100

100

100

x

100

paused

hp

pause

name

scores

help

100

level

2000

100

off

stepper

2000

score:

2000

GunMaster Urban Warfare

I am 17 or older

I am younger than 17

choose younger than 17 for low gore

(C)2006 lostvectors.com

presented by

Jason Reinsvold's

fps

avg

max

min

ActionScript [AS1/AS2]

Frame 2
function saveData() { trace("Saving Data"); myLocalSO.data.place_score_1 = place_score_1; myLocalSO.data.place_score_2 = place_score_2; myLocalSO.data.place_score_3 = place_score_3; myLocalSO.data.place_name_1 = place_name_1; myLocalSO.data.place_name_2 = place_name_2; myLocalSO.data.place_name_3 = place_name_3; myLocalSO.data.player_name = player_name; myLocalSO.data.highScoreColor = highScoreColor; } function increaseScore(amt, x, y) { _root.g_lvl_kills++; _root.score = _root.score + amt; } function gameOver() { return(_root.hero.hp <= 0); } function endGame() { _root.paused = true; updatedTopScores(); openGameOver(); } function updatedTopScores() { if (score > place_score_1) { place_score_3 = place_score_2; place_score_2 = place_score_1; place_score_1 = score; place_name_3 = place_name_2; place_name_2 = place_name_1; place_name_1 = player_name; _root.end_text = "New high score! 1st Place"; } else if (score > place_score_2) { place_score_3 = place_score_2; place_score_2 = score; place_name_3 = place_name_2; place_name_2 = player_name; _root.end_text = "New high score! 2nd Place"; } else if (score > place_score_3) { place_score_3 = score; place_name_3 = player_name; _root.end_text = "New high score! 3rd Place"; } else if (score > 1000) { _root.end_text = "Nice shooting."; } else if (score > 700) { _root.end_text = "Not bad. Keep Practicing"; } else if (score > 400) { _root.end_text = "Ouch... better luck next time."; } else { _root.end_text = "Noob Tip: use mouse-left click to fire :P"; } saveData(); } function restartGame() { cleanGameboard(); resetGame(); } function cleanGameboard() { for (i in mines) { mines[i].unloadMovie(); } mines = new Array(); for (i in enemies) { enemies[i].unloadMovie(); } enemies = new Array(); cleanUp(); } function resetGame() { game_ended = false; _root.level_ticker = 0; _root.fps_ticks = 0; _root.fps_total = 0; _root.avg_fps = 0; _root.max_fps = 0; _root.min_fps = 9999; _root.stepper.resetStepperVars(); _root.hero._alpha = 100; _root.hero.hp = 100; _root.hero.vx = 0; _root.hero.vy = 0; _root.score = 0; _root.level = 1; _root.ammo_grenades = 15; _root.ammo_arrows = 25; _root.ammo_bullets = 500; _root.ammo_rockets = 10; _root.ammo_prox_mines = 20; _root.ammo_shells = 20; _root.ammo_rpg = 8; _root.hero._x = (_root.g_width / 2) - 20; _root.hero._y = _root.g_ground / 2; resetObs(); _root.paused = false; } function showTopScores() { paused = true; temp = _root.upgrade_layer.attachMovie("top_scores", "top_scores_" + SCORES, SCORES); temp._x = g_width / 2; temp._y = g_ground / 2; top_scores_screen = temp; } function showLevelDisplay() { temp = _root.upgrade_layer.attachMovie("level_display", "level_display_" + LEVEL_DISPLAY, LEVEL_DISPLAY); temp._x = g_width / 2; temp._y = g_ground / 2; } function closeTopScores() { top_scores_screen.unloadMovie(); } function openNamer() { trace("opening namer"); paused = true; temp = _root.upgrade_layer.attachMovie("namer_screen", "namer" + NAMER, NAMER); temp._x = g_width / 2; temp._y = g_ground * 0.75; namer_screen = temp; } function closeNamer() { namer_screen.unloadMovie(); } function openGameOver() { trace("opening gameOver screen"); temp = _root.upgrade_layer.attachMovie("game_over_screen", "game_over_screen" + GAMEOVER_NUM, GAMEOVER_NUM); temp._x = g_width / 2; temp._y = g_ground / 2; game_over_screen = temp; } function closeGameOver() { game_over_screen.unloadMovie(); } function openHelp() { trace("opening help"); paused = true; temp = _root.upgrade_layer.attachMovie("help_screen", "help_screen" + HELP_NUM, HELP_NUM); temp._x = g_width / 2; temp._y = g_ground / 2; help_screen = temp; } function closeHelp() { trace("closing help"); help_screen.unloadMovie(); } function playHitEnemySound() { playSound(hurtsounds[random(3)]); } function addRandomGoodie(x, y) { bonus = powerups[random(powerups.length)]; if (bonus == "gas_can") { obs = _root.addObj(bonus, _root.obstruct_layer, _root.getNextObstructionLevel()); obs._x = x; obs._y = y; } else { obs = _root.addObj(bonus, _root.powerup_layer, _root.getNextPowerUpLevel()); obs._x = x; obs._y = y; } } function playSound(filename) { if (g_soundOn) { mysound = new Sound(); mysound.attachSound(filename); mysound.start(0, 1); } } function shootArrow() { playSound("swoosh.wav"); ammo_arrows--; shot_speed = 8; rads = (_root.hero.sight._rotation * Math.PI) / 180; xfactor = Math.cos(rads); yfactor = Math.sin(rads); lvx = shot_speed * xfactor; lvy = shot_speed * yfactor; lvl = getNextProjectileLevel(); proj = _root.addObj("hero_arrow", _root.projectile_layer, lvl); proj.vx = lvx; proj.vy = lvy; proj._x = (hero._x + hero.sight._x) + (xfactor * 20); proj._y = (hero._y + hero.sight._y) + (yfactor * 20); proj._rotation = _root.hero.sight._rotation; } function shootRPG() { playSound("tat1.wav"); ammo_rpg--; shot_speed = 8; rads = (_root.hero.sight._rotation * Math.PI) / 180; xfactor = Math.cos(rads); yfactor = Math.sin(rads); lvx = shot_speed * xfactor; lvy = shot_speed * yfactor; lvl = getNextProjectileLevel(); proj = _root.addObj("rpg", _root.projectile_layer, lvl); proj.vx = lvx; proj.vy = lvy; proj._x = (hero._x + hero.sight._x) + (xfactor * 20); proj._y = (hero._y + hero.sight._y) + (yfactor * 20); proj._rotation = _root.hero.sight._rotation; } function placeDebrisArrow(x, y, rot) { temp = _root.addObj("arrow_debris", _root.debris_layer, _root.getNextDebrisLevel()); temp._x = x; temp._y = y; temp._rotation = rot; } function placeDebrisType(x, y, rot, dtype) { temp = _root.addObj(dtype, _root.debris_layer, _root.getNextDebrisLevel()); temp._x = x; temp._y = y; temp._rotation = rot; } function removeEnemy(ene) { tempArray = new Array(); for (i in enemies) { nextEn = enemies[i]; if (ene != nextEn) { tempArray.push(nextEn); } } ene.unloadMovie(); enemies = tempArray; } function removeMine(mi) { tempArray = new Array(); for (i in mines) { nextObj = mines[i]; if (mi != nextObj) { tempArray.push(nextObj); } } mi.unloadMovie(); mines = tempArray; } function removeObstruction(obs) { tempArray = new Array(); for (i in obstructions) { nextObs = obstructions[i]; if (obs != nextObs) { tempArray.push(nextObs); } } obs.unloadMovie(); obstructions = tempArray; } function shootHeroProjectile() { playSound("tat2.wav"); ammo_bullets--; _root.hero.recoil = 5; shot_speed = 8; variation = (random(Math.floor(_root.gun_wild * 100)) - random(Math.floor(_root.gun_wild * 100))) / 300; rads = ((_root.hero.sight._rotation + variation) * Math.PI) / 180; xfactor = Math.cos(rads); yfactor = Math.sin(rads); lvx = shot_speed * xfactor; lvy = shot_speed * yfactor; lvl = getNextProjectileLevel(); proj = _root.addObj("hero_bullet", _root.projectile_layer, lvl); proj.vx = lvx; proj.vy = lvy; proj._x = (hero._x + hero.sight._x) + (xfactor * 20); proj._y = (hero._y + hero.sight._y) + (yfactor * 20); proj._rotation = _root.hero.sight._rotation; } function shootHeroUzi() { playSound("tat2.wav"); ammo_bullets--; _root.hero.recoil = 5; shot_speed = 6; variation = (random(Math.floor(_root.gun_wild * 100)) - random(Math.floor(_root.gun_wild * 100))) / 300; rads = ((_root.hero.sight._rotation + variation) * Math.PI) / 180; xfactor = Math.cos(rads); yfactor = Math.sin(rads); lvx = shot_speed * xfactor; lvy = shot_speed * yfactor; lvl = getNextProjectileLevel(); proj = _root.addObj("hero_bullet", _root.projectile_layer, lvl); proj.vx = lvx; proj.vy = lvy; proj._x = (hero._x + hero.sight._x) + (xfactor * 20); proj._y = (hero._y + hero.sight._y) + (yfactor * 20); proj._rotation = _root.hero.sight._rotation; } function shootHeroShotgun() { playSound("tat2.wav"); ammo_shells--; _root.hero.recoil = 5; shot_speed = 8; deg = -2; while (deg <= 2) { rads = ((_root.hero.sight._rotation + (deg * 4)) * Math.PI) / 180; xfactor = Math.cos(rads); yfactor = Math.sin(rads); lvx = shot_speed * xfactor; lvy = shot_speed * yfactor; lvl = getNextProjectileLevel(); proj = _root.addObj("hero_bullet", _root.projectile_layer, lvl); proj.vx = lvx; proj.vy = lvy; proj._x = (hero._x + hero.sight._x) + (xfactor * 20); proj._y = (hero._y + hero.sight._y) + (yfactor * 20); proj._rotation = _root.hero.sight._rotation; deg++; } } function shrapnelExplosion(x, y, amt) { ndx = 0; while (ndx < amt) { shot_speed = ((random(100) / 100) * 8) + 4; rot = (90 + random(80)) - 40; rads = (rot * Math.PI) / 180; xfactor = Math.cos(rads); yfactor = Math.sin(rads); lvx = shot_speed * xfactor; lvy = shot_speed * yfactor; lvl = getNextProjectileLevel(); proj = _root.addObj("hero_shrap", _root.projectile_layer, lvl); proj.vx = lvx; proj.vy = lvy; proj._x = x; proj._y = y; proj._rotation = rot; ndx++; } } function shootHeroRocket() { playSound("shoot_rocket.wav"); rocket_smoke = 105; rocket_flame = 130; ammo_rockets--; targ_ene = null; targ_acq = false; for (i in _root.enemies) { if (_root.enemies[i].hitTest(_xmouse, _ymouse, 0)) { targ_ene = _root.enemies[i]; targ_acq = true; break; } } _root.hero.sight.rifle_invert._x = _root.hero.sight.rifle_invert._x - 5; _root.hero.sight.rifle._x = _root.hero.sight.rifle._x - 5; shot_speed = 6; rads = (_root.hero.sight._rotation * Math.PI) / 180; lvx = shot_speed * Math.cos(rads); lvy = shot_speed * Math.sin(rads); lvl = getNextRocketLevel(); proj = _root.addObj("missile", _root.rocket_layer, lvl); proj.vx = lvx; proj.vy = lvy; proj._x = (hero._x + hero.sight._x) + (lvx * 1); proj._y = (hero._y + hero.sight._y) + (lvy * 1); proj._rotation = _root.hero.sight._rotation; proj.target_enemy = targ_ene; proj.target_acquired = targ_acq; } function shootGrenade() { ammo_grenades--; shot_speed = 4; variation = 0; rads = ((_root.hero.sight._rotation + variation) * Math.PI) / 180; lvx = shot_speed * Math.cos(rads); lvy = shot_speed * Math.sin(rads); lvl = getNextProjectileLevel(); proj = _root.addObj("hero_molotov", _root.projectile_layer, lvl); proj.vx = lvx; proj.vy = lvy; proj._x = ((hero._x + hero.sight._x) + lvx) + _root.hero.vx; proj._y = ((hero._y + hero.sight._y) + lvy) + _root.hero.vy; } function shootProximityMine() { ammo_prox_mines--; shot_speed = 2; variation = 0; rads = ((_root.hero.sight._rotation + variation) * Math.PI) / 180; lvx = shot_speed * Math.cos(rads); lvy = shot_speed * Math.sin(rads); lvl = getNextMineLevel(); proj = _root.addObj("proximity_mine", _root.mine_layer, lvl); proj.vx = lvx; proj.vy = lvy; proj._x = ((hero._x + hero.sight._x) + lvx) + _root.hero.vx; proj._y = ((hero._y + hero.sight._y) + lvy) + _root.hero.vy; mines.push(proj); } function placeBlood(x, y) { if (_root.age >= 17) { playSound("blood_splat.wav"); lvl = getNextCraterLevel(); temp = _root.addObj("crater2", _root.ground.crater_layer, lvl); temp._x = x; temp._y = y; temp._rotation = random(360); } } function placeDeadBody(btype, x, y, vx) { lvl = getNextDebrisLevel(); temp = _root.addObj(btype, _root.debris_layer, lvl); temp._x = x; temp._y = y; if (vx > 0) { temp._xscale = -100; } } function placeEnemy(etype, x, y, vx, vy) { trace("Placing enemy specific location!!!!!!!"); lvl = getNextEnemyLevel(); temp = _root.addObj(etype, _root.enemy_layer, lvl); temp._x = x; temp._y = y; temp.vx = vx; temp.vy = vy; registerEnemy(temp); return(temp); } function placeOfficeEnemy(etype, x, y, vx, vy) { trace("Placing enemy at office"); lvl = getNextBGEnemyLevel(); temp = _root.addObj(etype, _root.enemybg_layer, lvl); temp._x = x; temp._y = y; temp.vx = vx; temp.vy = vy; registerEnemy(temp); return(temp); } function placeEnemyFG(etype, x, y, vx, vy) { lvl = getNextEnemyFGLevel(); temp = _root.addObj(etype, _root.enemyfg_layer, lvl); temp._x = x; temp._y = y; temp.vx = vx; temp.vy = vy; registerEnemy(temp); return(temp); } function registerEnemy(ene) { enemies.push(ene); _root.enemy_count = _root.enemies.length; } function getNextBGEnemyLevel() { if ((enemybg_lvl++) > 20) { enemybg_lvl = 1; } return(enemybg_lvl); } function getNextEnemyFGLevel() { if ((enemyfg_lvl++) > 20) { enemyfg_lvl = 1; } return(enemyfg_lvl); } function getNextMineLevel() { if ((mine_lvl++) > 10) { mine_lvl = 1; } return(mine_lvl); } function getNextRocketLevel() { if ((rocket_lvl++) > 6) { rocket_lvl = 1; } return(rocket_lvl); } function getNextProjectileLevel() { if ((proj_lvl++) > 15) { proj_lvl = 1; } return(proj_lvl); } function getNextPowerUpLevel() { if ((powerup_lvl++) > 5) { powerup_lvl = 1; } return(powerup_lvl); } function getNextObstructionLevel() { if ((obs_lvl++) > 10) { obs_lvl = 1; } return(obs_lvl); } function getNextDebrisLevel() { if ((debris_lvl++) > 15) { debris_lvl = 1; } return(debris_lvl); } function getNextBombLevel() { if ((bomb_lvl++) > 10) { bomb_lvl = 1; } return(bomb_lvl); } function getNextBloodLevel() { if ((b_drop_lvl++) > 10) { b_drop_lvl = 1; } return(b_drop_lvl); } function getNextSmokeLevel() { if ((smoke_lvl++) > 40) { smoke_lvl = 1; } return(smoke_lvl); } function getNextCraterLevel() { if ((crater_lvl++) > 6) { crater_lvl = 1; } return(crater_lvl); } function getNextEnemyLevel() { if ((enemy_lvl++) > 20) { enemy_lvl = 1; } return(enemy_lvl); } function getNextFlameLevel() { if ((flame_lvl++) > 7) { flame_lvl = 1; } return(flame_lvl); } function getNextEnemyBulletLevel() { if ((enemy_bullet_lvl++) > 20) { enemy_bullet_lvl = 1; } return(enemy_bullet_lvl); } function placeSmoke(x, y) { lvl = getNextSmokeLevel(); temp = _root.addObj("smoke", _root.smoke_layer, lvl); temp._x = x; temp._y = y; } function addGrenadeExplosion(x, y) { dmg = 10; radius = 60; addExplosion(x, y, radius, dmg); } function getDist(x1, y1, x2, y2) { dx = x1 - x2; dy = y1 - y2; return(Math.sqrt((dx * dx) + (dy * dy))); } function addDebrisExplosionType(x, y, amt, dtype) { i = 0; while (i < amt) { lvl = getNextDebrisLevel(); temp = _root.addObj(dtype, _root.debris_layer, lvl); temp._x = x; temp._y = y; temp.vx = (random(100) - random(100)) / 50; temp.vy = (random(100) - random(100)) / 50; i++; } } function addExplosionType(x, y, radius, dmg, dtype) { playSound("bomb_hit.wav"); lvl = getNextCraterLevel(); temp = _root.addObj("crater1", _root.ground.crater_layer, lvl); temp._x = x; temp._y = y; temp._rotation = random(360); lvl = getNextDebrisLevel(); temp = _root.addObj("explosion", _root.debris_layer, lvl); temp._x = x; temp._y = y; temp._xscale = (temp._yscale = radius); deb = Math.ceil(radius / 40); i = 0; while (i < deb) { lvl = getNextDebrisLevel(); temp = _root.addObj(dtype, _root.debris_layer, lvl); temp._x = x; temp._y = y; temp.vx = (random(100) - random(100)) / 50; temp.vy = ((-random(100)) / 50) - 2; i++; } for (i in _root.enemies) { ene = enemies[i]; dx = ene._x - x; dy = (ene._y - 20) - y; dist = getDist(x, y, ene._x, ene._y - 25); if (dist < radius) { ene.deathCode = "exploded"; impact = Math.ceil((dmg * (radius - dist)) / radius); ene.explosion_impact = impact; ene.explosion_dx = (((-dx) / dist) * impact) * 0.4; ene.explosion_dy = (((-dy) / dist) * impact) * 0.4; ene.takeDamage(impact, ene._x, ene._y, vx, vy); } } for (i in _root.obstructions) { obs = obstructions[i]; dist = getDist(x, y, obs._x, obs._y); if (dist < radius) { obs.leaking = obs.leaking + (random(10) / 10); obs.deathCode = "exploded"; obs.explosion_dist = -dx; } } for (i in _root.mines) { obs = mines[i]; dist = getDist(x, y, obs._x, obs._y); if (dist < radius) { obs.leaking = obs.leaking + (2 + (random(10) / 10)); obs.deathCode = "exploded"; } } dx = _root.hero._x - x; dy = (_root.hero._y - 20) - y; dist = getDist(x, y, _root.hero._x, _root.hero._y - 20); if (dist < radius) { _root.hero._y = _root.hero._y - 2; impact = Math.ceil((dmg * (radius - dist)) / radius); fly = impact; if (impact > 15) { fly = 15; } _root.hero.vx = (((-dx) / dist) * fly) * 0.33; _root.hero.vy = (((-dy) / dist) * fly) * 0.33; _root.addBloodExplosion(_root.hero._x, _root.hero._y - 20); _root.hero.takeDamage(impact); } } function addExplosion(x, y, radius, dmg) { playSound("bomb_hit.wav"); lvl = getNextCraterLevel(); temp = _root.addObj("crater1", _root.ground.crater_layer, lvl); temp._x = x; temp._y = y; temp._rotation = random(360); lvl = getNextDebrisLevel(); temp = _root.addObj("explosion", _root.debris_layer, lvl); temp._x = x; temp._y = y; temp._xscale = (temp._yscale = radius); deb = Math.ceil(radius / 40); i = 0; while (i < deb) { lvl = getNextDebrisLevel(); temp = _root.addObj("debris1", _root.debris_layer, lvl); temp._x = x; temp._y = y; temp.vx = (random(100) - random(100)) / 50; temp.vy = ((-random(100)) / 50) - 2; i++; } for (i in _root.enemies) { ene = enemies[i]; dx = ene._x - x; dy = (ene._y - 20) - y; dist = getDist(x, y, ene._x, ene._y - 25); if (dist < radius) { ene.deathCode = "exploded"; impact = Math.ceil((dmg * (radius - dist)) / radius); ene.explosion_impact = impact; ene.explosion_dx = (((-dx) / dist) * impact) * 0.4; ene.explosion_dy = (((-dy) / dist) * impact) * 0.4; ene.takeDamage(impact, ene._x, ene._y, vx, vy); } } for (i in _root.obstructions) { obs = obstructions[i]; dist = getDist(x, y, obs._x, obs._y); if (dist < radius) { obs.leaking = obs.leaking + (random(10) / 10); obs.deathCode = "exploded"; obs.explosion_dist = -dx; } } for (i in _root.mines) { obs = mines[i]; dist = getDist(x, y, obs._x, obs._y); if (dist < radius) { obs.leaking = obs.leaking + (2 + (random(10) / 10)); obs.deathCode = "exploded"; } } dx = _root.hero._x - x; dy = (_root.hero._y - 20) - y; dist = getDist(x, y, _root.hero._x, _root.hero._y - 20); if (dist < radius) { _root.hero._y = _root.hero._y - 2; impact = Math.ceil((dmg * (radius - dist)) / radius); fly = impact; if (impact > 15) { fly = 15; } _root.hero.vx = (((-dx) / dist) * fly) * 0.33; _root.hero.vy = (((-dy) / dist) * fly) * 0.33; _root.addBloodExplosion(_root.hero._x, _root.hero._y - 20); _root.hero.takeDamage(impact); } } function addBloodExplosion(x, y) { if (_root.age >= 17) { placeBlood(x, y + 20); c = 0; while (c < 10) { blood = _root.addObj("blood_drop", _root.debris_layer, _root.getNextDebrisLevel()); dx = (random(10) - random(10)) + 1; dy = (random(10) - random(10)) + 1; dist = Math.sqrt((dx * dx) + (dy * dy)); power = (random(150) + 25) / 50; blood._x = x; blood._y = y; blood.vx = (dx / dist) * power; blood.vy = (dy / dist) * power; blood._xscale = (blood._yscale = 200 + random(200)); c++; } } } function addBloodExplosionAmt(x, y, amt) { if (_root.age >= 17) { c = 0; while (c < amt) { blood = _root.addObj("blood_drop", _root.debris_layer, _root.getNextDebrisLevel()); dx = (random(10) - random(10)) + 1; dy = (random(10) - random(10)) + 1; dist = Math.sqrt((dx * dx) + (dy * dy)); power = (random(150) + 25) / 50; blood._x = x; blood._y = y; blood.vx = (dx / dist) * power; blood.vy = (dy / dist) * power; blood._xscale = (blood._yscale = 200 + random(200)); c++; } } } function addBloodyStump(x, y, vx, vy) { lvl = getNextDebrisLevel(); temp = _root.addObj("blood_stump", _root.debris_layer, lvl); temp._x = x; temp._y = y; temp.vx = vx; temp.vy = vy; } function addFemBloodyStump(x, y, vx, vy) { lvl = getNextDebrisLevel(); temp = _root.addObj("blood_stump_fem", _root.debris_layer, lvl); temp._x = x; temp._y = y; temp.vx = vx; temp.vy = vy; } function addObj(obj, layer, lvl) { temp = layer.attachMovie(obj, (obj + "_id_") + lvl, lvl); return(temp); } function addSplash(x, y) { lvl = getNextDebrisLevel(); playSound("splash2.wav"); splash = addObj("bullet_water_splash", _root.debris_layer, lvl); splash._x = x; splash._y = y; } function inSameSection(xpos) { code = getSectionCode(xpos); return(_root.heroSectionCode == code); } function getSectionCode(xpos) { if (xpos < s_half) { if (xpos < s_quart) { return(1); } return(2); } if (xpos < (s_half + s_quart)) { return(3); } return(4); } function getDistToNextPart(xpos, vx) { amt = xpos % s_quart; if (vx > 0) { return(s_quart - amt); } return(amt); } function resetObs() { temp = addObj("obs_aircond", _root.obsfg_layer, 1); temp._x = ac_1._x; temp._y = ac_1._y; temp = addObj("obs_aircond", _root.obsfg_layer, 2); temp._x = ac_2._x; temp._y = ac_2._y; temp = addObj("obs_aircond", _root.obsfg_layer, 3); temp._x = ac_3._x; temp._y = ac_3._y; temp = addObj("obs_aircond", _root.obsfg_layer, 4); temp._x = ac_4._x; temp._y = ac_4._y; temp = addObj("obs_aircond", _root.obsfg_layer, 5); temp._x = ac_5._x; temp._y = ac_5._y; temp = addObj("obs_aircond", _root.obsfg_layer, 6); temp._x = ac_6._x; temp._y = ac_6._y; } function cleanUp() { i = 1; while (i <= 20) { addObj("cleaner", _root.debris_layer, i); i++; } i = 1; while (i <= 7) { addObj("cleaner", _root.flame_layer, i); i++; } i = 1; while (i <= 15) { addObj("cleaner", _root.projectile_layer, i); i++; } } function changeSound() { g_soundOn = !g_soundOn; if (g_soundOn) { g_soundText = "on"; } else { g_soundText = "off"; } } stop(); KEY_W = 87; KEY_E = 69; KEY_Q = 81; KEY_A = 65; KEY_S = 83; KEY_D = 68; KEY_X = 67; KEY_C = 88; KEY_J = 74; KEY_K = 75; KEY_L = 76; KEY_U = 85; KEY_UP = 38; KEY_RIGHT = 39; KEY_DOWN = 40; KEY_LEFT = 37; KEY_R = 82; _root.demo_shot = 0; KEY_SPACEBAR = 32; KEY_LEFTCONTROL = 17; g_width = 728; g_ground = 400; bullet_ground = 360; paused = false; _root.age = 2; _root.gameType = "progressive"; end_text = "Nice shooting!"; LEVEL_DISPLAY = 7; HELP_NUM = 6; SCORES = 4; NAMER = 5; GAMEOVER_NUM = 3; UG_LAYER = 1; top_scores_screen = null; help_screen = null; namer_screen = null; game_over_screen1 = null; _root.place_score_1 = 300; _root.place_score_2 = 200; _root.place_score_3 = 100; _root.place_name_1 = "Jax"; _root.place_name_2 = "Matrox"; _root.place_name_3 = "Razor"; _root.player_name = "noob"; myLocalSO = sharedobject.getLocal("gm02"); if (myLocalSO.data.place_score_1 != null) { trace("Shared Object Data Found... loading data"); place_score_1 = myLocalSO.data.highScore; _root.place_score_1 = myLocalSO.data.place_score_1; _root.place_score_2 = myLocalSO.data.place_score_2; _root.place_score_3 = myLocalSO.data.place_score_3; _root.place_name_1 = myLocalSO.data.place_name_1; _root.place_name_2 = myLocalSO.data.place_name_2; _root.place_name_3 = myLocalSO.data.place_name_3; _root.player_name = myLocalSO.data.player_name; paused = false; } else { trace("no object found... loading default data"); _root.first_time_playing = true; _root.place_score_1 = 300; _root.place_score_2 = 200; _root.place_score_3 = 100; _root.place_name_1 = "Jax"; _root.place_name_2 = "Matrox"; _root.place_name_3 = "Razor"; _root.player_name = "noob"; _root.paused = true; openNamer(); openHelp(); } g_lvl_kills = 0; ammo_grenades = 15; ammo_arrows = 25; ammo_bullets = 500; ammo_rockets = 10; ammo_prox_mines = 20; ammo_shells = 20; ammo_rpg = 8; score = 0; level = 1; game_ended = false; resetGame(); gravity = 0.07; gun_wild = 0; aim_rate = 0; shooting_mode = "gun"; obstructions = new Array(); structures = new Array(); mines = new Array(); max_enemies_on_screen = 4; enemy_count = 0; rocket_smoke = 0; rocket_flame = 0; last_throw = false; enemies = new Array(); someListener = new Object(); someListener.onMouseDown = function () { _root.firing = true; }; Mouse.addListener(someListener); someListener2 = new Object(); someListener2.onMouseUp = function () { _root.firing = false; }; Mouse.addListener(someListener2); powerups = new Array("ammo_health", "gas_can", "ammo_gun", "ammo_grenade", "ammo_rocket", "ammo_shotgun", "ammo_rpg_crate", "ammo_prox_mine"); hurtsounds = new Array("oreh.wav", "uh.wav", "oof.wav"); enemybg_lvl = 1; enemyfg_lvl = 1; mine_lvl = 1; rocket_lvl = 1; proj_lvl = 1; powerup_lvl = 1; obs_lvl = 1; debris_lvl = 1; bomb_lvl = 1; b_drop_lvl = 1; smoke_lvl = 1; crater_lvl = 1; enemy_lvl = 1; flame_lvl = 1; enemy_bullet_lvl = 1; s_half = 364; s_quart = 182; _root.heroSectionCode = 1; g_soundOn = true; g_soundText = "on";
Instance of Symbol 405 MovieClip in Frame 2
/* no clip actions */
Instance of Symbol 407 MovieClip in Frame 2
/* no clip actions */
Instance of Symbol 428 MovieClip in Frame 2
onClipEvent (load) { }
Instance of Symbol 440 MovieClip "tower_left" in Frame 2
onClipEvent (load) { }
Instance of Symbol 449 MovieClip in Frame 2
onClipEvent (load) { }
Instance of Symbol 450 MovieClip "tower_right" in Frame 2
onClipEvent (load) { }
Instance of Symbol 452 MovieClip in Frame 2
onClipEvent (load) { _root.structures.push(this); _alpha = 0; }
Instance of Symbol 452 MovieClip in Frame 2
onClipEvent (load) { _root.structures.push(this); _alpha = 0; }
Instance of Symbol 452 MovieClip in Frame 2
onClipEvent (load) { _root.structures.push(this); _alpha = 0; }
Instance of Symbol 452 MovieClip in Frame 2
onClipEvent (load) { _root.structures.push(this); _alpha = 0; }
Instance of Symbol 452 MovieClip in Frame 2
onClipEvent (load) { _root.structures.push(this); _alpha = 0; }
Instance of Symbol 452 MovieClip in Frame 2
onClipEvent (load) { _root.structures.push(this); _alpha = 0; }
Instance of Symbol 518 MovieClip in Frame 2
onClipEvent (enterFrame) { frame = 1; if (_root.hero.hp < 0) { frame = 100; } else { frame = (100 - _root.hero.hp) + 1; } gotoAndStop(frame); }
Instance of Symbol 571 MovieClip in Frame 2
onClipEvent (load) { midx = _root.g_width / 2; midy = _root.g_ground / 2; } onClipEvent (enterFrame) { if (_root.paused) { _x = midx; _y = midy; } else { _x = -999; } }
Instance of Symbol 402 MovieClip [game_over_screen] in Frame 2
onClipEvent (load) { this.unloadMovie(); }
Instance of Symbol 384 MovieClip [help_screen] in Frame 2
onClipEvent (load) { this.unloadMovie(); }
Instance of Symbol 354 MovieClip [namer_screen] in Frame 2
onClipEvent (load) { this.unloadMovie(); }
Instance of Symbol 349 MovieClip [top_scores] in Frame 2
onClipEvent (load) { this.unloadMovie(); }
Instance of Symbol 335 MovieClip [bullet_water_splash] in Frame 2
onClipEvent (load) { this.unloadMovie(); }
Instance of Symbol 593 MovieClip in Frame 2
on (release) { _root.changeSound(); }
Instance of Symbol 122 MovieClip in Frame 2
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 596 MovieClip "stepper" in Frame 2
onClipEvent (load) { function getNextEnemy() { lvl = (_root.level - 1) % cur_mode.length; game_set = cur_mode[lvl]; return(game_set[random(game_set.length)]); } function resetStepperVars() { timeToNextEnemy = 100 + random(100); timeToNextBomber = 200 + random(100); timeToNextChopper = 300 + random(100); timeToNextSniper = 400 + random(100); wave_count = 0; bomber_wave_count = 0; chopper_wave_count = 0; sniper_wave_count = 0; timeToNextDrop = 0; } function addGlassEnemy() { count = 0; found = false; ndx = random(windows.length); do { nextWindow = windows[ndx]; found = nextWindow.enemyDead; ndx++; } while ((!found) && ((count++) < 8)); if (found) { nextWindow.addGlass(); ene = _root.placeOfficeEnemy("enemy_sniper_office", nextWindow._x, nextWindow._y + 10, 0, 0); ene.myWindow = nextWindow; } } function addEnemyCar() { _root.placeEnemyFG("enemy_car", -20, 330, 1.5, 0); } function addEnemyTank() { if (random(2) == 0) { _root.placeEnemy("enemy_tank", -20, 330, 0.5, 0); } else { _root.placeEnemy("enemy_tank", _root.g_width + 20, 330, -0.5, 0); } } function switchGameModes() { if (_root.gameType == "progressive") { _root.gameType = "all"; cur_mode = all_mode; } else { _root.gameType = "progressive"; cur_mode = progressive_mode; } } timeToNextEnemy = 0; timeToNextBomber = 0; timeToNextChopper = 0; timeToNextSniper = 0; sniper_wave_count = 0; wave_count = 0; bomber_wave_count = 0; chopper_wave_count = 0; timeForGlassEnemy = 9999; level01 = new Array("enemy1"); level02 = new Array(); i = 0; while (i < 80) { level02.push("enemy1"); i++; } i = 0; while (i < 10) { level02.push("enemy_drop"); i++; } i = 0; while (i < 8) { level02.push("enemy_drop_sniper"); i++; } i = 0; while (i < 1) { level02.push("enemy_chopper"); i++; } i = 0; while (i < 1) { level02.push("enemy_bomber"); i++; } i = 0; while (i < 1) { level02.push("enemy_a10"); i++; } i = 0; while (i < 10) { level02.push("enemy_sniper_office"); i++; } level03 = new Array(); i = 0; while (i < 70) { level03.push("enemy1"); i++; } i = 0; while (i < 20) { level03.push("enemy_drop"); i++; } i = 0; while (i < 8) { level03.push("enemy_drop_sniper"); i++; } i = 0; while (i < 1) { level03.push("enemy_chopper"); i++; } i = 0; while (i < 1) { level03.push("enemy_bomber"); i++; } i = 0; while (i < 1) { level03.push("enemy_a10"); i++; } level04 = new Array(); i = 0; while (i < 60) { level04.push("enemy1"); i++; } i = 0; while (i < 30) { level04.push("enemy_drop"); i++; } i = 0; while (i < 20) { level04.push("enemy_drop_sniper"); i++; } i = 0; while (i < 10) { level04.push("enemy_chopper"); i++; } i = 0; while (i < 5) { level04.push("enemy_bomber"); i++; } i = 0; while (i < 3) { level04.push("enemy_a10"); i++; } level05 = new Array(); i = 0; while (i < 6) { level05.push("enemy1"); i++; } i = 0; while (i < 6) { level05.push("enemy_drop"); i++; } i = 0; while (i < 3) { level05.push("enemy_drop_sniper"); i++; } i = 0; while (i < 2) { level05.push("enemy_chopper"); i++; } i = 0; while (i < 1) { level05.push("enemy_bomber"); i++; } i = 0; while (i < 1) { level05.push("enemy_a10"); i++; } level06 = new Array(); i = 0; while (i < 3) { level06.push("enemy1"); i++; } i = 0; while (i < 10) { level06.push("enemy_drop"); i++; } i = 0; while (i < 5) { level06.push("enemy_drop_sniper"); i++; } i = 0; while (i < 2) { level06.push("enemy_chopper"); i++; } i = 0; while (i < 1) { level06.push("enemy_bomber"); i++; } i = 0; while (i < 1) { level06.push("enemy_a10"); i++; } level07 = new Array(); i = 0; while (i < 2) { level07.push("enemy1"); i++; } i = 0; while (i < 10) { level07.push("enemy_drop"); i++; } i = 0; while (i < 10) { level07.push("enemy_drop_sniper"); i++; } i = 0; while (i < 5) { level07.push("enemy_chopper"); i++; } i = 0; while (i < 3) { level07.push("enemy_bomber"); i++; } i = 0; while (i < 1) { level07.push("enemy_a10"); i++; } level08 = new Array(); i = 0; while (i < 1) { level08.push("enemy1"); i++; } i = 0; while (i < 1) { level08.push("enemy_drop"); i++; } i = 0; while (i < 1) { level08.push("enemy_drop_sniper"); i++; } i = 0; while (i < 5) { level08.push("enemy_chopper"); i++; } i = 0; while (i < 2) { level08.push("enemy_bomber"); i++; } i = 0; while (i < 1) { level08.push("enemy_a10"); i++; } level09 = new Array(); i = 0; while (i < 1) { level09.push("enemy1"); i++; } i = 0; while (i < 1) { level09.push("enemy_drop"); i++; } i = 0; while (i < 1) { level09.push("enemy_drop_sniper"); i++; } i = 0; while (i < 6) { level09.push("enemy_chopper"); i++; } i = 0; while (i < 3) { level09.push("enemy_bomber"); i++; } i = 0; while (i < 1) { level09.push("enemy_a10"); i++; } level10 = new Array(); i = 0; while (i < 1) { level10.push("enemy1"); i++; } i = 0; while (i < 1) { level10.push("enemy_drop"); i++; } i = 0; while (i < 1) { level10.push("enemy_drop_sniper"); i++; } i = 0; while (i < 6) { level10.push("enemy_chopper"); i++; } i = 0; while (i < 5) { level10.push("enemy_bomber"); i++; } i = 0; while (i < 3) { level10.push("enemy_a10"); i++; } level11 = new Array(); i = 0; while (i < 1) { level11.push("enemy1"); i++; } i = 0; while (i < 1) { level11.push("enemy_drop"); i++; } i = 0; while (i < 1) { level11.push("enemy_drop_sniper"); i++; } i = 0; while (i < 1) { level11.push("enemy_chopper"); i++; } i = 0; while (i < 5) { level11.push("enemy_bomber"); i++; } i = 0; while (i < 4) { level11.push("enemy_a10"); i++; } level12 = new Array(); i = 0; while (i < 0) { level12.push("enemy1"); i++; } i = 0; while (i < 0) { level12.push("enemy_drop"); i++; } i = 0; while (i < 0) { level12.push("enemy_drop_sniper"); i++; } i = 0; while (i < 0) { level12.push("enemy_chopper"); i++; } i = 0; while (i < 1) { level12.push("enemy_bomber"); i++; } i = 0; while (i < 1) { level12.push("enemy_a10"); i++; } level13 = new Array(); i = 0; while (i < 0) { level13.push("enemy1"); i++; } i = 0; while (i < 0) { level13.push("enemy_drop"); i++; } i = 0; while (i < 0) { level13.push("enemy_drop_sniper"); i++; } i = 0; while (i < 1) { level13.push("enemy_chopper"); i++; } i = 0; while (i < 0) { level13.push("enemy_bomber"); i++; } i = 0; while (i < 1) { level13.push("enemy_a10"); i++; } level14 = new Array(); i = 0; while (i < 1) { level14.push("enemy1"); i++; } i = 0; while (i < 1) { level14.push("enemy_drop"); i++; } i = 0; while (i < 0) { level14.push("enemy_drop_sniper"); i++; } i = 0; while (i < 0) { level14.push("enemy_chopper"); i++; } i = 0; while (i < 0) { level14.push("enemy_bomber"); i++; } level15 = new Array(); i = 0; while (i < 0) { level15.push("enemy1"); i++; } i = 0; while (i < 0) { level15.push("enemy_drop"); i++; } i = 0; while (i < 0) { level15.push("enemy_drop_sniper"); i++; } i = 0; while (i < 1) { level15.push("enemy_chopper"); i++; } i = 0; while (i < 1) { level15.push("enemy_bomber"); i++; } i = 0; while (i < 1) { level15.push("enemy_a10"); i++; } level16 = new Array(); i = 0; while (i < 1) { level16.push("enemy1"); i++; } i = 0; while (i < 0) { level16.push("enemy_drop"); i++; } i = 0; while (i < 0) { level16.push("enemy_drop_sniper"); i++; } i = 0; while (i < 0) { level16.push("enemy_chopper"); i++; } i = 0; while (i < 0) { level16.push("enemy_bomber"); i++; } level17 = new Array(); i = 0; while (i < 1) { level17.push("enemy1"); i++; } i = 0; while (i < 0) { level17.push("enemy_drop"); i++; } i = 0; while (i < 0) { level17.push("enemy_drop_sniper"); i++; } i = 0; while (i < 1) { level17.push("enemy_chopper"); i++; } i = 0; while (i < 0) { level17.push("enemy_bomber"); i++; } level18 = new Array(); i = 0; while (i < 1) { level18.push("enemy1"); i++; } i = 0; while (i < 0) { level18.push("enemy_drop"); i++; } i = 0; while (i < 0) { level18.push("enemy_drop_sniper"); i++; } i = 0; while (i < 0) { level18.push("enemy_chopper"); i++; } i = 0; while (i < 1) { level18.push("enemy_bomber"); i++; } game_levels = new Array(level01, level02, level03, level04, level05, level06, level07, level08, level09, level10, level11, level12, level13, level14, level15, level16, level17, level18); progressive_mode = game_levels; all_mode = new Array(new Array("enemy_a10", "enemy_sniper_office", "enemy_drop", "enemy1", "enemy_bomber", "enemy_car", "enemy_chopper", "enemy_tank")); cur_mode = progressive_mode; timeToNextDrop = 0; resetStepperVars(); windows = new Array(_root.w1, _root.w2, _root.w3, _root.w4, _root.w5, _root.w6, _root.w7, _root.w8); } onClipEvent (enterFrame) { _root.elapsed = getTimer() - _root.prev_time; _root.time_count = _root.time_count + _root.elapsed; _root.prev_time = getTimer(); _root.frame_count++; if (_root.time_count > 333) { _root.time_count = 0; _root.fps = _root.frame_count * 3; _root.frame_count = 0; } if ((((timeToNextDrop--) <= 0) && (!_root.paused)) && (_root.enemy_count < _root.max_enemies_on_screen)) { ene_type = getNextEnemy(); if (ene_type == "enemy_bomber") { if (random(2) == 0) { _root.placeEnemy("enemy_bomber", -44, random(100) + 20, 1 + (_root.level * 0.02), 0); } else { _root.placeEnemy("enemy_bomber", _root.g_width + 44, random(100) + 20, -1 - (_root.level * 0.02), 0); } timeToNextDrop = random(200) + 200; } else if (ene_type == "enemy_chopper") { if (random(2) == 0) { ene = _root.placeEnemy("enemy_chopper", -20, -10, 0, 0); ene._xscale = -100; } else { ene = _root.placeEnemy("enemy_chopper", _root.g_width + 20, -10, 0, 0); ene._xscale = 100; } timeToNextDrop = random(200) + 100; } else if (ene_type == "enemy_a10") { if (random(2) == 0) { _root.placeEnemy("enemy_a10", -44, random(100) + 20, 1.75, 0.1); } else { _root.placeEnemy("enemy_a10", _root.g_width + 44, random(100) + 20, -1.75, 0.1); } timeToNextDrop = random(200) + 200; } else if (ene_type == "enemy_drop_sniper") { if (random(2) == 0) { _root.placeEnemy("enemy_drop_sniper", _root.tower_left._x, -10, 0, 0); } else { _root.placeEnemy("enemy_drop_sniper", _root.tower_right._x, -10, 0, 0); } timeToNextDrop = random(100) + 50; } else if (ene_type == "enemy_drop") { _root.placeEnemy("enemy_drop", ((_root.g_width / 2) + random(300)) - random(300), -10, 0, 0); timeToNextDrop = random(200) + 25; } else if (ene_type == "enemy_sniper_office") { addGlassEnemy(); timeToNextDrop = random(200) + 25; } else if (ene_type == "enemy_car") { addEnemyCar(); timeToNextDrop = random(200) + 25; } else if (ene_type == "enemy_tank") { addEnemyTank(); timeToNextDrop = random(200) + 25; } else { if (random(2) == 0) { _root.placeEnemy("enemy1", -20, _root.g_ground - 50, 0, 0); } else { _root.placeEnemy("enemy1", _root.g_width + 20, _root.g_ground - 50, 0, 0); } timeToNextDrop = random(100) + 50; } } if (_root.g_lvl_kills >= 20) { _root.g_lvl_kills = 0; _root.level++; _root.showLevelDisplay(); } if ((_root.fps_ticker++) > 50) { if (_root.fps < _root.min_fps) { _root.min_fps = _root.fps; } if (_root.fps > _root.max_fps) { _root.max_fps = _root.fps; } _root.fps_ticks++; _root.fps_total = _root.fps_total + _root.fps; _root.avg_fps = _root.fps_total / _root.fps_ticks; } if ((_root.gameOver() && (!_root.game_ended)) && ((endDelay++) > 100)) { _root.game_ended = true; _root.endGame(); } _root.enemy_count = _root.enemies.length; _root.mine_count = _root.mines.length; updateAfterEvent(); }
Instance of Symbol 332 MovieClip [enemy_bomb_drop] in Frame 2
onClipEvent (load) { this.unloadMovie(); }
Instance of Symbol 605 MovieClip "cross_hair" in Frame 2
onClipEvent (enterFrame) { _x = _root._xmouse; _y = _root._ymouse; }
Instance of Symbol 217 MovieClip in Frame 2
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 217 MovieClip in Frame 2
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 217 MovieClip in Frame 2
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 607 MovieClip in Frame 2
/* no clip actions */
Instance of Symbol 639 MovieClip in Frame 2
onClipEvent (load) { _root.paused = true; _x = (_root.g_width / 2); _y = (_root.g_ground / 2); }
Symbol 28 MovieClip [enemy_bomb_drop_napalm] Frame 1
function step() { vy = vy + (_root.gravity / 5); _x = (_x + vx); _y = (_y + vy); xpos = _x; ypos = _y; _rotation = (_rotation + rotFactor); if (((_x < xmin) || (_x > xmax)) || (_y > ymax)) { _root.removeEnemy(this); } if ((_y > 200) || (hp <= 0)) { hitstruct = false; if ((_y > 200) && (_y < 260)) { for (ndx in _root.structures) { if (_root.structures[ndx].hitTest(_x, _y, 0)) { hitstruct = true; break; } } } if ((hitstruct || (hp <= 0)) || (_y > ground_spot)) { _root.addExplosionType(_x, _y, 110, 1, "debris_flame"); this.unloadMovie(); } } } function takeDamage(amt, x, y, vx, vy) { hp = hp - amt; } hp = 1; xpos = _x; ypos = _y; xmax = _root.g_width + 100; ymax = _root.g_ground + 50; xmin = -100; ymin = -10; ground_spot = _root.bullet_ground - 40; if (vx < 0) { _xscale = -100; } if (vx > 0) { rotFactor = 0.3; } else { rotFactor = -0.3; }
Instance of Symbol 27 MovieClip in Symbol 28 MovieClip [enemy_bomb_drop_napalm] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 31 MovieClip Frame 7
this.unloadMovie();
Symbol 34 MovieClip Frame 20
this.unloadMovie();
Symbol 36 MovieClip [enemy_rocket] Frame 1
function step() { _x = (_x + vx); _y = (_y + vy); placeSmoke(); if ((((_x < xmin) || (_x > xmax)) || (_y < ymin)) || (_y > ymax)) { this.unloadMovie(); } testHitObstructions(); testHitHero(); } function testHitObstructions() { hitstruct = false; for (ndx in _root.structures) { if (_root.structures[ndx].hitTest(_x, _y, 0)) { hitstruct = true; break; } } if (hitstruct || (_y > ground_spot)) { _root.addExplosion(_x, _y, radius, dmg); this.unloadMovie(); } for (i in _root.obstructions) { if (_root.obstructions[i].hitTest(_x, _y, 1)) { _root.addExplosion(_x, _y, radius, dmg); this.unloadMovie(); } } } function testHitHero() { if (_root.hero.hitbox.hitTest(_x, _y, 0)) { _root.addExplosion(_x, _y, radius, dmg); this.unloadMovie(); } } function placeSmoke() { lvl = _root.getNextSmokeLevel(); temp = _root.smoke_layer.attachMovie("segment", "segment_id_" + lvl, lvl); temp._x = _x; temp._y = _y; temp._width = Math.sqrt((vx * vx) + (vy * vy)); temp._rotation = _rotation; } xmax = _root.g_width + 20; xmin = -20; ymax = _root.g_ground + 20; ymin = -20; radius = 40; dmg = 30; xmark = _x; ymark = _y; timeToMark = 0; ground_spot = _root.bullet_ground - 20;
Instance of Symbol 24 MovieClip "rocket" in Symbol 36 MovieClip [enemy_rocket] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 37 MovieClip [missile] Frame 1
function getTarget() { minDist = 99999 /* 0x01869F */; for (i in _root.enemies) { temp_distx = _root.enemies[i].xpos - _x; temp_disty = _root.enemies[i].ypos - _y; temp_dist = Math.sqrt((temp_distx * temp_distx) + (temp_disty * temp_disty)); if ((temp_dist < minDist) && (_root.enemies[i].ypos > 0)) { distx = temp_distx; disty = temp_disty; dist = temp_dist; minDist = temp_dist; target_enemy = _root.enemies[i]; target_enemy.locked_on = true; } } _root.testball.targ = target_enemy; target_acquired = true; } function step() { placeSmoke(); dx = _root._xmouse - _x; dy = _root._ymouse - _y; dist = Math.sqrt((dx * dx) + (dy * dy)); vx = vx + ((g_missile_turn_rate * dx) / dist); vy = vy + ((g_missile_turn_rate * dy) / dist); normDist = Math.sqrt((vx * vx) + (vy * vy)); vx = (g_missile_speed * vx) / normDist; vy = (g_missile_speed * vy) / normDist; if (!flying) { flying = true; rocket.flame._alpha = 100; } prevDist = newDist; newDist = dist; if ((prevDist < newDist) && (!change_course)) { change_course = true; pass_count = 20; } else if ((prevDist > newDist) && (change_course)) { change_course = false; } trace("Pass count: " + pass_count); radians = Math.atan(vy / vx); if (vx == 0) { radians = radians + Math.PI; } if (vx > 0) { _rotation = ((radians * 180) / 3.14159); } else { _rotation = (((radians * 180) / 3.14159) + 180); } xprev = _x; yprev = _y; _x = (_x + vx); _y = (_y + vy); xcur = _x; ycur = _y; target_acquired = target_enemy.hp > 0; testHitEnemies(); testHitObstructions(); if ((fuel--) < 0) { _root.addSpark("spark", _x, _y, 10); _root.addExplosion(_x, _y, radius, dmg); this.unloadMovie(); } } function testHitEnemies() { for (i in _root.enemies) { if (_root.enemies[i].hitTest(_x, _y, 1)) { _root.addExplosion(_x, _y, radius, dmg); this.unloadMovie(); } } } function testHitObstructions() { if (hitstruct || (_y > ground_spot)) { _root.addExplosion(_x, _y, radius, dmg); this.unloadMovie(); } for (i in _root.obstructions) { if (_root.obstructions[i].hitTest(_x, _y, 1)) { _root.addExplosion(_x, _y, radius, dmg); this.unloadMovie(); } } } function testBlastRadius() { hitCount = 0; temp = _root.addObj("blast_animation", _root.debris_layer, _root.getNextDebrisLvl); temp._x = _x; temp._y = _y; temp._xscale = (temp._yscale = 50); _root.playSound("bomb.wav"); for (ndx in _root.enemies) { distx = _root.enemies[ndx].xpos - _x; disty = _root.enemies[ndx].ypos - _y; range = Math.sqrt((distx * distx) + (disty * disty)); trace("Distance: " + range); if (range < g_missile_blast_range) { _root.enemies[ndx].takeDamage(g_missile_damage); if ((hitCount++) > 2) { break; } } } } function placeSmoke() { lvl = _root.getNextSmokeLevel(); temp = _root.smoke_layer.attachMovie("segment", "segment_id_" + lvl, lvl); temp._x = _x; temp._y = _y; temp._width = Math.sqrt((vx * vx) + (vy * vy)); temp._rotation = _rotation; } function scan() { minDist = 99999 /* 0x01869F */; ndx = 0; while ((ndx < _root.enemies.length) && (!blownUp)) { if ((blownUp = _root.enemies[ndx].hitTest(_x, _y, 1))) { trace("Boom"); } ndx++; } } fy = 40; scan_time = 5; blownUp = false; flying = false; adjustmentTime = 20; g_missile_turn_rate = 0.6; g_missile_speed = 6; g_missile_blast_range = 50; g_missile_damage = 200; fuel = 600; prevDist = 9999; newDist = 9999; dist = 0; change_course = false; pass_count = 0; radius = 50; dmg = 45; ground_spot = _root.bullet_ground - 20; xmark = _x; ymark = _y; timeToMark = 9999; nextTarget = 5;
Instance of Symbol 24 MovieClip "rocket" in Symbol 37 MovieClip [missile] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 40 MovieClip [hero_arrow_bomb] Frame 1
function setVelocity(xdelta, ydelta) { trace((("setting x and y: " + xdelta) + " ") + ydelta); vx = xdelta; vy = ydelta; } function step() { vy = vy + (_root.gravity * 2); _y = (_y + vy); _x = (_x + vx); radians = Math.atan(vy / vx); if (vx > 0) { _rotation = ((radians * 180) / 3.14159); } else { _rotation = (((radians * 180) / 3.14159) + 180); } if (((_x < -10) || (_x > xmax)) || (_y > ymax)) { this.unloadMovie(); } testHitEnemies(); testHitObstructions(); } function testHitEnemies() { for (i in _root.enemies) { if (_root.enemies[i].hitbox.hitTest(_x, _y, 0)) { _root.enemies[i].takeDamage(3, _x, _y, vx, vy); _root.addSpark("spark", _x, _y, 3); _root.playHitEnemySound(); _root.addExplosion(_x, _y, range, dmg); this.unloadMovie(); } } } function testHitObstructions() { if (_root.ground.ground_body.hitTest(_x, _y, 1)) { _root.addExplosion(_x, _y, range, dmg); _root.placeDebrisArrow(_x, _y, _rotation); this.unloadMovie(); } for (i in _root.obstructions) { if (_root.obstructions[i].hitTest(_x, _y, 1)) { _root.obstructions[i].takeDamage(3, _x, _y, vx, vy); _root.addExplosion(_x, _y, range, dmg); _root.placeDebrisArrow(_x, _y, _rotation); this.unloadMovie(); } } } xmax = _root.g_width + 10; ymax = _root.g_ground + 10; range = 40; dmg = 10;
Instance of Symbol 39 MovieClip in Symbol 40 MovieClip [hero_arrow_bomb] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 43 MovieClip [debris_flame] Frame 1
function setVelocity(xdelta, ydelta) { trace((("setting x and y: " + xdelta) + " ") + ydelta); vx = xdelta; vy = ydelta; } function step() { vy = vy + (_root.gravity * 2); _y = (_y + vy); _x = (_x + vx); radians = Math.atan(vy / vx); if (vx > 0) { _rotation = ((radians * 180) / 3.14159); } else { _rotation = (((radians * 180) / 3.14159) + 180); } if (((_x < -10) || (_x > xmax)) || (_y > ymax)) { this.unloadMovie(); } testHitEnemies(); testHitObstructions(); } function testHitEnemies() { for (i in _root.enemies) { ene = _root.enemies[i]; if (ene.hitbox.hitTest(_x, _y, 0)) { if (ene.etype == "troop") { _root.enemies[i].takeDamage(1000, _x, _y, vx, vy); _root.playHitEnemySound(); } else { this.unloadMovie(); } } } } function testHitObstructions() { if (_root.ground.ground_body.hitTest(_x, _y, 1)) { temp = _root.addObj("napalm_flame", _root.flame_layer, _root.getNextFlameLevel()); temp._x = _x; temp._y = _y; this.unloadMovie(); } for (i in _root.obstructions) { if (_root.obstructions[i].hitTest(_x, _y, 1)) { _root.obstructions[i].takeDamage(3, _x, _y, vx, vy); this.unloadMovie(); } } } function placeSmoke() { lvl = _root.getNextSmokeLevel(); temp = _root.smoke_layer.attachMovie("segment_arrow", "segment_arrow_id_" + lvl, lvl); temp._x = _x; temp._y = _y; temp._width = Math.sqrt((vx * vx) + (vy * vy)); temp._rotation = _rotation; } xmax = _root.g_width + 10; ymax = 340; range = 40; dmg = 10;
Instance of Symbol 42 MovieClip in Symbol 43 MovieClip [debris_flame] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 44 MovieClip [hero_arrow] Frame 1
function setVelocity(xdelta, ydelta) { trace((("setting x and y: " + xdelta) + " ") + ydelta); vx = xdelta; vy = ydelta; } function step() { vy = vy + (_root.gravity * 2); _y = (_y + vy); _x = (_x + vx); radians = Math.atan(vy / vx); if (vx > 0) { _rotation = ((radians * 180) / 3.14159); } else { _rotation = (((radians * 180) / 3.14159) + 180); } placeSmoke(); if (((_x < -10) || (_x > xmax)) || (_y > ymax)) { this.unloadMovie(); } testHitEnemies(); testHitObstructions(); } function testHitEnemies() { for (i in _root.enemies) { ene = _root.enemies[i]; if (ene.hitbox.hitTest(_x, _y, 0)) { if (ene.etype == "troop") { _root.enemies[i].takeDamage(1000, _x, _y, vx, vy); _root.playHitEnemySound(); } else { this.unloadMovie(); } } } } function testHitObstructions() { if (_y > _root.bullet_ground) { this.unloadMovie(); } for (i in _root.obstructions) { if (_root.obstructions[i].hitTest(_x, _y, 1)) { _root.obstructions[i].takeDamage(3, _x, _y, vx, vy); _root.placeDebrisArrow(_x, _y, _rotation); this.unloadMovie(); } } } function placeSmoke() { lvl = _root.getNextSmokeLevel(); temp = _root.smoke_layer.attachMovie("segment_arrow", "segment_arrow_id_" + lvl, lvl); temp._x = _x; temp._y = _y; temp._width = Math.sqrt((vx * vx) + (vy * vy)); temp._rotation = _rotation; } xmax = _root.g_width + 10; ymax = _root.g_ground + 10; range = 40; dmg = 10;
Instance of Symbol 39 MovieClip in Symbol 44 MovieClip [hero_arrow] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 53 MovieClip Frame 1
stop();
Instance of Symbol 58 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (load) { _alpha = 0; }
Symbol 60 MovieClip [enemy_tank] Frame 1
function step() { xpos = _x; ypos = _y; frame = 60 - hp; if (frame < 1) { frame = 1; } frame = Math.floor(frame); car_anim.gotoAndStop(frame); if (!reached) { _x = (_x + vx); reached = ((vx < 0) && (_x < xspot)) || ((vx > 0) && (_x > xspot)); } hp = hp - leaking; if (hp < 0) { _root.increaseScore(10, _x, _y); _root.addExplosion(_x, _y, 20, 20); lvl = _root.getNextDebrisLevel(); temp = _root.addObj("tank_dead", _root.debris_layer, lvl); temp._x = _x; temp._y = _y; temp._xscale = _xscale; _root.removeEnemy(this); } if ((timeToShoot--) < 0) { if (Math.abs(_x - _root.hero._x) > 200) { shoot(); } timeToShoot = 400; } } function takeDamage(dmg, x, y, vx, vy) { if (leaking <= 0) { if (weakspot.hitTest(x, y, 0)) { _root.increaseScore(10, _x, _y); leaking = 0.05; _root.addExplosion(x, y, 5, 5); } } trace("Taking Damage!!!!!!!!!!!!!!!!!!"); trace("Damage: " + dmg); hp = hp - dmg; _root.playSound("ching1.wav"); spark_amt = random(2); c = 0; while (c < spark_amt) { blood = _root.addObj("debris2", _root.debris_layer, _root.getNextDebrisLevel()); blood._x = x; blood._y = y; blood.vx = (vx / 3) + ((random(10) - random(10)) / 10); blood.vy = (vy / 3) + ((random(10) - random(10)) / 10); blood._xscale = (blood._yscale = 50 + random(100)); c++; } xnew = x - _x; ynew = y - _y; if (_xscale < 0) { xnew = xnew * -1; } temp = _root.addObj("bullet_hole2", bullet_hole_layer, getNextBulletHoleLevel()); temp._x = xnew; temp._y = ynew; } function getNextBulletHoleLevel() { if ((b_level++) > 8) { b_level = 1; } return(b_level); } function shoot() { _root.playSound("bomb_hit.wav"); dx = _root.hero._x - _x; dy = (_root.hero._y - 10) - (_y - 20); g = _root.gravity * 2; if (dx < 0) { lvx = -5; } else { lvx = 5; } t = (_root.hero._x - _x) / (lvx - _root.hero.vx); lvy = (dy - (((0.5 * g) * t) * t)) / t; proj = _root.addObj("tank_shell", _root.enemy_bullet_layer, _root.getNextEnemyBulletLevel()); proj.vx = lvx; proj.vy = lvy; proj._x = _x; proj._y = _y - 20; } function shootRocket() { _root.playSound("shoot_rocket4.wav"); rocket = _root.addObj("enemy_rocket", _root.enemy_bullet_layer, _root.getNextEnemyBulletLevel()); shot_speed = 3.5 * (1 + (_root.level * 0.01)); if (shot_speed > 8) { shot_speed = 8; } wild_factor = 1.5; dx = _root.hero._x - _x; dy = _root.hero._y - _y; variation = (random(Math.floor(wild_factor * 100)) - random(Math.floor(wild_factor * 100))) / 2000; radians = Math.atan(dy / dx) + variation; if (dx < 0) { radians = radians + Math.PI; } rocket.vy = Math.sin(radians) * shot_speed; rocket.vx = Math.cos(radians) * shot_speed; rocket._x = _x; rocket._y = _y; rocket._rotation = (radians * 180) / Math.PI; } target_elev = 50 + random(200); hp = 60; leaking = 0; lift = -0.06; shots = 0; rocket_shots = 0; timeToShoot = 400; timeToShootRocket = 600; xpos = 0; ypos = 0; reached = false; xspot = random(100) + 50; etype = "car"; clip_size = Math.floor(_root.level * 0.2); if (clip_size > 5) { clip_size = 5; } if (vx < 0) { _xscale = -100; xspot = (_root.g_width - 50) - random(50); } else { _xscale = 100; xspot = 50 + random(50); } b_level = 1;
Instance of Symbol 53 MovieClip "car_anim" in Symbol 60 MovieClip [enemy_tank] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 55 MovieClip "hitbox" in Symbol 60 MovieClip [enemy_tank] Frame 1
onClipEvent (load) { _alpha = 0; }
Instance of Symbol 55 MovieClip "weakspot" in Symbol 60 MovieClip [enemy_tank] Frame 1
onClipEvent (load) { _alpha = 0; }
Symbol 63 MovieClip Frame 1
stop();
Symbol 65 MovieClip [enemy_car] Frame 1
function step() { xpos = _x; ypos = _y; frame = 20 - hp; if (frame < 1) { frame = 1; } frame = Math.floor(frame); car_anim.gotoAndStop(frame); _x = (_x + vx); if (_x > 760) { _root.removeEnemy(this); } hp = hp - leaking; if (hp < 0) { _root.increaseScore(10, _x, _y); _root.addExplosion(_x, _y, 20, 20); lvl = _root.getNextDebrisLevel(); temp = _root.addObj("enemy_car_dead", _root.debris_layer, lvl); temp._x = _x; temp._y = _y; temp._xscale = _xscale; _root.removeEnemy(this); } } function takeDamage(dmg, x, y, vx, vy) { if (leaking <= 0) { if (weakspot.hitTest(x, y, 0)) { _root.increaseScore(10, _x, _y); leaking = 0.05; _root.addExplosion(x, y, 5, 5); } } trace("Taking Damage!!!!!!!!!!!!!!!!!!"); trace("Damage: " + dmg); hp = hp - dmg; _root.playSound("ching1.wav"); spark_amt = random(2); c = 0; while (c < spark_amt) { blood = _root.addObj("debris2", _root.debris_layer, _root.getNextDebrisLevel()); blood._x = x; blood._y = y; blood.vx = (vx / 3) + ((random(10) - random(10)) / 10); blood.vy = (vy / 3) + ((random(10) - random(10)) / 10); blood._xscale = (blood._yscale = 50 + random(100)); c++; } xnew = x - _x; ynew = y - _y; if (_xscale < 0) { xnew = xnew * -1; } temp = _root.addObj("bullet_hole2", bullet_hole_layer, getNextBulletHoleLevel()); temp._x = xnew; temp._y = ynew; } function getNextBulletHoleLevel() { if ((b_level++) > 8) { b_level = 1; } return(b_level); } function shoot() { _root.playSound("tat3.wav"); bullet = _root.addObj("enemy_bullet", _root.enemy_bullet_layer, _root.getNextEnemyBulletLevel()); shot_speed = 2.5 * (1 + (_root.level * 0.02)); if (shot_speed > 8) { shot_speed = 8; } wild_factor = 1.5; dx = _root.hero._x - _x; dy = _root.hero._y - _y; variation = (random(Math.floor(wild_factor * 100)) - random(Math.floor(wild_factor * 100))) / 2000; radians = Math.atan(dy / dx) + variation; if (dx < 0) { radians = radians + Math.PI; } bullet.vy = Math.sin(radians) * shot_speed; bullet.vx = Math.cos(radians) * shot_speed; bullet._x = _x; bullet._y = _y; bullet._rotation = (radians * 180) / Math.PI; } function shootRocket() { _root.playSound("shoot_rocket4.wav"); rocket = _root.addObj("enemy_rocket", _root.enemy_bullet_layer, _root.getNextEnemyBulletLevel()); shot_speed = 3.5 * (1 + (_root.level * 0.01)); if (shot_speed > 8) { shot_speed = 8; } wild_factor = 1.5; dx = _root.hero._x - _x; dy = _root.hero._y - _y; variation = (random(Math.floor(wild_factor * 100)) - random(Math.floor(wild_factor * 100))) / 2000; radians = Math.atan(dy / dx) + variation; if (dx < 0) { radians = radians + Math.PI; } rocket.vy = Math.sin(radians) * shot_speed; rocket.vx = Math.cos(radians) * shot_speed; rocket._x = _x; rocket._y = _y; rocket._rotation = (radians * 180) / Math.PI; } target_elev = 50 + random(200); hp = 20; leaking = 0; lift = -0.06; shots = 0; rocket_shots = 0; timeToShoot = 400; timeToShootRocket = 600; xpos = 0; ypos = 0; etype = "car"; clip_size = Math.floor(_root.level * 0.2); if (clip_size > 5) { clip_size = 5; } b_level = 1;
Instance of Symbol 63 MovieClip "car_anim" in Symbol 65 MovieClip [enemy_car] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 55 MovieClip "hitbox" in Symbol 65 MovieClip [enemy_car] Frame 1
onClipEvent (load) { _alpha = 0; }
Instance of Symbol 55 MovieClip "weakspot" in Symbol 65 MovieClip [enemy_car] Frame 1
onClipEvent (load) { _alpha = 0; }
Instance of Symbol 67 MovieClip in Symbol 68 MovieClip Frame 1
onClipEvent (enterFrame) { _rotation = (_rotation + 61); }
Symbol 77 MovieClip [enemy_chopper] Frame 1
function step() { xpos = _x; ypos = _y; if ((move_count++) > 100) { move_count = 0; if (_root.hero._x < _x) { vx = -0.25; } else { vx = 0.25; } } vy = vy + mygrav; frame = 20 - hp; if (frame < 1) { frame = 1; } frame = Math.floor(frame); chopper_anim.gotoAndStop(frame); if (_y > target_elev) { ydelt = lift; } else { ydelt = 0; } if (vy < -0.5) { ydelt = -lift; } if (vy > 0.5) { ydelt = lift; } vy = vy + ydelt; _x = (_x + vx); _y = (_y + vy); if (hp < 5) { lift = -0.02; hitstruct = false; if ((_y > 200) && (_y < 260)) { for (ndx in _root.structures) { if (_root.structures[ndx].hitTest(_x, _y, 0)) { hitstruct = true; break; } } } bottom = _root.ground.ground_body.hitTest(_x, _y, 1) || (hitstruct); } hp = hp - leaking; if (bottom) { _root.increaseScore(10, _x, _y); _root.addExplosion(_x, _y, 60, 30); lvl = _root.getNextDebrisLevel(); temp = _root.addObj("chopper_dead", _root.debris_layer, lvl); temp._x = _x; temp._y = _y; temp._xscale = _xscale; _root.removeEnemy(this); } if ((timeToShoot--) <= 0) { if (shots >= (1 + clip_size)) { shots = 0; timeToShoot = (400 + random(300)) - (_root.level * 5); if (timeToShootRocket < 300) { timeToShootRocket = 300; } } else { shots++; timeToShoot = 5; } shoot(); } if (((timeToShootRocket--) <= 0) && (Math.abs(_root.hero._x - _x) > 200)) { if (rocket_shots >= 1) { rocket_shots = 0; timeToShootRocket = (800 + random(400)) - (_root.level * 5); if (timeToShootRocket < 500) { timeToShootRocket = 500; } } else { rocket_shots++; timeToShootRocket = 10; } shootRocket(); } } function takeDamage(dmg, x, y, vx, vy) { if (leaking <= 0) { if (weakspot.hitTest(x, y, 0)) { _root.increaseScore(10, _x, _y); leaking = 0.05; _root.addExplosion(x, y, 15, 5); } } trace("Taking Damage!!!!!!!!!!!!!!!!!!"); trace("Damage: " + dmg); hp = hp - dmg; _root.playSound("ching1.wav"); spark_amt = random(2); c = 0; while (c < spark_amt) { blood = _root.addObj("debris2", _root.debris_layer, _root.getNextDebrisLevel()); blood._x = x; blood._y = y; blood.vx = (vx / 3) + ((random(10) - random(10)) / 10); blood.vy = (vy / 3) + ((random(10) - random(10)) / 10); blood._xscale = (blood._yscale = 50 + random(100)); c++; } xnew = x - _x; ynew = y - _y; if (_xscale < 0) { xnew = xnew * -1; } temp = _root.addObj("bullet_hole2", bullet_hole_layer, getNextBulletHoleLevel()); temp._x = xnew; temp._y = ynew; } function getNextBulletHoleLevel() { if ((b_level++) > 8) { b_level = 1; } return(b_level); } function shoot() { _root.playSound("tat3.wav"); bullet = _root.addObj("enemy_bullet", _root.enemy_bullet_layer, _root.getNextEnemyBulletLevel()); shot_speed = 2.5 * (1 + (_root.level * 0.02)); if (shot_speed > 8) { shot_speed = 8; } wild_factor = 1.5; dx = _root.hero._x - _x; dy = _root.hero._y - _y; variation = (random(Math.floor(wild_factor * 100)) - random(Math.floor(wild_factor * 100))) / 2000; radians = Math.atan(dy / dx) + variation; if (dx < 0) { radians = radians + Math.PI; } bullet.vy = Math.sin(radians) * shot_speed; bullet.vx = Math.cos(radians) * shot_speed; bullet._x = _x; bullet._y = _y; bullet._rotation = (radians * 180) / Math.PI; } function shootRocket() { _root.playSound("shoot_rocket4.wav"); rocket = _root.addObj("enemy_rocket", _root.enemy_bullet_layer, _root.getNextEnemyBulletLevel()); shot_speed = 3.5 * (1 + (_root.level * 0.01)); if (shot_speed > 8) { shot_speed = 8; } wild_factor = 1.5; dx = _root.hero._x - _x; dy = _root.hero._y - _y; variation = (random(Math.floor(wild_factor * 100)) - random(Math.floor(wild_factor * 100))) / 2000; radians = Math.atan(dy / dx) + variation; if (dx < 0) { radians = radians + Math.PI; } rocket.vy = Math.sin(radians) * shot_speed; rocket.vx = Math.cos(radians) * shot_speed; rocket._x = _x; rocket._y = _y; rocket._rotation = (radians * 180) / Math.PI; } target_elev = 50 + random(200); hp = 20; leaking = 0; lift = -0.06; shots = 0; rocket_shots = 0; timeToShoot = 400; timeToShootRocket = 600; mygrav = 0.05; xpos = 0; ypos = 0; etype = "chopper"; clip_size = Math.floor(_root.level * 0.2); if (clip_size > 5) { clip_size = 5; } b_level = 1;
Instance of Symbol 75 MovieClip "chopper_anim" in Symbol 77 MovieClip [enemy_chopper] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 55 MovieClip "hitbox" in Symbol 77 MovieClip [enemy_chopper] Frame 1
onClipEvent (load) { _alpha = 0; }
Instance of Symbol 55 MovieClip "weakspot" in Symbol 77 MovieClip [enemy_chopper] Frame 1
onClipEvent (load) { _alpha = 0; }
Instance of Symbol 103 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (load) { if (_root.age < 17) { this.unloadMovie(); } }
Symbol 105 MovieClip Frame 65
stop();
Symbol 106 MovieClip [body_dieing] Frame 1
function step() { if ((count++) > 100) { _alpha = (_alpha - 2); if (_alpha < 0) { this.unloadMovie(); } } }
Instance of Symbol 105 MovieClip in Symbol 106 MovieClip [body_dieing] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 109 MovieClip Frame 24
this.unloadMovie();
Instance of Symbol 109 MovieClip in Symbol 110 MovieClip [smoke] Frame 1
onClipEvent (load) { _rotation = random(360); rate = (random(100) - 50) / 10; } onClipEvent (enterFrame) { _rotation = (_rotation + rate); }
Symbol 113 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 70
gotoAndPlay (10);
Symbol 113 MovieClip Frame 142
gotoAndPlay (135);
Symbol 114 MovieClip [enemy1] Frame 1
function step() { xpos = _x; ypos = _y; if (vx > 0) { _xscale = -100; } else { _xscale = 100; } if ((timeToCheckDirection++) > 100) { timeToCheckDirection = 0; dx = _x - _root.hero._x; if (dx > 0) { vx = -speed; } else { vx = speed; } } bottom = _root.ground.ground_body.hitTest(_x, _y, 1); grounded = _root.ground.ground_body.hitTest(_x, _y + 2, 1); if (bottom) { if (delta > 0) { delta = 0; } delta = delta - 0.1; vy = delta; } else if (delta < 0) { delta = 0; vy = 0; } if (!shooting) { count = count + 1; if (count > 60) { count = 0; } vy = vy + _root.gravity; _x = (_x + vx); _y = (_y + vy); body.gotoAndStop(count + mode); } else { shooting = (shootCount++) < 10; } if (((_x < -40) || (_x > xmax)) || (_y > ymax)) { _root.removeEnemy(this); } if (hp <= 0) { if (deathCode == "exploded") { _root.increaseScore(5, _x, _y); if (explosion_impact > 25) { _root.addBloodExplosion(_x, _y - 20); } else { lvl = _root.getNextDebrisLevel(); temp = _root.addObj("blood_stump", _root.debris_layer, lvl); temp._x = _x; temp._y = _y - 5; temp.vx = explosion_dx; temp.vy = explosion_dy; temp._rotation = random(360); } } else if (deathCode == "head_shot") { _root.increaseScore(15, _x, _y); _alpha = 0; _root.addBloodExplosionAmt(_x, _y - 20, 5); _root.placeDeadBody("body_dieing2", _x, _y, vx); } else { _root.increaseScore(10, _x, _y); _alpha = 0; lvl = _root.getNextDebrisLevel(); temp = _root.addObj("blood_stump", _root.debris_layer, lvl); temp._x = _x; temp._y = _y; temp.vx = vx; temp.vy = vy; } _root.removeEnemy(this); } if ((timeToShoot--) <= 0) { shoot(); if ((shot_count++) >= clip_size) { shot_count = 0; timeToShoot = (200 + random(100)) - (_root.level * 5); if (timeToShoot < 100) { timeToShoot = 100; } } else { timeToShoot = 10; } } if ((timeToNade--) <= 0) { dist = Math.abs(_root.hero._x - _x); if ((dist < 300) && (dist > 100)) { throwNade(); } timeToNade = 600 + random(600); } } function shoot() { _root.playSound("tat3.wav"); shootCount = 1; shooting = true; body.gotoAndPlay("shooting"); bullet = _root.addObj("enemy_bullet", _root.enemy_bullet_layer, _root.getNextEnemyBulletLevel()); shot_speed = 2 * (1 + (_root.level * 0.02)); if (shot_speed > 8) { shot_speed = 8; } wild_factor = 4; dx = _root.hero._x - _x; dy = _root.hero._y - _y; variation = (random(Math.floor(wild_factor * 100)) - random(Math.floor(wild_factor * 100))) / 2000; radians = Math.atan(dy / dx) + variation; if (dx < 0) { radians = radians + Math.PI; } bullet.vy = Math.sin(radians) * shot_speed; bullet.vx = Math.cos(radians) * shot_speed; bullet._x = _x; bullet._y = _y - half_height; bullet._rotation = (radians * 180) / Math.PI; } function throwNade() { dx = _root.hero._x - _x; dy = _root.hero._y - _y; lvx = dx / 120; lvy = -3 + (dy / 100); lvl = _root.getNextEnemyBulletLevel(); proj = _root.addObj("hero_grenade", _root.enemy_bullet_layer, lvl); proj.vx = lvx; proj.vy = lvy; proj._x = _x; proj._y = _y - half_height; } function takeDamage(dmg, x, y, vx, vy) { _root.playHitEnemySound(); if (weakspot.hitTest(x, y, 0)) { deathCode = "head_shot"; hp = 0; c = 0; while (c < 3) { blood = _root.addObj("blood_drop", _root.debris_layer, _root.getNextDebrisLevel()); blood._x = x; blood._y = y; blood.vx = (vx / 3) + ((random(10) - random(10)) / 10); blood.vy = (vy / 3) + ((random(10) - random(10)) / 10); blood._xscale = (blood._yscale = 100 + random(200)); c++; } } else { hp = hp - dmg; c = 0; while (c < 1) { blood = _root.addObj("blood_drop", _root.debris_layer, _root.getNextDebrisLevel()); blood._x = x; blood._y = y; blood.vx = (vx / 3) + ((random(10) - random(10)) / 10); blood.vy = (vy / 3) + ((random(10) - random(10)) / 10); blood._xscale = (blood._yscale = 100 + random(200)); c++; } } } stop(); mode = 71; count = random(100); animFactor = 0.1; speed = _root.g_enSpeed; helmAlpha = random(2) * 100; hp = 5 + Math.floor(_root.level * 0.25); timeToCheckDirection = 0; half_height = _height / 2; explosion_dist = 0; timeToShoot = 300 + random(300); timeToNade = 400 + random(600); shot_count = 0; speed = 0.5; xpos = 0; ypos = 0; shootCount = 0; shooting = false; xmax = _root.g_width + 40; ymax = _root.g_ground + 40; etype = "troop"; clip_size = Math.floor(_root.level / 6); if (clip_size > 5) { clip_size = 5; }
Instance of Symbol 55 MovieClip "hitbox" in Symbol 114 MovieClip [enemy1] Frame 1
onClipEvent (load) { _alpha = 0; }
Instance of Symbol 113 MovieClip "body" in Symbol 114 MovieClip [enemy1] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 55 MovieClip "weakspot" in Symbol 114 MovieClip [enemy1] Frame 1
onClipEvent (load) { _alpha = 0; }
Symbol 117 MovieClip [hero_shrap] Frame 1
function step() { _y = (_y + vy); _x = (_x + vx); if ((((_y < -10) || (_x < -10)) || (_x > xmax)) || (_y > ymax)) { this.unloadMovie(); } if ((_y > 345) && (!splashed)) { splashed = true; _alpha = 0; _root.addSplash(_x, _y); } testHitEnemies(); testHitObstructions(); } function testHitEnemies() { for (i in _root.enemies) { if (_root.enemies[i].hitbox.hitTest(_x, _y, 0)) { _root.enemies[i].takeDamage(3, _x, _y, vx, vy); _root.addSpark("spark", _x, _y, 3); this.unloadMovie(); } } } function testHitObstructions() { if (_root.ground.ground_body.hitTest(_x, _y, 1)) { if (!splashed) { _root.playSound("bomb.wav"); temp = _root.addObj("bullet_hole", _root.ground.blood_layer, _root.getNextBloodLevel()); temp._x = _x; temp._y = _y; } this.unloadMovie(); } for (i in _root.obstructions) { if (_root.obstructions[i].hitTest(_x, _y, 0)) { _root.obstructions[i].takeDamage(3, _x, _y, vx, vy); _root.addSpark("spark_dust", _x, _y, 3); _root.playSound("bomb.wav"); this.unloadMovie(); } } } xmax = _root.g_width + 10; ymax = _root.g_ground + 10; splashed = false;
Instance of Symbol 116 MovieClip in Symbol 117 MovieClip [hero_shrap] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 120 MovieClip [hero_bullet] Frame 1
function step() { _y = (_y + vy); _x = (_x + vx); if ((((_y < -10) || (_x < -10)) || (_x > xmax)) || (_y > ymax)) { this.unloadMovie(); } testHitEnemies(); testHitObstructions(); } function testHitEnemies() { for (i in _root.enemies) { if (_root.enemies[i].hitbox.hitTest(_x, _y, 0)) { _root.enemies[i].takeDamage(3, _x, _y, vx, vy); _root.addSpark("spark", _x, _y, 3); this.unloadMovie(); } } } function testHitObstructions() { if (_y > _root.bullet_ground) { _root.playSound("bomb.wav"); temp = _root.addObj("bullet_hole", _root.ground.blood_layer, _root.getNextBloodLevel()); temp._x = _x; temp._y = _y; this.unloadMovie(); } for (i in _root.obstructions) { if (_root.obstructions[i].hitTest(_x, _y, 1)) { _root.obstructions[i].takeDamage(3, _x, _y, vx, vy); _root.addSpark("spark_dust", _x, _y, 3); this.unloadMovie(); } } } xmax = _root.g_width + 10; ymax = _root.g_ground + 10; splashed = false;
Instance of Symbol 119 MovieClip in Symbol 120 MovieClip [hero_bullet] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 123 MovieClip [hero_molotov] Frame 1
function step() { _rotation = (_rotation + rot); vy = vy + _root.gravity; xprev = _x; yprev = _y; _y = (_y + vy); _x = (_x + vx); if ((((_y < -10) || (_x < -10)) || (_x > xmax)) || (_y > ymax)) { this.unloadMovie(); } testHitObstructions(); testHitEnemies(); timeToTest = 5; } function testHitEnemies() { for (i in _root.enemies) { if (_root.enemies[i].hitTest(_x, _y, 0)) { _root.addExplosionType(_x, _y, range, dmg, "debris_flame"); this.unloadMovie(); } } } function testHitObstructions() { bottom = _y > ground_spot; if (bottom) { _root.addExplosionType(_x, _y, range, dmg, "debris_flame"); this.unloadMovie(); } else { for (i in _root.obstructions) { bottom = _root.obstructions[i].hitTest(_x, _y, 0); if (bottom) { _root.addExplosionType(_x, _y, range, dmg, "debris_flame"); this.unloadMovie(); } } } } xmax = _root.g_width + 10; ymax = _root.g_ground + 10; timer = 150; bounceCount = 0; ground_spot = _root.bullet_ground - 40; range = 50; dmg = 10; rot = 10; if (vx > 0) { rot = 10; _xscale = 100; } else { rot = -10; _xscale = -100; }
Instance of Symbol 122 MovieClip in Symbol 123 MovieClip [hero_molotov] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 126 MovieClip [hero_grenade] Frame 1
function step() { if (bounceCount < 3) { if (vx > 0) { _rotation = (_rotation + 3); } else { _rotation = (_rotation - 3); } vy = vy + _root.gravity; xprev = _x; yprev = _y; _y = (_y + vy); _x = (_x + vx); if ((((_y < -10) || (_x < -10)) || (_x > xmax)) || (_y > ymax)) { this.unloadMovie(); } if ((timeToTest--) <= 0) { testHitObstructions(); timeToTest = 5; } } if ((timer--) < 0) { _root.addExplosion(_x, _y, 60, 20); this.unloadMovie(); } } function testHitEnemies() { for (i in _root.enemies) { if (_root.enemies[i].hitTest(_x, _y, 0)) { _root.enemies[i].takeDamage(dmg); _root.addSpark("spark", _x, _y, 3); _root.playHitEnemySound(); this.unloadMovie(); } } } function testHitObstructions() { bottom = _y > ground_spot; if (bottom) { bounceCount++; _x = xprev; _y = yprev; vy = vy * -0.3; vx = vx * 0.3; } } xmax = _root.g_width + 10; ymax = _root.g_ground + 10; timer = 150; bounceCount = 0; ground_spot = _root.bullet_ground - 30;
Instance of Symbol 125 MovieClip in Symbol 126 MovieClip [hero_grenade] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 129 MovieClip [explosion] Frame 10
this.unloadMovie();
Symbol 132 MovieClip [debris2] Frame 1
function step() { if (vx > 0) { _rotation = (_rotation + rot_rate); } else { _rotation = (_rotation - rot_rate); } vy = vy + _root.gravity; xprev = _x; yprev = _y; _y = (_y + vy); _x = (_x + vx); if ((((_y < -10) || (_x < -10)) || (_x > xmax)) || (_y > ymax)) { this.unloadMovie(); } if (timer < 15) { _alpha = (_alpha - 5); } if ((timer--) < 0) { this.unloadMovie(); } } function testHitEnemies() { for (i in _root.enemies) { if (_root.enemies[i].hitTest(_x, _y, 0)) { _root.enemies[i].takeDamage(dmg); _root.addSpark("spark", _x, _y, 3); _root.playHitEnemySound(); this.unloadMovie(); } } } function testHitObstructions() { for (i in _root.obstructions) { top = _root.obstructions[i].hitTest(_x, _y - 1, 1); bottom = _root.obstructions[i].hitTest(_x, _y + 1, 1); left = _root.obstructions[i].hitTest(_x - 1, _y, 1); right = _root.obstructions[i].hitTest(_x + 1, _y, 1); b_right = _root.obstructions[i].hitTest(_x + 0.7071, _y + 0.7071, 1); b_left = _root.obstructions[i].hitTest(_x - 0.7071, _y + 0.7071, 1); if (top || (bottom)) { _x = xprev; _y = yprev; vy = vy * -0.5; vx = vx * 0.5; rot_rate = rot_rate * 0.5; } else if (bottom && (b_right || (b_left))) { _x = xprev; _y = yprev; vy = vy * -0.5; vx = vx * -0.5; rot_rate = rot_rate * 0.5; } else if (b_right || (b_left)) { _x = xprev; _y = yprev; vy = vy * -0.5; vx = vx * -0.5; rot_rate = rot_rate * 0.5; } else if (left || (right)) { _x = xprev; _y = yprev; vx = vx * -0.5; rot_rate = rot_rate * 0.5; } } } xmax = _root.g_width + 10; ymax = _root.g_ground + 10; timer = 50 + random(20); rot_rate = 6; timeToSmoke = 10;
Instance of Symbol 131 MovieClip in Symbol 132 MovieClip [debris2] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 133 MovieClip [debris1] Frame 1
function step() { if (vx > 0) { _rotation = (_rotation + rot_rate); } else { _rotation = (_rotation - rot_rate); } vy = vy + _root.gravity; xprev = _x; yprev = _y; _y = (_y + vy); _x = (_x + vx); if ((((_y < -10) || (_x < -10)) || (_x > xmax)) || (_y > ymax)) { this.unloadMovie(); } if (timer < 20) { _alpha = (_alpha - 5); } if ((timer--) < 0) { this.unloadMovie(); } if ((timeToSmoke--) < 0) { timeToSmoke = 1; if ((smoke_count++) < 10) { _root.placeSmoke(_x, _y); } } } function testHitEnemies() { for (i in _root.enemies) { if (_root.enemies[i].hitTest(_x, _y, 0)) { _root.enemies[i].takeDamage(dmg); _root.addSpark("spark", _x, _y, 3); _root.playHitEnemySound(); this.unloadMovie(); } } } function testHitObstructions() { for (i in _root.obstructions) { top = _root.obstructions[i].hitTest(_x, _y - 1, 1); bottom = _root.obstructions[i].hitTest(_x, _y + 1, 1); left = _root.obstructions[i].hitTest(_x - 1, _y, 1); right = _root.obstructions[i].hitTest(_x + 1, _y, 1); b_right = _root.obstructions[i].hitTest(_x + 0.7071, _y + 0.7071, 1); b_left = _root.obstructions[i].hitTest(_x - 0.7071, _y + 0.7071, 1); if (top || (bottom)) { _x = xprev; _y = yprev; vy = vy * -0.5; vx = vx * 0.5; rot_rate = rot_rate * 0.5; } else if (bottom && (b_right || (b_left))) { _x = xprev; _y = yprev; vy = vy * -0.5; vx = vx * -0.5; rot_rate = rot_rate * 0.5; } else if (b_right || (b_left)) { _x = xprev; _y = yprev; vy = vy * -0.5; vx = vx * -0.5; rot_rate = rot_rate * 0.5; } else if (left || (right)) { _x = xprev; _y = yprev; vx = vx * -0.5; rot_rate = rot_rate * 0.5; } } } xmax = _root.g_width + 10; ymax = _root.g_ground + 10; timer = 50 + random(20); rot_rate = 6; timeToSmoke = 0;
Instance of Symbol 131 MovieClip in Symbol 133 MovieClip [debris1] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 136 MovieClip [blood_splat] Frame 1
function step() { if ((count++) > 500) { _alpha = (_alpha-1); if (_alpha <= 0) { this.unloadMovie(); } } }
Instance of Symbol 135 MovieClip in Symbol 136 MovieClip [blood_splat] Frame 1
onClipEvent (load) { if (_root.age < 17) { this.unloadMovie(); } } onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 139 MovieClip [blood_drop] Frame 1
function step() { vy = vy + mygrav; _x = (_x + vx); _y = (_y + vy); if (_root.ground.ground_body.hitTest(_x, _y, 1)) { lvl = _root.getNextBloodLevel(); temp = _root.addObj("blood_splat", _root.ground.blood_layer, lvl); temp._x = _x; temp._y = _y; temp._rotation = random(360); temp._xscale = (temp._yscale = _xscale); this.unloadMovie(); } else if (((_x > xmax) || (_x < -10)) || (_y > ymax)) { this.unloadMovie(); } } xmax = _root.g_width + 10; ymax = _root.g_ground + 10; mygrav = _root.gravity * 2;
Instance of Symbol 138 MovieClip in Symbol 139 MovieClip [blood_drop] Frame 1
onClipEvent (load) { if (_root.age < 17) { this.unloadMovie(); } } onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 164 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 70
gotoAndPlay (10);
Symbol 165 MovieClip [blood_stump_fem] Frame 1
function step() { if (vx > 0) { _rotation = (_rotation + rot_rate); } else { _rotation = (_rotation - rot_rate); } vy = vy + _root.gravity; xprev = _x; yprev = _y; _y = (_y + vy); _x = (_x + vx); if ((((_y < -10) || (_x < -10)) || (_x > xmax)) || (_y > ymax)) { this.unloadMovie(); } if ((timer--) < 0) { this.unloadMovie(); } testHitObstructions(); } function testHitEnemies() { for (i in _root.enemies) { if (_root.enemies[i].hitTest(_x, _y, 0)) { _root.enemies[i].takeDamage(dmg); _root.addSpark("spark", _x, _y, 3); _root.playHitEnemySound(); this.unloadMovie(); } } } function testHitObstructions() { hitstruct = false; for (ndx in _root.structures) { if (_root.structures[ndx].hitTest(_x, _y, 0)) { if (Math.abs(vy) > 4) { _root.placeBlood(_x, _y); } _root.placeDeadBody("enemy_sniper_death", _x, _y, vx); this.unloadMovie(); } } if (_root.ground.ground_body.hitTest(_x, _y + 2, 1)) { if (Math.abs(vy) > 4) { _root.placeBlood(_x, _y); } _root.placeDeadBody("enemy_sniper_death", _x, _y, vx); this.unloadMovie(); } } xmax = _root.g_width + 10; ymax = _root.g_ground + 10; timer = 500 + random(50); rot_rate = random(3) + 3; timeToSplat = 10; blood_count = 0; if (vx < 0) { _xscale = -100; } testHitObstructions();
Instance of Symbol 164 MovieClip in Symbol 165 MovieClip [blood_stump_fem] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 166 MovieClip [anim_dead_body] Frame 1
stop();
Symbol 166 MovieClip [anim_dead_body] Frame 75
stop();
Symbol 167 MovieClip [blood_stump] Frame 1
function step() { if (vx > 0) { _rotation = (_rotation + rot_rate); } else { _rotation = (_rotation - rot_rate); } vy = vy + _root.gravity; xprev = _x; yprev = _y; _y = (_y + vy); _x = (_x + vx); if ((((_y < -10) || (_x < -10)) || (_x > xmax)) || (_y > ymax)) { this.unloadMovie(); } if ((timer--) < 0) { this.unloadMovie(); } testHitObstructions(); } function testHitEnemies() { for (i in _root.enemies) { if (_root.enemies[i].hitTest(_x, _y, 0)) { _root.enemies[i].takeDamage(dmg); _root.addSpark("spark", _x, _y, 3); _root.playHitEnemySound(); this.unloadMovie(); } } } function testHitObstructions() { if (_root.ground.ground_body.hitTest(_x, _y + 2, 1)) { if (Math.abs(vy) > 4) { _root.placeBlood(_x, _y); } _root.placeDeadBody("body_dieing", _x, _y, vx); this.unloadMovie(); } } xmax = _root.g_width + 10; ymax = _root.g_ground + 10; timer = 500 + random(50); rot_rate = random(3) + 3; timeToSplat = 10; blood_count = 0; if (vx < 0) { _xscale = -100; } testHitObstructions();
Instance of Symbol 166 MovieClip [anim_dead_body] "body" in Symbol 167 MovieClip [blood_stump] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 170 MovieClip [crater2] Frame 1
function step() { if ((count++) > 500) { _alpha = (_alpha-1); if (_alpha <= 0) { this.unloadMovie(); } } }
Instance of Symbol 169 MovieClip in Symbol 170 MovieClip [crater2] Frame 1
onClipEvent (load) { if (_root.age < 17) { this.unloadMovie(); } } onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 173 MovieClip [crater1] Frame 1
function step() { if ((count++) > 200) { _alpha = (_alpha-1); if (_alpha <= 0) { this.unloadMovie(); } } }
Instance of Symbol 172 MovieClip in Symbol 173 MovieClip [crater1] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 178 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 70
gotoAndPlay (10);
Symbol 179 MovieClip [enemy_drop_sniper] Frame 1
function step() { xpos = _x; ypos = _y; vx = vx + ((random(100) - 50) / 2000); _y = (_y + (2 + extra_fall)); _x = (_x + vx); hitstruct = false; for (ndx in _root.structures) { if (_root.structures[ndx].hitTest(_x, _y, 1)) { hitstruct = true; break; } } bottom = _root.ground.ground_body.hitTest(_x, _y, 1); if (bottom || (hitstruct)) { chute = _root.addObj("parachute_fade", _root.debris_layer, _root.getNextDebrisLevel()); chute._x = _x; chute._y = _y - 32.3; dx = _root.hero._x - _x; dir = Math.abs(dx) / dx; _root.placeEnemy("enemy_sniper", _x, _y, 0, 0); _root.removeEnemy(this); } if (hp <= 0) { _root.increaseScore(10, _x, _y); chute = _root.addObj("parachute_fade", _root.debris_layer, _root.getNextDebrisLevel()); chute._x = _x; chute._y = _y - 32.3; if (explosion_impact > 12) { _root.addBloodExplosion(_x, _y - 20); } else { _root.addFemBloodyStump(_x, _y, vx, 0); } _root.removeEnemy(this); } if ((timeToShoot--) <= 0) { timeToShoot = 200 + random(100); } } function shoot() { bullet = _root.addObj("enemy_bullet", _root.enemy_bullet_layer, _root.getNextEnemyBulletLevel()); shot_speed = 2; wild_factor = 4; dx = _root.hero._x - _x; dy = _root.hero._y - _y; variation = (random(Math.floor(wild_factor * 100)) - random(Math.floor(wild_factor * 100))) / 1000; radians = Math.atan(dy / dx) + variation; if (dx < 0) { radians = radians + Math.PI; } bullet.vy = Math.sin(radians) * shot_speed; bullet.vx = Math.cos(radians) * shot_speed; bullet._x = _x; bullet._y = _y - half_height; bullet._rotation = (radians * 180) / Math.PI; } function throwNade() { dx = _root.hero._x - _x; dy = _root.hero._y - _y; lvx = dx / 100; lvy = -2 + (dy / 100); lvl = _root.getNextEnemyBulletLevel(); proj = _root.addObj("hero_grenade", _root.enemy_bullet_layer, lvl); proj.vx = lvx; proj.vy = lvy; proj._x = _x; proj._y = _y - half_height; } function takeDamage(dmg, x, y, vx, vy) { _root.playHitEnemySound(); if (weakspot.hitTest(x, y, 0)) { _root.increaseScore(20, _x, _y); hp = 0; c = 0; while (c < 3) { blood = _root.addObj("blood_drop", _root.debris_layer, _root.getNextDebrisLevel()); blood._x = x; blood._y = y; blood.vx = (vx / 3) + ((random(10) - random(10)) / 10); blood.vy = (vy / 3) + ((random(10) - random(10)) / 10); blood._xscale = (blood._yscale = 100 + random(200)); c++; } } else { hp = hp - dmg; c = 0; while (c < 1) { blood = _root.addObj("blood_drop", _root.debris_layer, _root.getNextDebrisLevel()); blood._x = x; blood._y = y; blood.vx = (vx / 3) + ((random(10) - random(10)) / 10); blood.vy = (vy / 3) + ((random(10) - random(10)) / 10); blood._xscale = (blood._yscale = 100 + random(200)); c++; } } } hp = 5; xpos = 0; ypos = 0; timeToShoot = 50; half_height = _height / 2; extra_fall = _root.level * 0.1; etype = "troop";
Instance of Symbol 55 MovieClip "hitbox" in Symbol 179 MovieClip [enemy_drop_sniper] Frame 1
onClipEvent (load) { _alpha = 0; }
Instance of Symbol 178 MovieClip in Symbol 179 MovieClip [enemy_drop_sniper] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 55 MovieClip "weakspot" in Symbol 179 MovieClip [enemy_drop_sniper] Frame 1
onClipEvent (load) { _alpha = 0; }
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 70
gotoAndPlay (10);
Symbol 181 MovieClip [enemy_drop] Frame 1
function step() { xpos = _x; ypos = _y; vx = vx + ((random(100) - 50) / 2000); _y = (_y + (1.5 + extra_fall)); _x = (_x + vx); bottom = _root.ground.ground_body.hitTest(_x, _y, 1); if (bottom) { chute = _root.addObj("parachute_fade", _root.debris_layer, _root.getNextDebrisLevel()); chute._x = _x; chute._y = _y - 32.3; dx = _root.hero._x - _x; dir = Math.abs(dx) / dx; _root.placeEnemy("enemy1", _x, _y, 0.5 * dir, vy); _root.removeEnemy(this); } if (hp <= 0) { _root.increaseScore(10, _x, _y); chute = _root.addObj("parachute_fade", _root.debris_layer, _root.getNextDebrisLevel()); chute._x = _x; chute._y = _y - 32.3; if (explosion_impact > 12) { _root.addBloodExplosion(_x, _y - 20); } else { _root.addBloodyStump(_x, _y, vx, 0); } _root.removeEnemy(this); } if ((timeToShoot--) <= 0) { shoot(); timeToShoot = 200 + random(100); } } function shoot() { _root.playSound("tat3.wav"); bullet = _root.addObj("enemy_bullet", _root.enemy_bullet_layer, _root.getNextEnemyBulletLevel()); shot_speed = 2; wild_factor = 4; dx = _root.hero._x - _x; dy = _root.hero._y - _y; variation = (random(Math.floor(wild_factor * 100)) - random(Math.floor(wild_factor * 100))) / 1000; radians = Math.atan(dy / dx) + variation; if (dx < 0) { radians = radians + Math.PI; } bullet.vy = Math.sin(radians) * shot_speed; bullet.vx = Math.cos(radians) * shot_speed; bullet._x = _x; bullet._y = _y - half_height; bullet._rotation = (radians * 180) / Math.PI; } function throwNade() { dx = _root.hero._x - _x; dy = _root.hero._y - _y; lvx = dx / 100; lvy = -2 + (dy / 100); lvl = _root.getNextEnemyBulletLevel(); proj = _root.addObj("hero_grenade", _root.enemy_bullet_layer, lvl); proj.vx = lvx; proj.vy = lvy; proj._x = _x; proj._y = _y - half_height; } function takeDamage(dmg, x, y, vx, vy) { _root.playHitEnemySound(); if (weakspot.hitTest(x, y, 0)) { _root.increaseScore(20, _x, _y); hp = 0; c = 0; while (c < 3) { blood = _root.addObj("blood_drop", _root.debris_layer, _root.getNextDebrisLevel()); blood._x = x; blood._y = y; blood.vx = (vx / 3) + ((random(10) - random(10)) / 10); blood.vy = (vy / 3) + ((random(10) - random(10)) / 10); blood._xscale = (blood._yscale = 100 + random(200)); c++; } } else { hp = hp - dmg; c = 0; while (c < 1) { blood = _root.addObj("blood_drop", _root.debris_layer, _root.getNextDebrisLevel()); blood._x = x; blood._y = y; blood.vx = (vx / 3) + ((random(10) - random(10)) / 10); blood.vy = (vy / 3) + ((random(10) - random(10)) / 10); blood._xscale = (blood._yscale = 100 + random(200)); c++; } } } hp = 5; xpos = 0; ypos = 0; timeToShoot = 50; half_height = _height / 2; extra_fall = _root.level * 0.1; etype = "troop";
Instance of Symbol 55 MovieClip "hitbox" in Symbol 181 MovieClip [enemy_drop] Frame 1
onClipEvent (load) { _alpha = 0; }
Instance of Symbol 180 MovieClip in Symbol 181 MovieClip [enemy_drop] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 55 MovieClip "weakspot" in Symbol 181 MovieClip [enemy_drop] Frame 1
onClipEvent (load) { _alpha = 0; }
Symbol 182 MovieClip [parachute_fade] Frame 20
this.unloadMovie();
Symbol 186 MovieClip [gas_can] Frame 1
function step() { frame = maxhp - hp; if (frame < 1) { frame = 1; } frame = Math.floor(frame); can_animation.gotoAndStop(frame); if (hp <= 0) { _root.addExplosionType(_x, _y, 100, 50, "debris_flame"); _root.removeObstruction(this); } hp = hp - leaking; } function takeDamage(amt, x, y, vx, vy) { _root.playSound("ching1.wav"); hp = hp - amt; } hp = 5; maxhp = 5; placed = false; _root.obstructions.push(this);
Instance of Symbol 185 MovieClip "can_animation" in Symbol 186 MovieClip [gas_can] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 189 MovieClip [enemy_bullet] Frame 1
function step() { _y = (_y + vy); _x = (_x + vx); if ((((_y < -10) || (_x < -10)) || (_x > xmax)) || (_y > ymax)) { this.unloadMovie(); } testHitHero(); testHitObstructions(); } function testHitHero() { if (_root.hero.hitbox.hitTest(_x, _y, 0)) { _root.hero.takeDamage(3); c = 0; while (c < 3) { blood = _root.addObj("blood_drop", _root.debris_layer, _root.getNextDebrisLevel()); blood._x = _x; blood._y = _y; blood.vx = (vx / 3) + ((random(10) - random(10)) / 10); blood.vy = (vy / 3) + ((random(10) - random(10)) / 10); blood._xscale = (blood._yscale = 100 + random(200)); c++; } this.unloadMovie(); } } function testHitObstructions() { if (_y > _root.bullet_ground) { _root.playSound("bomb.wav"); temp = _root.addObj("bullet_hole", _root.ground.blood_layer, _root.getNextBloodLevel()); temp._x = _x; temp._y = _y; this.unloadMovie(); } for (i in _root.obstructions) { if (_root.obstructions[i].hitTest(_x, _y, 1)) { _root.obstructions[i].takeDamage(3, _x, _y, vx, vy); _root.addSpark("spark_dust", _x, _y, 3); this.unloadMovie(); } } } xmax = _root.g_width + 10; ymax = _root.g_ground + 10;
Instance of Symbol 188 MovieClip in Symbol 189 MovieClip [enemy_bullet] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 193 MovieClip [enemy_a10] Frame 1
function step() { xpos = _x; ypos = _y; if (hp > 0) { bomber_anim.gotoAndStop(101 - Math.floor((100 * hp) / maxhp)); _x = (_x + vx); _y = (_y + vy); if (((timeToBomb--) <= 0) && (ammo > 0)) { ammo--; timeToBomb = 50; dropBomb(); } } else { if (!scored_kill) { scored_kill = true; _root.increaseScore(10, _x, _y); } if (vx > 0) { _rotation = (_rotation + 0.1); } else { _rotation = (_rotation - 0.1); } vy = vy + half_grav; _x = (_x + vx); _y = (_y + vy); hitstruct = false; for (ndx in _root.structures) { if (_root.structures[ndx].hitTest(_x, _y, 1)) { hitstruct = true; break; } } bottom = _root.ground.ground_body.hitTest(_x, _y + 2, 1) || (hitstruct); if (bottom) { _root.addExplosion(_x, _y, 70, 40); lvl = _root.getNextDebrisLevel(); temp = _root.addObj("a10_dead", _root.debris_layer, lvl); temp._x = _x; temp._y = _y; temp._xscale = _xscale; _root.removeEnemy(this); } } if ((_x > xmax) || (_x < -60)) { _root.removeEnemy(this); } } function getNextBulletHoleLevel() { if ((b_level++) > 8) { b_level = 1; } return(b_level); } function takeDamage(dmg, x, y, vx, vy) { dmg_amt = dmg; spark_amt = random(2); if ((!exploded) && (weakspot.hitTest(x, y, 0))) { _root.addExplosion(x, y, 15, 5); exploded = true; dmg_amt = dmg_amt + 1000; spark_amt = spark_amt + random(2); } _root.playSound("ching1.wav"); hp = hp - dmg_amt; c = 0; while (c < spark_amt) { blood = _root.addObj("debris2", _root.debris_layer, _root.getNextDebrisLevel()); blood._x = x; blood._y = y; blood.vx = (vx / 3) + ((random(10) - random(10)) / 10); blood.vy = (vy / 3) + ((random(10) - random(10)) / 10); blood._xscale = (blood._yscale = 50 + random(100)); c++; } xnew = x - _x; ynew = y - _y; if (_xscale < 0) { xnew = xnew * -1; } temp = _root.addObj("bullet_hole2", bullet_hole_layer, getNextBulletHoleLevel()); temp._x = xnew; temp._y = ynew; } function dropBomb() { _root.playSound("firecat3.wav"); temp = _root.addObj("enemy_bomb_drop_napalm", _root.bomb_layer, _root.getNextBombLevel()); temp._x = _x; temp._y = _y + 5; temp.vx = vx / 5; } maxhp = 40; hp = 40; xmax = _root.g_width + 60; ymax = _root.g_ground + 60; xpos = 0; ypos = 0; timeToBomb = 75; half_grav = _root.gravity / 2; ammo = Math.ceil(_root.level * 0.2); etype = "plane"; if (vx < 0) { _xscale = -100; } else { _xscale = 100; } b_level = 1; exploded = false;
Instance of Symbol 55 MovieClip "hitbox" in Symbol 193 MovieClip [enemy_a10] Frame 1
onClipEvent (load) { _alpha = 0; }
Instance of Symbol 55 MovieClip "weakspot" in Symbol 193 MovieClip [enemy_a10] Frame 1
onClipEvent (load) { _alpha = 0; }
Instance of Symbol 191 MovieClip in Symbol 193 MovieClip [enemy_a10] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 200 MovieClip [enemy_bomber] Frame 1
function step() { xpos = _x; ypos = _y; if (hp > 0) { bomber_anim.gotoAndStop(101 - Math.floor((100 * hp) / maxhp)); _x = (_x + vx); _y = (_y + vy); if (((timeToBomb--) <= 0) && (ammo > 0)) { timeToBomb = 120; dropBomb(); } } else { if (!scored_kill) { scored_kill = true; _root.increaseScore(10, _x, _y); } if (vx > 0) { _rotation = (_rotation + 0.1); } else { _rotation = (_rotation - 0.1); } vy = vy + half_grav; _x = (_x + vx); _y = (_y + vy); hitstruct = false; for (ndx in _root.structures) { if (_root.structures[ndx].hitTest(_x, _y, 1)) { hitstruct = true; break; } } bottom = _root.ground.ground_body.hitTest(_x, _y + 2, 1) || (hitstruct); if (bottom) { _root.addExplosion(_x, _y, 70, 40); lvl = _root.getNextDebrisLevel(); temp = _root.addObj("bomber_dead", _root.debris_layer, lvl); temp._x = _x; temp._y = _y; temp._xscale = _xscale; _root.removeEnemy(this); } } if ((_x > xmax) || (_x < -60)) { _root.removeEnemy(this); } } function getNextBulletHoleLevel() { if ((b_level++) > 8) { b_level = 1; } return(b_level); } function takeDamage(dmg, x, y, vx, vy) { dmg_amt = dmg; spark_amt = random(2); if (weakspot.hitTest(x, y, 0)) { dmg_amt = dmg_amt + 10; spark_amt = spark_amt + random(2); } trace("Taking Damage!!!!!!!!!!!!!!!!!!"); trace("Damage: " + dmg); _root.playSound("ching1.wav"); hp = hp - dmg_amt; c = 0; while (c < spark_amt) { blood = _root.addObj("debris2", _root.debris_layer, _root.getNextDebrisLevel()); blood._x = x; blood._y = y; blood.vx = (vx / 3) + ((random(10) - random(10)) / 10); blood.vy = (vy / 3) + ((random(10) - random(10)) / 10); blood._xscale = (blood._yscale = 50 + random(100)); c++; } xnew = x - _x; ynew = y - _y; if (_xscale < 0) { xnew = xnew * -1; } temp = _root.addObj("bullet_hole2", bullet_hole_layer, getNextBulletHoleLevel()); temp._x = xnew; temp._y = ynew; } function dropBomb() { _root.playSound("firecat3.wav"); temp = _root.addObj("enemy_bomb_drop", _root.bomb_layer, _root.getNextBombLevel()); temp._x = _x; temp._y = _y + 5; temp.vx = vx; _root.enemies.push(temp); } maxhp = 100; hp = 100; xmax = _root.g_width + 60; ymax = _root.g_ground + 60; xpos = 0; ypos = 0; timeToBomb = 100; half_grav = _root.gravity / 2; ammo = 3; etype = "plane"; if (vx < 0) { _xscale = -100; } else { _xscale = 100; } b_level = 1;
Instance of Symbol 198 MovieClip "bomber_anim" in Symbol 200 MovieClip [enemy_bomber] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 55 MovieClip "hitbox" in Symbol 200 MovieClip [enemy_bomber] Frame 1
onClipEvent (load) { _alpha = 0; }
Instance of Symbol 55 MovieClip "weakspot" in Symbol 200 MovieClip [enemy_bomber] Frame 1
onClipEvent (load) { _alpha = 0; }
Symbol 203 MovieClip [arrow_debris] Frame 1
function step() { if ((count++) > 200) { _alpha = (_alpha-1); if (_alpha <= 0) { this.unloadMovie(); } } }
Instance of Symbol 202 MovieClip in Symbol 203 MovieClip [arrow_debris] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 208 MovieClip [ammo_prox_mine] Frame 1
function step() { if ((count++) > 1000) { _alpha = (_alpha - 5); } if (hp <= 0) { _root.addGrenadeExplosion(_x, _y); _root.removeObstruction(this); } else if (_alpha <= 0) { _root.removeObstruction(this); } else if (hitTest(_root.hero._x, _root.hero._y, 0)) { _root.ammo_prox_mines = _root.ammo_prox_mines + 10; _root.removeObstruction(this); } } function takeDamage(amt, _x, _y, vx, vy) { hp = hp - amt; } _root.obstructions.push(this); hp = 20;
Instance of Symbol 207 MovieClip in Symbol 208 MovieClip [ammo_prox_mine] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 122 MovieClip in Symbol 210 MovieClip Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 122 MovieClip in Symbol 210 MovieClip Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 122 MovieClip in Symbol 210 MovieClip Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 211 MovieClip [ammo_grenade] Frame 1
function step() { if ((count++) > 1000) { _alpha = (_alpha - 5); } if (hp <= 0) { _root.addGrenadeExplosion(_x, _y); _root.removeObstruction(this); } else if (_alpha <= 0) { _root.removeObstruction(this); } else if (hitTest(_root.hero._x, _root.hero._y, 0)) { _root.ammo_grenades = _root.ammo_grenades + 10; _root.removeObstruction(this); } } function takeDamage(amt, _x, _y, vx, vy) { hp = hp - amt; } _root.obstructions.push(this); hp = 20;
Instance of Symbol 210 MovieClip in Symbol 211 MovieClip [ammo_grenade] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 214 MovieClip [ammo_health] Frame 1
function step() { if ((count++) > 1000) { _alpha = (_alpha - 5); } if (hp <= 0) { _root.addGrenadeExplosion(_x, _y); _root.removeObstruction(this); } else if (_alpha <= 0) { _root.removeObstruction(this); } else if (hitTest(_root.hero._x, _root.hero._y, 0)) { _root.hero.hp = _root.hero.hp + 10; if (_root.hero.hp > 100) { _root.hero.hp = 100; } _root.removeObstruction(this); } } function takeDamage(amt, _x, _y, vx, vy) { hp = hp - amt; } _root.obstructions.push(this); hp = 20;
Instance of Symbol 213 MovieClip in Symbol 214 MovieClip [ammo_health] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 217 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 217 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 217 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 217 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 217 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 217 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 217 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 217 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 219 MovieClip [ammo_rpg_crate] Frame 1
function step() { if ((count++) > 1000) { _alpha = (_alpha - 5); } if (hp <= 0) { _root.addGrenadeExplosion(_x, _y); _root.removeObstruction(this); } else if (_alpha <= 0) { _root.removeObstruction(this); } else if (hitTest(_root.hero._x, _root.hero._y, 0)) { _root.ammo_rpg = _root.ammo_rpg + 8; _root.removeObstruction(this); } } function takeDamage(amt, _x, _y, vx, vy) { hp = hp - amt; } _root.obstructions.push(this); hp = 20;
Instance of Symbol 218 MovieClip in Symbol 219 MovieClip [ammo_rpg_crate] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 222 MovieClip [ammo_arrow] Frame 1
function step() { if ((count++) > 1000) { _alpha = (_alpha - 5); } if (hp <= 0) { _root.addGrenadeExplosion(_x, _y); _root.removeObstruction(this); } else if (_alpha <= 0) { _root.removeObstruction(this); } else if (hitTest(_root.hero._x, _root.hero._y, 0)) { _root.ammo_arrows = _root.ammo_arrows + 20; _root.removeObstruction(this); } } function takeDamage(amt, _x, _y, vx, vy) { hp = hp - amt; } _root.obstructions.push(this); hp = 20;
Instance of Symbol 221 MovieClip in Symbol 222 MovieClip [ammo_arrow] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 227 MovieClip [ammo_gun] Frame 1
function step() { if ((count++) > 1000) { _alpha = (_alpha - 5); } if (hp <= 0) { _root.addGrenadeExplosion(_x, _y); _root.removeObstruction(this); } else if (_alpha <= 0) { _root.removeObstruction(this); } else if (hitTest(_root.hero._x, _root.hero._y, 0)) { _root.ammo_bullets = _root.ammo_bullets + 400; _root.removeObstruction(this); } } function takeDamage(amt, _x, _y, vx, vy) { hp = hp - amt; } _root.obstructions.push(this); hp = 20;
Instance of Symbol 226 MovieClip in Symbol 227 MovieClip [ammo_gun] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 232 MovieClip [ammo_shotgun] Frame 1
function step() { if ((count++) > 1000) { _alpha = (_alpha - 5); } if (hp <= 0) { _root.addGrenadeExplosion(_x, _y); _root.removeObstruction(this); } else if (_alpha <= 0) { _root.removeObstruction(this); } else if (hitTest(_root.hero._x, _root.hero._y, 0)) { _root.ammo_shells = _root.ammo_shells + 10; _root.removeObstruction(this); } } function takeDamage(amt, _x, _y, vx, vy) { hp = hp - amt; } _root.obstructions.push(this); hp = 20;
Instance of Symbol 231 MovieClip in Symbol 232 MovieClip [ammo_shotgun] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 235 MovieClip [ammo_rocket] Frame 1
function step() { if ((count++) > 1000) { _alpha = (_alpha - 5); } if (hp <= 0) { _root.addGrenadeExplosion(_x, _y); _root.removeObstruction(this); } else if (_alpha <= 0) { _root.removeObstruction(this); } else if (hitTest(_root.hero._x, _root.hero._y, 0)) { _root.ammo_rockets = _root.ammo_rockets + 10; _root.removeObstruction(this); } } function takeDamage(amt, _x, _y, vx, vy) { hp = hp - amt; } _root.obstructions.push(this); hp = 20;
Instance of Symbol 234 MovieClip in Symbol 235 MovieClip [ammo_rocket] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 238 MovieClip [bullet_hole2] Frame 1
function step() { if ((count++) > 200) { _alpha = (_alpha-1); if (_alpha <= 0) { this.unloadMovie(); } } }
Instance of Symbol 237 MovieClip in Symbol 238 MovieClip [bullet_hole2] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 240 MovieClip in Symbol 241 MovieClip Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 242 MovieClip [bullet_hole] Frame 1
function step() { if ((count++) > 200) { _alpha = (_alpha-1); if (_alpha <= 0) { this.unloadMovie(); } } }
Instance of Symbol 241 MovieClip in Symbol 242 MovieClip [bullet_hole] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 246 MovieClip Frame 65
stop();
Symbol 247 MovieClip [body_dieing2] Frame 1
function step() { if ((count++) > 100) { _alpha = (_alpha - 2); if (_alpha < 0) { this.unloadMovie(); } } }
Instance of Symbol 246 MovieClip in Symbol 247 MovieClip [body_dieing2] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 250 MovieClip [chopper_dead] Frame 1
function step() { if ((count++) > 100) { _alpha = (_alpha - 2); if (_alpha < 0) { this.unloadMovie(); } } }
Instance of Symbol 249 MovieClip in Symbol 250 MovieClip [chopper_dead] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 254 MovieClip [a10_dead] Frame 1
function step() { if ((count++) > 100) { _alpha = (_alpha - 2); if (_alpha < 0) { this.unloadMovie(); } } }
Instance of Symbol 253 MovieClip in Symbol 254 MovieClip [a10_dead] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 257 MovieClip [bomber_dead] Frame 1
function step() { if ((count++) > 100) { _alpha = (_alpha - 2); if (_alpha < 0) { this.unloadMovie(); } } }
Instance of Symbol 256 MovieClip in Symbol 257 MovieClip [bomber_dead] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 258 MovieClip [proximity_mine] Frame 1
function step() { if (placed) { vx = 0; vy = 0; hp = hp - leaking; if (hp <= 0) { _root.playSound("tat1.wav"); shrap_bomb = _root.addObj("shrap_bomb", _root.debris_layer, _root.getNextDebrisLevel()); shrap_bomb._x = _x; shrap_bomb._y = _y; shrap_bomb.vy = -3; hp = 10; leaking = 0; timeToScan = -100; if ((chargeCount++) >= 2) { _root.removeMine(this); } } if ((timeToScan++) > 50) { timeToScan = 0; scan(); } } else { if (vx > 0) { _rotation = (_rotation + 3); } else { _rotation = (_rotation - 3); } vy = vy + _root.gravity; xprev = _x; yprev = _y; _y = (_y + vy); _x = (_x + vx); if ((((_y < -10) || (_x < -10)) || (_x > xmax)) || (_y > ymax)) { this.unloadMovie(); } testHitObstructions(); } } function scan() { trace("Scanning"); for (i in _root.enemies) { ene = _root.enemies[i]; dx = ene._x - _x; dy = ene._y - _y; if ((Math.abs(dx) < detection_range) && (Math.abs(dy) < detection_range)) { leaking = 1; break; } } } function testHitObstructions() { placed = false; hitstruct = false; for (ndx in _root.structures) { if (_root.structures[ndx].hitTest(_x, _y, 0)) { hitstruct = true; break; } } if (hitstruct || (_y > (_root.bullet_ground - 20))) { placed = true; } else { do { if ((in _root.obstructions) == null) { break; } i = in _root.obstructions; placed = _root.obstructions[i].hitTest(_x, _y, 0); } while (!placed); do { } while (() != null); } } xmax = _root.g_width + 10; ymax = _root.g_ground + 10; hp = 10; timeToScan = 0; leaking = 0; placed = false; range = 50; detection_range = 20; dmg = 100; chargeCount = 0;
Instance of Symbol 206 MovieClip in Symbol 258 MovieClip [proximity_mine] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 264 MovieClip Frame 1
stop();
Symbol 264 MovieClip Frame 70
gotoAndPlay (10);
Instance of Symbol 267 MovieClip "sniper_flame" in Symbol 268 MovieClip Frame 1
onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (_alpha > 0) { _alpha = (_alpha - 30); } }
Symbol 270 MovieClip [enemy_sniper_office] Frame 1
function step() { xpos = _x; ypos = _y; if (vx < 0) { _xscale = -100; } else { _xscale = 100; } if ((timeToAim++) > 15) { timeToAim = 0; dx = -((_root.hero._x - _x) - 2.6); dy = -((_root.hero._y - _y) - 11.8); radians = Math.atan(dy / dx); if (dx > 0) { vx = -speed; shoot_angle = ((-radians) * 180) / Math.PI; } else { vx = speed; shoot_angle = (radians * 180) / Math.PI; } sniper_gun._rotation = shoot_angle; head._rotation = shoot_angle; left_arm._rotation = shoot_angle; } if (hp <= 0) { myWindow.enemyDead = true; if (deathCode == "exploded") { _root.increaseScore(5, _x, _y); if (explosion_impact > 12) { _root.addBloodExplosion(_x, _y - 20); } else { lvl = _root.getNextDebrisLevel(); temp = _root.addObj("blood_stump_fem", _root.debris_layer, lvl); temp._x = _x; temp._y = _y - 5; temp.vx = explosion_dx; temp.vy = explosion_dy; temp._rotation = random(360); } } else { _root.increaseScore(10, _x, _y); _alpha = 0; lvl = _root.getNextDebrisLevel(); temp = _root.addObj("blood_stump_fem", _root.debris_layer, lvl); temp._x = _x; temp._y = _y; temp.vx = vx; temp.vy = vy; } _root.removeEnemy(this); } if ((timeToShoot--) <= 0) { shoot(); if ((shot_count++) >= 2) { shot_count = 1; timeToShoot = (300 + random(200)) - (_root.level * 5); if (timeToShoot < 100) { timeToShoot = 100; } } else { timeToShoot = 10; } } } function shoot() { sniper_gun.sniper_flame._alpha = 100; _root.playSound("sniper_rifle.wav"); bullet = _root.addObj("enemy_bullet", _root.enemy_bullet_layer, _root.getNextEnemyBulletLevel()); shot_speed = 3.5 * (1 + (_root.level * 0.02)); if (shot_speed > 8) { shot_speed = 8; } wild_factor = 2; dx = _root.hero._x - _x; dy = _root.hero._y - _y; variation = (random(Math.floor(wild_factor * 100)) - random(Math.floor(wild_factor * 100))) / 2000; radians = Math.atan(dy / dx) + variation; if (dx < 0) { radians = radians + Math.PI; } bullet.vy = Math.sin(radians) * shot_speed; bullet.vx = Math.cos(radians) * shot_speed; bullet._x = _x + bullet.vx; bullet._y = (_y - half_height) + bullet.vy; bullet._rotation = (radians * 180) / Math.PI; } function throwNade() { dx = _root.hero._x - _x; dy = _root.hero._y - _y; lvx = dx / 130; lvy = -3 + (dy / 100); lvl = _root.getNextEnemyBulletLevel(); proj = _root.addObj("hero_grenade", _root.enemy_bullet_layer, lvl); proj.vx = lvx; proj.vy = lvy; proj._x = _x; proj._y = _y - half_height; } function takeDamage(dmg, x, y, vx, vy) { _root.playHitEnemySound(); if (weakspot.hitTest(x, y, 0)) { deathCode = "head_shot"; hp = 0; c = 0; while (c < 3) { blood = _root.addObj("blood_drop", _root.debris_layer, _root.getNextDebrisLevel()); blood._x = x; blood._y = y; blood.vx = (vx / 3) + ((random(10) - random(10)) / 10); blood.vy = (vy / 3) + ((random(10) - random(10)) / 10); blood._xscale = (blood._yscale = 100 + random(200)); c++; } } else { hp = hp - dmg; c = 0; while (c < 1) { blood = _root.addObj("blood_drop", _root.debris_layer, _root.getNextDebrisLevel()); blood._x = x; blood._y = y; blood.vx = (vx / 3) + ((random(10) - random(10)) / 10); blood.vy = (vy / 3) + ((random(10) - random(10)) / 10); blood._xscale = (blood._yscale = 100 + random(200)); c++; } } } hp = 5 + Math.floor(_root.level * 0.25); half_height = _height / 2; timeToNade = 600 + random(600); timeToShoot = 100; shot_count = 0; speed = 0.5; xpos = 0; ypos = 0; shootCount = 0; etype = "troop"; xmax = _root.g_width + 10; ymax = _root.g_ground + 10;
Instance of Symbol 269 MovieClip "head" in Symbol 270 MovieClip [enemy_sniper_office] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 55 MovieClip "hitbox" in Symbol 270 MovieClip [enemy_sniper_office] Frame 1
onClipEvent (load) { _alpha = 0; }
Instance of Symbol 55 MovieClip "weakspot" in Symbol 270 MovieClip [enemy_sniper_office] Frame 1
onClipEvent (load) { _alpha = 0; }
Symbol 271 MovieClip [enemy_sniper] Frame 1
function step() { xpos = _x; ypos = _y; if (vx < 0) { _xscale = -100; } else { _xscale = 100; } if ((timeToAim++) > 15) { timeToAim = 0; dx = -((_root.hero._x - _x) - 2.6); dy = -((_root.hero._y - _y) - 11.8); radians = Math.atan(dy / dx); if (dx > 0) { vx = -speed; shoot_angle = ((-radians) * 180) / Math.PI; } else { vx = speed; shoot_angle = (radians * 180) / Math.PI; } sniper_gun._rotation = shoot_angle; head._rotation = shoot_angle; left_arm._rotation = shoot_angle; } if (hp <= 0) { if (deathCode == "exploded") { _root.increaseScore(5, _x, _y); if (explosion_impact > 12) { _root.addBloodExplosion(_x, _y - 20); } else { lvl = _root.getNextDebrisLevel(); temp = _root.addObj("blood_stump_fem", _root.debris_layer, lvl); temp._x = _x; temp._y = _y - 5; temp.vx = explosion_dx; temp.vy = explosion_dy; temp._rotation = random(360); } } else if (deathCode == "head_shot") { _root.increaseScore(15, _x, _y); _alpha = 0; lvl = _root.getNextDebrisLevel(); temp = _root.addObj("enemy_sniper_death", _root.debris_layer, lvl); temp._x = _x; temp._y = _y; temp.vx = vx; temp.vy = vy; if (vx > 0) { temp._xscale = -100; } } else { _root.increaseScore(10, _x, _y); _alpha = 0; lvl = _root.getNextDebrisLevel(); temp = _root.addObj("blood_stump_fem", _root.debris_layer, lvl); temp._x = _x; temp._y = _y; temp.vx = vx; temp.vy = vy; } _root.removeEnemy(this); } if ((timeToShoot--) <= 0) { shoot(); if ((shot_count++) >= 0) { shot_count = 1; timeToShoot = (300 + random(200)) - (_root.level * 5); if (timeToShoot < 100) { timeToShoot = 100; } } else { timeToShoot = 10; } } if ((timeToNade--) <= 0) { dist = Math.abs(_root.hero._x - _x); if ((dist < 300) && (dist > 100)) { throwNade(); } timeToNade = 600 + random(600); } } function shoot() { sniper_gun.sniper_flame._alpha = 100; _root.playSound("sniper_rifle.wav"); bullet = _root.addObj("enemy_bullet", _root.enemy_bullet_layer, _root.getNextEnemyBulletLevel()); shot_speed = 3.5 * (1 + (_root.level * 0.02)); if (shot_speed > 8) { shot_speed = 8; } wild_factor = 2; dx = _root.hero._x - _x; dy = _root.hero._y - _y; variation = (random(Math.floor(wild_factor * 100)) - random(Math.floor(wild_factor * 100))) / 2000; radians = Math.atan(dy / dx) + variation; if (dx < 0) { radians = radians + Math.PI; } bullet.vy = Math.sin(radians) * shot_speed; bullet.vx = Math.cos(radians) * shot_speed; bullet._x = _x + bullet.vx; bullet._y = (_y - half_height) + bullet.vy; bullet._rotation = (radians * 180) / Math.PI; } function throwNade() { dx = _root.hero._x - _x; dy = _root.hero._y - _y; lvx = dx / 130; lvy = -3 + (dy / 100); lvl = _root.getNextEnemyBulletLevel(); proj = _root.addObj("hero_grenade", _root.enemy_bullet_layer, lvl); proj.vx = lvx; proj.vy = lvy; proj._x = _x; proj._y = _y - half_height; } function takeDamage(dmg, x, y, vx, vy) { _root.playHitEnemySound(); if (weakspot.hitTest(x, y, 0)) { deathCode = "head_shot"; hp = 0; c = 0; while (c < 3) { blood = _root.addObj("blood_drop", _root.debris_layer, _root.getNextDebrisLevel()); blood._x = x; blood._y = y; blood.vx = (vx / 3) + ((random(10) - random(10)) / 10); blood.vy = (vy / 3) + ((random(10) - random(10)) / 10); blood._xscale = (blood._yscale = 100 + random(200)); c++; } } else { hp = hp - dmg; c = 0; while (c < 1) { blood = _root.addObj("blood_drop", _root.debris_layer, _root.getNextDebrisLevel()); blood._x = x; blood._y = y; blood.vx = (vx / 3) + ((random(10) - random(10)) / 10); blood.vy = (vy / 3) + ((random(10) - random(10)) / 10); blood._xscale = (blood._yscale = 100 + random(200)); c++; } } } hp = 5 + Math.floor(_root.level * 0.25); half_height = _height / 2; timeToNade = 600 + random(600); timeToShoot = 100; shot_count = 0; speed = 0.5; xpos = 0; ypos = 0; shootCount = 0; etype = "troop"; xmax = _root.g_width + 10; ymax = _root.g_ground + 10;
Instance of Symbol 269 MovieClip "head" in Symbol 271 MovieClip [enemy_sniper] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 55 MovieClip "hitbox" in Symbol 271 MovieClip [enemy_sniper] Frame 1
onClipEvent (load) { _alpha = 0; }
Instance of Symbol 55 MovieClip "weakspot" in Symbol 271 MovieClip [enemy_sniper] Frame 1
onClipEvent (load) { _alpha = 0; }
Symbol 272 MovieClip Frame 54
stop();
Symbol 273 MovieClip [enemy_sniper_death] Frame 1
function step() { if ((count++) > 100) { _alpha = (_alpha - 2); if (_alpha < 0) { this.unloadMovie(); } } }
Instance of Symbol 272 MovieClip in Symbol 273 MovieClip [enemy_sniper_death] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 276 MovieClip [shrap_bomb] Frame 1
function step() { vy = vy + _root.gravity; _x = (_x + vx); _y = (_y + vy); if ((timeToExpload--) <= 0) { _root.shrapnelExplosion(_x, _y, 10); _root.playSound("ice_shatter.wav"); this.unloadMovie(); } } timeToExpload = 30;
Instance of Symbol 275 MovieClip in Symbol 276 MovieClip [shrap_bomb] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 278 MovieClip [napalm_flame] Frame 1
function scan() { closeEnemies = new Array(); for (ndx in _root.enemies) { dx = _root.enemies[ndx]._x - _x; dy = _root.enemies[ndx]._y - _y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 200) { closeEnemies.push(_root.enemies[ndx]); } } dx = _root.hero._x - _x; dy = _root.hero._y - _y; dist = Math.sqrt((dx * dx) + (dy * dy)); checkHero = dist < 200; } function step() { if ((count++) > 600) { _alpha = (_alpha - 2); if (_alpha < 0) { this.unloadMovie(); } } if ((timeToCheck++) > 20) { timeToCheck = 0; for (ndx in closeEnemies) { cene = closeEnemies[ndx]; if (hitbox.hitTest(cene._x, cene._y, 0)) { cene.takeDamage(3, _x, _y, 0, 0); } } if (checkHero && (hitbox.hitTest(_root.hero._x, _root.hero._y, 0))) { _root.hero.takeDamage(5); } } if ((timeToScan++) > 50) { timeToScan = 0; scan(); } } closeEnemies = new Array(); scan(); checkHero = false; timeToCheck = 100;
Instance of Symbol 277 MovieClip in Symbol 278 MovieClip [napalm_flame] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 55 MovieClip "hitbox" in Symbol 278 MovieClip [napalm_flame] Frame 1
onClipEvent (load) { _alpha = 0; }
Symbol 297 MovieClip [breaking_glass] Frame 1
function takeDamage(amt, xpar, ypar, vx, vy) { xpos = xpar - _x; ypos = ypar - _y; for (ndx in pieces) { piece = pieces[ndx]; if (piece.hitTest(xpar, ypar, 0)) { _root.playSound("ice_shatter.wav"); _root.addDebrisExplosionType(xpar, ypar, 2, "glass_shard"); piece.unloadMovie(); hp--; if (hp <= 0) { window_loader.allBroke = true; } break; } } } pieces = new Array(); pieces.push(p1); pieces.push(p2); pieces.push(p3); pieces.push(p4); pieces.push(p5); pieces.push(p6); pieces.push(p7); pieces.push(p8); pieces.push(p9); hp = 9; _root.obstructions.push(this);
Symbol 300 MovieClip [glass_fade_loader] Frame 1
function step() { _alpha = (_alpha + 5); if (_alpha > 100) { this.unloadMovie(); } } _alpha = 0;
Instance of Symbol 299 MovieClip in Symbol 300 MovieClip [glass_fade_loader] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 303 MovieClip [glass_shard] Frame 1
function step() { if (!hitGround) { vy = vy + _root.gravity; _y = (_y + vy); _x = (_x + vx); _rotation = (_rotation + 2); } else { _x = (_x + vx); vx = vx * 0.95; } if (_y > 340) { _y = 340; vy = 0; hitGround = true; } if ((timer++) > 200) { _alpha = (_alpha - 5); if (_alpha < 0) { this.unloadMovie(); } } } hitGround = false;
Instance of Symbol 302 MovieClip in Symbol 303 MovieClip [glass_shard] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 307 MovieClip [enemy_car_dead] Frame 1
function step() { if ((count++) > 100) { _alpha = (_alpha - 2); if (_alpha < 0) { this.unloadMovie(); } } }
Instance of Symbol 306 MovieClip in Symbol 307 MovieClip [enemy_car_dead] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 317 MovieClip Frame 1
stop();
Symbol 318 MovieClip [obs_aircond] Frame 1
function step() { frame = maxhp - hp; if (frame < 1) { frame = 1; } frame = Math.floor(frame); can_animation.gotoAndStop(frame); if (hp <= 0) { _root.addExplosionType(_x, _y, 100, 50, "debris_flame"); _root.removeObstruction(this); } hp = hp - leaking; } function takeDamage(amt, x, y, vx, vy) { _root.playSound("ching1.wav"); hp = hp - amt; } hp = 20; maxhp = 20; placed = false; _root.obstructions.push(this);
Instance of Symbol 317 MovieClip "can_animation" in Symbol 318 MovieClip [obs_aircond] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 319 MovieClip [tank_shell] Frame 1
function setVelocity(xdelta, ydelta) { trace((("setting x and y: " + xdelta) + " ") + ydelta); vx = xdelta; vy = ydelta; } function step() { vy = vy + (_root.gravity * 2); _y = (_y + vy); _x = (_x + vx); radians = Math.atan(vy / vx); if (vx > 0) { _rotation = ((radians * 180) / 3.14159); } else { _rotation = (((radians * 180) / 3.14159) + 180); } placeSmoke(); if (((_x < -10) || (_x > xmax)) || (_y > ymax)) { this.unloadMovie(); } testHitObstructions(); testHitHero(); } function testHitHero() { if (_root.hero.hitbox.hitTest(_x, _y, 0)) { _root.addExplosion(_x, _y, range, dmg); _root.playHitEnemySound(); this.unloadMovie(); } } function testHitStruct() { hitstruct = false; for (ndx in _root.structures) { if (_root.structures[ndx].hitTest(_x, _y, 1)) { hitstruct = true; break; } } if (hitstruct) { _root.addExplosion(_x, _y, range, dmg); _root.playHitEnemySound(); this.unloadMovie(); } } function testHitEnemies() { for (i in _root.enemies) { ene = _root.enemies[i]; if (ene.hitbox.hitTest(_x, _y, 0)) { _root.addExplosion(_x, _y, range, dmg); _root.playHitEnemySound(); this.unloadMovie(); } } } function testHitObstructions() { if (_y > ground_spot) { _root.addExplosion(_x, _y, range, dmg); this.unloadMovie(); } for (i in _root.obstructions) { if (_root.obstructions[i].hitTest(_x, _y, 1)) { _root.obstructions[i].takeDamage(3, _x, _y, vx, vy); _root.addExplosion(_x, _y, range, dmg); this.unloadMovie(); } } } function placeSmoke() { lvl = _root.getNextSmokeLevel(); temp = _root.smoke_layer.attachMovie("segment_tank_shell", "segment_tank_shell_id_" + lvl, lvl); temp._x = _x; temp._y = _y; temp._width = Math.sqrt((vx * vx) + (vy * vy)); temp._rotation = _rotation; } xmax = _root.g_width + 10; ymax = _root.g_ground + 10; range = 50; dmg = 100; ground_spot = _root.bullet_ground - 20;
Instance of Symbol 217 MovieClip in Symbol 319 MovieClip [tank_shell] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 320 MovieClip [rpg] Frame 1
function setVelocity(xdelta, ydelta) { trace((("setting x and y: " + xdelta) + " ") + ydelta); vx = xdelta; vy = ydelta; } function step() { vy = vy + (_root.gravity * 2); _y = (_y + vy); _x = (_x + vx); radians = Math.atan(vy / vx); if (vx > 0) { _rotation = ((radians * 180) / 3.14159); } else { _rotation = (((radians * 180) / 3.14159) + 180); } placeSmoke(); if (((_x < -10) || (_x > xmax)) || (_y > ymax)) { this.unloadMovie(); } testHitEnemies(); testHitObstructions(); } function testHitEnemies() { for (i in _root.enemies) { ene = _root.enemies[i]; if (ene.hitbox.hitTest(_x, _y, 0)) { _root.addExplosion(_x, _y, range, dmg); _root.playHitEnemySound(); this.unloadMovie(); } } } function testHitObstructions() { if (_y > ground_spot) { _root.addExplosion(_x, _y, range, dmg); this.unloadMovie(); } for (i in _root.obstructions) { if (_root.obstructions[i].hitTest(_x, _y, 1)) { _root.obstructions[i].takeDamage(3, _x, _y, vx, vy); _root.addExplosion(_x, _y, range, dmg); this.unloadMovie(); } } } function placeSmoke() { lvl = _root.getNextSmokeLevel(); temp = _root.smoke_layer.attachMovie("segment_arrow", "segment_arrow_id_" + lvl, lvl); temp._x = _x; temp._y = _y; temp._width = Math.sqrt((vx * vx) + (vy * vy)); temp._rotation = _rotation; } xmax = _root.g_width + 10; ymax = _root.g_ground + 10; range = 50; dmg = 100; ground_spot = _root.bullet_ground - 20;
Instance of Symbol 217 MovieClip in Symbol 320 MovieClip [rpg] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 324 MovieClip [tank_dead] Frame 1
function step() { if ((count++) > 100) { _alpha = (_alpha - 2); if (_alpha < 0) { this.unloadMovie(); } } }
Instance of Symbol 323 MovieClip in Symbol 324 MovieClip [tank_dead] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 329 MovieClip [level_display] Frame 1
function step() { _alpha = (_alpha - 10); if (_alpha < 0) { this.unloadMovie(); } } _alpha = 1000;
Instance of Symbol 328 MovieClip in Symbol 329 MovieClip [level_display] Frame 1
onClipEvent (enterFrame) { _parent.step(); }
Symbol 332 MovieClip [enemy_bomb_drop] Frame 1
function step() { vy = vy + (_root.gravity / 5); _x = (_x + vx); _y = (_y + vy); xpos = _x; ypos = _y; _rotation = (_rotation + rotFactor); if (((_x < xmin) || (_x > xmax)) || (_y > ymax)) { _root.removeEnemy(this); } if ((_y > 200) || (hp <= 0)) { hitstruct = false; if ((_y > 200) && (_y < 260)) { for (ndx in _root.structures) { if (_root.structures[ndx].hitTest(_x, _y, 0)) { hitstruct = true; break; } } } if ((hitstruct || (hp <= 0)) || (_y > (_root.bullet_ground - 10))) { _root.addExplosion(_x, _y, 110, 50); _root.removeEnemy(this); } } } function takeDamage(amt, x, y, vx, vy) { hp = hp - amt; } hp = 1; xpos = _x; ypos = _y; xmax = _root.g_width + 100; ymax = _root.g_ground + 50; xmin = -100; ymin = -10; etype = "bomb"; if (vx < 0) { _xscale = -100; } if (vx > 0) { rotFactor = 0.3; } else { rotFactor = -0.3; }
Instance of Symbol 331 MovieClip in Symbol 332 MovieClip [enemy_bomb_drop] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 55 MovieClip "hitbox" in Symbol 332 MovieClip [enemy_bomb_drop] Frame 1
onClipEvent (load) { _alpha = 0; }
Symbol 335 MovieClip [bullet_water_splash] Frame 1
function step() { _alpha = (_alpha - 3); if (_alpha <= 0) { this.unloadMovie(); } }
Instance of Symbol 334 MovieClip in Symbol 335 MovieClip [bullet_water_splash] Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 348 Button
on (release) { _root.closeTopScores(); }
Symbol 353 Button
on (release) { _root.closeNamer(); _root.paused = false; }
Symbol 356 Button
on (release) { _root.closeHelp(); }
Symbol 360 Button
on (release) { _root.help_text = "Stay alive as long as possible.\nDestroy the enemies to earn points.\nGather the crates to get ammo and health.\nAvoid explosions and enemy bullets."; }
Symbol 363 Button
on (release) { _root.help_text = "There are three types of enemies... Soldiers, bombers, and helicopters. Hint: every enemy has a weak spot."; }
Symbol 365 Button
on (release) { _root.help_text = "Tap Left CTRL to crouch; while crouched your aiming with the gun is a lot better and you are a smaller target. If you start to move while crouched your guy stands up. You can stand on tower platforms but the platform floors do not block enemy fire. Falling aircraft cause explosions that do hurt you. EVERY explosion hurts you."; }
Symbol 367 Button
on (release) { _root.help_text = "Rockets are fired by clicking the left mouse button. Rockets will follow your mouse cursor to the best of their ability. Sharp turns may cause them to collide with other objects."; }
Symbol 370 Button
on (release) { _root.help_text = "Single Click will release the cross bow which releases a piercing bolt that can pass through enemy soldiers instantly killing them."; }
Symbol 372 Button
on (release) { _root.help_text = "The gun is a fully automatic rifle that does not need to reload via clips (lucky you) but can run out of ammo. The longer you fire the more wild your shots get. If you are crouched you can aim better. Notice your cross-hair icon change shape as you fire. The further the red-lines are from the center-mouse-possition the wilder your gun aiming is."; }
Symbol 374 Button
on (release) { _root.help_text = "Controls:\n"; _root.help_text = _root.help_text + "A (hold): Move Left\n"; _root.help_text = _root.help_text + "D (hold): Move Right\n"; _root.help_text = _root.help_text + "W (hold): Climb Up ladder\n"; _root.help_text = _root.help_text + "S (hold): Climb Down ladder\n"; _root.help_text = _root.help_text + "E: Throw Grenade\n"; _root.help_text = _root.help_text + "R: Throw Proximity Mine\n"; _root.help_text = _root.help_text + "SPACE BAR: Jump (Double tap to double jump)\n"; _root.help_text = _root.help_text + "Left CTRL: (Tap once) Crouch (provides better aiming but you cannot move while crouched)\n"; _root.help_text = _root.help_text + "#1-3 Change Firing Modes (Gun, Bow, Rocket)\n"; }
Symbol 384 MovieClip [help_screen] Frame 1
_root.help_text = "Controls:\n"; _root.help_text = _root.help_text + "A (hold): Move Left\n"; _root.help_text = _root.help_text + "D (hold): Move Right\n"; _root.help_text = _root.help_text + "W (hold): Climb Up ladder\n"; _root.help_text = _root.help_text + "S (hold): Climb Down ladder\n"; _root.help_text = _root.help_text + "E: Throw Molotov Coctail\n"; _root.help_text = _root.help_text + "R: Throw Shrapnel Proximity Mine\n"; _root.help_text = _root.help_text + "SPACE BAR: Jump (Double tap to double jump)\n"; _root.help_text = _root.help_text + "Left CTRL: (Tap once) Crouch (provides better aiming but you cannot move while crouched)\n"; _root.help_text = _root.help_text + "#1-5 Change Firing Modes (Gun, RPG, Rocket, Shotgun, Uzi)\n"; _root.default_help_text = "Controls:\n"; _root.default_help_text = _root.default_help_text + "A (hold): Move Left\n"; _root.default_help_text = _root.default_help_text + "D (hold): Move Right\n"; _root.default_help_text = _root.default_help_text + "W (hold): Climb Up ladder\n"; _root.default_help_text = _root.default_help_text + "S (hold): Climb Down ladder\n"; _root.default_help_text = _root.default_help_text + "E: Throw Molotov Coctail\n"; _root.default_help_text = _root.default_help_text + "R: Throw Shrapnel Proximity Mine\n"; _root.default_help_text = _root.default_help_text + "SPACE BAR: Jump (Double tap to double jump)\n"; _root.default_help_text = _root.default_help_text + "Left CTRL: (Tap once) Crouch (provides better aiming but you cannot move while crouched)\n"; _root.default_help_text = _root.default_help_text + "#1-5 Change Firing Modes (Gun, RPG, Rocket, Shotgun, Uzi)\n";
Instance of Symbol 378 MovieClip "sponsor_link" in Symbol 384 MovieClip [help_screen] Frame 1
on (release) { getURL ("http://www.ugotgames.com/", "_blank"); }
Instance of Symbol 383 MovieClip in Symbol 384 MovieClip [help_screen] Frame 1
on (rollOver) { _root.help_text = "\"Progressive\" mode is where different levels have different amounts of specific types of enemies. \"All\" mode has every enemy with an equal chance of being loaded. Click the button to change the mode. The mode that is viewable is the one that is active."; } on (rollOut) { _root.help_text = _root.default_help_text; } on (release) { _root.stepper.switchGameModes(); }
Symbol 393 Button
on (release) { _root.closeGameOver(); _root.restartGame(); }
Symbol 440 MovieClip Frame 1
function step() { hitladder = ladder.hitTest(_root.hero._x, _root.hero._y, 0); if (Key.isDown(_root.KEY_W)) { if (hitladder) { _root.hero.vx = 0; _root.hero.vy = 0; _root.hero._y = _root.hero._y - 1; } } else if (Key.isDown(_root.KEY_S)) { if (hitladder) { _root.hero.vx = 0; _root.hero.vy = 0; _root.hero._y = _root.hero._y + 1; } } }
Instance of Symbol 55 MovieClip "ladder" in Symbol 440 MovieClip Frame 1
onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { _parent.step(); }
Symbol 450 MovieClip Frame 1
function step() { hitladder = ladder.hitTest(_root.hero._x, _root.hero._y, 0); if (Key.isDown(_root.KEY_W)) { if (hitladder) { _root.hero.vx = 0; _root.hero.vy = 0; _root.hero._y = _root.hero._y - 1; } } else if (Key.isDown(_root.KEY_S)) { if (hitladder) { _root.hero.vx = 0; _root.hero.vy = 0; _root.hero._y = _root.hero._y + 1; } } }
Instance of Symbol 55 MovieClip "ladder" in Symbol 450 MovieClip Frame 1
onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { _parent.step(); }
Symbol 451 MovieClip Frame 1
function addGlass() { glassTimer = 0; myWindow = _root.addObj("breaking_glass", this, 3); myWindow.window_loader = this; allBroke = false; enemyDead = false; } function addGlassFade() { _root.addObj("glass_fade_loader", this, 2); } function addStillGlass() { _root.addObj("glass_still", this, 3); } function step() { if (enemyDead) { glassTimer++; if (glassTimer == 200) { trace("Adding New Glass"); addStillGlass(); } else if (glassTimer == 180) { addGlassFade(); } } } myWindow = null; allBroke = false; glassTimer = 0; enemyDead = true; addStillGlass();
Instance of Symbol 59 MovieClip "window1" in Symbol 451 MovieClip Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 452 MovieClip in Symbol 467 MovieClip Frame 1
onClipEvent (load) { _root.structures.push(this); _alpha = 0; }
Instance of Symbol 467 MovieClip in Symbol 468 MovieClip Frame 1
onClipEvent (load) { vy = 0.25; } onClipEvent (enterFrame) { if (!_root.paused) { if ((timeToWait--) < 0) { if (_y > 70) { timeToWait = 1000; vy = vy * -1; _y = 70; } else if (_y < -20) { timeToWait = 1000; vy = vy * -1; _y = -20; } _y = (_y + vy); } } }
Symbol 518 MovieClip Frame 1
stop();
Instance of Symbol 525 MovieClip in Symbol 532 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.shooting_mode == "gun") { _alpha = 100; } else { _alpha = 0; } }
Instance of Symbol 527 MovieClip in Symbol 532 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.shooting_mode == "shotgun") { _alpha = 100; } else { _alpha = 0; } }
Instance of Symbol 529 MovieClip in Symbol 532 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.shooting_mode == "rpg") { _alpha = 100; } else { _alpha = 0; } }
Instance of Symbol 531 MovieClip in Symbol 532 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.shooting_mode == "uzi") { _alpha = 100; } else { _alpha = 0; } }
Instance of Symbol 262 MovieClip in Symbol 532 MovieClip Frame 1
onClipEvent (enterFrame) { if ((_root.shooting_mode == "gun") || (_root.shooting_mode == "bow")) { _alpha = 100; } else { _alpha = 0; } }
Instance of Symbol 534 MovieClip in Symbol 536 MovieClip Frame 1
onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (_root.rocket_smoke > -10) { _root.rocket_smoke = _root.rocket_smoke - 5; _alpha = _root.rocket_smoke; } }
Instance of Symbol 267 MovieClip in Symbol 536 MovieClip Frame 1
onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (_root.rocket_flame > -10) { _root.rocket_flame = _root.rocket_flame - 10; _alpha = _root.rocket_flame; } }
Symbol 544 MovieClip Frame 10
stop();
Instance of Symbol 545 MovieClip in Symbol 546 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.shooting_mode == "bow") { _alpha = 100; } else { _alpha = 0; } }
Instance of Symbol 536 MovieClip "launcher2" in Symbol 547 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.shooting_mode == "rocket") { _alpha = 100; } else { _alpha = 0; } }
Instance of Symbol 262 MovieClip in Symbol 547 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.shooting_mode == "rocket") { _alpha = 100; } else { _alpha = 0; } }
Instance of Symbol 529 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.shooting_mode == "rpg") { _alpha = 100; } else { _alpha = 0; } }
Instance of Symbol 525 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.shooting_mode == "gun") { _alpha = 100; } else { _alpha = 0; } }
Instance of Symbol 531 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.shooting_mode == "uzi") { _alpha = 100; } else { _alpha = 0; } }
Instance of Symbol 527 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.shooting_mode == "shotgun") { _alpha = 100; } else { _alpha = 0; } }
Instance of Symbol 262 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (enterFrame) { if ((_root.shooting_mode == "gun") || (_root.shooting_mode == "bow")) { _alpha = 100; } else { _alpha = 0; } }
Instance of Symbol 536 MovieClip "launcher" in Symbol 548 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.shooting_mode == "rocket") { _alpha = 100; } else { _alpha = 0; } }
Instance of Symbol 262 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.shooting_mode == "rocket") { _alpha = 100; } else { _alpha = 0; } }
Instance of Symbol 545 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.shooting_mode == "bow") { _alpha = 100; } else { _alpha = 0; } }
Instance of Symbol 267 MovieClip "f2" in Symbol 551 MovieClip Frame 1
onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (_alpha > 0) { _alpha = (_alpha - 30); } }
Instance of Symbol 267 MovieClip "f3" in Symbol 551 MovieClip Frame 1
onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (_alpha > 0) { _alpha = (_alpha - 30); } }
Instance of Symbol 267 MovieClip "f1" in Symbol 551 MovieClip Frame 1
onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (_alpha > 0) { _alpha = (_alpha - 30); } }
Instance of Symbol 547 MovieClip "rifle_invert" in Symbol 551 MovieClip Frame 1
onClipEvent (load) { orig_x = _x; _alpha = 0; } onClipEvent (enterFrame) { if (_x < orig_x) { _x = (_x + ((orig_x - _x) / 2)); } }
Instance of Symbol 550 MovieClip "rifle" in Symbol 551 MovieClip Frame 1
onClipEvent (load) { orig_x = _x; _alpha = 0; } onClipEvent (enterFrame) { if (_x < orig_x) { _x = (_x + ((orig_x - _x) / 2)); } }
Symbol 552 MovieClip Frame 1
stop();
Instance of Symbol 473 MovieClip in Symbol 552 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 519 MovieClip in Symbol 552 MovieClip Frame 1
onClipEvent (load) { count = 1; stopped = false; gotoAndStop (75); } onClipEvent (enterFrame) { pvx = Math.abs(_parent._parent.vx); if (pvx > 0.5) { stopped = false; count = count + pvx; if (count >= 60) { count = 1; } gotoAndStop(Math.floor(count)); } else if (!stopped) { if (count < 70) { count = 75; } if (count <= 75) { count = count + 0.2; gotoAndStop(Math.floor(count)); } else { stopped = true; } } }
Instance of Symbol 551 MovieClip in Symbol 552 MovieClip Frame 1
onClipEvent (load) { yorig = _y; } onClipEvent (enterFrame) { _y = (yorig + _root.hero.crouch_factor); dx = -((_root._xmouse - _root.hero._x) + 3.5); dy = -(((_root._ymouse - _root.hero._y) + 15.8) - _root.hero.crouch_factor); _root.hero.mdx = dx; _root.hero.mdy = dy; radians = Math.atan(dy / dx); if (_root.hero.mdx > 0) { rifle._alpha = 0; rifle_invert._alpha = 100; } else { rifle._alpha = 100; rifle_invert._alpha = 0; } _rotation = _root.hero.sight._rotation; }
Instance of Symbol 551 MovieClip in Symbol 552 MovieClip Frame 2
onClipEvent (load) { yorig = _y; } onClipEvent (enterFrame) { _y = (yorig + _root.hero.crouch_factor); dx = -((_root._xmouse - _root.hero._x) + 3.5); dy = -(((_root._ymouse - _root.hero._y) + 15.8) - _root.hero.crouch_factor); _root.hero.mdx = dx; _root.hero.mdy = dy; radians = Math.atan(dy / dx); if (_root.hero.mdx > 0) { rifle._alpha = 0; rifle_invert._alpha = 100; } else { rifle._alpha = 100; rifle_invert._alpha = 0; } _rotation = _root.hero.sight._rotation; }
Instance of Symbol 519 MovieClip in Symbol 552 MovieClip Frame 2
onClipEvent (load) { count = 1; stopped = false; gotoAndStop (75); } onClipEvent (enterFrame) { pvx = Math.abs(_parent._parent.vx); if (pvx > 0.5) { stopped = false; count = count + pvx; if (count >= 60) { count = 1; } gotoAndStop(Math.floor(count)); } else if (!stopped) { if (count < 70) { count = 75; } if (count <= 75) { count = count + 0.2; gotoAndStop(Math.floor(count)); } else { stopped = true; } } }
Instance of Symbol 519 MovieClip in Symbol 552 MovieClip Frame 3
onClipEvent (enterFrame) { gotoAndStop (23); }
Instance of Symbol 519 MovieClip in Symbol 552 MovieClip Frame 4
onClipEvent (enterFrame) { gotoAndStop (23); }
Instance of Symbol 473 MovieClip in Symbol 552 MovieClip Frame 5
onClipEvent (load) { yorig = _y; } onClipEvent (enterFrame) { _y = (yorig + _root.hero.crouch_factor); }
Instance of Symbol 519 MovieClip in Symbol 552 MovieClip Frame 5
onClipEvent (load) { frame = 76; gotoAndStop(frame); } onClipEvent (enterFrame) { count = _parent._parent.crouch_count; gotoAndStop(frame + count); }
Instance of Symbol 551 MovieClip in Symbol 552 MovieClip Frame 6
onClipEvent (load) { yorig = _y; } onClipEvent (enterFrame) { _y = (yorig + _root.hero.crouch_factor); dx = -((_root._xmouse - _root.hero._x) + 3.5); dy = -(((_root._ymouse - _root.hero._y) + 15.8) - _root.hero.crouch_factor); _root.hero.mdx = dx; _root.hero.mdy = dy; radians = Math.atan(dy / dx); if (_root.hero.mdx > 0) { rifle._alpha = 0; rifle_invert._alpha = 100; } else { rifle._alpha = 100; rifle_invert._alpha = 0; } _rotation = _root.hero.sight._rotation; }
Instance of Symbol 519 MovieClip in Symbol 552 MovieClip Frame 6
onClipEvent (load) { frame = 76; gotoAndStop(frame); } onClipEvent (enterFrame) { count = _parent._parent.crouch_count; gotoAndStop(frame + count); }
Instance of Symbol 519 MovieClip in Symbol 552 MovieClip Frame 7
onClipEvent (load) { frame = 76; gotoAndStop(frame); } onClipEvent (enterFrame) { count = _parent._parent.crouch_count; trace("Count: " + count); gotoAndStop(frame + count); }
Symbol 555 MovieClip Frame 1
function step() { right_foot = _root.ground.ground_body.hitTest(_x + 6, _y, 1); left_foot = _root.ground.ground_body.hitTest(_x - 6, _y, 1); right_hand = _root.ground.ground_body.hitTest(_x + 6, _y - 8, 1); left_hand = _root.ground.ground_body.hitTest(_x - 6, _y - 8, 1); bottom = _root.ground.ground_body.hitTest(_x, _y, 1); hitstruct = false; for (ndx in _root.structures) { if (_root.structures[ndx].hitTest(_x, _y, 1)) { struct_on = _root.structures[ndx]; hitstruct = true; break; } } bottom = bottom || (hitstruct); if (!grounded) { grounded = _root.ground.hitTest(_x, _y + 5, 1) || (struct_on.hitTest(_x, _y + 5, 1)); } if (grounded) { jump_count = 0; } else if (jump_count < 1) { jump_count++; } if (right_hand) { if (vx > 0) { vx = 0; } vx = vx - 0.1; } else if (left_hand) { if (vx < 0) { vx = 0; } vx = vx + 0.1; } if (bottom) { if (vy > 3) { crouch_count = 20; crouching = true; } if (delta > 0) { delta = 0; } delta = delta - 0.04; vy = delta; vx = vx * 0.85; } else if (delta < 0) { delta = 0; } if (_x < half_width) { _x = half_width; } else if (_x > (_root.g_width - half_width)) { _x = (_root.g_width - half_width); } if (_y < half_height) { _y = half_height; } else if (_y > (_root.g_ground - half_height)) { _y = (_root.g_ground - half_height); } if (!crouching) { if (Key.isDown(_root.KEY_D) && (!right_hand)) { body_dir = 1; if (vx < 1.5) { vx = vx + 0.2; } aim_error = 8; max_spread = 20; } else if (Key.isDown(_root.KEY_A) && (!left_hand)) { body_dir = -1; if (vx > -1.5) { vx = vx - 0.2; } aim_error = 8; max_spread = 20; } else { if ((vx < 0.01) && (vx > -0.01)) { vx = 0; } else { vx = vx * 0.99; } if (grounded) { aim_error = 5; max_spread = 15; } else { aim_error = 15; max_spread = 25; } } } else { max_spread = 5; aim_error = 0; } if ((!wants_to_crouch) && (Key.isDown(_root.KEY_LEFTCONTROL))) { wants_to_crouch = true; } if (wants_to_crouch && (grounded)) { if ((vx > -0.01) && (vx < 0.01)) { if (vx < 0) { body_dir = -1; } else if (vx > 0) { body_dir = 1; } vx = 0; crouching = true; if (crouch_count < 20) { crouch_count = crouch_count + 2; } } else { vx = vx * 0.85; } } else if (crouch_count >= 1) { crouch_count = crouch_count - 2; } else { crouching = false; } crouch_factor = crouch_count * 0.3; if (((Key.isDown(_root.KEY_SPACEBAR) && (jump_count < 1)) && (space_released)) && (!crouching)) { jump_count++; space_released = false; grounded = false; vy = -2; } if (!Key.isDown(_root.KEY_SPACEBAR)) { space_released = true; holdcount = 0; } else { holdcount++; wants_to_crouch = false; } if ((Key.isDown(_root.KEY_A) || (Key.isDown(_root.KEY_D))) || (Key.isDown(_root.KEY_W))) { wants_to_crouch = false; } xprev = _x; yprev = _y; vy = vy + gravity; animate(); _x = (_x + vx); _y = (_y + vy); checkFiring(); } function checkFiring() { if (_root.shooting_mode == "gun") { if (timeToShoot > 0) { timeToShoot--; } } else if (_root.shooting_mode == "rocket") { if (timeToShootRocket > 0) { timeToShootRocket--; } } else if (_root.shooting_mode == "rpg") { if (timeToShootRPG > 0) { timeToShootRPG--; } } else if (_root.shooting_mode == "shotgun") { if (timeToShootShotgun > 0) { timeToShootShotgun--; } } else if (_root.shooting_mode == "uzi") { if (timeToShootUzi > 0) { timeToShootUzi--; } } else if (_root.shooting_mode == "bow") { if (timeToShootBow > 0) { timeToShootBow--; } } if (timeToThrow > 0) { timeToThrow--; } if (_root.firing) { if ((_root.shooting_mode == "gun") && (_root.ammo_bullets > 0)) { if (timeToShoot <= 0) { _root.shootHeroProjectile(); sight.f1._alpha = 100; sight.f2._alpha = 100; sight.f3._alpha = 100; _root.aim_rate = 0; if (_root.gun_wild < max_spread) { _root.gun_wild = _root.gun_wild + 4; } timeToShoot = 7; } } else if ((_root.shooting_mode == "uzi") && (_root.ammo_bullets > 0)) { if (timeToShootUzi <= 0) { _root.shootHeroUzi(); sight.f1._alpha = 100; sight.f2._alpha = 100; sight.f3._alpha = 100; _root.aim_rate = 0; if (_root.gun_wild < max_spread) { _root.gun_wild = _root.gun_wild + 10; } timeToShootUzi = 3; } } else if ((_root.shooting_mode == "rocket") && (_root.ammo_rockets > 0)) { if (timeToShootRocket <= 0) { _root.shootHeroRocket(); timeToShootRocket = 100; } } else if ((_root.shooting_mode == "shotgun") && (_root.ammo_shells > 0)) { if (timeToShootShotgun <= 0) { _root.shootHeroShotgun(); timeToShootShotgun = 50; } } else if ((_root.shooting_mode == "rpg") && (_root.ammo_rpg > 0)) { if (timeToShootRPG <= 0) { _root.shootRPG(); timeToShootRPG = 35; } } else if ((_root.shooting_mode == "bow") && (_root.ammo_arrows > 0)) { if (timeToShootBow <= 0) { _root.shootArrow(); timeToShootBow = 20; } } } if (_root.gun_wild > aim_error) { if (_root.aim_rate > 0) { _root.aim_rate = 0; } _root.aim_rate = _root.aim_rate - 0.05; } else { if (_root.aim_rate < 0) { _root.aim_rate = 0; } _root.aim_rate = _root.aim_rate + 0.05; } _root.gun_wild = _root.gun_wild + _root.aim_rate; if ((Key.isDown(_root.KEY_E) && (timeToThrow <= 0)) && (_root.ammo_grenades > 0)) { timeToThrow = 60; _root.shootGrenade(); } if ((Key.isDown(_root.KEY_R) && (timeToThrow <= 0)) && (_root.ammo_prox_mines > 0)) { timeToThrow = 60; _root.shootProximityMine(); } } function takeDamage(dmg) { _root.playHitEnemySound(); hp = hp - dmg; } function animate() { if ((body_dir > 0) && (crouching)) { body.gotoAndStop("crouch_right"); } else if ((body_dir < 0) && (crouching)) { body.gotoAndStop("crouch_left"); } else if ((body_dir > 0) && (grounded)) { body.gotoAndStop("run_right"); } else if ((body_dir < 0) && (grounded)) { body.gotoAndStop("run_left"); } else if ((body_dir > 0) && (!grounded)) { body.gotoAndStop("fly_right"); } else if ((body_dir < 0) && (!grounded)) { body.gotoAndStop("fly_left"); } } delta = 0; half_width = 5; half_height = 13; gravity = 0.08; grounded = false; vx = 0; space_released = true; holding = false; xprev = 0; yprev = 0; holdcount = 0; crouch_count = 1; crouching = false; body_dir = 1; crouch_factor = 0; timeToThrow = 10; timeToShoot = 10; timeToShootRocket = 10; timeToShootBow = 10; timeToShootRPG = 10; timeToShootShotgun = 10; timeToShootUzi = 10; jump_count = 0; aim_error = 0; struct_on = null; wants_to_crouch = false;
Instance of Symbol 552 MovieClip "body" in Symbol 555 MovieClip Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Instance of Symbol 553 MovieClip "sight" in Symbol 555 MovieClip Frame 1
onClipEvent (load) { _alpha = 0; yorig = _y; } onClipEvent (enterFrame) { _y = (yorig + _root.hero.crouch_factor); dx = -((_root._xmouse - _root.hero._x) + 3.5); dy = -(((_root._ymouse - _root.hero._y) + 15.8) - _root.hero.crouch_factor); _root.hero.mdx = dx; _root.hero.mdy = dy; radians = Math.atan(dy / dx); if (dx > 0) { _rotation = (((radians * 180) / Math.PI) + 180); } else { _rotation = ((radians * 180) / Math.PI); } }
Instance of Symbol 554 MovieClip "hitbox" in Symbol 555 MovieClip Frame 1
onClipEvent (load) { _alpha = 0; yorig = _y; h_orig = _height; } onClipEvent (enterFrame) { _height = (h_orig - _parent.crouch_factor); }
Symbol 559 Button
on (keyPress "1") { _root.shooting_mode = "gun"; _root.cross_hair.ch_gun._alpha = 100; _root.cross_hair.ch_rocket._alpha = 0; _root.cross_hair.ch_shotgun._alpha = 0; } on (keyPress "2") { _root.shooting_mode = "rpg"; _root.cross_hair.ch_gun._alpha = 0; _root.cross_hair.ch_rocket._alpha = 100; _root.cross_hair.ch_shotgun._alpha = 0; } on (keyPress "3") { _root.shooting_mode = "rocket"; _root.cross_hair.ch_gun._alpha = 0; _root.cross_hair.ch_rocket._alpha = 100; _root.cross_hair.ch_shotgun._alpha = 0; } on (keyPress "4") { _root.shooting_mode = "shotgun"; _root.cross_hair.ch_gun._alpha = 0; _root.cross_hair.ch_rocket._alpha = 0; _root.cross_hair.ch_shotgun._alpha = 100; } on (keyPress "5") { _root.shooting_mode = "uzi"; _root.cross_hair.ch_gun._alpha = 100; _root.cross_hair.ch_rocket._alpha = 0; _root.cross_hair.ch_shotgun._alpha = 0; } on (keyPress "p") { if (!_root.game_ended) { _root.paused = !_root.paused; } }
Symbol 563 MovieClip Frame 1
function step() { if (timeToWait > 0) { timeToWait--; } else { _y = (_y + 1); hitstruct = false; for (ndx in _root.structures) { if (_root.structures[ndx].hitTest(_x, _y, 0)) { hitstruct = true; break; } } if (hitstruct || (_y > ground_spot)) { _root.addRandomGoodie(_x, _y); chute = _root.addObj("parachute_fade", _root.debris_layer, _root.getNextDebrisLevel()); chute._x = _x; chute._y = _y - 23.8; timeToWait = random(500) + 1000; _y = -20; _x = (random(_root.g_width - 30) + 15); } } } timeToWait = 0; ground_spot = _root.bullet_ground - 20;
Instance of Symbol 562 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) { if (!_root.paused) { _parent.step(); } }
Symbol 576 MovieClip Frame 1
function step() { if (_root.paused) { pause_text = "unpause"; } else { pause_text = "pause"; } } pause_text = "pause";
Instance of Symbol 574 MovieClip in Symbol 576 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.step(); }
Symbol 577 Button
on (release) { if (!_root.game_ended) { _root.paused = !_root.paused; } } on (keyPress "p") { if (!_root.game_ended) { _root.paused = !_root.paused; } }
Symbol 578 Button
on (release) { if (!_root.game_ended) { _root.openNamer(); } }
Symbol 579 Button
on (release) { _root.openHelp(); }
Symbol 580 Button
on (release) { if (!_root.game_ended) { _root.showTopScores(); } }
Instance of Symbol 599 MovieClip in Symbol 600 MovieClip Frame 1
onClipEvent (enterFrame) { _x = _root.gun_wild; }
Instance of Symbol 599 MovieClip in Symbol 600 MovieClip Frame 1
onClipEvent (enterFrame) { _y = (-_root.gun_wild); }
Instance of Symbol 599 MovieClip in Symbol 600 MovieClip Frame 1
onClipEvent (enterFrame) { _y = _root.gun_wild; }
Instance of Symbol 599 MovieClip in Symbol 600 MovieClip Frame 1
onClipEvent (enterFrame) { _x = (-_root.gun_wild); }
Instance of Symbol 602 MovieClip "ch_shotgun" in Symbol 605 MovieClip Frame 1
onClipEvent (load) { _alpha = 0; }
Instance of Symbol 604 MovieClip "ch_rocket" in Symbol 605 MovieClip Frame 1
onClipEvent (load) { _alpha = 0; }
Symbol 615 Button
on (release) { getURL ("http://www.lostvectors.com", "_self"); }
Instance of Symbol 621 MovieClip in Symbol 622 MovieClip Frame 1
onClipEvent (enterFrame) { _rotation = _root.bow._rotation; }
Symbol 623 Button
on (press) { startDrag (this); _root.holding_string = true; } on (releaseOutside) { stopDrag(); if (!_root.paused) { _root.holding_string = false; if (_root.ammo_arrows > 0) { _root.shootArrow(); } } } on (release) { stopDrag(); if (!_root.paused) { _root.holding_string = false; if (_root.ammo_arrows > 0) { _root.shootArrow(); } } }
Instance of Symbol 624 MovieClip "string" in Symbol 625 MovieClip Frame 1
onClipEvent (load) { time = 0; } onClipEvent (enterFrame) { if (!_root.pause) { if (!_root.holding) { time = time + _root.elapsed; } if ((time > _root.g_bow_cooldown) && (!_root.holding)) { _x = _root.bow._x; _y = _root.bow._y; _root.holding = true; time = 0; _alpha = 100; } } }
Symbol 626 Button
on (release) { _root.age = 18; if (!_root.first_time_playing) { _root.paused = false; } this.unloadMovie(); }
Symbol 627 Button
on (release) { _root.age = 1; if (!_root.first_time_playing) { _root.paused = false; } this.unloadMovie(); }
Symbol 638 Button
on (release) { getURL ("http://www.ugotgames.com", "_self"); }
Instance of Symbol 625 MovieClip in Symbol 639 MovieClip Frame 1
on (release) { getURL ("http://www.lostvectors.com", "_self"); }
Instance of Symbol 635 MovieClip in Symbol 639 MovieClip Frame 1
on (release) { getURL ("http://www.lostvectors.com", "_self"); } onClipEvent (load) { _alpha = 0; }

Library Items

Symbol 1 Sound [uh.wav]
Symbol 2 Sound [tat3.wav]
Symbol 3 Sound [tat2.wav]
Symbol 4 Sound [tat1.wav]
Symbol 5 Sound [swoosh.wav]
Symbol 6 Sound [splash2.wav]
Symbol 7 Sound [sniper_rifle.wav]
Symbol 8 Sound [shoot_rocket4.wav]
Symbol 9 Sound [shoot_rocket2.wav]
Symbol 10 Sound [shoot_rocket.wav]
Symbol 11 Sound [oreh.wav]
Symbol 12 Sound [oof.wav]
Symbol 13 Sound [ice_shatter.wav]
Symbol 14 Sound [hit.wav]
Symbol 15 Sound [firecat3.wav]
Symbol 16 Sound [ching1.wav]
Symbol 17 Sound [bomb_hit.wav]
Symbol 18 Sound [bomb.wav]
Symbol 19 Sound [blood_splat.wav]
Symbol 20 GraphicUsed by:25
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:21Used by:25
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClipUses:23Used by:25 36 37 234  Timeline
Symbol 25 MovieClip [bonus_ammo_boost]Uses:20 22 24
Symbol 26 GraphicUsed by:27
Symbol 27 MovieClipUses:26Used by:28
Symbol 28 MovieClip [enemy_bomb_drop_napalm]Uses:27
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClipUses:29Used by:31 34
Symbol 31 MovieClipUses:30Used by:32 33
Symbol 32 MovieClip [segment_tank_shell]Uses:31
Symbol 33 MovieClip [segment_arrow]Uses:31
Symbol 34 MovieClipUses:30Used by:35
Symbol 35 MovieClip [segment]Uses:34
Symbol 36 MovieClip [enemy_rocket]Uses:24
Symbol 37 MovieClip [missile]Uses:24
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClipUses:38Used by:40 44 221 544
Symbol 40 MovieClip [hero_arrow_bomb]Uses:39
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClipUses:41Used by:43 277
Symbol 43 MovieClip [debris_flame]Uses:42
Symbol 44 MovieClip [hero_arrow]Uses:39
Symbol 45 GraphicUsed by:46 49 452 468 634
Symbol 46 MovieClipUses:45Used by:52
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:47Used by:52
Symbol 49 MovieClipUses:45Used by:52
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClipUses:50Used by:52
Symbol 52 MovieClipUses:46 48 49 51Used by:53
Symbol 53 MovieClipUses:52Used by:60
Symbol 54 GraphicUsed by:55 472 553
Symbol 55 MovieClipUses:54Used by:60 65 77 114 179 181 193 200 270 271 278 332 440 450 554
Symbol 56 GraphicUsed by:60
Symbol 57 GraphicUsed by:58
Symbol 58 MovieClipUses:57Used by:59
Symbol 59 MovieClipUses:58Used by:60 65 77 193 200 451 472  Timeline
Symbol 60 MovieClip [enemy_tank]Uses:53 55 56 59
Symbol 61 GraphicUsed by:62
Symbol 62 MovieClipUses:61Used by:63
Symbol 63 MovieClipUses:62Used by:65
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClip [enemy_car]Uses:63 55 64 59
Symbol 66 GraphicUsed by:67
Symbol 67 MovieClipUses:66Used by:68
Symbol 68 MovieClipUses:67Used by:77
Symbol 69 GraphicUsed by:72
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClipUses:70Used by:72
Symbol 72 MovieClipUses:69 71Used by:73
Symbol 73 MovieClipUses:72Used by:75
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:73 74Used by:77
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClip [enemy_chopper]Uses:68 75 55 76 59
Symbol 78 GraphicUsed by:81
Symbol 79 GraphicUsed by:80 141
Symbol 80 MovieClipUses:79Used by:81
Symbol 81 MovieClipUses:78 80Used by:105 113 166 180 246 519
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82Used by:105 113 166 180 246
Symbol 84 GraphicUsed by:87
Symbol 85 GraphicUsed by:86
Symbol 86 MovieClipUses:85Used by:87 98
Symbol 87 MovieClipUses:84 86Used by:105 113 166 180 246
Symbol 88 GraphicUsed by:89 147
Symbol 89 MovieClipUses:88Used by:105 113 166 180 246 519
Symbol 90 GraphicUsed by:91
Symbol 91 MovieClipUses:90Used by:92
Symbol 92 MovieClipUses:91Used by:105 113 166 180 246 519
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClipUses:93Used by:105 113 180 246
Symbol 95 GraphicUsed by:96
Symbol 96 MovieClipUses:95Used by:105 113 166 180 246
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClipUses:97 86Used by:105 113 166 180 246
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:99Used by:101
Symbol 101 MovieClipUses:100Used by:105 113 166 180
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClipUses:102Used by:104
Symbol 104 MovieClipUses:103Used by:105 246 272
Symbol 105 MovieClipUses:81 83 87 89 92 94 96 98 101 104Used by:106
Symbol 106 MovieClip [body_dieing]Uses:105
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClipUses:107Used by:109
Symbol 109 MovieClipUses:108Used by:110
Symbol 110 MovieClip [smoke]Uses:109
Symbol 111 GraphicUsed by:112
Symbol 112 MovieClip [helm]Uses:111
Symbol 113 MovieClipUses:81 83 87 89 92 94 96 98 101Used by:114
Symbol 114 MovieClip [enemy1]Uses:55 113
Symbol 115 GraphicUsed by:116
Symbol 116 MovieClipUses:115Used by:117
Symbol 117 MovieClip [hero_shrap]Uses:116
Symbol 118 GraphicUsed by:119
Symbol 119 MovieClipUses:118Used by:120
Symbol 120 MovieClip [hero_bullet]Uses:119
Symbol 121 GraphicUsed by:122
Symbol 122 MovieClipUses:121Used by:123 210  Timeline
Symbol 123 MovieClip [hero_molotov]Uses:122
Symbol 124 GraphicUsed by:125
Symbol 125 MovieClipUses:124Used by:126
Symbol 126 MovieClip [hero_grenade]Uses:125
Symbol 127 GraphicUsed by:128
Symbol 128 MovieClipUses:127Used by:129
Symbol 129 MovieClip [explosion]Uses:128
Symbol 130 GraphicUsed by:131
Symbol 131 MovieClipUses:130Used by:132 133
Symbol 132 MovieClip [debris2]Uses:131
Symbol 133 MovieClip [debris1]Uses:131
Symbol 134 GraphicUsed by:135
Symbol 135 MovieClipUses:134Used by:136
Symbol 136 MovieClip [blood_splat]Uses:135
Symbol 137 GraphicUsed by:138
Symbol 138 MovieClipUses:137Used by:139
Symbol 139 MovieClip [blood_drop]Uses:138
Symbol 140 GraphicUsed by:142
Symbol 141 MovieClipUses:79Used by:142
Symbol 142 MovieClipUses:140 141Used by:164 178 264 272
Symbol 143 GraphicUsed by:144
Symbol 144 MovieClipUses:143Used by:164 178 272
Symbol 145 GraphicUsed by:146
Symbol 146 MovieClipUses:145Used by:164 178 272
Symbol 147 MovieClipUses:88Used by:164 178 264 272
Symbol 148 GraphicUsed by:152
Symbol 149 GraphicUsed by:150
Symbol 150 MovieClipUses:149Used by:152
Symbol 151 GraphicUsed by:152
Symbol 152 MovieClipUses:148 150 151Used by:153
Symbol 153 MovieClipUses:152Used by:164 178 264 272
Symbol 154 GraphicUsed by:155
Symbol 155 MovieClipUses:154Used by:164 178 272
Symbol 156 GraphicUsed by:157
Symbol 157 MovieClipUses:156Used by:164 178 272
Symbol 158 GraphicUsed by:163
Symbol 159 GraphicUsed by:162
Symbol 160 GraphicUsed by:161
Symbol 161 MovieClipUses:160Used by:162
Symbol 162 MovieClipUses:159 161Used by:163
Symbol 163 MovieClipUses:158 162Used by:164 178 269 272
Symbol 164 MovieClipUses:142 144 146 147 153 155 157 163Used by:165
Symbol 165 MovieClip [blood_stump_fem]Uses:164
Symbol 166 MovieClip [anim_dead_body]Uses:81 83 87 89 92 96 98 101Used by:167
Symbol 167 MovieClip [blood_stump]Uses:166
Symbol 168 GraphicUsed by:169
Symbol 169 MovieClipUses:168Used by:170
Symbol 170 MovieClip [crater2]Uses:169
Symbol 171 GraphicUsed by:172
Symbol 172 MovieClipUses:171Used by:173
Symbol 173 MovieClip [crater1]Uses:172
Symbol 174 GraphicUsed by:175
Symbol 175 MovieClipUses:174Used by:179 181 182 563
Symbol 176 GraphicUsed by:177
Symbol 177 MovieClipUses:176Used by:178 265 272
Symbol 178 MovieClipUses:142 144 146 147 153 177 155 157 163Used by:179
Symbol 179 MovieClip [enemy_drop_sniper]Uses:55 175 178
Symbol 180 MovieClipUses:81 83 87 89 92 94 96 98 101Used by:181
Symbol 181 MovieClip [enemy_drop]Uses:55 175 180
Symbol 182 MovieClip [parachute_fade]Uses:175
Symbol 183 GraphicUsed by:184
Symbol 184 MovieClipUses:183Used by:185
Symbol 185 MovieClipUses:184Used by:186
Symbol 186 MovieClip [gas_can]Uses:185
Symbol 187 GraphicUsed by:188
Symbol 188 MovieClipUses:187Used by:189
Symbol 189 MovieClip [enemy_bullet]Uses:188
Symbol 190 GraphicUsed by:191
Symbol 191 MovieClipUses:190Used by:193
Symbol 192 GraphicUsed by:193
Symbol 193 MovieClip [enemy_a10]Uses:55 191 192 59
Symbol 194 GraphicUsed by:195
Symbol 195 MovieClipUses:194Used by:197
Symbol 196 GraphicUsed by:197
Symbol 197 MovieClipUses:195 196Used by:198
Symbol 198 MovieClipUses:197Used by:200
Symbol 199 GraphicUsed by:200
Symbol 200 MovieClip [enemy_bomber]Uses:198 55 199 59
Symbol 201 GraphicUsed by:202
Symbol 202 MovieClipUses:201Used by:203
Symbol 203 MovieClip [arrow_debris]Uses:202
Symbol 204 GraphicUsed by:207
Symbol 205 GraphicUsed by:206
Symbol 206 MovieClipUses:205Used by:207 258  Timeline
Symbol 207 MovieClipUses:204 206Used by:208
Symbol 208 MovieClip [ammo_prox_mine]Uses:207
Symbol 209 GraphicUsed by:210
Symbol 210 MovieClipUses:209 122Used by:211
Symbol 211 MovieClip [ammo_grenade]Uses:210
Symbol 212 GraphicUsed by:213
Symbol 213 MovieClipUses:212Used by:214
Symbol 214 MovieClip [ammo_health]Uses:213
Symbol 215 GraphicUsed by:218
Symbol 216 GraphicUsed by:217
Symbol 217 MovieClipUses:216Used by:218 319 320  Timeline
Symbol 218 MovieClipUses:215 217Used by:219
Symbol 219 MovieClip [ammo_rpg_crate]Uses:218
Symbol 220 GraphicUsed by:221
Symbol 221 MovieClipUses:220 39Used by:222
Symbol 222 MovieClip [ammo_arrow]Uses:221
Symbol 223 GraphicUsed by:226
Symbol 224 GraphicUsed by:225
Symbol 225 MovieClipUses:224Used by:226 597
Symbol 226 MovieClipUses:223 225Used by:227
Symbol 227 MovieClip [ammo_gun]Uses:226
Symbol 228 GraphicUsed by:231
Symbol 229 GraphicUsed by:230
Symbol 230 MovieClipUses:229Used by:231  Timeline
Symbol 231 MovieClipUses:228 230Used by:232
Symbol 232 MovieClip [ammo_shotgun]Uses:231
Symbol 233 GraphicUsed by:234
Symbol 234 MovieClipUses:233 24Used by:235
Symbol 235 MovieClip [ammo_rocket]Uses:234
Symbol 236 GraphicUsed by:237
Symbol 237 MovieClipUses:236Used by:238
Symbol 238 MovieClip [bullet_hole2]Uses:237
Symbol 239 GraphicUsed by:240
Symbol 240 MovieClipUses:239Used by:241
Symbol 241 MovieClipUses:240Used by:242
Symbol 242 MovieClip [bullet_hole]Uses:241
Symbol 243 GraphicUsed by:244
Symbol 244 MovieClipUses:243Used by:245
Symbol 245 MovieClipUses:244Used by:246
Symbol 246 MovieClipUses:81 83 87 89 92 94 96 98 245 104Used by:247
Symbol 247 MovieClip [body_dieing2]Uses:246
Symbol 248 GraphicUsed by:249
Symbol 249 MovieClipUses:248Used by:250
Symbol 250 MovieClip [chopper_dead]Uses:249
Symbol 251 GraphicUsed by:252
Symbol 252 MovieClipUses:251Used by:253
Symbol 253 MovieClipUses:252Used by:254
Symbol 254 MovieClip [a10_dead]Uses:253
Symbol 255 GraphicUsed by:256
Symbol 256 MovieClipUses:255Used by:257
Symbol 257 MovieClip [bomber_dead]Uses:256
Symbol 258 MovieClip [proximity_mine]Uses:206
Symbol 259 GraphicUsed by:260
Symbol 260 MovieClipUses:259Used by:263 265 473 532 546 548 549
Symbol 261 GraphicUsed by:262
Symbol 262 MovieClipUses:261Used by:263 265 473 532 546 547 548 549
Symbol 263 MovieClipUses:260 262Used by:270 271
Symbol 264 MovieClipUses:142 147 153Used by:270 271
Symbol 265 MovieClipUses:177 260 262Used by:268
Symbol 266 GraphicUsed by:267
Symbol 267 MovieClipUses:266Used by:268 536 551
Symbol 268 MovieClipUses:265 267Used by:270 271
Symbol 269 MovieClipUses:163Used by:270 271
Symbol 270 MovieClip [enemy_sniper_office]Uses:263 264 268 269 55
Symbol 271 MovieClip [enemy_sniper]Uses:263 264 268 269 55
Symbol 272 MovieClipUses:142 144 146 147 153 177 155 157 163 104Used by:273
Symbol 273 MovieClip [enemy_sniper_death]Uses:272
Symbol 274 GraphicUsed by:275
Symbol 275 MovieClipUses:274Used by:276
Symbol 276 MovieClip [shrap_bomb]Uses:275
Symbol 277 MovieClipUses:42Used by:278
Symbol 278 MovieClip [napalm_flame]Uses:277 55
Symbol 279 GraphicUsed by:280
Symbol 280 MovieClipUses:279Used by:297
Symbol 281 GraphicUsed by:282
Symbol 282 MovieClipUses:281Used by:297
Symbol 283 GraphicUsed by:284
Symbol 284 MovieClipUses:283Used by:297
Symbol 285 GraphicUsed by:286
Symbol 286 MovieClipUses:285Used by:297
Symbol 287 GraphicUsed by:288
Symbol 288 MovieClipUses:287Used by:297
Symbol 289 GraphicUsed by:290
Symbol 290 MovieClipUses:289Used by:297
Symbol 291 GraphicUsed by:292
Symbol 292 MovieClipUses:291Used by:297
Symbol 293 GraphicUsed by:294
Symbol 294 MovieClipUses:293Used by:297
Symbol 295 GraphicUsed by:296
Symbol 296 MovieClipUses:295Used by:297
Symbol 297 MovieClip [breaking_glass]Uses:280 282 284 286 288 290 292 294 296
Symbol 298 GraphicUsed by:299
Symbol 299 MovieClipUses:298Used by:300 304
Symbol 300 MovieClip [glass_fade_loader]Uses:299
Symbol 301 GraphicUsed by:302
Symbol 302 MovieClipUses:301Used by:303
Symbol 303 MovieClip [glass_shard]Uses:302
Symbol 304 MovieClip [glass_still]Uses:299
Symbol 305 GraphicUsed by:306
Symbol 306 MovieClipUses:305Used by:307
Symbol 307 MovieClip [enemy_car_dead]Uses:306
Symbol 308 GraphicUsed by:316
Symbol 309 GraphicUsed by:316
Symbol 310 GraphicUsed by:313
Symbol 311 GraphicUsed by:312
Symbol 312 MovieClipUses:311Used by:313
Symbol 313 MovieClipUses:310 312Used by:316
Symbol 314 GraphicUsed by:315
Symbol 315 MovieClipUses:314Used by:316
Symbol 316 MovieClipUses:308 309 313 315Used by:317
Symbol 317 MovieClipUses:316Used by:318
Symbol 318 MovieClip [obs_aircond]Uses:317
Symbol 319 MovieClip [tank_shell]Uses:217
Symbol 320 MovieClip [rpg]Uses:217
Symbol 321 MovieClip [cleaner]
Symbol 322 GraphicUsed by:323
Symbol 323 MovieClipUses:322Used by:324
Symbol 324 MovieClip [tank_dead]Uses:323
Symbol 325 FontUsed by:326 327 377 380 381 382 556 558 560 564 565 566 567 568 569 572 584 585 586 587 592 595 608 609 610 628 629 630 631 632 633 640 641 642 643 644 645 646 647
Symbol 326 TextUses:325Used by:328
Symbol 327 EditableTextUses:325Used by:328
Symbol 328 MovieClipUses:326 327Used by:329
Symbol 329 MovieClip [level_display]Uses:328Used by:Timeline
Symbol 330 GraphicUsed by:331
Symbol 331 MovieClipUses:330Used by:332
Symbol 332 MovieClip [enemy_bomb_drop]Uses:331 55Used by:Timeline
Symbol 333 GraphicUsed by:334
Symbol 334 MovieClipUses:333Used by:335
Symbol 335 MovieClip [bullet_water_splash]Uses:334Used by:Timeline
Symbol 336 GraphicUsed by:349
Symbol 337 FontUsed by:338 339 340 341 342 343 344 351 352 386 387 388 389 390 394 395 396 397 398 399 400 570
Symbol 338 EditableTextUses:337Used by:349
Symbol 339 EditableTextUses:337Used by:349
Symbol 340 EditableTextUses:337Used by:349
Symbol 341 EditableTextUses:337Used by:349
Symbol 342 EditableTextUses:337Used by:349
Symbol 343 EditableTextUses:337Used by:349
Symbol 344 TextUses:337Used by:349 401
Symbol 345 GraphicUsed by:348 353 356
Symbol 346 FontUsed by:347 392
Symbol 347 TextUses:346Used by:348 353 356
Symbol 348 ButtonUses:345 347Used by:349
Symbol 349 MovieClip [top_scores]Uses:336 338 339 340 341 342 343 344 348Used by:Timeline
Symbol 350 GraphicUsed by:354
Symbol 351 EditableTextUses:337Used by:354
Symbol 352 TextUses:337Used by:354
Symbol 353 ButtonUses:345 347Used by:354
Symbol 354 MovieClip [namer_screen]Uses:350 351 352 353Used by:Timeline
Symbol 355 GraphicUsed by:384
Symbol 356 ButtonUses:345 347Used by:384
Symbol 357 FontUsed by:358 575
Symbol 358 EditableTextUses:357Used by:384
Symbol 359 GraphicUsed by:360 363 365 367 370 372 374 578 579 580
Symbol 360 ButtonUses:359Used by:384
Symbol 361 FontUsed by:362 364 366 368 369 371 373 375 581 582 583
Symbol 362 TextUses:361Used by:384
Symbol 363 ButtonUses:359Used by:384
Symbol 364 TextUses:361Used by:384
Symbol 365 ButtonUses:359Used by:384
Symbol 366 TextUses:361Used by:384
Symbol 367 ButtonUses:359Used by:384
Symbol 368 TextUses:361Used by:384
Symbol 369 TextUses:361Used by:384
Symbol 370 ButtonUses:359Used by:384
Symbol 371 TextUses:361Used by:384
Symbol 372 ButtonUses:359Used by:384
Symbol 373 TextUses:361Used by:384
Symbol 374 ButtonUses:359Used by:384
Symbol 375 TextUses:361Used by:384
Symbol 376 GraphicUsed by:378 615 639  Timeline
Symbol 377 TextUses:325Used by:378
Symbol 378 MovieClipUses:376 377Used by:384
Symbol 379 GraphicUsed by:383
Symbol 380 TextUses:325Used by:383
Symbol 381 EditableTextUses:325Used by:383
Symbol 382 TextUses:325Used by:383
Symbol 383 MovieClipUses:379 380 381 382Used by:384
Symbol 384 MovieClip [help_screen]Uses:355 356 358 360 362 363 364 365 366 367 368 369 370 371 372 373 374 375 378 383Used by:Timeline
Symbol 385 GraphicUsed by:401
Symbol 386 EditableTextUses:337Used by:401
Symbol 387 EditableTextUses:337Used by:401
Symbol 388 TextUses:337Used by:401
Symbol 389 TextUses:337Used by:401
Symbol 390 TextUses:337Used by:401
Symbol 391 GraphicUsed by:393
Symbol 392 TextUses:346Used by:393
Symbol 393 ButtonUses:391 392Used by:401
Symbol 394 EditableTextUses:337Used by:401
Symbol 395 EditableTextUses:337Used by:401
Symbol 396 EditableTextUses:337Used by:401
Symbol 397 EditableTextUses:337Used by:401
Symbol 398 EditableTextUses:337Used by:401
Symbol 399 EditableTextUses:337Used by:401
Symbol 400 EditableTextUses:337Used by:401
Symbol 401 MovieClipUses:385 386 387 388 389 390 393 394 395 396 397 398 399 400 344Used by:402
Symbol 402 MovieClip [game_over_screen]Uses:401Used by:Timeline
Symbol 403 GraphicUsed by:Timeline
Symbol 404 GraphicUsed by:405
Symbol 405 MovieClipUses:404Used by:Timeline
Symbol 406 GraphicUsed by:407
Symbol 407 MovieClipUses:406Used by:Timeline
Symbol 408 GraphicUsed by:409
Symbol 409 MovieClipUses:408Used by:Timeline
Symbol 410 BitmapUsed by:411
Symbol 411 GraphicUses:410Used by:418
Symbol 412 GraphicUsed by:413
Symbol 413 MovieClipUses:412Used by:418
Symbol 414 GraphicUsed by:415
Symbol 415 MovieClipUses:414Used by:418
Symbol 416 GraphicUsed by:417
Symbol 417 MovieClipUses:416Used by:418
Symbol 418 MovieClipUses:411 413 415 417Used by:428
Symbol 419 GraphicUsed by:420
Symbol 420 MovieClipUses:419Used by:428
Symbol 421 GraphicUsed by:428
Symbol 422 GraphicUsed by:428
Symbol 423 GraphicUsed by:428
Symbol 424 GraphicUsed by:428
Symbol 425 GraphicUsed by:428
Symbol 426 GraphicUsed by:427
Symbol 427 MovieClipUses:426Used by:428
Symbol 428 MovieClipUses:418 420 421 422 423 424 425 427Used by:Timeline
Symbol 429 GraphicUsed by:440 450
Symbol 430 GraphicUsed by:431
Symbol 431 MovieClipUses:430Used by:440 450
Symbol 432 GraphicUsed by:433
Symbol 433 MovieClipUses:432Used by:440 450
Symbol 434 GraphicUsed by:435
Symbol 435 MovieClipUses:434Used by:440 450
Symbol 436 GraphicUsed by:437
Symbol 437 MovieClipUses:436Used by:440 450
Symbol 438 GraphicUsed by:439
Symbol 439 MovieClipUses:438Used by:440 450
Symbol 440 MovieClipUses:429 431 433 435 437 439 55Used by:Timeline
Symbol 441 GraphicUsed by:443
Symbol 442 GraphicUsed by:443
Symbol 443 MovieClipUses:441 442Used by:444
Symbol 444 MovieClipUses:443Used by:Timeline
Symbol 445 GraphicUsed by:449
Symbol 446 GraphicUsed by:447
Symbol 447 MovieClipUses:446Used by:449
Symbol 448 GraphicUsed by:449
Symbol 449 MovieClipUses:445 447 448Used by:Timeline
Symbol 450 MovieClipUses:429 431 433 435 437 439 55Used by:Timeline
Symbol 451 MovieClipUses:59Used by:Timeline
Symbol 452 MovieClipUses:45Used by:467  Timeline
Symbol 453 GraphicUsed by:454
Symbol 454 MovieClipUses:453Used by:Timeline
Symbol 455 GraphicUsed by:456
Symbol 456 MovieClipUses:455Used by:457
Symbol 457 MovieClipUses:456Used by:Timeline
Symbol 458 GraphicUsed by:459
Symbol 459 MovieClipUses:458Used by:Timeline
Symbol 460 GraphicUsed by:461
Symbol 461 MovieClipUses:460Used by:Timeline
Symbol 462 GraphicUsed by:467
Symbol 463 GraphicUsed by:464
Symbol 464 MovieClipUses:463Used by:467
Symbol 465 GraphicUsed by:466
Symbol 466 MovieClipUses:465Used by:467
Symbol 467 MovieClipUses:462 452 464 466Used by:468
Symbol 468 MovieClipUses:45 467Used by:Timeline
Symbol 469 GraphicUsed by:Timeline
Symbol 470 GraphicUsed by:471
Symbol 471 MovieClipUses:470Used by:472
Symbol 472 MovieClipUses:54 471 59Used by:Timeline
Symbol 473 MovieClipUses:260 262Used by:552
Symbol 474 GraphicUsed by:475
Symbol 475 MovieClipUses:474Used by:518
Symbol 476 GraphicUsed by:477
Symbol 477 MovieClipUses:476Used by:518
Symbol 478 GraphicUsed by:479
Symbol 479 MovieClipUses:478Used by:518
Symbol 480 GraphicUsed by:518
Symbol 481 GraphicUsed by:518
Symbol 482 GraphicUsed by:518
Symbol 483 GraphicUsed by:484
Symbol 484 MovieClipUses:483Used by:518
Symbol 485 GraphicUsed by:518
Symbol 486 GraphicUsed by:487
Symbol 487 MovieClipUses:486Used by:518
Symbol 488 GraphicUsed by:518
Symbol 489 GraphicUsed by:490
Symbol 490 MovieClipUses:489Used by:518
Symbol 491 GraphicUsed by:518
Symbol 492 GraphicUsed by:493
Symbol 493 MovieClipUses:492Used by:518
Symbol 494 GraphicUsed by:518
Symbol 495 GraphicUsed by:496
Symbol 496 MovieClipUses:495Used by:518
Symbol 497 GraphicUsed by:518
Symbol 498 GraphicUsed by:499
Symbol 499 MovieClipUses:498Used by:518
Symbol 500 GraphicUsed by:518
Symbol 501 GraphicUsed by:502
Symbol 502 MovieClipUses:501Used by:518
Symbol 503 GraphicUsed by:518
Symbol 504 GraphicUsed by:505
Symbol 505 MovieClipUses:504Used by:518
Symbol 506 GraphicUsed by:518
Symbol 507 GraphicUsed by:518
Symbol 508 GraphicUsed by:518
Symbol 509 GraphicUsed by:510
Symbol 510 MovieClipUses:509Used by:518
Symbol 511 GraphicUsed by:512
Symbol 512 MovieClipUses:511Used by:518
Symbol 513 GraphicUsed by:518
Symbol 514 GraphicUsed by:515
Symbol 515 MovieClipUses:514Used by:518
Symbol 516 GraphicUsed by:517
Symbol 517 MovieClipUses:516Used by:518
Symbol 518 MovieClipUses:475 477 479 480 481 482 484 485 487 488 490 491 493 494 496 497 499 500 502 503 505 506 507 508 510 512 513 515 517Used by:519  Timeline
Symbol 519 MovieClipUses:81 89 92 518Used by:552
Symbol 520 GraphicUsed by:525
Symbol 521 GraphicUsed by:522
Symbol 522 MovieClipUses:521Used by:525
Symbol 523 GraphicUsed by:524
Symbol 524 MovieClipUses:523Used by:525
Symbol 525 MovieClipUses:520 522 524Used by:532 548
Symbol 526 GraphicUsed by:527
Symbol 527 MovieClipUses:526Used by:532 548
Symbol 528 GraphicUsed by:529
Symbol 529 MovieClipUses:528Used by:532 548
Symbol 530 GraphicUsed by:531
Symbol 531 MovieClipUses:530Used by:532 548
Symbol 532 MovieClipUses:260 525 527 529 531 262Used by:547
Symbol 533 GraphicUsed by:534
Symbol 534 MovieClipUses:533Used by:536
Symbol 535 GraphicUsed by:536
Symbol 536 MovieClipUses:534 267 535Used by:547 548
Symbol 537 GraphicUsed by:538
Symbol 538 MovieClipUses:537Used by:545
Symbol 539 GraphicUsed by:544
Symbol 540 GraphicUsed by:541
Symbol 541 MovieClipUses:540Used by:544
Symbol 542 GraphicUsed by:543
Symbol 543 MovieClipUses:542Used by:544
Symbol 544 MovieClipUses:539 541 543 39Used by:545
Symbol 545 MovieClipUses:538 544Used by:546 549
Symbol 546 MovieClipUses:260 262 545Used by:547
Symbol 547 MovieClipUses:532 536 262 546Used by:551
Symbol 548 MovieClipUses:529 525 531 527 260 262 536Used by:550
Symbol 549 MovieClipUses:545 260 262Used by:550
Symbol 550 MovieClipUses:548 549Used by:551
Symbol 551 MovieClipUses:267 547 550Used by:552
Symbol 552 MovieClipUses:473 519 551Used by:555
Symbol 553 MovieClipUses:54Used by:555
Symbol 554 MovieClipUses:55Used by:555
Symbol 555 MovieClipUses:552 553 554Used by:Timeline
Symbol 556 EditableTextUses:325Used by:Timeline
Symbol 557 GraphicUsed by:559
Symbol 558 TextUses:325Used by:559
Symbol 559 ButtonUses:557 558Used by:Timeline
Symbol 560 EditableTextUses:325Used by:Timeline
Symbol 561 GraphicUsed by:562
Symbol 562 MovieClipUses:561Used by:563
Symbol 563 MovieClipUses:562 175Used by:Timeline
Symbol 564 EditableTextUses:325Used by:Timeline
Symbol 565 EditableTextUses:325Used by:Timeline
Symbol 566 EditableTextUses:325Used by:Timeline
Symbol 567 EditableTextUses:325Used by:Timeline
Symbol 568 TextUses:325Used by:Timeline
Symbol 569 EditableTextUses:325Used by:Timeline
Symbol 570 TextUses:337Used by:571
Symbol 571 MovieClipUses:570Used by:Timeline
Symbol 572 TextUses:325Used by:Timeline
Symbol 573 GraphicUsed by:574 577 626 627
Symbol 574 MovieClipUses:573Used by:576
Symbol 575 EditableTextUses:357Used by:576 577
Symbol 576 MovieClipUses:574 575Used by:577
Symbol 577 ButtonUses:576 573 575Used by:Timeline
Symbol 578 ButtonUses:359Used by:Timeline
Symbol 579 ButtonUses:359Used by:Timeline
Symbol 580 ButtonUses:359Used by:Timeline
Symbol 581 TextUses:361Used by:Timeline
Symbol 582 TextUses:361Used by:Timeline
Symbol 583 TextUses:361Used by:Timeline
Symbol 584 EditableTextUses:325Used by:Timeline
Symbol 585 TextUses:325Used by:Timeline
Symbol 586 EditableTextUses:325Used by:Timeline
Symbol 587 EditableTextUses:325Used by:Timeline
Symbol 588 GraphicUsed by:593
Symbol 589 BitmapUsed by:590
Symbol 590 GraphicUses:589Used by:591
Symbol 591 MovieClipUses:590Used by:593
Symbol 592 EditableTextUses:325Used by:593
Symbol 593 MovieClipUses:588 591 592Used by:Timeline
Symbol 594 GraphicUsed by:596
Symbol 595 TextUses:325Used by:596
Symbol 596 MovieClipUses:594 595Used by:Timeline
Symbol 597 MovieClipUses:225Used by:Timeline
Symbol 598 GraphicUsed by:599
Symbol 599 MovieClipUses:598Used by:600
Symbol 600 MovieClipUses:599Used by:605
Symbol 601 GraphicUsed by:602
Symbol 602 MovieClipUses:601Used by:605
Symbol 603 GraphicUsed by:604
Symbol 604 MovieClipUses:603Used by:605
Symbol 605 MovieClipUses:600 602 604Used by:Timeline
Symbol 606 GraphicUsed by:607
Symbol 607 MovieClipUses:606Used by:Timeline
Symbol 608 EditableTextUses:325Used by:Timeline
Symbol 609 TextUses:325Used by:Timeline
Symbol 610 EditableTextUses:325Used by:Timeline
Symbol 611 FontUsed by:612
Symbol 612 TextUses:611Used by:614
Symbol 613 GraphicUsed by:614
Symbol 614 MovieClipUses:612 613Used by:639
Symbol 615 ButtonUses:376Used by:625
Symbol 616 GraphicUsed by:617
Symbol 617 MovieClipUses:616Used by:625
Symbol 618 GraphicUsed by:619
Symbol 619 MovieClipUses:618Used by:625
Symbol 620 GraphicUsed by:621 623
Symbol 621 MovieClipUses:620Used by:622
Symbol 622 MovieClipUses:621Used by:623
Symbol 623 ButtonUses:622 620Used by:624
Symbol 624 MovieClipUses:623Used by:625
Symbol 625 MovieClipUses:615 617 619 624Used by:639
Symbol 626 ButtonUses:573Used by:639
Symbol 627 ButtonUses:573Used by:639
Symbol 628 TextUses:325Used by:639
Symbol 629 TextUses:325Used by:639
Symbol 630 TextUses:325Used by:639
Symbol 631 TextUses:325Used by:639
Symbol 632 TextUses:325Used by:639
Symbol 633 TextUses:325Used by:639
Symbol 634 MovieClipUses:45Used by:635
Symbol 635 MovieClipUses:634Used by:639
Symbol 636 BitmapUsed by:637
Symbol 637 GraphicUses:636Used by:638
Symbol 638 ButtonUses:637Used by:639
Symbol 639 MovieClipUses:376 614 625 626 627 628 629 630 631 632 633 635 638Used by:Timeline
Symbol 640 TextUses:325Used by:Timeline
Symbol 641 EditableTextUses:325Used by:Timeline
Symbol 642 EditableTextUses:325Used by:Timeline
Symbol 643 EditableTextUses:325Used by:Timeline
Symbol 644 EditableTextUses:325Used by:Timeline
Symbol 645 TextUses:325Used by:Timeline
Symbol 646 TextUses:325Used by:Timeline
Symbol 647 TextUses:325Used by:Timeline

Instance Names

"tower_left"Frame 2Symbol 440 MovieClip
"enemybg_layer"Frame 2Symbol 59 MovieClip
"tower_right"Frame 2Symbol 450 MovieClip
"w1"Frame 2Symbol 451 MovieClip
"w2"Frame 2Symbol 451 MovieClip
"w3"Frame 2Symbol 451 MovieClip
"w4"Frame 2Symbol 451 MovieClip
"w5"Frame 2Symbol 451 MovieClip
"w6"Frame 2Symbol 451 MovieClip
"w7"Frame 2Symbol 451 MovieClip
"w8"Frame 2Symbol 451 MovieClip
"obstruct_layer"Frame 2Symbol 59 MovieClip
"ground"Frame 2Symbol 472 MovieClip
"hero"Frame 2Symbol 555 MovieClip
"obsfg_layer"Frame 2Symbol 59 MovieClip
"ac_5"Frame 2Symbol 59 MovieClip
"ac_6"Frame 2Symbol 59 MovieClip
"projectile_layer"Frame 2Symbol 59 MovieClip
"stepper"Frame 2Symbol 596 MovieClip
"enemy_bullet_layer"Frame 2Symbol 59 MovieClip
"bomb_layer"Frame 2Symbol 59 MovieClip
"enemy_layer"Frame 2Symbol 59 MovieClip
"smoke_layer"Frame 2Symbol 59 MovieClip
"rocket_layer"Frame 2Symbol 59 MovieClip
"mine_layer"Frame 2Symbol 59 MovieClip
"powerup_layer"Frame 2Symbol 59 MovieClip
"flame_layer"Frame 2Symbol 59 MovieClip
"enemyfg_layer"Frame 2Symbol 59 MovieClip
"debris_layer"Frame 2Symbol 59 MovieClip
"cross_hair"Frame 2Symbol 605 MovieClip
"upgrade_layer"Frame 2Symbol 59 MovieClip
"ac_1"Frame 2Symbol 59 MovieClip
"ac_2"Frame 2Symbol 59 MovieClip
"ac_3"Frame 2Symbol 59 MovieClip
"ac_4"Frame 2Symbol 59 MovieClip
"rocket"Symbol 25 MovieClip [bonus_ammo_boost] Frame 1Symbol 24 MovieClip
"rocket"Symbol 25 MovieClip [bonus_ammo_boost] Frame 1Symbol 24 MovieClip
"rocket"Symbol 25 MovieClip [bonus_ammo_boost] Frame 1Symbol 24 MovieClip
"rocket"Symbol 25 MovieClip [bonus_ammo_boost] Frame 1Symbol 24 MovieClip
"rocket"Symbol 25 MovieClip [bonus_ammo_boost] Frame 1Symbol 24 MovieClip
"rocket"Symbol 36 MovieClip [enemy_rocket] Frame 1Symbol 24 MovieClip
"rocket"Symbol 37 MovieClip [missile] Frame 1Symbol 24 MovieClip
"car_anim"Symbol 60 MovieClip [enemy_tank] Frame 1Symbol 53 MovieClip
"hitbox"Symbol 60 MovieClip [enemy_tank] Frame 1Symbol 55 MovieClip
"weakspot"Symbol 60 MovieClip [enemy_tank] Frame 1Symbol 55 MovieClip
"bullet_hole_layer"Symbol 60 MovieClip [enemy_tank] Frame 1Symbol 59 MovieClip
"car_anim"Symbol 65 MovieClip [enemy_car] Frame 1Symbol 63 MovieClip
"hitbox"Symbol 65 MovieClip [enemy_car] Frame 1Symbol 55 MovieClip
"weakspot"Symbol 65 MovieClip [enemy_car] Frame 1Symbol 55 MovieClip
"bullet_hole_layer"Symbol 65 MovieClip [enemy_car] Frame 1Symbol 59 MovieClip
"chopper_anim"Symbol 77 MovieClip [enemy_chopper] Frame 1Symbol 75 MovieClip
"hitbox"Symbol 77 MovieClip [enemy_chopper] Frame 1Symbol 55 MovieClip
"weakspot"Symbol 77 MovieClip [enemy_chopper] Frame 1Symbol 55 MovieClip
"bullet_hole_layer"Symbol 77 MovieClip [enemy_chopper] Frame 1Symbol 59 MovieClip
"hitbox"Symbol 114 MovieClip [enemy1] Frame 1Symbol 55 MovieClip
"body"Symbol 114 MovieClip [enemy1] Frame 1Symbol 113 MovieClip
"weakspot"Symbol 114 MovieClip [enemy1] Frame 1Symbol 55 MovieClip
"body"Symbol 167 MovieClip [blood_stump] Frame 1Symbol 166 MovieClip [anim_dead_body]
"hitbox"Symbol 179 MovieClip [enemy_drop_sniper] Frame 1Symbol 55 MovieClip
"weakspot"Symbol 179 MovieClip [enemy_drop_sniper] Frame 1Symbol 55 MovieClip
"hitbox"Symbol 181 MovieClip [enemy_drop] Frame 1Symbol 55 MovieClip
"weakspot"Symbol 181 MovieClip [enemy_drop] Frame 1Symbol 55 MovieClip
"can_animation"Symbol 186 MovieClip [gas_can] Frame 1Symbol 185 MovieClip
"hitbox"Symbol 193 MovieClip [enemy_a10] Frame 1Symbol 55 MovieClip
"weakspot"Symbol 193 MovieClip [enemy_a10] Frame 1Symbol 55 MovieClip
"bullet_hole_layer"Symbol 193 MovieClip [enemy_a10] Frame 1Symbol 59 MovieClip
"bomber_anim"Symbol 200 MovieClip [enemy_bomber] Frame 1Symbol 198 MovieClip
"hitbox"Symbol 200 MovieClip [enemy_bomber] Frame 1Symbol 55 MovieClip
"weakspot"Symbol 200 MovieClip [enemy_bomber] Frame 1Symbol 55 MovieClip
"bullet_hole_layer"Symbol 200 MovieClip [enemy_bomber] Frame 1Symbol 59 MovieClip
"sniper_flame"Symbol 268 MovieClip Frame 1Symbol 267 MovieClip
"left_arm"Symbol 270 MovieClip [enemy_sniper_office] Frame 1Symbol 263 MovieClip
"sniper_gun"Symbol 270 MovieClip [enemy_sniper_office] Frame 1Symbol 268 MovieClip
"head"Symbol 270 MovieClip [enemy_sniper_office] Frame 1Symbol 269 MovieClip
"hitbox"Symbol 270 MovieClip [enemy_sniper_office] Frame 1Symbol 55 MovieClip
"weakspot"Symbol 270 MovieClip [enemy_sniper_office] Frame 1Symbol 55 MovieClip
"left_arm"Symbol 271 MovieClip [enemy_sniper] Frame 1Symbol 263 MovieClip
"sniper_gun"Symbol 271 MovieClip [enemy_sniper] Frame 1Symbol 268 MovieClip
"head"Symbol 271 MovieClip [enemy_sniper] Frame 1Symbol 269 MovieClip
"hitbox"Symbol 271 MovieClip [enemy_sniper] Frame 1Symbol 55 MovieClip
"weakspot"Symbol 271 MovieClip [enemy_sniper] Frame 1Symbol 55 MovieClip
"hitbox"Symbol 278 MovieClip [napalm_flame] Frame 1Symbol 55 MovieClip
"p1"Symbol 297 MovieClip [breaking_glass] Frame 1Symbol 280 MovieClip
"p2"Symbol 297 MovieClip [breaking_glass] Frame 1Symbol 282 MovieClip
"p3"Symbol 297 MovieClip [breaking_glass] Frame 1Symbol 284 MovieClip
"p4"Symbol 297 MovieClip [breaking_glass] Frame 1Symbol 286 MovieClip
"p5"Symbol 297 MovieClip [breaking_glass] Frame 1Symbol 288 MovieClip
"p6"Symbol 297 MovieClip [breaking_glass] Frame 1Symbol 290 MovieClip
"p7"Symbol 297 MovieClip [breaking_glass] Frame 1Symbol 292 MovieClip
"p8"Symbol 297 MovieClip [breaking_glass] Frame 1Symbol 294 MovieClip
"p9"Symbol 297 MovieClip [breaking_glass] Frame 1Symbol 296 MovieClip
"can_animation"Symbol 318 MovieClip [obs_aircond] Frame 1Symbol 317 MovieClip
"hitbox"Symbol 332 MovieClip [enemy_bomb_drop] Frame 1Symbol 55 MovieClip
"sponsor_link"Symbol 384 MovieClip [help_screen] Frame 1Symbol 378 MovieClip
"ladder"Symbol 440 MovieClip Frame 1Symbol 55 MovieClip
"ladder"Symbol 450 MovieClip Frame 1Symbol 55 MovieClip
"window1"Symbol 451 MovieClip Frame 1Symbol 59 MovieClip
"ground_body"Symbol 472 MovieClip Frame 1Symbol 471 MovieClip
"crater_layer"Symbol 472 MovieClip Frame 1Symbol 59 MovieClip
"blood_layer"Symbol 472 MovieClip Frame 1Symbol 59 MovieClip
"bow_string_ind"Symbol 544 MovieClip Frame 1Symbol 541 MovieClip
"bow_bod"Symbol 545 MovieClip Frame 1Symbol 544 MovieClip
"launcher2"Symbol 547 MovieClip Frame 1Symbol 536 MovieClip
"launcher"Symbol 548 MovieClip Frame 1Symbol 536 MovieClip
"f2"Symbol 551 MovieClip Frame 1Symbol 267 MovieClip
"f3"Symbol 551 MovieClip Frame 1Symbol 267 MovieClip
"f1"Symbol 551 MovieClip Frame 1Symbol 267 MovieClip
"rifle_invert"Symbol 551 MovieClip Frame 1Symbol 547 MovieClip
"rifle"Symbol 551 MovieClip Frame 1Symbol 550 MovieClip
"body"Symbol 555 MovieClip Frame 1Symbol 552 MovieClip
"sight"Symbol 555 MovieClip Frame 1Symbol 553 MovieClip
"hitbox"Symbol 555 MovieClip Frame 1Symbol 554 MovieClip
"ch_gun"Symbol 605 MovieClip Frame 1Symbol 600 MovieClip
"ch_shotgun"Symbol 605 MovieClip Frame 1Symbol 602 MovieClip
"ch_rocket"Symbol 605 MovieClip Frame 1Symbol 604 MovieClip
"string"Symbol 625 MovieClip Frame 1Symbol 624 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 1 as "uh.wav"
ExportAssets (56)Timeline Frame 1Symbol 2 as "tat3.wav"
ExportAssets (56)Timeline Frame 1Symbol 3 as "tat2.wav"
ExportAssets (56)Timeline Frame 1Symbol 4 as "tat1.wav"
ExportAssets (56)Timeline Frame 1Symbol 5 as "swoosh.wav"
ExportAssets (56)Timeline Frame 1Symbol 6 as "splash2.wav"
ExportAssets (56)Timeline Frame 1Symbol 7 as "sniper_rifle.wav"
ExportAssets (56)Timeline Frame 1Symbol 8 as "shoot_rocket4.wav"
ExportAssets (56)Timeline Frame 1Symbol 9 as "shoot_rocket2.wav"
ExportAssets (56)Timeline Frame 1Symbol 10 as "shoot_rocket.wav"
ExportAssets (56)Timeline Frame 1Symbol 11 as "oreh.wav"
ExportAssets (56)Timeline Frame 1Symbol 12 as "oof.wav"
ExportAssets (56)Timeline Frame 1Symbol 13 as "ice_shatter.wav"
ExportAssets (56)Timeline Frame 1Symbol 14 as "hit.wav"
ExportAssets (56)Timeline Frame 1Symbol 15 as "firecat3.wav"
ExportAssets (56)Timeline Frame 1Symbol 16 as "ching1.wav"
ExportAssets (56)Timeline Frame 1Symbol 17 as "bomb_hit.wav"
ExportAssets (56)Timeline Frame 1Symbol 18 as "bomb.wav"
ExportAssets (56)Timeline Frame 1Symbol 19 as "blood_splat.wav"
ExportAssets (56)Timeline Frame 1Symbol 25 as "bonus_ammo_boost"
ExportAssets (56)Timeline Frame 1Symbol 28 as "enemy_bomb_drop_napalm"
ExportAssets (56)Timeline Frame 1Symbol 32 as "segment_tank_shell"
ExportAssets (56)Timeline Frame 1Symbol 33 as "segment_arrow"
ExportAssets (56)Timeline Frame 1Symbol 35 as "segment"
ExportAssets (56)Timeline Frame 1Symbol 36 as "enemy_rocket"
ExportAssets (56)Timeline Frame 1Symbol 37 as "missile"
ExportAssets (56)Timeline Frame 1Symbol 40 as "hero_arrow_bomb"
ExportAssets (56)Timeline Frame 1Symbol 43 as "debris_flame"
ExportAssets (56)Timeline Frame 1Symbol 44 as "hero_arrow"
ExportAssets (56)Timeline Frame 1Symbol 60 as "enemy_tank"
ExportAssets (56)Timeline Frame 1Symbol 65 as "enemy_car"
ExportAssets (56)Timeline Frame 1Symbol 77 as "enemy_chopper"
ExportAssets (56)Timeline Frame 1Symbol 106 as "body_dieing"
ExportAssets (56)Timeline Frame 1Symbol 110 as "smoke"
ExportAssets (56)Timeline Frame 1Symbol 112 as "helm"
ExportAssets (56)Timeline Frame 1Symbol 114 as "enemy1"
ExportAssets (56)Timeline Frame 1Symbol 117 as "hero_shrap"
ExportAssets (56)Timeline Frame 1Symbol 120 as "hero_bullet"
ExportAssets (56)Timeline Frame 1Symbol 123 as "hero_molotov"
ExportAssets (56)Timeline Frame 1Symbol 126 as "hero_grenade"
ExportAssets (56)Timeline Frame 1Symbol 129 as "explosion"
ExportAssets (56)Timeline Frame 1Symbol 132 as "debris2"
ExportAssets (56)Timeline Frame 1Symbol 133 as "debris1"
ExportAssets (56)Timeline Frame 1Symbol 136 as "blood_splat"
ExportAssets (56)Timeline Frame 1Symbol 139 as "blood_drop"
ExportAssets (56)Timeline Frame 1Symbol 165 as "blood_stump_fem"
ExportAssets (56)Timeline Frame 1Symbol 166 as "anim_dead_body"
ExportAssets (56)Timeline Frame 1Symbol 166 as "anim_dead_body"
ExportAssets (56)Timeline Frame 1Symbol 167 as "blood_stump"
ExportAssets (56)Timeline Frame 1Symbol 170 as "crater2"
ExportAssets (56)Timeline Frame 1Symbol 173 as "crater1"
ExportAssets (56)Timeline Frame 1Symbol 179 as "enemy_drop_sniper"
ExportAssets (56)Timeline Frame 1Symbol 181 as "enemy_drop"
ExportAssets (56)Timeline Frame 1Symbol 182 as "parachute_fade"
ExportAssets (56)Timeline Frame 1Symbol 186 as "gas_can"
ExportAssets (56)Timeline Frame 1Symbol 189 as "enemy_bullet"
ExportAssets (56)Timeline Frame 1Symbol 193 as "enemy_a10"
ExportAssets (56)Timeline Frame 1Symbol 200 as "enemy_bomber"
ExportAssets (56)Timeline Frame 1Symbol 203 as "arrow_debris"
ExportAssets (56)Timeline Frame 1Symbol 208 as "ammo_prox_mine"
ExportAssets (56)Timeline Frame 1Symbol 211 as "ammo_grenade"
ExportAssets (56)Timeline Frame 1Symbol 214 as "ammo_health"
ExportAssets (56)Timeline Frame 1Symbol 219 as "ammo_rpg_crate"
ExportAssets (56)Timeline Frame 1Symbol 222 as "ammo_arrow"
ExportAssets (56)Timeline Frame 1Symbol 227 as "ammo_gun"
ExportAssets (56)Timeline Frame 1Symbol 232 as "ammo_shotgun"
ExportAssets (56)Timeline Frame 1Symbol 235 as "ammo_rocket"
ExportAssets (56)Timeline Frame 1Symbol 238 as "bullet_hole2"
ExportAssets (56)Timeline Frame 1Symbol 242 as "bullet_hole"
ExportAssets (56)Timeline Frame 1Symbol 247 as "body_dieing2"
ExportAssets (56)Timeline Frame 1Symbol 250 as "chopper_dead"
ExportAssets (56)Timeline Frame 1Symbol 254 as "a10_dead"
ExportAssets (56)Timeline Frame 1Symbol 257 as "bomber_dead"
ExportAssets (56)Timeline Frame 1Symbol 258 as "proximity_mine"
ExportAssets (56)Timeline Frame 1Symbol 270 as "enemy_sniper_office"
ExportAssets (56)Timeline Frame 1Symbol 271 as "enemy_sniper"
ExportAssets (56)Timeline Frame 1Symbol 273 as "enemy_sniper_death"
ExportAssets (56)Timeline Frame 1Symbol 276 as "shrap_bomb"
ExportAssets (56)Timeline Frame 1Symbol 278 as "napalm_flame"
ExportAssets (56)Timeline Frame 1Symbol 297 as "breaking_glass"
ExportAssets (56)Timeline Frame 1Symbol 300 as "glass_fade_loader"
ExportAssets (56)Timeline Frame 1Symbol 303 as "glass_shard"
ExportAssets (56)Timeline Frame 1Symbol 304 as "glass_still"
ExportAssets (56)Timeline Frame 1Symbol 307 as "enemy_car_dead"
ExportAssets (56)Timeline Frame 1Symbol 318 as "obs_aircond"
ExportAssets (56)Timeline Frame 1Symbol 319 as "tank_shell"
ExportAssets (56)Timeline Frame 1Symbol 320 as "rpg"
ExportAssets (56)Timeline Frame 1Symbol 321 as "cleaner"
ExportAssets (56)Timeline Frame 1Symbol 324 as "tank_dead"
ExportAssets (56)Timeline Frame 1Symbol 329 as "level_display"
ExportAssets (56)Timeline Frame 1Symbol 332 as "enemy_bomb_drop"
ExportAssets (56)Timeline Frame 1Symbol 335 as "bullet_water_splash"
ExportAssets (56)Timeline Frame 1Symbol 349 as "top_scores"
ExportAssets (56)Timeline Frame 1Symbol 354 as "namer_screen"
ExportAssets (56)Timeline Frame 1Symbol 384 as "help_screen"
ExportAssets (56)Timeline Frame 1Symbol 402 as "game_over_screen"
ExportAssets (56)Timeline Frame 2Symbol 402 as "game_over_screen"
ExportAssets (56)Timeline Frame 2Symbol 384 as "help_screen"
ExportAssets (56)Timeline Frame 2Symbol 354 as "namer_screen"
ExportAssets (56)Timeline Frame 2Symbol 349 as "top_scores"
ExportAssets (56)Timeline Frame 2Symbol 335 as "bullet_water_splash"
ExportAssets (56)Timeline Frame 2Symbol 332 as "enemy_bomb_drop"
ExportAssets (56)Timeline Frame 2Symbol 329 as "level_display"

Labels

"game"Frame 2
"shooting"Symbol 113 MovieClip Frame 135
"stopping_frame"Symbol 166 MovieClip [anim_dead_body] Frame 70
"lieing"Symbol 166 MovieClip [anim_dead_body] Frame 75
"run_right"Symbol 552 MovieClip Frame 1
"run_left"Symbol 552 MovieClip Frame 2
"fly_left"Symbol 552 MovieClip Frame 3
"fly_right"Symbol 552 MovieClip Frame 4
"crouch_right"Symbol 552 MovieClip Frame 5
"crouch_left"Symbol 552 MovieClip Frame 6

Dynamic Text Variables

_root.levelSymbol 327 EditableText"100"
_root.place_name_1Symbol 338 EditableText"1"
_root.place_score_1Symbol 339 EditableText"1"
_root.place_name_2Symbol 340 EditableText"1"
_root.place_score_2Symbol 341 EditableText"1"
_root.place_name_3Symbol 342 EditableText"1"
_root.place_score_3Symbol 343 EditableText"1"
_root.player_nameSymbol 351 EditableText"1"
_root.help_textSymbol 358 EditableText""
_root.gameTypeSymbol 381 EditableText"progressive"
_root.scoreSymbol 386 EditableText"1"
_root.levelSymbol 387 EditableText"1"
_root.end_textSymbol 394 EditableText"Testing asdf"
_root.place_name_1Symbol 395 EditableText"1"
_root.place_score_1Symbol 396 EditableText"1"
_root.place_name_2Symbol 397 EditableText"1"
_root.place_score_2Symbol 398 EditableText"1"
_root.place_name_3Symbol 399 EditableText"1"
_root.place_score_3Symbol 400 EditableText"1"
_root.hero.jump_countSymbol 556 EditableText""
_root.hero.hpSymbol 560 EditableText"100"
_root.ammo_bulletsSymbol 564 EditableText"2000"
_root.ammo_rpgSymbol 565 EditableText"100"
_root.ammo_grenadesSymbol 566 EditableText"100"
_root.ammo_rocketsSymbol 567 EditableText"100"
_root.ammo_prox_minesSymbol 569 EditableText"100"
pause_textSymbol 575 EditableText"pause"
_root.levelSymbol 584 EditableText"100"
_root.heroSectionCodeSymbol 586 EditableText"2000"
_root.ammo_shellsSymbol 587 EditableText"100"
_root.g_soundTextSymbol 592 EditableText"off"
_root.scoreSymbol 608 EditableText"2000"
_root.player_nameSymbol 610 EditableText"2000"
_root.fpsSymbol 641 EditableText""
_root.avg_fpsSymbol 642 EditableText""
_root.max_fpsSymbol 643 EditableText""
_root.min_fpsSymbol 644 EditableText""




http://swfchan.com/2/6816/info.shtml
Created: 13/6 -2019 12:47:30 Last modified: 13/6 -2019 12:47:30 Server time: 05/11 -2024 06:41:42