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

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

Arrival In Hell 2 - escape from your cell and also out of the prison.swf

This is the info page for
Flash #93171

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


ActionScript [AS1/AS2]
Combined Code
movieClip 169 { } movieClip 171 { } movieClip 173 { } movieClip 175 { } movieClip 177 { } movieClip 179 { } movieClip 181 { } movieClip 183 { } movieClip 185 { } movieClip 187 { } movieClip 189 { } movieClip 191 { } movieClip 192 ChetahMove1_mc { } frame 1 { function playSounds(SOUND) { Quotes += 1; var v2 = new Sound(container1); v2.attachSound(SOUND); v2.stop(); v2.setVolume(_root.Volume_FX); v2.start(); } function playMusic() { GamePlayMusic.stop(); GamePlayMusic.setVolume(_root.Volume_Music); GamePlayMusic.start(); } function moveCharTo(mc, toX, toY) { return moveCharToDist(mc, toX, toY, mc_speed); } function moveCharToDist(mc, toX, toY, dist) { distX = toX - mc._x; distY = toY - mc._y; totalDist = Math.sqrt(Math.pow(distX, 2) + Math.pow(distY, 2)); angle = Math.atan2(distX, distY); if (angle >= upwards_threshold || angle <= -upwards_threshold) { mc.gotoAndStop('walk_up'); xMod = Math.sin(angle) * dist; yMod = Math.cos(angle) * dist; mc._x += xMod; mc._y += yMod; scaleChar(mc); return totalDist; } if (angle < upwards_threshold && angle >= mid_up_threshold) { mc.gotoAndStop('walk_up_right'); xMod = Math.sin(angle) * dist; yMod = Math.cos(angle) * dist; mc._x += xMod; mc._y += yMod; scaleChar(mc); return totalDist; } if (angle < mid_up_threshold && angle >= mid_down_threshold) { mc.gotoAndStop('walk_right'); xMod = Math.sin(angle) * dist; yMod = Math.cos(angle) * dist; mc._x += xMod; mc._y += yMod; scaleChar(mc); return totalDist; } if (angle < mid_down_threshold && angle >= downwards_threshold) { mc.gotoAndStop('walk_down_right'); xMod = Math.sin(angle) * dist; yMod = Math.cos(angle) * dist; mc._x += xMod; mc._y += yMod; scaleChar(mc); return totalDist; } if (angle < downwards_threshold && angle >= -downwards_threshold) { mc.gotoAndStop('walk_down'); xMod = Math.sin(angle) * dist; yMod = Math.cos(angle) * dist; mc._x += xMod; mc._y += yMod; scaleChar(mc); return totalDist; } if (angle < -downwards_threshold && angle >= -mid_down_threshold) { mc.gotoAndStop('walk_down_left'); xMod = Math.sin(angle) * dist; yMod = Math.cos(angle) * dist; mc._x += xMod; mc._y += yMod; scaleChar(mc); return totalDist; } if (angle < -mid_down_threshold && angle >= -mid_up_threshold) { mc.gotoAndStop('walk_left'); xMod = Math.sin(angle) * dist; yMod = Math.cos(angle) * dist; mc._x += xMod; mc._y += yMod; scaleChar(mc); return totalDist; } if (angle < -mid_up_threshold && angle >= -upwards_threshold) { mc.gotoAndStop('walk_up_left'); xMod = Math.sin(angle) * dist; yMod = Math.cos(angle) * dist; mc._x += xMod; mc._y += yMod; scaleChar(mc); return totalDist; } mc.gotoAndStop('walk'); xMod = Math.sin(angle) * dist; yMod = Math.cos(angle) * dist; mc._x += xMod; mc._y += yMod; scaleChar(mc); return totalDist; } function scaleChar(mc) { mc._xscale = mc._y / mc_scale_factor + mc_scale_mod; mc._yscale = mc._xscale; } function resetClicks() { click_action = ''; PlayBack = ''; click_action_item = ''; roll_action = ''; click_object = ''; roll_object = ''; cursor_mc.gotoAndStop(1); hud.hud_display.gotoAndStop(1); Using = ''; UsingobjectsArray = undefined; UsingnamessArray = undefined; UsingdescArrayr = undefined; UsingkindArray = undefined; } function ItemCombiner(ItemObject, ItemName, ItemDesc, ItemKind, PlaySound, SOCKET, Eliminate) { if (Eliminate == false) { objectsArray[SOCKET] = ItemObject; namessArray[SOCKET] = ItemName; descArray[SOCKET] = ItemDesc; kindArray[SOCKET] = ItemKind; playSounds(PlaySound); InspectID = objectsArray[SOCKET]; InspectName = namessArray[SOCKET]; InspectDesc = descArray[SOCKET]; InspectKind = kindArray[SOCKET]; hud.hud_display.gotoAndStop(2); hud.gotoAndPlay('view'); resetClicks(); } else { if (Eliminate == true) { objectsArray[SOCKET] = ItemObject; namessArray[SOCKET] = ItemName; descArray[SOCKET] = ItemDesc; kindArray[SOCKET] = ItemKind; playSounds(PlaySound); if (SOCKET == 0) { InspectID = objectsArray[0]; InspectName = namessArray[0]; InspectDesc = descArray[0]; InspectKind = kindArray[0]; } else { if (SOCKET >= 1) { InspectID = objectsArray[SOCKET]; InspectName = namessArray[SOCKET]; InspectDesc = descArray[SOCKET]; InspectKind = kindArray[SOCKET]; } } hud.hud_display.gotoAndStop(2); hud.gotoAndPlay('view'); objectsArray.splice(UsingobjectsArray, 1); namessArray.splice(UsingobjectsArray, 1); descArray.splice(UsingobjectsArray, 1); kindArray.splice(UsingobjectsArray, 1); resetClicks(); } } } function Sockets(Target, SOCKET) { if (objectsArray[SOCKET] != undefined) { Target.gotoAndStop(objectsArray[SOCKET]); } else { if (objectsArray[SOCKET] == undefined) { Target.gotoAndStop(52); } } } function UseItem(Target, SOCKET) { Target.onRelease = function () { if (roll_action == '' || roll_action == 'Grab') { if (namessArray[SOCKET] != undefined) { roll_action = 'Grab'; if (Using == 'Lighter' && namessArray[SOCKET] == 'Shiv') { ItemCombiner(2, 'Burning Shiv', 'A Burning shiv. Still sharp though', 'Combination', 'Fantastic', SOCKET, false); } else { if (Using == 'Blood Test Tubes' && namessArray[SOCKET] == 'Female Badge') { ItemCombiner(40, 'Cursed Female Badge', 'I cursed this badge with some shit out of the book', 'Combinable', 'Fantastic', SOCKET, false); } else { if (Using == 'Lighter' && namessArray[SOCKET] == 'Blank Papers') { ItemCombiner(25, 'Kalengo\'s Farewell', '', 'Secret Item', 'Fantastic', SOCKET, false); } else { if (Using == 'Screwdriver' && namessArray[SOCKET] == 'Insulin') { ItemCombiner(27, 'Insulin', 'Is that lass a junky? Fuck this is messed up', 'Secret Item', 'SecretItem1', SOCKET, false); } else { if (Using == 'Aluminium Powder' && namessArray[SOCKET] == 'Iron Oxide') { ItemCombiner(29, 'Thermite Compound', 'Thermite compound of aluminium and iron oxide. I think it needs to be in a sturdy container.', 'Combinable', 'ItemCombined4', SOCKET, true); } else { if (Using == 'Iron Oxide' && namessArray[SOCKET] == 'Aluminium Powder') { ItemCombiner(29, 'Thermite Compound', 'Thermite compound of aluminium and iron oxide. I think it needs to be in a sturdy container.', 'Combinable', 'ItemCombined4', SOCKET, true); } else { if (Using == 'Thermite Compound' && namessArray[SOCKET] == 'Empty Paint Bucket') { ItemCombiner(30, 'Thermite Can', 'Almost ready to do some science. I just need a fuse!', 'Combination', 'ItemCombined5', SOCKET, true); } else { if (Using == 'Empty Paint Bucket' && namessArray[SOCKET] == 'Thermite Compound') { ItemCombiner(30, 'Thermite Can', 'Almost ready to do some science. I just need a fuse!', 'Combination', 'ItemCombined5', SOCKET, true); } else { if (Using == 'Magnesium Strip' && namessArray[SOCKET] == 'Thermite Can') { ItemCombiner(34, 'Thermite Bomb', 'This should melt though just about anything', 'Combination', 'ItemCombined6', SOCKET, true); } else { if (Using == 'Thermite Can' && namessArray[SOCKET] == 'Magnesium Strip') { ItemCombiner(34, 'Thermite Bomb', 'This should melt though just about anything', 'Combination', 'ItemCombined6', SOCKET, true); } else { if (Using == 'Cursed Female Badge' && namessArray[SOCKET] == 'NecroAlchemy Book') { ItemCombiner(36, 'Alive Necromancy Book', 'Looks like the book its ready to work.', 'Evil Combination', 'Negative6', SOCKET, true); } else { if (Using == 'NecroAlchemy Book' && namessArray[SOCKET] == 'Cursed Female Badge') { ItemCombiner(36, 'Alive Necromancy Book', 'Looks like the book its ready to work.', 'Evil Combination', 'Negative6', SOCKET, true); } else { if (Using == 'Ratminator Sticky Paper' && namessArray[SOCKET] == 'Wooden Stick') { ItemCombiner(13, 'Ratminator Stick', 'Now I can catch rats from a distance.', 'Combination', 'ItemCombined1', SOCKET, true); } else { if (Using == 'Wooden Stick' && namessArray[SOCKET] == 'Ratminator Sticky Paper') { ItemCombiner(13, 'Ratminator Stick', 'Now I can catch rats from a distance.', 'Combination', 'ItemCombined1', SOCKET, true); } else { if (Using == 'Blue Wire' && namessArray[SOCKET] == 'Broken Card Reader') { ItemCombiner(16, 'Ready Card Reader', 'Ready to plug in and read cards.', 'Combination', 'ItemCombined2', SOCKET, true); } else { if (Using == 'Broken Card Reader' && namessArray[SOCKET] == 'Blue Wire') { ItemCombiner(16, 'Ready Card Reader', 'Ready to plug in and read cards.', 'Combination', 'ItemCombined2', SOCKET, true); } else { if (Using == 'Sticks Like Sh*t Adhesive' && namessArray[SOCKET] == 'Caulking Gun') { ItemCombiner(21, 'Loaded Caulking Gun', 'Loaded and good to stick some shit.', 'Combination', 'ItemCombined3', SOCKET, true); } else { if (Using == 'Caulking Gun' && namessArray[SOCKET] == 'Sticks Like Sh*t Adhesive') { ItemCombiner(21, 'Loaded Caulking Gun', 'Loaded and good to stick some shit.', 'Combination', 'ItemCombined3', SOCKET, true); } else { if (Using == 'Rope' && namessArray[SOCKET] == 'Crowbar') { ItemCombiner(44, 'Grappling Hook', 'A makeshift grappling hook. Not bad.', 'Combination', 'ItemCombined8', SOCKET, true); } else { if (Using == 'Crowbar' && namessArray[SOCKET] == 'Rope') { ItemCombiner(44, 'Grappling Hook', 'A makeshift grappling hook. Not bad.', 'Combination', 'ItemCombined8', SOCKET, true); } } } } } } } } } } } } } } } } } } } } hud.hud_display.gotoAndStop(3); cursor_mc.gotoAndStop(objectsArray[SOCKET] + 4); roll_object = 'Use ' + namessArray[SOCKET] + '.'; Using = namessArray[SOCKET]; UsingobjectsArray = SOCKET; } else { if (namessArray[SOCKET] == undefined) { roll_object = ' '; } } } else { if (roll_action == 'Inspect') { if (namessArray[SOCKET] != undefined) { roll_action = 'Inspect'; InspectID = objectsArray[SOCKET]; InspectName = namessArray[SOCKET]; InspectDesc = descArray[SOCKET]; InspectKind = kindArray[SOCKET]; hud.hud_display.gotoAndStop(2); hud.gotoAndPlay('view'); roll_object = 'Inspect ' + namessArray[SOCKET] + '.'; } else { if (namessArray[SOCKET] == undefined) { roll_object = ' '; } } } } }; } function Moving() { ActionsToDo(); hud.music_mc.onRelease = function () { if (MusicMute == false) { Volume_Music = 0; GamePlayMusic.stop(); MusicMute = true; } else { if (MusicMute == true) { Volume_Music = 50; GamePlayMusic.start(); MusicMute = false; } } }; hud.FX_mc.onRelease = function () { if (FXMute == false) { Volume_FX = 0; FXMute = true; } else { if (FXMute == true) { Volume_FX = 100; FXMute = false; } } }; Hero_mc.onEnterFrame = function () { cursor_mc.startDrag(true); Mouse.hide(); MovieClip.prototype.tabEnabled = false; Button.prototype.tabEnabled = false; Stage.showMenu = false; _quality = Quality; hud.Viewer_mc.gotoAndStop(InspectID); heroTopLeftX = Hero_mc._x - 10; heroTopLeftY = Hero_mc._y - 10; heroTopRightX = Hero_mc._x + 15; heroTopRightY = Hero_mc._y - 10; heroDownLeftX = Hero_mc._x - 10; heroDownLeftY = Hero_mc._y + 10; heroDownRightX = Hero_mc._x + 15; heroDownRightY = Hero_mc._y + 10; if (MusicMute == true) { hud.music_mc.gotoAndStop(2); } else { if (MusicMute == false) { hud.music_mc.gotoAndStop(1); } } if (FXMute == true) { hud.FX_mc.gotoAndStop(2); } else { if (FXMute == false) { hud.FX_mc.gotoAndStop(1); } } if (!ground.hitTest(heroTopLeftX, heroTopLeftY, true)) { Hero_mc._x += 3; Hero_mc._y += 3; } else { if (!ground.hitTest(heroTopRightX, heroTopRightY, true)) { Hero_mc._x -= 3; Hero_mc._y += 3; } else { if (!ground.hitTest(heroDownLeftX, heroDownLeftY, true)) { Hero_mc._x -= 3; Hero_mc._y -= 3; } else { if (!ground.hitTest(heroDownRightX, heroDownRightY, true)) { Hero_mc._x += 3; Hero_mc._y -= 3; } } } } hud.Viewer_mc.close_btn.onRelease = function () { hud.play(); resetClicks(); }; Sockets(hud.Items_mc.Item1, 0); UseItem(hud.Items_mc.Item1, 0); Sockets(hud.Items_mc.Item2, 1); UseItem(hud.Items_mc.Item2, 1); Sockets(hud.Items_mc.Item3, 2); UseItem(hud.Items_mc.Item3, 2); Sockets(hud.Items_mc.Item4, 3); UseItem(hud.Items_mc.Item4, 3); Sockets(hud.Items_mc.Item5, 4); UseItem(hud.Items_mc.Item5, 4); Sockets(hud.Items_mc.Item6, 5); UseItem(hud.Items_mc.Item6, 5); Sockets(hud.Items_mc.Item7, 6); UseItem(hud.Items_mc.Item7, 6); Sockets(hud.Items_mc.Item8, 7); UseItem(hud.Items_mc.Item8, 7); Sockets(hud.Items_mc.Item9, 8); UseItem(hud.Items_mc.Item9, 8); Sockets(hud.Items_mc.Item10, 9); UseItem(hud.Items_mc.Item10, 9); Sockets(hud.Items_mc.Item11, 10); UseItem(hud.Items_mc.Item11, 10); Sockets(hud.Items_mc.Item12, 11); UseItem(hud.Items_mc.Item12, 11); Sockets(hud.Items_mc.Item13, 12); UseItem(hud.Items_mc.Item13, 12); Sockets(hud.Items_mc.Item14, 13); UseItem(hud.Items_mc.Item14, 13); Sockets(hud.Items_mc.Item15, 14); UseItem(hud.Items_mc.Item15, 14); Sockets(hud.Items_mc.Item16, 15); UseItem(hud.Items_mc.Item16, 15); Sockets(hud.Items_mc.Item17, 16); UseItem(hud.Items_mc.Item17, 16); Sockets(hud.Items_mc.Item18, 17); UseItem(hud.Items_mc.Item18, 17); Sockets(hud.Items_mc.Item19, 18); UseItem(hud.Items_mc.Item19, 18); Sockets(hud.Items_mc.Item20, 19); UseItem(hud.Items_mc.Item20, 19); Sockets(hud.Items_mc.Item21, 20); UseItem(hud.Items_mc.Item21, 20); Sockets(hud.Items_mc.Item22, 21); UseItem(hud.Items_mc.Item22, 21); hud.Items_mc.Down_mc.onRelease = function () { hud.Items_mc.nextFrame(); }; hud.Items_mc.UP_mc.onRelease = function () { hud.Items_mc.prevFrame(); }; if (action == 'moving') { distance = _root.moveCharTo(this, moveToX, moveToY); if (distance <= mc_speed && PickingUp == false) { action = 'idle'; Hero_mc.nextFrame(); } else { if (distance <= mc_speed && PickingUp == true) { action = 'idle'; Hero_mc.gotoAndStop('Picking'); PickingUp = false; } } } if (_root.somewhereToMoveListen) { moveToX = _root.whereToMoveX; moveToY = _root.whereToMoveY; _root.somewhereToMoveListen = false; action = 'moving'; } }; } function ActionsToDo() { hud.hud_display.onRelease = function () { resetClicks(); }; hud.Action1_mc.onRelease = function () { resetClicks(); _root.click_action = 'Inspect'; roll_object = 'What should I inspect?'; _root.roll_action = _root.click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); }; hud.Action2_mc.onRelease = function () { resetClicks(); _root.click_action = 'Grab'; roll_object = 'What should I grab?'; _root.roll_action = _root.click_action; hud.hud_display.gotoAndStop(3); cursor_mc.gotoAndStop(3); }; hud.Action3_mc.onRelease = function () { resetClicks(); _root.click_action = 'Talk'; roll_object = 'What should I talk to?'; _root.roll_action = _root.click_action; hud.hud_display.gotoAndStop(4); cursor_mc.gotoAndStop(4); }; hud.Action1_mc.onRollOver = function () { _root.click_action = 'Inspect'; }; hud.Action2_mc.onRollOver = function () { _root.click_action = 'Grab'; }; hud.Action3_mc.onRollOver = function () { _root.click_action = 'Talk'; }; hud.Action1_mc.onRollOut = function () { _root.click_action = ''; }; hud.Action2_mc.onRollOut = function () { _root.click_action = ''; }; hud.Action3_mc.onRollOut = function () { _root.click_action = ''; }; } function PickableItems(target, Name, SpeechID, ItemID, Kind, PlaySound, ID) { target.PickItem = false; var v1 = random(SpeechsCollectArray.length); var randomCollect_spech = SpeechsCollectArray[v1]; var v2 = random(SpeechsNegativeArray.length); var randomNegative_spech = SpeechsNegativeArray[v2]; target.onRollOver = function () { Speech = Name + '.'; }; target.onRollOut = function () { Speech = ''; }; target.onRelease = function () { if (roll_action == '') { playSounds(PlaySound); Speech = SpeechID; roll_object = 'Inspect ' + Name + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); ++ObjectsLooked; } else { if (roll_action == 'Inspect') { playSounds(PlaySound); ++ObjectsLooked; Speech = SpeechID; roll_object = 'Inspect ' + Name + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (roll_action == 'Grab') { ItemPicked = ItemID; namePicked = Name; descPicked = SpeechID; kindPicked = Kind; click_action = 'Grab'; roll_action = click_action; roll_object = 'Grab ' + Name + '.'; Speech = randomCollect_spech; target.PickItem = true; hud.hud_display.gotoAndStop(3); cursor_mc.gotoAndStop(3); objectsArray.unshift(ItemPicked); namessArray.unshift(namePicked); descArray.unshift(descPicked); kindArray.unshift(kindPicked); if (randomCollect_spech == 'This could be useful') { playSounds('Grab1'); } else { if (randomCollect_spech == 'Alright') { playSounds('Grab2'); } else { if (randomCollect_spech == 'Fuck yeah, I always wanted one of these') { playSounds('Grab3'); } else { if (randomCollect_spech == 'Your guess is as good as mine...') { playSounds('Grab4'); } else { if (randomCollect_spech == 'Fantastic!') { playSounds('Fantastic'); } } } } } } else { if (roll_action == 'Talk') { Speech = randomNegative_spech; roll_object = 'Talk ' + Name + '.'; hud.hud_display.gotoAndStop(4); cursor_mc.gotoAndStop(4); if (randomNegative_spech == 'I\'m not doing that') { playSounds('Negative1'); } else { if (randomNegative_spech == 'Are you insane?') { playSounds('Negative2'); } else { if (randomNegative_spech == 'Are you crazy?') { playSounds('Negative3'); } else { if (randomNegative_spech == 'I rather not') { playSounds('Negative4'); } else { if (randomNegative_spech == 'I really rather not') { playSounds('Negative5'); } else { if (randomNegative_spech == 'What the fuck?') { playSounds('Negative6'); } else { if (randomNegative_spech == 'This really isn\'t the time') { playSounds('Negative7'); } else { if (randomNegative_spech == 'I\'m NOT doing that') { playSounds('Negative8'); } else { if (randomNegative_spech == 'You want me to do what?!') { playSounds('Negative9'); } } } } } } } } } } } } } }; target.onEnterFrame = function () { if (target.PickItem == true) { target._visible = false; ItemsCollectedArray[ID] = true; target.PickItem = false; } }; } function PickableFarItems(target, Name, SpeechID, ItemID, Kind, PlaySound, ID) { target.PickItem = false; var v1 = random(SpeechsCollectArray.length); var randomCollect_spech = SpeechsCollectArray[v1]; var v2 = random(SpeechsNegativeArray.length); var randomNegative_spech = SpeechsNegativeArray[v2]; target.onRollOver = function () { Speech = Name + '.'; }; target.onRollOut = function () { Speech = ''; }; target.onRelease = function () { if (roll_action == '') { ++ObjectsLooked; playSounds(PlaySound); Speech = SpeechID; roll_object = 'Inspect ' + Name + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (roll_action == 'Inspect') { ++ObjectsLooked; playSounds(PlaySound); Speech = SpeechID; roll_object = 'Inspect ' + Name + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (roll_action == 'Grab') { ItemPicked = ItemID; namePicked = Name; descPicked = SpeechID; kindPicked = Kind; click_action = 'Grab'; roll_action = click_action; roll_object = 'Grab ' + Name + '.'; Speech = randomCollect_spech; target.PickItem = true; hud.hud_display.gotoAndStop(3); cursor_mc.gotoAndStop(3); objectsArray.unshift(ItemPicked); namessArray.unshift(namePicked); descArray.unshift(descPicked); kindArray.unshift(kindPicked); if (randomCollect_spech == 'This could be useful') { playSounds('Grab1'); } else { if (randomCollect_spech == 'Alright') { playSounds('Grab2'); } else { if (randomCollect_spech == 'Fuck yeah, I always wanted one of these') { playSounds('Grab3'); } else { if (randomCollect_spech == 'Your guess is as good as mine...') { playSounds('Grab4'); } else { if (randomCollect_spech == 'Fantastic!') { playSounds('Fantastic'); } } } } } } else { if (roll_action == 'Talk') { Speech = randomNegative_spech; roll_object = 'Talk ' + Name + '.'; hud.hud_display.gotoAndStop(4); cursor_mc.gotoAndStop(4); if (randomNegative_spech == 'I\'m not doing that') { playSounds('Negative1'); } else { if (randomNegative_spech == 'Are you insane?') { playSounds('Negative2'); } else { if (randomNegative_spech == 'Are you crazy?') { playSounds('Negative3'); } else { if (randomNegative_spech == 'I rather not') { playSounds('Negative4'); } else { if (randomNegative_spech == 'I really rather not') { playSounds('Negative5'); } else { if (randomNegative_spech == 'What the fuck?') { playSounds('Negative6'); } else { if (randomNegative_spech == 'This really isn\'t the time') { playSounds('Negative7'); } else { if (randomNegative_spech == 'I\'m NOT doing that') { playSounds('Negative8'); } else { if (randomNegative_spech == 'You want me to do what?!') { playSounds('Negative9'); } } } } } } } } } } } } } }; target.onEnterFrame = function () { if (target.PickItem == true) { target._visible = false; ItemsCollectedArray[ID] = true; } }; } function PickableActionItems(target, Name, SpeechID, ItemID, Kind, PlaySound, ID, InUse, AltMessage, ActionScene, Playback, AltPlaySound, AltName, ALTSpeechID, AltInUse) { target.PickItem = false; var v1 = random(SpeechsCollectArray.length); var randomCollect_spech = SpeechsCollectArray[v1]; var v2 = random(SpeechsNegativeArray.length); var randomNegative_spech = SpeechsNegativeArray[v2]; target.onRollOver = function () { Speech = AltName + '.'; }; target.onRollOut = function () { Speech = ''; }; target.onRelease = function () { if (roll_action == '') { ++ObjectsLooked; playSounds(PlaySound); Speech = AltMessage; roll_object = 'Inspect ' + AltName + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (roll_action == 'Inspect') { ++ObjectsLooked; playSounds(PlaySound); Speech = AltMessage; roll_object = 'Inspect ' + AltName + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (roll_action == 'Grab') { if (Using == InUse || Using == AltInUse) { ItemPicked = ItemID; namePicked = Name; descPicked = SpeechID; kindPicked = Kind; click_action = 'Grab'; roll_action = click_action; roll_object = 'Grab ' + Name + '.'; Speech = randomCollect_spech; target.PickItem = true; PlayBack = Playback; ItemsCollectedArray[ID] = true; objectsArray.unshift(ItemPicked); namessArray.unshift(namePicked); descArray.unshift(descPicked); kindArray.unshift(kindPicked); gotoAndStop(ActionScene); } else { if (Using == '') { Speech = ALTSpeechID; click_action = 'Grab'; roll_action = click_action; roll_object = 'Grab ' + AltName + '.'; playSounds(AltPlaySound); } else { if (Using != InUse) { Speech = 'Doesn\'t look like it\'s working...'; click_action = 'Grab'; roll_action = click_action; roll_object = 'Use ' + Using + ' on ' + AltName + '.'; playSounds('NotWorking'); } } } } else { if (roll_action == 'Talk') { Speech = randomNegative_spech; roll_object = 'Talk ' + Name + '.'; hud.hud_display.gotoAndStop(4); cursor_mc.gotoAndStop(4); if (randomNegative_spech == 'I\'m not doing that') { playSounds('Negative1'); } else { if (randomNegative_spech == 'Are you insane?') { playSounds('Negative2'); } else { if (randomNegative_spech == 'Are you crazy?') { playSounds('Negative3'); } else { if (randomNegative_spech == 'I rather not') { playSounds('Negative4'); } else { if (randomNegative_spech == 'I really rather not') { playSounds('Negative5'); } else { if (randomNegative_spech == 'What the fuck?') { playSounds('Negative6'); } else { if (randomNegative_spech == 'This really isn\'t the time') { playSounds('Negative7'); } else { if (randomNegative_spech == 'I\'m NOT doing that') { playSounds('Negative8'); } else { if (randomNegative_spech == 'You want me to do what?!') { playSounds('Negative9'); } } } } } } } } } } } } } }; } function PickableActionItems2(target, Name, SpeechID, ItemID, Kind, PlaySound, ID, InUse, AltMessage, ActionScene, Playback, AltPlaySound, AltName, ALTSpeechID, AltInUse) { target.PickItem = false; var v1 = random(SpeechsCollectArray.length); var randomCollect_spech = SpeechsCollectArray[v1]; var v2 = random(SpeechsNegativeArray.length); var randomNegative_spech = SpeechsNegativeArray[v2]; target.onRollOver = function () { Speech = AltName + '.'; }; target.onRollOut = function () { Speech = ''; }; target.onRelease = function () { if (roll_action == '') { ++ObjectsLooked; playSounds(PlaySound); Speech = AltMessage; roll_object = 'Inspect ' + AltName + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (roll_action == 'Inspect') { ++ObjectsLooked; playSounds(PlaySound); Speech = AltMessage; roll_object = 'Inspect ' + AltName + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (roll_action == 'Grab') { if (Using == InUse || Using == AltInUse) { ItemPicked = ItemID; namePicked = Name; descPicked = SpeechID; kindPicked = Kind; click_action = 'Grab'; roll_action = click_action; roll_object = 'Grab ' + Name + '.'; Speech = randomCollect_spech; target.PickItem = true; PlayBack = Playback; ItemsCollectedArray[ID] = true; objectsArray.splice(UsingobjectsArray, 1); namessArray.splice(UsingobjectsArray, 1); descArray.splice(UsingobjectsArray, 1); kindArray.splice(UsingobjectsArray, 1); objectsArray.unshift(ItemPicked); namessArray.unshift(namePicked); descArray.unshift(descPicked); kindArray.unshift(kindPicked); gotoAndStop(ActionScene); } else { if (Using == '') { Speech = ALTSpeechID; click_action = 'Grab'; roll_action = click_action; roll_object = 'Grab ' + AltName + '.'; playSounds(AltPlaySound); } else { if (Using != InUse) { Speech = 'Doesn\'t look like it\'s working...'; click_action = 'Grab'; roll_action = click_action; roll_object = 'Use ' + Using + ' on ' + AltName + '.'; playSounds('NotWorking'); } } } } else { if (roll_action == 'Talk') { Speech = randomNegative_spech; roll_object = 'Talk ' + Name + '.'; hud.hud_display.gotoAndStop(4); cursor_mc.gotoAndStop(4); if (randomNegative_spech == 'I\'m not doing that') { playSounds('Negative1'); } else { if (randomNegative_spech == 'Are you insane?') { playSounds('Negative2'); } else { if (randomNegative_spech == 'Are you crazy?') { playSounds('Negative3'); } else { if (randomNegative_spech == 'I rather not') { playSounds('Negative4'); } else { if (randomNegative_spech == 'I really rather not') { playSounds('Negative5'); } else { if (randomNegative_spech == 'What the fuck?') { playSounds('Negative6'); } else { if (randomNegative_spech == 'This really isn\'t the time') { playSounds('Negative7'); } else { if (randomNegative_spech == 'I\'m NOT doing that') { playSounds('Negative8'); } else { if (randomNegative_spech == 'You want me to do what?!') { playSounds('Negative9'); } } } } } } } } } } } } } }; } function TalkTo(target, Name, InspectID, InspectSound, GrabID, GrabSound, Cutscene, Playback) { target.onRollOver = function () { Speech = Name + '.'; }; target.onRollOut = function () { Speech = ''; }; target.onRelease = function () { if (roll_action == '') { ++ObjectsLooked; playSounds(InspectSound); Speech = InspectID; roll_object = 'Inspect ' + Name + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (roll_action == 'Inspect') { ++ObjectsLooked; playSounds(InspectSound); Speech = InspectID; roll_object = 'Inspect ' + Name + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (roll_action == 'Grab') { click_action = 'Grab'; roll_action = click_action; roll_object = 'Grab ' + Name + '.'; playSounds(GrabSound); Speech = GrabID; hud.hud_display.gotoAndStop(3); cursor_mc.gotoAndStop(3); } else { if (roll_action == 'Talk') { gotoAndStop(Cutscene); hud.hud_display.gotoAndStop(4); cursor_mc.gotoAndStop(4); PlayBack = Playback; } } } } }; } function NoTalk(target, Name, InspectID, InspectSound, GrabID, GrabSound, TalkID, TalkSound) { target.onRollOver = function () { Speech = Name + '.'; }; target.onRollOut = function () { Speech = ''; }; target.onRelease = function () { if (roll_action == '') { ++ObjectsLooked; playSounds(InspectSound); Speech = InspectID; roll_object = 'Inspect ' + Name + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (roll_action == 'Inspect') { ++ObjectsLooked; playSounds(InspectSound); Speech = InspectID; roll_object = 'Inspect ' + Name + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (roll_action == 'Grab') { click_action = 'Grab'; roll_action = click_action; roll_object = 'Grab ' + Name + '.'; playSounds(GrabSound); Speech = GrabID; hud.hud_display.gotoAndStop(3); cursor_mc.gotoAndStop(3); } else { if (roll_action == 'Talk') { click_action = 'Talk'; roll_action = click_action; roll_object = 'Grab ' + Name + '.'; playSounds(TalkSound); Speech = TalkID; hud.hud_display.gotoAndStop(4); cursor_mc.gotoAndStop(4); } } } } }; } function OpenDoors(target, Name, Location, LocationID, TheScaleModF, TheScaleFactorF, TheHeroXF, TheHeroYF, TheHeroXScaleF, TheHeroYScaleF, TheSideF) { var Moving = false; target.onRollOver = function () { Speech = Name; roll_object = 'Move to ' + Location; }; target.onRollOut = function () { Speech = ''; roll_object = ''; }; target.onRelease = function () { Moving = true; }; target.onEnterFrame = function () { if (Moving == true && target.hitTest(Hero_mc)) { ScaleModF = TheScaleModF; ScaleFactorF = TheScaleFactorF; HeroXF = TheHeroXF; HeroYF = TheHeroYF; HeroXScaleF = TheHeroXScaleF; HeroYScaleF = TheHeroYScaleF; SideF = TheSideF; gotoAndStop(LocationID); } }; } function ClosedDoors(target, Name, Location, LocationID, SOCKET, SpeechID, AltMessage, InUse, ActionScene, Playback, PlaySound, AltPlaySound, TheScaleModF, TheScaleFactorF, TheHeroXF, TheHeroYF, TheHeroXScaleF, TheHeroYScaleF, TheSideF) { var Moving = false; target.onRollOver = function () { Speech = Name; roll_object = 'Move to ' + Location; }; target.onRollOut = function () { Speech = ''; roll_object = ''; }; target.onRelease = function () { if (DoorsOpenedArray[SOCKET] == true) { Moving = true; } else { if (DoorsOpenedArray[SOCKET] == undefined) { if (roll_action == '') { ++ObjectsLooked; playSounds(PlaySound); Speech = SpeechID; roll_object = 'Inspect ' + Name + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (roll_action == 'Inspect') { playSounds(PlaySound); ++ObjectsLooked; Speech = SpeechID; roll_object = 'Inspect ' + Name + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (roll_action == 'Grab') { if (Using == InUse) { click_action = 'Grab'; roll_action = click_action; roll_object = 'Grab ' + Name + '.'; Speech = SpeechID; PlayBack = Playback; DoorsOpenedArray[SOCKET] = true; gotoAndStop(ActionScene); } else { if (Using == '') { Speech = AltMessage; click_action = 'Grab'; roll_action = click_action; roll_object = 'Grab ' + Name + '.'; playSounds(AltPlaySound); } else { if (Using != InUse) { Speech = 'Doesn\'t look like it\'s working...'; click_action = 'Grab'; roll_action = click_action; roll_object = 'Use ' + Using + ' on ' + Name + '.'; playSounds('NotWorking'); } } } } } } } } }; target.onEnterFrame = function () { if (Moving == true && target.hitTest(Hero_mc)) { ScaleModF = TheScaleModF; ScaleFactorF = TheScaleFactorF; HeroXF = TheHeroXF; HeroYF = TheHeroYF; HeroXScaleF = TheHeroXScaleF; HeroYScaleF = TheHeroYScaleF; SideF = TheSideF; gotoAndStop(LocationID); } }; } function ClosedDoorsALT(target, Name, Location, LocationID, SOCKET, SpeechID, AltMessage, InUse, ActionScene, Playback, PlaySound, AltPlaySound, TheScaleModF, TheScaleFactorF, TheHeroXF, TheHeroYF, TheHeroXScaleF, TheHeroYScaleF, TheSideF) { var Moving = false; target.onRollOver = function () { Speech = Name; roll_object = 'Move to ' + Location; }; target.onRollOut = function () { Speech = ''; roll_object = ''; }; target.onRelease = function () { if (DoorsOpenedArray[SOCKET] == true) { Moving = true; } else { if (DoorsOpenedArray[SOCKET] == undefined) { if (roll_action == '') { ++ObjectsLooked; playSounds(PlaySound); Speech = SpeechID; roll_object = 'Inspect ' + Name + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (roll_action == 'Inspect') { ++ObjectsLooked; playSounds(PlaySound); Speech = SpeechID; roll_object = 'Inspect ' + Name + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (roll_action == 'Grab') { if (Using == InUse) { click_action = 'Grab'; roll_action = click_action; roll_object = 'Grab ' + Name + '.'; Speech = SpeechID; PlayBack = Playback; DoorsOpenedArray[SOCKET] = true; gotoAndStop(ActionScene); objectsArray.splice(UsingobjectsArray, 1); namessArray.splice(UsingobjectsArray, 1); descArray.splice(UsingobjectsArray, 1); kindArray.splice(UsingobjectsArray, 1); } else { if (Using == '') { Speech = AltMessage; click_action = 'Grab'; roll_action = click_action; roll_object = 'Grab ' + Name + '.'; playSounds(AltPlaySound); } else { if (Using != InUse) { Speech = 'Doesn\'t look like it\'s working...'; click_action = 'Grab'; roll_action = click_action; roll_object = 'Use ' + Using + ' on ' + Name + '.'; playSounds('NotWorking'); } } } } } } } } }; target.onEnterFrame = function () { if (Moving == true && target.hitTest(Hero_mc)) { ScaleModF = TheScaleModF; ScaleFactorF = TheScaleFactorF; HeroXF = TheHeroXF; HeroYF = TheHeroYF; HeroXScaleF = TheHeroXScaleF; HeroYScaleF = TheHeroYScaleF; SideF = TheSideF; gotoAndStop(LocationID); } }; } function ClosedDoors2(target, Name, Location, LocationID, SpeechID, PlaySound, SOCKET, TheScaleModF, TheScaleFactorF, TheHeroXF, TheHeroYF, TheHeroXScaleF, TheHeroYScaleF, TheSideF) { var Moving = false; target.onRollOver = function () { Speech = Name; roll_object = 'Move to ' + Location; }; target.onRollOut = function () { Speech = ''; roll_object = ''; }; target.onRelease = function () { if (DoorsOpenedArray[SOCKET] == true) { Moving = true; } else { if (DoorsOpenedArray[SOCKET] == undefined) { playSounds(PlaySound); Speech = SpeechID; } } }; target.onEnterFrame = function () { if (Moving == true && target.hitTest(Hero_mc)) { ScaleModF = TheScaleModF; ScaleFactorF = TheScaleFactorF; HeroXF = TheHeroXF; HeroYF = TheHeroYF; HeroXScaleF = TheHeroXScaleF; HeroYScaleF = TheHeroYScaleF; SideF = TheSideF; gotoAndStop(LocationID); } }; } function ClosedDoors3(target, Name, Location, LocationID, SpeechID, SpeechALT, PlaySound, PlaySoundALT, SOCKET, TheScaleModF, TheScaleFactorF, TheHeroXF, TheHeroYF, TheHeroXScaleF, TheHeroYScaleF, TheSideF) { var Moving = false; target.onRollOver = function () { Speech = Name; roll_object = 'Move to ' + Location; }; target.onRollOut = function () { Speech = ''; roll_object = ''; }; target.onRelease = function () { if (DoorsOpenedArray[SOCKET] == true) { Moving = true; } else { if (DoorsOpenedArray[SOCKET] == undefined) { if (roll_action == '') { ++ObjectsLooked; playSounds(PlaySound); Speech = SpeechID; roll_object = 'Inspect ' + Name + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (roll_action == 'Inspect') { ++ObjectsLooked; playSounds(PlaySound); Speech = SpeechID; roll_object = 'Inspect ' + Name + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (roll_action == 'Grab') { ItemPicked = ItemID; namePicked = Name; descPicked = SpeechID; kindPicked = Kind; click_action = 'Move'; roll_action = click_action; roll_object = 'Move to ' + Location + '.'; Speech = SpeechALT; playSounds(PlaySoundALT); hud.hud_display.gotoAndStop(3); cursor_mc.gotoAndStop(3); } } } } } }; target.onEnterFrame = function () { if (Moving == true && target.hitTest(Hero_mc)) { ScaleModF = TheScaleModF; ScaleFactorF = TheScaleFactorF; HeroXF = TheHeroXF; HeroYF = TheHeroYF; HeroXScaleF = TheHeroXScaleF; HeroYScaleF = TheHeroYScaleF; SideF = TheSideF; gotoAndStop(LocationID); } }; } function ClosedDoors4(target, Name, Location, Cutscene, Playback) { target.onRollOver = function () { Speech = Name; roll_object = 'Move to ' + Location; }; target.onRollOut = function () { Speech = ''; roll_object = ''; }; target.onRelease = function () { PlayBack = Playback; gotoAndStop(Cutscene); }; } function enviromentItems(target, Name, SpeechID, ItemID, Kind, PlaySound) { var v1 = random(SpeechsNoCollectArray.length); var randomNoCollect_spech = SpeechsNoCollectArray[v1]; var v3 = random(SpeechsNegativeArray.length); var randomNegative_spech = SpeechsNegativeArray[v3]; target.onRollOver = function () { Speech = Name + '.'; }; target.onRollOut = function () { Speech = ''; }; target.onRelease = function () { if (roll_action == '') { ++ObjectsLooked; playSounds(PlaySound); Speech = SpeechID; roll_object = 'Inspect ' + Name + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (roll_action == 'Inspect') { ++ObjectsLooked; playSounds(PlaySound); Speech = SpeechID; roll_object = 'Inspect ' + Name + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (roll_action == 'Grab') { ItemPicked = ItemID; namePicked = Name; descPicked = SpeechID; kindPicked = Kind; click_action = 'Grab'; roll_action = click_action; roll_object = 'Grab ' + Name + '.'; Speech = randomNoCollect_spech; hud.hud_display.gotoAndStop(3); cursor_mc.gotoAndStop(3); if (randomNoCollect_spech == 'I don\'t need these') { playSounds('NoGrab1'); } else { if (randomNoCollect_spech == 'No thanks') { playSounds('NoGrab2'); } else { if (randomNoCollect_spech == 'Not much need for that now') { playSounds('NoGrab3'); } else { if (randomNoCollect_spech == 'I won\'t be needing that') { playSounds('NoGrab4'); } else { if (randomNoCollect_spech == 'I\'m not putting that in my pocket') { playSounds('NoGrab5'); } else { if (randomNoCollect_spech == 'It\'s no use now') { playSounds('NoGrab6'); } } } } } } } else { if (roll_action == 'Talk') { Speech = randomNegative_spech; roll_object = 'Talk ' + Name + '.'; hud.hud_display.gotoAndStop(4); cursor_mc.gotoAndStop(4); if (randomNegative_spech == 'I\'m not doing that') { playSounds('Negative1'); } else { if (randomNegative_spech == 'Are you insane?') { playSounds('Negative2'); } else { if (randomNegative_spech == 'Are you crazy?') { playSounds('Negative3'); } else { if (randomNegative_spech == 'I rather not') { playSounds('Negative4'); } else { if (randomNegative_spech == 'I really rather not') { playSounds('Negative5'); } else { if (randomNegative_spech == 'What the fuck?') { playSounds('Negative6'); } else { if (randomNegative_spech == 'This really isn\'t the time') { playSounds('Negative7'); } else { if (randomNegative_spech == 'I\'m NOT doing that') { playSounds('Negative8'); } else { if (randomNegative_spech == 'You want me to do what?!') { playSounds('Negative9'); } } } } } } } } } } } } } }; } function InteractiveItems(target, Name, SpeechID, ItemID, Kind, gotTo, Cutscene, target2, PlaySound, Playback, ItemUnlock, ItemUnlockX, ItemUnlockY) { var v2 = random(SpeechsNegativeArray.length); var randomNegative_spech = SpeechsNegativeArray[v2]; target.onRollOver = function () { Speech = Name + '.'; }; target.onRollOut = function () { Speech = ''; }; target.onRelease = function () { if (roll_action == '') { ++ObjectsLooked; playSounds(PlaySound); Speech = SpeechID; roll_object = 'Inspect ' + Name + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (roll_action == 'Inspect') { ++ObjectsLooked; playSounds(PlaySound); Speech = SpeechID; roll_object = 'Inspect ' + Name + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (roll_action == 'Grab') { ItemPicked = ItemID; namePicked = Name; descPicked = SpeechID; kindPicked = Kind; PlayBack = Playback; click_action = 'Grab'; roll_action = click_action; roll_object = 'Grab ' + Name + '.'; hud.hud_display.gotoAndStop(3); cursor_mc.gotoAndStop(3); target2.gotoAndStop(gotTo); gotoAndStop(Cutscene); ItemUnlock._x = ItemUnlockX; ItemUnlock._y = ItemUnlockY; } else { if (roll_action == 'Talk') { Speech = randomNegative_spech; roll_object = 'Talk ' + Name + '.'; hud.hud_display.gotoAndStop(4); cursor_mc.gotoAndStop(4); if (randomNegative_spech == 'I\'m not doing that') { playSounds('Negative1'); } else { if (randomNegative_spech == 'Are you insane?') { playSounds('Negative2'); } else { if (randomNegative_spech == 'Are you crazy?') { playSounds('Negative3'); } else { if (randomNegative_spech == 'I rather not') { playSounds('Negative4'); } else { if (randomNegative_spech == 'I really rather not') { playSounds('Negative5'); } else { if (randomNegative_spech == 'What the fuck?') { playSounds('Negative6'); } else { if (randomNegative_spech == 'This really isn\'t the time') { playSounds('Negative7'); } else { if (randomNegative_spech == 'I\'m NOT doing that') { playSounds('Negative8'); } else { if (randomNegative_spech == 'You want me to do what?!') { playSounds('Negative9'); } } } } } } } } } } } } } }; } function enviromentALTItems(target, Name, SpeechID, SpeechALT, ItemID, Kind, PlaySound, PlaySoundALT) { var v1 = random(SpeechsNoCollectArray.length); var v4 = SpeechsNoCollectArray[v1]; var v3 = random(SpeechsNegativeArray.length); var randomNegative_spech = SpeechsNegativeArray[v3]; target.onRollOver = function () { Speech = Name + '.'; }; target.onRollOut = function () { Speech = ''; }; target.onRelease = function () { if (roll_action == '') { ++ObjectsLooked; playSounds(PlaySound); Speech = SpeechID; roll_object = 'Inspect ' + Name + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (roll_action == 'Inspect') { ++ObjectsLooked; playSounds(PlaySound); Speech = SpeechID; roll_object = 'Inspect ' + Name + '.'; click_action = 'Inspect'; roll_action = click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (roll_action == 'Grab') { ItemPicked = ItemID; namePicked = Name; descPicked = SpeechID; kindPicked = Kind; click_action = 'Grab'; roll_action = click_action; roll_object = 'Grab ' + Name + '.'; Speech = SpeechALT; playSounds(PlaySoundALT); hud.hud_display.gotoAndStop(3); cursor_mc.gotoAndStop(3); } else { if (roll_action == 'Talk') { Speech = randomNegative_spech; roll_object = 'Talk ' + Name + '.'; hud.hud_display.gotoAndStop(4); cursor_mc.gotoAndStop(4); if (randomNegative_spech == 'I\'m not doing that') { playSounds('Negative1'); } else { if (randomNegative_spech == 'Are you insane?') { playSounds('Negative2'); } else { if (randomNegative_spech == 'Are you crazy?') { playSounds('Negative3'); } else { if (randomNegative_spech == 'I rather not') { playSounds('Negative4'); } else { if (randomNegative_spech == 'I really rather not') { playSounds('Negative5'); } else { if (randomNegative_spech == 'What the fuck?') { playSounds('Negative6'); } else { if (randomNegative_spech == 'This really isn\'t the time') { playSounds('Negative7'); } else { if (randomNegative_spech == 'I\'m NOT doing that') { playSounds('Negative8'); } else { if (randomNegative_spech == 'You want me to do what?!') { playSounds('Negative9'); } } } } } } } } } } } } } }; } function ItemsVisibility() { if (ItemsCollectedArray[1] == true) { Item1_mc._visible = false; } if (ItemsCollectedArray[2] == true) { Item2_mc._visible = false; } if (ItemsCollectedArray[3] == true) { Item3_mc._visible = false; } if (ItemsCollectedArray[4] == true) { Item4_mc._visible = false; } if (ItemsCollectedArray[5] == true) { Item5_mc._visible = false; } if (ItemsCollectedArray[6] == true) { Item6_mc._visible = false; } if (ItemsCollectedArray[7] == true) { Item7_mc._visible = false; } if (ItemsCollectedArray[8] == true) { Item8_mc._visible = false; } if (ItemsCollectedArray[9] == true) { Item9_mc._visible = false; } if (ItemsCollectedArray[10] == true) { Item10_mc._visible = false; } if (ItemsCollectedArray[11] == true) { Item11_mc._visible = false; } if (ItemsCollectedArray[12] == true) { Item12_mc._visible = false; } if (ItemsCollectedArray[13] == true) { Item13_mc._visible = false; } if (ItemsCollectedArray[14] == true) { Item14_mc._visible = false; } if (ItemsCollectedArray[15] == true) { Item15_mc._visible = false; } if (ItemsCollectedArray[16] == true) { Item16_mc._visible = false; } if (ItemsCollectedArray[17] == true) { Item17_mc._visible = false; } if (ItemsCollectedArray[18] == true) { Item18_mc._visible = false; } if (ItemsCollectedArray[19] == true) { Item19_mc._visible = false; } if (ItemsCollectedArray[21] == true) { Item21_mc._visible = false; } if (ItemsCollectedArray[22] == true) { Item22_mc._visible = false; } if (ItemsCollectedArray[23] == true) { Item23_mc._visible = false; } if (ItemsCollectedArray[24] == true) { Item24_mc._visible = false; } if (ItemsCollectedArray[25] == true) { Item25_mc._visible = false; } if (ItemsCollectedArray[26] == true) { Item26_mc._visible = false; } if (ItemsCollectedArray[27] == true) { Item27_mc._visible = false; } if (ItemsCollectedArray[28] == true) { Item28_mc._visible = false; } if (ItemsCollectedArray[29] == true) { Item29_mc._visible = false; } if (ItemsCollectedArray[30] == true) { Item30_mc._visible = false; } if (ItemsCollectedArray[31] == true) { Item31_mc._visible = false; } if (ItemsCollectedArray[32] == true) { Item32_mc._visible = false; } if (ItemsCollectedArray[33] == true) { Item33_mc._visible = false; } } function DoorsManager() { if (DoorsOpenedArray[1] == true) { Door15_mc.gotoAndStop(2); } if (DoorsOpenedArray[2] == true) { Door5_mc.gotoAndStop(2); } if (DoorsOpenedArray[3] == true) { MeltedDoor_mc.gotoAndStop(2); } if (DoorsOpenedArray[4] == true) { Door6_mc.gotoAndStop(2); } if (DoorsOpenedArray[5] == true) { Door6_mc.gotoAndStop(3); } if (DoorsOpenedArray[6] == true) { Door16_mc.gotoAndStop(2); } if (DoorsOpenedArray[17] == true) { Door17_mc.gotoAndStop(2); } if (DoorsOpenedArray[19] == true) { Door19_mc.gotoAndStop(2); } if (DoorsOpenedArray[20] == true) { Door19_mc.gotoAndStop(3); } if (DoorsOpenedArray[21] == true) { Door19_mc.gotoAndStop(4); } if (DoorsOpenedArray[22] == true) { Door19_mc.gotoAndStop(5); } if (DoorsOpenedArray[23] == true) { Door19_mc.gotoAndStop(6); } if (DoorsOpenedArray[24] == true) { Door19_mc.gotoAndStop(7); } if (DoorsOpenedArray[25] == true) { Door22_mc.gotoAndStop(2); } if (DoorsOpenedArray[26] == true) { Door22_mc.gotoAndStop(3); } if (DoorsOpenedArray[27] == true && DoorsOpenedArray[28] == undefined) { Door23_mc.gotoAndStop(3); } else { if (DoorsOpenedArray[27] == true && DoorsOpenedArray[28] == true) { Door23_mc.gotoAndStop(4); } } if (DoorsOpenedArray[29] == true && DoorsOpenedArray[32] == undefined) { SectorBShade_mc.gotoAndStop(2); ChupaCell_mc.gotoAndStop(2); } else { if (DoorsOpenedArray[29] == true && DoorsOpenedArray[32] == true && EventsArray[18] == undefined) { SectorBShade_mc.gotoAndStop(2); ChupaCell_mc.gotoAndStop(3); } else { if (DoorsOpenedArray[29] == true && DoorsOpenedArray[32] == true && EventsArray[18] == true) { SectorBShade_mc.gotoAndStop(2); ChupaCell_mc.gotoAndStop(4); } } } if (DoorsOpenedArray[30] == true) { RapPosters_mc.gotoAndStop(2); } if (DoorsOpenedArray[31] == true) { Door25_mc.gotoAndStop(2); Door8_mc.gotoAndStop(2); } } function BagPack() { if (EventsArray[1] == true) { Item6_mc._x = 175; Item6_mc._y = 234; } } function EventsManager() { if (EventsArray[1] == true) { TheLeatherBag_mc.gotoAndStop(2); } if (EventsArray[2] == true) { SearchLight_mc.gotoAndStop(2); } if (EventsArray[3] == true) { Drawer_mc.gotoAndStop(2); Item18_mc._x = 575; Item18_mc._y = 173; } if (EventsArray[4] == true) { Item20_mc.gotoAndStop(2); } if (EventsArray[5] == true) { SecretPassage_mc.gotoAndStop(2); } if (EventsArray[7] == true && EventsArray[8] == undefined) { TrashCan_mc.gotoAndStop(2); } else { if (EventsArray[7] == true && EventsArray[8] == true) { TrashCan_mc.gotoAndStop(3); } } if (EventsArray[9] == true && EventsArray[10] == undefined) { magda_mc.gotoAndStop(2); } else { if (EventsArray[9] == true && EventsArray[10] == true && EventsArray[11] == undefined) { magda_mc.gotoAndStop(3); } else { if (EventsArray[9] == true && EventsArray[10] == true && EventsArray[11] == true && EventsArray[19] == undefined) { magda_mc.gotoAndStop(4); } else { if (EventsArray[9] == true && EventsArray[10] == true && EventsArray[11] == true && EventsArray[19] == true) { magda_mc.gotoAndStop(6); } } } } if (EventsArray[15] == true && DoorsOpenedArray[35] == undefined) { BrokenLadder2_mc.gotoAndStop(2); } else { if (EventsArray[15] == true && DoorsOpenedArray[35] == true) { BrokenLadder2_mc.gotoAndStop(3); Item33_mc._x = 157; Item33_mc._y = 308; } } } function Dimensions(ScaleMod, ScaleFactor, HeroX, HeroY, HeroXScale, HeroYScale, HeroFrame) { Moving(); DoorsManager(); resetClicks(); EventsManager(); fadeIn_mc.play(); ItemsVisibility(); Speech = ''; mc_scale_mod = ScaleMod; mc_scale_factor = ScaleFactor; Hero_mc._x = HeroX; Hero_mc._y = HeroY; Hero_mc._xscale = HeroXScale; Hero_mc._yscale = HeroYScale; Hero_mc.gotoAndStop(HeroFrame); action = 'idle'; roll_object = ''; kongregate.stats.submit('Objects-Inspected', ObjectsLooked); kongregate.stats.submit('Quotes-Sayd', Quotes); saveData.objectsArray = _root.objectsArray; saveData.namessArray = _root.namessArray; saveData.descArray = _root.descArray; saveData.kindArray = _root.kindArray; saveData.ItemsCollectedArray = _root.ItemsCollectedArray; saveData.EventsArray = _root.EventsArray; saveData.DoorsOpenedArray = _root.DoorsOpenedArray; saveData.EndingsArray = _root.EndingsArray; storedData.data.campaignSave = saveData; flushResult = storedData.flush(1024); hud.menu_btn.onRelease = function () { gotoAndStop('MainMenu'); }; border_mc.RUSTY_mc.onRelease = function () { getURL('http://www.rustyarcade.com?ref=aih2-game', '_blank'); }; hud.Quality_btn.onRelease = function () { if (Quality == 'HIGH') { Quality = 'MEDIUM'; } else { if (Quality == 'MEDIUM') { Quality = 'LOW'; } else { if (Quality == 'LOW') { Quality = 'HIGH'; } } } }; GamePlayMusic.onSoundComplete = function () { playMusic(); }; } var mc_speed = 5; var upwards_threshold = 2.84; var mid_up_threshold = 2.04; var mid_down_threshold = 1.14; var downwards_threshold = 0.3; var moveToX = _root._xmouse; var moveToY = _root._ymouse; var action = 'idle'; var mouseListener = new Object(); var somewhereToMoveListen = false; var whereToMoveX = 0; var whereToMoveY = 0; var roll_action = ''; var roll_object = ''; var click_action = ''; var mc_scale_mod = 10; var mc_scale_factor = 4; var PickingUp = false; var Picked = false; var Speech = ''; var PlayBack = ''; var EndingTipe = ''; var EndingType = undefined; var Volume_FX = 100; var FXMute = false; var Volume_Music = 50; var MusicMute = false; var Viewer = false; var Quality = 'HIGH'; var heroTopLeftX = hero_mc._x - 20; var heroTopLeftY = hero_mc._y - 15; var heroTopRightX = hero_mc._x + 20; var heroTopRightY = hero_mc._y - 15; var heroDownLeftX = hero_mc._x - 20; var heroDownLeftY = hero_mc._y + 10; var heroDownRightX = hero_mc._x + 20; var heroDownRightY = hero_mc._y + 10; var ScaleModF = 5; var ScaleFactorF = 3; var HeroXF = 361; var HeroYF = 274; var HeroXScaleF = 95; var HeroYScaleF = 95; var SideF = 1; var EndingsArray = new Array(); var Quotes = 0; var Cutscenes = 0; var SecterItemsArray = ['Secret item 1: Not Found', 'Secret item 2: Not Found', 'Secret item 3: Not Found', 'Secret item 4: Not Found']; var ObjectsLooked = 0; var FinalScore = 0; var ItemPicked = undefined; var namePicked = undefined; var descPicked = undefined; var kindPicked = undefined; var objectsArray = new Array(); var namessArray = new Array(); var descArray = new Array(); var kindArray = new Array(); var Using = ''; var UsingobjectsArray = undefined; var UsingnamessArray = undefined; var UsingdescArray = undefined; var UsingkindArray = undefined; var ItemsCollectedArray = new Array(); var EventsArray = new Array(); var DoorsOpenedArray = new Array(); var InspectName = ''; var InspectID = 0; var InspectDesc = ''; var InspectKind = ''; var SpeechsCollectArray = new Array('This could be useful', 'Alright', 'Fuck yeah, I always wanted one of these', 'Your guess is as good as mine...', 'Fantastic!'); var SpeechsNoCollectArray = new Array('I don\'t need these', 'No thanks', 'Not much need for that now', 'I won\'t be needing that', 'I\'m not putting that in my pocket', 'It\'s no use now'); var SpeechsNegativeArray = new Array('I\'m not doing that', 'Are you insane?', 'Are you crazy?', 'I rather not', 'I really rather not', 'What the fuck?', 'This really isn\'t the time', 'I\'m NOT doing that', 'You want me to do what?!'); var container1 = this.createEmptyMovieClip('container1', this.getNextHighestDepth()); var container2 = this.createEmptyMovieClip('container2', this.getNextHighestDepth()); var GamePlayMusic = new Sound(container2); GamePlayMusic.attachSound('GamePlayMusic'); var shortcutListener = new Object(); shortcutListener.onKeyDown = function () { if (Key.isDown(27)) { resetClicks(); cursor_mc.gotoAndStop(1); } else { if (Key.isDown(88)) { resetClicks(); _root.click_action = 'Grab'; _root.roll_action = _root.click_action; hud.hud_display.gotoAndStop(3); cursor_mc.gotoAndStop(3); } else { if (Key.isDown(90)) { resetClicks(); _root.click_action = 'Inspect'; _root.roll_action = _root.click_action; hud.hud_display.gotoAndStop(2); cursor_mc.gotoAndStop(2); } else { if (Key.isDown(67)) { resetClicks(); _root.click_action = 'Talk'; _root.roll_action = _root.click_action; hud.hud_display.gotoAndStop(4); cursor_mc.gotoAndStop(4); } } } } }; Key.addListener(shortcutListener); mouseListener.onMouseDown = function () { if (action == 'idle' || action == 'moving') { if (_root.ground.hitTest(_root._xmouse, _root._ymouse, true)) { moveToX = _root._xmouse; moveToY = _root._ymouse; action = 'moving'; } } }; Mouse.addListener(mouseListener); objectsArray.unshift(45); namessArray.unshift('Prison Map'); descArray.unshift(''); kindArray.unshift('Usable'); } frame 1 { var storedData; storedData = SharedObject.getLocal('AIH2'); var saveData; saveData = new Object(); saveData = storedData.data.campaignSave; trace(objectsArray + ' Objects array'); } frame 1 { stop(); preloader_mc.onRelease = function () { getURL('http://www.rustyarcade.com?ref=aih2-preloader', '_blank'); }; playTheFirst_btn.onRelease = function () { getURL('http://www.rustyarcade.com/games/play/19/Arrival-in-hell', '_blank'); }; playGame_btn.onRelease = function () { gotoAndPlay('intros'); }; var PercentageLoaded; preloader_mc.onEnterFrame = function () { this.gotoAndStop(Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100)); PercentageLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); if (PercentageLoaded >= 100) { playGame_btn._visible = true; } else { if (PercentageLoaded < 100) { playGame_btn._visible = false; } } }; } movieClip 198 { frame 1 { stop(); } } // unknown tag 88 length 148 // unknown tag 88 length 153 movieClip 4869 __Packages.mochi.as2.MochiScores { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiScores) { var v1 = function () {}; mochi.as2.MochiScores = v1; var v2 = v1.prototype; v1.setBoardID = function (boardID) { mochi.as2.MochiServices.warnID(boardID, true); mochi.as2.MochiScores.boardID = boardID; mochi.as2.MochiServices.send('scores_setBoardID', {'boardID': boardID}); }; v1.showLeaderboard = function (options) { options.clip = mochi.as2.MochiServices.clip; if (options.clip != mochi.as2.MochiServices.__get__clip() || (mochi.as2.MochiServices.__get__childClip())._target == undefined) { mochi.as2.MochiServices.disconnect(); trace('WARNING! This application is attempting to connect to MochiServices inside a showLeaderboard call!'); trace('make sure MochiServices.connect is called as early in the application runtime as possible.'); mochi.as2.MochiServices.connect(mochi.as2.MochiServices.__get__id(), options.clip); } delete options.clip; if (options.name != null) { if (typeof options.name == 'object') { if (options.name.text != undefined) { options.name = options.name.text; } } } if (options.score != null) { if (options.score instanceof TextField) { if (options.score.text != undefined) { options.score = options.score.text; } } else { if (options.score instanceof mochi.as2.MochiDigits) { options.score = options.score.value; } } var v1 = Number(options.score); if (isNaN(v1)) { trace('ERROR: Submitted score \'' + options.score + '\' will be rejected, score is \'Not a Number\''); } else { if (v1 == Number.NEGATIVE_INFINITY || v1 == Number.POSITIVE_INFINITY) { trace('ERROR: Submitted score \'' + options.score + '\' will be rejected, score is an infinite'); } else { if (Math.floor(v1) != v1) { trace('WARNING: Submitted score \'' + options.score + '\' will be truncated'); } options.score = v1; } } } if (options.onDisplay != null) { options.onDisplay(); } else { (mochi.as2.MochiServices.__get__clip()).stop(); } if (options.onClose != null) { mochi.as2.MochiScores.onClose = options.onClose; } else { mochi.as2.MochiScores.onClose = function () { (mochi.as2.MochiServices.__get__clip()).play(); }; } if (options.onError != null) { mochi.as2.MochiScores.onError = options.onError; } else { mochi.as2.MochiScores.onError = mochi.as2.MochiScores.onClose; } if (options.boardID == null) { if (mochi.as2.MochiScores.boardID != null) { options.boardID = mochi.as2.MochiScores.boardID; } } mochi.as2.MochiServices.warnID(options.boardID, true); trace('[MochiScores] NOTE: Security Sandbox Violation errors below are normal'); mochi.as2.MochiServices.send('scores_showLeaderboard', {'options': options}, null, mochi.as2.MochiScores.doClose); }; v1.closeLeaderboard = function () { mochi.as2.MochiServices.send('scores_closeLeaderboard'); }; v1.getPlayerInfo = function (callbackObj, callbackMethod) { mochi.as2.MochiServices.send('scores_getPlayerInfo', null, callbackObj, callbackMethod); }; v1.submit = function (score, name, callbackObj, callbackMethod) { score = Number(score); if (isNaN(score)) { trace('ERROR: Submitted score \'' + String(score) + '\' will be rejected, score is \'Not a Number\''); } else { if (score == Number.NEGATIVE_INFINITY || score == Number.POSITIVE_INFINITY) { trace('ERROR: Submitted score \'' + String(score) + '\' will be rejected, score is an infinite'); } else { if (Math.floor(score) != score) { trace('WARNING: Submitted score \'' + String(score) + '\' will be truncated'); } score = Number(score); } } mochi.as2.MochiServices.send('scores_submit', {'score': score, 'name': name}, callbackObj, callbackMethod); }; v1.requestList = function (callbackObj, callbackMethod) { mochi.as2.MochiServices.send('scores_requestList', null, callbackObj, callbackMethod); }; v1.scoresArrayToObjects = function (scores) { var v5 = {}; var v1; var v4; var v2; var v6; for (var v8 in scores) { if (typeof scores[v8] == 'object') { if (scores[v8].cols != null && scores[v8].rows != null) { v5[v8] = []; v2 = scores[v8]; v4 = 0; while (v4 < v2.rows.length) { v6 = {}; v1 = 0; while (v1 < v2.cols.length) { v6[v2.cols[v1]] = v2.rows[v4][v1]; ++v1; } v5[v8].push(v6); ++v4; } } else { v5[v8] = {}; for (var v7 in scores[v8]) { v5[v8][v7] = scores[v8][v7]; } } } else { v5[v8] = scores[v8]; } } return v5; }; v1.doClose = function (args) { if (args.error == true) { if (args.errorCode == undefined) { args.errorCode = 'IOError'; } mochi.as2.MochiScores.onError.apply(null, [args.errorCode]); } else { mochi.as2.MochiScores.onClose.apply(); } }; ASSetPropFlags(mochi.as2.MochiScores.prototype, null, 1); } #endinitclip } movieClip 4870 __Packages.mochi.as2.MochiSync { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiSync) { var v1 = function () { this._syncContainer = {}; }; mochi.as2.MochiSync = v1; var v2 = v1.prototype; v2.getProp = function (name) { return this._syncContainer[name]; }; v2.setProp = function (name, value) { if (this._syncContainer[name] == value) { return undefined; } this._syncContainer[name] = value; mochi.as2.MochiServices.send('sync_propUpdate', {'name': name, 'value': value}); }; v2.triggerEvent = function (eventType, args) { switch (eventType) { case mochi.as2.MochiSync.SYNC_REQUEST: mochi.as2.MochiServices.send('sync_syncronize', this._syncContainer); break; case mochi.as2.MochiSync.SYNC_PROPERTY: this._syncContainer[args.name] = args.value; } }; v1.SYNC_REQUEST = 'SyncRequest'; v1.SYNC_PROPERTY = 'UpdateProperty'; ASSetPropFlags(mochi.as2.MochiSync.prototype, null, 1); } #endinitclip } movieClip 4871 __Packages.mochi.as2.MochiServices { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiServices) { var v1 = function () {}; mochi.as2.MochiServices = v1; var v2 = v1.prototype; v1.__get__id = function () { return mochi.as2.MochiServices._id; }; v1.__get__clip = function () { return mochi.as2.MochiServices._container; }; v1.__get__childClip = function () { return mochi.as2.MochiServices._clip; }; v1.getVersion = function () { return '3.8 as2'; }; v1.allowDomains = function (server) { var v1 = ((server.split('/'))[2].split(':'))[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain('*'); System.security.allowDomain(v1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain('*'); System.security.allowInsecureDomain(v1); } } return v1; }; v1.__get__isNetworkAvailable = function () { if (System.security) { var v1 = System.security; if (v1.sandboxType == 'localWithFile') { return false; } } return true; }; v1.__set__comChannelName = function (val) { if (val != undefined) { if (val.length > 3) { mochi.as2.MochiServices._sendChannelName = val + '_fromgame'; mochi.as2.MochiServices.initComChannels(); } } return mochi.as2.MochiServices.__get__comChannelName(); }; v1.__get__connected = function () { return mochi.as2.MochiServices._connected; }; v1.connect = function (id, clip, onError) { mochi.as2.MochiServices.warnID(id, false); if (!mochi.as2.MochiServices._connected && mochi.as2.MochiServices._clip == undefined) { trace('MochiServices Connecting...'); mochi.as2.MochiServices._connecting = true; mochi.as2.MochiServices.init(id, clip); } if (onError != undefined) { mochi.as2.MochiServices.onError = onError; } else { if (mochi.as2.MochiServices.onError == undefined) { mochi.as2.MochiServices.onError = function (errorCode) { trace(errorCode); }; } } }; v1.disconnect = function () { if (mochi.as2.MochiServices._connected || mochi.as2.MochiServices._connecting) { mochi.as2.MochiServices._connected = false; mochi.as2.MochiServices._connecting = mochi.as2.MochiServices._connected; mochi.as2.MochiServices.flush(true); if (mochi.as2.MochiServices._clip != undefined) { mochi.as2.MochiServices._clip.removeMovieClip(); delete mochi.as2.MochiServices._clip; } mochi.as2.MochiServices._listenChannel.close(); } }; v1.init = function (id, clip) { mochi.as2.MochiServices._id = id; if (clip != undefined) { mochi.as2.MochiServices._container = clip; } else { mochi.as2.MochiServices._container = _root; } mochi.as2.MochiServices.loadCommunicator(id, mochi.as2.MochiServices._container); }; v1.loadCommunicator = function (id, clip) { var v6 = '_mochiservices_com_' + id; var v5 = new MovieClipLoader(); var v3 = {}; if (mochi.as2.MochiServices._clip != null) { return mochi.as2.MochiServices._clip; } if (!mochi.as2.MochiServices.__get__isNetworkAvailable()) { return null; } if ((mochi.as2.MochiServices.urlOptions()).servURL) { mochi.as2.MochiServices._servURL = (mochi.as2.MochiServices.urlOptions()).servURL; } var v4 = mochi.as2.MochiServices._servURL + mochi.as2.MochiServices._services; if ((mochi.as2.MochiServices.urlOptions()).servicesURL) { v4 = (mochi.as2.MochiServices.urlOptions()).servicesURL; } mochi.as2.MochiServices.allowDomains(v4); mochi.as2.MochiServices._clip = clip.createEmptyMovieClip(v6, 10336, false); mochi.as2.MochiServices._listenChannelName += Math.floor((new Date()).getTime()) + '_' + Math.floor(Math.random() * 99999); mochi.as2.MochiServices.listen(); if (v3.waitInterval != null) { clearInterval(v3.waitInterval); } v3.onLoadError = mochi.as2.MochiServices.loadError; v3.onLoadStart = function (target_mc) { this.isLoading = true; }; v3.onLoadComplete = function (target_mc) { target_mc.MochiServices = mochi.as2.MochiServices; }; v3.startTime = getTimer(); v3.wait = function () { if (getTimer() - this.startTime > 10000) { if (!this.isLoading) { mochi.as2.MochiServices.disconnect(); mochi.as2.MochiServices.onError.apply(null, ['IOError']); } clearInterval(this.waitInterval); } }; v3.waitInterval = setInterval(v3, 'wait', 1000); v5.addListener(v3); v5.loadClip(v4 + '?listenLC=' + mochi.as2.MochiServices._listenChannelName + '&mochiad_options=' + escape(_root.mochiad_options) + '&api_version=' + mochi.as2.MochiServices.getVersion(), mochi.as2.MochiServices._clip); mochi.as2.MochiServices._sendChannel = new LocalConnection(); mochi.as2.MochiServices._sendChannel._queue = []; return mochi.as2.MochiServices._clip; }; v1.loadError = function (target_mc, errorCode, httpStatus) { trace('MochiServices could not load.'); mochi.as2.MochiServices.disconnect(); mochi.as2.MochiServices.onError.apply(null, [errorCode]); }; v1.onStatus = function (infoObject) { if (infoObject.level !== 'error') { } else { mochi.as2.MochiServices._connected = false; mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName); } }; v1.listen = function () { mochi.as2.MochiServices._listenChannel = new LocalConnection(); mochi.as2.MochiServices._listenChannel.handshake = function (args) { mochi.as2.MochiServices.__set__comChannelName(args.newChannel); }; mochi.as2.MochiServices._listenChannel.allowDomain = function (d) { return true; }; mochi.as2.MochiServices._listenChannel.allowInsecureDomain = mochi.as2.MochiServices._listenChannel.allowDomain; mochi.as2.MochiServices._listenChannel._nextcallbackID = 0; mochi.as2.MochiServices._listenChannel._callbacks = {}; mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName); trace('Waiting for MochiAds services to connect...'); }; v1.initComChannels = function () { if (!mochi.as2.MochiServices._connected) { mochi.as2.MochiServices._sendChannel.onStatus = function (infoObject) { mochi.as2.MochiServices.onStatus(infoObject); }; mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'handshakeDone'}); mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'registerGame', 'id': mochi.as2.MochiServices._id, 'version': mochi.as2.MochiServices.getVersion()}); mochi.as2.MochiServices._listenChannel.onStatus = function (infoObject) { mochi.as2.MochiServices.onStatus(infoObject); }; mochi.as2.MochiServices._listenChannel.onReceive = function (pkg) { var v5 = pkg.callbackID; var v4 = this._callbacks[v5]; if (!v4) { return undefined; } var v2 = v4.callbackMethod; var v3 = v4.callbackObject; if (v3 && typeof v2 == 'string') { v2 = v3[v2]; } if (v2 != undefined) { v2.apply(v3, pkg.args); } delete this._callbacks[v5]; }; mochi.as2.MochiServices._listenChannel.onEvent = function (pkg) { switch (pkg.target) { case 'events': mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args); break; case 'coins': mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args); break; case 'sync': mochi.as2.MochiServices.servicesSync.triggerEvent(pkg.event, pkg.args); } }; mochi.as2.MochiServices._listenChannel.onError = function () { mochi.as2.MochiServices.onError.apply(null, ['IOError']); }; trace('[SERVICES_API] connected!'); mochi.as2.MochiServices._connecting = false; mochi.as2.MochiServices._connected = true; while (mochi.as2.MochiServices._sendChannel._queue.length > 0) { mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', mochi.as2.MochiServices._sendChannel._queue.shift()); } } }; v1.updateCopy = function (args) { mochi.as2.MochiServices.send('coins_updateCopy', args, null, null); }; v1.flush = function (error) { var v1; var v2; while (mochi.as2.MochiServices._sendChannel._queue.length > 0) { v1 = mochi.as2.MochiServices._sendChannel._queue.shift(); false; if (v1.callbackID != null) { v2 = mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID]; } delete mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID]; if (error) { mochi.as2.MochiServices.handleError(v1.args, v2.callbackObject, v2.callbackMethod); } } }; v1.handleError = function (args, callbackObject, callbackMethod) { if (args != null) { if (args.onError != null) { args.onError.apply(null, ['NotConnected']); } if (args.options != null && args.options.onError != null) { args.options.onError.apply(null, ['NotConnected']); } } if (callbackMethod != null) { args = {}; args.error = true; args.errorCode = 'NotConnected'; if (callbackObject != null && typeof callbackMethod == 'string') { callbackObject[callbackMethod](args); } else { if (callbackMethod != null) { callbackMethod.apply(args); } } } }; v1.send = function (methodName, args, callbackObject, callbackMethod) { if (mochi.as2.MochiServices._connected) { mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID}); } else { if (mochi.as2.MochiServices._clip == undefined || !mochi.as2.MochiServices._connecting) { trace('Error: MochiServices not connected. Please call MochiServices.connect(). Function: ' + methodName); mochi.as2.MochiServices.handleError(args, callbackObject, callbackMethod); mochi.as2.MochiServices.flush(true); return undefined; } else { mochi.as2.MochiServices._sendChannel._queue.push({'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID}); } } mochi.as2.MochiServices._listenChannel._callbacks[mochi.as2.MochiServices._listenChannel._nextcallbackID] = {'callbackObject': callbackObject, 'callbackMethod': callbackMethod}; ++mochi.as2.MochiServices._listenChannel._nextcallbackID; }; v1.urlOptions = function () { var v5 = {}; var v6; if (_root._url.indexOf('mochiad_options') != -1) { var v2 = _root._url.indexOf('mochiad_options') + 'mochiad_options'.length + 1; v6 = _root._url.substr(v2, _root._url.length); } else { if (_root.mochiad_options) { v6 = _root.mochiad_options; } } if (v6) { var v4 = _root.mochiad_options.split('&'); var v2 = 0; while (v2 < v4.length) { var v3 = v4[v2].split('='); v5[unescape(v3[0])] = unescape(v3[1]); ++v2; } } return v5; }; v1.warnID = function (bid, leaderboard) { bid = bid.toLowerCase(); if (bid.length != 16) { trace('WARNING: ' + (leaderboard ? 'board' : 'game') + ' ID is not the appropriate length'); return undefined; } else { if (bid == '1e113c7239048b3f') { if (leaderboard) { trace('WARNING: Using testing board ID'); } else { trace('WARNING: Using testing board ID as game ID'); } return undefined; } else { if (bid == '84993a1de4031cd8') { if (leaderboard) { trace('WARNING: Using testing game ID as board ID'); } else { trace('WARNING: Using testing game ID'); } return undefined; } } } var v1 = 0; while (v1 < bid.length) { switch (bid.charAt(v1)) { if (bid.charAt(v1) !== 'f') { } else { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case 'a': case 'b': case 'c': break; case 'd': case 'e': } default: trace('WARNING: Board ID contains illegal characters: ' + bid); return undefined; } ++v1; } }; v1.addLinkEvent = function (url, burl, btn, onClick) { var timeout = 1500; var t0 = getTimer(); var v2 = new Object(); v2.mav = mochi.as2.MochiServices.getVersion(); v2.swfv = btn.getSWFVersion() || 6; v2.swfurl = btn._url; v2.fv = System.capabilities.version; v2.os = System.capabilities.os; v2.lang = System.capabilities.language; v2.scres = System.capabilities.screenResolutionX + 'x' + System.capabilities.screenResolutionY; var s = '?'; var v3 = 0; for (var v6 in v2) { if (v3 != 0) { s += '&'; } ++v3; s = s + v6 + '=' + escape(v2[v6]); } if (!(mochi.as2.MochiServices.netupAttempted || mochi.as2.MochiServices._connected)) { var ping = btn.createEmptyMovieClip('ping', 777); var v7 = btn.createEmptyMovieClip('nettest', 778); mochi.as2.MochiServices.netupAttempted = true; ping.loadMovie('http://x.mochiads.com/linkping.swf?t=' + getTimer()); v7.onEnterFrame = function () { if (ping._totalframes > 0 && ping._totalframes == ping._framesloaded) { delete this.onEnterFrame; } else { if (getTimer() - t0 > timeout) { delete this.onEnterFrame; mochi.as2.MochiServices.netup = false; } } }; } var v4 = btn.createEmptyMovieClip('clk', 1001); v4._alpha = 0; v4.beginFill(1044735); v4.moveTo(0, 0); v4.lineTo(0, btn._height); v4.lineTo(btn._width, btn._height); v4.lineTo(btn._width, 0); v4.lineTo(0, 0); v4.endFill(); v4.onRelease = function () { if (mochi.as2.MochiServices.netup) { getURL(url + s, '_blank'); } else { getURL(burl, '_blank'); } if (onClick != undefined) { onClick(); } }; }; v1.setContainer = function (clip) {}; v1.stayOnTop = function (clip) {}; v1._servURL = 'http://www.mochiads.com/static/lib/services/'; v1._services = 'services.swf'; v1._mochiLC = 'MochiLC.swf'; v1._listenChannelName = '__ms_'; v1._connecting = false; v1._connected = false; v1.netup = true; v1.netupAttempted = false; v1.servicesSync = new mochi.as2.MochiSync(); v1.addProperty('childClip', v1.__get__childClip, function () {}); v1.addProperty('clip', v1.__get__clip, function () {}); v1.addProperty('comChannelName', function () {}, v1.__set__comChannelName); v1.addProperty('connected', v1.__get__connected, function () {}); v1.addProperty('id', v1.__get__id, function () {}); v1.addProperty('isNetworkAvailable', v1.__get__isNetworkAvailable, function () {}); ASSetPropFlags(mochi.as2.MochiServices.prototype, null, 1); } #endinitclip } movieClip 4872 __Packages.mochi.as2.MochiEventDispatcher { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiEventDispatcher) { var v1 = function () { this.eventTable = {}; }; mochi.as2.MochiEventDispatcher = v1; var v2 = v1.prototype; v2.buildDelegate = function (thisObject, thatObject) { var v2 = {'thisObject': thisObject, 'thatObject': thatObject}; if (thatObject != undefined) { var funct = (typeof thatObject == 'string') ? thisObject[thatObject] : thatObject; v2.delegate = function (args) { funct.call(thisObject, args); }; return v2; } v2.delegate = thisObject; return v2; }; v2.compareDelegate = function (d_A, d_B) { if (d_A.thisObject != d_B.thisObject || d_A.thatObject != d_B.thatObject) { return false; } return true; }; v2.addEventListener = function (event, thisObject, thatObject) { this.removeEventListener(event, thisObject, thatObject); this.eventTable[event].push(this.buildDelegate(thisObject, thatObject)); }; v2.removeEventListener = function (event, thisObject, thatObject) { var v3 = this.buildDelegate(thisObject, thatObject); if (this.eventTable[event] == undefined) { this.eventTable[event] = []; return undefined; } for (var v4 in this.eventTable[event]) { if (!this.compareDelegate(this.eventTable[event][v4], v3)) { continue; } this.eventTable[event].splice(Number(v4), 1); } }; v2.triggerEvent = function (event, args) { if (this.eventTable[event] == undefined) { return undefined; } for (var v4 in this.eventTable[event]) { this.eventTable[event][v4].delegate(args); } }; ASSetPropFlags(mochi.as2.MochiEventDispatcher.prototype, null, 1); } #endinitclip } movieClip 4873 __Packages.mochi.as2.MochiEvents { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiEvents) { var v1 = function () {}; mochi.as2.MochiEvents = v1; var v2 = v1.prototype; v1.getVersion = function () { return mochi.as2.MochiServices.getVersion(); }; v1.startSession = function (achievementID) { mochi.as2.MochiServices.send('events_beginSession', {'achievementID': achievementID}, null, null); }; v1.setNotifications = function (clip, style) { var v2 = {}; for (var v3 in style) { v2[v3] = style[v3]; } v2.clip = clip; mochi.as2.MochiServices.send('events_setNotifications', v2, null, null); }; v1.addEventListener = function (eventType, thisObject, thatObject) { mochi.as2.MochiEvents._dispatcher.addEventListener(eventType, thisObject, thatObject); }; v1.triggerEvent = function (eventType, args) { mochi.as2.MochiEvents._dispatcher.triggerEvent(eventType, args); }; v1.removeEventListener = function (eventType, thisObject, thatObject) { mochi.as2.MochiEvents._dispatcher.removeEventListener(eventType, thisObject, thatObject); }; v1.startPlay = function (tag) { if (tag == undefined) { tag = 'gameplay'; } mochi.as2.MochiServices.send('events_setRoundID', {'tag': String(tag)}, null, null); }; v1.endPlay = function () { mochi.as2.MochiServices.send('events_clearRoundID', null, null, null); }; v1.trackEvent = function (tag, value) { mochi.as2.MochiServices.send('events_trackEvent', {'tag': tag, 'value': value}, null, null); }; v1.ACHIEVEMENT_RECEIVED = 'AchievementReceived'; v1.ALIGN_TOP_LEFT = 'ALIGN_TL'; v1.ALIGN_TOP = 'ALIGN_T'; v1.ALIGN_TOP_RIGHT = 'ALIGN_TR'; v1.ALIGN_LEFT = 'ALIGN_L'; v1.ALIGN_CENTER = 'ALIGN_C'; v1.ALIGN_RIGHT = 'ALIGN_R'; v1.ALIGN_BOTTOM_LEFT = 'ALIGN_BL'; v1.ALIGN_BOTTOM = 'ALIGN_B'; v1.ALIGN_BOTTOM_RIGHT = 'ALIGN_BR'; v1.FORMAT_SHORT = 'ShortForm'; v1.FORMAT_LONG = 'LongForm'; v1._dispatcher = new mochi.as2.MochiEventDispatcher(); ASSetPropFlags(mochi.as2.MochiEvents.prototype, null, 1); } #endinitclip } movieClip 4874 __Packages.mochi.as2.MochiSocial { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiSocial) { var v1 = function () {}; mochi.as2.MochiSocial = v1; var v2 = v1.prototype; v1.getVersion = function () { return mochi.as2.MochiServices.getVersion(); }; v1.showLoginWidget = function (options) { mochi.as2.MochiServices.setContainer(); mochi.as2.MochiServices.stayOnTop(); mochi.as2.MochiServices.send('coins_showLoginWidget', {'options': options}); }; v1.hideLoginWidget = function () { mochi.as2.MochiServices.send('coins_hideLoginWidget'); }; v1.requestLogin = function () { mochi.as2.MochiServices.send('coins_requestLogin'); }; v1.getUserInfo = function () { mochi.as2.MochiServices.send('coins_getUserInfo'); }; v1.saveUserProperties = function (properties) { mochi.as2.MochiServices.send('coins_saveUserProperties', properties); }; v1.addEventListener = function (eventType, delegate) { mochi.as2.MochiSocial._dispatcher.addEventListener(eventType, delegate); }; v1.triggerEvent = function (eventType, args) { mochi.as2.MochiSocial._dispatcher.triggerEvent(eventType, args); }; v1.removeEventListener = function (eventType, delegate) { mochi.as2.MochiSocial._dispatcher.removeEventListener(eventType, delegate); }; v1.LOGGED_IN = 'LoggedIn'; v1.LOGGED_OUT = 'LoggedOut'; v1.LOGIN_SHOW = 'LoginShow'; v1.LOGIN_HIDE = 'LoginHide'; v1.LOGIN_SHOWN = 'LoginShown'; v1.PROFILE_SHOW = 'ProfileShow'; v1.PROFILE_HIDE = 'ProfileHide'; v1.PROPERTIES_SAVED = 'PropertySaved'; v1.WIDGET_LOADED = 'WidgetLoaded'; v1.USER_INFO = 'UserInfo'; v1.ERROR = 'Error'; v1.IO_ERROR = 'IOError'; v1.NO_USER = 'NoUser'; v1.PROPERTIES_SIZE = 'PropertiesSize'; v1._dispatcher = new mochi.as2.MochiEventDispatcher(); ASSetPropFlags(mochi.as2.MochiSocial.prototype, null, 1); } #endinitclip } movieClip 4875 __Packages.mochi.as2.MochiDigits { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiDigits) { var v1 = function (digit, index) { this.Encoder = 0; this.setValue(digit, index); }; mochi.as2.MochiDigits = v1; var v2 = v1.prototype; v2.__get__value = function () { return Number(this.toString()); }; v2.__set__value = function (v) { this.setValue(v); return this.__get__value(); }; v2.addValue = function (v) { this.value += v; }; v2.setValue = function (digit, index) { var v3 = digit.toString(); if (index == undefined || isNaN(index)) { index = 0; } this.Fragment = v3.charCodeAt(index++) ^ this.Encoder; if (index < v3.length) { this.Sibling = new mochi.as2.MochiDigits(digit, index); } else { this.Sibling = null; } this.reencode(); }; v2.reencode = function () { var v2 = int(2147483647 * Math.random()); this.Fragment ^= v2 ^ this.Encoder; this.Encoder = v2; }; v2.toString = function () { var v2 = String.fromCharCode(this.Fragment ^ this.Encoder); return (this.Sibling != null) ? v2.concat(this.Sibling.toString()) : v2; }; v2.addProperty('value', v2.__get__value, v2.__set__value); ASSetPropFlags(mochi.as2.MochiDigits.prototype, null, 1); } #endinitclip } movieClip 4876 __Packages.mochi.as2.MochiAd { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiAd) { var v1 = function () {}; mochi.as2.MochiAd = v1; var v2 = v1.prototype; v1.getVersion = function () { return mochi.as2.MochiServices.getVersion(); }; v1.showPreGameAd = function (options) { var v26 = {'clip': _root, 'ad_timeout': 3000, 'fadeout_time': 250, 'regpt': 'o', 'method': 'showPreloaderAd', 'color': 16747008, 'background': 16777161, 'outline': 13994812, 'no_progress_bar': false, 'ad_started': function () { this.clip.stop(); }, 'ad_finished': function () { this.clip.play(); }, 'ad_failed': function () { trace('[MochiAd] Couldn\'t load an ad, make sure that your game\'s local security sandbox is configured for Access Network Only and that you are not using ad blocking software'); }, 'ad_loaded': function (width, height) {}, 'ad_skipped': function () {}, 'ad_progress': function (percent) {}}; options = mochi.as2.MochiAd._parseOptions(options, v26); if ('c862232051e0a94e1c3609b3916ddb17'.substr(0) == 'dfeada81ac97cde83665f81c12da7def') { options.ad_started(); options.ad_finished(); return undefined; } var clip = options.clip; var v23 = 11000; var v19 = options.ad_timeout; if (options.skip) { v19 = 0; } delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!mochi.as2.MochiAd.load(options)) { options.ad_failed(); options.ad_finished(); return undefined; } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var v14 = mochi.as2.MochiAd._getRes(options); var v4 = v14[0]; var v13 = v14[1]; mc._x = v4 * 0.5; mc._y = v13 * 0.5; var chk = mc.createEmptyMovieClip('_mochiad_wait', 3); chk._x = v4 * -0.5; chk._y = v13 * -0.5; var v6 = chk.createEmptyMovieClip('_mochiad_bar', 4); if (options.no_progress_bar) { v6._visible = false; delete options.no_progress_bar; } else { v6._x = 10; v6._y = v13 - 20; } var v22 = options.color; delete options.color; var v20 = options.background; delete options.background; var v24 = options.outline; delete options.outline; var v5 = v6.createEmptyMovieClip('_outline', 1); v5.beginFill(v20); v5.moveTo(0, 0); v5.lineTo(v4 - 20, 0); v5.lineTo(v4 - 20, 10); v5.lineTo(0, 10); v5.lineTo(0, 0); v5.endFill(); var v3 = v6.createEmptyMovieClip('_inside', 2); v3.beginFill(v22); v3.moveTo(0, 0); v3.lineTo(v4 - 20, 0); v3.lineTo(v4 - 20, 10); v3.lineTo(0, 10); v3.lineTo(0, 0); v3.endFill(); v3._xscale = 0; var v7 = v6.createEmptyMovieClip('_outline', 3); v7.lineStyle(0, v24, 100); v7.moveTo(0, 0); v7.lineTo(v4 - 20, 0); v7.lineTo(v4 - 20, 10); v7.lineTo(0, 10); v7.lineTo(0, 0); chk.ad_msec = v23; chk.ad_timeout = v19; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var v2 = 100 * (1 - (getTimer() - this.fadeout_start) / this.fadeout_time); if (v2 > 0) { this._parent._alpha = v2; } else { var v3 = this._parent._parent; mochi.as2.MochiAd.unload(v3); delete this.onEnterFrame; } }; var sendHostProgress = false; mc.lc.sendHostLoadProgress = function (lc_name) { sendHostProgress = true; }; mc.lc.adLoaded = options.ad_loaded; mc.lc.adSkipped = options.ad_skipped; mc.lc.adjustProgress = function (msec) { var v2 = this.mc._mochiad_wait; v2.server_control = true; v2.started = getTimer(); v2.ad_msec = msec; }; mc.lc.rpc = function (callbackID, arg) { mochi.as2.MochiAd.rpc(clip, callbackID, arg); }; mc.rpcTestFn = function (s) { trace('[MOCHIAD rpcTestFn] ' + s); return s; }; chk.onEnterFrame = function () { var v6 = this._parent._parent; var v11 = this._parent._mochiad_ctr; var v5 = getTimer() - this.started; var v3 = false; var v4 = v6.getBytesTotal(); var v8 = v6.getBytesLoaded(); var v2 = 100 * v8 / v4; var v10 = 100 * v5 / chk.ad_msec; var v9 = this._mochiad_bar._inside; var v13 = Math.min(100, Math.min(v2 || 0, v10)); v13 = Math.max(this.last_pcnt, v13); this.last_pcnt = v13; v9._xscale = v13; options.ad_progress(v13); if (sendHostProgress) { mochi.as2.MochiAd.containerNotify(clip, {'id': 'hostLoadPcnt', 'pcnt': v2}, clip._mochiad._containerLCName); if (v2 == 100) { sendHostProgress = false; } } if (!chk.showing) { var v7 = v11.getBytesTotal(); if (v7 > 0 || typeof v7 == 'undefined') { chk.showing = true; chk.started = getTimer(); } else { if (v5 > chk.ad_timeout && v2 == 100) { options.ad_failed(); v3 = true; } } } if (v5 > chk.ad_msec) { v3 = true; } if (v4 > 0 && v8 >= v4 && v3) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; } } }; }; v1.showClickAwayAd = function (options) { var v10 = {'clip': _root, 'ad_timeout': 2000, 'fadeout_time': 250, 'regpt': 'o', 'method': 'showClickAwayAd', 'res': '300x250', 'no_bg': true, 'ad_started': function () {}, 'ad_finished': function () {}, 'ad_loaded': function (width, height) {}, 'ad_failed': function () { trace('[MochiAd] Couldn\'t load an ad, make sure that your game\'s local security sandbox is configured for Access Network Only and that you are not using ad blocking software'); }, 'ad_skipped': function () {}}; options = mochi.as2.MochiAd._parseOptions(options, v10); var clip = options.clip; var v9 = options.ad_timeout; delete options.ad_timeout; if (!mochi.as2.MochiAd.load(options)) { options.ad_failed(); options.ad_finished(); return undefined; } options.ad_started(); var v3 = clip._mochiad; v3.onUnload = function () { options.ad_finished(); }; var v5 = mochi.as2.MochiAd._getRes(options); var v11 = v5[0]; var v8 = v5[1]; v3._x = v11 * 0.5; v3._y = v8 * 0.5; var chk = v3.createEmptyMovieClip('_mochiad_wait', 3); chk.ad_timeout = v9; chk.started = getTimer(); chk.showing = false; v3.lc.adLoaded = options.ad_loaded; v3.lc.adSkipped = options.ad_skipped; v3.lc.rpc = function (callbackID, arg) { mochi.as2.MochiAd.rpc(clip, callbackID, arg); }; v3.rpcTestFn = function (s) { trace('[MOCHIAD rpcTestFn] ' + s); return s; }; var v21 = false; chk.onEnterFrame = function () { var v5 = this._parent._mochiad_ctr; var v4 = getTimer() - this.started; var v2 = false; if (!chk.showing) { var v3 = v5.getBytesTotal(); if (v3 > 0 || typeof v3 == 'undefined') { v2 = true; chk.showing = true; chk.started = getTimer(); } else { if (v4 > chk.ad_timeout) { options.ad_failed(); v2 = true; } } } if (v2) { delete this.onEnterFrame; } }; }; v1.showInterLevelAd = function (options) { var v13 = {'clip': _root, 'ad_timeout': 2000, 'fadeout_time': 250, 'regpt': 'o', 'method': 'showTimedAd', 'ad_started': function () { this.clip.stop(); }, 'ad_finished': function () { this.clip.play(); }, 'ad_failed': function () { trace('[MochiAd] Couldn\'t load an ad, make sure that your game\'s local security sandbox is configured for Access Network Only and that you are not using ad blocking software'); }, 'ad_loaded': function (width, height) {}, 'ad_skipped': function () {}}; options = mochi.as2.MochiAd._parseOptions(options, v13); var clip = options.clip; var v10 = 11000; var v12 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!mochi.as2.MochiAd.load(options)) { options.ad_failed(); options.ad_finished(); return undefined; } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var v5 = mochi.as2.MochiAd._getRes(options); var v14 = v5[0]; var v11 = v5[1]; mc._x = v14 * 0.5; mc._y = v11 * 0.5; var chk = mc.createEmptyMovieClip('_mochiad_wait', 3); chk.ad_msec = v10; chk.ad_timeout = v12; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var v2 = 100 * (1 - (getTimer() - this.fadeout_start) / this.fadeout_time); if (v2 > 0) { this._parent._alpha = v2; } else { var v3 = this._parent._parent; mochi.as2.MochiAd.unload(v3); delete this.onEnterFrame; } }; mc.lc.adLoaded = options.ad_loaded; mc.lc.adSkipped = options.ad_skipped; mc.lc.adjustProgress = function (msec) { var v2 = this.mc._mochiad_wait; v2.server_control = true; v2.started = getTimer(); v2.ad_msec = msec - 250; }; mc.lc.rpc = function (callbackID, arg) { mochi.as2.MochiAd.rpc(clip, callbackID, arg); }; mc.rpcTestFn = function (s) { trace('[MOCHIAD rpcTestFn] ' + s); return s; }; chk.onEnterFrame = function () { var v5 = this._parent._mochiad_ctr; var v4 = getTimer() - this.started; var v2 = false; if (!chk.showing) { var v3 = v5.getBytesTotal(); if (v3 > 0 || typeof v3 == 'undefined') { chk.showing = true; chk.started = getTimer(); } else { if (v4 > chk.ad_timeout) { options.ad_failed(); v2 = true; } } } if (v4 > chk.ad_msec) { v2 = true; } if (v2) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; } } }; }; v1.showPreloaderAd = function (options) { trace('[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0'); mochi.as2.MochiAd.showPreGameAd(options); }; v1.showTimedAd = function (options) { trace('[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0'); mochi.as2.MochiAd.showInterLevelAd(options); }; v1._allowDomains = function (server) { var v1 = ((server.split('/'))[2].split(':'))[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain('*'); System.security.allowDomain(v1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain('*'); System.security.allowInsecureDomain(v1); } } return v1; }; v1.load = function (options) { var v12 = {'clip': _root, 'server': 'http://x.mochiads.com/srv/1/', 'method': 'load', 'depth': 10333, 'id': '_UNKNOWN_'}; options = mochi.as2.MochiAd._parseOptions(options, v12); options.swfv = options.clip.getSWFVersion() || 6; options.mav = mochi.as2.MochiAd.getVersion(); var v6 = options.clip; if (!mochi.as2.MochiAd._isNetworkAvailable()) { return null; } if (v6._mochiad_loaded) { return null; } var v11 = options.depth; delete options.depth; var mc = v6.createEmptyMovieClip('_mochiad', v11); var v10 = mochi.as2.MochiAd._getRes(options); options.res = v10[0] + 'x' + v10[1]; options.server += options.id; delete options.id; v6._mochiad_loaded = true; if (v6._url.indexOf('http') != 0) { trace('[MochiAd] NOTE: Security Sandbox Violation errors below are normal'); } var v4 = mc.createEmptyMovieClip('_mochiad_ctr', 1); for (var v7 in options) { v4[v7] = options[v7]; } var v9 = v4.server; delete v4.server; var v13 = mochi.as2.MochiAd._allowDomains(v9); mc.onEnterFrame = function () { if (this._mochiad_ctr._url != this._url) { this.onEnterFrame = function () { if (!this._mochiad_ctr) { delete this.onEnterFrame; mochi.as2.MochiAd.unload(this._parent); } }; } }; var v5 = new Object(); var v8 = ['', Math.floor((new Date()).getTime()), random(999999)].join('_'); v5.mc = mc; v5.name = v8; v5.hostname = v13; v5.allowDomain = function (d) { return true; }; v5.allowInsecureDomain = v5.allowDomain; v5.connect(v8); mc.lc = v5; mc.lc.regContLC = function (lc_name) { mc._containerLCName = lc_name; }; v4.lc = v8; v4.st = getTimer(); if (!options.skip) { v4.loadMovie(v9 + '.swf', 'POST'); } return mc; }; v1.unload = function (clip) { if (typeof clip == 'undefined') { clip = _root; } if (clip.clip && clip.clip._mochiad) { clip = clip.clip; } if (!clip._mochiad) { return false; } mochi.as2.MochiAd.containerNotify(clip, {'id': 'unload'}, clip._mochiad._containerLCName); clip._mochiad.removeMovieClip(); delete clip._mochiad_loaded; delete clip._mochiad; return true; }; v1._isNetworkAvailable = function () { if (System.security) { var v1 = System.security; if (v1.sandboxType == 'localWithFile') { return false; } } return true; }; v1._getRes = function (options) { var v3 = options.clip.getBounds(); var v2 = 0; var v1 = 0; if (typeof options.res != 'undefined') { var v4 = options.res.split('x'); v2 = parseFloat(v4[0]); v1 = parseFloat(v4[1]); } else { v2 = v3.xMax - v3.xMin; v1 = v3.yMax - v3.yMin; } if (v2 == 0 || v1 == 0) { v2 = Stage.width; v1 = Stage.height; } return [v2, v1]; }; v1._parseOptions = function (options, defaults) { var v4 = {}; for (var v8 in defaults) { v4[v8] = defaults[v8]; } if (options) { for (v8 in options) { v4[v8] = options[v8]; } } if (_root.mochiad_options) { var v5 = _root.mochiad_options.split('&'); var v2 = 0; while (v2 < v5.length) { var v3 = v5[v2].split('='); v4[unescape(v3[0])] = unescape(v3[1]); ++v2; } } if (v4.id == 'test') { trace('[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!'); } return v4; }; v1.rpc = function (clip, callbackID, arg) { switch (arg.id) { case 'setValue': mochi.as2.MochiAd.setValue(clip, arg.objectName, arg.value); break; case 'getValue': var v4 = mochi.as2.MochiAd.getValue(clip, arg.objectName); mochi.as2.MochiAd.containerRpcResult(clip, callbackID, v4, clip._mochiad._containerLCName); break; case 'runMethod': var v3 = mochi.as2.MochiAd.runMethod(clip, arg.method, arg.args); mochi.as2.MochiAd.containerRpcResult(clip, callbackID, v3, clip._mochiad._containerLCName); break; default: trace('[mochiads rpc] unknown rpc id: ' + arg.id); } }; v1.setValue = function (base, objectName, value) { var v2 = objectName.split('.'); var v1; v1 = 0; while (v1 < v2.length - 1) { if (base[v2[v1]] == undefined || base[v2[v1]] == null) { return undefined; } base = base[v2[v1]]; ++v1; } base[v2[v1]] = value; }; v1.getValue = function (base, objectName) { var v2 = objectName.split('.'); var v1; v1 = 0; while (v1 < v2.length - 1) { if (base[v2[v1]] == undefined || base[v2[v1]] == null) { return undefined; } base = base[v2[v1]]; ++v1; } return base[v2[v1]]; }; v1.runMethod = function (base, methodName, argsArray) { var v2 = methodName.split('.'); var v1; v1 = 0; while (v1 < v2.length - 1) { if (base[v2[v1]] == undefined || base[v2[v1]] == null) { return undefined; } base = base[v2[v1]]; ++v1; } if (typeof base[v2[v1]] == 'function') { return base[v2[v1]].apply(base, argsArray); } else { return undefined; } }; v1.containerNotify = function (clip, args, lcName) { var v1 = clip._mochiad._mochiad_ctr.ad.app; if (v1.notify) { v1.notify(args); } else { (new LocalConnection()).send(lcName, 'notify', args); } }; v1.containerRpcResult = function (clip, callbackID, val, lcName) { var v1 = clip._mochiad._mochiad_ctr.ad.app; if (v1.rpcResult) { v1.rpcResult(callbackID, val); } else { (new LocalConnection()).send(lcName, 'rpcResult', callbackID, val); } }; ASSetPropFlags(mochi.as2.MochiAd.prototype, null, 1); } #endinitclip } frame 2 { stop(); Dimensions(ScaleModF, ScaleFactorF, HeroXF, HeroYF, HeroXScaleF, HeroYScaleF, SideF); PickableItems(Item1_mc, 'Shiv', 'A rusty old shiv. Still sharp though', 1, 'usable', 'Item1', 1); NoTalk(Chuppa_mc, 'Chuppa', 'That probably won\'t go down well', 'Magda2', 'I better get out of here', 'Door23ALT', 'This really isn\'t the time', 'Negative7'); if (EventsArray[34] == undefined && EventsArray[19] == true) { ladder_mc.gotoAndStop(2); ClosedDoors(ladder_mc, 'Broken Ladder', 'Helipad', undefined, 53, 'It leads up to the helipad. It\'s fucked up though', 'I can\'t climb it, it\'s broken', 'Grappling Hook', 'CS-12', 'EndingMenu', 'Env3', 'Env3ALT'); } else { if (EventsArray[34] == true && EventsArray[19] == undefined) { Chuppa_mc._x = 509; Chuppa_mc._y = 153; ladder_mc.gotoAndStop(2); ClosedDoors(ladder_mc, 'Broken Ladder', 'Helipad', undefined, 52, 'It leads up to the helipad. It\'s fucked up though', 'I can\'t climb it, it\'s broken', 'Grappling Hook', 'CS-13', 'EndingMenu', 'Env3', 'Env3ALT'); } else { if (EventsArray[34] == undefined && EventsArray[19] == undefined) { ClosedDoors(ladder_mc, 'Broken Ladder', 'Helipad', undefined, 51, 'It leads up to the helipad. It\'s fucked up though', 'I can\'t climb it, it\'s broken', 'Grappling Hook', 'CS-14', 'EndingMenu', 'Env3', 'Env3ALT'); } else { if (EventsArray[34] == true && EventsArray[19] == true) { ClosedDoors(ladder_mc, 'Broken Ladder', 'Helipad', undefined, 50, 'It leads up to the helipad. It\'s fucked up though', 'I can\'t climb it, it\'s broken', 'Grappling Hook', 'CS-12', 'EndingMenu', 'Env3', 'Env3ALT'); ladder_mc.gotoAndStop(2); } } } } enviromentItems(Hanging_Corpse_mc, 'Hanging Corpse', 'Hmm, who knew spinal columns were that tough?', 0, 'none', 'Env1'); enviromentItems(FireDoor_mc, 'Burning Entrance', 'That whole place is in flames from the explosion I caused earlier', 0, 'none', 'Env2'); enviromentItems(TrashCan_mc, 'Trash Can', 'Just a knocked over trash can', 0, 'none', 'Env5'); enviromentItems(BrokenLight_mc, 'Broken Light', 'This light wouldn\'t have broken easily... what the fuck are these things?', 0, 'none', 'Env6'); if (EventsArray[19] == undefined) { OpenDoors(Door1_mc, 'Corridor', 'Main Corridor', 3, 5, 4, 361, 334, 85, 85, 5); } else { if (EventsArray[19] == true) { enviromentALTItems(Door1_mc, 'Corridor', 'I better get out of here', 'I ain\'t going in there with the beast in that room', 0, 'none', 'Door23ALT', 'Door6-2'); } } ClosedDoorsALT(MeltedDoor_mc, 'Melted Door', 'Working Area', 18, 3, 'That was a pretty hot explosion', 'There is no way I can pass through this door right now', 'Thermite Bomb', 'AS-26', 'Stage-1', 'Env4', 'Env4ALT', 5, 2, 355, 190, 100, 100, 1); if (DoorsOpenedArray[3] == true) { ground.gotoAndStop(2); } if (EventsArray[400] == true) { Kalengo_btn._x = 363; Kalengo_btn._y = 222; } if (EndingsArray[1] == true) { Ending_btn._x = 363; Ending_btn._y = 222; } Kalengo_btn.onRelease = function () { gotoAndStop('MainMenu'); }; Ending_btn.onRelease = function () { gotoAndStop('MainMenu'); }; PlayBack = 'Stage-1'; } movieClip 219 { frame 1 { stop(); } } movieClip 223 { frame 1 { stop(); } } movieClip 225 { } movieClip 226 { } movieClip 261 { } movieClip 284 { } movieClip 285 { } movieClip 300 { } movieClip 317 { } movieClip 323 { } // unknown tag 88 length 153 movieClip 330 { frame 1 { stop(); } } movieClip 332 { } movieClip 334 { } movieClip 336 { } movieClip 338 { } movieClip 340 { } movieClip 342 { } movieClip 344 { } movieClip 346 { } movieClip 354 { } movieClip 355 { } movieClip 358 { } movieClip 360 { } movieClip 362 { } movieClip 365 { } movieClip 366 { } movieClip 383 { } movieClip 385 { } movieClip 402 { } movieClip 404 { } movieClip 406 { } movieClip 423 { } movieClip 425 { } movieClip 428 { } movieClip 444 { } movieClip 446 { } movieClip 449 { } movieClip 464 { } movieClip 466 { } movieClip 481 { frame 9 { _root.Picked = true; } frame 24 { _root.Picked = false; _root.PickingItem = false; _root.PickingUp = false; _root.ItemPicked = undefined; } frame 26 { _parent.play(); } } movieClip 482 { frame 1 { stop(); } instance of movieClip 383 { onClipEvent (load) { stop(); } } } movieClip 484 { } movieClip 487 { } movieClip 490 { } movieClip 495 { } movieClip 530 { } movieClip 531 { } movieClip 533 { } movieClip 535 { } movieClip 565 { } movieClip 595 { } movieClip 596 { } movieClip 598 { } movieClip 615 { } movieClip 632 { } movieClip 635 { } movieClip 640 { } movieClip 642 { } movieClip 644 { } // unknown tag 88 length 149 // unknown tag 88 length 70 movieClip 653 { } // unknown tag 88 length 138 movieClip 668 { } movieClip 670 { } movieClip 672 { } movieClip 674 { } movieClip 677 { } // unknown tag 88 length 219 movieClip 681 { } movieClip 683 { } movieClip 685 { } movieClip 687 { } // unknown tag 88 length 197 movieClip 701 { } movieClip 703 { } movieClip 707 { } movieClip 709 { } movieClip 711 { } movieClip 716 { } movieClip 719 { } // unknown tag 88 length 143 movieClip 726 { } movieClip 728 { } movieClip 729 { } movieClip 736 { } movieClip 738 { } movieClip 739 { } movieClip 746 { } movieClip 747 { } // unknown tag 88 length 104 movieClip 759 { } // unknown tag 88 length 107 movieClip 766 { } movieClip 768 { } movieClip 770 { } movieClip 772 { } movieClip 774 { } movieClip 777 { } movieClip 779 { } movieClip 781 { } movieClip 785 { } // unknown tag 88 length 225 movieClip 791 { } movieClip 795 { } movieClip 803 { } movieClip 805 { } movieClip 807 { } movieClip 808 { } movieClip 809 { } // unknown tag 88 length 218 movieClip 817 { } movieClip 818 { } // unknown tag 88 length 124 movieClip 828 { } movieClip 836 { } movieClip 846 { } movieClip 849 { } movieClip 853 { } movieClip 857 { } movieClip 859 { } movieClip 866 { } movieClip 870 { } movieClip 871 { } movieClip 872 { } movieClip 874 { } // unknown tag 88 length 55 movieClip 878 { } movieClip 880 { } movieClip 883 { } movieClip 885 { } // unknown tag 88 length 54 movieClip 890 { } movieClip 892 { } movieClip 894 { } movieClip 901 { } movieClip 902 { frame 1 { stop(); } frame 6 { _root.EventsArray[15] = true; trace(EventsArray[15]); } frame 25 { _root.SecterItemsArray[2] = 'Kalengo\'s Farewell'; _root.FinalScore += 20; } frame 27 { _root.SecterItemsArray[0] = 'Magad\'s Lil Secret'; _root.FinalScore += 10; } frame 43 { _root.SecterItemsArray[1] = 'Cruise tickets'; _root.FinalScore += 5; } frame 46 { _root.SecterItemsArray[3] = 'Mucus Statue'; _root.FinalScore += 20; } } movieClip 909 { } movieClip 910 { frame 30 { stop(); } } movieClip 911 { frame 30 { stop(); } } movieClip 912 { frame 1 { stop(); } } movieClip 914 { } movieClip 919 { } movieClip 924 { } movieClip 927 { } movieClip 930 { frame 15 { stop(); } } movieClip 934 { frame 15 { stop(); } } movieClip 939 { } movieClip 941 { frame 15 { stop(); } } movieClip 945 { frame 15 { stop(); } } movieClip 948 { frame 1 { stop(); } } movieClip 953 { } movieClip 955 { frame 1 { stop(); } } movieClip 958 { frame 1 { stop(); } } button 962 { on (release) { getURL('http://www.rustyarcade.com/blog/read/62/Arrival-In-Hell-2-Walkthrough', '_blank'); } } movieClip 1001 { } movieClip 1002 { frame 1 { stop(); } } movieClip 1008 { frame 1 { stop(); } frame 26 { stop(); } frame 52 { gotoAndStop(1); } } movieClip 1010 { frame 1 { stop(); } } movieClip 1014 { } movieClip 1016 { } movieClip 1018 { } movieClip 1020 { frame 15 { stop(); } } movieClip 1022 { } frame 3 { Dimensions(ScaleModF, ScaleFactorF, HeroXF, HeroYF, HeroXScaleF, HeroYScaleF, SideF); if (EventsArray[0] == undefined) { gotoAndStop('CS-1'); PlayBack = 'Stage-2'; } PickableItems(Item3_mc, 'Blue Wire', 'This could be useful', 4, 'Combinable', 'Grab1', 3); if (EventsArray[15] == undefined) { enviromentALTItems(BrokenLadder2_mc, 'Broken Ladder', 'This ladder is broken too. Looks like some idiots tried to climb it', 'I can\'t climb it, it\'s broken', 0, 'none', 'Env7', 'Env3ALT'); } else { if (EventsArray[15] == true && DoorsOpenedArray[35] == undefined) { ClosedDoors4(BrokenLadder2_mc, 'Rope', 'To helipad', 'CS-8', 'Stage-2'); } else { if (EventsArray[15] == true && DoorsOpenedArray[35] == true) { enviromentALTItems(BrokenLadder2_mc, 'Broken Ladder', 'This ladder is broken too. Looks like some idiots tried to climb it', 'I can\'t climb it, it\'s broken', 0, 'none', 'Env7', 'Env3ALT'); } } } enviromentItems(ShotGuard_mc, 'Shot Guard', 'It looks like this guard was shot...', 0, 'none', 'Env8'); enviromentItems(BrokenCardReader_mc, 'Broken Card Reader', 'I think this is FUBAR', 0, 'none', 'Env9'); OpenDoors(Door2_mc, 'Corridor', 'Starting Point', 2, 5, 3, 361, 274, 95, 95, 5); OpenDoors(Door3_mc, 'Alley', 'Watchtower Entry', 5, 5, 3, 121, 354, 120, 120, 17); OpenDoors(Door4_mc, 'Corridor', 'Second Corridor', 8, 5, 4, 121, 354, 90, 90, 17); if (EventsArray[11] == undefined && ItemsCollectedArray[32] == undefined) { if (DoorsOpenedArray[4] == undefined) { ClosedDoorsALT(Door6_mc, 'Security Door', 'Warden\'s Office', 11, 4, 'The card reader is broken. I need to find the parts to fix it', 'The card reader is broken. I need to find the parts to fix it', 'Ready Card Reader', 'AS-7', 'Stage-2', 'Door4', 'Door4'); } else { if (DoorsOpenedArray[4] == true && DoorsOpenedArray[5] == undefined) { ClosedDoorsALT(Door6_mc, 'Security Door', 'Warden\'s Office', 11, 5, 'Doesn\'t look like it\'s working...', 'Doesn\'t look like it\'s working...', 'Security Pass', 'AS-8', 'Stage-2', 'NotWorking', 'NotWorking', 5, 2, 358, 170, 100, 100, 1); } else { if (DoorsOpenedArray[5] == true) { ClosedDoorsALT(Door6_mc, 'Security Door', 'Warden\'s Office', 11, 5, 'Doesn\'t look like it\'s working...', 'Doesn\'t look like it\'s working...', 'Security Pass', 'AS-8', 'Stage-2', 'NotWorking', 'NotWorking', 5, 2, 358, 170, 100, 100, 1); } } } } else { if (EventsArray[11] == undefined && ItemsCollectedArray[32] == true) { enviromentALTItems(Door6_mc, 'Security Door', 'I\'m not talking to this bitch again until I figure out what to do', 'I\'m not talking to this bitch again until I figure out what to do', 0, 'none', 'Magda6', 'Magda6'); } else { if (EventsArray[11] == true && ItemsCollectedArray[32] == true) { ClosedDoorsALT(Door6_mc, 'Security Door', 'Warden\'s Office', 11, 5, 'Doesn\'t look like it\'s working...', 'Doesn\'t look like it\'s working...', 'Security Pass', 'AS-8', 'Stage-2', 'NotWorking', 'NotWorking', 5, 2, 358, 170, 100, 100, 1); } } } ClosedDoors2(Door5_mc, 'Fence', 'Basketball Court', 4, 'I ain\'t going into that dark place with that fucking thing flying around', 'Door2', 2, 6, 5, 545, 353, 70, 70, 5); InteractiveItems(Item33_mc, 'Pilot\'s Radio', 'A radio transmitter. No one is communicating yet', 0, 'none', 18, 'CS-9', undefined, 'Item35', 'Stage-2'); if (DoorsOpenedArray[2] == true && DoorsOpenedArray[5] == undefined) { ground.gotoAndStop(2); } else { if (DoorsOpenedArray[2] == true && DoorsOpenedArray[5] == true) { ground.gotoAndStop(3); } } PlayBack = 'Stage-2'; } movieClip 1033 { frame 1 { stop(); } } movieClip 1036 { frame 1 { stop(); } } movieClip 1037 { frame 1 { stop(); } } movieClip 1041 { frame 1 { stop(); } } movieClip 1043 { } movieClip 1046 { } movieClip 1048 { } movieClip 1051 { } movieClip 1054 { } movieClip 1055 { } movieClip 1058 { } movieClip 1059 { } movieClip 1061 { } movieClip 1063 { } movieClip 1065 { } movieClip 1066 { } movieClip 1067 { frame 1 { stop(); } } frame 4 { Dimensions(ScaleModF, ScaleFactorF, HeroXF, HeroYF, HeroXScaleF, HeroYScaleF, SideF); OpenDoors(Door7_mc, 'Gate', 'Main Corridor', 3, 5, 4, 481, 204, 56, 56, 1); ClosedDoors3(Door8_mc, 'Wall Crack', 'Sector B', 16, 'There is no way I can pass through all this rubble', 'There is no way I can pass through all this rubble', 'Env70', 'Env70', 31, 7, 2.5, 426, 311, 131, 131, 1); PickableItems(Item4_mc, 'Basketball', 'Someone left the basketball out', 50, 'usable', 'Item5', 4); enviromentItems(Bleachers_mc, 'Bleachers', 'This really isn\'t the time', 0, 'none', 'Negative7'); enviromentItems(Net_mc, 'Basketball Net', 'Fun', 0, 'none', 'Env12'); PickableActionItems(Item5_mc, 'Screwdriver', 'Flat head screwdriver. Cool', 14, 'Usable', 'Item4', 5, 'Ratminator Stick', 'Flat head screwdriver. Cool', 'AS-4', 'Stage-3', 'Env15', 'Screwdriver', 'It\'s just out of reach'); if (DoorsOpenedArray[31] == true) { ground.gotoAndStop(2); } PlayBack = 'Stage-3'; } movieClip 1070 { } movieClip 1072 { } movieClip 1074 { } movieClip 1076 { } movieClip 1080 { } movieClip 1081 { } movieClip 1082 { } movieClip 1084 { } movieClip 1087 { frame 1 { stop(); } } movieClip 1090 { frame 1 { stop(); } } movieClip 1091 { } movieClip 1092 { } frame 5 { Dimensions(ScaleModF, ScaleFactorF, HeroXF, HeroYF, HeroXScaleF, HeroYScaleF, SideF); OpenDoors(Door8_mc, 'Corridor', 'Main Corridor', 3, 5, 4, 589, 224, 61, 61, 9); OpenDoors(Door9_mc, 'Alley', 'Alley yard', 6, 5, 2, 449, 189, 95, 95, 1); OpenDoors(Door10_mc, 'Watchtower', 'Watchtower', 7, 5, 3, 86, 236, 90, 90, 17); enviromentItems(Crows_mc, 'Crows', 'These crows scare the shit out of me', 0, 'none', 'Env16'); enviromentItems(Carcas_mc, 'Carcas', 'I bet these buggers are loving the buffet', 0, 'none', 'Env18'); enviromentItems(Roachs_mc, 'Roachs', 'I bet these buggers are loving the buffet', 0, 'none', 'Env18'); enviromentItems(FilesandPaper_mc, 'Files and Paper', 'I don\'t have time to read these', 0, 'none', 'Env19'); enviromentALTItems(HalfEatenPrisoner_mc, 'Half Eaten Prisoner', 'Looks like the beast was hungry again', 'He ain\'t responding', 0, 'none', 'Env20', 'Env21'); PlayBack = 'Stage-4'; } movieClip 1097 { } movieClip 1103 { } movieClip 1108 { } movieClip 1114 { } movieClip 1120 { } movieClip 1121 { } movieClip 1144 { } movieClip 1145 { } movieClip 1147 { } frame 6 { Dimensions(ScaleModF, ScaleFactorF, HeroXF, HeroYF, HeroXScaleF, HeroYScaleF, SideF); OpenDoors(Door10_mc, 'Alley', 'Watchtower Entry', 5, 5, 3, 338, 209, 75, 75, 1); InteractiveItems(LeatherBag_mc, 'Leather Bag', 'It\'s a brown leather bag', 0, 'none', 2, 'none', TheLeatherBag_mc, 'Env22', '', Item6_mc, 175, 234); PickableItems(Item6_mc, 'Caulking Gun', 'This could be useful', 19, 'usable', 'Grab1', 6); PickableItems(Item7_mc, 'Small Propane Tank', 'This\'ll be useful when I barbeque one of them fuckers', 18, 'usable', 'Item7', 7); enviromentALTItems(HalfEatenPrisoner_mc, 'Legs', 'I wonder where his torso went off to', 'Are you crazy?', 0, 'none', 'Env20-1', 'Negative3'); enviromentItems(RoofingRolls_mc, 'Roofing Rolls', 'I won\'t be needing that', 0, 'none', 'NoGrab4'); enviromentItems(EmptySiliconeCan1_mc, 'Empty Silicone Can', 'Shit, it\'s empty', 0, 'none', 'Env23'); enviromentALTItems(EmptySiliconeCan1_mc, 'Empty Silicone Can', 'Shit, it\'s empty', 'I can\'t use that, it\'s empty', 0, 'none', 'Env24', 'Env25'); enviromentALTItems(EmptySiliconeCan2_mc, 'Empty Silicone Can', 'Shit, it\'s empty', 'I can\'t use that, it\'s empty', 0, 'none', 'Env24', 'Env25'); BagPack(); PlayBack = 'Stage-5'; } movieClip 1151 { } movieClip 1160 { } movieClip 1164 { frame 1 { stop(); } frame 2 { _root.EventsArray[1] = true; } } movieClip 1166 { } movieClip 1167 { } movieClip 1169 { } frame 7 { Dimensions(ScaleModF, ScaleFactorF, HeroXF, HeroYF, HeroXScaleF, HeroYScaleF, SideF); PickableItems(Item8_mc, 'Crowbar', 'Crowbars... is there anything they can\'t pry open?', 8, 'usable', 'Item8', 8); OpenDoors(Door11_mc, 'Alley', 'Watchtower Entry', 5, 5, 3, 433, 351, 122, 122, 11); enviromentItems(ShotGuard_mc, 'Shot Guard', 'It looks like this guard was shot...', 0, 'none', 'Env8'); enviromentItems(HeadOfficer_mc, 'Head Officer', 'I remember this guy... he was a dick', 0, 'none', 'Env26'); enviromentItems(BrokenComputer1_mc, 'Broken Computer', 'I don\'t know jack about computers', 0, 'none', 'Env28'); enviromentItems(BrokenComputer2_mc, 'Broken Computer', 'I don\'t know jack about computers', 0, 'none', 'Env28'); enviromentItems(Keyboard1_mc, 'Broken Keyboard', 'I think this is FUBAR', 0, 'none', 'Env9'); enviromentItems(Keyboard2_mc, 'Keyboard', 'I won\'t be needing that', 0, 'none', 'NoGrab4'); enviromentItems(BrokenMonitor1_mc, 'Broken Monitor', 'It just says “Error”. I think there is an error', 0, 'none', 'Env32'); enviromentItems(BrokenMonitor2_mc, 'Broken Monitor', 'It just says “Error”. I think there is an error', 0, 'none', 'Env32'); enviromentItems(BrokenRifle_mc, 'Broken Rifle', 'The barrel has been bent. Fuck, that would have been useful too', 0, 'none', 'Env34'); if (EventsArray[2] == undefined) { InteractiveItems(SearchLight_mc, 'Search Light', 'I guess they use it to search the area at night', 0, 'none', 2, 'AS-1', undefined, 'Env35', 'Stage-6'); } else { if (EventsArray[2] == true) { enviromentItems(SearchLight_mc, 'Search Light', 'I guess they use it to search the area at night', 0, 'none', 'Env35'); } } PlayBack = 'Stage-6'; } movieClip 1176 { } movieClip 1178 { } movieClip 1180 { } movieClip 1186 { } movieClip 1189 { } movieClip 1190 { frame 1 { stop(); } frame 2 { EventsArray[2] = true; } } movieClip 1192 { } movieClip 1200 { } movieClip 1201 { } movieClip 1203 { } movieClip 1205 { } movieClip 1207 { } movieClip 1208 { } movieClip 1210 { } movieClip 1212 { } movieClip 1214 { } frame 8 { Dimensions(ScaleModF, ScaleFactorF, HeroXF, HeroYF, HeroXScaleF, HeroYScaleF, SideF); PickableItems(Item9_mc, 'Empty Paint Bucket', 'Looks like a decent paint bucket', 7, 'usable', 'Item9', 9); OpenDoors(Door12_mc, 'Corridor', 'Main Corridor', 3, 5, 4, 149, 220, 60, 60, 17); OpenDoors(Door13_mc, 'Door', 'Guard offices', 9, 5, 2, 634, 167, 95, 95, 1); ClosedDoors3(Door16_mc, 'Entrance', 'Nursing Room', 13, 'Fuck, it sounds like another beast is behind that door', 'I ain\'t going in there with the beast in that room', 'Door15', 'Door6-2', 6, 6, 2, 565, 313, 162.5, 162.5, 9); enviromentItems(RaisedPlatform_mc, 'Raised Platform', 'I guess they were doing some decorating', 0, 'none', 'Env36'); enviromentItems(PaintRollerTray_mc, 'Paint Roller Tray', 'I won\'t be needing that', 0, 'none', 'NoGrab4'); enviromentItems(PaintBrush_mc, 'Paint Brush', 'I won\'t be needing that', 0, 'none', 'NoGrab4'); enviromentItems(PaintBrush2_mc, 'Paint Brush', 'I don\'t need these', 0, 'none', 'NoGrab1'); enviromentItems(PaintRoller_mc, 'Paint Roller', 'A paint roller', 0, 'none', 'Env39'); enviromentItems(Bloodthroughdoor_mc, 'Blood through door', 'Looks like something dragged someone into that room', 0, 'none', 'Env43'); enviromentALTItems(Shoe1_mc, 'Shoe', 'I already have shoes.', 'I already have shoes.', 0, 'none', 'Env41', 'Env41'); enviromentALTItems(Shoe2_mc, 'Shoe', 'I already have shoes.', 'I already have shoes.', 0, 'none', 'Env41', 'Env41'); PickableActionItems(Item10_mc, 'Aluminium Powder', 'Mix with white paint to create a reflective surface', 10, 'Combinable', 'Item10', 10, 'Wooden Stick', 'Aluminium powder – mix with white paint to create a reflective surface', 'AS-5', 'Stage-7', 'Env15', 'Aluminium Powder', 'It\'s just out of reach', 'Ratminator Stick'); PickableActionItems(Item15_mc, 'Broken Card Reader', 'Looks like it\'s missing some wiring', 15, 'Usable', 'Item15', 15, 'Screwdriver', 'Looks like it\'s missing some wiring', 'AS-6', 'Stage-7', 'NotWorking', 'Card Reader', 'Doesn\'t look like it\'s working...', 'Screwdriver'); if (DoorsOpenedArray[6] == true) { ground.gotoAndStop(2); } PlayBack = 'Stage-7'; } movieClip 1219 { frame 1 { stop(); } } movieClip 1224 { frame 1 { stop(); } } movieClip 1225 { } movieClip 1226 { } movieClip 1229 { } movieClip 1232 { } movieClip 1233 { } movieClip 1235 { } frame 9 { Dimensions(ScaleModF, ScaleFactorF, HeroXF, HeroYF, HeroXScaleF, HeroYScaleF, SideF); PickableFarItems(Item12_mc, 'Security Pass', 'A security access card', 5, 'usable', 'Item12', 12); OpenDoors(Door14_mc, 'Door', 'Second Corridor', 8, 5, 4, 424, 260, 70, 70, 1); ClosedDoors(Door15_mc, 'Kitchen Door', 'Kitchen', 10, 1, 'This door has been blocked off. Looks like they were trying to keep something in... and failed', 'I will need some tools to open this door', 'Crowbar', 'AS-3', 'Stage-8', 'Door1', 'Door1ALT', 5, 2, 103, 200, 95, 95, 15); enviromentItems(Locker_mc, 'Locker', 'Nothing interesting here', 0, 'none', 'Env54'); enviromentItems(GuardsCarcass_mc, 'Guards Carcass', 'Three legs? That\'s fucked up', 0, 'none', 'Env45'); enviromentItems(GuardsLeg_mc, 'Guards Leg', 'Oh, here\'s the other leg', 0, 'none', 'Env46'); enviromentItems(DecapitatedHead_mc, 'Decapitated Head', 'Cleanly cut off. That\'s some nice work', 0, 'none', 'Env47'); enviromentItems(Carcas_mc, 'Carcas', 'I bet these buggers are loving the buffet', 0, 'none', 'Env18'); enviromentItems(SlaughteredGuards_mc, 'Slaughtered Guards', 'It looks like something took these poor sods by surprise', 0, 'none', 'Env48'); enviromentALTItems(Legs_mc, 'Legs', 'I wonder where his torso went off to', 'Are you crazy?', 0, 'none', 'Env20-1', 'Negative3'); enviromentItems(BrokenComputer1_mc, 'Broken Computer', 'Doesn\'t look like it\'s working...', 0, 'none', 'NotWorking'); enviromentItems(BrokenComputer2_mc, 'Broken Computer', 'I don\'t know jack about computers', 0, 'none', 'Env28'); enviromentItems(BrokenMonitor1_mc, 'Broken Monitor', 'It just says “Error”. I think there is an error', 0, 'none', 'Env32'); enviromentItems(Director_mc, 'Director', 'I remember this guy... he was a dick', 0, 'none', 'Env26'); PickableActionItems(Item11_mc, 'Wooden Stick', 'A wooden stick', 9, 'Usable', 'Item11', 11, 'Shiv', 'I guess someone tried to do a little cleaning', 'AS-2', 'Stage-8', 'Item11Alt', 'Bloody Mop', 'I don\'t need a whole mop. The handle could be useful though', 'Burning Shiv'); if (DoorsOpenedArray[1] == true) { ground.gotoAndStop(2); } PlayBack = 'Stage-8'; } movieClip 1239 { } movieClip 1247 { } movieClip 1249 { frame 1 { stop(); } } movieClip 1251 { } movieClip 1254 { frame 1 { stop(); } } movieClip 1258 { } movieClip 1261 { } movieClip 1262 { frame 1 { stop(); } } movieClip 1263 { } movieClip 1265 { } movieClip 1268 { } movieClip 1271 { } movieClip 1274 { } movieClip 1275 { } movieClip 1277 { } frame 10 { Dimensions(ScaleModF, ScaleFactorF, HeroXF, HeroYF, HeroXScaleF, HeroYScaleF, SideF); PickableFarItems(Item13_mc, 'Ratminator Sticky Paper', 'Sticky rat trap paper. They\'ll need a lot more than this one sheet for this place.', 11, 'Combinable', 'Item13', 13); PickableFarItems(Item14_mc, 'Zip Lock Bag', 'An empty zip lock bag.', 12, 'usable', 'Item14', 14); OpenDoors(Door16_mc, 'Door', 'Guard offices', 9, 5, 2, 206, 365, 188, 188, 17); enviromentALTItems(TinnedTomatoes_mc, 'Tinned Tomatoes', 'I\'m not in the mood for eating anything', 'I\'m not in the mood for eating anything', 0, 'none', 'Env50', 'Env50'); enviromentALTItems(Flour_mc, 'Flour', 'Na, I\'m shit at baking', 'Na, I\'m shit at baking', 0, 'none', 'Env52', 'Env52'); enviromentItems(Stove_mc, 'Stove', 'Nothing interesting here', 0, 'none', 'Env54'); enviromentItems(ExtractorFan_mc, 'Extractor Fan', 'An Extractor Fan', 0, 'none', 'Env57'); enviromentItems(Drawer_mc, 'Drawer', 'It looks empty', 0, 'none', 'Env44'); enviromentItems(Cabinet_mc, 'Cabinet', 'Nothing interesting here', 0, 'none', 'Env54'); enviromentItems(Rats_mc, 'Rats', 'I bet these buggers are loving the buffet', 0, 'none', 'Env18'); enviromentItems(Fridge_mc, 'Fridge', 'A fridge. I would look inside but I\'m pretty sure there will just be more blood and guts', 0, 'none', 'Env56'); enviromentItems(Fridge2_mc, 'Turned Fridge', 'There is nothing useful in it', 0, 'none', 'Env55'); ClosedDoorsALT(Door17_mc, 'Wall crack', 'Working Area', 12, 17, 'There is a huge fire behind there. I need to put it out before I can get through', 'I am not walking into a flaming building, alright?', 'Fire Extinguisher', 'AS-9', 'Stage-9', 'Door5', 'Door4ALT', 5, 3, 72, 300, 100, 100, 17); if (DoorsOpenedArray[17] == true) { ground.gotoAndStop(2); } PlayBack = 'Stage-9'; } movieClip 1282 { frame 1 { stop(); } } movieClip 1287 { } movieClip 1289 { } movieClip 1290 { frame 1 { stop(); } } movieClip 1291 { } movieClip 1294 { } movieClip 1296 { } frame 11 { Dimensions(ScaleModF, ScaleFactorF, HeroXF, HeroYF, HeroXScaleF, HeroYScaleF, SideF); enviromentALTItems(Feast_mc, 'Feast', 'The fuck is this?!', 'I\'m not in the mood for eating anything', 0, 'none', 'Env63', 'Env50'); if (EventsArray[20] == undefined && EventsArray[19] == undefined) { enviromentALTItems(Vent_mc, 'Vent', 'An air vent', 'I don\'t want to try anything weird in front of her', 0, 'none', 'Env59', 'Env60'); if (EventsArray[10] == undefined) { ClosedDoors4(Door17_mc, 'Door', 'Main Corridor', 'AS-27', 'Stage-10'); } else { if (EventsArray[10] == true) { OpenDoors(Door17_mc, 'Door', 'Main Corridor', 3, 5, 4, 648, 273, 73, 73, 11); } } ClosedDoors4(Rifles_mc, 'Rifles Pile', 'Rifles Pile', 'AS-27', 'Stage-10'); } else { if (EventsArray[20] == true && EventsArray[19] == undefined) { enviromentALTItems(Vent_mc, 'Vent', 'An air vent', 'I don\'t want to try anything weird in front of her', 0, 'none', 'Env59', 'Env60'); if (EventsArray[10] == undefined) { ClosedDoors4(Door17_mc, 'Door', 'Main Corridor', 'AS-27', 'Stage-10'); } else { if (EventsArray[10] == true) { OpenDoors(Door17_mc, 'Door', 'Main Corridor', 3, 5, 4, 648, 273, 73, 73, 11); } } enviromentALTItems(Rifles_mc, 'Rifles Pile', 'What the fuck? She\'s stockpiling rifles!!', 'That fucker will notice if I take one. I have to play this carefully', 0, 'none', 'Env61', 'Env62'); } else { if (EventsArray[20] == true && EventsArray[19] == true) { ClosedDoors4(Vent_mc, 'Vent', 'Warehouse', 'Stage-17'); Vent_mc.gotoAndStop(2); ground.gotoAndStop(2); tickets_mc._x = 252; tickets_mc._y = 337; ClosedDoors3(Door17_mc, 'Door', 'Main Corridor', undefined, 'Fuck, it sounds like another beast is behind that door', 'I ain\'t going in there with the beast in that room', 'Door15', 'Door6-2', undefined); enviromentALTItems(Rifles_mc, 'Rifles Pile', 'It\'s no use now', 'I better get out of here', 0, 'none', 'NoGrab6', 'Door23ALT'); } } } enviromentItems(Cabinet_mc, 'Cabinet', 'There is probably just more books inside', 0, 'none', 'Env65'); enviromentItems(BookShelf_mc, 'BookShelf', 'Just a bunch of shitty books', 0, 'none', 'Env58'); enviromentItems(FloorPlant_mc, 'Floor Plant', 'Who\'s been watering this thing? Looks like there\'s something in the pot', 0, 'none', 'Env67'); enviromentItems(Warden_mc, 'Warden', 'I remember this guy... he was a dick', 0, 'none', 'Env26'); PickableItems(tickets_mc, 'Cruise Tickets', 'Looks like Madga and Kalengo were planning on running away together. How romantic', 43, 'Secret Item', 'Tickets', 50); PickableItems(Item16_mc, 'Fire Extinguisher', 'It extinguishes fires', 17, 'usable', 'Item16', 16); PickableFarItems(Item31_mc, 'Magda\'s Radio', 'A radio transmitter. No one is communicating yet', 6, 'usable', 'Item35', 31); if (EventsArray[10] == undefined) { TalkTo(magda_mc, 'Woman', 'She\'s hot, but there is something off about that lass', 'Magda1', 'That probably won\'t go down well', 'Magda2', 'CS-2', 'Stage-10'); } else { if (EventsArray[10] == true && DoorsOpenedArray[33] == undefined) { ClosedDoorsALT(magda_mc, 'Mag', '', undefined, 33, 'I should probably hurry up and look for her insulin', 'That probably won\'t go down well', 'Insulin', 'CS-5', 'Stage-10', 'Magda4', 'Magda2'); } else { if (EventsArray[10] == true && DoorsOpenedArray[33] == true && EventsArray[11] == undefined) { if (EventsArray[13] == undefined) { NoTalk(magda_mc, 'Mag', 'She\'s hot, but there is something off about that lass', 'Magda1', 'That probably won\'t go down well', 'Magda2', 'I should look for the things we need to escape before we talk again', 'Magda6'); } else { if (EventsArray[13] == true) { NoTalk(magda_mc, 'Mag', 'She\'s hot, but there is something off about that lass', 'Magda1', 'I\'m not talking to this bitch again until I figure out what to do', 'Magda6', 'I\'m not talking to this bitch again until I figure out what to do', 'Magda6'); } } } else { if (EventsArray[10] == true && DoorsOpenedArray[33] == true && EventsArray[11] == true) { Item31_mc._x = 112; Item31_mc._y = 88; NoTalk(magda_mc, 'Magdalena', 'I better get out of here', 'Door23ALT', 'That Bitch!', 'Magda3', 'Are you crazy?', 'Negative3'); } } } } if (EventsArray[18] == true) { ClosedDoorsALT(BookShelfTop_mc, 'BookShelf Top', '', undefined, 38, 'Just a bunch of shitty books', 'That Bitch!', 'Magda\'s Radio', 'CS-10', 'Stage-10', 'Env58', 'Magda2'); } PlayBack = 'Stage-10'; } movieClip 1301 { frame 1 { stop(); } } movieClip 1304 { frame 1 { stop(); } } movieClip 1310 { } movieClip 1312 { } movieClip 1314 { } movieClip 1316 { } movieClip 1318 { } movieClip 1320 { } movieClip 1322 { } movieClip 1324 { } movieClip 1326 { } movieClip 1328 { } movieClip 1331 { } movieClip 1334 { } movieClip 1336 { } movieClip 1338 { } movieClip 1339 { frame 77 { stop(); } frame 77 { _root.EventsArray[9] = true; } } movieClip 1342 { } movieClip 1345 { frame 77 { stop(); } } movieClip 1347 { } movieClip 1349 { } movieClip 1350 { } movieClip 1352 { } movieClip 1353 { frame 1 { stop(); } } movieClip 1354 { } frame 12 { Dimensions(ScaleModF, ScaleFactorF, HeroXF, HeroYF, HeroXScaleF, HeroYScaleF, SideF); OpenDoors(Door18_mc, 'Wall crack', 'Kitchen', 10, 5, 2, 406, 363, 186, 186, 7); enviromentALTItems(CollapsedRoof_mc, 'Collapsed Roof', 'There is no way I can pass through all this rubble', 'There is no way I can pass through all this rubble', 0, 'none', 'Env70', 'Env70'); enviromentItems(Cabinet_mc, 'Cabinet', 'Nothing interesting here', 0, 'none', 'Env54'); enviromentItems(CleaningTools_mc, 'Cleaning Tools', 'I don\'t think that\'ll be enough to clean this whole mess', 0, 'none', 'Env68'); enviromentItems(CircularTableSaw_mc, 'Circular Table Saw', 'Doesn\'t look like it\'s working...', 0, 'none', 'NotWorking'); enviromentItems(RoofingRolls_mc, 'Roofing Rolls', 'I won\'t be needing that', 0, 'none', 'NoGrab4'); enviromentItems(WoodenStick_mc, 'Wooden Stick', 'I don\'t need these', 0, 'none', 'NoGrab1'); InteractiveItems(Drawer_mc, 'Drawer', 'There has got to be something good down there', 0, 'none', 2, 'none', Drawer_mc, 'Drawer', '', Item18_mc, 575, 173); PickableItems(Item17_mc, 'Greasy Rag', 'An old dirty rag, covered in grease', 49, 'usable', 'Item17', 17); PickableItems(Item18_mc, 'Sticks Like Sh*t Adhesive', 'Sticks like shit. Lets hope so. I just need a caulking gun for it', 20, 'Combinable', 'Item18', 18); PickableActionItems2(Item19_mc, 'Iron Oxide', 'Iron Oxide. Lets do some science!', 28, 'Usable', 'Item19', 19, 'Zip Lock Bag', 'A small pile of iron oxide powder', 'AS-10', 'Stage-11', 'Item19-2', 'Iron Oxide Powder', 'I need something to carry it in'); if (DoorsOpenedArray[19] == undefined) { ClosedDoors4(Door19_mc, 'Door', 'Nursing Room', 'CS-3', 'Stage-11'); } else { if (DoorsOpenedArray[19] == true && DoorsOpenedArray[20] == undefined) { ClosedDoors(Door19_mc, 'Door', 'Working Area', 13, 20, 'I could create an explosion in that room, but first I should seal the door', 'I\'m not going in there until I get rid of that thing', 'Loaded Caulking Gun', 'AS-12', 'Stage-11', 'Door6ALT', 'Door6'); } else { if (DoorsOpenedArray[20] == true && DoorsOpenedArray[21] == undefined) { ClosedDoorsALT(Door19_mc, 'Sealed Door', 'Working Area', 13, 21, 'I have to seal the air vent first', 'I ain\'t going in there with the beast in that room', 'Loaded Caulking Gun', 'AS-11', 'Stage-11', 'Door6ALT2', 'Door6-2'); } else { if (DoorsOpenedArray[21] == true && DoorsOpenedArray[22] == undefined) { ClosedDoorsALT(Door19_mc, 'Sealed Wall', 'Working Area', 13, 22, 'I need to place the gas canister first', 'I\'m not going in there until I get rid of that thing', 'Small Propane Tank', 'AS-13', 'Stage-11', 'Door6ALT3', 'Door6'); } else { if (DoorsOpenedArray[22] == true && DoorsOpenedArray[23] == undefined) { ClosedDoorsALT(Door19_mc, 'Sealed Wall', 'Working Area', 13, 23, 'I\'ll need something to start a fire', 'I ain\'t going in there with the beast in that room', 'Greasy Rag', 'AS-14', 'Stage-11', 'Door6ALT4', 'Door6-2'); } else { if (DoorsOpenedArray[23] == true && DoorsOpenedArray[24] == undefined) { ClosedDoors(Door19_mc, 'Sealed Wall', 'Working Area', 13, 24, 'I\'m not going in there until I get rid of that thing', 'I\'ll need something to start a fire', 'Lighter', 'AS-15', 'Stage-11', 'Door6', 'Door6ALT4', 6, 2, 110, 300, 155, 155, 17); } else { if (DoorsOpenedArray[24] == true) { ClosedDoors(Door19_mc, 'Sealed Wall', 'Working Area', 13, 24, 'I\'m not going in there until I get rid of that thing', 'I\'ll need something to start a fire', 'Lighter', 'AS-15', 'Stage-11', 'Door6', 'Door6ALT4', 6, 2, 110, 300, 155, 155, 17); } } } } } } } if (DoorsOpenedArray[24] == true) { ground.gotoAndStop(2); } PlayBack = 'Stage-11'; } movieClip 1358 { } movieClip 1360 { } movieClip 1362 { } movieClip 1364 { } movieClip 1366 { } movieClip 1368 { } movieClip 1371 { frame 1 { stop(); } } movieClip 1375 { } movieClip 1376 { } movieClip 1381 { } movieClip 1384 { frame 1 { stop(); } } movieClip 1385 { } movieClip 1390 { frame 1 { stop(); } frame 2 { _root.EventsArray[3] = true; } } movieClip 1395 { } frame 13 { Dimensions(ScaleModF, ScaleFactorF, HeroXF, HeroYF, HeroXScaleF, HeroYScaleF, SideF); OpenDoors(Door20_mc, 'Wall crack', 'Working Area', 12, 5, 3, 595, 306, 107, 107, 9); OpenDoors(Door21_mc, 'Wall crack', 'Second Corridor', 8, 5, 4, 551, 309, 82, 82, 9); enviromentALTItems(BeastCarcass_mc, 'Beast Carcass', 'That\'s one big fucker. I hope it\'s still dead', 'I don\'t want to touch that... ever', 0, 'none', 'Env73', 'Env74'); enviromentItems(Cabinet_mc, 'Cabinet', 'There is nothing useful in it', 0, 'none', 'Env55'); enviromentALTItems(HalfEatenPrisoner_mc, 'Half Eaten Prisoner', 'Looks like the beast was hungry again', 'He ain\'t responding', 0, 'none', 'Env20', 'Env21'); if (EventsArray[40] == undefined) { PickableActionItems(Item20_mc, 'Circular Saw', 'Fuck yeah, I always wanted one of these', 48, 'Usable', 'Item20', 20, 'Shiv', 'I don\'t want to imagine what\'s inside that thing', 'AS-16', 'Stage-12', 'Item20-2', 'Beast Stomach', 'I can\'t open it with my bare hands', 'Burning Shiv'); } else { if (EventsArray[40] == true) { enviromentItems(Item20_mc, 'Beast Stomach', 'I don\'t want to touch that... ever', 0, 'none', 'Env74'); } } if (DoorsOpenedArray[25] == undefined) { ClosedDoors(Door22_mc, 'Secret Door', 'Hideout', 14, 25, 'I\'ll need some tools to open this door', 'I have to get rid of these tiles if I want to open this door', 'Crowbar', 'AS-17', 'Stage-12', 'Door22', 'Door22ALT'); } else { if (DoorsOpenedArray[25] == true && DoorsOpenedArray[26] == undefined) { ClosedDoorsALT(Door22_mc, 'Secret Door', 'Hideout', 14, 26, 'There has got to be something good down there', 'I need something to break those joints', 'Circular Saw', 'AS-18', 'Stage-12', 'Drawer', 'Door22ALT1', 6, 2, 110, 300, 155, 155, 15); } else { if (DoorsOpenedArray[25] == true && DoorsOpenedArray[26] == true) { ClosedDoorsALT(Door22_mc, 'Secret Door', 'Hideout', 14, 26, 'There has got to be something good down there', 'I need something to break those joints', 'Circular Saw', 'AS-18', 'Stage-12', 'Drawer', 'Door22ALT1', 6, 2, 110, 300, 155, 155, 15); } } } PlayBack = 'Stage-12'; } movieClip 1400 { } movieClip 1403 { } movieClip 1404 { } movieClip 1407 { frame 1 { stop(); } } movieClip 1411 { } movieClip 1413 { frame 1 { stop(); } } frame 14 { Dimensions(ScaleModF, ScaleFactorF, HeroXF, HeroYF, HeroXScaleF, HeroYScaleF, SideF); OpenDoors(Door22_mc, 'Secret Door', 'Nursing Room', 13, 6, 2, 283, 316, 164, 164, 1); if (EventsArray[5] == undefined) { OpenDoors(Door23_mc, 'Secret Door', 'Kalengo\'s Cell', 15, 6, 2, 605, 365, 182, 182, 7); } else { if (EventsArray[5] == true) { Door23_mc.gotoAndStop(2); ground.gotoAndStop(2); enviromentALTItems(Door23_mc, 'Secret Passage', 'It\'s blocked with some sort of barrier', 'It\'s blocked with some sort of barrier', 0, 'none', 'Env85', 'Env85'); } } PickableFarItems(Item21_mc, 'Warden\'s Security Badge', 'More strange blood splatters on the badges', 22, 'Collectable', 'Item23', 21); PickableFarItems(Item22_mc, 'Peter\'s Security Badge', 'A similar blood splatter to the Warden\'s badge. Strange', 23, 'Collectable', 'Item22', 22); PickableFarItems(Item23_mc, 'Josh\'s Security Badge', 'More strange blood splatters on the badges', 24, 'Collectable', 'Item23', 23); enviromentItems(RitualMarkings_mc, 'Ritual Markings', 'This blood splatter looks almost planned.. what the fuck is going on here?', 22, 'Collectable', 'Item21', 21); enviromentItems(EmptyBloodTestTubes_mc, 'Empty Blood Test Tubes', 'Could this be the blood he used to create the markings from the ID badges?', 0, 'none', 'Env77'); enviromentALTItems(DeadPrisoner_mc, 'Dead Prisoner', 'It looks like this guy was trying to escape and got trapped in', 'He\'s got nothing on him', 0, 'none', 'Env78', 'Env96'); PlayBack = 'Stage-13'; } movieClip 1419 { frame 1 { stop(); } } movieClip 1421 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 1425 { } frame 15 { Dimensions(ScaleModF, ScaleFactorF, HeroXF, HeroYF, HeroXScaleF, HeroYScaleF, SideF); EventsArray[400] = true; enviromentItems(StrangeBed_mc, 'Strange Bed', 'How did he ever sleep in this bed? Freaks me the fuck out', 0, 'none', 'Env80'); enviromentItems(PairOfShoes_mc, 'Pair of shoes', 'A fairly decent pair of shoes', 0, 'none', 'Env91'); enviromentItems(SorceryScribes2_mc, 'Sorcery Scribes', 'He made it so he was invisible to the beasts. Clever fuck', 0, 'none', 'Env90'); enviromentALTItems(SorceryBooks_mc, 'Sorcery Books', 'Where did this guy get all of these books? This shit can\'t be real, can it?', 'I don\'t think I should be playing with these', 0, 'none', 'Env81', 'Env82'); enviromentALTItems(BlackPaintTin_mc, 'Black Paint Tin', 'I don\'t want to mess with anything here, this is some freaky shit', 'I don\'t think I should be playing with these', 0, 'none', 'Env83', 'Env82'); enviromentALTItems(EmptyBloodTestTubes_mc, 'Empty Blood TestTubes', 'I guess he just made 3 beasts from the blood – did that dick plan on making more?', 'I am not messing with any of this hocus pocus shit', 0, 'none', 'Env86', 'Env87'); enviromentALTItems(SorceryScribes1_mc, 'Sorcery Scribes', 'It says “The Burner”, “The Glutton” and “The Watcher”. Did this fucker make these fuckers?', 'I am not messing with any of this hocus pocus shit', 0, 'none', 'Env88', 'Env87'); PickableFarItems(Item25_mc, 'Blank Papers', 'They\'re blank papers. It says “With Love: Kalengo Horink” at the bottom. Funny name', 31, 'Collectable', 'Item25', 25); PickableFarItems(Item27_mc, 'Blood Test Tubes', 'I guess he just made 3 beasts from the blood – did that dick plan on making more?', 41, 'Combinable', 'Env86', 27); PickableFarItems(Item26_mc, 'Female Badge', 'Nice picture... bitch', 39, 'Combinable', 'Item26', 26); PickableFarItems(Item24_mc, 'NecroAlchemy Book', 'Where did this guy get all of these books? This shit can\'t be real, can it?', 35, 'Combinable', 'Env81', 24); if (EventsArray[5] == undefined) { ClosedDoors4(Door23_mc, 'Gate', 'Sector B', 'AS-19', 'Stage-14'); ClosedDoors4(Kalengo_mc, 'Sorcery Scribes', 'Portal', 'AS-19', 'Stage-14'); ClosedDoors4(SecretPassage_mc, 'Secret Passage', 'Hideout', 'AS-19', 'Stage-14'); } else { if (EventsArray[5] == true && DoorsOpenedArray[27] == undefined) { Door23_mc.gotoAndStop(2); enviromentALTItems(SecretPassage_mc, 'Secret Passage', 'It\'s blocked with some sort of barrier', 'It\'s blocked with some sort of barrier', 0, 'none', 'Env85', 'Env84'); ClosedDoors(Door23_mc, 'Cursed Gate', 'Sector B', 16, 27, 'Looks like I\'ll have to do something crazy to get out of this cell', 'I better get out of here', 'Blood Test Tubes', 'AS-20', 'Stage-14', 'Door23', 'Door23ALT'); enviromentItems(Kalengo_mc, 'Sorcery Scribes', 'I don\'t think I should be playing with these', 0, 'none', 'Env82'); } else { if (EventsArray[5] == true && DoorsOpenedArray[27] == true && DoorsOpenedArray[28] == undefined) { Door23_mc.gotoAndStop(3); enviromentALTItems(SecretPassage_mc, 'Secret Passage', 'It\'s blocked with some sort of barrier', 'It\'s blocked with some sort of barrier', 0, 'none', 'Env85', 'Env84'); ClosedDoorsALT(Door23_mc, 'Cursed Gate', 'Sector B', 16, 28, 'Looks like I\'ll have to do something crazy to get out of this cell', 'I better get out of here', 'Alive Necromancy Book', 'AS-21', 'Stage-14', 'Door23', 'Door23ALT', 7, 2.5, 160, 300, 130, 130, 15); enviromentItems(Kalengo_mc, 'Sorcery Scribes', 'I don\'t think I should be playing with these', 0, 'none', 'Env82'); } else { if (EventsArray[5] == true && DoorsOpenedArray[27] == true && DoorsOpenedArray[28] == true) { Door23_mc.gotoAndStop(4); enviromentALTItems(SecretPassage_mc, 'Secret Passage', 'It\'s blocked with some sort of barrier', 'It\'s blocked with some sort of barrier', 0, 'none', 'Env85', 'Env84'); ClosedDoorsALT(Door23_mc, 'Cursed Gate', 'Sector B', 16, 28, 'Looks like I\'ll have to do something crazy to get out of this cell', 'I better get out of here', 'Alive Necromancy Book', 'AS-21', 'Stage-14', 'Door23', 'Door23ALT', 7, 2.5, 160, 300, 130, 130, 15); enviromentItems(Kalengo_mc, 'Sorcery Scribes', 'I don\'t think I should be playing with these', 0, 'none', 'Env82'); } } } } if (DoorsOpenedArray[28] == true) { ground.gotoAndStop(2); } PlayBack = 'Stage-14'; } movieClip 1431 { frame 1 { stop(); } } movieClip 1436 { } movieClip 1440 { frame 1 { stop(); } } movieClip 1443 { frame 1 { stop(); } } frame 16 { Dimensions(ScaleModF, ScaleFactorF, HeroXF, HeroYF, HeroXScaleF, HeroYScaleF, SideF); OpenDoors(Door22_mc, 'Gate', 'Kalengo cell', 15, 6, 2, 484, 278, 145, 145, 1); OpenDoors(Door24_mc, 'Gate', 'Cell 64', 17, 6, 2, 350, 338, 182, 182, 1); enviromentItems(TrashCan_mc, 'Trash Can', 'Just a knocked over trash can', 0, 'none', 'Env5'); enviromentItems(Crow_mc, 'Crow', 'Fuck, I hate crows', 0, 'none', 'Env92'); ClosedDoorsALT(Door25_mc, 'Wall Crack', 'Basketball Court', 4, 31, 'I better get out of here', 'This way is blocked off, I think I can remove the rubble if I had some tools', 'Shovel', 'AS-23', 'Stage-15', 'Door23ALT', 'Door24', 6, 5, 75, 345, 75, 75, 17); if (EventsArray[7] == undefined) { InteractiveItems(TrashCan_mc, 'Trash Can', 'Just a knocked over trash can', 0, 'none', 2, 'AS-24', undefined, 'Env5', 'Stage-15'); } else { if (EventsArray[7] == true && EventsArray[8] == undefined) { ClosedDoorsALT(TrashCan_mc, 'Trash Can', '', undefined, 29, 'There is probably just more books inside', 'I better get out of here', 'Vodka', 'AS-25', 'Stage-15', 'Env65', 'Door23ALT'); } else { if (EventsArray[7] == true && EventsArray[8] == true) { enviromentItems(TrashCan_mc, 'Trash Can', 'I better get out of here', 0, 'none', 'Door23ALT'); if (DoorsOpenedArray[32] == undefined) { TalkTo(ChupaCell_mc, 'Chuppa', 'What that fuck?', 'Negative6', 'I\'m not doing that', 'Negative8', 'CS-4', 'Stage-15'); } else { if (DoorsOpenedArray[32] == true && EventsArray[18] == undefined) { NoTalk(ChupaCell_mc, 'Chuppa', 'That probably won\'t go down well', 'Magda2', 'You want me to what?', 'Negative9', 'This really isn\'t the time', 'Negative7'); } else { if (DoorsOpenedArray[32] == true && EventsArray[18] == true) { TalkTo(ChupaCell_mc, 'Chuppa', 'What that fuck?', 'Negative6', 'I\'m not doing that', 'Negative8', 'CS-11', 'Stage-1'); } } } } } } if (EventsArray[34] == true) { ChupaCell_mc._visible = false; } EventsArray[400] = false; PlayBack = 'Stage-15'; } movieClip 1463 { } movieClip 1466 { } movieClip 1468 { } movieClip 1472 { frame 1 { stop(); } } movieClip 1474 { } movieClip 1480 { frame 1 { stop(); } } movieClip 1487 { } movieClip 1490 { } movieClip 1500 { } movieClip 1505 { } movieClip 1506 { frame 1 { stop(); } } movieClip 1510 { } movieClip 1511 { frame 1 { stop(); } } frame 17 { Dimensions(ScaleModF, ScaleFactorF, HeroXF, HeroYF, HeroXScaleF, HeroYScaleF, SideF); OpenDoors(Door26_mc, 'Gate', 'Sector B', 16, 7, 2.5, 426, 311, 131, 131, 1); enviromentALTItems(CocaineStash_mc, 'Cocaine Stash', 'Fuck that\'s a lot of coke', 'I\'m not into that shit anymore', 0, 'none', 'Env94', 'Env93'); enviromentALTItems(CarlosCoke_mc, 'Carlos Coke', 'He\'s got nothing on him', 'He\'s got nothing on him', 0, 'none', 'Env96', 'Env96'); enviromentALTItems(PersianRug_mc, 'Persian Rug', 'My mother always wanted one of these', 'This really isn\'t the time', 0, 'none', 'Env97', 'Negative7'); enviromentALTItems(Feast_mc, 'Feast', 'I\'m not in the mood for eating anything', 'I\'m not in the mood for eating anything', 0, 'none', 'Env50', 'Env50'); enviromentALTItems(PrisonersOutfit_mc, 'Prisoners Outfit', 'The standard orange prisoners outfit', 'I don\'t need these', 0, 'none', 'Env103', 'NoGrab1'); enviromentALTItems(Basketball_mc, 'Basketball', 'I don\'t need these', 'This really isn\'t the time', 0, 'none', 'NoGrab1', 'Negative7'); enviromentItems(TV_mc, 'Plasma TV', 'Fun', 0, 'none', 'Env12'); enviromentItems(ErgonomicToilet_mc, 'Ergonomic Toilet', 'This really isn\'t the time', 0, 'none', 'Negative7'); PickableFarItems(Item28_mc, 'Vodka', 'Na, I\'m straight edge yo', 51, 'Usable', 'Item28', 28); PickableFarItems(Item29_mc, 'Insulin', 'It\'s that lasses insulin. I should get it back to her', 26, 'Usable', 'Item29', 29); if (DoorsOpenedArray[30] == undefined) { ClosedDoors(RapPosters_mc, 'Rap posters', '', undefined, 30, 'As fun as that could be, I probably shouldn\'t', 'Your guess is as good as mine...', 'Burning Shiv', 'AS-22', 'Stage-16', 'RapPosters', 'Grab4'); } else { if (DoorsOpenedArray[30] == true) { Item29_mc._x = 83; Item29_mc._y = 92; enviromentALTItems(RapPosters_mc, 'Secret Stash', 'He was really living it up in here', 'This really isn\'t the time', 0, 'none', 'Env101', 'Negative7'); } } PlayBack = 'Stage-16'; } movieClip 1545 { frame 1 { stop(); } } movieClip 1546 { } movieClip 1548 { } movieClip 1549 { } frame 18 { Dimensions(5, 2, 354, 319, 166, 166, 1); OpenDoors(Door25_mc, 'Door', 'Starting Point', 2, 5, 3, 83, 250, 85, 85, 15); enviromentItems(Cabinet_mc, 'Cabinet', 'Nothing interesting here', 0, 'none', 'Env54'); enviromentItems(PaintRoller_mc, 'Paint Roller', 'A paint roller', 0, 'none', 'Env39'); PickableActionItems(Item30_mc, 'Magda\'s Love Letters', 'A whole stash of love letters. Looks like there is more to this bitch than meets the eye', 38, 'Collectable', 'Item31', 30, 'Screwdriver', 'An air vent', 'CS-7', 'Stage-17', 'Item31-2', 'Air Vent', 'I need something to remove the vent cover', undefined); PickableFarItems(Item32_mc, 'Fuel Jerrycan & GPS', 'This could be useful', 37, 'Usable', 'Grab1', 32); PlayBack = 'Stage-17'; } movieClip 1553 { } movieClip 1555 { frame 1 { stop(); } } movieClip 1560 { frame 1 { stop(); } } frame 19 { EventsArray[20] = true; FinalScore += 25; } frame 19 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 2; HeroXF = 361; HeroYF = 303; HeroXScaleF = 157; HeroYScaleF = 157; SideF = 1; PlayBack = 'Stage-10'; Skip_btn.onRelease = function () { gotoAndStop('Stage-10'); }; } // unknown tag 88 length 124 movieClip 1573 { } movieClip 1574 { } movieClip 1577 { } movieClip 1581 { } movieClip 1584 { } movieClip 1600 { frame 190 { _root.gotoAndStop(_root.PlayBack); } } movieClip 1603 { } button 1606 { on (release) { getURL('http://www.rustyarcade.com?ref=aih2-cutscenes', '_blank'); } } movieClip 1607 { } frame 20 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 3; HeroXF = 361; HeroYF = 274; HeroXScaleF = 95; HeroYScaleF = 95; SideF = 9; PlayBack = 'Stage-1'; Skip_btn.onRelease = function () { gotoAndStop('Stage-1'); }; } movieClip 1611 { } movieClip 1613 { } movieClip 1617 { } movieClip 1627 { } movieClip 1633 { } movieClip 1639 { } movieClip 1671 { } movieClip 1681 { } movieClip 1694 { frame 300 { _root.gotoAndStop(_root.PlayBack); } } frame 21 { EventsArray[8] = true; } frame 21 { Mouse.show(); Cutscenes += 1; ScaleModF = 7; ScaleFactorF = 2.5; HeroXF = 426; HeroYF = 311; HeroXScaleF = 131; HeroYScaleF = 131; SideF = 15; PlayBack = 'Stage-15'; Skip_btn.onRelease = function () { gotoAndStop('Stage-15'); }; } movieClip 1697 { } movieClip 1700 { } movieClip 1702 { frame 1 { stop(); } } movieClip 1705 { } movieClip 1707 { } movieClip 1709 { } movieClip 1711 { } movieClip 1713 { } movieClip 1715 { } movieClip 1717 { } movieClip 1719 { } movieClip 1721 { } movieClip 1723 { } movieClip 1731 { frame 1 { stop(); } } movieClip 1736 { } movieClip 1748 { frame 373 { _root.gotoAndStop(_root.PlayBack); } } frame 22 { EventsArray[7] = true; } frame 22 { Mouse.show(); Cutscenes += 1; ScaleModF = 7; ScaleFactorF = 2.5; HeroXF = 426; HeroYF = 311; HeroXScaleF = 131; HeroYScaleF = 131; SideF = 15; PlayBack = 'Stage-15'; Skip_btn.onRelease = function () { gotoAndStop('Stage-15'); }; } movieClip 1757 { frame 1 { stop(); } } movieClip 1758 { frame 210 { _root.gotoAndStop(_root.PlayBack); } } frame 23 { Mouse.show(); Cutscenes += 1; ScaleModF = 7; ScaleFactorF = 2.5; HeroXF = 426; HeroYF = 311; HeroXScaleF = 131; HeroYScaleF = 131; SideF = 17; PlayBack = 'Stage-15'; Skip_btn.onRelease = function () { gotoAndStop('Stage-15'); }; } movieClip 1820 { frame 470 { _root.gotoAndStop(_root.PlayBack); } } frame 24 { Mouse.show(); Cutscenes += 1; ScaleModF = 6; ScaleFactorF = 2; HeroXF = 350; HeroYF = 338; HeroXScaleF = 182; HeroYScaleF = 182; SideF = 11; PlayBack = 'Stage-16'; Skip_btn.onRelease = function () { gotoAndStop('Stage-16'); }; } movieClip 1827 { } movieClip 1858 { } movieClip 1884 { } movieClip 1890 { frame 775 { _root.gotoAndStop(_root.PlayBack); } } frame 25 { Mouse.show(); Cutscenes += 1; ScaleModF = 6; ScaleFactorF = 2; HeroXF = 484; HeroYF = 278; HeroXScaleF = 145; HeroYScaleF = 145; SideF = 5; PlayBack = 'Stage-14'; Skip_btn.onRelease = function () { gotoAndStop('Stage-14'); }; } movieClip 1894 { frame 1 { stop(); } } movieClip 1895 { } movieClip 1899 { } movieClip 1900 { } movieClip 1923 { } movieClip 1941 { frame 230 { _root.gotoAndStop(_root.PlayBack); } } frame 26 { Mouse.show(); Cutscenes += 1; ScaleModF = 6; ScaleFactorF = 2; HeroXF = 484; HeroYF = 278; HeroXScaleF = 145; HeroYScaleF = 145; SideF = 5; PlayBack = 'Stage-14'; Skip_btn.onRelease = function () { gotoAndStop('Stage-14'); }; } movieClip 1943 { } movieClip 1952 { } movieClip 1956 { } movieClip 1971 { frame 295 { _root.gotoAndStop(_root.PlayBack); } } frame 27 { EventsArray[5] = true; } frame 27 { Mouse.show(); Cutscenes += 1; ScaleModF = 6; ScaleFactorF = 2; HeroXF = 484; HeroYF = 278; HeroXScaleF = 145; HeroYScaleF = 145; SideF = 11; PlayBack = 'Stage-14'; Skip_btn.onRelease = function () { gotoAndStop('Stage-14'); }; } movieClip 1973 { } movieClip 1996 { } movieClip 1999 { } movieClip 2004 { } movieClip 2005 { } movieClip 2010 { } movieClip 2025 { } movieClip 2027 { } movieClip 2029 { } movieClip 2039 { } movieClip 2072 { } movieClip 2074 { frame 1 { stop(); } } movieClip 2165 { } movieClip 2210 { frame 445 { _root.gotoAndStop(_root.PlayBack); } } frame 28 { Mouse.show(); Cutscenes += 1; ScaleModF = 6; ScaleFactorF = 2; HeroXF = 283; HeroYF = 316; HeroXScaleF = 164; HeroYScaleF = 164; SideF = 1; PlayBack = 'Stage-12'; Skip_btn.onRelease = function () { gotoAndStop('Stage-12'); }; } movieClip 2213 { } movieClip 2215 { } movieClip 2217 { } movieClip 2221 { } movieClip 2231 { } movieClip 2243 { frame 176 { _root.gotoAndStop(_root.PlayBack); } } frame 29 { Mouse.show(); Cutscenes += 1; ScaleModF = 6; ScaleFactorF = 2; HeroXF = 283; HeroYF = 316; HeroXScaleF = 164; HeroYScaleF = 164; SideF = 1; PlayBack = 'Stage-12'; Skip_btn.onRelease = function () { gotoAndStop('Stage-12'); }; } movieClip 2254 { frame 215 { _root.gotoAndStop(_root.PlayBack); } } frame 30 { EventsArray[4] = true; } frame 30 { Mouse.show(); Cutscenes += 1; ScaleModF = 6; ScaleFactorF = 2; HeroXF = 283; HeroYF = 316; HeroXScaleF = 164; HeroYScaleF = 164; SideF = 1; PlayBack = 'Stage-12'; Skip_btn.onRelease = function () { gotoAndStop('Stage-12'); }; } movieClip 2312 { } movieClip 2326 { frame 390 { _root.gotoAndStop(_root.PlayBack); } } frame 31 { DoorsOpenedArray[6] = true; } frame 31 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 3; HeroXF = 596; HeroYF = 306; HeroXScaleF = 107; HeroYScaleF = 107; SideF = 17; PlayBack = 'Stage-11'; Skip_btn.onRelease = function () { gotoAndStop('Stage-11'); }; } movieClip 2329 { } movieClip 2331 { } movieClip 2335 { } movieClip 2337 { } movieClip 2340 { } movieClip 2342 { } movieClip 2360 { } movieClip 2362 { } movieClip 2364 { } movieClip 2366 { } movieClip 2368 { } movieClip 2370 { } movieClip 2375 { } movieClip 2377 { } movieClip 2379 { } movieClip 2381 { } movieClip 2383 { } movieClip 2385 { } movieClip 2387 { } movieClip 2389 { } movieClip 2391 { } movieClip 2393 { } movieClip 2395 { } movieClip 2397 { } movieClip 2399 { } movieClip 2413 { frame 360 { _root.gotoAndStop(_root.PlayBack); } } frame 32 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 3; HeroXF = 596; HeroYF = 306; HeroXScaleF = 107; HeroYScaleF = 107; SideF = 17; PlayBack = 'Stage-11'; Skip_btn.onRelease = function () { gotoAndStop('Stage-11'); }; } movieClip 2415 { frame 156 { _root.gotoAndStop(_root.PlayBack); } } frame 33 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 3; HeroXF = 596; HeroYF = 306; HeroXScaleF = 107; HeroYScaleF = 107; SideF = 17; PlayBack = 'Stage-11'; Skip_btn.onRelease = function () { gotoAndStop('Stage-11'); }; } movieClip 2418 { } movieClip 2427 { frame 160 { _root.gotoAndStop(_root.PlayBack); } } frame 34 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 3; HeroXF = 596; HeroYF = 306; HeroXScaleF = 107; HeroYScaleF = 107; SideF = 17; PlayBack = 'Stage-11'; Skip_btn.onRelease = function () { gotoAndStop('Stage-11'); }; } movieClip 2431 { } movieClip 2448 { frame 505 { _root.gotoAndStop(_root.PlayBack); } } frame 35 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 3; HeroXF = 596; HeroYF = 306; HeroXScaleF = 107; HeroYScaleF = 107; SideF = 17; PlayBack = 'Stage-11'; Skip_btn.onRelease = function () { gotoAndStop('Stage-11'); }; } movieClip 2508 { frame 326 { _root.gotoAndStop(_root.PlayBack); } } frame 36 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 3; HeroXF = 452; HeroYF = 327; HeroXScaleF = 114; HeroYScaleF = 114; SideF = 17; PlayBack = 'Stage-11'; Skip_btn.onRelease = function () { gotoAndStop('Stage-11'); }; } movieClip 2536 { frame 120 { _root.gotoAndStop(_root.PlayBack); } } frame 37 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 2; HeroXF = 206; HeroYF = 365; HeroXScaleF = 188; HeroYScaleF = 188; SideF = 15; PlayBack = 'Stage-9'; Skip_btn.onRelease = function () { gotoAndStop('Stage-9'); }; } movieClip 2539 { } movieClip 2547 { } movieClip 2549 { } movieClip 2587 { } movieClip 2588 { frame 320 { _root.gotoAndStop(_root.PlayBack); } } frame 38 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 4; HeroXF = 648; HeroYF = 273; HeroXScaleF = 73; HeroYScaleF = 73; SideF = 19; PlayBack = 'Stage-2'; Skip_btn.onRelease = function () { gotoAndStop('Stage-2'); }; } movieClip 2591 { } movieClip 2592 { } movieClip 2600 { frame 167 { _root.gotoAndStop(_root.PlayBack); } } frame 39 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 4; HeroXF = 648; HeroYF = 273; HeroXScaleF = 73; HeroYScaleF = 73; SideF = 19; PlayBack = 'Stage-2'; Skip_btn.onRelease = function () { gotoAndStop('Stage-2'); }; } movieClip 2605 { } movieClip 2606 { frame 155 { _root.gotoAndStop(_root.PlayBack); } } frame 40 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 4; HeroXF = 424; HeroYF = 260; HeroXScaleF = 70; HeroYScaleF = 70; SideF = 1; PlayBack = 'Stage-7'; Skip_btn.onRelease = function () { gotoAndStop('Stage-7'); }; } movieClip 2609 { } movieClip 2617 { } movieClip 2621 { } movieClip 2626 { frame 353 { _root.gotoAndStop(_root.PlayBack); } } frame 41 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 4; HeroXF = 273; HeroYF = 381; HeroXScaleF = 100.5; HeroYScaleF = 100.5; SideF = 9; PlayBack = 'Stage-7'; Skip_btn.onRelease = function () { gotoAndStop('Stage-7'); }; } movieClip 2630 { } movieClip 2633 { } movieClip 2635 { frame 125 { _root.gotoAndStop(_root.PlayBack); } } frame 42 { Mouse.show(); Cutscenes += 1; ScaleModF = 6; ScaleFactorF = 5; HeroXF = 75; HeroYF = 345; HeroXScaleF = 75; HeroYScaleF = 75; SideF = 9; PlayBack = 'Stage-3'; Skip_btn.onRelease = function () { gotoAndStop('Stage-3'); }; } movieClip 2638 { } movieClip 2639 { } movieClip 2644 { } movieClip 2648 { frame 300 { _root.gotoAndStop(_root.PlayBack); } } frame 43 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 2; HeroXF = 206; HeroYF = 365; HeroXScaleF = 188; HeroYScaleF = 188; SideF = 1; PlayBack = 'Stage-8'; Skip_btn.onRelease = function () { gotoAndStop('Stage-8'); }; } movieClip 2650 { } movieClip 2656 { } movieClip 2659 { } movieClip 2660 { } movieClip 2703 { frame 245 { _root.gotoAndStop(_root.PlayBack); } } frame 44 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 2; HeroXF = 206; HeroYF = 365; HeroXScaleF = 188; HeroYScaleF = 188; SideF = 1; PlayBack = 'Stage-8'; Skip_btn.onRelease = function () { gotoAndStop('Stage-8'); }; } movieClip 2706 { } movieClip 2709 { } movieClip 2730 { } movieClip 2732 { frame 135 { _root.gotoAndStop(_root.PlayBack); } } frame 45 { EventsArray[2] = true; DoorsOpenedArray[2] = true; } frame 45 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 3; HeroXF = 478; HeroYF = 267; HeroXScaleF = 94; HeroYScaleF = 94; SideF = 17; PlayBack = 'Stage-6'; Skip_btn.onRelease = function () { gotoAndStop('Stage-6'); }; } movieClip 2734 { } movieClip 2738 { } movieClip 2745 { } movieClip 2766 { } movieClip 2770 { frame 143 { _root.gotoAndStop(_root.PlayBack); } } frame 47 { EndingsArray[3] = true; FinalScore += 200; EndingTipe = 'Romantic'; } frame 47 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 3; HeroXF = 361; HeroYF = 274; HeroXScaleF = 95; HeroYScaleF = 95; SideF = 1; Skip_btn.onRelease = function () { gotoAndStop('EndingMenu'); }; } movieClip 2772 { } movieClip 2775 { } movieClip 2777 { } movieClip 2806 { } // unknown tag 88 length 50 // unknown tag 88 length 134 movieClip 2816 { } movieClip 2818 { } movieClip 2820 { } movieClip 2822 { } movieClip 2824 { } movieClip 2826 { } movieClip 2828 { } movieClip 2830 { } movieClip 2832 { } movieClip 2860 { } movieClip 2889 { } movieClip 2894 { } movieClip 2897 { } movieClip 2901 { } movieClip 2912 { } movieClip 2922 { } movieClip 2925 { } movieClip 2930 { } movieClip 2936 { } movieClip 2938 { } movieClip 2939 { } movieClip 2943 { } movieClip 2954 { } movieClip 2957 { } movieClip 2963 { } movieClip 2970 { } movieClip 2974 { } movieClip 2975 { } movieClip 2976 { } movieClip 2980 { frame 1 { stop(); } } movieClip 2994 { } movieClip 3000 { frame 1 { stop(); } } movieClip 3006 { } movieClip 3011 { frame 1 { stop(); } } movieClip 3016 { } movieClip 3020 { } movieClip 3029 { } movieClip 3031 { frame 3343 { _root.gotoAndStop(_root.PlayBack); } } frame 48 { EndingsArray[2] = true; FinalScore += 700; EndingTipe = 'Friendship'; kongregate.stats.submit('Chuppa-Scape', 1); } frame 48 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 3; HeroXF = 361; HeroYF = 274; HeroXScaleF = 95; HeroYScaleF = 95; SideF = 1; Skip_btn.onRelease = function () { gotoAndStop('EndingMenu'); }; } movieClip 3099 { } movieClip 3121 { } movieClip 3135 { } movieClip 3136 { } movieClip 3165 { frame 3343 { _root.gotoAndStop(_root.PlayBack); } } frame 49 { EndingsArray[1] = true; FinalScore += 400; EndingTipe = 'Selfish'; } frame 49 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 3; HeroXF = 361; HeroYF = 274; HeroXScaleF = 95; HeroYScaleF = 95; SideF = 1; Skip_btn.onRelease = function () { gotoAndStop('EndingMenu'); }; } movieClip 3174 { } movieClip 3188 { } movieClip 3225 { frame 1 { stop(); } } movieClip 3237 { frame 3280 { _root.gotoAndStop(_root.PlayBack); } } frame 50 { EventsArray[34] = true; objectsArray.unshift(46); namessArray.unshift('Mucus Statue'); descArray.unshift('Words... cannot describe.'); kindArray.unshift('Secret Item'); } frame 50 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 3; HeroXF = 361; HeroYF = 274; HeroXScaleF = 95; HeroYScaleF = 95; SideF = 1; PlayBack = 'Stage-1'; Skip_btn.onRelease = function () { gotoAndStop('Stage-1'); }; } movieClip 3247 { } movieClip 3249 { } movieClip 3251 { } movieClip 3253 { } movieClip 3255 { } movieClip 3257 { } movieClip 3259 { } movieClip 3261 { } movieClip 3264 { } movieClip 3268 { } movieClip 3272 { } movieClip 3283 { } movieClip 3285 { } movieClip 3287 { } movieClip 3289 { } movieClip 3291 { } movieClip 3293 { } movieClip 3295 { } movieClip 3297 { } movieClip 3300 { } movieClip 3302 { } movieClip 3304 { } movieClip 3307 { } movieClip 3311 { } movieClip 3314 { frame 953 { _root.gotoAndStop(_root.PlayBack); } } frame 51 { EventsArray[19] = true; EventsArray[20] = true; } frame 51 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 2; HeroXF = 361; HeroYF = 303; HeroXScaleF = 157; HeroYScaleF = 157; SideF = 1; PlayBack = 'Stage-10'; Skip_btn.onRelease = function () { gotoAndStop('Stage-10'); }; } movieClip 3326 { } movieClip 3329 { } movieClip 3331 { } movieClip 3332 { } movieClip 3339 { } movieClip 3342 { } movieClip 3345 { } movieClip 3349 { } movieClip 3351 { } movieClip 3355 { } movieClip 3369 { } movieClip 3387 { } movieClip 3427 { } movieClip 3473 { } movieClip 3493 { } movieClip 3495 { } movieClip 3497 { } movieClip 3499 { } movieClip 3501 { } movieClip 3503 { } movieClip 3506 { } movieClip 3513 { } movieClip 3515 { } movieClip 3517 { } movieClip 3521 { } movieClip 3525 { } movieClip 3534 { frame 2256 { _root.gotoAndStop(_root.PlayBack); } } frame 52 { EventsArray[18] = true; objectsArray.unshift(47); namessArray.unshift('Pilot\'s Radio'); descArray.unshift('A radio transmitter. No one is communicating yet'); kindArray.unshift('Usable'); ItemsCollectedArray[33] = true; } frame 52 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 4; HeroXF = 108; HeroYF = 279; HeroXScaleF = 75; HeroYScaleF = 75; SideF = 5; PlayBack = 'Stage-2'; Skip_btn.onRelease = function () { gotoAndStop('Stage-2'); }; } movieClip 3536 { } movieClip 3541 { } movieClip 3545 { } movieClip 3560 { } movieClip 3564 { } movieClip 3582 { frame 785 { _root.gotoAndStop(_root.PlayBack); } } frame 53 { objectsArray.unshift(42); namessArray.unshift('Rope'); descArray.unshift('You can never have too much rope'); kindArray.unshift('Combinable'); DoorsOpenedArray[35] = true; } frame 53 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 4; HeroXF = 108; HeroYF = 279; HeroXScaleF = 75; HeroYScaleF = 75; SideF = 5; PlayBack = 'Stage-2'; Skip_btn.onRelease = function () { gotoAndStop('Stage-2'); }; } movieClip 3598 { } movieClip 3602 { frame 1793 { _root.gotoAndStop(_root.PlayBack); } } frame 54 { EventsArray[11] = true; } frame 54 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 2; HeroXF = 522; HeroYF = 321; HeroXScaleF = 166; HeroYScaleF = 166; SideF = 17; PlayBack = 'Stage-17'; Skip_btn.onRelease = function () { gotoAndStop('Stage-17'); }; } movieClip 3605 { } movieClip 3608 { frame 1 { stop(); } } movieClip 3609 { } movieClip 3611 { } movieClip 3627 { } movieClip 3632 { } movieClip 3635 { } movieClip 3642 { } movieClip 3648 { } movieClip 3650 { } movieClip 3653 { } movieClip 3655 { } movieClip 3657 { } movieClip 3659 { } movieClip 3660 { } movieClip 3663 { } movieClip 3666 { frame 1350 { _root.gotoAndStop(_root.PlayBack); } } frame 55 { objectsArray.unshift(33); namessArray.unshift('Magnesium Strip'); descArray.unshift('Burns slowly at a high heat. This could make a good fuse'); kindArray.unshift('Combinable'); } frame 55 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 2; HeroXF = 361; HeroYF = 303; HeroXScaleF = 157; HeroYScaleF = 157; SideF = 1; PlayBack = 'Stage-10'; Skip_btn.onRelease = function () { gotoAndStop('Stage-10'); }; } movieClip 3687 { } movieClip 3698 { frame 2289 { _root.gotoAndStop(_root.PlayBack); } } frame 56 { objectsArray.unshift(32); namessArray.unshift('Shovel'); descArray.unshift('This could be useful'); kindArray.unshift('Usable'); DoorsOpenedArray[32] = true; } frame 56 { Mouse.show(); Cutscenes += 1; ScaleModF = 7; ScaleFactorF = 2.5; HeroXF = 318; HeroYF = 293; HeroXScaleF = 124; HeroYScaleF = 124; SideF = 5; PlayBack = 'Stage-15'; Skip_btn.onRelease = function () { gotoAndStop('Stage-15'); }; } movieClip 3700 { } movieClip 3711 { } movieClip 3713 { } movieClip 3749 { } movieClip 3751 { frame 2845 { _root.gotoAndStop(_root.PlayBack); } } frame 57 { DoorsOpenedArray[19] = true; } frame 57 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 3; HeroXF = 452; HeroYF = 327; HeroXScaleF = 114; HeroYScaleF = 114; SideF = 15; PlayBack = 'Stage-11'; Skip_btn.onRelease = function () { gotoAndStop('Stage-11'); }; } movieClip 3756 { } movieClip 3766 { } movieClip 3768 { } movieClip 3771 { } movieClip 3773 { } movieClip 3775 { } movieClip 3777 { } movieClip 3779 { } movieClip 3781 { } movieClip 3783 { } movieClip 3785 { } movieClip 3787 { } movieClip 3789 { } movieClip 3793 { } movieClip 3795 { } movieClip 3798 { } movieClip 3800 { } movieClip 3827 { } movieClip 3828 { } movieClip 3831 { } movieClip 3840 { } movieClip 3848 { } movieClip 3904 { frame 570 { _root.gotoAndStop(_root.PlayBack); } } frame 58 { EventsArray[10] = true; } frame 58 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 2; HeroXF = 361; HeroYF = 303; HeroXScaleF = 157; HeroYScaleF = 157; SideF = 1; PlayBack = 'Stage-10'; Skip_btn.onRelease = function () { gotoAndStop('Stage-10'); }; } movieClip 3918 { } movieClip 3920 { } movieClip 3962 { } movieClip 3989 { } movieClip 3991 { } movieClip 3993 { } movieClip 3996 { } movieClip 3999 { } movieClip 4017 { frame 2307 { _root.gotoAndStop(_root.PlayBack); } } frame 59 { objectsArray.unshift(3); EventsArray[0] = true; namessArray.unshift('Lighter'); descArray.unshift('A metal lighter. It says “Charles Black” on it. Ain\'t that the wardens name?'); kindArray.unshift('Usable'); } frame 59 { Mouse.show(); Cutscenes += 1; ScaleModF = 5; ScaleFactorF = 4; HeroXF = 361; HeroYF = 334; HeroXScaleF = 85; HeroYScaleF = 85; SideF = 5; PlayBack = 'Stage-2'; Skip_btn.onRelease = function () { gotoAndStop('Stage-2'); }; } movieClip 4019 { } movieClip 4098 { } movieClip 4099 { } movieClip 4107 { frame 862 { _root.gotoAndStop(_root.PlayBack); } } frame 60 { var deleteGame = false; var saveMessage = 'This game auto save your progress.'; playMusic(); Mouse.show(); stop(); var deleteGame = true; var storedData; storedData = SharedObject.getLocal('AIH2'); if (storedData.data.campaignSave == undefined) { storedData.data.campaignSave = new Object(); deleteGame = true; _root.play_game._visible = false; } else { if (storedData.data.campaignSave != undefined) { _root.play_game._visible = true; saveMessage = 'WELCOME BACK!'; deleteGame = false; } } var saveData; saveData = new Object(); saveData = storedData.data.campaignSave; New_game.onRelease = function () { Dimensions(5, 3, 361, 274, 95, 95, 1); if (deleteGame == true) { deleteGame = false; saveMessage = 'THIS GAME AUTO SAVE YOUR PROGRESS.'; gotoAndStop('menu'); storedData.clear(); ItemsCollectedArray = new Array(); EventsArray = new Array(); DoorsOpenedArray = new Array(); objectsArray = new Array(); namessArray = new Array(); descArray = new Array(); kindArray = new Array(); EndingsArray = new Array(); objectsArray.unshift(45); namessArray.unshift('Prison Map'); descArray.unshift(''); kindArray.unshift('Usable'); saveData.objectsArray = _root.objectsArray; saveData.namessArray = _root.namessArray; saveData.descArray = _root.descArray; saveData.kindArray = _root.kindArray; saveData.ItemsCollectedArray = _root.ItemsCollectedArray; saveData.EventsArray = _root.EventsArray; saveData.DoorsOpenedArray = _root.DoorsOpenedArray; saveData.EndingsArray = _root.EndingsArray; storedData.data.campaignSave = saveData; flushResult = storedData.flush(1024); } else { if (deleteGame == false) { deleteGame = true; saveMessage = 'THIS WILL DELETE YOUR SAVED DATA!'; } } }; play_game.onRelease = function () { _root.objectsArray = storedData.data.campaignSave.objectsArray; _root.namessArray = storedData.data.campaignSave.namessArray; _root.descArray = storedData.data.campaignSave.descArray; _root.kindArray = storedData.data.campaignSave.kindArray; _root.ItemsCollectedArray = storedData.data.campaignSave.ItemsCollectedArray; _root.EventsArray = storedData.data.campaignSave.EventsArray; _root.DoorsOpenedArray = storedData.data.campaignSave.DoorsOpenedArray; _root.EndingsArray = storedData.data.campaignSave.EndingsArray; gotoAndStop('Stage-1'); ScaleModF = 5; ScaleFactorF = 3; HeroXF = 361; HeroYF = 274; HeroXScaleF = 95; HeroYScaleF = 95; SideF = 9; }; rusty_btn.onRelease = function () { getURL('http://www.rustyarcade.com?ref=aih2-menu', '_blank'); }; playTheFirst_btn.onRelease = function () { getURL('http://www.rustyarcade.com/games/play/19/Arrival-in-hell', '_blank'); }; Walktrough_btn.onRelease = function () { getURL('http://www.rustyarcade.com/blog/read/62/Arrival-In-Hell-2-Walkthrough', '_blank'); }; var kongregate = _global.kongregate; kongregate.services.connect(); } frame 60 { function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = '__mochibot__'; mbc = 'mochibot.com'; g = _global ? _global : _level0._root; if (g[mb + swfid]) { return g[mb + swfid]; } s = System.security; x = mc._root.getSWFVersion; fv = x ? mc.getSWFVersion() : (_global ? 6 : 5); if (!s) { s = {}; } sb = s.sandboxType; if (sb == 'localWithFile') { return null; } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = (fv == 5) ? /:$version : System.capabilities.version; u = 'http://' + mbc + '/my/core.swf?mv=8&fv=' + fv + '&v=' + escape(pv) + '&swfid=' + escape(swfid) + '&l=' + lv + '&f=' + mc + (sb ? '&sb=' + sb : '') + (trk ? '&t=1' : ''); lv = fv > 6 ? mc.getNextHighestDepth() : (g[mb + 'level'] ? g[mb + 'level'] + 1 : lv); g[mb + 'level'] = lv; if (fv == 5) { res = '_level' + lv; if (!eval(res)) { loadMovieNum(u, lv); } return res; } res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); return res; } __com_mochibot__('5a4bccb8', this, 10301, true); } movieClip 4110 { } movieClip 4114 { } movieClip 4119 { } movieClip 4124 { } movieClip 4134 { } movieClip 4135 { } frame 69 { OK_btn.onRelease = function () { gotoAndStop('menu2'); }; rusty_btn.onRelease = function () { getURL('http://www.rustyarcade.com?ref=aih2-menu', '_blank'); }; } frame 77 { OK_btn.onRelease = function () { gotoAndStop('Stage-1'); }; rusty_btn.onRelease = function () { getURL('http://www.rustyarcade.com?ref=aih2-menu', '_blank'); }; } movieClip 4166 { frame 15 { stop(); } } frame 84 { OK_btn.onRelease = function () { gotoAndPlay('intros'); }; Submit_btn.onRelease = function () { gotoAndStop('submit'); }; rusty_btn.onRelease = function () { getURL('http://www.rustyarcade.com?ref=aih2-ending-menu', '_blank'); }; game1_btn.onRelease = function () { getURL('http://www.rustyarcade.com/games/play/964/When-The-Plague-Came', '_blank'); }; game2_btn.onRelease = function () { getURL('http://www.rustyarcade.com/games/play/526/Mecha-Martyr', '_blank'); }; game3_btn.onRelease = function () { getURL('http://www.rustyarcade.com/games/play/666/Burn-Stuff-and-Die', '_blank'); }; Alt_endings_btn.onRelease = function () { getURL('http://www.rustyarcade.com/blog/read/62/Arrival-In-Hell-2-Walkthrough', '_blank'); }; SecretRooms_btn.onRelease = function () { gotoAndStop('SecretRoom'); }; var EndingType = EndingTipe + ' Ending.'; var SecretItem1 = SecterItemsArray[0]; var SecretItem2 = SecterItemsArray[1]; var SecretItem3 = SecterItemsArray[2]; var SecretItem4 = SecterItemsArray[3]; var UltimateScore = FinalScore + ObjectsLooked + Cutscenes + Quotes; kongregate.stats.submit('Ultimate-Score', UltimateScore); if (EndingsArray[3] == true && EndingsArray[2] == true && EndingsArray[1] == true) { Alt_endings_btn._x = 276; Alt_endings_btn._y = 575; SecretRooms_btn._x = 277; SecretRooms_btn._y = 370; } else { if (SecterItemsArray[3] != 'Secret item 4: Not Found' && SecterItemsArray[2] != 'Secret item 3: Not Found' && SecterItemsArray[1] != 'Secret item 2: Not Found' && SecterItemsArray[0] != 'Secret item 1: Not Found') { Alt_endings_btn._x = 276; Alt_endings_btn._y = 575; SecretRooms_btn._x = 277; SecretRooms_btn._y = 370; } } } movieClip 4202 { } frame 94 { var o = {'n': [5, 14, 15, 7, 1, 15, 12, 1, 7, 9, 1, 14, 4, 11, 9, 1], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, ''); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': UltimateScore}); } frame 95 { gotoAndPlay('intros'); } frame 101 { OK_btn.onRelease = function () { gotoAndStop('MainMenu'); }; } movieClip 4214 { } movieClip 4224 { } frame 111 { mochi.as2.MochiServices.connect('1cc886f06e588803'); } movieClip 4234 { } instance of movieClip 4234 { onClipEvent (release) { getURL('http://www.rustyarcade.com?ref=aih2-introanim', '_blank'); } } movieClip 4236 { } movieClip 4238 { } movieClip 4240 { } frame 235 { mochi.as2.MochiAd.showPreGameAd({'id': '1cc886f06e588803', 'res': '720x405'}); } frame 236 { if (EndingsArray[3] == true || EndingsArray[2] == true || EndingsArray[1] == true) { gotoAndPlay('MainMenu'); } else { if (EndingsArray[3] == undefined && EndingsArray[2] == undefined && EndingsArray[1] == undefined) { gotoAndPlay('introScene'); } } } movieClip 4248 { } movieClip 4250 { } movieClip 4252 { } button 4256 { on (release) { gotoAndStop('MainMenu'); } } button 4258 { on (release) { getURL('http://www.rustyarcade.com/games/play/19/Arrival-in-hell', '_blank'); } } movieClip 4261 { } movieClip 4263 { } movieClip 4265 { } movieClip 4268 { } movieClip 4269 { } movieClip 4271 { } movieClip 4273 { } movieClip 4275 { } movieClip 4277 { } movieClip 4279 { } movieClip 4281 { } movieClip 4286 { } movieClip 4288 { } movieClip 4292 { } movieClip 4294 { } movieClip 4296 { } movieClip 4318 { } movieClip 4321 { } movieClip 4342 { } movieClip 4352 { } movieClip 4354 { } movieClip 4356 { } movieClip 4358 { } movieClip 4360 { } movieClip 4362 { } movieClip 4364 { } movieClip 4367 { } movieClip 4369 { } movieClip 4371 { } movieClip 4372 { } movieClip 4375 { } movieClip 4449 { } movieClip 4463 { } movieClip 4465 { } movieClip 4467 { } movieClip 4479 { } movieClip 4498 { } movieClip 4500 { } movieClip 4526 { } movieClip 4530 { frame 1 { stop(); } } movieClip 4531 { } movieClip 4549 { } movieClip 4552 { } movieClip 4558 { } movieClip 4562 { } movieClip 4563 { } movieClip 4565 { } movieClip 4571 { } movieClip 4572 { } movieClip 4573 { } movieClip 4575 { } movieClip 4577 { frame 1 { stop(); } } movieClip 4578 { } movieClip 4579 { } movieClip 4580 { } movieClip 4582 { } movieClip 4583 { } movieClip 4586 { } movieClip 4588 { } movieClip 4590 { } movieClip 4592 { } movieClip 4607 { } movieClip 4609 { frame 1 { stop(); } } movieClip 4611 { } movieClip 4613 { } movieClip 4614 { } movieClip 4636 { } movieClip 4637 { } movieClip 4650 { } movieClip 4651 { instance speakingmouth of movieClip 4650 { onClipEvent (load) { if (_global.talking) { this._visible = true; } else { this._visible = false; } } } frame 10 { gotoAndPlay(1); } } movieClip 4652 { } movieClip 4653 { } movieClip 4654 { } movieClip 4684 { } movieClip 4686 { } movieClip 4693 { } movieClip 4694 { } movieClip 4696 { } movieClip 4698 { } movieClip 4701 { } movieClip 4703 { } movieClip 4705 { } movieClip 4707 { } movieClip 4709 { } movieClip 4729 { } movieClip 4734 { } movieClip 4735 { } movieClip 4737 { } movieClip 4747 { } movieClip 4779 { } movieClip 4833 { } movieClip 4860 { } movieClip 4863 { } movieClip 4865 { } movieClip 4867 { } frame 2896 { gotoAndStop('MainMenu'); }




http://swfchan.com/19/93171/info.shtml
Created: 27/3 -2019 01:50:50 Last modified: 27/3 -2019 01:50:50 Server time: 03/05 -2024 02:15:21