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

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

Putnik the Pumpkin.swf

This is the info page for
Flash #11326

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


Text
99

Loading

1

1

%

%

Play

Play

www.io3creations.com

www.io3creations.com

another  io3  creation

GAME BGND

MUSIC

NO MESSAGE

LEVEL COMPLETE

LEVEL COMPLETE

YOU ARE DEAD

YOU ARE DEAD

OUT OF TIME

OUT OF TIME

FAILED TO SAVE ALL

FAILED TO SAVE ALL

Time

Time

:

NO MESSAGE

CURSE

BOSS

Controls

Controls

Putnik the Pumpkin
Saves Halloween

Created by:   Istvan Orosi                                                    v1.3 10/2005

Music

Music

Instructions

Instructions

Instructions

All Halloween creatures have been cursed.  Save all creatures
with your magical pumpkin seed.  You have to save them
before midnight or they will disappear forever!

Save:

Objective:

Pick Up:

Health

Volcano

Mummy

Frankie

Zombie

Skellie

Ghost

Devil Child

Ammo

Reload

Main Menu

Main Menu

Controls

Customize Controls by clicking on the current key assignment
and press desired key

x

Move Left
Move Right
Move Forward
Move Back

Quality Toggle
Music On/Off

Pause

Fire seed

Music

Game music is from the Newgrounds.com Audio Portal.
To be updated soon...(in the mean time see credits on NG page)

http://www.newgrounds.com/audio/view.php?id=394395&sub=3612

The Insomniac, by Cypher_.

Evil Boss Battle Something, by mostlyharmless2k

http://www.newgrounds.com/audio/view.php?id=802226&sub=12849

PAUSED

Level Complete

Next Level

Next Level

CONGRATULATIONS!

You saved Halloween!

GAME OVER

Halloween has been cancelled forever

ActionScript [AS1/AS2]

Frame 1
stop();
Instance of Symbol 146 MovieClip "mcLoader" in Frame 1
onClipEvent (load) { _root.stop(); } onClipEvent (enterFrame) { i = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); txtPercentLoaded = i; trace((((i + " getBytesLoaded:") + _root.getBytesLoaded()) + " getBytesTotal:") + _root.getBytesTotal()); if (i >= 100) { this.gotoAndStop(2); } }
Frame 84
function setDefaultKeys() { keyQualityToggle = 81; keyMusicOnOff = 77; keyPauseGame = 80; trace("setting default keys"); key_pLMoveRight = 39; key_pLMoveLeft = 37; key_pLMoveForward = 38; key_pLMoveBack = 40; key_pLJump = 32; key_pLFire = 17; } function displayKeyAssignments() { arrKeyCodeValue = new Array(); arrKeyCodeValue[8] = "Backspace"; arrKeyCodeValue[9] = "Tab"; arrKeyCodeValue[12] = "Clear"; arrKeyCodeValue[13] = "Enter"; arrKeyCodeValue[16] = "Shift"; arrKeyCodeValue[17] = "Control"; arrKeyCodeValue[18] = "Alt"; arrKeyCodeValue[20] = "Caps Lock"; arrKeyCodeValue[27] = "Esc"; arrKeyCodeValue[32] = "Spacebar"; arrKeyCodeValue[33] = "Page Up"; arrKeyCodeValue[34] = "Page Down"; arrKeyCodeValue[35] = "End"; arrKeyCodeValue[36] = "Home"; arrKeyCodeValue[37] = "Left Arrow"; arrKeyCodeValue[38] = "Up Arrow"; arrKeyCodeValue[39] = "Right Arrow"; arrKeyCodeValue[40] = "Down Arrow"; arrKeyCodeValue[45] = "Insert"; arrKeyCodeValue[46] = "Delete"; arrKeyCodeValue[47] = "Help"; arrKeyCodeValue[48] = "0"; arrKeyCodeValue[49] = "1"; arrKeyCodeValue[50] = "2"; arrKeyCodeValue[51] = "3"; arrKeyCodeValue[52] = "4"; arrKeyCodeValue[53] = "5"; arrKeyCodeValue[54] = "6"; arrKeyCodeValue[55] = "7"; arrKeyCodeValue[56] = "8"; arrKeyCodeValue[57] = "9"; arrKeyCodeValue[65] = "A"; arrKeyCodeValue[66] = "B"; arrKeyCodeValue[67] = "C"; arrKeyCodeValue[68] = "D"; arrKeyCodeValue[69] = "E"; arrKeyCodeValue[70] = "F"; arrKeyCodeValue[71] = "G"; arrKeyCodeValue[72] = "H"; arrKeyCodeValue[73] = "I"; arrKeyCodeValue[74] = "J"; arrKeyCodeValue[75] = "K"; arrKeyCodeValue[76] = "L"; arrKeyCodeValue[77] = "M"; arrKeyCodeValue[78] = "N"; arrKeyCodeValue[79] = "O"; arrKeyCodeValue[80] = "P"; arrKeyCodeValue[81] = "Q"; arrKeyCodeValue[82] = "R"; arrKeyCodeValue[83] = "S"; arrKeyCodeValue[84] = "T"; arrKeyCodeValue[85] = "U"; arrKeyCodeValue[86] = "V"; arrKeyCodeValue[87] = "W"; arrKeyCodeValue[88] = "X"; arrKeyCodeValue[89] = "Y"; arrKeyCodeValue[90] = "Z"; arrKeyCodeValue[96] = "Numpad 0"; arrKeyCodeValue[97] = "Numpad 1"; arrKeyCodeValue[98] = "Numpad 2"; arrKeyCodeValue[99] = "Numpad 3"; arrKeyCodeValue[100] = "Numpad 4"; arrKeyCodeValue[101] = "Numpad 5"; arrKeyCodeValue[102] = "Numpad 6"; arrKeyCodeValue[103] = "Numpad 7"; arrKeyCodeValue[104] = "Numpad 8"; arrKeyCodeValue[105] = "Numbpad 9"; arrKeyCodeValue[106] = "Numpad Multiply"; arrKeyCodeValue[107] = "Numpad Add"; arrKeyCodeValue[108] = "Numpad Enter"; arrKeyCodeValue[109] = "Numpad Subtract"; arrKeyCodeValue[110] = "Numpad Decimal"; arrKeyCodeValue[111] = "Numpad Divide"; arrKeyCodeValue[112] = "F1"; arrKeyCodeValue[113] = "F2"; arrKeyCodeValue[114] = "F3"; arrKeyCodeValue[115] = "F4"; arrKeyCodeValue[116] = "F5"; arrKeyCodeValue[117] = "F6"; arrKeyCodeValue[118] = "F7"; arrKeyCodeValue[119] = "F8"; arrKeyCodeValue[120] = "F9"; arrKeyCodeValue[121] = "F10"; arrKeyCodeValue[122] = "F11"; arrKeyCodeValue[123] = "F12"; arrKeyCodeValue[124] = "F13"; arrKeyCodeValue[125] = "F14"; arrKeyCodeValue[126] = "F15"; arrKeyCodeValue[144] = "Num Lock"; arrKeyCodeValue[186] = ";"; arrKeyCodeValue[187] = "="; arrKeyCodeValue[189] = "-"; arrKeyCodeValue[191] = "/"; arrKeyCodeValue[192] = "`"; arrKeyCodeValue[219] = "["; arrKeyCodeValue[220] = "\\"; arrKeyCodeValue[221] = "]"; arrKeyCodeValue[222] = "'"; menuWindowMC.keyRotateLeftMC.txtKey = arrKeyCodeValue[keyRotateLeft]; menuWindowMC.keyRotateRightMC.txtKey = arrKeyCodeValue[keyRotateRight]; menuWindowMC.keyThrustOnMC.txtKey = arrKeyCodeValue[keyThrustOn]; menuWindowMC.keyQualityToggleMC.txtKey = arrKeyCodeValue[keyQualityToggle]; menuWindowMC.keyMusicOnOffMC.txtKey = arrKeyCodeValue[keyMusicOnOff]; trace("displaying key " + arrKeyCodeValue[221]); trace("displaying key " + arrKeyCodeValue[221]); } function displayKeyValue(obj) { obj.status = "none"; obj.txtKey = _root.arrKeyCodeValue[_root[obj._name]]; } function setKeyValue(obj) { if (obj.status == "selected") { obj.status = "none"; _root[obj._name] = Key.getCode(); obj.txtKey = _root.arrKeyCodeValue[_root[obj._name]]; } obj.gotoAndStop(1); } function highlightKey(obj) { if (obj.hitTest(_root._xmouse, _root._ymouse, 1)) { obj.status = "selected"; obj.gotoAndStop(2); } else { obj.status = "none"; obj.gotoAndStop(1); } } function getAngle2toAngle1direction(angle1, angle2) { angleDiff = angle1 - angle2; if ((angle1 * angle2) < 0) { if (angle1 < 0) { angle1 = angle1 + 180; angleDiff = -(angle1 - angle2); } else { angle2 = angle2 + 180; angleDiff = -(angle1 - angle2); } } if (angleDiff > 0) { return(1); } return(-1); } function updateTimer(time) { time = time + default_start_time; temp10h = int(time / 36000); time = time - (temp10h * 36000); temp1h = int(time / 3600); time = time - (temp1h * 3600); temp10m = int(time / 600); time = time - (temp10m * 600); temp1m = int(time / 60); time = time - (temp1m * 60); temp10s = int(time / 10); time = time - (temp10s * 10); temp1s = int(time); displayDigit("time_10h_MC", temp10h); displayDigit("time_1h_MC", temp1h); displayDigit("time_10m_MC", temp10m); displayDigit("time_1m_MC", temp1m); displayDigit("time_10s_MC", temp10s); displayDigit("time_1s_MC", temp1s); } function displayDigit(numericDigit, value) { if (value == 0) { eval ("statusWindowMC." + numericDigit).gotoAndStop(10); } else { eval ("statusWindowMC." + numericDigit).gotoAndStop(value); } } function getHighestMCdepth() { if ((highestDepth < 10000) || (highestDepth > 12000)) { highestDepth = 10000; } else { highestDepth++; } return(highestDepth); } function playSound(sndOwner, sndOwnerMC, soundType, percentToPlay) { trace((((("PLAYING SOUND: sndOwner: " + sndOwner) + " soundType: ") + soundType) + " sndOwnerMC: ") + sndOwnerMC); trace((((("PLAYING SOUND: sndOwner: " + sndOwner) + " soundType: ") + soundType) + " sndOwnerMC: ") + sndOwnerMC); trace((((("PLAYING SOUND: sndOwner: " + sndOwner) + " soundType: ") + soundType) + " sndOwnerMC: ") + sndOwnerMC); trace((((("PLAYING SOUND: sndOwner: " + sndOwner) + " soundType: ") + soundType) + " sndOwnerMC: ") + sndOwnerMC); trace((((("PLAYING SOUND: sndOwner: " + sndOwner) + " soundType: ") + soundType) + " sndOwnerMC: ") + sndOwnerMC); trace((((("PLAYING SOUND: sndOwner: " + sndOwner) + " soundType: ") + soundType) + " sndOwnerMC: ") + sndOwnerMC); trace((((("PLAYING SOUND: sndOwner: " + sndOwner) + " soundType: ") + soundType) + " sndOwnerMC: ") + sndOwnerMC); trace((((("PLAYING SOUND: sndOwner: " + sndOwner) + " soundType: ") + soundType) + " sndOwnerMC: ") + sndOwnerMC); if (Math_random() < percentToPlay) { arrNo = soundArr.length; while ((arrNo--) > 0) { soundObj = soundArr[arrNo]; if ((sndOwner == soundObj.owner) && (soundType == soundObj.soundType)) { if (soundObj.noOfSounds > 1) { soundNo = 1 + int(soundObj.noOfSounds * Math_random()); } else { soundNo = ""; } sndOwnerMC = new Sound(); sndOwnerMC.attachSound(soundObj.soundName + soundNo); sndOwnerMC.start(0.1, 1); trace((("PLAYING SOUND: soundObj.soundName + soundNo: " + soundObj.soundName) + soundNo) + "~~"); } } } } function gameMusicPlay(musicSndNo) { trace((("playGameMusic: " + playGameMusic) + " :: musicSndNo: ") + musicSndNo); if (playGameMusic) { if (musicSndNo > 0) { gameMusicStop(); musicSnd = new Sound(); musicSnd.attachSound("music" + musicSndNo); musicSnd.start(0, 10000); } else { musicSnd.start(0, 10000); } } g.musicSndNo = musicSndNo; } function gameMusicStop() { musicSnd.stop("music" + g.musicSndNo); } Abs = Math.abs; GetTimer = getTimer; Math_random = Math.random; function bgndObj(type, distance, doorSide) { this.type = type; this.distance = distance; this.doorSide = doorSide; } function removeAttachedMCs() { removeMovieClip("game_attachMC.pL_MC"); } function displayMessage(message) { statusWindowMC.txtMessage = message; displayMessageFr = 2 * FPS; } function game_reset() { g_missionNo = 1; total_time = 0; default_start_time = 42780; game_failed_time = 43200; level_finish_time = 0; pause_start_time = 0; startTime = 0; } function game_nextLevel() { game_start(); } function gotoMainMenu() { gameMusicStop(); menuWindowMC.gotoAndStop("main_menu"); } function game_start() { _level0.createEmptyMovieClip("game_attachMC", 100); game_attachMC.createEmptyMovieClip("Street_MC", 1); pL = new Player(100, 100); pL_checkHealth(); Map = []; bgndArr = []; bgndNo = 1; currentArr = []; bubbleArr = []; enemyArr = []; tempEnemyArr = []; projectileArr = []; pickUpItemArr = []; fadeAwayArr = []; trace(eval (game_attachMC)); switch (g_missionNo) { case 1 : createEnemy("Boss1_Witch", 100, 0, 50, "path1"); lineColor = 3355443 /* 0x333333 */; fillColor = 6710886 /* 0x666666 */; break; case 2 : createEnemy("Boss2_Death", 100, 0, 50, "path3"); lineColor = 3355443 /* 0x333333 */; fillColor = 10040064 /* 0x993300 */; break; case 3 : createEnemy("Boss3_Santa", 100, 0, 50, "path5"); lineColor = 3355443 /* 0x333333 */; fillColor = 16711680 /* 0xFF0000 */; createEnemy("Volcano", 150, 0, 1800, ""); createEnemy("Volcano", 150, 0, 1200, ""); createEnemy("Volcano", 150, 0, 600, ""); break; } setPosition(pL, 150, 0, 1950); createPlantArea(0, 0, 300, 2000); setMapBoundary(50, 0, 200, 2000); switch (g_missionNo) { case 1 : break; case 2 : break; case 3 : break; } g_stat = "play"; _quality = game_quality; menuWindowMC.gotoAndStop("game_start"); onEnterFrame = onEnterFrame_game; onMouseDown = onMouseDown_game; onMouseUp = onMouseUp_game; createEmptyMovieClip("_keyListener", 1); Key.addListener(_keyListener); _keyListener.onKeyDown = onKeyDown_game; gameCoverMC.swapDepths(1200); menuWindowMC.swapDepths(1100); statusWindowMC.swapDepths(1010); Mouse.hide(); game_FrNo = 0; startTime = startTime + (getTimer() - level_finish_time); levelCompleteCounter = 0; statusWindowMC.missionMessageMC._visible = false; statusWindowMC.missionMessageMC.gotoAndStop(1); statusWindowMC.EnemyStatusMC._visible = false; statusWindowMC.EnemyStatusMC.heathMC.barMC._xscale = 100; displayMessage(""); trace("============================================================="); trace("levelAllowedTime " + levelAllowedTime); trace("g_missionNo: " + g_missionNo); game_MC.bgnd_MC.gotoAndStop("mission_" + g_missionNo); gameMusicPlay(1); } function game_over(status) { _quality = "HIGH"; removeAttachedMCs(); delete onEnterFrame; delete onMouseDown; delete onMouseUp; delete _keyListener; menuWindowMC._visible = true; Mouse.show(); switch (status) { case "missionComplete" : levelCodeArr[g_missionNo][g_taskNo].unlocked = true; menuWindowMC.cutScenesMC.txtLevelCode = levelCodeArr[g_missionNo][g_taskNo].code; if (g_taskNo >= levelCodeArr[g_missionNo].length) { g_missionNo++; } else { g_taskNo++; } if (g_missionNo <= g.noOfMissions) { menuWindowMC.gotoAndStop("missionComplete"); } else { menuWindowMC.gotoAndStop("game_complete"); } return; case "pL_dead" : case "timeIsUp" : case "FailedToSaveAll" : menuWindowMC._visible = true; menuWindowMC.gotoAndStop("pL_dies"); return; } } function Player(health, layerDepth) { this.fullHealth = (this.health = health); this.rad = 10; this.h = 20; this.walkSpeed = 60 / FPS; this.jumpSpeed = 100 / FPS; this.layerDepth = layerDepth; this.reloadFr = (this.defaultReloadFr = FPS / 2); this.weaponReload = 1; this.attackDamage = 1; this.weaponLevel = 1; this.proj_v = 90 / FPS; game_attachMC.attachMovie("Player", "pL_MC", getHighestMCdepth()); game_attachMC.attachMovie("Shadow", "pL_shadowMC", getHighestMCdepth()); this.target = "game_attachMC.pL_MC"; pL_MC = eval (this.target); this.shadow = []; this.shadow.type = "Shadow"; this.shadow.target = "game_attachMC.pL_shadowMC"; } function Plant(target, x, y, z, rad, contactDamage) { trace((target + " ") + x); this.type = "plant"; this.target = target; this.x = x; this.y = y; this.z = z; this.rad = rad; this.contactDamage = contactDamage; } function setPosition(tempObj, x, y, z) { tempObj.x = x; tempObj.y = y; tempObj.z = z; } function pLGetsHurt(damage) { pL.health = pL.health - damage; playSound("pL", tempObj.target, "getsHurt", 100); pL_checkHealth(); x = pL.x + (pL.rad * (0.5 - Math_Random())); y = pL.y + (2 * pL.rad); z = pL.z + (pL.rad * (0.5 - Math_Random())); } function enemyGetsHurt(tempObj, damage) { tempObj.health = tempObj.health - damage; if (tempObj.health <= 0) { tempObj.alpha = 100; fadeAwayArr.push(tempObj); enemyArr.splice(tempObj.arrayNo, 1); switch (enemyObj.type) { case "Boss1_Witch" : case "Boss2_Death" : case "Boss3_Santa" : statusWindowMC.EnemyStatusMC.heathMC.barMC._xscale = 0; trace((("enemyGetsHurt: " + enemyObj.type) + " :: enemyObj.health: ") + enemyObj.health); startLevelCompleteCountdown("missionComplete"); displayMessage("Saved Boss"); break; default : if ((g.savedEnemyNo++) >= 2) { g.savedEnemyNo = 0; createPickUpItem(tempObj.x, 0, tempObj.z - 2); } displayMessage("Saved " + enemyObj.type); } playSound("enemy", tempObj.target, "saved", 100); eval (tempObj.target).gotoAndStop("dies"); statusWindowMC.EnemyStatusMC._visible = false; } else { statusWindowMC.EnemyStatusMC._visible = true; switch (enemyObj.type) { case "Boss1_Witch" : case "Boss2_Death" : case "Boss3_Santa" : statusWindowMC.EnemyStatusMC.gotoAndStop("boss"); break; default : statusWindowMC.EnemyStatusMC.gotoAndStop("none"); } playSound("enemy", tempObj.target, "getsHurt", 100); statusWindowMC.EnemyStatusMC.heathMC.barMC._xscale = (100 * enemyObj.health) / enemyObj.fullHealth; } } function pL_checkHealth() { if (pL.health > 100) { pL.health = 100; } else if (pL.health < 0) { pL.health = 0; game_over("pL_dead"); } statusWindowMC.pL_heathMC.barMC._xscale = pL.health; } function createPickUpItem(x, y, z) { tempObj = []; randomNo = Math.random(); if (randomNo < 0.33) { type = "health"; quantity = 25; } else if (randomNo < 0.66) { type = "weaponLevel"; quantity = 1; } else { type = "weaponReload"; quantity = 1; } tempObj.type = type; tempObj.x = x; tempObj.y = y; tempObj.z = z; tempObj.quantity = quantity; tempObj.rad = 10; tempObj.timer = 4 * FPS; bgndNo++; game_attachMC.attachMovie("pickUpItem", type + bgndNo, getHighestMCdepth()); tempObj.target = ("game_attachMC." + type) + bgndNo; eval (tempObj.target).gotoAndStop(type); pickUpItemArr.push(tempObj); } function createPlantArea(area_x, area_y, area_w, area_h) { plantSpacingZ = 150; var j = 0; while (j < (area_h / plantSpacingZ)) { bgndNo++; if (g_missionNo == 1) { type = "Plant"; } else if (g_missionNo == 2) { type = "Crypt"; } else if (g_missionNo == 3) { type = "HellFlame"; } game_attachMC.attachMovie(type, type + bgndNo, getHighestMCdepth()); target = ("game_attachMC." + type) + bgndNo; eval (target).gotoAndPlay(int(eval (target)._totalframes * Math_Random())); x = area_x - int(Math.random() * 20); y = 0; zLeft = (j * plantSpacingZ) + area_y; zRight = zLeft + int((plantSpacingZ / 2) * Math.random()); rad = 5; contactDamage = 1; bgndArr.push(new Plant(target, x, y, zLeft, rad, contactDamage)); bgndNo++; game_attachMC.attachMovie(type, type + bgndNo, getHighestMCdepth()); target = ("game_attachMC." + type) + bgndNo; eval (target).gotoAndPlay(int(eval (target)._totalframes * Math_Random())); bgndArr.push(new Plant(target, x + area_w, y, zRight, rad, contactDamage)); if ((((j * plantSpacingZ) + area_y) > 250) && ((j * plantSpacingZ) < (area_h - 250))) { switch (g_missionNo) { case 1 : if (Math.random() > 0.5) { enemyType = "Mummy"; } else { enemyType = "Frankie"; } if (Math.random() > 0.5) { x = (area_x + 80) + int(Math.random() * 50); pathName = "path1"; } else { x = ((area_x + area_w) - 80) - int(Math.random() * 50); pathName = "path2"; } break; case 2 : if (Math.random() > 0.5) { enemyType = "Skellie"; } else { enemyType = "Zombie"; } if (Math.random() > 0.5) { x = (area_x + 80) + int(Math.random() * 50); pathName = "path1"; } else { x = ((area_x + area_w) - 80) - int(Math.random() * 50); pathName = "path2"; } break; case 3 : if (Math.random() > 0.5) { enemyType = "Ghost"; } else { enemyType = "DevilChild"; } if (Math.random() > 0.5) { x = (area_x + 80) + int(Math.random() * 100); pathName = "pL_follow"; } else { x = ((area_x + area_w) - 80) - int(Math.random() * 50); pathName = "path2"; } break; } y = 0; z = (j * plantSpacingZ) + area_y; createEnemy(enemyType, x, y, z, pathName); } j++; } } function setMapBoundary(area_x, area_y, area_w, area_h) { Map.xmin = area_x; Map.xmax = area_x + area_w; Map.zmin = area_y; Map.zmax = area_y + area_h; } function setCurrentArea(area_x, area_y, area_w, area_h, vx, vz) { currentObj = []; currentObj.xmin = area_x; currentObj.xmax = area_x + area_w; currentObj.zmin = area_y; currentObj.zmax = area_y + area_h; currentObj.vx = vx; currentObj.vz = vz; currentArr.push(currentObj); } function createEnemy(type, x, y, z, pathName) { trace((((type + " :: ") + x) + " :: ") + z); bgndNo++; game_attachMC.attachMovie(type, type + bgndNo, getHighestMCdepth()); tempObj = []; tempObj.x = x; tempObj.y = y; tempObj.z = z; tempObj.type = type; tempObj.target = ("game_attachMC." + type) + bgndNo; tempObj.pathName = pathName; trace("here"); setObjectPath(tempObj); if (type == "Volcano") { tempObj.nextAttackFr = 0.5 * FPS; tempObj.projectile = []; tempObj.projectile.vxMax = 160 / FPS; tempObj.projectile.vyMax = 100 / FPS; tempObj.projectile.vzMax = 160 / FPS; } else if (type == "Mummy") { tempObj.v = 20 / FPS; tempObj.rad = 7; tempObj.h = 30; tempObj.health = 2; tempObj.contactDamage = 3; tempObj.currAttackFr = (tempObj.nextAttackFr = 1 * FPS); tempObj.proj_v = 50 / FPS; tempObj.projType = "proj_PaperBall"; } else if (type == "Frankie") { tempObj.v = 20 / FPS; tempObj.rad = 7; tempObj.h = 30; tempObj.health = 2; tempObj.contactDamage = 3; tempObj.currAttackFr = (tempObj.nextAttackFr = 1 * FPS); tempObj.proj_v = 50 / FPS; tempObj.projType = "proj_Pin"; } else if (type == "Zombie") { tempObj.v = 50 / FPS; tempObj.rad = 7; tempObj.h = 30; tempObj.health = 4; tempObj.contactDamage = 3; tempObj.currAttackFr = (tempObj.nextAttackFr = 1 * FPS); tempObj.proj_v = 70 / FPS; tempObj.projType = "proj_Spit"; } else if (type == "Skellie") { tempObj.v = 50 / FPS; tempObj.rad = 7; tempObj.h = 30; tempObj.health = 4; tempObj.contactDamage = 3; tempObj.currAttackFr = (tempObj.nextAttackFr = 1 * FPS); tempObj.proj_v = 70 / FPS; tempObj.projType = "proj_Bone"; } else if (type == "Ghost") { tempObj.v = 50 / FPS; tempObj.rad = 7; tempObj.h = 30; tempObj.health = 5; tempObj.contactDamage = 3; tempObj.currAttackFr = (tempObj.nextAttackFr = 1 * FPS); tempObj.proj_v = 100 / FPS; tempObj.projType = "proj_Circles"; } else if (type == "DevilChild") { tempObj.v = 50 / FPS; tempObj.rad = 7; tempObj.h = 30; tempObj.health = 5; tempObj.contactDamage = 3; tempObj.currAttackFr = (tempObj.nextAttackFr = 1 * FPS); tempObj.proj_v = 100 / FPS; tempObj.projType = "proj_Flame"; } else if (type == "Boss1_Witch") { tempObj.v = 50 / FPS; tempObj.rad = 7; tempObj.h = 30; tempObj.health = 15; tempObj.contactDamage = 3; tempObj.currAttackFr = (tempObj.nextAttackFr = 1 * FPS); tempObj.proj_v = 100 / FPS; tempObj.projType = "proj_Flame"; } else if (type == "Boss2_Death") { tempObj.v = 50 / FPS; tempObj.rad = 7; tempObj.h = 30; tempObj.health = 15; tempObj.contactDamage = 3; tempObj.currAttackFr = (tempObj.nextAttackFr = 1 * FPS); tempObj.proj_v = 100 / FPS; tempObj.projType = "proj_Swoosh"; } else if (type == "Boss3_Santa") { tempObj.v = 50 / FPS; tempObj.rad = 7; tempObj.h = 30; tempObj.health = 15; tempObj.contactDamage = 3; tempObj.currAttackFr = (tempObj.nextAttackFr = 1.5 * FPS); tempObj.proj_v = 100 / FPS; tempObj.projType = "proj_Box"; } tempObj.fullHealth = tempObj.health; tempEnemyArr.push(tempObj); } function setObjectPath(tempObj) { if ((tempObj.pathName != "pL_follow") && (tempObj.pathName != "")) { tempObj.checkPointPathArr = []; tempPathArr = eval (("checkPoint" + tempObj.pathName) + "_arr"); i = 0; while (i < tempPathArr.length) { tempObj.checkPointPathArr[i] = []; tempObj.checkPointPathArr[i].x = tempObj.x + tempPathArr[i].x; tempObj.checkPointPathArr[i].z = tempObj.z + tempPathArr[i].z; trace((((i + " :: ") + tempPathArr[i].x) + " :: ") + tempObj.checkPointPathArr[i].x); i++; } tempObj.checkPointArrNo = 0; tempObj.x = tempObj.checkPointPathArr[tempObj.checkPointArrNo].x; tempObj.z = tempObj.checkPointPathArr[tempObj.checkPointArrNo].z; tempObj.nextCheckPointX = tempObj.checkPointPathArr[tempObj.checkPointArrNo + 1].x; tempObj.nextCheckPointZ = tempObj.checkPointPathArr[tempObj.checkPointArrNo + 1].z; } } function createProjectile(projOwner, type, x, y, z, vx, vy, vz, attackDamage) { bgndNo++; tempObj = []; game_attachMC.attachMovie(type, type + bgndNo, getHighestMCdepth()); tempObj.owner = projOwner; tempObj.type = type; tempObj.target = ("game_attachMC." + type) + bgndNo; tempObj.x = x; tempObj.y = y; tempObj.z = z; tempObj.vx = vx; tempObj.vy = vy; tempObj.vz = vz; tempObj.attackDamage = attackDamage; tempObj.timer = 1 * FPS; tempObj.rad = 5; switch (projObj.type) { case "proj_Box" : tempObj.rad = 7; break; case "proj_Swoosh" : tempObj.rad = 14; case "proj_Bone" : break; } bgndNo++; game_attachMC.attachMovie("Shadow", (type + bgndNo) + "shadowMC", getHighestMCdepth()); tempObj.shadow = []; tempObj.shadow.type = "Shadow"; tempObj.shadow.target = (("game_attachMC." + type) + bgndNo) + "shadowMC"; projectileArr.push(tempObj); } function updatePerspective(tempObj) { tempMC = eval (tempObj.target); x = tempObj.x - Camera.x; y = tempObj.y - Camera.y; z = Camera.z - tempObj.z; if (z < (-Camera.cutoffdistance)) { tempMC._visible = false; } else { tempMC._visible = true; perspective_ratio = D / (D + z); perspective_x = x * perspective_ratio; perspective_y = y * perspective_ratio; tempMC._x = origin_x + perspective_x; tempMC._y = origin_y - perspective_y; if ((tempMC._x > -20) && (tempMC._x < (sw + 20))) { tempMC._xscale = (tempMC._yscale = 100 * perspective_ratio); if (z > 250) { tempMC._visible = 0; } else if (z < 200) { tempMC._alpha = 100; } else { tempMC._alpha = 100; } tempMC.swapDepths(int(-z)); } else { tempMC._visible = false; } } } function nextCP(tempEnemyObj) { temp_checkPointArrNo = tempEnemyObj.checkPointArrNo; tempEnemyObj.checkPointArrNo++; tempPathArr = tempEnemyObj.checkPointPathArr; if (tempEnemyObj.checkPointArrNo >= tempPathArr.length) { tempEnemyObj.checkPointArrNo = 0; } foundNextCP = false; while (!foundNextCP) { tempEnemyObj.checkPointArrNo = int(Math.random() * tempPathArr.length); if (temp_checkPointArrNo != tempEnemyObj.checkPointArrNo) { foundNextCP = true; } } tempEnemyObj.nextCheckPointX = tempPathArr[tempEnemyObj.checkPointArrNo].x; tempEnemyObj.nextCheckPointZ = tempPathArr[tempEnemyObj.checkPointArrNo].z; } function calculatePointPersp(temp_x, temp_y, temp_z) { x = temp_x - Camera.x; y = temp_y - Camera.y; z = Camera.z - temp_z; perspective_ratio = D / (D + z); perspective_x = x * perspective_ratio; perspective_y = y * perspective_ratio; pointObj = []; pointObj.x = origin_x + perspective_x; pointObj.y = origin_y - perspective_y; return(pointObj); } trace("====================================================================="); trace((("xtype: " + xtype) + " :: xtype: ") + xtype); i = 1; while (i < 10) { trace("multiPartObj.: " + multiPartObj); i++; } if (firstTimeToLoad == undefined) { firstTimeToLoad = false; setDefaultKeys(); FPS = 24; sw = 440; sh = 320; PI = 3.1415; g = []; g.grav = (200 / FPS) / FPS; g.noOfMissions = 3; Camera = []; Camera.cutoffdistance = 100; origin_x = sw / 2; origin_y = 130; D = 150; checkPointPath1_arr = []; currCheckPointPath_arr = checkPointPath1_arr; currCheckPointPath_arr.push({x:0, y:0, z:0}); currCheckPointPath_arr.push({x:100, y:0, z:0}); checkPointPath2_arr = []; currCheckPointPath_arr = checkPointPath2_arr; currCheckPointPath_arr.push({x:0, y:0, z:0}); currCheckPointPath_arr.push({x:-100, y:0, z:0}); checkPointPath3_arr = []; currCheckPointPath_arr = checkPointPath3_arr; currCheckPointPath_arr.push({x:0, y:0, z:0}); currCheckPointPath_arr.push({x:80, y:0, z:0}); currCheckPointPath_arr.push({x:80, y:0, z:50}); currCheckPointPath_arr.push({x:0, y:0, z:50}); checkPointPath5_arr = []; currCheckPointPath_arr = checkPointPath5_arr; currCheckPointPath_arr.push({x:0, y:0, z:0}); currCheckPointPath_arr.push({x:25, y:0, z:-20}); currCheckPointPath_arr.push({x:50, y:0, z:0}); currCheckPointPath_arr.push({x:25, y:0, z:20}); reachedCheckPointDist = 5; soundArr = []; soundArr.push({owner:"pL", soundType:"attack", noOfSounds:1, soundName:"pLattack"}); soundArr.push({owner:"pL", soundType:"getsHurt", noOfSounds:2, soundName:"hit"}); soundArr.push({owner:"enemy", soundType:"saved", noOfSounds:1, soundName:"enemySaved"}); soundArr.push({owner:"enemy", soundType:"getsHurt", noOfSounds:2, soundName:"hit"}); soundArr.push({owner:"pickUpItem", soundType:"pickup", noOfSounds:1, soundName:"pickup"}); playGameMusic = true; } function onEnterFrame_game() { game_FrNo++; if (Key.isDown(key_pLMoveLeft)) { pL.vx = -pL.walkSpeed; xDir = "L"; } else if (Key.isDown(key_pLMoveRight)) { pL.vx = pL.walkSpeed; xDir = "R"; } else { pL.vx = 0; xDir = "F"; } if (Key.isDown(key_pLMoveForward)) { pL.vz = -pL.walkSpeed; } else if (Key.isDown(key_pLMoveBack)) { pL.vz = pL.walkSpeed; } else { pL.vz = 0; } if (Key.isDown(key_pLJump) && (!pL.jumping)) { pL.vy = pL.jumpSpeed; pL.jumping = true; } pL.currReloadFr--; if (Key.isDown(key_pLFire) && (pL.currReloadFr < 0)) { pL.currReloadFr = pL.reloadFr; if (pL.vx == 0) { proj_vx = 0; } else { proj_vx = (pL.walkSpeed * pL.vx) / Abs(pL.vx); } proj_vz = -pL.proj_v; playSound("pL", pL_MC, "attack", 100); if (pL.weaponLevel == 1) { createProjectile("pL", "Seed", pL.x, pL.y + pL.rad, pL.z - pL.rad, proj_vx, 0, proj_vz, pL.attackDamage); } else if (pL.weaponLevel == 2) { createProjectile("pL", "Seed", pL.x - 5, pL.y + pL.rad, pL.z - pL.rad, proj_vx - 0.6, 0, proj_vz, pL.attackDamage); createProjectile("pL", "Seed", pL.x + 5, pL.y + pL.rad, pL.z - pL.rad, proj_vx + 0.6, 0, proj_vz, pL.attackDamage); } else if (pL.weaponLevel == 3) { createProjectile("pL", "Seed", pL.x, pL.y + pL.rad, pL.z - (2 * pL.rad), proj_vx, 0, proj_vz, pL.attackDamage); createProjectile("pL", "Seed", pL.x - 5, pL.y + pL.rad, pL.z - pL.rad, proj_vx - 0.6, 0, proj_vz, pL.attackDamage); createProjectile("pL", "Seed", pL.x + 5, pL.y + pL.rad, pL.z - pL.rad, proj_vx + 0.6, 0, proj_vz, pL.attackDamage); } } if (pL.y < 0) { pL.y = 0; pL.vy = pL.vy * 0.5; pL.jumping = false; } pL_MC.gotoAndStop(xDir + zDir); if (pL.x < Map.xmin) { pL.x = Map.xmin; } else if (pL.x > Map.xmax) { pL.x = Map.xmax; } if (pL.z < Map.zmin) { pL.z = Map.zmin; } else if (pL.z > Map.zmax) { pL.z = Map.zmax; } pL.x = pL.x + (pL.vx + g.current_vx); pL.y = pL.y + ((pL.vy = pL.vy - g.grav)); pL.z = pL.z + (pL.vz + g.current_vz); if (pL.z < g.z_LevelComplete) { trace("2 g.missionFinishedReason " + g.missionFinishedReason); trace("pL.z " + pL.z); trace("g.z_LevelComplete " + g.z_LevelComplete); } Camera.x = pL.x; Camera.y = pL.y + 80; Camera.z = pL.z - 20; perspective_ratio = D / ((D + Camera.z) - pL.z); perspective_x = (pL.x - Camera.x) * perspective_ratio; perspective_y = (pL.y - Camera.y) * perspective_ratio; pL_MC._x = origin_x + perspective_x; pL_MC._y = origin_y - perspective_y; pL_MC._xscale = (pL_MC._yscale = 100 * perspective_ratio); pL_MC._alpha = 100 * perspective_ratio; pL_MC.swapDepths(int(-(Camera.z - pL.z))); pL.shadow.x = pL.x; pL.shadow.y = 0; pL.shadow.z = pL.z - 1; updatePerspective(pL.shadow); arrNo = bgndArr.length; while ((arrNo--) > 0) { bgndObj = bgndArr[arrNo]; temp_dx = pL.x - bgndObj.x; temp_dz = pL.z - bgndObj.z; if ((bgndObj.type == "plant") || (bgndObj.type == "Shell")) { temp_dist = bgndObj.rad + pL.rad; if (((temp_dx * temp_dx) + (temp_dz * temp_dz)) < (temp_dist * temp_dist)) { pLGetsHurt(bgndObj.contactDamage); pL.x = pL.x - pL.vx; pL.z = pL.z - pL.vz; pL.vx = pL.vx * -1; pL.vz = pL.vz * -1; pL_MC.swapDepths(int(-(Camera.z - pL.z))); } } updatePerspective(bgndObj); } bgndMC = game_attachMC.Street_MC; bgndObj = []; bgndObj.xmin = 50; bgndObj.xmax = 250; bgndObj.zmin = 0; bgndObj.zmax = (0 + Camera.z) + 100; bgndObj.perspXminZmin = calculatePointPersp(bgndObj.xmin, 0, bgndObj.zmin); bgndObj.perspXmaxZmin = calculatePointPersp(bgndObj.xmax, 0, bgndObj.zmin); bgndObj.perspXminZmax = calculatePointPersp(bgndObj.xmin, 0, bgndObj.zmax); bgndObj.perspXmaxZmax = calculatePointPersp(bgndObj.xmax, 0, bgndObj.zmax); bgndMC.clear(); bgndMC.lineStyle(1, lineColor, 100); bgndMC.beginFill(fillColor); bgndMC.moveTo(bgndObj.perspXminZmin.x, bgndObj.perspXminZmin.y); bgndMC.lineTo(bgndObj.perspXmaxZmin.x, bgndObj.perspXmaxZmin.y); bgndMC.lineTo(bgndObj.perspXmaxZmax.x, bgndObj.perspXmaxZmax.y); bgndMC.lineTo(bgndObj.perspXminZmax.x, bgndObj.perspXminZmax.y); bgndMC.lineTo(bgndObj.perspXminZmin.x, bgndObj.perspXminZmin.y); bgndMC.endFill(); bgndMC.swapDepths(int(-(Camera.z - 0))); arrNo = tempEnemyArr.length; while ((arrNo--) > 0) { tempEnemyObj = tempEnemyArr[arrNo]; if (tempEnemyObj.z > (pL.z - 150)) { enemyArr.push(tempEnemyObj); tempEnemyArr.splice(arrNo, 1); switch (tempEnemyObj.type) { case "Boss1_Witch" : case "Boss2_Death" : case "Boss3_Santa" : gameMusicPlay(2); if ((g_missionNo == 1) || (g_missionNo == 2)) { noOfNonSaveables = 0; } else if (g_missionNo == 3) { noOfNonSaveables = 3; } if (enemyArr.length > (1 + noOfNonSaveables)) { startLevelCompleteCountdown("FailedToSaveAll"); } else { Map.zmax = 150 + tempEnemyObj.z; Map.zmin = 100 + tempEnemyObj.z; statusWindowMC.EnemyStatusMC._visible = true; } } } } arrNo = enemyArr.length; while ((arrNo--) > 0) { enemyObj = enemyArr[arrNo]; if (pL.z > (enemyObj.z - Camera.cutoffdistance)) { switch (enemyObj.type) { case "Volcano" : if ((enemyObj.currAttackFr--) < 0) { enemyObj.currAttackFr = enemyObj.nextAttackFr; proj_vx = enemyObj.projectile.vxMax * (0.5 - Math_random()); proj_vy = enemyObj.projectile.vyMax * (0.5 + (0.5 * Math_random())); proj_vz = enemyObj.projectile.vzMax * (0.5 - Math_random()); createProjectile("enemy", "Volcano_rock", enemyObj.x, enemyObj.y + 5, enemyObj.z + 2, proj_vx, proj_vy, proj_vz, 15); } break; case "Mummy" : case "Frankie" : case "Zombie" : case "Skellie" : case "Ghost" : case "DevilChild" : case "Boss1_Witch" : case "Boss2_Death" : case "Boss3_Santa" : if (enemyObj.pathName == "pL_follow") { enemyCP_dx = pL.x - enemyObj.x; enemyCP_dz = pL.z - enemyObj.z; } else { enemyCP_dx = enemyObj.nextCheckPointX - enemyObj.x; enemyCP_dz = enemyObj.nextCheckPointZ - enemyObj.z; if (Abs(enemyCP_dx) < reachedCheckPointDist) { if (Abs(enemyCP_dz) < reachedCheckPointDist) { nextCP(enemyObj); } } } enemyCP_dist = Math.sqrt((enemyCP_dx * enemyCP_dx) + (enemyCP_dz * enemyCP_dz)); enemyCP_ux = enemyCP_dx / enemyCP_dist; enemyCP_uz = enemyCP_dz / enemyCP_dist; enemyObj.vx = enemyCP_ux * enemyObj.v; enemyObj.vz = enemyCP_uz * enemyObj.v; enemyObj.x = enemyObj.x + enemyObj.vx; enemyObj.z = enemyObj.z + enemyObj.vz; if (enemyObj.z > pL.z) { eval (enemyObj.target).gotoAndStop("F"); } else { eval (enemyObj.target).gotoAndStop("B"); } temp_dx = pL.x - enemyObj.x; temp_dz = pL.z - enemyObj.z; temp_dist_rad = enemyObj.rad + pL.rad; temp_dist = Math.sqrt((temp_dx * temp_dx) + (temp_dz * temp_dz)); if (temp_dist < temp_dist_rad) { pLGetsHurt(enemyObj.contactDamage); pL.x = enemyObj.x + ((temp_dist_rad * temp_dx) / temp_dist); pL.z = enemyObj.z + ((temp_dist_rad * temp_dz) / temp_dist); pL.vx = pL.vx * (-1); pL.vz = pL.vz * (-1); pL_MC.swapDepths(int(-(Camera.z - pL.z))); } switch (enemyObj.type) { case "Mummy" : case "Frankie" : case "Zombie" : case "Skellie" : case "Ghost" : case "DevilChild" : if ((enemyObj.currAttackFr--) < 0) { enemyObj.currAttackFr = enemyObj.nextAttackFr; enemyPL_dx = pL.x - enemyObj.x; enemyPL_dz = pL.z - enemyObj.z; enemyPL_dist = Math.sqrt((enemyPL_dx * enemyPL_dx) + (enemyPL_dz * enemyPL_dz)); enemyPL_ux = enemyPL_dx / enemyPL_dist; enemyPL_uz = enemyPL_dz / enemyPL_dist; if (pL.z < (Map.zmax / 2)) { proj_vCoeff = 1.5; } else { proj_vCoeff = 1; } proj_vx = (proj_vCoeff * enemyObj.proj_v) * enemyPL_ux; proj_vy = (proj_vCoeff * enemyObj.proj_v) * 0; proj_vz = (proj_vCoeff * enemyObj.proj_v) * enemyPL_uz; if (g_missionNo == 1) { createProjectile("enemy", enemyObj.projType, enemyObj.x, enemyObj.y + enemyObj.rad, enemyObj.z + 2, proj_vx, proj_vy, proj_vz, 10); } else if (g_missionNo == 2) { createProjectile("enemy", enemyObj.projType, enemyObj.x - 5, enemyObj.y + enemyObj.rad, enemyObj.z + 2, proj_vx - 0.4, proj_vy, proj_vz, 10); createProjectile("enemy", enemyObj.projType, enemyObj.x + 5, enemyObj.y + enemyObj.rad, enemyObj.z + 2, proj_vx + 0.4, proj_vy, proj_vz, 10); } else if (g_missionNo == 3) { createProjectile("enemy", enemyObj.projType, enemyObj.x, enemyObj.y + enemyObj.rad, enemyObj.z + 2, proj_vx, proj_vy, proj_vz, 10); createProjectile("enemy", enemyObj.projType, enemyObj.x - 5, enemyObj.y + enemyObj.rad, enemyObj.z + 2, proj_vx - 0.6, proj_vy, proj_vz, 10); createProjectile("enemy", enemyObj.projType, enemyObj.x + 5, enemyObj.y + enemyObj.rad, enemyObj.z + 2, proj_vx + 0.6, proj_vy, proj_vz, 10); } } break; case "Boss1_Witch" : if ((enemyObj.currAttackFr--) < 0) { enemyObj.currAttackFr = enemyObj.nextAttackFr; enemyPL_dx = pL.x - enemyObj.x; enemyPL_dz = pL.z - enemyObj.z; enemyPL_dist = Math.sqrt((enemyPL_dx * enemyPL_dx) + (enemyPL_dz * enemyPL_dz)); enemyPL_ux = enemyPL_dx / enemyPL_dist; enemyPL_uz = enemyPL_dz / enemyPL_dist; proj_vx = enemyObj.proj_v * enemyPL_ux; proj_vy = enemyObj.proj_v * 0; proj_vz = enemyObj.proj_v * enemyPL_uz; createProjectile("enemy", enemyObj.projType, enemyObj.x, enemyObj.y + enemyObj.rad, enemyObj.z + 2, proj_vx, proj_vy, proj_vz, 5); createProjectile("enemy", enemyObj.projType, enemyObj.x, enemyObj.y + enemyObj.rad, enemyObj.z + 2, proj_vx - 0.6, proj_vy, proj_vz, 5); createProjectile("enemy", enemyObj.projType, enemyObj.x, enemyObj.y + enemyObj.rad, enemyObj.z + 2, proj_vx + 0.6, proj_vy, proj_vz, 5); } break; case "Boss2_Death" : if ((enemyObj.currAttackFr--) < 0) { enemyObj.currAttackFr = enemyObj.nextAttackFr; enemyPL_dx = pL.x - enemyObj.x; enemyPL_dz = pL.z - enemyObj.z; enemyPL_dist = Math.sqrt((enemyPL_dx * enemyPL_dx) + (enemyPL_dz * enemyPL_dz)); enemyPL_ux = enemyPL_dx / enemyPL_dist; enemyPL_uz = enemyPL_dz / enemyPL_dist; proj_vx = enemyObj.proj_v * enemyPL_ux; proj_vy = enemyObj.proj_v * 0; proj_vz = enemyObj.proj_v * enemyPL_uz; if (enemyObj.attackNo == 1) { enemyObj.attackNo = 2; } else { enemyObj.attackNo = 1; } if (enemyObj.attackNo == 1) { createProjectile("enemy", enemyObj.projType, enemyObj.x, enemyObj.y + enemyObj.rad, enemyObj.z + 2, proj_vx, proj_vy, proj_vz, 15); createProjectile("enemy", enemyObj.projType, enemyObj.x - 10, enemyObj.y + enemyObj.rad, enemyObj.z + 2, proj_vx - 0.6, proj_vy, proj_vz, 15); createProjectile("enemy", enemyObj.projType, enemyObj.x + 10, enemyObj.y + enemyObj.rad, enemyObj.z + 2, proj_vx + 0.6, proj_vy, proj_vz, 15); } else { createProjectile("enemy", enemyObj.projType, enemyObj.x, enemyObj.y + 18, enemyObj.z + 2, proj_vx, proj_vy, proj_vz, 15); createProjectile("enemy", enemyObj.projType, enemyObj.x - 10, enemyObj.y + 18, enemyObj.z + 2, proj_vx - 0.6, proj_vy, proj_vz, 15); createProjectile("enemy", enemyObj.projType, enemyObj.x + 10, enemyObj.y + 18, enemyObj.z + 2, proj_vx + 0.6, proj_vy, proj_vz, 15); } } break; case "Boss3_Santa" : if ((enemyObj.currAttackFr--) >= 0) { break; } enemyObj.currAttackFr = enemyObj.nextAttackFr; enemyPL_dx = pL.x - enemyObj.x; enemyPL_dz = pL.z - enemyObj.z; enemyPL_dist = Math.sqrt((enemyPL_dx * enemyPL_dx) + (enemyPL_dz * enemyPL_dz)); enemyPL_ux = enemyPL_dx / enemyPL_dist; enemyPL_uz = enemyPL_dz / enemyPL_dist; proj_vx = enemyObj.proj_v * enemyPL_ux; proj_vy = enemyObj.proj_v * 0; proj_vz = enemyObj.proj_v * enemyPL_uz; if (enemyObj.attackNo == 1) { enemyObj.attackNo = 2; } else { enemyObj.attackNo = 1; } if (enemyObj.attackNo == 1) { createProjectile("enemy", enemyObj.projType, enemyObj.x, enemyObj.y + enemyObj.rad, enemyObj.z + 2, proj_vx, proj_vy, proj_vz, 20); createProjectile("enemy", enemyObj.projType, enemyObj.x, enemyObj.y + enemyObj.rad, enemyObj.z + 2, proj_vx - 0.6, proj_vy, proj_vz, 20); createProjectile("enemy", enemyObj.projType, enemyObj.x, enemyObj.y + enemyObj.rad, enemyObj.z + 2, proj_vx + 0.6, proj_vy, proj_vz, 20); } else { createProjectile("enemy", enemyObj.projType, enemyObj.x, enemyObj.y + 18, enemyObj.z + 2, proj_vx, proj_vy, proj_vz, 20); createProjectile("enemy", enemyObj.projType, enemyObj.x - 10, enemyObj.y + 18, enemyObj.z + 2, proj_vx - 0.6, proj_vy, proj_vz, 20); createProjectile("enemy", enemyObj.projType, enemyObj.x - 20, enemyObj.y + 18, enemyObj.z + 2, proj_vx - 1.2, proj_vy, proj_vz, 20); createProjectile("enemy", enemyObj.projType, enemyObj.x + 10, enemyObj.y + 18, enemyObj.z + 2, proj_vx + 0.6, proj_vy, proj_vz, 20); createProjectile("enemy", enemyObj.projType, enemyObj.x + 20, enemyObj.y + 18, enemyObj.z + 2, proj_vx + 1.2, proj_vy, proj_vz, 20); } } break; } } updatePerspective(enemyObj); } if (projectileArr.length > 0) { projectileNo = projectileArr.length; while ((projectileNo--) > 0) { projObj = projectileArr[projectileNo]; projectileMC = eval (projObj.target); projExplode = false; switch (projObj.type) { case "Volcano_rock" : projObj.vy = projObj.vy - g.grav; break; case "Seed" : break; } projObj.x = projObj.x + projObj.vx; projObj.y = projObj.y + projObj.vy; projObj.z = projObj.z + projObj.vz; updatePerspective(projObj); projObj.shadow.x = projObj.x; projObj.shadow.y = 0; projObj.shadow.z = projObj.z - 1; updatePerspective(projObj.shadow); projCollision = false; if (projObj.owner == "pL") { arrNo = enemyArr.length; while ((arrNo--) > 0) { enemyObj = enemyArr[arrNo]; if (Abs(enemyObj.x - projObj.x) < (enemyObj.rad + projObj.rad)) { if (Abs(enemyObj.z - projObj.z) < (enemyObj.rad + projObj.rad)) { if ((projObj.y > enemyObj.y) && (projObj.y < (enemyObj.y + enemyObj.h))) { enemyObj.arrayNo = arrNo; enemyGetsHurt(enemyObj, projObj.attackDamage); projExplode = true; } } } } } else if (tempObj.owner == "enemy") { if (Abs(pL.x - projObj.x) < (pL.rad + projObj.rad)) { if (Abs(pL.z - projObj.z) < (pL.rad + projObj.rad)) { if ((projObj.y > pL.y) && (projObj.y < (pL.y + pL.h))) { pLGetsHurt(projObj.attackDamage); projExplode = true; } } } } if ((--projObj.timer) < 0) { projExplode = true; } if (projObj.y < 0) { projExplode = true; } if (projExplode) { temp_x = projectileMC._x; temp_y = projectileMC._y; temp_scale = projectileMC._xscale; game_attachMC.createEmptyMovieClip("expMC", eval (projObj.shadow.target).getDepth()); game_attachMC.createEmptyMovieClip("expMC", projectileMC.getDepth()); game_attachMC.expMC.attachMovie("Volcano_rock_exp", "expMC", 1); game_attachMC.expMC.expMC._x = temp_x; game_attachMC.expMC.expMC._y = temp_y; game_attachMC.expMC.expMC._xscale = (game_attachMC.expMC.expMC._yscale = temp_scale); projectileArr.splice(projectileNo, 1); } } } i = 0; while (i < pickUpItemArr.length) { itemObj = pickUpItemArr[i]; updatePerspective(itemObj); itemExplode = false; if (pL.z > (itemObj.z - Camera.cutoffdistance)) { if (Abs(pL.x - itemObj.x) < (pL.rad + itemObj.rad)) { if (Abs(pL.z - itemObj.z) < (pL.rad + itemObj.rad)) { if ((itemObj.y > pL.y) && (itemObj.y < (pL.y + pL.h))) { switch (itemObj.type) { case "health" : pL.health = pL.health + itemObj.quantity; pL_checkHealth(); message = "health"; break; case "weaponLevel" : if ((pL.weaponLevel++) >= 3) { pL.weaponLevel = 3; } message = "ammo"; break; case "weaponReload" : if ((pL.weaponReload++) >= 3) { pL.weaponReload = 3; } message = "weapon reload"; pL.reloadFr = pL.defaultReloadFr / pL.weaponReload; } itemExplode = true; displayMessage("Picked up " + message); playSound("pickUpItem", itemObj.target, "pickup", 100); } } } } if ((--itemObj.timer) < 0) { itemExplode = true; } if (itemExplode) { itemObj.alpha = 100; fadeAwayArr.push(itemObj); pickUpItemArr.splice(i, 1); } i++; } arrNo = fadeAwayArr.length; while ((arrNo--) > 0) { fadeAwayObj = fadeAwayArr[arrNo]; fadeAwayObj.y = fadeAwayObj.y + 2; updatePerspective(fadeAwayObj); eval (fadeAwayObj.target)._alpha = (fadeAwayObj.alpha = fadeAwayObj.alpha - 5); if (fadeAwayObj.alpha <= 0) { eval (fadeAwayObj.target).removeMovieClip(); fadeAwayArr.splice(arrNo, 1); } } if ((displayMessageFr--) < 0) { statusWindowMC.txtMessage = ""; } if (levelCompleteCounter > 0) { levelCompleteCounter--; trace("almost level complete " + levelCompleteCounter); if (levelCompleteCounter == 0) { game_over(g.missionFinishedReason); } } else { currentTime = int((getTimer() - startTime) / 1000); updateTimer(currentTime); if ((default_start_time + currentTime) >= game_failed_time) { startLevelCompleteCountdown("timeIsUp"); } } } function startLevelCompleteCountdown(reason) { statusWindowMC.missionMessageMC._visible = true; statusWindowMC.missionMessageMC.gotoAndStop(reason); g.missionFinishedReason = reason; trace("g.missionFinishedReason " + g.missionFinishedReason); if (!(reason === "missionComplete")) { } levelCompleteCounter = 2 * FPS; missionMessageMC._visible = true; level_finish_time = getTimer(); } trace((("projectileMC: " + projectileMC) + " :: enemyMC: ") + enemyMC); onKeyDown_game = function () { currKey = Key.getCode(); if (testing_only) { if (currKey == 17) { pL.x = _xmouse; pL.y = _ymouse; } } if (currKey == keyQualityToggle) { if (_quality == "HIGH") { _quality = "MEDIUM"; } else if (_quality == "LOW") { _quality = "HIGH"; } else if (_quality == "MEDIUM") { _quality = "LOW"; } mcQualityStatus.gotoAndPlay(2); displayMessage("QUALITY: " + _quality); mcQualityStatus.txtQuality = (game_quality = _quality); } if (g_stat == "play") { if (Key.isDown(key_pLNextWeapon)) { pL_changeWeapon(1); } else if (Key.isDown(key_pLPrevWeapon)) { pL_changeWeapon(-1); } else if (Key.isDown(key_pLUse)) { trace("PRESSED: USE KEY"); i = 0; while (i < doorArr.length) { doorObj = doorArr[i]; if (doorObj.roomNo == g_roomNo) { doorID = "door_" + doorObj.type; doorBgndID = doorID + "_bgnd"; if ((Abs(pL.x - doorObj.x) < 15) && (Abs(doorObj.y - pL.y) < 5)) { pL.currDoor = doorObj; pL.currDoor.target = doorObj.target; pL.currDoor.usage = "enter"; pL.x = doorObj.x; pL.y = doorObj.y; pL.currDoor.target.gotoAndPlay("open"); } } i++; } } else if (currKey == keyMusicOnOff) { if (playGameMusic) { playGameMusic = false; gameMusicStop(); } else { playGameMusic = true; gameMusicPlay(g.musicSndNo); } } else if (currKey == keyPauseGame) { tempOnEnterFrame = onEnterFrame; tempOnMouseDown = onMouseDown; tempOnMouseUp = onMouseUp; g_stat = "paused"; Mouse.show(); menuWindowMC.gotoAndStop("pause"); pause_start_time = getTimer(); delete onEnterFrame; delete onMouseDown; delete onMouseUp; } } else if (g_stat == "paused") { if (currKey == keyPauseGame) { onEnterFrame = tempOnEnterFrame; onMouseDown = tempOnMouseDown; onMouseUp = tempOnMouseUp; g_stat = "play"; menuWindowMC.gotoAndStop("game_start"); startTime = startTime + (getTimer() - pause_start_time); Mouse.hide(); } } }; onMouseDown_game = function () { }; onMouseUp_game = function () { };
Frame 85
stop();
Symbol 10 MovieClip [Shell] Frame 1
Symbol 14 MovieClip [HellFlame] Frame 1
gotoAndPlay(int(Math.random() * _totalframes) + 1);
Symbol 17 MovieClip [Crypt] Frame 1
gotoAndStop(int(Math.random() * _totalframes) + 1);
Symbol 20 MovieClip [Plant] Frame 1
gotoAndStop(int(Math.random() * _totalframes) + 1);
Symbol 24 Button
on (release) { _root.g_missionNo = buttonNo; _root.showCutScenes(); }
Symbol 28 MovieClip [missionButton] Frame 1
stop();
Symbol 29 Button [missionButton]
on (release) { _root.levelNo = idNo; _root.g.practiceMode = true; trace((_parent.idNo + " : ") + idNo); _root.levelInit(); _parent.gotoAndStop("game_start"); _parent.removePracticeLevelButtons(); }
Symbol 49 MovieClip Frame 1
stop();
Symbol 52 MovieClip [Volcano_rock_exp] Frame 2
this.removeMovieClip();
Symbol 54 MovieClip [proj_Flame] Frame 1
stop();
Symbol 54 MovieClip [proj_Flame] Frame 4
this.removeMovieClip();
Symbol 56 MovieClip [proj_Circles] Frame 1
stop();
Symbol 56 MovieClip [proj_Circles] Frame 4
this.removeMovieClip();
Symbol 58 MovieClip [proj_Bone] Frame 1
_rotation = int(360 * Math.random()); stop();
Symbol 58 MovieClip [proj_Bone] Frame 4
this.removeMovieClip();
Symbol 60 MovieClip [proj_Pin] Frame 1
stop();
Symbol 60 MovieClip [proj_Pin] Frame 4
this.removeMovieClip();
Symbol 63 MovieClip [proj_Swoosh] Frame 1
stop();
Symbol 63 MovieClip [proj_Swoosh] Frame 4
this.removeMovieClip();
Symbol 66 MovieClip [proj_Box] Frame 1
_rotation = (90 * (0.5 - Math.random())); noOfBoxes = 2; gotoAndStop(int(Math.random() * noOfBoxes) + 1);
Symbol 66 MovieClip [proj_Box] Frame 5
this.removeMovieClip();
Symbol 68 MovieClip [proj_PaperBall] Frame 1
stop();
Symbol 68 MovieClip [proj_PaperBall] Frame 4
this.removeMovieClip();
Symbol 70 MovieClip [proj_Spit] Frame 1
stop();
Symbol 70 MovieClip [proj_Spit] Frame 4
this.removeMovieClip();
Symbol 72 MovieClip [Seed] Frame 1
_rotation = int(180 * Math.random()); stop();
Symbol 72 MovieClip [Seed] Frame 4
this.removeMovieClip();
Symbol 81 MovieClip [Boss3_Santa] Frame 1
stop();
Symbol 87 MovieClip [Boss2_Death] Frame 1
stop();
Symbol 91 MovieClip [Boss1_Witch] Frame 1
stop();
Symbol 95 MovieClip [Player] Frame 1
stop();
Symbol 99 MovieClip [Shadow] Frame 1
Symbol 103 MovieClip [DevilChild] Frame 1
stop();
Symbol 109 MovieClip [Ghost] Frame 1
stop();
Symbol 113 MovieClip [Skellie] Frame 1
stop();
Symbol 117 MovieClip [Zombie] Frame 1
stop();
Symbol 125 MovieClip [Frankie] Frame 1
stop();
Symbol 129 MovieClip [Mummy] Frame 1
stop();
Symbol 131 MovieClip [Volcano_rock] Frame 1
stop();
Symbol 131 MovieClip [Volcano_rock] Frame 4
this.removeMovieClip();
Symbol 133 MovieClip [Volcano] Frame 1
stop();
Symbol 145 Button
on (release) { _root.play(); }
Symbol 146 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 2
Symbol 151 Button
on (release) { getURL ("http://www.io3creations.com", "_blank"); }
Symbol 192 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 1
stop();
Symbol 214 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 1
stop();
Symbol 246 Button
on (release) { g_levelNo = (txt_levelNo = 0); }
Symbol 248 Button
on (release) { _root.game_reset(); _root.game_start(); }
Symbol 251 Button
on (release) { gotoAndStop (4); _root.displayKeyAssignments(); }
Symbol 257 Button
on (release) { gotoAndStop (5); }
Symbol 260 Button
on (release) { gotoAndStop (3); }
Symbol 283 Button
on (release) { gotoAndStop (1); }
Symbol 290 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 2
stop();
Symbol 307 Button
on (release) { _root.game_nextLevel(); }
Symbol 309 Button
on (release) { _root.gotoMainMenu(); }
Symbol 315 MovieClip Frame 1
Mouse.show(); _quality = "HIGH"; stopAllSounds(); stop();
Symbol 315 MovieClip Frame 3
_root.displayUnlockedLevels();
Instance of Symbol 290 MovieClip "key_pLMoveLeft" in Symbol 315 MovieClip Frame 4
onClipEvent (load) { _root.displayKeyValue(this); } onClipEvent (keyUp) { _root.setKeyValue(this); } onClipEvent (mouseUp) { _root.highlightKey(this); }
Instance of Symbol 290 MovieClip "key_pLMoveRight" in Symbol 315 MovieClip Frame 4
onClipEvent (load) { _root.displayKeyValue(this); } onClipEvent (keyUp) { _root.setKeyValue(this); } onClipEvent (mouseUp) { _root.highlightKey(this); }
Instance of Symbol 290 MovieClip "key_pLMoveForward" in Symbol 315 MovieClip Frame 4
onClipEvent (load) { _root.displayKeyValue(this); } onClipEvent (keyUp) { _root.setKeyValue(this); } onClipEvent (mouseUp) { _root.highlightKey(this); }
Instance of Symbol 290 MovieClip "keyQualityToggle" in Symbol 315 MovieClip Frame 4
onClipEvent (load) { _root.displayKeyValue(this); } onClipEvent (keyUp) { _root.setKeyValue(this); } onClipEvent (mouseUp) { _root.highlightKey(this); }
Instance of Symbol 290 MovieClip "keyMusicOnOff" in Symbol 315 MovieClip Frame 4
onClipEvent (load) { _root.displayKeyValue(this); } onClipEvent (keyUp) { _root.setKeyValue(this); } onClipEvent (mouseUp) { _root.highlightKey(this); }
Instance of Symbol 290 MovieClip "keyPauseGame" in Symbol 315 MovieClip Frame 4
onClipEvent (load) { _root.displayKeyValue(this); } onClipEvent (keyUp) { _root.setKeyValue(this); } onClipEvent (mouseUp) { _root.highlightKey(this); }
Instance of Symbol 290 MovieClip "key_pLMoveBack" in Symbol 315 MovieClip Frame 4
onClipEvent (load) { _root.displayKeyValue(this); } onClipEvent (keyUp) { _root.setKeyValue(this); } onClipEvent (mouseUp) { _root.highlightKey(this); }
Instance of Symbol 290 MovieClip "key_pLFire" in Symbol 315 MovieClip Frame 4
onClipEvent (load) { _root.displayKeyValue(this); } onClipEvent (keyUp) { _root.setKeyValue(this); } onClipEvent (mouseUp) { _root.highlightKey(this); }

Library Items

Symbol 1 GraphicUsed by:3
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClip [Finish]Uses:1 2
Symbol 4 GraphicUsed by:8 315
Symbol 5 GraphicUsed by:8 315
Symbol 6 GraphicUsed by:8 315
Symbol 7 GraphicUsed by:8 315
Symbol 8 MovieClip [pickUpItem]Uses:4 5 6 7
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClip [Shell]Uses:9
Symbol 11 ShapeTweeningUsed by:14
Symbol 12 ShapeTweeningUsed by:14
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClip [HellFlame]Uses:11 12 13
Symbol 15 GraphicUsed by:17
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClip [Crypt]Uses:15 16
Symbol 18 GraphicUsed by:20
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClip [Plant]Uses:18 19
Symbol 21 GraphicUsed by:24 246
Symbol 22 GraphicUsed by:24 246
Symbol 23 GraphicUsed by:24 246
Symbol 24 ButtonUses:21 22 23Used by:28 29
Symbol 25 FontUsed by:26 142 143 148 149 195 205 206 207 208 209 210 211 212 213 230 249 250 252 255 256 258 259 264 281 282 285 296 303 304 305 306 310 311 313 314
Symbol 26 EditableTextUses:25Used by:28 29
Symbol 27 GraphicUsed by:28 29
Symbol 28 MovieClip [missionButton]Uses:24 26 27
Symbol 29 Button [missionButton]Uses:24 26 27Used by:50
Symbol 30 GraphicUsed by:49
Symbol 31 GraphicUsed by:49
Symbol 32 GraphicUsed by:49
Symbol 33 GraphicUsed by:49
Symbol 34 GraphicUsed by:49
Symbol 35 GraphicUsed by:49
Symbol 36 GraphicUsed by:49
Symbol 37 GraphicUsed by:49
Symbol 38 GraphicUsed by:49
Symbol 39 GraphicUsed by:49
Symbol 40 GraphicUsed by:49
Symbol 41 GraphicUsed by:49
Symbol 42 GraphicUsed by:49
Symbol 43 GraphicUsed by:49
Symbol 44 GraphicUsed by:49
Symbol 45 GraphicUsed by:49
Symbol 46 GraphicUsed by:49
Symbol 47 GraphicUsed by:49
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClipUses:30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48Used by:50
Symbol 50 MovieClip [practiceLevel_Button]Uses:29 49
Symbol 51 GraphicUsed by:52 54 56 58 60 66 68 70 72 131
Symbol 52 MovieClip [Volcano_rock_exp]Uses:51
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClip [proj_Flame]Uses:53 51
Symbol 55 GraphicUsed by:56
Symbol 56 MovieClip [proj_Circles]Uses:55 51
Symbol 57 GraphicUsed by:58
Symbol 58 MovieClip [proj_Bone]Uses:57 51
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClip [proj_Pin]Uses:59 51
Symbol 61 GraphicUsed by:63
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClip [proj_Swoosh]Uses:61 62
Symbol 64 GraphicUsed by:66
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClip [proj_Box]Uses:64 65 51
Symbol 67 GraphicUsed by:68
Symbol 68 MovieClip [proj_PaperBall]Uses:67 51
Symbol 69 GraphicUsed by:70
Symbol 70 MovieClip [proj_Spit]Uses:69 51
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClip [Seed]Uses:71 51
Symbol 73 GraphicUsed by:81
Symbol 74 GraphicUsed by:78
Symbol 75 GraphicUsed by:78
Symbol 76 GraphicUsed by:78 107
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClipUses:74 75 76 77Used by:81 103 113 117 129
Symbol 79 GraphicUsed by:81
Symbol 80 GraphicUsed by:81
Symbol 81 MovieClip [Boss3_Santa]Uses:73 78 79 80
Symbol 82 GraphicUsed by:87
Symbol 83 GraphicUsed by:85 87
Symbol 84 GraphicUsed by:85 87
Symbol 85 MovieClipUses:83 84Used by:87
Symbol 86 GraphicUsed by:87
Symbol 87 MovieClip [Boss2_Death]Uses:82 85 86 83 84
Symbol 88 GraphicUsed by:91
Symbol 89 GraphicUsed by:91
Symbol 90 GraphicUsed by:91
Symbol 91 MovieClip [Boss1_Witch]Uses:88 89 90
Symbol 92 GraphicUsed by:95
Symbol 93 GraphicUsed by:95
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClip [Player]Uses:92 93 94
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClip [Bubble]Uses:96
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClip [Shadow]Uses:98
Symbol 100 GraphicUsed by:103
Symbol 101 GraphicUsed by:103
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClip [DevilChild]Uses:100 78 101 102Used by:315
Symbol 104 GraphicUsed by:109
Symbol 105 GraphicUsed by:109
Symbol 106 GraphicUsed by:107
Symbol 107 MovieClipUses:76 106Used by:109
Symbol 108 GraphicUsed by:109
Symbol 109 MovieClip [Ghost]Uses:104 105 107 108Used by:315
Symbol 110 GraphicUsed by:113
Symbol 111 GraphicUsed by:113
Symbol 112 GraphicUsed by:113
Symbol 113 MovieClip [Skellie]Uses:110 78 111 112Used by:315
Symbol 114 GraphicUsed by:117
Symbol 115 GraphicUsed by:117
Symbol 116 GraphicUsed by:117
Symbol 117 MovieClip [Zombie]Uses:114 78 115 116Used by:315
Symbol 118 GraphicUsed by:125
Symbol 119 GraphicUsed by:122
Symbol 120 GraphicUsed by:122
Symbol 121 GraphicUsed by:122
Symbol 122 MovieClipUses:119 120 121Used by:125
Symbol 123 GraphicUsed by:125
Symbol 124 GraphicUsed by:125
Symbol 125 MovieClip [Frankie]Uses:118 122 123 124Used by:315
Symbol 126 GraphicUsed by:129
Symbol 127 GraphicUsed by:129
Symbol 128 GraphicUsed by:129
Symbol 129 MovieClip [Mummy]Uses:126 78 127 128Used by:315
Symbol 130 GraphicUsed by:131
Symbol 131 MovieClip [Volcano_rock]Uses:130 51Used by:315
Symbol 132 GraphicUsed by:133
Symbol 133 MovieClip [Volcano]Uses:132Used by:315
Symbol 134 GraphicUsed by:Timeline
Symbol 135 GraphicUsed by:146
Symbol 136 FontUsed by:137 138 139 140 141
Symbol 137 TextUses:136Used by:146
Symbol 138 EditableTextUses:136Used by:146
Symbol 139 EditableTextUses:136Used by:146
Symbol 140 TextUses:136Used by:146
Symbol 141 TextUses:136Used by:146
Symbol 142 TextUses:25Used by:145 248
Symbol 143 TextUses:25Used by:145 248
Symbol 144 GraphicUsed by:145 248 251 257 260 283 307 309
Symbol 145 ButtonUses:142 143 144Used by:146
Symbol 146 MovieClipUses:135 137 138 139 140 141 145Used by:Timeline
Symbol 147 GraphicUsed by:151
Symbol 148 TextUses:25Used by:151
Symbol 149 TextUses:25Used by:151
Symbol 150 GraphicUsed by:151
Symbol 151 ButtonUses:147 148 149 150Used by:315  Timeline
Symbol 152 GraphicUsed by:Timeline
Symbol 153 GraphicUsed by:Timeline
Symbol 154 GraphicUsed by:Timeline
Symbol 155 GraphicUsed by:Timeline
Symbol 156 GraphicUsed by:Timeline
Symbol 157 GraphicUsed by:Timeline
Symbol 158 GraphicUsed by:Timeline
Symbol 159 GraphicUsed by:Timeline
Symbol 160 GraphicUsed by:Timeline
Symbol 161 GraphicUsed by:Timeline
Symbol 162 GraphicUsed by:Timeline
Symbol 163 GraphicUsed by:Timeline
Symbol 164 GraphicUsed by:Timeline
Symbol 165 GraphicUsed by:Timeline
Symbol 166 GraphicUsed by:Timeline
Symbol 167 GraphicUsed by:Timeline
Symbol 168 FontUsed by:169
Symbol 169 TextUses:168Used by:Timeline
Symbol 170 GraphicUsed by:Timeline
Symbol 171 GraphicUsed by:Timeline
Symbol 172 GraphicUsed by:Timeline
Symbol 173 GraphicUsed by:Timeline
Symbol 174 GraphicUsed by:Timeline
Symbol 175 GraphicUsed by:Timeline
Symbol 176 GraphicUsed by:Timeline
Symbol 177 GraphicUsed by:Timeline
Symbol 178 GraphicUsed by:Timeline
Symbol 179 GraphicUsed by:Timeline
Symbol 180 GraphicUsed by:Timeline
Symbol 181 GraphicUsed by:Timeline
Symbol 182 GraphicUsed by:192
Symbol 183 GraphicUsed by:192
Symbol 184 FontUsed by:185
Symbol 185 TextUses:184Used by:192
Symbol 186 BitmapUsed by:187
Symbol 187 GraphicUses:186Used by:192
Symbol 188 BitmapUsed by:189
Symbol 189 GraphicUses:188Used by:192
Symbol 190 BitmapUsed by:191
Symbol 191 GraphicUses:190Used by:192
Symbol 192 MovieClipUses:182 183 185 187 189 191Used by:193
Symbol 193 MovieClipUses:192Used by:Timeline
Symbol 194 GraphicUsed by:203
Symbol 195 TextUses:25Used by:203
Symbol 196 Sound [pLattack]Used by:203
Symbol 197 Sound [pickup]Used by:203
Symbol 198 Sound [enemySaved]Used by:203
Symbol 199 Sound [hit1]Used by:203
Symbol 200 Sound [hit2]Used by:203
Symbol 201 Sound [music2]Used by:203
Symbol 202 Sound [music1]Used by:203
Symbol 203 MovieClipUses:194 195 196 197 198 199 200 201 202Used by:Timeline
Symbol 204 GraphicUsed by:245
Symbol 205 EditableTextUses:25Used by:214
Symbol 206 EditableTextUses:25Used by:214
Symbol 207 EditableTextUses:25Used by:214
Symbol 208 EditableTextUses:25Used by:214
Symbol 209 EditableTextUses:25Used by:214
Symbol 210 EditableTextUses:25Used by:214
Symbol 211 EditableTextUses:25Used by:214
Symbol 212 EditableTextUses:25Used by:214
Symbol 213 EditableTextUses:25Used by:214
Symbol 214 MovieClipUses:205 206 207 208 209 210 211 212 213Used by:245
Symbol 215 FontUsed by:216 217 218 265 266 267 268 271 272 273 274 275 276 277 286 288 297 299 300
Symbol 216 TextUses:215Used by:245
Symbol 217 TextUses:215Used by:245
Symbol 218 TextUses:215Used by:245
Symbol 219 GraphicUsed by:229
Symbol 220 GraphicUsed by:229
Symbol 221 GraphicUsed by:229
Symbol 222 GraphicUsed by:229
Symbol 223 GraphicUsed by:229
Symbol 224 GraphicUsed by:229
Symbol 225 GraphicUsed by:229
Symbol 226 GraphicUsed by:229
Symbol 227 GraphicUsed by:229
Symbol 228 GraphicUsed by:229
Symbol 229 MovieClipUses:219 220 221 222 223 224 225 226 227 228Used by:245
Symbol 230 EditableTextUses:25Used by:245
Symbol 231 GraphicUsed by:234
Symbol 232 GraphicUsed by:233
Symbol 233 MovieClipUses:232Used by:234
Symbol 234 MovieClipUses:231 233Used by:243 245
Symbol 235 FontUsed by:236 237 253
Symbol 236 TextUses:235Used by:243
Symbol 237 TextUses:235Used by:243
Symbol 238 GraphicUsed by:243
Symbol 239 GraphicUsed by:243
Symbol 240 GraphicUsed by:243
Symbol 241 GraphicUsed by:243
Symbol 242 GraphicUsed by:243
Symbol 243 MovieClipUses:236 234 237 238 239 240 241 242Used by:245
Symbol 244 GraphicUsed by:245
Symbol 245 MovieClipUses:204 214 216 217 218 229 230 234 243 244Used by:Timeline
Symbol 246 ButtonUses:21 22 23Used by:Timeline
Symbol 247 GraphicUsed by:315
Symbol 248 ButtonUses:142 143 144Used by:315
Symbol 249 TextUses:25Used by:251
Symbol 250 TextUses:25Used by:251
Symbol 251 ButtonUses:249 250 144Used by:315
Symbol 252 TextUses:25Used by:315
Symbol 253 TextUses:235Used by:315
Symbol 254 GraphicUsed by:315
Symbol 255 TextUses:25Used by:257
Symbol 256 TextUses:25Used by:257
Symbol 257 ButtonUses:255 256 144Used by:315
Symbol 258 TextUses:25Used by:260
Symbol 259 TextUses:25Used by:260
Symbol 260 ButtonUses:258 259 144Used by:315
Symbol 261 GraphicUsed by:315
Symbol 262 GraphicUsed by:315
Symbol 263 GraphicUsed by:315
Symbol 264 TextUses:25Used by:315
Symbol 265 TextUses:215Used by:315
Symbol 266 TextUses:215Used by:315
Symbol 267 TextUses:215Used by:315
Symbol 268 TextUses:215Used by:315
Symbol 269 FontUsed by:270 278 279 286 291 292 293 294 297 298 301
Symbol 270 TextUses:269Used by:315
Symbol 271 TextUses:215Used by:315
Symbol 272 TextUses:215Used by:315
Symbol 273 TextUses:215Used by:315
Symbol 274 TextUses:215Used by:315
Symbol 275 TextUses:215Used by:315
Symbol 276 TextUses:215Used by:315
Symbol 277 TextUses:215Used by:315
Symbol 278 TextUses:269Used by:315
Symbol 279 TextUses:269Used by:315
Symbol 280 GraphicUsed by:315
Symbol 281 TextUses:25Used by:283 309
Symbol 282 TextUses:25Used by:283 309
Symbol 283 ButtonUses:281 282 144Used by:315
Symbol 284 GraphicUsed by:315
Symbol 285 TextUses:25Used by:315
Symbol 286 TextUses:269 215Used by:315
Symbol 287 GraphicUsed by:290
Symbol 288 EditableTextUses:215Used by:290
Symbol 289 GraphicUsed by:290
Symbol 290 MovieClipUses:287 288 289Used by:315
Symbol 291 TextUses:269Used by:315
Symbol 292 TextUses:269Used by:315
Symbol 293 TextUses:269Used by:315
Symbol 294 TextUses:269Used by:315
Symbol 295 GraphicUsed by:315
Symbol 296 TextUses:25Used by:315
Symbol 297 TextUses:269 215Used by:315
Symbol 298 EditableTextUses:269Used by:315
Symbol 299 TextUses:215Used by:315
Symbol 300 TextUses:215Used by:315
Symbol 301 EditableTextUses:269Used by:315
Symbol 302 GraphicUsed by:315
Symbol 303 TextUses:25Used by:315
Symbol 304 TextUses:25Used by:315
Symbol 305 TextUses:25Used by:307
Symbol 306 TextUses:25Used by:307
Symbol 307 ButtonUses:305 306 144Used by:315
Symbol 308 GraphicUsed by:315
Symbol 309 ButtonUses:281 282 144Used by:315
Symbol 310 TextUses:25Used by:315
Symbol 311 TextUses:25Used by:315
Symbol 312 GraphicUsed by:315
Symbol 313 TextUses:25Used by:315
Symbol 314 TextUses:25Used by:315
Symbol 315 MovieClipUses:247 248 251 252 253 254 257 151 260 261 262 263 264 265 266 267 268 270 133 271 272 131 129 125 273 117 274 113 275 109 276 103 277 4 5 6 7 278 279 280 283 284 285 286 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 307 308 309 310 311 312 313 314Used by:Timeline
Symbol 316 GraphicUsed by:317
Symbol 317 MovieClipUses:316Used by:Timeline

Instance Names

"mcLoader"Frame 1Symbol 146 MovieClip
"game_MC"Frame 84Symbol 193 MovieClip
"music_MC"Frame 84Symbol 203 MovieClip
"statusWindowMC"Frame 84Symbol 245 MovieClip
"menuWindowMC"Frame 84Symbol 315 MovieClip
"gameCoverMC"Frame 84Symbol 317 MovieClip
"txtMissionNo"Symbol 28 MovieClip [missionButton] Frame 1Symbol 26 EditableText
"bgndMC"Symbol 50 MovieClip [practiceLevel_Button] Frame 1Symbol 49 MovieClip
"bgnd_MC"Symbol 193 MovieClip Frame 1Symbol 192 MovieClip
"barMC"Symbol 234 MovieClip Frame 1Symbol 233 MovieClip
"heathMC"Symbol 243 MovieClip Frame 1Symbol 234 MovieClip
"missionMessageMC"Symbol 245 MovieClip Frame 1Symbol 214 MovieClip
"time_1s_MC"Symbol 245 MovieClip Frame 1Symbol 229 MovieClip
"time_10s_MC"Symbol 245 MovieClip Frame 1Symbol 229 MovieClip
"time_1m_MC"Symbol 245 MovieClip Frame 1Symbol 229 MovieClip
"time_10m_MC"Symbol 245 MovieClip Frame 1Symbol 229 MovieClip
"time_1h_MC"Symbol 245 MovieClip Frame 1Symbol 229 MovieClip
"time_10h_MC"Symbol 245 MovieClip Frame 1Symbol 229 MovieClip
"pL_heathMC"Symbol 245 MovieClip Frame 1Symbol 234 MovieClip
"EnemyStatusMC"Symbol 245 MovieClip Frame 1Symbol 243 MovieClip
"key_pLMoveLeft"Symbol 315 MovieClip Frame 4Symbol 290 MovieClip
"key_pLMoveRight"Symbol 315 MovieClip Frame 4Symbol 290 MovieClip
"key_pLMoveForward"Symbol 315 MovieClip Frame 4Symbol 290 MovieClip
"keyQualityToggle"Symbol 315 MovieClip Frame 4Symbol 290 MovieClip
"keyMusicOnOff"Symbol 315 MovieClip Frame 4Symbol 290 MovieClip
"keyPauseGame"Symbol 315 MovieClip Frame 4Symbol 290 MovieClip
"key_pLMoveBack"Symbol 315 MovieClip Frame 4Symbol 290 MovieClip
"key_pLFire"Symbol 315 MovieClip Frame 4Symbol 290 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 3 as "Finish"
ExportAssets (56)Timeline Frame 1Symbol 8 as "pickUpItem"
ExportAssets (56)Timeline Frame 1Symbol 10 as "Shell"
ExportAssets (56)Timeline Frame 1Symbol 14 as "HellFlame"
ExportAssets (56)Timeline Frame 1Symbol 17 as "Crypt"
ExportAssets (56)Timeline Frame 1Symbol 20 as "Plant"
ExportAssets (56)Timeline Frame 1Symbol 28 as "missionButton"
ExportAssets (56)Timeline Frame 1Symbol 29 as "missionButton"
ExportAssets (56)Timeline Frame 1Symbol 29 as "missionButton"
ExportAssets (56)Timeline Frame 1Symbol 50 as "practiceLevel_Button"
ExportAssets (56)Timeline Frame 1Symbol 52 as "Volcano_rock_exp"
ExportAssets (56)Timeline Frame 1Symbol 54 as "proj_Flame"
ExportAssets (56)Timeline Frame 1Symbol 56 as "proj_Circles"
ExportAssets (56)Timeline Frame 1Symbol 58 as "proj_Bone"
ExportAssets (56)Timeline Frame 1Symbol 60 as "proj_Pin"
ExportAssets (56)Timeline Frame 1Symbol 63 as "proj_Swoosh"
ExportAssets (56)Timeline Frame 1Symbol 66 as "proj_Box"
ExportAssets (56)Timeline Frame 1Symbol 68 as "proj_PaperBall"
ExportAssets (56)Timeline Frame 1Symbol 70 as "proj_Spit"
ExportAssets (56)Timeline Frame 1Symbol 72 as "Seed"
ExportAssets (56)Timeline Frame 1Symbol 81 as "Boss3_Santa"
ExportAssets (56)Timeline Frame 1Symbol 87 as "Boss2_Death"
ExportAssets (56)Timeline Frame 1Symbol 91 as "Boss1_Witch"
ExportAssets (56)Timeline Frame 1Symbol 95 as "Player"
ExportAssets (56)Timeline Frame 1Symbol 97 as "Bubble"
ExportAssets (56)Timeline Frame 1Symbol 99 as "Shadow"
ExportAssets (56)Timeline Frame 1Symbol 103 as "DevilChild"
ExportAssets (56)Timeline Frame 1Symbol 109 as "Ghost"
ExportAssets (56)Timeline Frame 1Symbol 113 as "Skellie"
ExportAssets (56)Timeline Frame 1Symbol 117 as "Zombie"
ExportAssets (56)Timeline Frame 1Symbol 125 as "Frankie"
ExportAssets (56)Timeline Frame 1Symbol 129 as "Mummy"
ExportAssets (56)Timeline Frame 1Symbol 131 as "Volcano_rock"
ExportAssets (56)Timeline Frame 1Symbol 133 as "Volcano"
ExportAssets (56)Timeline Frame 84Symbol 196 as "pLattack"
ExportAssets (56)Timeline Frame 84Symbol 197 as "pickup"
ExportAssets (56)Timeline Frame 84Symbol 198 as "enemySaved"
ExportAssets (56)Timeline Frame 84Symbol 199 as "hit1"
ExportAssets (56)Timeline Frame 84Symbol 200 as "hit2"
ExportAssets (56)Timeline Frame 84Symbol 201 as "music2"
ExportAssets (56)Timeline Frame 84Symbol 202 as "music1"
ExportAssets (56)Timeline Frame 84Symbol 133 as "Volcano"
ExportAssets (56)Timeline Frame 84Symbol 131 as "Volcano_rock"
ExportAssets (56)Timeline Frame 84Symbol 131 as "Volcano_rock"
ExportAssets (56)Timeline Frame 84Symbol 131 as "Volcano_rock"
ExportAssets (56)Timeline Frame 84Symbol 129 as "Mummy"
ExportAssets (56)Timeline Frame 84Symbol 125 as "Frankie"
ExportAssets (56)Timeline Frame 84Symbol 117 as "Zombie"
ExportAssets (56)Timeline Frame 84Symbol 113 as "Skellie"
ExportAssets (56)Timeline Frame 84Symbol 109 as "Ghost"
ExportAssets (56)Timeline Frame 84Symbol 103 as "DevilChild"

Labels

"health"Symbol 8 MovieClip [pickUpItem] Frame 1
"weaponLevel"Symbol 8 MovieClip [pickUpItem] Frame 2
"weaponReload"Symbol 8 MovieClip [pickUpItem] Frame 3
"unlocked"Symbol 28 MovieClip [missionButton] Frame 1
"locked"Symbol 28 MovieClip [missionButton] Frame 2
"mission_1"Symbol 49 MovieClip Frame 1
"mission_2"Symbol 49 MovieClip Frame 2
"explode"Symbol 52 MovieClip [Volcano_rock_exp] Frame 1
"explode"Symbol 54 MovieClip [proj_Flame] Frame 2
"explode"Symbol 56 MovieClip [proj_Circles] Frame 2
"explode"Symbol 58 MovieClip [proj_Bone] Frame 2
"explode"Symbol 60 MovieClip [proj_Pin] Frame 2
"explode"Symbol 63 MovieClip [proj_Swoosh] Frame 2
"explode"Symbol 66 MovieClip [proj_Box] Frame 3
"explode"Symbol 68 MovieClip [proj_PaperBall] Frame 2
"explode"Symbol 70 MovieClip [proj_Spit] Frame 2
"explode"Symbol 72 MovieClip [Seed] Frame 2
"B"Symbol 81 MovieClip [Boss3_Santa] Frame 1
"F"Symbol 81 MovieClip [Boss3_Santa] Frame 2
"dies"Symbol 81 MovieClip [Boss3_Santa] Frame 3
"B"Symbol 87 MovieClip [Boss2_Death] Frame 1
"F"Symbol 87 MovieClip [Boss2_Death] Frame 2
"dies"Symbol 87 MovieClip [Boss2_Death] Frame 3
"B"Symbol 91 MovieClip [Boss1_Witch] Frame 1
"F"Symbol 91 MovieClip [Boss1_Witch] Frame 2
"dies"Symbol 91 MovieClip [Boss1_Witch] Frame 3
"L"Symbol 95 MovieClip [Player] Frame 1
"F"Symbol 95 MovieClip [Player] Frame 2
"R"Symbol 95 MovieClip [Player] Frame 3
"B"Symbol 103 MovieClip [DevilChild] Frame 1
"F"Symbol 103 MovieClip [DevilChild] Frame 2
"dies"Symbol 103 MovieClip [DevilChild] Frame 3
"B"Symbol 109 MovieClip [Ghost] Frame 1
"F"Symbol 109 MovieClip [Ghost] Frame 2
"dies"Symbol 109 MovieClip [Ghost] Frame 3
"B"Symbol 113 MovieClip [Skellie] Frame 1
"F"Symbol 113 MovieClip [Skellie] Frame 2
"dies"Symbol 113 MovieClip [Skellie] Frame 3
"B"Symbol 117 MovieClip [Zombie] Frame 1
"F"Symbol 117 MovieClip [Zombie] Frame 2
"dies"Symbol 117 MovieClip [Zombie] Frame 3
"B"Symbol 125 MovieClip [Frankie] Frame 1
"F"Symbol 125 MovieClip [Frankie] Frame 2
"dies"Symbol 125 MovieClip [Frankie] Frame 3
"B"Symbol 129 MovieClip [Mummy] Frame 1
"F"Symbol 129 MovieClip [Mummy] Frame 2
"dies"Symbol 129 MovieClip [Mummy] Frame 3
"explode"Symbol 131 MovieClip [Volcano_rock] Frame 2
"B"Symbol 133 MovieClip [Volcano] Frame 1
"F"Symbol 133 MovieClip [Volcano] Frame 2
"mission_1"Symbol 192 MovieClip Frame 2
"mission_2"Symbol 192 MovieClip Frame 3
"mission_3"Symbol 192 MovieClip Frame 4
"none"Symbol 214 MovieClip Frame 1
"missionComplete"Symbol 214 MovieClip Frame 2
"pL_dead"Symbol 214 MovieClip Frame 3
"timeIsUp"Symbol 214 MovieClip Frame 4
"FailedToSaveAll"Symbol 214 MovieClip Frame 5
"none"Symbol 243 MovieClip Frame 1
"boss"Symbol 243 MovieClip Frame 2
"stationary2"Symbol 243 MovieClip Frame 3
"stationary3"Symbol 243 MovieClip Frame 4
"turret1"Symbol 243 MovieClip Frame 5
"flying1"Symbol 243 MovieClip Frame 6
"flying2"Symbol 243 MovieClip Frame 7
"flying3"Symbol 243 MovieClip Frame 8
"walker1"Symbol 243 MovieClip Frame 9
"zombie1"Symbol 243 MovieClip Frame 10
"crawler1"Symbol 243 MovieClip Frame 11
"bat1"Symbol 243 MovieClip Frame 12
"wasp1"Symbol 243 MovieClip Frame 13
"Demon1"Symbol 243 MovieClip Frame 14
"GiantSpider1"Symbol 243 MovieClip Frame 15
"GiantWasp1"Symbol 243 MovieClip Frame 16
"main_menu"Symbol 315 MovieClip Frame 1
"game_start"Symbol 315 MovieClip Frame 2
"instructions"Symbol 315 MovieClip Frame 3
"controls"Symbol 315 MovieClip Frame 4
"music"Symbol 315 MovieClip Frame 5
"pause"Symbol 315 MovieClip Frame 6
"missionComplete"Symbol 315 MovieClip Frame 7
"game_complete"Symbol 315 MovieClip Frame 8
"pL_dies"Symbol 315 MovieClip Frame 9

Dynamic Text Variables

txtPercentLoadedSymbol 138 EditableText"   1"
txtPercentLoadedSymbol 139 EditableText"   1"
txtMessageSymbol 230 EditableText"NO MESSAGE"
txtKeySymbol 288 EditableText"x"




http://swfchan.com/3/11326/info.shtml
Created: 7/6 -2019 10:30:23 Last modified: 7/6 -2019 10:30:23 Server time: 22/12 -2024 16:08:23