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

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

jr2en-pl.swf

This is the info page for
Flash #207163

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


ActionScript [AS1/AS2]
Combined Code
movieClip 5 blip { } frame 1 { stop(); } button 14 { on (release) { gotoAndStop(101); } } button 32 { on (release) { gotoAndStop(2); } } frame 2 { Stage.showMenu = false; stop(); } movieClip 44 { frame 1 { gotoAndPlay(5); } frame 1466 { gotoAndPlay(5); } } movieClip 59 { } button 64 { on (release) { getURL('http://www.conspiracygames.com/', '_blank'); } } button 71 { on (release) { _root.gotoAndStop(3); } } movieClip 40 { frame 59 { stop(); } frame 60 { stopAllSounds(); } frame 63 { gotoAndPlay(1); } } instance of movieClip 40 { onClipEvent (enterFrame) { if (_root.getBytesLoaded() < _root.getBytesTotal()) { gotoAndStop(Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 54) + 3); } else { gotoAndStop(59); } } } movieClip 84 { } button 90 { on (release) { gotoAndStop(30); } } button 101 { on (release) { gotoAndPlay(32); } } button 102 { on (release) { gotoAndStop(28); } } movieClip 114 { } movieClip 111 { frame 1 { if (_currentframe == 1) { stop(); } } frame 2 { displayName = 'beer bottle'; } frame 3 { displayName = 'ashes'; } frame 4 { displayName = 'broken bottle'; } frame 5 { displayName = 'window key'; } frame 6 { displayName = 'chain'; } frame 7 { displayName = 'bread'; } frame 8 { displayName = 'seltzer tablets'; } frame 9 { displayName = 'seltzer bread'; } frame 10 { displayName = 'gum'; } frame 11 { displayName = 'gum on a chain'; } frame 12 { displayName = 'knife'; } frame 13 { displayName = 'quarter'; } frame 14 { displayName = 'hairpin'; } frame 15 { displayName = 'forty'; } frame 16 { displayName = 'pipe'; } frame 17 { displayName = 'wrench'; } frame 18 { displayName = 'screwdriver'; } frame 19 { displayName = 'burger'; } frame 20 { displayName = 'scrabble tile'; } frame 21 { displayName = 'lighter'; } frame 22 { displayName = 'thug id'; } frame 23 { displayName = 'some change'; } frame 24 { displayName = 'lots of change'; } } movieClip 107 { frame 1 { stop(); } frame 2 { if (_currentframe == 2) { _global.instantPassed = true; } } frame 3 { if (_currentframe == 3) { _global.instantPassed = true; } } frame 4 { if (_currentframe == 4) { _global.instantPassed = true; } } frame 5 { if (_currentframe == 5) { _global.instantPassed = true; } } } movieClip 138 { } movieClip 105 { frame 265 { gotoAndPlay(31); } } button 150 { on (release) { gotoAndPlay(48); } } button 151 { on (release) { gotoAndPlay(30); } } button 167 { on (release) { gotoAndPlay(49); } } button 168 { on (release) { gotoAndPlay(32); } } movieClip 174 { frame 159 { gotoAndPlay(21); } } button 182 { on (release) { gotoAndStop(208); } } button 183 { on (release) { gotoAndStop(48); } } button 186 { on (release) { stopAllSounds(); gotoAndPlay(209); } } movieClip 190 { } movieClip 74 { frame 1 { stopAllSounds(); } frame 28 { stop(); } frame 30 { stop(); } frame 47 { stop(); } frame 48 { stop(); } frame 207 { stop(); } frame 208 { stop(); } frame 430 { _root.gotoAndStop(4); } } frame 4 { Mouse.hide(); Stage.showMenu = false; if (!_global.instantiated) { _global.water1 = new Sound(); _global.water1.attachSound('water1'); _global.water2 = new Sound(); _global.water2.attachSound('water2'); _global.music1 = new Sound(); _global.music1.attachSound('music1'); _global.music2 = new Sound(); _global.music2.attachSound('music2'); _global.music3 = new Sound(); _global.music3.attachSound('music3'); _global.music4 = new Sound(); _global.music4.attachSound('music4'); _global.instantPassed = true; _global.leftOff = 0; _global.startingFrom = 0; _global.eventArray = new Array(); _global.eventArray = [false]; _global.inventory = new Array(); _global.inventory = []; _global.showItem = new Array(); _global.showItem = []; _global.cycleDown = function () { if (_global.startingFrom + 3 < _global.inventory.length) { _global.startingFrom += 3; refreshPanels(); } }; _global.hasItem = function (anItem) { for (its in _global.inventory) { if (_global.inventory[its] == anItem) { return true; } } return false; }; _global.changeScene = function (id, frameIn, shouldPlay) { if (_root._currentframe >= 70 && _root._currentframe <= 82 && id == 'cityStreetB') { stopAllSounds(); } trace(_root._currentframe + ' & ' + id); if ((_root._currentframe == 47 || _root._currentframe == 49) && id == 'cityStreet') { _global.music4.stop('music4'); _global.music2.start(0, 9999); } _root.textDest = 'random'; _root.dynHelp = ''; _root.gotoAndStop(id); _global.talk(0, ''); if (!shouldPlay) { _root.mainClip.gotoAndStop(frameIn); } else { _root.mainClip.gotoAndPlay(frameIn); } }; _global.cycleUp = function () { if (_global.startingFrom < 3) { if (_global.startingFrom >= 0) { _global.startingFrom = 0; } } else { _global.startingFrom -= 3; } refreshPanels(); }; _global.combineItems = function (item1, item2, switchAndRepeat) { _root.cursor.gotoAndStop(1); trace('combineItems'); if (!(item1 == 10 && item2 == 6)) { if (item1 == 8 && item2 == 7) { trace('seltzer combo attempted'); if (!(_root._currentframe != 53 || _global.eventArray[18] == true)) { _global.talk(3, 'Nie mogę się bawić tabletkami dopuki ich nie kupię.'); } else { _global.removeInvItem(7); _global.removeInvItem(8); _global.addInvItem(9); } return undefined; } } else { _global.removeInvItem(6); _global.removeInvItem(10); _global.addInvItem(11); return undefined; } if (switchAndRepeat) { _global.combineItems(item2, item1, false); } }; _global.removeInvItem = function (frm) { iterator = 0; for (;;) { if (!(_global.inventory[iterator] != frm && iterator < 100)) break; ++iterator; } if (iterator != 0) { if (iterator != _global.inventory.length - 1) { _global.inventory = (_global.inventory.slice(0, iterator)).concat(_global.inventory.slice(iterator + 1, _global.inventory.length)); } else { _global.inventory = _global.inventory.slice(0, _global.inventory.length - 1); } } else { _global.inventory = _global.inventory.slice(1, _global.inventory.length); } _global.startingFrom = 0; _global.refreshPanels(); }; _global.refreshPanels = function () { i = 1; while (i <= 3) { _root.menuMain['inv' + i].gotoAndStop(1); ++i; } lowest = _global.inventory.length; if (_global.startingFrom + 3 < lowest) { lowest = _global.startingFrom + 3; } curPanel = 1; i = _global.startingFrom; while (i < lowest) { _root.menuMain['inv' + curPanel].gotoAndStop(_global.inventory[i]); ++curPanel; if (curPanel == 4) { return undefined; } ++i; } }; _global.addInvItem = function (frm) { tempEntry = new Array(); tempEntry = [frm]; _global.showItem[frm] = false; _global.inventory = tempEntry.concat(_global.inventory); _global.startingFrom = 0; _global.refreshPanels(); }; _global.countInv = function () { a = 0; for (i in _global.inventory) { if (_global.inventory[i] > 1) { ++a; } } return a; }; _global.reduceRatio = function (x, y, lim) { if (Math.abs(x) <= Math.abs(y)) { higher = y; } else { higher = x; } div = Math.abs(higher) / lim; _global.reducedX = x / div; _global.reducedY = y / div; }; _global.isIn = function (val, givenArray) { for (ii in givenArray) { if (givenArray[ii] == val) { return true; } } return false; }; _global.talk = function (dlay, msg) { _root.dimCheck.dimText.Text = msg; tWidth = msg.length * 8; tHeight = _root.dimCheck._height; trace('text dims=' + tWidth + ',' + tHeight + ', letter count ' + msg.length); if (_root.mainClip.johnny._x <= 0) { if (_root.johnny._x <= 0) { trace('case: no johnny'); passX = 200 - tWidth / 2; } else { trace('case: johnny in root'); passX = _root.johnny._x - tWidth / 2; } } else { passX = _root.mainClip.johnny._x - tWidth / 2; trace('johnny x = ' + _root.mainClip.johnny._x + ' tWidth/2=' + tWidth / 2); trace('case: johnny in mainClip'); } trace('passX=' + passX); if (_root.mainClip.johnny._y <= 0) { if (_root.johnny._y <= 0) { passY = 220 - tHeight; } else { passY = _root.johnny._y - tHeight - _root.johnny._height / 3; } } else { passY = _root.mainClip.johnny._y - tHeight - _root.mainClip.johnny._height / 3; } if (passX <= 400 - tWidth) { if (passX < 0) { passX = 0; } } else { passX = 400 - tWidth; } if (passY <= 220 - tHeight) { if (passY < 0) { passY = 0; } } else { passY = 220 - tHeight; } _root.speechBox._x = passX; _root.speechBox._y = passY; _root.lockedHelp = msg; _root.cursor.dlay = 20 * dlay; _root.speechBox.gotoAndStop(2); }; _global.talkXY = function (dlay, msg, xp, yp) { _root.lockedHelp = msg; _root.cursor.dlay = 20 * dlay; _root.speechBox._x = xp; _root.speechBox._y = yp; _root.speechBox.gotoAndStop(2); }; _global.showSpeechBox = function () { _root.speechBox.gotoAndStop(1); _root.speechBox._visible = true; _root.speechBox._alpha = 100; _root.speechBox._x = -1.799999952316284; _root.speechBox._y = 196; }; _global.negativeResponses = new Array(); _global.negativeResponses = ['Jesteś upośledzony?', 'Nie, nawet za milion lat.', 'Nigdy.', 'Nie ma mowy, Jezu.', 'lol', 'To się nie stanie.', 'Zróbmy to z pomyśleniem..', 'Nie wygląda na to, żeby zadziałało.', 'Hmmm... nie.', 'Nie mogę.', 'Karki.', 'Może tak serio.', 'Nie mogę tego zrobić.', 'To nie zadziała.', 'Nie zadziała.', 'Odmawiam.', 'No no, całkiem chujowy pomysł.', 'rofl', 'lmao', 'Like, tak jakby!', 'Nie sądzę.', 'Zabijasz mnie, maluczki.', 'Musi być jakiś inny sposób.', 'Co do kurwy?.', 'Wolałbym nie.', 'Jesteś poważny?', 'Nie możesz być poważny.', 'Myślałem, że jesteś w tym dobry.', 'To mnie nie rusza.', 'Jesteś szalony.', 'Nie poleci.', 'A może spróbować coś dobrego?', 'Nie sądzę, żeby to zadziałało.', 'Spróbuj innego podejścia.', 'Hmm... cóóż….niee.', 'Widzę, że nie zbyt zapalony gracz.', 'Pierwszy raz grasz w przygodówkę, czy coś?', 'Daj mi spokój.', 'Ta, jasne.', 'Ummm.... nie.', 'Umm, tak jakby, nie sądzę.', 'Może powinieneś spytać kolegi co zrobić.', 'To jest po za pytaniem.', 'Twórcze.', 'Nic się nie stanie.', 'To niepotrzebne.', 'Dobre.', 'Ale z ciebie żartowniś.', 'Proszę, powiedz, że żartujesz.', 'Żartujesz, tak? Powiedz, że żartujesz.', 'Wow.', 'Przestań odpierdalać.', 'Nie mam na to czasu.', 'Spróbuj czegoś innego.', 'Spróbuj czegoś innego.', 'To nie zadziała, mówie ci.']; _global.gumNegs = new Array(); _global.keyNegs = new Array(); _global.knifeNegs = new Array(); _global.mouthNegs = new Array(); _global.radiatorDiag = new Array(); _global.snackDiag = new Array(); _global.arcadeDiag = new Array(); radiatorIter = 0; _global.gumNegs = ['Nie sądzę, żeby to potrzebowało gumy.', 'To nie potrzebuje gumowania.', 'Nie mogę tego ogumować.', 'To nie potrzebuje gumy.', 'Guma, tam? Nie sądzę.', 'Guma mówi ‘nie’, guma przemówiła.']; _global.keyNegs = ['To nie wymaga otwierania.', 'Nie mogę tego otworzyć.', 'To nie może być otwarte.', 'Pokaż mi dziurę na klucz.', 'To nie jest otwieralne.', 'Gdzie by miał pasować klucz?']; _global.knifeNegs = ['Nie chcę tego mordować.', 'Później to zadźgam.', 'Jesteś bardzo brutalny i to mnie martwi.', 'Może, jeśli będe miał powód.', ' To nie było by zmyślne \n(knife = nóż, nifty = zmyślny).']; _global.mouthNegs = ['Nie wygląda zbyt apetycznie.', 'Nie wsadzę tego do gęby.', 'Te usta tego nie dotykają.', 'Odmawiam wsadzania tego sobie do gęby.', 'Nie wygląda zbyt apetycznie.', 'Wolałbym używać swoich ust do innych rzeczy.', 'Moja paszcze tego nie chapie.']; _global.radiatorDiag = ['Nie działa.', 'Zobacz, człowieku, powiedziałem ci, nie działa.', 'TO KURWA NIE DZIAŁA.', 'Dlaczego mi nie wierzysz?', 'Nie okłamałbym cię.', 'Dobra, to było słodkie za pierwszym razem, \nteraz to się staje nudne.', 'Nie śmieszne.', 'Przstań.', 'Teraz poprostu jesteś dziecinny.', 'Dlaczego chcesz użyć tego kaloryfera tak bardzo..?', 'To jest jakaś obsesja?', 'Kochasz kaloryfery?', 'Kochasz ten kaloryfer, co nie?', 'Chcesz go pocałować.', 'Ty i mój kaloryfer, siedzą na drzewie!', 'C-A-Ł-U-J-Ą-S-I-Ę!', 'Jeśli tak bardzo go kochasz, \nczemu się z nim nie ożenisz?', 'To kiedy ślub?', 'Czy powinienem założyć garnitur?', 'Huh?... co to..? uh oh. Kaloryfer mówi, że cię nienawidzi.', 'To koniec.', 'Wasz związek nigdy się nie uda.', 'Przykro mi.', 'Wiem, że jesteś sfrustrowany..', 'Złamane serce nie jest łatwo naprawialne.', 'Przenieś się tam, gdzie \ntrawa jest bardziej zielona.', 'W morzu jest mnóstwo innych kaloryferów.', 'Pogudź się z tym.']; _global.snackDiag = ['Mmmmmm... świerze frytki.', 'Serowe Paluszki Serowego Chestera.', 'Boże, kocham suszoną wołowinę.', 'Lubię śmieciowe żarcie.', 'Smarzone świńskie skórki OMG OMG!!', 'Hmmmm... Nie widzę żadnych serowych chrupek oblanych czekoladą..', 'Kurde, te snaki wyglądają przepysznie.', 'Jestem głodny.', 'Wszystko wygląda tak dobrze.', 'Chcę je wszystkie.', 'Mniam.', 'Pragnę ich.']; _global.arcadeDiag = ['Nigdy nie byłem w stanie przejść tego.', 'Wydałem ze 40 dolków na to gówno.', 'Czy to możliwe, żeby to przejść..?', 'W zeszłym tygodniu prawie to przeszedłem.', 'Zmarnowałem mnóstwo cennego \nczasu grając w to cholerstwo.', 'Jednej nocy grałem 7 godzin bez przerwy.', 'Marzę, żeby przejść tą grę.', 'Boże, ta gra mnie wkurwia..', 'DLACZEGO NIE MOGĘ JEJ PRZEJŚĆ?!!', 'Pewnie jest niemożliwa do przejścia.', 'Czy ta gra ma zakończenie?', 'Miałem koszmary o tej grze.', 'Ta gra mnie będzie wiecznie nawiedzać.', 'Puki co, to ją przejdę.', 'Popatrz no... prowokuje mnie.', 'Nienawidzę tej gry.', 'Ta gra jest naprawdę uzależniająca.', 'Ciekawe, czy są do niej jakieś kody..']; _global.instantiated = true; } stop(); } movieClip 197 { } movieClip 234 { } movieClip 288 { } movieClip 281 { } movieClip 326 { } movieClip 383 { } movieClip 405 { } movieClip 451 { } movieClip 477 { } movieClip 483 { } movieClip 194 { frame 1 { stopAllSounds(); } frame 1083 { _global.changeScene('barIntro', 1, true); } } instance of movieClip 194 { onClipEvent (keyDown) { if (Key.isDown(32)) { _global.changeScene('barIntro', 1, true); } } } button 556 { on (press) { _root.cursor.gotoAndStop(2); } } movieClip 555 { } button 559 { on (press) { _root.cursor.gotoAndStop(3); } } button 562 { on (press) { _root.cursor.gotoAndStop(5); } } button 565 { on (release) { _global.cycleUp(); } } button 568 { on (release) { _global.cycleDown(); } } movieClip 571 { } movieClip 554 { instance inv1 of movieClip 111 { onClipEvent (enterFrame) { if (!this.hitTest(_root._xmouse, _root._ymouse, false)) { if (_parent.dynHelp == displayName) { _parent.dynHelp = ''; } } else { _parent.dynHelp = displayName; } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse, false)) { trace('Checks for _currentframe==4'); if (_root.cursor._currentframe != 4) { if (!_parent.invScroll.hitTest(_root._xmouse, _root._ymouse, false)) { _global.instantPassed = false; _root.cursor.gotoAndStop(4); _root.cursor.invIt.gotoAndStop(_currentframe); } } else { trace('Calls function'); _global.combineItems(_currentframe, _root.cursor.invIt._currentframe, true); } } } onClipEvent (load) { _global.refreshPanels(); } } instance inv2 of movieClip 111 { onClipEvent (enterFrame) { if (!this.hitTest(_root._xmouse, _root._ymouse, false)) { if (_parent.dynHelp == displayName) { _parent.dynHelp = ''; } } else { _parent.dynHelp = displayName; } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse, false)) { if (_root.cursor._currentframe != 4) { if (!_parent.invScroll.hitTest(_root._xmouse, _root._ymouse, false)) { _global.instantPassed = false; _root.cursor.gotoAndStop(4); _root.cursor.invIt.gotoAndStop(_currentframe); } } else { _global.combineItems(_currentframe, _root.cursor.invIt._currentframe, true); } } } } instance inv3 of movieClip 111 { onClipEvent (enterFrame) { if (!this.hitTest(_root._xmouse, _root._ymouse, false)) { if (_parent.dynHelp == displayName) { _parent.dynHelp = ''; } } else { _parent.dynHelp = displayName; } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse, false)) { if (_root.cursor._currentframe != 4) { if (!_parent.invScroll.hitTest(_root._xmouse, _root._ymouse, false)) { _global.instantPassed = false; _root.cursor.gotoAndStop(4); _root.cursor.invIt.gotoAndStop(_currentframe); } } else { _global.combineItems(_currentframe, _root.cursor.invIt._currentframe, true); } } } } } instance menuMain of movieClip 554 { onClipEvent (load) { gotoAndStop(2); } } movieClip 572 { frame 1 { if (_currentframe == 1) { _x = -2; setProperty('', _x, -2); _y = 196; setProperty('', _y, 196); stop(); } } } movieClip 575 { } frame 6 { _root.menuMain.gotoAndStop(2); } movieClip 583 { } movieClip 704 { } button 709 { on (rollOver) { _root.dynHelp = 'zbiry'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 708 { } movieClip 706 { } button 718 { on (release) { _global.cycleUp(); } } button 719 { on (release) { _global.cycleDown(); } } movieClip 577 { frame 918 { _global.changeScene('barMain', 1, false); } } instance mainClip of movieClip 577 { onClipEvent (keyDown) { if (Key.isDown(32)) { _global.changeScene('barIntro', 845, true); } } } frame 8 { _global.showSpeechBox(); _root.menuMain.gotoAndStop(1); } button 723 { on (rollOver) { _root.dynHelp = 'krawędź'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 722 { } button 728 { on (rollOver) { _root.dynHelp = 'kiep'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 727 { } button 731 { on (rollOver) { _root.dynHelp = 'butelka'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 730 { } button 734 { on (rollOver) { _root.dynHelp = 'butelka'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 733 { } button 737 { on (rollOver) { _root.dynHelp = 'kufel'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 736 { } button 740 { on (rollOver) { _root.dynHelp = 'obrzydliwa, nieznana ciecz'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 739 { } button 743 { on (rollOver) { _root.dynHelp = 'wykałaczka?'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 742 { } button 746 { on (rollOver) { _root.dynHelp = 'popielniczka'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 745 { } button 749 { on (rollOver) { _root.dynHelp = 'popiół'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 748 { } movieClip 721 { frame 1 { stop(); Mouse.hide(); if (!_global.instantiated) { _global.instantPassed = true; _global.leftOff = 0; _global.startingFrom = 0; _global.inventory = new Array(); _global.inventory = []; _global.showItem = new Array(); _global.showItem = []; _global.cycleDown = function () { if (_global.startingFrom + 3 < _global.inventory.length) { _global.startingFrom += 3; refreshPanels(); } }; _global.hasItem = function (anItem) { for (its in _global.inventory) { if (_global.inventory[its] == anItem) { return true; } } return false; }; _global.cycleUp = function () { if (_global.startingFrom < 3) { if (_global.startingFrom >= 0) { _global.startingFrom = 0; } } else { _global.startingFrom -= 3; } refreshPanels(); }; _global.removeInvItem = function (frm) { iterator = 0; for (;;) { if (!(_global.inventory[iterator] != frm && iterator < 100)) break; ++iterator; } if (iterator != 0) { if (iterator != _global.inventory.length - 1) { trace('before' + _global.inventory); _global.inventory = (_global.inventory.slice(0, iterator)).concat(_global.inventory.slice(iterator + 1, _global.inventory.length)); trace('after' + _global.inventory); } else { trace('before' + _global.inventory); _global.inventory = _global.inventory.slice(0, _global.inventory.length - 1); trace('after' + _global.inventory); } } else { trace('before' + _global.inventory); _global.inventory = _global.inventory.slice(1, _global.inventory.length); trace('after' + _global.inventory); } _global.startingFrom = 0; _global.refreshPanels(); }; _global.refreshPanels = function () { i = 1; while (i <= 3) { _root['inv' + i].gotoAndStop(1); ++i; } lowest = _global.inventory.length; if (_global.startingFrom + 3 < lowest) { lowest = _global.startingFrom + 3; } curPanel = 1; i = _global.startingFrom; while (i < lowest) { _root['inv' + curPanel].gotoAndStop(_global.inventory[i]); ++curPanel; if (curPanel == 4) { return undefined; } ++i; } }; _global.addInvItem = function (frm) { tempEntry = new Array(); tempEntry = [frm]; _global.showItem[frm] = false; _global.inventory = tempEntry.concat(_global.inventory); _global.startingFrom = 0; _global.refreshPanels(); }; _global.countInv = function () { a = 0; for (i in _global.inventory) { if (_global.inventory[i] > 1) { ++a; } } return a; }; _global.talk = function (dlay, msg) { _root.lockedHelp = msg; _root.cursor.dlay = 20 * dlay; _root.speechBox.gotoAndStop(2); }; _global.talk = function (dlay, msg, xp, yp) { _root.lockedHelp = msg; _root.cursor.dlay = 20 * dlay; _root.speechBox._x = xp; _root.speechBox._y = yp; _root.speechBox.gotoAndStop(2); }; _global.negativeResponses = new Array(); _global.negativeResponses = ['Are you retarded', 'Gimme a break.', 'Not in a million years.', 'Never.', 'No way, Jose.', 'lol', 'Not gonna happen.', 'Let\'s be smart about this..', 'That doesn\'t seem to work.', 'Hmmm... no.', 'No can do.', 'Napes.', 'Get real.', 'I can\'t do that.', 'That\'s not gonna work.', 'That won\'t work.', 'I refuse.', 'Good idea, not!', 'rofl', 'I don\'t wanna.', 'lmao', 'Like, as if!', 'I don\'t think so.', 'You\'re killin\' me, Smalls.', 'There has to be another way.', 'What the fuck?', 'I\'d rather not.', 'Are you serious?', 'You can\'t be serious.', 'I thought you were good at this.', 'That doesn\'t tickle my fancy.', 'You\'re insane.', 'That\'s not gonna fly.', 'How about trying a good idea.', 'I don\'t think that\'ll work.', 'Try a different approach.', 'Hmm... weelll….nah.', 'Not an avid gamer I see.', 'Are you new to adventure games or something?', 'Gimme a break.', 'Yeah, right.', 'Ummm.... no.', 'Umm, like, I don\'t think soooo.', 'Maybe you should ask your friend what to do.', 'That\'s out of the question.', 'That\'s rich.', 'That’s not gonna do anything.', 'That isn\'t necessary.', 'Good one.', 'You\'re such a kidder.', 'Please say you\'re joking.', 'You\'re joking, right? Tell me you\'re joking.', 'Wow.', 'Stop fucking around.', 'I don\'t have time for this.', 'Try something else.', 'Try something different.', 'It ain\'t gonna work I tells ya.']; _global.instantiated = true; } refreshPanels(); } instance bottle1 of movieClip 733 { onClipEvent (enterFrame) { if (_global.showItem[2] == false) { _visible = false; setProperty('', _visible, false); } } } instance speechBox of movieClip 572 { onClipEvent (load) { swapDepths(9998); } } instance ashes of movieClip 748 { onClipEvent (enterFrame) { if (_global.showItem[3] == false) { _visible = false; setProperty('', _visible, false); } } } } instance cursor of movieClip 107 { onClipEvent (mouseDown) { if (_currentframe != 1) { if (_currentframe != 2) { if (_currentframe != 3) { if (_currentframe != 4) { if (_currentframe == 5) { if (!_root.mainclip.bottle1.hitTest(_x, _y, true)) { if (!_root.mainclip.toothpick.hitTest(_x, _y, true)) { if (!_root.mainclip.liquid.hitTest(_x, _y, true)) { if (!_root.mainclip.cigbutt.hitTest(_x, _y, true)) { if (!_root.mainclip.ashtray.hitTest(_x, _y, true)) { if (!_root.mainclip.mug.hitTest(_x, _y, true)) { if (!_root.mainclip.bottle2.hitTest(_x, _y, true)) { if (!_root.mainclip.ashes.hitTest(_x, _y, true)) { if (!_root.mainclip.countertop.hitTest(_x, _y, true)) { if (_root.mainclip.thugs.hitTest(_x, _y, true)) { _global.talk(3, 'Wyglądają na podłych i bezkompromisowych.', 5, 75); } } else { _global.talk(2, 'Ta lada ma całkiem twardą krawędź.', 5, 75); } } else { _global.talk(2, 'Marty nigdy nie opróżnia tej spioły?', 5, 75); } } else { _global.talk(1, 'Pusta.', 5, 75); } } else { _global.talk(2, 'Będę potrzebował dolewki.', 5, 75); } } else { _global.talk(2, 'To jest popielniczka Joego Camela.', 5, 75); } } else { _global.talk(2, 'Chciałbym go wskrzesić..', 5, 75); } } else { _global.talk(2, 'Wygląda obrzydliwie.', 5, 75); } } else { _global.talk(3, 'Pewnie wykałaczka.. albo końcówka długopisu.', 5, 75); } } else { _global.talk(3, 'Kiedyś była pełna słodkiego, życiodajnego alkoholu.', 5, 75); } } } else { if (!(_root.cursor.invIt._currentframe == 2 && _root.mainclip.countertop.hitTest(_x, _y, true))) { if (!(_root.cursor.invIt._currentframe == 2 && _root.mainclip.thugs.hitTest(_x, _y, true))) { if (!(_root.cursor.invIt._currentframe == 4 && _root.mainclip.thugs.hitTest(_x, _y, true))) { if (!(_root.cursor.invIt._currentframe == 3 && _root.mainclip.thugs.hitTest(_x, _y, true))) { if (!(_root.cursor.invIt._currentframe == 3 && _root.mainclip.ashtray.hitTest(_x, _y, true))) { if (_root.cursor.invIt._currentframe != 5) { if (_root.cursor.invIt._currentframe != 10) { if (_root.cursor.invIt._currentframe != 12) { if (_root.cursor.invIt._currentframe != 21) { if (_root._ymouse < 225) { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)], 5, 75); } } else { _global.talk(3, 'Moja faza na podpalanie skończyła się w wieku 13 lat.', 5, 25); } } else { _global.talk(3, _global.knifeNegs[random(_global.knifeNegs.length)], 5, 25); } } else { _global.talk(3, _global.gumNegs[random(_global.gumNegs.length)], 5, 25); } } else { _global.talk(3, _global.keyNegs[random(_global.keyNegs.length)], 5, 25); } } else { _global.talk(3, 'Po co bym miał go wsypać z powrotem??', 5, 75); } } else { if (!_global.hasItem(4)) { _global.talkXY(3, 'Dobry pomysł, ale potrzebuję broni, \nżeby się wesprzeć.', 35, 67); } else { _global.changeScene('barFight', 1, true); } } } else { _global.talk(2, 'Jeszcze nie teraz..', 5, 67); } } else { if (_global.showItem[2] == false) { _global.changeScene('barGun', 84, true); } else { _global.changeScene('barGun', 1, true); } } } else { _global.removeInvItem(2); _global.addInvItem(4); _global.changeScene('barBreakBottle', 1, true); } } } else { if (!(_root.mainclip.bottle1.hitTest(_x, _y, true) && _global.showItem[2] != false)) { if (!(_root.mainclip.ashes.hitTest(_x, _y, true) && _global.showItem[3] != false)) { if (!_root.mainclip.liquid.hitTest(_x, _y, true)) { if (!_root.mainclip.toothpick.hitTest(_x, _y, true)) { if (!_root.mainclip.bottle2.hitTest(_x, _y, true)) { if (!_root.mainclip.ashtray.hitTest(_x, _y, true)) { if (!_root.mainclip.cigbutt.hitTest(_x, _y, true)) { if (!_root.mainclip.mug.hitTest(_x, _y, true)) { if (!_root.mainclip.countertop.hitTest(_x, _y, true)) { if (_root.mainclip.thugs.hitTest(_x, _y, true)) { _global.talk(2, 'Najpierw muszę mieć broń..', 5, 75); } } else { _global.talk(2, 'Nie da rady.', 5, 75); } } else { _global.talk(2, 'Nie ma w nim piwa..', 5, 75); } } else { _global.talk(2, 'Nie ciśnie mnie.', 5, 75); } } else { _global.talk(2, 'Mam jedną w domu.', 5, 75); } } else { _global.talk(2, 'Nie sięgam.', 5, 75); } } else { _global.talk(2, 'Moje zęby nie potrzebują czyszczenia.', 5, 75); } } else { _global.talk(2, 'Tak jakby!', 5, 75); } } else { _global.addInvItem(3); } } else { _global.addInvItem(2); } } } else { if (!_root.mainclip.bottle1.hitTest(_x, _y, true)) { if (!_root.mainclip.bottle2.hitTest(_x, _y, true)) { if (!_root.mainclip.ashes.hitTest(_x, _y, true)) { if (!_root.mainclip.ashtray.hitTest(_x, _y, true)) { if (!_root.mainclip.cigbutt.hitTest(_x, _y, true)) { if (!_root.mainclip.mug.hitTest(_x, _y, true)) { if (!_root.mainclip.liquid.hitTest(_x, _y, true)) { if (!_root.mainclip.toothpick.hitTest(_x, _y, true)) { if (!_root.mainclip.countertop.hitTest(_x, _y, true)) { if (!_root.mainclip.thugs.hitTest(_x, _y, true)) { _global.talk(3, _global.mouthNegs[random(_global.mouthNegs.length)], 5, 25); } else { _global.changeScene('barTalk', 1, false); } } else { _global.talk(1, 'Niemożliwe.', 5, 75); } } else { _global.talk(1, 'Nie.', 5, 75); } } else { _global.talk(2, 'Nie dotykaj tego.', 5, 75); } } else { _global.talk(2, 'Chętnie, ale jest pusty.', 5, 75); } } else { _global.talk(2, 'Aż tak mi się nie chce palić.', 5, 75); } } else { _global.talk(1, 'Karki.', 5, 75); } } else { _global.talk(2, 'Nie biorę tego gówna do ust.', 5, 75); } } else { _global.talk(2, 'Nic nie zostało po za pomyjami.', 5, 75); } } else { _global.talk(2, 'Nie jestem wielkim fanem pomyj..', 5, 75); } } } else {} if (_global.instantPassed && _currentframe != 6) { gotoAndStop(1); } } onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; } } frame 10 { menuMain.gotoAndStop(2); } button 753 { on (rollOver) { _root.dynHelp = 'thugs'; } on (rollOut) { _root.dynHelp = ''; } } button 756 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 757 { on (rollOver) { _parent.dynHelp = 'obrzydliwa, nieznana ciecz'; } on (rollOut) { _parent.dynHelp = ''; } } button 758 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 759 { } button 761 { on (release) { if (diag1._currentframe > minID) { writeDialogue(diag1._currentframe - 1); } } } button 762 { on (release) { if (diag3._currentframe < maxID) { writeDialogue(diag1._currentframe + 1); } } } button 764 { on (release) { _parent.gotoAndPlay(2); } } button 767 { on (release) { if (_global.showItem[2] == false) { _global.changeScene('barGun', 84, true); } else { _global.changeScene('barGun', 1, true); } } } button 770 { on (release) { if (_global.showItem[2] == false) { _global.changeScene('barGun', 84, true); } else { _global.changeScene('barGun', 1, true); } } } button 773 { on (release) { if (_global.showItem[2] == false) { _global.changeScene('barGun', 84, true); } else { _global.changeScene('barGun', 1, true); } } } button 776 { on (release) { if (_global.showItem[2] == false) { _global.changeScene('barGun', 84, true); } else { _global.changeScene('barGun', 1, true); } } } movieClip 763 { } movieClip 752 { frame 1 { function writeDialogue(from) { written = 0; curCheck = from; do { ++written; this['diag' + written].gotoAndStop(curCheck); if (written > 1) { this['diag' + written]._y = this['diag' + (written - 1)]._y + this['diag' + (written - 1)]._height + 5; } ++curCheck; } while (written < 3); } stop(); minID = 1; maxID = 5; writeDialogue(1); } instance of movieClip 759 { onClipEvent (load) { if (_global.showItem[2] == false) { _visible = false; setProperty('', _visible, false); } } } frame 54 { gotoAndStop(1); } } instance cursor of movieClip 107 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; } } frame 12 { _root.menuMain.gotoAndStop(2); } button 782 { on (rollOver) { _root.dynHelp = 'thugs'; } on (rollOut) { _root.dynHelp = ''; } } button 783 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 784 { on (rollOver) { _parent.dynHelp = 'disgusting, unknown liquid'; } on (rollOut) { _parent.dynHelp = ''; } } button 785 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 786 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 787 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 788 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 789 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 790 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 791 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 792 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 793 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 794 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 795 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 796 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 797 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 798 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 799 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 800 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 801 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 802 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 803 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 804 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 805 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 806 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 807 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 808 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 809 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 810 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 811 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 815 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 816 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 818 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 819 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 820 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 821 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 824 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 825 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 827 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 828 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 830 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 831 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 832 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 833 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 834 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 835 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 837 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 838 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 840 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 841 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 844 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 845 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 846 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 847 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 848 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 849 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 850 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 851 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 853 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 854 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 855 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 856 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 857 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 858 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 860 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 861 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 863 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 864 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 866 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 867 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 868 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 869 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 871 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 872 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 875 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 876 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 878 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 879 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 883 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 884 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 887 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 888 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 889 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 902 { on (rollOver) { _root.dynHelp = 'thugs'; } on (rollOut) { _root.dynHelp = ''; } } button 903 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 904 { on (rollOver) { _parent.dynHelp = 'disgusting, unknown liquid'; } on (rollOut) { _parent.dynHelp = ''; } } button 905 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 906 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 907 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 908 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 909 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 910 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 911 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 912 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 913 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 914 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 915 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 916 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 917 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 918 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 919 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 920 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 921 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 922 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 923 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 924 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 925 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 926 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 927 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 928 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 929 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 930 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 931 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 933 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 934 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 935 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 936 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 937 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 938 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 939 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 940 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 941 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 942 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 943 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 944 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 945 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 946 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 947 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 948 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 949 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 950 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 951 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 952 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 953 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 954 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 955 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 956 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 957 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 958 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 959 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 960 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 961 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 962 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 963 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 964 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 965 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 966 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 967 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 968 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 969 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 970 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 971 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 972 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 973 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 974 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 975 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 976 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 977 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 978 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 979 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 980 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 981 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 982 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 983 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 984 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 985 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 781 { frame 76 { _global.changeScene('barDumpster', 1, true); } frame 159 { _global.changeScene('barDumpster', 1, true); } } frame 14 { _root.menuMain.gotoAndStop(2); } movieClip 989 { } movieClip 1045 { } movieClip 988 { frame 146 { _global.changeScene('barMain', 1, false); } } frame 18 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); } button 1081 { on (release) { _global.changeScene('barMain', 1, false); } } button 1085 { on (release) { gotoAndStop(52); } } button 1089 { on (release) { _global.changeScene('barMain', 1, false); } } button 1090 { on (release) { gotoAndStop(52); } } button 1091 { on (release) { _global.changeScene('barMain', 1, false); } } button 1092 { on (release) { gotoAndStop(52); } } button 1093 { on (release) { _global.changeScene('barMain', 1, false); } } button 1094 { on (release) { gotoAndStop(52); } } button 1098 { on (release) { _global.changeScene('barMain', 1, false); } } button 1099 { on (release) { gotoAndStop(52); } } movieClip 1049 { frame 32 { _root.cursor.gotoAndStop(1); } frame 51 { stop(); } frame 52 { stop(); } } instance cursor of movieClip 107 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; } } frame 20 { _global.removeInvItem(3); _global.removeInvItem(4); _root.menuMain.gotoAndStop(2); } movieClip 1106 { frame 1 { stopAllSounds(); } frame 311 { _global.changeScene('barAfterFight', 1, true); } } instance mainClip of movieClip 1106 { onClipEvent (keyDown) { if (Key.isDown(32)) { _global.changeScene('barAfterFight', 1, true); } } } frame 22 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); } movieClip 1334 { } button 1362 { on (release) { gotoAndPlay(140); } } movieClip 1331 { frame 135 { stop(); _root.cursor.gotoAndStop(1); } frame 177 { _global.changeScene('barLeaving1', 1, true); } } instance cursor of movieClip 107 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; } } frame 24 { _global.addInvItem(22); _root.menuMain.gotoAndStop(2); } movieClip 1385 { } movieClip 1389 { } movieClip 1406 { } movieClip 1520 { } movieClip 1367 { frame 1741 { _global.changeScene('barLeaving2', 1, true); } } instance mainClip of movieClip 1367 { onClipEvent (keyDown) { if (Key.isDown(32)) { _global.changeScene('barLeaving2', 1, true); } } } frame 26 { _root.menuMain.gotoAndStop(2); } movieClip 1573 { } movieClip 1677 { } movieClip 1670 { } movieClip 1528 { frame 1370 { _global.changeScene('apartIntro', 1, true); } } instance mainClip of movieClip 1528 { onClipEvent (keyDown) { if (Key.isDown(32)) { _global.changeScene('apartIntro', 1, true); } } } frame 28 { _root.menuMain.gotoAndStop(2); } movieClip 1730 { frame 30 { _global.changeScene('apartIntro', 1, true); } } instance mainClip of movieClip 1730 { onClipEvent (keyDown) { if (Key.isDown(32)) { _global.changeScene('apartIntro', 1, true); } } } frame 30 { _root.menuMain.gotoAndStop(2); } movieClip 1732 { frame 963 { _global.changeScene('apartMain', 1, false); } } instance mainClip of movieClip 1732 { onClipEvent (keyDown) { if (Key.isDown(32)) { _global.changeScene('apartmain', 1, true); } } } frame 32 { _global.showSpeechBox(); } movieClip 1798 { } instance of movieClip 1798 { onClipEvent (load) { _global.music2.stop('music2'); _global.music1.start(0, 9999); } } movieClip 1803 { } button 1806 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'kaloryfer'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 1805 { } button 1809 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'okno'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 1808 { } button 1812 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'wycieraczka'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 1811 { } button 1815 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'nóż'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 1814 { } button 1818 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'drzwi'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 1817 { } movieClip 1820 { } button 1823 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'kanapa'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 1822 { } button 1826 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'stół'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 1825 { } button 1829 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'pod kanapą'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 1828 { } movieClip 1834 { } movieClip 1846 { } movieClip 1831 { } button 1859 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'element pierwszoplanowy'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 1858 { } button 1862 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'łańcuch'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 1861 { } movieClip 1801 { frame 1 { cursorFrame = 1; _root.cursor.gotoAndStop(1); refreshPanels(); stop(); } instance knife of movieClip 1814 { onClipEvent (load) { if (_global.showItem[12] == false) { _visible = false; setProperty('', _visible, false); } } } instance johnny of movieClip 1831 { onClipEvent (enterFrame) { _yscale = (_y / 6.199999809265137) * (1 + _y / 140); setProperty('', _yscale, (_y / 6.199999809265137) * (1 + _y / 140)); _xscale = _yscale * (Math.abs(_xscale) / _xscale); setProperty('', _xscale, _yscale * (Math.abs(_xscale) / _xscale)); if (!(Math.abs(-_x + destXNext) > 6 || Math.abs(-_y + destYNext) > 6)) { if (!(Math.abs(-_x + destX) > 6 || Math.abs(-_y + destY) > 6)) { if (_currentframe >= 4 || _parent.cursorFrame > 1) { _parent.walkPath = []; destWas = _parent.textDest; _parent.textDest = 'random'; if (_parent.cursorFrame != 3) { if (_parent.cursorFrame != 4) { if (_parent.cursorFrame != 5) { if (_parent.cursorFrame != 2) { if (_parent.cursorFrame != 1) { trace('cursorFrame ' + _parent.cursorFrame); trace('invItFrame ' + _parent.invItFrame); if (_root.stationed == false) { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)], 5, 75); } if (_currentframe > 3) { gotoAndStop(_currentframe - 3); } } else { gotoAndStop(_currentframe - 3); } } else { if (destWas != 'couch') { if (destWas != 'door') { if (destWas != 'doormat') { if (destWas != '' && destWas != 'random') { _global.talk(3, _global.mouthNegs[random(_global.mouthNegs.length)]); } } else { _global.talkXY(3, 'Naprawdę myślisz, że zjedzenie ten wycieraczki wygra gre?', 30, 30); } } else { _global.talk(2, 'i sprzedać się, że jestem..?'); } } else { _global.talk(2, 'Kocham Cię Pani Kanapo.'); } } } else { if (destWas != 'couch') { if (destWas != 'chain') { if (destWas != 'radiator') { if (destWas != 'knife') { if (destWas != 'doormat') { if (destWas != 'window') { if (destWas != 'undercouch') { if (destWas != 'shelf') { if (destWas != 'door') { if (destWas == 'table') { _global.talkXY(3, 'Już prawie czas by przeszabrować ten \nstół w poszukiwaniu resztek zioła', 5, 50); } } else { _global.talk(2, 'Fajne drzwi.'); } } else { _global.talk(2, 'Głębokawa.'); } } else { _global.talk(3, 'Założę się, że jest tam parę zgubionych rzeczy.'); } } else { _global.talk(3, 'Cóż za piękny widok na budowę...'); } } else { _global.talk(2, 'Kupiłem ją w sklepie \'WSZYSTKO ZA 5 ZŁ\'.'); } } else { _global.talk(2, 'Naprawdę muszę przestać pić.'); } } else { _global.talk(2, 'To jest mój zepsuty kaloryfer.'); } } else { _global.talk(2, 'Zapala i gasi światło.'); } } else { _global.talk(2, 'Ta kanapa i ja uciekniemy razem.'); } } } else { if (!(destWas == 'window' && _parent.invItFrame == 5)) { if (!(_parent.invItFrame == 10 && destWas == 'couch')) { if (!(_parent.invItFrame == 19 && destWas == 'couch')) { if (!(_parent.invItFrame == 5 && destWas == 'door')) { if (!(_parent.invItFrame == 12 && destWas == 'chain')) { if (!(_parent.invItFrame == 17 && destWas == 'radiator')) { if (!(_parent.invItFrame == 18 && destWas == 'radiator')) { if (!(_parent.invItFrame == 10 && destWas == 'table')) { if (!(_parent.invItFrame == 19 && destWas == 'table')) { if (!(_parent.invItFrame == 5 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 10 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 12 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 21 && destWas != '' && destWas != 'random')) { if (destWas != '' && destWas != 'random') { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)]); } } else { _global.talk(3, 'Moja faza na podpalanie \nskończyła się w wieku 13 lat.'); } } else { _global.talk(3, _global.knifeNegs[random(_global.knifeNegs.length)]); } } else { _global.talk(3, _global.gumNegs[random(_global.gumNegs.length)]); } } else { _global.talk(3, _global.keyNegs[random(_global.keyNegs.length)]); } } else { _global.talk(2, 'Nie potrzeba mu więcej plam po jedzeniu.'); } } else { _global.talk(2, 'Stół jest już wystarczająco \nobrzydliwy takim, jaki jest.'); } } else { _global.talk(2, 'Nie do naprawienia.'); } } else { _global.talk(2, 'Nie do naprawienia.'); } } else { _global.talk(2, 'Nóż nie przetnie metalu.'); } } else { _global.talk(2, 'Nie potrzebuję ich otwierać.'); } } else { _global.talk(2, 'Ma plamy po jedzeniu.'); } } else { _global.talk(2, 'Ta kanapa ma wystarczająco gówna na sobie.'); } } else { _root.cursor.gotoAndStop(6); _global.music1.stop('music1'); if (!_global.eventArray[1]) { _global.eventArray[1] = true; _global.changeScene('apartOutside', 1, true); } else { _global.changeScene('apartOutside', 172, true); } _root.menuMain.gotoAndStop(2); } } } else { if (destWas != 'doormat') { if (!(destWas == 'undercouch' && _global.showItem[5] != false)) { if (destWas != 'undercouch') { if (!(destWas == 'knife' && _global.showItem[12] != false)) { if (!(destWas == 'window' && _global.eventArray[1])) { if (destWas != 'window') { if (destWas != 'chain') { if (destWas != 'couch') { if (destWas != 'radiator') { if (destWas != 'shelf') { if (destWas != 'door') { if (destWas == 'table') { _global.talk(2, 'Errrggg, aaarrrggggg, nie mogę go ruszyć.'); } } else { _global.talk(2, 'Uzbrojone zbiry są po drugiej stronie.'); } } else { _global.talk(2, 'Nie mogę tego wziąć.'); } } else { _global.talk(2, 'Zepsuł się dawno temu.'); } } else { _global.talk(2, 'Równie dobrze mógłbym wywalić swoje plecy.'); } } else { _root.menuMain.gotoAndStop(2); _root.dynHelp = ''; _parent.saveX = _x; _parent.saveY = _y; chain._visible = false; _root.cursor.gotoAndStop(6); _parent.gotoAndPlay(319); } } else { _global.talk(3, 'Jest zamknięte, a klucz zgubiłem 3 tygodnie temu.'); } } else { _root.cursor.gotoAndStop(6); _global.music1.stop('music1'); _root.menuMain.gotoAndStop(2); _global.changeScene('apartOutside', 172, true); } } else { _global.addInvItem(12); _root.mainClip.knife._visible = false; } } else { _global.talk(2, 'Wziąłem wszystko co było pod spodem.'); } } else { _root.menuMain.gotoAndStop(2); _root.dynHelp = ''; _parent.saveX = _x; _parent.saveY = _y; _root.cursor.gotoAndStop(6); _parent.gotoAndPlay(468); } } else { if (_global.eventArray[42] != true) { _root.menuMain.gotoAndStop(2); _parent.saveX = _x; _parent.saveY = _y; _root.cursor.gotoAndStop(6); _global.eventArray[42] = true; _parent.gotoAndPlay(2); } else { _global.talk(3, 'Co, nie załapałeś lamerskiego, robaczego żartu?'); } } } _parent.cursorFrame = 1; } } else { trace('Aligned to ' + destXNext + ',' + destYNext); _x = destXNext; setProperty('', _x, destXNext); _y = destYNext; setProperty('', _y, destYNext); possPoints = _parent.navPoints; possPoints.push([destX, destY]); lowestYet = 99999; lowestYetID = 999; for (i in possPoints) { if (_parent.unobstructed(_x, _y, possPoints[i][0], possPoints[i][1]) && (_x != possPoints[i][0] || _y != possPoints[i][1])) { combinedDist = Math.abs(destX - possPoints[i][0]) + Math.abs(destY - possPoints[i][1]); if (combinedDist < lowestYet) { lowestYet = combinedDist; lowestYetID = i; } } } destXNext = possPoints[lowestYetID][0]; destYNext = possPoints[lowestYetID][1]; trace('New dest: ' + destXNext + ',' + destYNext + ' from ID' + lowestYetID); possPoints.pop(); _global.reduceRatio(destXNext - _x, destYNext - _y, 3); xPace = reducedX; yPace = reducedY; if (Math.abs(xPace) <= Math.abs(yPace)) { if (yPace <= 0) { gotoAndStop(6); _xscale = Math.abs(_xscale); setProperty('', _xscale, Math.abs(_xscale)); } else { gotoAndStop(5); _xscale = Math.abs(_xscale); setProperty('', _xscale, Math.abs(_xscale)); } } else { gotoAndStop(4); _xscale = Math.abs(_xscale) * (xPace / Math.abs(xPace)); setProperty('', _xscale, Math.abs(_xscale) * (xPace / Math.abs(xPace))); } _parent.walkPath.pop(); } } else { locomote(xPace, yPace); } } onClipEvent (load) { function locomote(incX, incY) { _x = _x + incX; setProperty('', _x, _x + incX); _y = _y + incY; setProperty('', _y, _y + incY); } _yscale = (_y / 6.199999809265137) * (1 + _y / 140); setProperty('', _yscale, (_y / 6.199999809265137) * (1 + _y / 140)); _xscale = _yscale; setProperty('', _xscale, _yscale); stop(); _root.menuMain.gotoAndStop(1); if (!_parent.firstLoad) { _x = _parent.saveX; setProperty('', _x, _parent.saveX); _y = _parent.saveY; setProperty('', _y, _parent.saveY); } else { _parent.firstLoad = false; if (_global.eventArray[43] == true) { _xscale = -Math.abs(_xscale); setProperty('', _xscale, -Math.abs(_xscale)); _x = 167; setProperty('', _x, 167); _y = 130; setProperty('', _y, 130); } } trace('saveX - ' + _parent.saveX); if (!(_root.revisitLoad == true && (_parent.saveX == null || _parent.saveX == undefined))) { _root.revisitLoad = true; } else { _xscale = -Math.abs(_xscale); setProperty('', _xscale, -Math.abs(_xscale)); _x = 167; setProperty('', _x, 167); _y = 130; setProperty('', _y, 130); } destXNext = _x; destYNext = _y; destX = _x; destY = _y; possPoints = new Array(); } } instance of movieClip 1825 { onClipEvent (enterFrame) { if (!(_parent.johnny._y > 175 || _parent._currentframe == 2)) { _visible = true; setProperty('', _visible, true); } else { _visible = false; setProperty('', _visible, false); } } } instance chain of movieClip 1861 { onClipEvent (load) { if (_global.showItem[6] == false) { _visible = false; setProperty('', _visible, false); } } } frame 2 { _root.cursor.gotoAndStop(6); _root.dynHelp = ''; } instance of movieClip 1814 { onClipEvent (load) { if (_global.showItem[12] == false) { _visible = false; setProperty('', _visible, false); } } } instance chain of movieClip 1861 { onClipEvent (load) { if (_global.showItem[6] == false) { _visible = false; setProperty('', _visible, false); } } } frame 318 { gotoAndStop(1); } frame 467 { _global.addInvItem(6); gotoAndStop(1); } instance of movieClip 1861 { onClipEvent (load) { if (_global.showItem[6] == false) { _visible = false; setProperty('', _visible, false); } } } frame 541 { addInvItem(5); addInvItem(13); } frame 542 { gotoAndStop(1); } } instance mainClip of movieClip 1801 { onClipEvent (load) { function unobstructed(x1, y1, x2, y2) { moveLim = 2; iterX = x1; iterY = y1; _global.reduceRatio(x2 - x1, y2 - y1, moveLim); for (;;) { if (!(Math.abs(x2 - iterX) > moveLim || Math.abs(y2 - iterY) > moveLim)) break; if (!walkRange.hitTest(iterX, iterY, true)) { return false; } iterX += _global.reducedX; iterY += _global.reducedY; } return true; } firstLoad = true; navPoints = new Array(); navPoints = [[106, 200], [161, 130], [224, 134], [241, 202]]; } } instance cursor of movieClip 107 { onClipEvent (mouseDown) { _root.mainClip.cursorFrame = _currentframe; _root.mainClip.invItFrame = invIt._currentframe; if (_currentframe <= 5) { _root.mainClip.textDest = ''; if (!_root.mainClip.doormat.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.undercouch.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.couch.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.knife.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.window.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.radiator.hitTest(_root._xmouse, _root._ymouse, true)) { if (!(_root.mainClip.chain.hitTest(_root._xmouse, _root._ymouse, true) && _root.mainClip.chain._visible)) { if (!_root.mainClip.shelf.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.table.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.door.hitTest(_root._xmouse, _root._ymouse, true)) { if (_root.mainClip.walkRange.hitTest(_root._xmouse, _root._ymouse, true)) { _root.mainClip.johnny.destX = _root._xmouse; _root.mainClip.johnny.destY = _root._ymouse; _root.mainClip.textDest = 'random'; } } else { _root.mainClip.johnny.destX = 297; _root.mainClip.johnny.destY = 151; _root.mainClip.textDest = 'door'; } } else { _root.mainClip.johnny.destX = 215; _root.mainClip.johnny.destY = 160; _root.mainClip.textDest = 'table'; } } else { _root.mainClip.johnny.destX = 274; _root.mainClip.johnny.destY = 216; _root.mainClip.textDest = 'shelf'; } } else { _root.mainClip.johnny.destX = 238; _root.mainClip.johnny.destY = 154; _root.mainClip.textDest = 'chain'; } } else { _root.mainClip.johnny.destX = 202; _root.mainClip.johnny.destY = 130; _root.mainClip.textDest = 'radiator'; } } else { _root.mainClip.johnny.destX = 167; _root.mainClip.johnny.destY = 130; _root.mainClip.textDest = 'window'; } } else { _root.mainClip.johnny.destX = 120; _root.mainClip.johnny.destY = 162; _root.mainClip.textDest = 'knife'; } } else { _root.mainClip.johnny.destX = 127; _root.mainClip.johnny.destY = 170; _root.mainClip.textDest = 'couch'; } } else { _root.mainClip.johnny.destX = 127; _root.mainClip.johnny.destY = 170; _root.mainClip.textDest = 'undercouch'; } } else { _root.mainClip.johnny.destX = 261; _root.mainClip.johnny.destY = 155; _root.mainClip.textDest = 'doormat'; } } if (_global.instantPassed && !_root.menuMain.invScroll.hitTest(_root._xmouse, _root._ymouse, true) && _currentframe != 6) { gotoAndStop(1); } } onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 34 { _root.speechBox.gotoAndStop(1); } instance of movieClip 1798 { onClipEvent (load) { if (_global.eventArray[47] != true) { _global.music3.stop('music3'); _global.music2.start(0, 9999); } else { _global.eventArray[47] = false; } } } movieClip 1911 { } button 1914 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'drabina'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 1913 { } button 1919 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'gniazdo'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 1918 { } movieClip 1921 { } button 1923 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'window'; } } on (rollOut) { _root.dynHelp = ''; } } button 1929 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'guma'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 1928 { frame 1 { if (_global.showItem[10] != false) { stop(); } else { gotoAndStop(2); } } } button 1936 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'gołąb'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 1932 { } movieClip 1931 { frame 1 { if (_global.eventArray[35] != true) { gotoAndStop(1); } else { gotoAndStop(2); } } } movieClip 1985 { frame 1 { if (_global.showItem[14] == false) { gotoAndStop(20); } } } button 1988 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'okno'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 1987 { } button 1989 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'window'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 2105 { } movieClip 2125 { } movieClip 1907 { frame 1 { if (_currentframe == 1) { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); } } frame 6 { if (_currentframe == 6) { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); } } frame 171 { _root.menuMain.gotoAndStop(1); _root.cursor.gotoAndStop(1); stop(); } frame 172 { _root.menuMain.gotoAndStop(2); } frame 210 { gotoAndStop(171); } frame 211 { _root.menuMain.gotoAndStop(2); _root.dynHelp = ''; } frame 264 { _global.music2.stop('music2'); _global.changeScene('apartmain', 1, false); } frame 265 { _root.menuMain.gotoAndStop(2); } frame 285 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); _root.dynHelp = ''; } frame 341 { gotoAndStop(171); } frame 354 { _root.menuMain.gotoAndStop(2); _root.dynHelp = ''; } frame 485 { gotoAndStop(171); } frame 513 { _root.menuMain.gotoAndStop(2); _root.dynHelp = ''; _root.johnnyX = 180; _root.johnnyY = 180; } frame 580 { _root.xSep = 0; _global.changeScene('cityStreetB', 2, true); } frame 581 { _root.menuMain.gotoAndStop(2); _root.dynHelp = ''; } frame 897 { gotoAndStop(171); } frame 912 { _root.menuMain.gotoAndStop(2); _root.dynHelp = ''; } frame 1027 { gotoAndStop(171); } } instance cursor of movieClip 107 { onClipEvent (mouseDown) { if (_root._ymouse <= 225) { if (_currentframe != 3) { if (_currentframe != 4) { if (_currentframe != 5) { if (_currentframe == 2) { if (!_root.mainClip.pigeon.hitTest(_x, _y, false)) { if (!_root.mainClip.nest.hitTest(_x, _y, false)) { if (!_root.mainClip.gum.hitTest(_x, _y, false)) { if (_root._ymouse < 225) { _global.talk(3, _global.mouthNegs[random(_global.mouthNegs.length)]); } } else { _global.talk(2, 'Nie mam żadnych starych zakurzonych wspomnień \nz krórymi mógłbym ją zjeść.'); } } else { _global.talk(2, 'Porzuciłem zjadanie gniazd w Wietnamie.'); } } else { _global.talk(2, 'Nie mówię po gołębiemu.'); } } } else { if (!_root.mainClip.pigeon.hitTest(_x, _y, false)) { if (!_root.mainClip.nest.hitTest(_x, _y, false)) { if (!_root.mainClip.gum.hitTest(_x, _y, false)) { if (!_root.mainClip.window.hitTest(_x, _y, false)) { if (_root.mainClip.windowLadder.hitTest(_x, _y, false)) { _global.talk(2, 'Prowadzi w dół na ulicę.'); } } else { _global.talk(2, 'Moje kochane mieszkanie'); } } else { _global.talk(1, 'Kleiste.'); } } else { if (_global.showItem[14] == false) { _global.talkXY(2, 'To było gniazdo tego demonicznego, skubiącego rękę ptaka..', 60, 2); } else { _global.talkXY(2, 'Wygląda jakby jakiś błyszczący obiekt był wplątany.', 100, 2); } } } else { _global.talk(2, 'To jest zarażony i brudny gołąb.'); } } } else { if (!(_root.mainClip.pigeon.hitTest(_x, _y, false) && invIt._currentframe == 7)) { if (!(_root.mainClip.pigeon.hitTest(_x, _y, false) && invIt._currentframe == 9)) { if (!(_root.mainClip.pigeon.hitTest(_x, _y, false) && invIt._currentframe == 12 && _root._ymouse < 225)) { if (!(_root.mainClip.pigeon.hitTest(_x, _y, false) && invIt._currentframe == 10 && _root._ymouse < 225)) { if (!(_root.mainClip.pigeon.hitTest(_x, _y, false) && invIt._currentframe == 19 && _root._ymouse < 225)) { if (!(_root.mainClip.pigeon.hitTest(_x, _y, false) && invIt._currentframe == 6 && _root._ymouse < 225)) { if (!(_root.mainClip.pigeon.hitTest(_x, _y, false) && invIt._currentframe == 8 && _root._ymouse < 225)) { if (!(invIt._currentframe == 5 && _root._ymouse < 225)) { if (!(invIt._currentframe == 10 && _root._ymouse < 225)) { if (!(invIt._currentframe == 12 && _root._ymouse < 225)) { if (!(invIt._currentframe == 21 && _root._ymouse < 225)) { if (_root._ymouse < 225) { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)]); } } else { _global.talk(3, 'Moja faza na podpalanie \nskończyła się w wieku 13 lat.'); } } else { _global.talk(3, _global.knifeNegs[random(_global.knifeNegs.length)]); } } else { _global.talk(3, _global.gumNegs[random(_global.gumNegs.length)]); } } else { _global.talk(3, _global.keyNegs[random(_global.keyNegs.length)]); } } else { _global.talk(2, 'Sam tego nie zje z własnej woli.'); } } else { _global.talkXY(2, 'Ochrona praw zwierząt na to nie pozwoli.', 120, 2); } } else { _global.talk(2, 'Nie dam mu całej połowy kanapki.'); } } else { _global.talk(2, 'Gołębie nie rzują gumy.'); } } else { _global.talk(1, 'Zbyt bałaganiarskie.'); } } else { _root.cursor.gotoAndStop(6); _global.removeInvItem(9); _global.eventArray[35] = true; _root.mainClip.gotoAndPlay(581); } } else { _root.cursor.gotoAndStop(6); _root.mainClip.gotoAndPlay(354); } } } else { if (!_root.mainClip.windowLadder.hitTest(_x, _y, false)) { if (!_root.mainClip.gum.hitTest(_x, _y, false)) { if (!_root.mainClip.window.hitTest(_x, _y, false)) { if (!_root.mainClip.pigeon.hitTest(_x, _y, true)) { if (_root.mainClip.nest.hitTest(_x, _y, true)) { if (_global.eventArray[35] == true) { if (_global.showItem[14] == false) { _global.talk(2, 'Nic tam nie ma.'); } else { _root.cursor.gotoAndStop(6); _global.addInvItem(14); _root.mainClip.gotoAndPlay(912); } } else { _root.cursor.gotoAndStop(6); _global.changeScene('pigeonPeck1', 1, true); } } } else { _global.changeScene('pigeonPeck1', 1, true); } } else { _root.cursor.gotoAndStop(6); _root.mainClip.gotoAndPlay(211); } } else { _root.mainClip.gum.gotoAndStop(2); _global.talk(3, 'Wciąż się klei.'); _global.addInvItem(10); } } else { _root.cursor.gotoAndStop(6); _root.mainClip.gotoAndPlay(513); } } if (_global.instantPassed && !_root.menuMain.invScroll.hitTest(_root._xmouse, _root._ymouse, true) && _currentframe != 6) { gotoAndStop(1); } } } onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 36 { menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); } movieClip 2149 { } movieClip 2192 { } movieClip 2130 { frame 145 { _global.changeScene('apartOutside', 285, true); } } frame 38 { menuMain.gotoAndStop(1); _root.johnny._x = _root.johnnyX; _root.johnny._y = _root.johnnyY; _root.johnny.destX = _root.johnnyX; _root.johnny.destY = _root.johnnyY; _global.showSpeechBox(); } movieClip 2212 { } button 2218 { on (rollOver) { _root.dynHelp = 'śpiwór'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 2217 { } button 2221 { on (rollOver) { _root.dynHelp = 'menel'; } on (rollOut) { _root.dynHelp = ''; } } button 2223 { on (rollOver) { _root.dynHelp = 'pijany menel'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 2220 { frame 1 { if (!(_global.eventArray[34] == true && !_global.hasItem(15))) { gotoAndStop(1); } else { gotoAndStop(2); } } } button 2228 { on (rollOver) { _root.dynHelp = 'podejrzanie wyglądająca postać'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 2226 { } button 2235 { on (rollOver) { _root.dynHelp = 'parkometr'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 2234 { } button 2239 { on (rollOver) { _root.dynHelp = 'drabina'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 2237 { } button 2243 { on (rollOver) { _root.dynHelp = 'autobus'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 2242 { } button 2246 { on (rollOver) { _root.dynHelp = 'znak'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 2245 { } button 2249 { on (rollOver) { _root.dynHelp = 'śmietnik'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 2248 { } button 2253 { on (rollOver) { _root.dynHelp = 'szpara (crack)'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 2252 { } movieClip 2255 { } button 2259 { on (rollOver) { _root.dynHelp = 'drzwi'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 2258 { } movieClip 2262 { } movieClip 2264 { } movieClip 2265 { } movieClip 2261 { } button 2267 { on (rollOver) { _root.dynHelp = 'znak menela'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 2266 { } button 2270 { on (rollOver) { _root.dynHelp = 'puszka'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 2269 { } button 2273 { on (rollOver) { _root.dynHelp = 'studzienka'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 2272 { } button 2276 { on (rollOver) { _root.dynHelp = 'studzienka'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 2278 { } button 2281 { on (rollOver) { _root.dynHelp = 'otwarta studzienka'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 2275 { frame 1 { if (_global.eventArray[4] != true) { stop(); } else { gotoAndStop(2); } } } movieClip 2201 { instance bus of movieClip 2242 { onClipEvent (load) { if (_global.eventArray[38] != true) { gotoAndStop(1); } else { gotoAndStop(2); } } } } instance bg of movieClip 2201 { onClipEvent (load) { birthX = _x; _x = _x + _root.xSep; setProperty('', _x, _x + _root.xSep); } onClipEvent (load) { function unobstructed(x1, y1, x2, y2) { moveLim = 2; iterX = x1; iterY = y1; _global.reduceRatio(x2 - x1, y2 - y1, moveLim); for (;;) { if (!(Math.abs(x2 - iterX) > moveLim || Math.abs(y2 - iterY) > moveLim)) break; if (!_parent.walkRange.hitTest(iterX, iterY, true)) { return false; } iterX += _global.reducedX; iterY += _global.reducedY; } return true; } firstLoad = true; navPoints = new Array(); navPoints = [[-308, 130], [-252, 126], [-186, 148], [-8, 192], [156, 212], [318, 216], [616, 164], [-141, 154], [-33, 173], [41, 190], [676, 151], [620, 178], [559, 155]]; } } instance johnny of movieClip 1831 { onClipEvent (enterFrame) { if (_yscale < 45 && _y < 20 && _x < 20) { _global.changeScene('ladderAnimations', 1, true); } _yscale = _y / 8 + 40; setProperty('', _yscale, _y / 8 + 40); _xscale = _yscale * (Math.abs(_xscale) / _xscale); setProperty('', _xscale, _yscale * (Math.abs(_xscale) / _xscale)); if (!(Math.abs(-_x + destXNext) > 6 || Math.abs(-_y + destYNext) > 6)) { if (!(Math.abs(-_x + destX) > 6 || Math.abs(-_y + destY) > 6)) { if (_currentframe >= 4 || _parent.cursorFrame > 1) { _parent.walkPath = []; destWas = _parent.textDest; _parent.textDest = 'random'; if (_parent.cursorFrame != 3) { if (_parent.cursorFrame != 4) { if (_parent.cursorFrame != 5) { if (_parent.cursorFrame == 2) { if (destWas != 'guy') { if (destWas != 'ladder') { if (destWas != 'bum') { if (destWas != 'sleepingBag') { if (destWas != '' && destWas != 'random') { _global.talk(3, _global.mouthNegs[random(_global.mouthNegs.length)]); } } else { _global.talk(3, 'Wolałbym polizać krowie łajno.'); } } else { if (!(_global.eventArray[34] == true && !_global.hasItem(15))) { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; _global.changeScene('bumTalk', 1, false); } else { _global.talk(2, 'Nie chcę go budzić.'); } } } else { _global.talk(2, 'Witaj, Pani Drabiono.'); } } else { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; if (_global.eventArray[38] != true) { if (_global.eventArray[36] != true) { _global.changeScene('guyTalk1', 1, true); } else { _global.changeScene('guyTalk2', 1, true); } } else { _global.talk(3, 'Sprawy z tym matołem są wyjaśnione.'); } } } } else { if (destWas != 'busStop') { if (destWas != 'can') { if (destWas != 'trashCan') { if (destWas != 'crackOutside') { if (destWas != 'ladder') { if (destWas != 'parkingMeter') { if (destWas != 'liquorDoor') { if (destWas != 'guy') { if (destWas != 'drain1') { if (destWas != 'drain2') { if (destWas != 'bum') { if (destWas != 'sleepingBag') { if (destWas != 'bumSign') { if (destWas == 'bus') { _global.talk(2, 'Stara dobra komunikacja miejska.'); } } else { _global.talk(2, '"Bende pracowu za alko."'); } } else { _global.talk(2, 'Założę się, że jest pełen wszy.'); } } else { if (!(!_global.hasItem(15) && _global.eventArray[34])) { _global.talkXY(3, 'Jest pokryty uryną i innymi \n bezdomnymi płynami', 30, 25); } else { _global.talk(2, 'Jest w pijackiej śpiączce.'); } } } else { _global.talk(3, 'Pokrywa wygląda na bardzo luźno zamocowaną.'); } } else { _global.talk(2, 'To jest studzenka kanalizacyjna.'); } } else { _global.talk(1, 'Wygląda podejrzanie.'); } } else { _global.talk(1, 'Fajne drzwi.'); } } else { _global.talk(3, 'Jakieś wytrychy by się nadały.'); } } else { _global.talk(3, 'Prowadzi do mojej zapyziałej nory.'); } } else { _global.talk(3, 'Niestety, nie do palenia. \n(crack = szczelina, krak do ćpania'); } } else { _global.talk(2, 'Pełny śmieci.'); } } else { if (!(!_global.hasItem(15) && _global.eventArray[34])) { _global.talk(3, 'Ludzie dają mu drobne.'); } else { _global.talk(2, 'Dojrzała do zdzierania.'); } } } else { _global.talk(3, 'Widnieje tu zdjęcie autobusa.'); } } } else { if (destWas != 'parkingMeter') { if (!(destWas == 'drain2' && _parent.invItFrame == 12)) { if (!(destWas == 'drain1' && _parent.invItFrame == 12)) { if (destWas != 'guy') { if (destWas != 'bum') { if (!(destWas == 'bus' && _parent.invItFrame == 24)) { if (!(destWas == 'bus' && _parent.invItFrame == 13)) { if (!(destWas == 'bus' && _parent.invItFrame == 23)) { if (destWas != 'bus') { if (!(destWas == 'can' && _parent.invItFrame == 13)) { if (!(destWas == 'can' && (_parent.invItFrame == 23 || _parent.invItFrame == 24))) { if (!(destWas == 'can' && _parent.invItFrame == 10)) { if (destWas != 'trashCan') { if (destWas != 'crackOutside') { if (!(destWas == 'bumSign' && (_parent.invItFrame == 10 || _parent.invItFrame == 12 || _parent.invItFrame == 21))) { if (!(_parent.invItFrame == 5 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 10 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 12 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 21 && destWas != '' && destWas != 'random')) { if (destWas != '' && destWas != 'random') { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)]); } } else { _global.talk(3, 'Moja faza na podpalanie \n skończyłą się w wieku 13 lat.'); } } else { _global.talk(3, _global.knifeNegs[random(_global.knifeNegs.length)]); } } else { _global.talk(3, _global.gumNegs[random(_global.gumNegs.length)]); } } else { _global.talk(3, _global.keyNegs[random(_global.keyNegs.length)]); } } else { _global.talk(2, 'Później zniszczę mu ten znak.'); } } else { _global.talk(2, 'Nie sądzę.'); } } else { _global.talk(3, 'Żartujesz sobie? Mogę potem tego potrzebować.'); } } else { _global.talk(1, 'Heheh.'); } } else { _global.talk(2, 'Dlaczego do chuja miałbym to zrobić?'); } } else { _global.talk(2, 'Jebać to, potrzebuję tych pieniędzy.'); } } else { _global.talk(3, 'Wciąż nie wiem gdzie znaleźć Zbirów sp. Z.O.O..'); } } else { _global.talk(2, 'Tyle kasy nie starczy.'); } } else { _global.talk(2, 'Tyle kasy nie starczy.'); } } else { if (_global.eventArray[38] == true) { _root.cursor.gotoAndStop(6); _global.changeScene('busDriveAway', 1, true); } } } else { if (_parent.invItFrame != 15) { if (!(_parent.invItFrame == 12 || _parent.invItFrame == 6)) { if (_parent.invItFrame != 21) { if (_parent.invItFrame != 13) { _global.talk(2, 'Wszystko czego chce, to gorzała.'); } else { _global.talk(2, 'Nie, potrzebuję tych pieniędzy.'); } } else { _global.talk(2, 'Dni podpalania meneli mam już za sobą.'); } } else { _global.talk(2, 'Nieee, zostawie to Aleksowi i jego ekipie.'); } } else { _global.removeInvItem(15); _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; _global.changeScene('cityStreetB', 606, true); } } } else { if (_parent.invItFrame != 21) { if (!(_parent.invItFrame == 13 || _parent.invItFrame == 23 || _parent.invItFrame24)) { if (!(_parent.invItFrame == 12 || _parent.invItFrame == 6)) { _global.talk(2, 'Nie sądzę, żeby tego chciał.'); } else { _global.talkXY(2, 'Myślę, że zachowam swoją przemoc \n na tego pierdolonego dilera.', 70, 60); } } else { _global.talk(2, 'Nie, potrzebuję tych pieniędzy.'); } } else { _global.talk(2, 'Lepiej najpierw z nim pogadam.'); } } } else { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; trace('xSep = ' + _root.xSep); _global.changeScene('cityStreetB', 402, true); } } else { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; trace('xSep = ' + _root.xSep); _global.changeScene('cityStreetB', 237, true); } } else { if (!(_parent.invItFrame == 14 && _global.showItem[24] != false)) { if (_parent.invItFrame != 5) { if (_parent.invItFrame != 12) { if (_parent.invItFrame != 18) { if (!(_parent.invItFrame == 13 || _parent.invItFrame == 23 || _parent.invItFrame24)) { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)]); } else { _global.talkXY(3, 'Dlaczego do Cholery miałbym \n marnować je na parkometrze?', 105, 40); } } else { _global.talk(2, 'To nie zadziała.'); } } else { _global.talk(2, 'Potrzebuję czegoś mniejszego, żeby połamać zamek.'); } } else { _global.talk(2, 'Klucz nie pasuje.'); } } else { _global.addInvItem(24); _global.talk(3, 'Spineczko, dziękówka moja ty. '); } } } } else { if (destWas != 'parkingMeter') { if (destWas != 'ladder') { if (!(destWas == 'trashCan' && _global.showItem[7] != false)) { if (destWas != 'quarter') { if (destWas != 'liquorDoor') { if (destWas != 'crackOutside') { if (destWas != 'can') { if (destWas != 'busStop') { if (!(destWas == 'drain2' && _global.eventArray[4] == true)) { if (destWas != 'drain2') { if (destWas != 'busStop') { if (destWas != 'bus') { if (destWas != 'bum') { if (destWas != 'sleepingBag') { if (destWas != 'guy') { if (destWas != 'drain1') { if (destWas == 'bumSign') { _global.talk(2, 'Za dużo błędów ortograficznych \n jak na moją uprzejmość.'); } } else { _global.talkXY(3, 'Nie ma mowy, żebym to podważył \n bez jakiegoś narzędzia.', 30, 25); } } else { _global.talk(2, 'Nie w moim typie.'); } } else { _global.talk(3, 'Nie ma mowy, jest pokryty menelimi płynami.'); } } else { _global.talk(2, 'Tylko w gumowych rękawiczkach.'); } } else { _global.talk(3, 'Będę musiał kupić bilet.'); } } else { _global.talk(3, 'Naprawdę muszę ci mówić, że nie mogę tego wziąć?'); } } else { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; trace('xSep = ' + _root.xSep); _global.changeScene('cityStreetB', 155, true); } } else { if (_global.eventArray[36] != true) { _global.talkXY(4, 'Nie będę się wałęsał w zanieczyszczonej,\n głębokiej i gównianej wodzie bez dobrego powodu.', 35, 40); } else { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; _global.changeScene('cityStreetB', 298, true); } } } else { _global.talk(2, 'Naprawdę muszę ci mówić, że nie mogę tego wziąć?'); } } else { if (!(_global.eventArray[34] == true && _global.hasItem(15) == false && _global.showItem[23] != false)) { if (!(_global.eventArray[34] == true && _global.hasItem(15) == false)) { _global.talk(3, 'Nie ma mowy; żul się patrzy i mógłby mnie dotknąć.'); } else { _global.talk(2, 'Nic już nie zostało'); } } else { _global.addInvItem(23); _global.talk(1, 'Czas na pieniążki.'); } } } else { if (!(_global.eventArray[17] == true && _global.eventArray[34] != true)) { _global.talk(2, 'WyKRAKwiście.'); } else { _global.eventArray[46] = true; _global.eventArray[34] = true; _global.addInvItem(15); _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; _global.changeScene('cityStreetB', 113, true); } } } else { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; _global.changeScene('cityStreetB', 39, true); } } else { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; _global.changeScene('cityStreetB', 59, true); } } else { _global.addInvItem(7); _global.talk(2, 'Czerstwy chleb, wspaniale.'); } } else { _global.changeScene('ladderAnimations', 1, true); } } else { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; if (_global.eventArray[5] != true) { _global.eventArray[5] = true; _global.changeScene('parkingMeter', 1, true); } else { _global.changeScene('parkingMeter', 384, true); } } } if (_currentframe > 3) { gotoAndStop(_currentframe - 3); } _parent.cursorFrame = 1; } } else { trace('Aligned to ' + destXNext + ',' + destYNext); _x = destXNext; setProperty('', _x, destXNext); _y = destYNext; setProperty('', _y, destYNext); for (fi in _parent.bg.navPoints) { possPoints[fi][0] = _parent.bg.navPoints[fi][0] + (_parent.bg._x - _parent.bg.birthX); possPoints[fi][1] = _parent.bg.navPoints[fi][1]; } possPoints.push([destX, destY]); trace('New posspoints = ' + possPoints); lowestYet = 99999; lowestYetID = 999; trace('destX being passed ' + destX + ' for ' + _root.textDest); if (_root.textDest != 'drain2') { if (_root.textDest == 'drain1') { destX = _root.bg._x + _root.bg.drain1._x - 23; destY = _root.bg._y + _root.bg.drain1._y - 11; trace('Anomylous path fixed'); } } else { destX = _root.bg._x + _root.bg.drain2._x + 25; destY = _root.bg._y + _root.bg.drain2._y - 20; trace('Anomylous path fixed'); } for (i in possPoints) { if (_parent.bg.unobstructed(_x, _y, possPoints[i][0], possPoints[i][1]) && (_x != possPoints[i][0] || _y != possPoints[i][1])) { combinedDist = Math.abs(destX - possPoints[i][0]) + Math.abs(destY - possPoints[i][1]); if (combinedDist < lowestYet) { lowestYet = combinedDist; lowestYetID = i; } } } if (!((_root.textDest == 'drain2' || _root.textDest == 'drain1') && _parent.bg.unobstructed(_x, _y, destX, destY))) { destXNext = possPoints[lowestYetID][0]; destYNext = possPoints[lowestYetID][1]; } else { destXNext = destX; destYNext = destY; } trace('New dest: ' + destXNext + ',' + destYNext + ' from ID' + lowestYetID); possPoints.pop(); _global.reduceRatio(destXNext - _x, destYNext - _y, 3); xPace = reducedX; yPace = reducedY; if (Math.abs(xPace) <= Math.abs(yPace)) { if (yPace <= 0) { gotoAndStop(6); _xscale = Math.abs(_xscale); setProperty('', _xscale, Math.abs(_xscale)); } else { gotoAndStop(5); _xscale = Math.abs(_xscale); setProperty('', _xscale, Math.abs(_xscale)); } } else { gotoAndStop(4); _xscale = Math.abs(_xscale) * (xPace / Math.abs(xPace)); setProperty('', _xscale, Math.abs(_xscale) * (xPace / Math.abs(xPace))); } _parent.walkPath.pop(); } } else { locomote(xPace, yPace); } if (_root.walkRange.alleyEntryClip.hitTest(_x, _y, true)) { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x + 15; _root.johnnyY = _root.johnny._y + 15; _global.changeScene('alley', 1, false); } } onClipEvent (load) { function locomote(incX, incY) { if (!((incX > 0 && (_x < 250 || _parent.bg._x <= -710) || incX < 0) && (_x > 150 || _parent.bg._x >= -33))) { destXNext -= incX; destX -= incX; _parent.bg._x -= incX; } else { _x = _x + incX; setProperty('', _x, _x + incX); } _y = _y + incY; setProperty('', _y, _y + incY); } _yscale = _y / 8 + 40; setProperty('', _yscale, _y / 8 + 40); _xscale = _yscale; setProperty('', _xscale, _yscale); _xscale = -Math.abs(_xscale); setProperty('', _xscale, -Math.abs(_xscale)); stop(); _root.menuMain.gotoAndStop(1); if (!_parent.firstLoad) { _x = _parent.saveX; setProperty('', _x, _parent.saveX); _y = _parent.saveY; setProperty('', _y, _parent.saveY); } else { _parent.firstLoad = false; } destXNext = _x; destYNext = _y; destX = _x; destY = _y; if (_global.eventArray[46] == true) { } possPoints = new Array(); possPoints = [[-308, 130], [-252, 126], [-186, 148], [-8, 192], [156, 212], [318, 216], [616, 164], [-141, 154], [-33, 173], [41, 190], [676, 151], [620, 178], [559, 155]]; } onClipEvent (unload) { } onClipEvent (initialize) { } } button 2285 { on (rollOver) { _root.dynHelp = 'boczna uliczka'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 2284 { } movieClip 2282 { } instance walkRange of movieClip 2282 { onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { _parent.johnny.destX = _root._xmouse; _parent.johnny.destY = _root._ymouse; } } onClipEvent (enterFrame) { _x = _parent.bg._x + 20; setProperty('', _x, _parent.bg._x + 20); } onClipEvent (load) { if (_global.eventArray[4] != true) { gotoAndStop(1); } else { gotoAndStop(2); } } } instance cursor of movieClip 107 { onClipEvent (mouseDown) { _root.cursorFrame = _currentframe; _root.invItFrame = invIt._currentframe; if (_currentframe <= 5) { if (!_root.bg.parkingMeter.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.drain2.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.bum.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.guy.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.can.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.trashCan.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.busStop.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.bus.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.crackOutside.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.drain1.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.liquorDoor.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.ladder.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.sleepBag.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.bumSign.hitTest(_root._xmouse, _root._ymouse, true)) { if (_root.walkRange.hitTest(_root._xmouse, _root._ymouse, true)) { _root.johnny.destX = _root._xmouse; _root.johnny.destY = _root._ymouse; _root.textDest = 'random'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.can._x; _root.johnny.destY = _root.bg._y + _root.bg.can._y + 20; _root.textDest = 'bumSign'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.sleepBag._x - 35; _root.johnny.destY = _root.bg._y + _root.bg.sleepBag._y + 25; _root.textDest = 'sleepingBag'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.ladder._x - 40; _root.johnny.destY = _root.bg._y + _root.bg.ladder._y + 160; _root.textDest = 'ladder'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.liquorDoor._x + 40; _root.johnny.destY = _root.bg._y + _root.bg.liquorDoor._y + 47; _root.textDest = 'liquorDoor'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.drain1._x - 23; _root.johnny.destY = _root.bg._y + _root.bg.drain1._y - 11; _root.textDest = 'drain1'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.trashCan._x + 105; _root.johnny.destY = _root.bg._y + _root.bg.trashCan._y + 35; _root.textDest = 'crackOutside'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.busStop._x + 30; _root.johnny.destY = _root.bg._y + _root.bg.busStop._y + 25; _root.textDest = 'bus'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.busStop._x + 30; _root.johnny.destY = _root.bg._y + _root.bg.busStop._y + 25; _root.textDest = 'busStop'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.trashCan._x; _root.johnny.destY = _root.bg._y + _root.bg.trashCan._y + 35; _root.textDest = 'trashCan'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.can._x; _root.johnny.destY = _root.bg._y + _root.bg.can._y + 20; _root.textDest = 'can'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.guy._x + 600; _root.johnny.destY = _root.bg._y + _root.bg.guy._y - 25; _root.textDest = 'guy'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.bum._x + 69; _root.johnny.destY = _root.bg._y + _root.bg.bum._y + 29; _root.textDest = 'bum'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.drain2._x + 25; _root.johnny.destY = _root.bg._y + _root.bg.drain2._y - 20; _root.textDest = 'drain2'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.parkingMeter._x; _root.johnny.destY = _root.bg._y + _root.bg.parkingMeter._y + 55; _root.textDest = 'parkingMeter'; } } if (_global.instantPassed && !_root.menuMain.invScroll.hitTest(_root._xmouse, _root._ymouse, true) && !_root.menuMain.inv1.hitTest(_root._xmouse, _root._ymouse, true) && !_root.menuMain.inv2.hitTest(_root._xmouse, _root._ymouse, true) && !_root.menuMain.inv3.hitTest(_root._xmouse, _root._ymouse, true) && _currentframe != 6) { gotoAndStop(1); } } onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 39 { menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); } button 2290 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 2291 { } movieClip 2289 { instance bus of movieClip 2242 { onClipEvent (load) { if (_global.eventArray[38] != true) { gotoAndStop(1); } else { gotoAndStop(2); } } } } movieClip 2335 { } button 2336 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2338 { on (rollOver) { _root.dynHelp = '25 groszówka'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 2337 { frame 1 { if (_global.showItem[13] != false) { stop(); } else { gotoAndStop(2); } } } button 2340 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2341 { on (rollOver) { _root.dynHelp = 'koleś'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 2288 { frame 23 { _global.changeScene('cityStreet', 1, false); } instance johnny of movieClip 1831 { onClipEvent (enterFrame) { _yscale = _y / 8 + 40; setProperty('', _yscale, _y / 8 + 40); _xscale = _yscale * (Math.abs(_xscale) / _xscale); setProperty('', _xscale, _yscale * (Math.abs(_xscale) / _xscale)); if (!(Math.abs(-_x + destX) > 6 || Math.abs(-_y + destY) > 6)) { if (_currentframe >= 4) { gotoAndStop(_currentframe - 3); } } else { if (offsetY != 0) { locomoteY(3); ++offSetY; } else { oldBGX = _parent.bg._x; oldX = _x; oldY = _y; wentX = false; wentY = false; locomoteX((Math.abs(-_x + destX) / (-_x + destX)) * 3); if (oldX != _x || oldBGX != _parent.bg._x) { wentX = true; } if (!(xFirst > 0 && wentX && offsetY == 0)) { locomoteY((Math.abs(-_y + destY) / (-_y + destY)) * 3); if (oldY != _y) { wentY = true; } xFirst = 0; } if (!wentX && !wentY) { xFirst = 30; offsetY = -5; } } } } onClipEvent (load) { function locomoteX(inc) { if (_parent.walkRange.hitTest(_x + inc, _y, true)) { --xFirst; if (Math.abs(-_x + destX) > 6) { if (!((inc > 0 && (_x < 250 || _parent.bg._x <= -710) || inc < 0) && (_x > 150 || _parent.bg._x >= -33))) { destX -= inc; _parent.bg._x -= inc; } else { _x = _x + inc; setProperty('', _x, _x + inc); } _xscale = Math.abs(_xscale) * (Math.abs(inc) / inc); setProperty('', _xscale, Math.abs(_xscale) * (Math.abs(inc) / inc)); gotoAndStop(4); } return true; } return false; } function locomoteY(inc) { if (_parent.walkRange.hitTest(_x, _y + inc, true)) { if (Math.abs(-_y + destY) > 6 || offsetY != 0) { _y = _y + inc; setProperty('', _y, _y + inc); _xscale = Math.abs(_xscale); setProperty('', _xscale, Math.abs(_xscale)); if (inc <= 0) { gotoAndStop(6); } else { gotoAndStop(5); } } return true; } return false; } _xscale = -Math.abs(_xscale); setProperty('', _xscale, -Math.abs(_xscale)); gotoAndStop(4); } onClipEvent (load) { oldBGX = _parent.bg._x; destX = _x; destY = _y; offsetY = 0; xFirst = 0; oldX = _x; oldY = _y; } } frame 52 { _global.music2.stop('music2'); _global.changeScene('storeMain', 1, false); } frame 95 { bg.quarter.gotoAndStop(2); _global.addInvItem(13); } frame 103 { _global.changeScene('cityStreet', 1, false); } frame 140 { _global.changeScene('cityStreet', 1, false); } frame 229 { _root.xSep = -351; _root.johnnyX = 287; _root.johnnyY = 136; _global.changeScene('cityStreet', 1, false); } frame 291 { _root.xSep = -351; _root.johnnyX = 287; _root.johnnyY = 136; _global.eventArray[4] = true; _global.changeScene('cityStreet', 1, false); } frame 335 { _root.johnnyX = 331.3999938964844; _root.johnnyY = 174.8999938964844; _global.eventArray[7] = true; _global.music2.stop('music2'); _global.changeScene('sewer', 1, false); } frame 346 { _global.water1.stop('water1'); _global.water2.stop('water2'); _root.xSep = -351; } frame 391 { _root.xSep = -351; _root.johnnyX = 287; _root.johnnyY = 136; _global.changeScene('cityStreet', 1, false); } frame 502 { _global.changeScene('cityStreet', 1, false); } frame 789 { _global.changeScene('cityStreet', 1, false); } } instance mainClip of movieClip 2288 { onClipEvent (load) { birthX = _x; _x = _x + _root.xSep; setProperty('', _x, _x + _root.xSep); } } frame 40 { _root.menuMain.gotoAndStop(2); } button 2369 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2370 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2371 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2372 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2373 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2374 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2375 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2376 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2377 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2379 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2380 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2382 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2384 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2386 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2387 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2389 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2390 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2391 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2392 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2393 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2394 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2395 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2396 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2397 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2398 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2399 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2400 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2401 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2402 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2403 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2404 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2405 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2406 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2407 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2408 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2409 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2410 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2411 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2413 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2415 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2417 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2418 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2420 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2422 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2423 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2425 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2427 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2428 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2430 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2431 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2433 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2435 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2436 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2438 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2440 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2441 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2442 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2443 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2444 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2445 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2447 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2448 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2449 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2450 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2451 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2452 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2453 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2454 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2455 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2456 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2457 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2458 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2459 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2460 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2461 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2462 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2463 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2464 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2465 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2466 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2467 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2468 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2469 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2470 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2471 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2472 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2473 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2474 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2475 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2476 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2477 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2478 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2479 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2480 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2481 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2482 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2483 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2484 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2485 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2486 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2487 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2488 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2489 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2490 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2491 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2492 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2493 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2494 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2495 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2496 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2497 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2498 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2499 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2500 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2501 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2502 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2503 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2504 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2505 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2506 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2507 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2508 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2509 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2510 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2511 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2512 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2513 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2514 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2515 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2516 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2517 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2518 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2519 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2520 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2521 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2522 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2523 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2524 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2525 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2526 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2527 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2528 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2529 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2530 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2531 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2532 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2533 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2534 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2535 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2536 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2537 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2538 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2539 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2540 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2541 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2542 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2544 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2546 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2548 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2550 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2551 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2553 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2555 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2557 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2559 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2561 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2562 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2565 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2566 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2568 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2570 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2572 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2573 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2575 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2576 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2578 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2580 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2582 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2584 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2586 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2587 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2588 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2590 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2591 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2593 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2595 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2597 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2599 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2600 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2602 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2604 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2605 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2607 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2608 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2610 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2611 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2613 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2615 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2618 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2619 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2621 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2622 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2624 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2626 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2628 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2629 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2632 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2635 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2637 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2639 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2641 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2643 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2644 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2647 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2648 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2649 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2651 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2652 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2655 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2656 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2659 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2660 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2662 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2663 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2665 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2667 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2668 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2669 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2670 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2671 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2672 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2673 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2674 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2746 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 2749 { } movieClip 2752 { frame 81 { stop(); } } movieClip 2760 { frame 99 { stop(); } } movieClip 2368 { frame 1 { animFrames = new Array(); animFrames = [1, 119, 245, 330, 434, 603]; gotoAndPlay(animFrames[random(animFrames.length)]); } frame 118 { _global.changeScene('apartOutside', 171, false); } frame 244 { _global.changeScene('apartOutside', 171, false); } frame 329 { _global.changeScene('apartOutside', 171, false); } frame 433 { _global.changeScene('apartOutside', 171, false); } frame 520 { _root.menuMain.gotoAndStop(2); saveLastX = _x; _x = 200; setProperty('', _x, 200); } frame 543 { _root.menuMain.gotoAndStop(2); _x = saveLastX; setProperty('', _x, saveLastX); } frame 602 { _global.changeScene('apartOutside', 171, false); } frame 746 { _global.changeScene('apartOutside', 171, false); } } frame 42 { menuMain.gotoAndStop(2); cursor.gotoAndStop(1); } button 2792 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 2793 { on (release) { gotoAndStop(random(9) + 2); } } button 2796 { on (release) { gotoAndStop(random(9) + 2); } } button 2799 { on (release) { _global.changeScene('cityStreet', 1, false); } } movieClip 2791 { } instance cursor of movieClip 107 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; } } frame 44 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); } button 2813 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 2812 { frame 184 { _global.changeScene('cityStreet', 1, false); } } frame 46 { menuMain.gotoAndStop(2); } movieClip 2827 { frame 368 { _global.changeScene('cityStreet', 1, false); } frame 765 { _global.changeScene('cityStreet', 1, false); } frame 1132 { _global.changeScene('cityStreet', 1, false); } } frame 48 { _root.menuMain.gotoAndStop(2); _global.music2.stop('music2'); _global.music4.start(0, 9999); } button 2947 { on (release) { gotoAndPlay(203); } } button 2950 { on (release) { gotoAndPlay(115); } } button 2953 { on (release) { gotoAndPlay(65); } } button 2956 { on (release) { gotoAndPlay(165); } } button 2963 { on (release) { gotoAndPlay(419); } } button 2966 { on (release) { gotoAndPlay(329); } } button 2969 { on (release) { gotoAndPlay(272); } } button 2972 { on (release) { gotoAndPlay(165); } } button 2975 { on (release) { gotoAndPlay(1455); } } button 2981 { on (release) { gotoAndPlay(485); } } button 2984 { on (release) { gotoAndPlay(485); } } button 2987 { on (release) { gotoAndPlay(485); } } button 2990 { on (release) { gotoAndPlay(165); } } button 2994 { on (release) { gotoAndPlay(596); } } button 2997 { on (release) { gotoAndPlay(646); } } button 3000 { on (release) { gotoAndPlay(695); } } button 3003 { on (release) { gotoAndPlay(596); } } button 3006 { on (release) { gotoAndPlay(165); } } button 3012 { on (release) { gotoAndPlay(777); } } button 3015 { on (release) { gotoAndPlay(777); } } button 3018 { on (release) { gotoAndPlay(777); } } button 3021 { on (release) { gotoAndPlay(777); } } button 3024 { on (release) { gotoAndPlay(165); } } button 3029 { on (release) { gotoAndPlay(919); } } button 3032 { on (release) { gotoAndPlay(919); } } button 3035 { on (release) { gotoAndPlay(919); } } button 3038 { on (release) { gotoAndPlay(919); } } button 3041 { on (release) { gotoAndPlay(165); } } button 3047 { on (release) { gotoAndPlay(165); } } button 3050 { on (release) { gotoAndPlay(1108); } } button 3053 { on (release) { gotoAndPlay(1108); } } button 3056 { on (release) { gotoAndPlay(165); } } button 3062 { on (release) { gotoAndPlay(165); } } button 3065 { on (release) { gotoAndPlay(1315); } } button 3068 { on (release) { _global.eventArray[36] = true; gotoAndPlay(1384); } } button 3071 { on (release) { gotoAndPlay(165); } } movieClip 2940 { frame 64 { stop(); } frame 114 { gotoAndStop(64); } frame 164 { gotoAndStop(64); } frame 202 { _global.music4.stop('music4'); _global.music2.start(0, 9999); _global.changeScene('cityStreet', 1, false); } frame 269 { stop(); } frame 325 { gotoAndStop(269); } frame 418 { gotoAndStop(484); } frame 483 { gotoAndStop(776); } frame 484 { stop(); } frame 595 { stop(); } frame 645 { gotoAndStop(595); } frame 694 { gotoAndStop(595); } frame 776 { stop(); } frame 918 { stop(); } frame 1107 { stop(); } frame 1314 { stop(); } frame 1383 { gotoAndStop(1314); } frame 1454 { _global.music4.stop('music4'); _global.music2.start(0, 9999); _global.changeScene('cityStreet', 1, false); } frame 1559 { gotoAndStop(269); } } instance cursor of movieClip 107 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; } } frame 50 { _root.menuMain.gotoAndStop(2); _global.music2.stop('music2'); _global.music4.start(0, 9999); } button 3082 { on (release) { gotoAndPlay(191); } } button 3085 { on (release) { gotoAndPlay(101); } } button 3088 { on (release) { gotoAndPlay(57); } } button 3091 { on (release) { gotoAndPlay(468); } } button 3097 { on (release) { if (_global.hasItem(21) != true) { gotoAndPlay(235); } else { _global.eventArray[37] = true; _global.removeInvItem(21); gotoAndPlay(512); } } } button 3100 { on (release) { gotoAndPlay(317); } } button 3103 { on (release) { gotoAndPlay(406); } } button 3111 { on (release) { gotoAndPlay(652); } } button 3114 { on (release) { gotoAndPlay(652); } } button 3117 { on (release) { gotoAndPlay(612); } } button 3120 { on (release) { gotoAndPlay(652); } } movieClip 3079 { frame 56 { stop(); } frame 100 { gotoAndStop(56); } frame 190 { gotoAndStop(56); } frame 234 { stop(); } frame 316 { _global.music4.stop('music4'); _global.music2.start(0, 9999); _global.changeScene('cityStreet', 1, false); } frame 354 { _global.music4.stop('music4'); _global.music2.start(0, 9999); _global.changeScene('cityStreet', 1, false); } frame 405 { gotoAndStop(56); } frame 467 { gotoAndStop(56); } frame 511 { _global.music4.stop('music4'); _global.music2.start(0, 9999); _global.changeScene('cityStreet', 1, false); } frame 611 { stop(); } frame 955 { _global.eventArray[38] = true; _global.music4.stop('music4'); _global.changeScene('cityStreet', 1, false); } } instance cursor of movieClip 107 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; } } frame 52 { _root.menuMain.gotoAndStop(2); } button 3130 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 3129 { frame 1 { stopAllSounds(); } frame 557 { _global.changeScene('offBus1'); } } instance mainClip of movieClip 3129 { onClipEvent (keyDown) { if (Key.isDown(32)) { _global.changeScene('offBus', 1, true); } } } frame 54 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(1); _global.showSpeechBox(); } instance of movieClip 1798 { onClipEvent (load) { _global.music3.start(0, 9999); } } button 3198 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'soda'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 3197 { frame 1 { if (_global.showItem[8] != false) { stop(); } else { gotoAndStop(2); } } } button 3201 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'szpara (crack)'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 3200 { } button 3204 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'lodówka'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 3203 { } button 3207 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'alkohole'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 3206 { } button 3210 { on (rollOver) { _root.dynHelp = 'kasjer'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 3209 { } movieClip 3212 { } button 3215 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'przekąski'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 3214 { } button 3218 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'automat do gry'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 3217 { } button 3221 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'pudełko'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 3220 { } button 3224 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'drzwi'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 3223 { } movieClip 3226 { } button 3229 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'beczka'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 3228 { } button 3232 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'wódka'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 3231 { frame 1 { if (_global.showItem[15] != false) { stop(); } else { gotoAndStop(2); } } } movieClip 3193 { frame 1 { stop(); } instance johnny of movieClip 1831 { onClipEvent (enterFrame) { _yscale = (_y / 6.199999809265137) * (1 + _y / 140) - 10; setProperty('', _yscale, (_y / 6.199999809265137) * (1 + _y / 140) - 10); _xscale = _yscale * (Math.abs(_xscale) / _xscale); setProperty('', _xscale, _yscale * (Math.abs(_xscale) / _xscale)); if (!(Math.abs(-_x + destXNext) > 6 || Math.abs(-_y + destYNext) > 6)) { if (!(Math.abs(-_x + destX) > 6 || Math.abs(-_y + destY) > 6)) { if (_currentframe >= 4 || _parent.cursorFrame > 1) { _parent.walkPath = []; destWas = _parent.textDest; _parent.textDest = 'random'; if (_parent.cursorFrame != 3) { if (_parent.cursorFrame != 4) { if (_parent.cursorFrame != 5) { if (_parent.cursorFrame != 2) { if (_parent.cursorFrame != 1) { if (_parent.cursorFrame < 6 && _parent.cursorFrame > 1 && _parent.cursorFrame != 3) { trace('invItFrame ' + _parent.invItFrame); if (_root.stationed == false) { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)], 5, 75); } if (_currentframe > 3) { gotoAndStop(_currentframe - 3); } } } else { gotoAndStop(_currentframe - 3); } } else { if (destWas != 'clerk') { if (destWas != 'seltzer') { if (destWas != 'forty') { if (destWas != 'arcade') { if (destWas != 'snacks') { if (destWas != 'cooler') { if (destWas != 'liquor') { if (destWas != '' && destWas != 'random') { _global.talk(3, _global.mouthNegs[random(_global.mouthNegs.length)]); } } else { _global.talk(2, 'Teraz nie ma na to czasu.'); } } else { _global.talk(2, 'Jedyne czego jestem spragniony, to zemsta.'); } } else { _global.talk(2, 'Musiałbym najpierw za nie zapłacić.'); } } else { _global.talk(3, 'Komunikacja będzie tylko \n karmić jego nieczyste moce.'); } } else { _global.talk(2, 'Jestem wciąż pijany po poprzedniej nocy.'); } } else { _global.talk(2, 'Mój żołądek ma się w porządku, narazie.'); } } else { _global.eventArray[39] = true; _global.changeScene('storeTalk'); } } } else { if (destWas != 'seltzer') { if (destWas != 'tray') { if (destWas != 'barrel') { if (destWas != 'forty') { if (destWas != 'arcade') { if (destWas != 'crackInside') { if (destWas != 'clerk') { if (destWas != 'cooler') { if (destWas != 'liquor') { if (destWas == 'snacks') { _global.talk(3, _global.snackDiag[random(_global.snackDiag.length)]); } } else { _global.talk(2, 'Potrzebuję tego.'); } } else { _global.talk(2, 'Jest pełna *dreszcze* bezalkoholowych drinków.'); } } else { _global.talk(2, 'Wygląda mizernie.'); } } else { _global.talk(2, 'Przebija się trochę światła.'); } } else { _global.talk(3, _global.arcadeDiag[random(_global.arcadeDiag.length)]); } } else { _global.talk(2, 'Wygląda odświerzająco.'); } } else { _global.talk(2, 'Fajna beczka.'); } } else { _global.talk(2, 'To jest pudełko przechowujące tableki.'); } } else { _global.talk(2, '"Tabletki musujące: Uwalnia żołądek od bólu i nudności."'); } } } else { if (!(destWas == 'crackInside' && _parent.invItFrame == 15)) { if (!(destWas == 'crackInside' && _parent.invItFrame == 8)) { if (!(destWas == 'barrel' && _parent.invItFrame == 15)) { if (!(destWas == 'tray' && _parent.invItFrame == 8)) { if (!(destWas == 'cooler' && _parent.invItFrame == 15)) { if (!(destWas == 'cooler' && _parent.invItFrame == 19)) { if (destWas != 'arcade') { if (!(destWas == 'clerk' && _parent.invItFrame == 23)) { if (destWas != 'clerk') { if (!(_parent.invItFrame == 5 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 10 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 12 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 21 && destWas != '' && destWas != 'random')) { if (destWas != '' && destWas != 'random') { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)]); } } else { _global.talk(3, 'Moja faza na podpalanie \nskończyła się w wieku 13 lat.'); } } else { _global.talk(3, _global.knifeNegs[random(_global.knifeNegs.length)]); } } else { _global.talk(3, _global.gumNegs[random(_global.gumNegs.length)]); } } else { _global.talk(3, _global.keyNegs[random(_global.keyNegs.length)]); } } else { _global.talk(2, 'Nie sądze, żeby to chciał.'); } } else { _global.talk(3, 'Powinienem z nim pomówić o tym, co chciałbym kupić.'); } } else { if (_parent.invItFrame != 16) { if (_parent.invItFrame != 12) { if (_parent.invItFrame != 5) { if (_parent.invItFrame != 13) { if (_parent.invItFrame == 23 || _parent.invItFrame == 24) { _global.talk(2, 'Może później.'); } } else { _global.talk(2, 'Teraz nie mam czasu.'); } } else { _global.talk(1, 'Nie pasuje.'); } } else { _global.talk(2, 'Heheh, po tym poczułbym się lepiej.'); } } else { _global.talk(2, 'Z radością bym jej nakopał.'); } } } else { _global.talk(3, 'Zamrożenie hamburgera nie sprawi, \nże nie będzie ochydny.'); } } else { _global.talk(2, 'Już jest zimna.'); } } else { _parent.seltzer.gotoAndStop(1); _global.removeInvItem(8); _global.showItem[8] = true; } } else { _parent.forty.gotoAndStop(1); _global.removeInvItem(15); _global.showItem[15] = true; } } else { _global.eventArray[44] = true; _root.cursor.gotoAndStop(6); _root.menuMain.gotoAndStop(2); _parent.saveX = _x; _parent.saveY = _y; _parent.gotoAndPlay(88); } } else { _global.eventArray[44] = true; _root.cursor.gotoAndStop(6); _global.eventArray[17] = true; _global.removeInvItem(15); _root.menuMain.gotoAndStop(2); _parent.saveX = _x; _parent.saveY = _y; _parent.gotoAndPlay(2); } } } else { if (!(destWas == 'doorOut' && _parent.cursorFrame == 3)) { if (!(destWas == 'forty' && _parent.cursorFrame == 3)) { if (!(destWas == 'seltzer' && _parent.cursorFrame == 3)) { if (destWas != 'crackInside') { if (destWas != 'clerk') { if (destWas != 'cooler') { if (destWas != 'arcade') { if (destWas != 'tray') { if (destWas != 'barrel') { if (destWas != 'snacks') { if (destWas == 'liquor') { _global.talk(2, 'Później się zbombię.'); } } else { _global.talk(2, 'To byłoby nie dobre na mój trądzik.'); } } else { _global.talk(2, 'Nie mogę tego podnieść.'); } } else { _global.talk(2, 'Nie potrzebuję pojemnika, potrzebuję sody.'); } } else { _global.talk(2, 'Nie będę jej dawał sadysfakcji.'); } } else { _global.talk(2, 'Nie chcę tego gówna.'); } } else { _global.talk(2, 'Nie w moim typie.'); } } else { _global.talk(2, 'WyKRAKwiście.'); } } else { _parent.seltzer.gotoAndStop(2); _global.addInvItem(8); _global.talk(2, 'Ja tylko je wezmę..'); } } else { _parent.forty.gotoAndStop(2); _global.addInvItem(15); _global.talk(2, ''); } } else { if (!((_global.showItem[15] == false && _global.eventArray[17] != true || _global.showItem[8] == false) && _global.eventArray[18] != true)) { _global.changeScene('cityStreet', 1, false); } else { _global.changeScene('storeTalkGun'); } } } _parent.cursorFrame = 1; } } else { _x = destXNext; setProperty('', _x, destXNext); _y = destYNext; setProperty('', _y, destYNext); possPoints = _parent.navPoints; possPoints.push([destX, destY]); lowestYet = 99999; lowestYetID = 999; for (i in possPoints) { if (_parent.unobstructed(_x, _y, possPoints[i][0], possPoints[i][1]) && (_x != possPoints[i][0] || _y != possPoints[i][1])) { combinedDist = Math.abs(destX - possPoints[i][0]) + Math.abs(destY - possPoints[i][1]); if (combinedDist < lowestYet) { lowestYet = combinedDist; lowestYetID = i; } } } destXNext = possPoints[lowestYetID][0]; destYNext = possPoints[lowestYetID][1]; possPoints.pop(); _global.reduceRatio(destXNext - _x, destYNext - _y, 3); xPace = reducedX; yPace = reducedY; if (Math.abs(xPace) <= Math.abs(yPace)) { if (yPace <= 0) { gotoAndStop(6); _xscale = Math.abs(_xscale); setProperty('', _xscale, Math.abs(_xscale)); } else { gotoAndStop(5); _xscale = Math.abs(_xscale); setProperty('', _xscale, Math.abs(_xscale)); } } else { gotoAndStop(4); _xscale = Math.abs(_xscale) * (xPace / Math.abs(xPace)); setProperty('', _xscale, Math.abs(_xscale) * (xPace / Math.abs(xPace))); } _parent.walkPath.pop(); } } else { locomote(xPace, yPace); } } onClipEvent (load) { function locomote(incX, incY) { _x = _x + incX; setProperty('', _x, _x + incX); _y = _y + incY; setProperty('', _y, _y + incY); } _yscale = (_y / 6.199999809265137) * (1 + _y / 140) - 10; setProperty('', _yscale, (_y / 6.199999809265137) * (1 + _y / 140) - 10); _xscale = _yscale; setProperty('', _xscale, _yscale); _xscale = -Math.abs(_xscale); setProperty('', _xscale, -Math.abs(_xscale)); stop(); _root.menuMain.gotoAndStop(1); if (_global.eventArray[44] != true) { if (_global.eventArray[39] != true) { if (!_parent.firstLoad) { _x = _parent.saveX; setProperty('', _x, _parent.saveX); _y = _parent.saveY; setProperty('', _y, _parent.saveY); } else { _parent.firstLoad = false; } } else { _x = 139; setProperty('', _x, 139); _y = 185; setProperty('', _y, 185); _global.eventArray[39] = false; } } else { _global.eventArray[44] = false; _x = 309; setProperty('', _x, 309); _y = 178; setProperty('', _y, 178); } destXNext = _x; destYNext = _y; destX = _x; destY = _y; possPoints = new Array(); _root.cursor.gotoAndStop(1); } } frame 2 { _root.dynHelp = ''; } frame 78 { gotoAndStop(1); } frame 88 { _root.dynHelp = ''; } frame 167 { gotoAndStop(1); } } instance mainClip of movieClip 3193 { onClipEvent (load) { function unobstructed(x1, y1, x2, y2) { moveLim = 2; iterX = x1; iterY = y1; _global.reduceRatio(x2 - x1, y2 - y1, moveLim); for (;;) { if (!(Math.abs(x2 - iterX) > moveLim || Math.abs(y2 - iterY) > moveLim)) break; if (!walkRange.hitTest(iterX, iterY, true)) { return false; } iterX += _global.reducedX; iterY += _global.reducedY; } return true; } firstLoad = true; navPoints = new Array(); navPoints = [[177, 158], [177, 177], [168, 205], [301, 203]]; } } instance cursor of movieClip 107 { onClipEvent (mouseDown) { _root.mainClip.cursorFrame = _currentframe; _root.mainClip.invItFrame = invIt._currentframe; if (_currentframe <= 5) { oldDestY = _root.mainClip.johnny.destY; if (!_root.mainClip.crackInside.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.arcade.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.cooler.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.forty.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.barrel.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.seltzer.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.doorOut.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.tray.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.snacks.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.clerk.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.liquor.hitTest(_root._xmouse, _root._ymouse, true)) { if (_root.mainClip.walkRange.hitTest(_root._xmouse, _root._ymouse, true)) { _root.mainClip.johnny.destX = _root._xmouse; _root.mainClip.johnny.destY = _root._ymouse; _root.mainClip.textDest = 'random'; } } else { _root.mainClip.johnny.destX = 145; _root.mainClip.johnny.destY = 190; _root.mainClip.textDest = 'liquor'; } } else { _root.mainClip.johnny.destX = 139; _root.mainClip.johnny.destY = 185; _root.mainClip.textDest = 'clerk'; } } else { _root.mainClip.johnny.destX = 124; _root.mainClip.johnny.destY = 215; _root.mainClip.textDest = 'snacks'; } } else { _root.mainClip.johnny.destX = 124; _root.mainClip.johnny.destY = 215; _root.mainClip.textDest = 'tray'; } } else { _root.mainClip.johnny.destX = 180; _root.mainClip.johnny.destY = 156; _root.mainClip.textDest = 'doorOut'; } } else { _root.mainClip.johnny.destX = 124; _root.mainClip.johnny.destY = 215; _root.mainClip.textDest = 'seltzer'; } } else { _root.mainClip.johnny.destX = 234; _root.mainClip.johnny.destY = 220; _root.mainClip.textDest = 'barrel'; } } else { _root.mainClip.johnny.destX = 234; _root.mainClip.johnny.destY = 220; _root.mainClip.textDest = 'forty'; } } else { _root.mainClip.johnny.destX = 337; _root.mainClip.johnny.destY = 215; _root.mainClip.textDest = 'cooler'; } } else { _root.mainClip.johnny.destX = 257; _root.mainClip.johnny.destY = 172; _root.mainClip.textDest = 'arcade'; } } else { _root.mainClip.johnny.destX = 317; _root.mainClip.johnny.destY = 178; _root.mainClip.textDest = 'crackInside'; } newDestY = _root.mainClip.johnny.destY; if (oldDestY == newDestY) { _root.stationed = true; } else { _root.stationed = false; } } if (_global.instantPassed && !_root.menuMain.invScroll.hitTest(_root._xmouse, _root._ymouse, true) && _currentframe != 6) { gotoAndStop(1); } } onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 56 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(1); } button 3244 { on (release) { if (diag1._currentframe <= minID) { writeDialogue(minID, false); } else { writeDialogue(diag1._currentframe - 1, true); } } } button 3245 { on (release) { if (diag3._currentframe < maxID) { writeDialogue(diag1._currentframe + 1, false); } } } button 3247 { on (release) { _global.eventArray[32] = true; _global.changeScene('storeTalkB', 1021, true); } } button 3251 { on (release) { _global.eventArray[19] = true; _global.changeScene('storeTalkForty', 2, true); } } button 3254 { on (release) { _global.eventArray[20] = true; _global.changeScene('storeTalkForty', 1180, true); } } button 3257 { on (release) { _global.eventArray[21] = true; _global.changeScene('storeTalkForty', 1460, true); } } button 3260 { on (release) { _global.changeScene('storeTalkForty', 1750, true); } } movieClip 3250 { } button 3263 { on (release) { _global.changeScene('storeTalkSeltzer', 1, true); } } button 3266 { on (release) { _global.eventArray[33] = true; _global.changeScene('storeTalkB', 1166, true); } } button 3270 { on (release) { _global.eventArray[22] = true; _global.changeScene('storeTalkGimme', 2, true); } } button 3273 { on (release) { _global.eventArray[23] = true; _global.changeScene('storeTalkGimme', 57, true); } } button 3276 { on (release) { _global.eventArray[24] = true; _global.changeScene('storeTalkGimme', 124, true); } } button 3279 { on (release) { _global.eventArray[25] = true; _global.changeScene('storeTalkGimme', 174, true); } } button 3282 { on (release) { _global.eventArray[26] = true; _global.changeScene('storeTalkGimme', 237, true); } } button 3285 { on (release) { _global.eventArray[27] = true; _global.changeScene('storeTalkGimme', 301, true); } } movieClip 3269 { } button 3288 { on (release) { if (_global.eventArray[16] != true) { _global.eventArray[16] = true; _global.changeScene('storeTalkB', 2, true); } else { _global.changeScene('storeTalkB', 238, true); } } } button 3292 { on (release) { _global.eventArray[28] = true; _global.changeScene('storeTalkB', 370, true); } } button 3295 { on (release) { _global.eventArray[29] = true; _global.changeScene('storeTalkB', 740, true); } } button 3298 { on (release) { _global.eventArray[30] = true; _global.changeScene('storeTalkB', 600, true); } } button 3301 { on (release) { _global.eventArray[31] = true; _global.changeScene('storeTalkB', 920, true); } } movieClip 3291 { } button 3304 { on (release) { _global.changeScene('storeTalkHarass', 1, true); } } button 3307 { on (release) { _global.changeScene('storeTalkB', 1332, true); } } movieClip 3246 { instance of movieClip 3250 { onClipEvent (load) { if (_global.eventArray[21] != true) { if (_global.eventArray[20] != true) { if (_global.eventArray[19] != true) { gotoAndStop(1); } else { gotoAndStop(2); } } else { gotoAndStop(3); } } else { gotoAndStop(4); } } } instance of movieClip 3269 { onClipEvent (load) { if (_global.eventArray[26] != true) { if (_global.eventArray[25] != true) { if (_global.eventArray[24] != true) { if (_global.eventArray[23] != true) { if (_global.eventArray[22] != true) { gotoAndStop(1); } else { gotoAndStop(2); } } else { gotoAndStop(3); } } else { gotoAndStop(4); } } else { gotoAndStop(5); } } else { gotoAndStop(6); } } } instance of movieClip 3291 { onClipEvent (load) { if (_global.eventArray[30] != true) { if (_global.eventArray[29] != true) { if (_global.eventArray[28] != true) { gotoAndStop(1); } else { gotoAndStop(2); } } else { gotoAndStop(3); } } else { gotoAndStop(4); } } } } movieClip 3237 { frame 1 { function isExcluded(toCheck) { for (i in exclusions) { if (toCheck == exclusions[i]) { return true; } } return false; } function removeExclusion(toRemove) { for (i in exclusions) { if (exclusions[i] == toRemove) { firstHalf = exclusions.slice(0, i); secondHalf = exclusions.slice(int(i) + 1, exclusions.length); exclusions = firstHalf.concat(secondHalf); } } } function writeDialogue(from, upward) { written = 0; curCheck = from; do { if (isExcluded(curCheck)) { if (curCheck == from && upward) { writeDialogue(from - 1, true); return undefined; } } else { ++written; this['diag' + written].gotoAndStop(curCheck); if (written > 1) { this['diag' + written]._y = this['diag' + (written - 1)]._y + this['diag' + (written - 1)]._height + 5; } } ++curCheck; } while (written < 3); } stop(); minID = 1; maxID = 9; exclusions = new Array(); exclusions = [0, 5]; if (_global.eventArray[32]) { exclusions.push(1); } if ((!_global.hasItem(8) || !_global.hasItem(23)) && _global.showItem[23] == false) { exclusions.push(3); } if (!_global.hasItem(15) || _global.eventArray[17]) { exclusions.push(2); } if (_global.eventArray[33]) { exclusions.push(4); } if (_global.eventArray[27]) { exclusions.push(5); } if (_global.eventArray[31]) { exclusions.push(7); } writeDialogue(1); } instance diag2 of movieClip 3246 { onClipEvent (enterFrame) { if (this.hitTest(_parent.diag1) || this.hitTest(_parent.diag2)) { _parent.writeDialogue(_parent.diag1._currentframe); trace('Rewritten'); } } } } instance cursor of movieClip 107 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 58 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(1); } movieClip 3311 { frame 233 { _global.changeScene('storeTalk', 1, false); } frame 361 { _global.changeScene('storeTalk', 1, false); } frame 521 { gotoAndPlay(530); } frame 591 { _global.changeScene('storeTalk', 1, false); } frame 736 { _global.changeScene('storeTalk', 1, false); } frame 899 { _global.changeScene('storeTalk', 1, false); } frame 1011 { _global.changeScene('storeTalk', 1, false); } frame 1156 { _global.changeScene('storeTalk', 1, false); } frame 1268 { _global.changeScene('storeTalk', 1, false); } frame 1333 { _global.changeScene('storeMain', 1, false); } } instance cursor of movieClip 107 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 60 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(1); } movieClip 3344 { frame 50 { _global.changeScene('storeTalk', 1, false); } frame 119 { _global.changeScene('storeTalk', 1, false); } frame 168 { _global.changeScene('storeTalk', 1, false); } frame 232 { _global.changeScene('storeTalk', 1, false); } frame 297 { _global.changeScene('storeTalk', 1, false); } frame 355 { _global.changeScene('storeTalk', 1, false); } } instance cursor of movieClip 107 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 62 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(1); } button 3356 { on (release) { if (diag1._currentframe <= minID) { writeDialogue(minID); } else { writeDialogue(diag1._currentframe - 1); } } } button 3357 { on (release) { if (diag3._currentframe < maxID) { writeDialogue(diag1._currentframe + 1); } } } button 3359 { on (release) { _parent.gotoAndPlay(78); } } button 3362 { on (release) { _parent.gotoAndPlay(174); } } button 3365 { on (release) { _parent.gotoAndPlay(608); } } button 3368 { on (release) { _parent.gotoAndPlay(807); } } button 3372 { on (release) { _parent.gotoAndPlay(730); } } movieClip 3358 { } button 3379 { on (release) { gotoAndPlay(257); } } button 3382 { on (release) { gotoAndPlay(325); } } button 3385 { on (release) { gotoAndPlay(405); } } button 3393 { on (release) { gotoAndPlay(493); } } button 3396 { on (release) { gotoAndPlay(493); } } button 3399 { on (release) { gotoAndPlay(493); } } button 3400 { on (release) { gotoAndPlay(543); } } button 3403 { on (release) { gotoAndPlay(543); } } button 3406 { on (release) { gotoAndPlay(543); } } button 3417 { on (release) { gotoAndPlay(1072); } } button 3420 { on (release) { gotoAndPlay(883); } } button 3423 { on (release) { gotoAndPlay(979); } } button 3432 { on (release) { gotoAndPlay(1138); } } button 3435 { on (release) { gotoAndPlay(1138); } } button 3438 { on (release) { gotoAndPlay(1828); } } movieClip 3353 { frame 77 { function writeDialogue(from) { written = 0; curCheck = from; do { ++written; this['diag' + written].gotoAndStop(curCheck); if (written > 1) { this['diag' + written]._y = this['diag' + (written - 1)]._y + this['diag' + (written - 1)]._height + 5; } ++curCheck; } while (written < 3); } stop(); minID = 1; maxID = 5; writeDialogue(1); } frame 162 { _global.changeScene('storeTalk', 1, false); } frame 256 { stop(); } frame 315 { gotoAndStop(542); } frame 400 { _global.changeScene('storeTalk', 1, false); } frame 492 { stop(); } frame 541 { _global.changeScene('storeTalk', 1, false); } frame 542 { stop(); } frame 606 { _global.changeScene('storeTalk', 1, false); } frame 718 { _global.changeScene('storeTalk', 1, false); } frame 796 { _global.changeScene('storeTalk', 1, false); } frame 882 { stop(); } frame 957 { _global.changeScene('storeTalk', 1, false); } frame 1069 { gotoAndStop(882); } frame 1137 { stop(); } frame 1178 { _global.changeScene('storeTalk', 1, false); } frame 1459 { _global.changeScene('storeTalk', 1, false); } frame 1748 { _global.changeScene('storeTalk', 1, false); } frame 1812 { _global.changeScene('storeTalk', 1, false); } frame 1892 { _global.changeScene('storeTalk', 1, false); } } instance cursor of movieClip 107 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 64 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(1); } movieClip 3471 { frame 200 { _global.changeScene('storeTalk', 1, false); } frame 288 { _global.changeScene('storeTalk', 1, false); } frame 387 { _global.changeScene('storeTalk', 1, false); } } instance mainClip of movieClip 3471 { onClipEvent (load) { if (!_global.hasItem(23)) { if (random(2) != 1) { gotoAndPlay(2); } else { gotoAndPlay(202); } } else { _global.removeInvItem(23); _global.eventArray[18] = true; gotoAndPlay(291); } } } instance cursor of movieClip 107 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 66 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(1); } movieClip 3479 { frame 2 { startFrames = new Array(); startFrames = [3, 189, 405, 712, 861, 1137, 1680, 2060]; gotoAndPlay(startFrames[random(8)]); } frame 183 { _global.changeScene('storeTalk', 1, false); } frame 403 { _global.changeScene('storeTalk', 1, false); } frame 709 { _global.changeScene('storeTalk', 1, false); } frame 858 { _global.changeScene('storeTalk', 1, false); } frame 1134 { _global.changeScene('storeTalk', 1, false); } frame 1677 { _global.changeScene('storeTalk', 1, false); } frame 2064 { _global.changeScene('storeTalk', 1, false); } frame 2561 { _global.changeScene('storeTalk', 1, false); } } instance cursor of movieClip 107 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 68 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); _global.music3.stop('music3'); } button 3557 { on (release) { gotoAndPlay(107); } } button 3560 { on (release) { gotoAndPlay(358); } } button 3563 { on (release) { _global.changeScene('storeMain', 1, false); } } button 3566 { on (release) { gotoAndPlay(409); } } button 3569 { on (release) { if (_global.hasItem(15) && !_global.eventArray[17]) { _global.removeInvItem(15); _global.showItem[15] = true; } if (_global.hasItem(8) && !_global.eventArray[18]) { _global.removeInvItem(8); _global.showItem[8] = true; } _global.changeScene('cityStreet', 1, false); } } button 3572 { on (release) { gotoAndPlay(458); } } button 3575 { on (release) { gotoAndPlay(107); } } button 3578 { on (release) { gotoAndPlay(798); } } button 3579 { on (release) { _global.changeScene('storeMain', 1, false); } } button 3580 { on (release) { gotoAndPlay(849); } } button 3581 { on (release) { if (_global.hasItem(15) && !_global.eventArray[17]) { _global.removeInvItem(15); _global.showItem[15] = true; } if (_global.hasItem(8) && !_global.eventArray[18]) { _global.removeInvItem(8); _global.showItem[8] = true; } _global.changeScene('cityStreet', 1, false); } } button 3582 { on (release) { gotoAndPlay(124); } } button 3585 { on (release) { gotoAndPlay(107); } } button 3588 { on (release) { _global.changeScene('storeMain', 1, false); } } button 3589 { on (release) { gotoAndPlay(560); } } button 3590 { on (release) { if (_global.hasItem(15) && !_global.eventArray[17]) { _global.removeInvItem(15); _global.showItem[15] = true; } if (_global.hasItem(8) && !_global.eventArray[18]) { _global.removeInvItem(8); _global.showItem[8] = true; } _global.changeScene('cityStreet', 1, false); } } button 3591 { on (release) { gotoAndPlay(509); } } button 3592 { on (release) { gotoAndPlay(107); } } button 3593 { on (release) { gotoAndPlay(107); } } button 3596 { on (release) { _global.changeScene('storeMain', 1, false); } } button 3597 { on (release) { if (_global.hasItem(15) && !_global.eventArray[17]) { _global.removeInvItem(15); _global.showItem[15] = true; } if (_global.hasItem(8) && !_global.eventArray[18]) { _global.removeInvItem(8); _global.showItem[8] = true; } _global.changeScene('cityStreet', 1, false); } } button 3598 { on (release) { gotoAndPlay(609); } } button 3599 { on (release) { gotoAndPlay(107); } } button 3600 { on (release) { _global.changeScene('storeMain', 1, false); } } button 3601 { on (release) { gotoAndPlay(660); } } button 3602 { on (release) { if (_global.hasItem(15) && !_global.eventArray[17]) { _global.removeInvItem(15); _global.showItem[15] = true; } if (_global.hasItem(8) && !_global.eventArray[18]) { _global.removeInvItem(8); _global.showItem[8] = true; } _global.changeScene('cityStreet', 1, false); } } button 3603 { on (release) { gotoAndPlay(124); } } button 3604 { on (release) { gotoAndPlay(107); } } button 3607 { on (release) { gotoAndPlay(107); } } button 3608 { on (release) { _global.changeScene('storeMain', 1, false); } } button 3609 { on (release) { if (_global.hasItem(15) && !_global.eventArray[17]) { _global.removeInvItem(15); _global.showItem[15] = true; } if (_global.hasItem(8) && !_global.eventArray[18]) { _global.removeInvItem(8); _global.showItem[8] = true; } _global.changeScene('cityStreet', 1, false); } } button 3610 { on (release) { gotoAndPlay(660); } } button 3611 { on (release) { gotoAndPlay(124); } } movieClip 3612 { frame 344 { stop(); } } movieClip 3613 { frame 30 { stop(); } } button 3660 { on (release) { gotoAndPlay(1); } } button 3664 { on (release) { gotoAndPlay(352); } } button 3675 { on (release) { gotoAndPlay(107); } } button 3676 { on (release) { gotoAndPlay(107); } } button 3677 { on (release) { _global.changeScene('storeMain', 1, false); } } button 3678 { on (release) { if (_global.hasItem(15) && !_global.eventArray[17]) { _global.removeInvItem(15); _global.showItem[15] = true; } if (_global.hasItem(8) && !_global.eventArray[18]) { _global.removeInvItem(8); _global.showItem[8] = true; } _global.changeScene('cityStreet', 1, false); } } button 3679 { on (release) { gotoAndPlay(124); } } button 3680 { on (release) { gotoAndPlay(107); } } button 3681 { on (release) { _global.changeScene('storeMain', 1, false); } } button 3682 { on (release) { gotoAndPlay(660); } } button 3683 { on (release) { if (_global.hasItem(15) && !_global.eventArray[17]) { _global.removeInvItem(15); _global.showItem[15] = true; } if (_global.hasItem(8) && !_global.eventArray[18]) { _global.removeInvItem(8); _global.showItem[8] = true; } _global.changeScene('cityStreet', 1, false); } } button 3684 { on (release) { gotoAndPlay(124); } } movieClip 3543 { frame 98 { stop(); _root.cursor.gotoAndStop(1); } frame 99 { stop(); _root.cursor.gotoAndStop(1); } frame 100 { stop(); _root.cursor.gotoAndStop(1); } frame 101 { stop(); _root.cursor.gotoAndStop(1); } frame 102 { stop(); _root.cursor.gotoAndStop(1); } frame 103 { stop(); _root.cursor.gotoAndStop(1); } frame 104 { stop(); _root.cursor.gotoAndStop(1); } frame 107 { _root.cursor.gotoAndStop(6); } frame 108 { _global.music3.stop('music3'); _root.cursor.gotoAndStop(6); } frame 124 { _root.cursor.gotoAndStop(6); } frame 351 { _root.cursor.gotoAndStop(1); stop(); } frame 352 { stop(); } frame 402 { gotoAndPlay(100); } frame 451 { gotoAndPlay(101); } frame 502 { gotoAndPlay(99); } frame 553 { gotoAndPlay(102); } frame 602 { gotoAndPlay(103); } frame 653 { gotoAndStop(104); } frame 701 { gotoAndPlay(107); } frame 791 { gotoAndStop(891); } frame 842 { gotoAndStop(893); } frame 891 { gotoAndStop(892); } frame 892 { stop(); } frame 893 { stop(); } } instance cursor of movieClip 107 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 70 { _global.showSpeechBox(); _global.eventArray[47] = true; } button 3691 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'kontener na śmieci'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 3690 { } button 3694 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'skrzynki'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 3693 { } movieClip 3697 { } instance walkRange of movieClip 3697 { onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { _parent.johnny.destX = _root._xmouse; _parent.johnny.destY = _root._ymouse; } } } instance johnny of movieClip 1831 { onClipEvent (enterFrame) { if (!(Math.abs(-_x + destX) > 6 || Math.abs(-_y + destY) > 6)) { if (_currentframe >= 4 || _parent.cursorFrame > 1) { destWas = _parent.textDest; _parent.textDest = 'random'; if (_parent.cursorFrame != 3) { if (_parent.cursorFrame != 4) { if (_parent.cursorFrame != 5) { if (_parent.cursorFrame == 2) { if (destWas != 'dumpster') { if (destWas != '' && destWas != 'random') { _global.talk(3, _global.mouthNegs[random(_global.mouthNegs.length)]); } } else { _global.talk(2, 'Dlaczego kazałbyś mi zrobić coś takiego?'); } } } else { if (destWas != 'dumpster') { if (destWas != 'trashbag') { if (destWas == 'crates') { _global.talk(2, 'Są pełne gazet.'); } } else { _global.talk(2, 'Pełna nowych, wspaniałych itemków, nie wątpię.'); } } else { _global.talk(2, 'Jest zakryty 8 różnymi warstwami śmieci.'); } } } else { if (!(destWas == 'trashbag' && _parent.invItFrame == 12)) { if (!(_parent.invItFrame == 5 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 10 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 12 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 21 && destWas != '' && destWas != 'random')) { if (destWas != 'dumpster') { if (destWas != '' && destWas != 'random') { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)]); } } else { _global.talk(2, 'Mogę później tego potrzebować.'); } } else { _global.talk(3, 'Moja faza na podpalanie \nskończyła się w wieku 13 lat.'); } } else { _global.talk(3, _global.knifeNegs[random(_global.knifeNegs.length)]); } } else { _global.talk(3, _global.gumNegs[random(_global.gumNegs.length)]); } } else { _global.talk(3, _global.keyNegs[random(_global.keyNegs.length)]); } } else { _parent.guytrash.gotoAndStop(61); _global.addInvItem(17); _global.addInvItem(18); _global.addInvItem(19); _global.addInvItem(20); _global.talk(3, 'Dla jednych śmieci, dla Johnnego skarb.'); } } } else { if (destWas != 'trashbag') { if (destWas != 'crates') { if (destWas != 'dumpster') { if (destWas == 'leave alley') { } } else { _global.talk(2, 'Nie ma nic przydatnego.'); } } else { _global.talk(2, 'Nic tam nie ma.'); } } else { _global.talkXY(3, 'Nie mogę jej rozedrzeć, to musi być jedna z tych super\nwytrzymałych toreb na śmieci przyszłości.', 15, 50); } } if (_currentframe > 3) { gotoAndStop(_currentframe - 3); } _parent.cursorFrame = 1; } } else { if (offsetY != 0) { locomoteY(3); ++offSetY; } else { oldX = _x; oldY = _y; wentX = false; wentY = false; locomoteX((Math.abs(-_x + destX) / (-_x + destX)) * 3); if (oldX != _x) { wentX = true; } if (!(xFirst > 0 && wentX && offsetY == 0)) { locomoteY((Math.abs(-_y + destY) / (-_y + destY)) * 3); if (oldY != _y) { wentY = true; } xFirst = 0; } if (!wentX && !wentY) { xFirst = 5; offsetY = -2; } } } } onClipEvent (load) { function locomoteX(inc) { if (_parent.walkRange.hitTest(_x + inc, _y, true)) { --xFirst; if (Math.abs(-_x + destX) > 6) { _x = _x + inc; setProperty('', _x, _x + inc); _xscale = Math.abs(_xscale) * (Math.abs(inc) / inc); setProperty('', _xscale, Math.abs(_xscale) * (Math.abs(inc) / inc)); gotoAndStop(4); } return true; } return false; } function locomoteY(inc) { if (_parent.walkRange.hitTest(_x, _y + inc, true)) { if (Math.abs(-_y + destY) > 6 || offsetY != 0) { _y = _y + inc; setProperty('', _y, _y + inc); _xscale = Math.abs(_xscale); setProperty('', _xscale, Math.abs(_xscale)); if (inc <= 0) { gotoAndStop(6); } else { gotoAndStop(5); } } return true; } return false; } _xscale = -Math.abs(_xscale); setProperty('', _xscale, -Math.abs(_xscale)); gotoAndStop(4); } onClipEvent (load) { destX = _x; destY = _y; offsetY = 0; xFirst = 0; oldX = _x; oldY = _y; } } button 3716 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'trashbag'; } } on (rollOut) { _root.dynHelp = ''; } } button 3718 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'trashbag'; } } on (rollOut) { _root.dynHelp = ''; } } button 3728 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'torba na śmieci'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 3727 { } movieClip 3700 { frame 60 { _root.cursor.gotoAndStop(1); _global.eventArray[8] = true; stop(); } } instance guytrash of movieClip 3700 { onClipEvent (load) { if (_global.showItem[17] != false) { if (!_global.eventArray[8]) { if (!_global.eventArray[7]) { gotoAndStop(62); } else { _root.cursor.gotoAndStop(6); play(); } } else { gotoAndStop(60); } } else { gotoAndStop(61); } } } button 3731 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'opuść boczną uliczkę'; } } on (rollOut) { _root.dynHelp = ''; } on (press) { _global.changeScene('cityStreet', 1, false); } } movieClip 3732 { } instance cursor of movieClip 107 { onClipEvent (mouseDown) { _root.cursorFrame = _currentframe; _root.invItFrame = invIt._currentframe; if (_currentframe <= 5 && _root._ymouse <= 225) { if (!_root.guytrash.trashbag.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.dumpster.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.crates.hitTest(_root._xmouse, _root._ymouse, true)) { if (_root.walkRange.hitTest(_root._xmouse, _root._ymouse, true)) { _root.johnny.destX = _root._xmouse; _root.johnny.destY = _root._ymouse; _root.textDest = 'random'; } } else { _root.johnny.destX = 82; _root.johnny.destY = 203; _root.textDest = 'crates'; } } else { _root.johnny.destX = 162; _root.johnny.destY = 205; _root.textDest = 'dumpster'; } } else { _root.johnny.destX = 182; _root.johnny.destY = 212; _root.textDest = 'trashbag'; } } if (_global.instantPassed && _root._ymouse <= 225 && !_root.menuMain.invScroll.hitTest(_root._xmouse, _root._ymouse, true) && _currentframe != 6) { gotoAndStop(1); } } onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 72 { menuMain.gotoAndStop(1); _root.johnny._x = _root.johnnyX; _root.johnny._y = _root.johnnyY; _root.johnny.destX = _root.johnnyX; _root.johnny.destY = _root.johnnyY; _global.showSpeechBox(); } instance of movieClip 1798 { onClipEvent (load) { trace('Starts both by spanning clip load'); _global.water1.start(0, 9999); _global.water2.start(0, 9999); } } button 3740 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'jaskinia'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 3739 { } button 3743 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'dziura'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 3742 { } movieClip 3745 { } movieClip 3749 { } button 3755 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'rura'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 3754 { frame 1 { if (_global.showItem[16] != false) { stop(); } else { gotoAndStop(2); } } } movieClip 3768 { } button 3778 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'krokodyl'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 3777 { } movieClip 3757 { frame 1 { stop(); } frame 30 { _root.johnny._visible = false; _root.xSep = -351; _root.johnnyX = 287; _root.johnnyY = 136; } frame 43 { stop(); } } movieClip 3779 { } button 3783 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'skarb'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 3782 { } button 3786 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'skrzynia'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 3785 { } movieClip 3789 { } movieClip 3788 { } movieClip 3794 { } movieClip 3797 { } movieClip 3801 { } button 3804 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'drabina'; } } on (rollOut) { _root.dynHelp = ''; } on (press) { if (_root.cursorFrame == 3) { _global.changeScene('cityStreetB', 346, true); } } } movieClip 3803 { } button 3806 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'zapalniczka'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 3805 { frame 1 { if (_global.showItem[21] != false) { stop(); } else { gotoAndStop(2); } } } movieClip 3738 { } instance johnny of movieClip 1831 { onClipEvent (enterFrame) { destY = _y; if (!(_global.eventArray[9] == true || !_parent.walkRange.gatorRange.hitTest(_x, _y, true))) { if (_parent.textDest == 'hole') { if (_parent.cursorFrame == 3) { if (_global.showItem[16] != false) { _global.talk(3, 'Nie jestem odpowiednio uzbrojony..'); gotoAndStop(1); } else { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; _global.changeScene('sewerB', 76, true); } } } else { gotoAndStop(1); _xscale = -Math.abs(_xscale); setProperty('', _xscale, -Math.abs(_xscale)); if (_root.bg.gator._currentframe == 1) { _root.bg.gator.play(); } } } else { if (!(_parent.bg._x < -211 && _parent.scrollRange.hitTest(_x, _y, true) && _xscale < 0)) { if (!_parent.scrollRange.hitTest(_x, _y, true) && _x > 250 && _parent.bg._x > -410) { _parent.fg._x -= 2.400000095367432; _parent.bg._x -= 3; _parent.walkRange._x -= 3; _parent.scrollRange._x -= 3; _x = _x - 3; setProperty('', _x, _x - 3); } } else { _parent.fg._x += 2.400000095367432; _parent.bg._x += 3; _parent.walkRange._x += 3; _parent.scrollRange._x += 3; _x = _x + 3; setProperty('', _x, _x + 3); } if (!(Math.abs(-_x + destX) > 6 || Math.abs(-_y + destY) > 6)) { if (_currentframe >= 4 || _parent.cursorFrame > 1) { destWas = _parent.textDest; _parent.textDest = 'random'; if (_parent.cursorFrame != 3) { if (_parent.cursorFrame != 4) { if (_parent.cursorFrame != 5) { if (_parent.cursorFrame == 2) { if (destWas != 'hole') { if (destWas != 'cave') { if (destWas != 'treasure') { if (destWas != '' && destWas != 'random') { _global.talk(3, _global.mouthNegs[random(_global.mouthNegs.length)]); } } else { _global.talk(2, 'To nie są czekoladowe monety.'); } } else { _global.talk(2, 'JEST TAM KTOS?!!'); } } else { _global.talk(2, 'HALO!!'); } } } else { if (destWas != 'pipe') { if (destWas != 'ladder') { if (destWas != 'treasure') { if (destWas != 'cave') { if (destWas != 'lighter') { if (destWas != 'chest') { if (destWas == 'hole') { _global.talk(3, 'Bóg jeden wie, jakie zło czycha w tej dziurze...'); } } else { _global.talk(2, 'Grawerowanie mówi \'Big Whoop\''); } } else { _global.talk(2, 'To musi być zapalniczka.'); } } else { _global.talk(2, 'Ta jaskinia wygląda na ciemną i mroczną.'); } } else { _global.talk(2, 'Staje mi na sam widok.'); } } else { _global.talk(2, 'Prowadzi na powierzchnię.'); } } else { _global.talk(2, 'Wygląda na luźną, jak moja była.'); } } } else { if (!(destWas == 'pipe' && _parent.invItFrame == 17)) { if (!(destWas == 'lighter' && _parent.invItFrame == 6)) { if (!(_parent.invItFrame == 5 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 10 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 12 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 21 && destWas != '' && destWas != 'random')) { if (destWas != '' && destWas != 'random') { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)]); } } else { _global.talk(3, 'Moja faza na podpalanie \nskończyła się w wieku 13 lat.'); } } else { _global.talk(3, _global.knifeNegs[random(_global.knifeNegs.length)]); } } else { _global.talk(3, _global.gumNegs[random(_global.gumNegs.length)]); } } else { _global.talk(3, _global.keyNegs[random(_global.keyNegs.length)]); } } else { _global.talk(2, 'Nie wiem jak zrobic lasso.'); } } else { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; _global.changeScene('sewerB', 8, true); } } } else { if (destWas != 'pipe') { if (destWas != 'hole') { if (destWas != 'cave') { if (destWas != 'ladder') { if (destWas != 'lighter') { if (destWas != 'chest') { if (destWas == 'treasure') { _global.talk(2, 'Jest po za zasięgiem.'); } } else { _global.talk(2, 'Po za zasięgiem.'); } } else { _global.talk(2, 'Nie sięgam..'); } } else { _root.xSep = -351; _root.johnnyX = 287; _root.johnnyY = 136; _global.changeScene('cityStreetB', 346, true); } } else { _global.talk(2, 'Nie pójdę tam, nawet jeśli mi zapłacisz.'); } } else { if (_global.showItem[16] != false) { _global.talk(3, 'Jeszcze nie jestem odpowiednio uzbrojony..'); gotoAndStop(1); } else { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; _global.changeScene('sewerB', 76, true); } } } else { _global.talk(2, 'Kołysze się, ale nie mogę jej uwolnić.'); } } if (_currentframe > 3) { gotoAndStop(_currentframe - 3); } _parent.cursorFrame = 1; } } else { if (offsetY != 0) { locomoteY(3); ++offSetY; } else { oldBGX = _parent.bg._x; oldX = _x; oldY = _y; wentX = false; wentY = false; locomoteX((Math.abs(-_x + destX) / (-_x + destX)) * 3); if (oldX != _x || oldBGX != _parent.bg._x) { wentX = true; } if (!(xFirst > 0 && wentX && offsetY == 0)) { locomoteY((Math.abs(-_y + destY) / (-_y + destY)) * 3); if (oldY != _y) { wentY = true; } xFirst = 0; } if (!wentX && !wentY) { xFirst = 30; offsetY = -5; } } } } } onClipEvent (load) { function locomoteX(inc) { if (!_parent.walkRange.hitTest(_x + inc, _y, true)) { destX = _x; destY = _y; return false; } --xFirst; if (Math.abs(-_x + destX) > 6) { if (!((inc > 0 && (_x < 250 || _parent.bg._x <= -540) || inc < 0) && (_x > 150 || _parent.bg._x >= -230))) { destX -= inc; _parent.fg._x -= inc * 0.800000011920929; _parent.bg._x -= inc; _parent.walkRange._x -= inc; _parent.scrollRange._x -= inc; } else { _x = _x + inc; setProperty('', _x, _x + inc); } _xscale = Math.abs(_xscale) * (Math.abs(inc) / inc); setProperty('', _xscale, Math.abs(_xscale) * (Math.abs(inc) / inc)); gotoAndStop(4); } return true; return false; } function locomoteY(inc) { return true; } _xscale = -Math.abs(_xscale); setProperty('', _xscale, -Math.abs(_xscale)); gotoAndStop(4); } onClipEvent (load) { if (_global.eventArray[45] == true) { _global.eventArray[45] = false; _parent.fg._x = 314.6499938964844; _parent.bg._x = -210.0500030517578; _parent.walkRange._x = 304; _parent.scrollRange._x = 288; this._x = 304.3999938964844; } oldBGX = _parent.bg._x; offsetY = 0; xFirst = 0; oldX = _x; oldY = _y; } onClipEvent (mouseDown) { if (_root._ymouse < 220) { _parent.johnny.destX = _root._xmouse; } } } movieClip 3808 { } movieClip 3810 { } movieClip 3827 { } movieClip 3833 { } movieClip 3831 { } movieClip 3835 { } movieClip 3838 { } movieClip 3839 { } movieClip 3856 { } movieClip 3857 { } movieClip 3826 { } movieClip 3858 { } movieClip 3809 { } instance cursor of movieClip 107 { onClipEvent (mouseDown) { _root.cursorFrame = _currentframe; _root.invItFrame = invIt._currentframe; if (_currentframe <= 5 && _root.bg.gator._currentframe == 1) { if (!(_root.bg.lighter.hitTest(_root._xmouse, _root._ymouse, true) && _currentframe == 4 && invIt._currentframe == 11)) { if (!_root.bg.ladder.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.pipe.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.hole.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.cave.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.chest.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.treasure.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.lighter.hitTest(_root._xmouse, _root._ymouse, true)) { if (_root.walkRange.hitTest(_root._xmouse, _root._ymouse, true)) { _root.johnny.destX = _root._xmouse; _root.textDest = 'random'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.cave._x - 105; _root.textDest = 'lighter'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.cave._x - 105; _root.textDest = 'treasure'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.cave._x - 105; _root.textDest = 'chest'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.cave._x + 10; _root.textDest = 'cave'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.hole._x + 35; _root.textDest = 'hole'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.pipe._x + 15; _root.textDest = 'pipe'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.ladder._x; _root.textDest = 'ladder'; } } else { _global.water1.stop('water1'); _global.water2.stop('water2'); _global.eventArray[45] = true; _global.removeInvItem(11); _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; _global.changeScene('gumchain', 1, true); } } if (_currentframe <= 5 && _root.bg.gator._currentframe > 1) { if (!_root.bg.ladder.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.gator.croc.hitTest(_root._xmouse, _root._ymouse, true)) { if (_currentframe > 1 && _root._ymouse < 255) { _global.talkXY(3, 'Jedyny ruch jaki zrobię, to prosto na drabinę.', 30, 65); } } else { if (_currentframe != 3) { if (_currentframe != 5) { if (_currentframe != 2) { if (_currentframe == 4) { if (!(invIt._currentframe == 19 || invIt._currentframe == 7 || invIt._currentframe == 9)) { if (invIt._currentframe != 8) { if (invIt._currentframe != 12) { if (invIt._currentframe != 16) { if (!(invIt._currentframe == 5 && _root._ymouse < 225)) { if (!(invIt._currentframe == 10 && _root._ymouse < 225)) { if (!(invIt._currentframe == 12 && _root._ymouse < 225)) { if (!(invIt._currentframe == 21 && _root._ymouse < 225)) { if (_root._ymouse < 225) { _global.talkXY(3, _global.negativeResponses[random(_global.negativeResponses.length)], 5, 65); } } else { _global.talkXY(3, 'Moja faza na podpalanie \nskończyła się w wieku 13 lat.', 160, 65); } } else { _global.talkXY(3, _global.knifeNegs[random(_global.knifeNegs.length)], 5, 65); } } else { _global.talkXY(3, _global.gumNegs[random(_global.gumNegs.length)], 5, 65); } } else { _global.talkXY(3, _global.keyNegs[random(_global.keyNegs.length)], 5, 65); } } else { _global.talkXY(2, 'Nie jestem w dobrej pozycji.', 160, 65); } } else { _global.talkXY(3, 'Równie dobrze mógłbym walczyć wykałaczką.', 20, 65); } } else { _global.talkXY(2, 'Nie sądzę, żeby bolał go brzuszek.', 120, 65); } } else { _global.talkXY(3, 'Jedyną rzeczą którą chce \nzjeść w tej chwili, jestem ja.', 5, 65); } } } else { _global.talkXY(2, 'Nie wygląda na to, żeby miał humor do rozmowy.', 95, 65); } } else { _global.talkXY(2, 'Wyglądają na dużo większe w realu.', 115, 65); } } else { _global.talkXY(1, 'Ta, jasne.', 270, 65); } } } else { if (_currentframe == 5) { _global.talkXY(2, 'Prowadzi na ulicę.', 220, 65); } } } if (_global.instantPassed && !_root.menuMain.invScroll.hitTest(_root._xmouse, _root._ymouse, true) && _currentframe != 6) { gotoAndStop(1); } } onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 73 { _root.menuMain.gotoAndStop(2); _global.showSpeechBox(); } movieClip 3863 { } movieClip 3867 { } movieClip 3868 { } movieClip 3873 { } movieClip 3876 { } movieClip 3871 { } button 3885 { on (rollOver) { _root.dynHelp = 'na zewnątrz dziury'; } on (rollOut) { _root.dynHelp = ''; } on (press) { if (_root.cursorFrame != 3) { if (_root.cursorFrame == 4 && _root.invItFrame == 19) { _root.cursor.gotoAndStop(6); _root.menuMain.gotoAndStop(2); gotoAndPlay(117); } } else { _root.cursor.gotoAndStop(6); _root.menuMain.gotoAndStop(2); gotoAndPlay(97); } } } button 3887 { on (rollOver) { _root.dynHelp = 'jaskinia'; } on (rollOut) { _root.dynHelp = ''; } on (press) { if (_root.cursorFrame == 4 && _root.invItFrame == 19) { _root.cursor.gotoAndStop(6); _root.menuMain.gotoAndStop(2); gotoAndPlay(117); } } } movieClip 3889 { } movieClip 3861 { frame 33 { pipe.gotoAndStop(2); _global.addInvItem(16); } frame 67 { _global.changeScene('sewer', 1, false); } frame 89 { _root.menuMain.gotoAndStop(1); _root.cursor.gotoAndStop(1); stop(); } frame 111 { _global.changeScene('sewer', 1, false); } frame 122 { _global.removeInvItem(19); } frame 147 { gotoAndPlay(155); } frame 154 { _root.cursor.gotoAndStop(1); _root.menuMain.gotoAndStop(1); stop(); } instance of movieClip 3889 { onClipEvent (enterFrame) { if (!this.hitTest(_root._xmouse, _root._ymouse, true)) { _root.dynhelp = ''; } else { _root.dynhelp = 'krokodyl'; } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { trace(_root.cursorFrame + ' VS ' + _root.cursor._currentframe); if (!(_root.cursorFrame == 3 || _root.cursor._currentframe == 3)) { if (!(_root.cursorFrame == 2 || _root.cursor._currentframe == 2)) { if (!(_root.cursorFrame == 5 || _root.cursor._currentframe == 5)) { if (!(_root.cursorFrame == 4 && _root.invItFrame == 16)) { if (!(_root.cursorFrame == 4 && _root.invItFrame == 8)) { if (!(_root.cursorFrame == 4 && _root.invItFrame == 12)) { if (!(_root.cursorFrame == 4 && (_root.invItFrame == 7 || _root.invItFrame == 9))) { if (_root.cursorFrame == 4) { _global.talkXY(3, _global.negativeResponses[random(_global.negativeResponses.length)], 5, 55); } } else { _global.talkXY(2, 'Jest zajęty jedzeniem kanapki.', 25, 25); } } else { _global.talkXY(2, 'Równie dobrze mogę go dźgać wykałaczką.', 15, 25); } } else { _global.talkXY(2, 'Nie sądzę, żeby go bolał brzuszek.', 20, 25); } } else { _global.water1.stop('water1'); _global.water2.stop('water2'); _global.changeScene('crocHit', 1, true); } } else { _global.talkXY(2, 'Przynęta zadziałała, co teraz?', 20, 25); } } else { _global.talkXY(2, 'Nie chcę, żeby wiedział, że tu jestem.', 25, 25); } } else { _global.talkXY(2, 'Chcesz, żebym pogłaskał go za uszami?', 5, 25); } } } } frame 155 { _root.menuMain.gotoAndStop(2); _root.dynHelp = ''; } frame 256 { _root.menuMain.gotoAndStop(1); } frame 257 { _root.cursor.gotoAndStop(1); gotoAndStop(154); } } instance cursor of movieClip 107 { onClipEvent (mouseDown) { _root.cursorFrame = _currentframe; _root.invItFrame = invIt._currentframe; if (_currentframe <= 5) { } if (_global.instantPassed && !_root.menuMain.invScroll.hitTest(_root._xmouse, _root._ymouse, true)) { gotoAndStop(1); } } onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); gotoAndStop(6); } } frame 74 { _root.cursor.gotoAndStop(6); _root.menuMain.gotoAndStop(2); } movieClip 3999 { } movieClip 3896 { frame 1 { stopAllSounds(); } frame 385 { _global.water1.start(0, 9999); _global.changeScene('insidePipe', 1, true); } } instance mainClip of movieClip 3896 { onClipEvent (keyDown) { if (Key.isDown(32)) { _global.changeScene('insidePipe', 1, true); } } } frame 76 { menuMain.gotoAndStop(2); _global.showSpeechBox(); } movieClip 4007 { } movieClip 4013 { } button 4016 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'koło'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 4015 { } movieClip 4018 { } movieClip 4022 { } movieClip 4026 { } movieClip 4031 { } movieClip 4029 { } movieClip 4033 { } movieClip 4032 { } movieClip 4034 { } movieClip 4028 { } movieClip 4035 { } button 4040 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'panel'; } } on (rollOut) { _root.dynHelp = ''; } } button 4043 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'otwarty panel'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 4042 { } movieClip 4039 { frame 1 { if (!_global.eventArray[12]) { stop(); } else { gotoAndStop(2); } } } movieClip 4055 { frame 7 { stop(); } } movieClip 4056 { frame 6 { stop(); } } movieClip 4047 { } button 4059 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'krokodyl'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 4069 { frame 91 { stop(); } } movieClip 4070 { } movieClip 4076 { frame 46 { stop(); } } movieClip 4080 { frame 133 { stop(); } } movieClip 4085 { frame 79 { stop(); } } movieClip 4086 { frame 159 { stop(); } } movieClip 4087 { frame 47 { stop(); } } movieClip 4088 { frame 79 { stop(); } } movieClip 4046 { } movieClip 4089 { } movieClip 4094 { } movieClip 4096 { } movieClip 4003 { frame 3 { _root.menuMain.gotoAndStop(1); _root.cursor.gotoAndStop(1); stop(); } frame 4 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); _root.dynHelp = ''; } frame 120 { if (!_global.eventArray[12]) { gotoAndStop(3); } else { gotoAndStop(620); } } frame 121 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); _root.dynHelp = ''; } frame 201 { if (!_global.eventArray[12]) { gotoAndStop(3); } else { gotoAndStop(620); } } frame 202 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); _root.dynHelp = ''; } frame 275 { if (!_global.eventArray[12]) { gotoAndStop(3); } else { gotoAndStop(620); } } frame 276 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); _root.dynHelp = ''; } frame 380 { gotoAndStop(3); } frame 381 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); _root.dynHelp = ''; } frame 511 { gotoAndStop(3); } frame 512 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); _root.dynHelp = ''; } frame 620 { _root.menuMain.gotoAndStop(1); _root.cursor.gotoAndStop(1); stop(); } } instance cursor of movieClip 107 { onClipEvent (mouseDown) { if (_currentframe != 3) { if (_currentframe != 4) { if (_currentframe != 5) { if (_currentframe != 2) { if (_currentframe == 1) { if ((_root.mainClip.openPanel.hitTest(_x, _y, false) || _root.mainClip.panel.hitTest(_x, _y, false)) && _global.eventArray[12] == true) { _global.changeScene('controlPanel', 1, true); } } } else { if (!_root.mainClip.croc.hitTest(_x, _y, false)) { if (_root._ymouse < 225) { _global.talk(3, _global.mouthNegs[random(_global.mouthNegs.length)]); } } else { _global.talk(2, 'Nie wygląda na skory do rozmowy.'); } } } else { if (!((_root.mainClip.openPanel.hitTest(_x, _y, false) || _root.mainClip.panel.hitTest(_x, _y, false)) && _global.eventArray[12] == true)) { if (!(_root.mainClip.panel.hitTest(_x, _y, false) && _global.eventArray[12] != true)) { if (!_root.mainClip.wheel.hitTest(_x, _y, false)) { if (_root.mainClip.croc.hitTest(_x, _y, false)) { _global.talk(2, 'Odgłosy, które wydaje, przerażają mnie.'); } } else { _global.talk(1, 'Fajne koło.'); } } else { _global.talk(2, 'Wygląda jak skrzynka elektryczna.'); } } else { _global.changeScene('controlPanel', 1, true); } } } else { if (!(_root.mainClip.wheel.hitTest(_x, _y, false) && invIt._currentframe == 17 && _global.eventArray[10] != true)) { if (!(_root.mainClip.panel.hitTest(_x, _y, false) && invIt._currentframe == 18)) { if (!(_root.mainClip.panel.hitTest(_x, _y, false) && invIt._currentframe == 13 && _global.eventArray[11] != true)) { if (!(_root.mainClip.panel.hitTest(_x, _y, false) && invIt._currentframe == 12 && _global.eventArray[11] == true && _global.eventArray[12] != true)) { if (!(_root.mainClip.panel.hitTest(_x, _y, false) && invIt._currentframe == 12 && _global.eventArray[11] != true)) { if (!(_root.mainClip.croc.hitTest(_x, _y, false) && (invIt._currentframe == 7 || invIt._currentframe == 9))) { if (!(_root.mainClip.croc.hitTest(_x, _y, false) && invIt._currentframe == 12)) { if (!(invIt._currentframe == 5 && _root._ymouse < 225)) { if (!(invIt._currentframe == 10 && _root._ymouse < 225)) { if (!(invIt._currentframe == 12 && _root._ymouse < 225)) { if (!(invIt._currentframe == 21 && _root._ymouse < 225)) { if (_root._ymouse < 225) { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)]); } } else { _global.talk(3, 'Moja faza na podpalanie \nskończyła się w wieku 13 lat.'); } } else { _global.talk(3, _global.knifeNegs[random(_global.knifeNegs.length)]); } } else { _global.talk(3, _global.gumNegs[random(_global.gumNegs.length)]); } } else { _global.talk(3, _global.keyNegs[random(_global.keyNegs.length)]); } } else { _global.talk(2, 'Równie dobrze mogę walczyć wykałaczką.'); } } else { _global.talk(2, 'Jedyne czego chce, to mnie.'); } } else { _global.talk(2, 'Jest zamknięty i przykręcony.'); } } else { _global.removeInvItem(12); _global.eventArray[12] = true; _root.mainClip.gotoAndPlay(512); } } else { _global.eventArray[11] = true; _root.mainClip.gotoAndPlay(381); } } else { _global.removeInvItem(18); _root.mainClip.gotoAndPlay(276); } } else { _global.eventArray[10] = true; _root.mainClip.gotoAndPlay(121); } } } else { if (!_root.mainClip.wheel.hitTest(_x, _y, false)) { if (!_root.mainClip.openPanel.hitTest(_x, _y, false)) { if (!(_root.mainClip.panel.hitTest(_x, _y, false) && _global.eventArray[12] != true)) { if (_root.mainClip.croc.hitTest(_x, _y, false)) { _global.talk(2, 'Samobójstwo nie jest moim celem.'); } } else { _global.talk(2, 'Jest zamknięty i przykręcony.'); } } else { _global.talk(2, 'Już jest otwarty.'); } } else { if (_global.eventArray[15] != true) { if (_global.eventArray[10] != true) { _root.mainClip.gotoAndPlay(4); } else { _global.eventArray[15] = true; _root.mainClip.gotoAndPlay(202); } } else { _global.talk(3, 'Dalej nie pójdzie.'); } } } if (_global.instantPassed && !_root.menuMain.invScroll.hitTest(_root._xmouse, _root._ymouse, true) && _currentframe != 6) { gotoAndStop(1); } } onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 78 { menuMain.gotoAndStop(2); _global.showSpeechBox(); } button 4128 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'diagram'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 4127 { } button 4131 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'lewy przycisk'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 4130 { } button 4134 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'brakujący przycisk'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 4133 { } button 4137 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'kable'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 4136 { } button 4139 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'z powrotem do rury'; } } on (rollOut) { _root.dynHelp = ''; } on (press) { _global.changeScene('insidePipe', 1, true); } } button 4145 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'przycisk ze scrabbli'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 4144 { } button 4146 { on (rollOver) { _root.dynHelp = 'z powrotem do rury'; } on (rollOut) { _root.dynHelp = ''; } on (press) { _global.changeScene('insidePipe', 1, true); } } button 4153 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'z powrotem do panelu'; } } on (rollOut) { _root.dynHelp = ''; } on (press) { gotoAndPlay(1); } } movieClip 4123 { frame 1 { if (!(_global.hasItem(20) == false && _global.showItem[20] == false)) { if (_global.eventArray[13] != true) { _global.eventArray[13] = true; } else { gotoAndStop(53); } } else { gotoAndStop(90); } } frame 53 { _root.menuMain.gotoAndStop(1); _root.cursor.gotoAndStop(1); _root.dynHelp = ''; stop(); } frame 54 { _root.cursor.gotoAndStop(6); _root.menuMain.gotoAndStop(2); } frame 90 { _root.menuMain.gotoAndStop(1); _root.cursor.gotoAndStop(1); _root.dynHelp = ''; stop(); } frame 91 { _root.cursor.gotoAndStop(6); _root.menuMain.gotoAndStop(2); } frame 157 { gotoAndStop(90); } frame 158 { _root.cursor.gotoAndStop(6); _root.menuMain.gotoAndStop(2); } frame 174 { _global.water1.stop('water1'); _global.changeScene('crocBlowout', 1, true); } frame 175 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); } frame 176 { if (_global.eventArray[14] != true) { _global.eventArray[14] = true; } else { gotoAndStop(232); } } frame 177 { _root.menuMain.gotoAndStop(2); } frame 232 { _root.cursor.gotoAndStop(1); stop(); } } instance cursor of movieClip 107 { onClipEvent (mouseDown) { if (_currentframe != 3) { if (_currentframe != 4) { if (_currentframe != 5) { if (_currentframe == 2 && _root._ymouse < 225) { _global.talk(3, _global.mouthNegs[random(_global.mouthNegs.length)]); } } else { if (!(_currentframe == 5 && _root.mainClip.picture.hitTest(_x, _y, false))) { if (!_root.mainClip.wires.hitTest(_x, _y, false)) { if (!_root.mainClip.leftButton.hitTest(_x, _y, false)) { if (!_root.mainClip.scrabbleButton.hitTest(_x, _y, false)) { if (_root.mainClip.missingButton.hitTest(_x, _y, false)) { _global.talk(2, 'Wygląda na to, że brakuje przycisku.'); } } else { _global.talk(2, 'Klocek od scrabli.'); } } else { _global.talk(2, 'Przycisk.'); } } else { _global.talk(2, 'Pęk kabli.'); } } else { _root.dynHelp = ''; _root.mainClip.gotoAndPlay(175); } } } else { if (!(_root.mainClip.missingButton.hitTest(_x, _y, false) && invIt._currentframe == 20)) { if (!(invIt._currentframe == 12 && _root._ymouse < 255)) { if (!(invIt._currentframe == 5 && _root._ymouse < 225)) { if (!(invIt._currentframe == 10 && _root._ymouse < 225)) { if (!(invIt._currentframe == 12 && _root._ymouse < 225)) { if (!(invIt._currentframe == 21 && _root._ymouse < 225)) { if (_root._ymouse < 225) { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)]); } } else { _global.talk(3, 'Moja faza na podpalanie \nskończyła się w wieku 13 lat.'); } } else { _global.talk(3, _global.knifeNegs[random(_global.knifeNegs.length)]); } } else { _global.talk(3, _global.gumNegs[random(_global.gumNegs.length)]); } } else { _global.talk(3, _global.keyNegs[random(_global.keyNegs.length)]); } } else { _global.talk(3, 'Cięcie losowych kabli nie brzmi jak dobry pomysł.'); } } else { _root.dynHelp = ''; _global.removeInvItem(20); _root.mainClip.gotoAndPlay(54); } } } else { if (!(_root.mainClip.scrabbleButton.hitTest(_x, _y, false) && _currentframe == 3)) { if (!_root.mainClip.wires.hitTest(_x, _y, false)) { if (!_root.mainClip.picture.hitTest(_x, _y, false)) { if (!_root.mainClip.leftButton.hitTest(_x, _y, false)) { if (_root.mainClip.missingButton.hitTest(_x, _y, false)) { _root.dynHelp = ''; _global.talk(2, 'Nic się nie stało.'); } } else { _global.talk(1, 'Nic się nie stało.'); } } else { _global.talk(2, 'Nie chce się oderwać.'); } } else { _global.talk(2, 'Jakoś tak nie chcę być porażny prądem.'); } } else { if (_global.eventArray[15] != true) { _root.dynHelp = ''; _root.mainClip.gotoAndPlay(91); } else { _root.dynHelp = ''; _global.eventArray[9] = true; _root.mainClip.gotoAndPlay(158); } } } if (_global.instantPassed && !_root.menuMain.invScroll.hitTest(_root._xmouse, _root._ymouse, true) && _currentframe != 6) { gotoAndStop(1); } } onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 80 { _root.cursor.gotoAndStop(6); _root.menuMain.gotoAndStop(2); } movieClip 4156 { frame 221 { _global.water1.start(0, 9999); _global.water2.start(0, 9999); _global.changeScene('sewer', 1, false); } } frame 82 { _root.cursor.gotoAndStop(6); _root.menuMain.gotoAndStop(2); } movieClip 4206 { frame 257 { _global.addInvItem(21); _global.water1.start(0, 9999); _global.water2.start(0, 9999); _global.changeScene('sewer', 1, false); } } frame 84 { menuMain.gotoAndStop(2); } frame 86 { menuMain.gotoAndStop(2); } movieClip 4394 { } movieClip 4396 { } movieClip 4377 { } movieClip 4366 { frame 474 { _global.changeScene('hideoutWalk', 1, false); } } frame 88 { menuMain.gotoAndStop(2); cursor.gotoAndStop(1); } movieClip 4423 { frame 1 { stop(); } } instance bg of movieClip 4423 { onClipEvent (keyDown) { if (Key.isDown(32)) { _global.changeScene('gangAlley', 1, true); } } } instance johnny of movieClip 1831 { onClipEvent (enterFrame) { _yscale = _y / 8 + 40; setProperty('', _yscale, _y / 8 + 40); _xscale = _yscale * (Math.abs(_xscale) / _xscale); setProperty('', _xscale, _yscale * (Math.abs(_xscale) / _xscale)); if (!(Math.abs(-_x + destX) > 6 || Math.abs(-_y + destY) > 6)) { if (_currentframe >= 4) { gotoAndStop(_currentframe - 3); if (_parent.cursorFrame > 1) { destWas = _parent.textDest; _parent.textDest = 'random'; _parent.cursorFrame = 1; } } } else { if (offsetY != 0) { locomoteY(3); ++offSetY; } else { oldBGX = _parent.bg._x; oldX = _x; oldY = _y; wentX = false; wentY = false; locomoteX((Math.abs(-_x + destX) / (-_x + destX)) * 3); if (oldX != _x || oldBGX != _parent.bg._x) { wentX = true; } if (!(xFirst > 0 && wentX && offsetY == 0)) { locomoteY((Math.abs(-_y + destY) / (-_y + destY)) * 3); if (oldY != _y) { wentY = true; } xFirst = 0; } if (!wentX && !wentY) { xFirst = 30; offsetY = -5; } } } if (_x <= _parent.fg._x + 430) { if (_x <= _parent.fg._x + 170) { if (_root.walkRange.loseControl.hitTest(_x, _y, true)) { autoWalk = 150; destX += 5; } } else { _root.cursor.gotoAndStop(6); gotoAndStop(4); _xscale = Math.abs(_xscale); setProperty('', _xscale, Math.abs(_xscale)); _x = _x + 5; setProperty('', _x, _x + 5); destX = _x; --autoWalk; } } else { _global.changeScene('gangAlley', 1, true); } } onClipEvent (load) { function locomoteX(inc) { if (_parent.walkRange.hitTest(_x + inc, _y, true)) { --xFirst; if (Math.abs(-_x + destX) > 6) { if (!((inc > 0 && (_x < 250 || _parent.bg._x <= -735) || inc < 0) && (_x > 150 || _parent.bg._x >= -33))) { destX -= inc; _parent.bg._x -= inc; } else { _x = _x + inc; setProperty('', _x, _x + inc); } _xscale = Math.abs(_xscale) * (Math.abs(inc) / inc); setProperty('', _xscale, Math.abs(_xscale) * (Math.abs(inc) / inc)); rem = spriteIn._currentframe; gotoAndStop(4); spriteIn.gotoAndPlay(rem); } return true; } return false; } function locomoteY(inc) { if (_parent.walkRange.hitTest(_x, _y + inc, true)) { if (Math.abs(-_y + destY) > 6 || offsetY != 0) { _y = _y + inc; setProperty('', _y, _y + inc); _xscale = Math.abs(_xscale); setProperty('', _xscale, Math.abs(_xscale)); if (inc <= 0) { rem = spriteIn._currentframe; gotoAndStop(6); spriteIn.gotoAndPlay(rem); } else { rem = spriteIn._currentframe; gotoAndStop(5); spriteIn.gotoAndPlay(rem); } } return true; } return false; } _xscale = Math.abs(_xscale); setProperty('', _xscale, Math.abs(_xscale)); gotoAndStop(4); } onClipEvent (load) { autoWalk = -9; oldBGX = _parent.bg._x; destX = _x; destY = _y; offsetY = 0; xFirst = 0; oldX = _x; oldY = _y; gotoAndStop(2); } } movieClip 4424 { } instance fg of movieClip 4424 { onClipEvent (enterFrame) { _x = _parent.bg._x + offsetX; setProperty('', _x, _parent.bg._x + offsetX); } onClipEvent (load) { offsetX = _x - _parent.bg._x; } } movieClip 4427 { } movieClip 4425 { } instance walkRange of movieClip 4425 { onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { _parent.johnny.destX = _root._xmouse; _parent.johnny.destY = _root._ymouse; } } onClipEvent (enterFrame) { _x = _parent.bg._x + offsetX; setProperty('', _x, _parent.bg._x + offsetX); } onClipEvent (load) { offsetX = _x - _parent.bg._x; } } instance cursor of movieClip 107 { onClipEvent (mouseDown) { _root.cursorFrame = _currentframe; _root.invItFrame = invIt._currentframe; if (_currentframe <= 5) { if (_root.walkRange.hitTest(_root._xmouse, _root._ymouse, true)) { _root.johnny.destX = _root._xmouse; _root.johnny.destY = _root._ymouse; _root.textDest = 'random'; } } if (_global.instantPassed && !_root.menuMain.invScroll.hitTest(_root._xmouse, _root._ymouse, true) && _currentframe != 6) { gotoAndStop(1); } } onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; } } frame 90 { menuMain.gotoAndStop(2); } movieClip 4433 { } movieClip 4663 { } movieClip 4429 { frame 1 { stopAllSounds(); } frame 970 { _global.changeScene('endFight', 1, true); } } frame 92 { _root.cursor.gotoAndStop(6); } movieClip 5735 { } button 5915 { on (release) { getURL('http://www.conspiracygames.com', '_blank'); } } button 5916 { on (release) { _global.changeScene('gameIntro', 1, false); } } button 5919 { on (release) { getURL('http://www.crackedanimations.com', '_blank'); } } movieClip 5927 { } button 5923 { on (release) { getURL('http://www.crackedanimations.com/jrf2se.htm', '_blank'); } } button 5929 { on (release) { getURL('http://www.crackedanimations.com/store.htm', '_blank'); } } movieClip 4748 { frame 711 { gotoAndPlay(720); } frame 3939 { _root.cursor.gotoAndStop(1); } frame 4048 { stop(); } } instance cursor of movieClip 107 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; } } frame 101 { Stage.showMenu = false; stop(); } movieClip 5937 { frame 1 { gotoAndPlay(5); } frame 1466 { gotoAndPlay(5); } } movieClip 5952 { } button 5958 { on (release) { getURL('http://www.conspiracygames.com/', '_blank'); } } button 5964 { on (release) { _root.gotoAndStop(102); } } movieClip 5933 { frame 59 { stop(); } frame 60 { stopAllSounds(); } frame 63 { gotoAndPlay(1); } } instance of movieClip 5933 { onClipEvent (enterFrame) { if (_root.getBytesLoaded() < _root.getBytesTotal()) { gotoAndStop(Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 54) + 3); } else { gotoAndStop(59); } } } button 5980 { on (release) { gotoAndStop(30); } } button 5991 { on (release) { gotoAndPlay(32); } } button 5992 { on (release) { gotoAndStop(28); } } movieClip 6004 { } movieClip 6001 { frame 1 { if (_currentframe == 1) { stop(); } } frame 2 { displayName = 'beer bottle'; } frame 3 { displayName = 'ashes'; } frame 4 { displayName = 'broken bottle'; } frame 5 { displayName = 'window key'; } frame 6 { displayName = 'chain'; } frame 7 { displayName = 'bread'; } frame 8 { displayName = 'seltzer tablets'; } frame 9 { displayName = 'seltzer bread'; } frame 10 { displayName = 'gum'; } frame 11 { displayName = 'gum on a chain'; } frame 12 { displayName = 'knife'; } frame 13 { displayName = 'quarter'; } frame 14 { displayName = 'hairpin'; } frame 15 { displayName = 'forty'; } frame 16 { displayName = 'pipe'; } frame 17 { displayName = 'wrench'; } frame 18 { displayName = 'screwdriver'; } frame 19 { displayName = 'burger'; } frame 20 { displayName = 'scrabble tile'; } frame 21 { displayName = 'lighter'; } frame 22 { displayName = 'thug id'; } frame 23 { displayName = 'some change'; } frame 24 { displayName = 'lots of change'; } } movieClip 5997 { frame 1 { stop(); } frame 2 { if (_currentframe == 2) { _global.instantPassed = true; } } frame 3 { if (_currentframe == 3) { _global.instantPassed = true; } } frame 4 { if (_currentframe == 4) { _global.instantPassed = true; } } frame 5 { if (_currentframe == 5) { _global.instantPassed = true; } } } movieClip 6028 { } movieClip 5995 { frame 265 { gotoAndPlay(31); } } button 6040 { on (release) { gotoAndPlay(48); } } button 6041 { on (release) { gotoAndPlay(30); } } button 6044 { on (release) { gotoAndPlay(49); } } button 6045 { on (release) { gotoAndPlay(32); } } movieClip 6046 { frame 159 { gotoAndPlay(21); } } button 6054 { on (release) { gotoAndStop(208); } } button 6055 { on (release) { gotoAndPlay(48); } } button 6058 { on (release) { stopAllSounds(); gotoAndPlay(209); } } movieClip 5968 { frame 1 { stopAllSounds(); } frame 28 { stop(); } frame 30 { stop(); } frame 47 { stop(); } frame 48 { stop(); } frame 207 { stop(); } frame 208 { stop(); } frame 430 { _root.gotoAndStop(103); } } frame 103 { Mouse.hide(); Stage.showMenu = false; if (!_global.instantiated) { _global.water1 = new Sound(); _global.water1.attachSound('water1'); _global.water2 = new Sound(); _global.water2.attachSound('water2'); _global.music1 = new Sound(); _global.music1.attachSound('music1'); _global.music2 = new Sound(); _global.music2.attachSound('music2'); _global.music3 = new Sound(); _global.music3.attachSound('music3'); _global.music4 = new Sound(); _global.music4.attachSound('music4'); _global.instantPassed = true; _global.leftOff = 0; _global.startingFrom = 0; _global.eventArray = new Array(); _global.eventArray = [false]; _global.inventory = new Array(); _global.inventory = []; _global.showItem = new Array(); _global.showItem = []; _global.cycleDown = function () { if (_global.startingFrom + 3 < _global.inventory.length) { _global.startingFrom += 3; refreshPanels(); } }; _global.hasItem = function (anItem) { for (its in _global.inventory) { if (_global.inventory[its] == anItem) { return true; } } return false; }; _global.changeScene = function (id, frameIn, shouldPlay) { if (_root._currentframe >= 70 && _root._currentframe <= 82 && id == 'cityStreetB') { stopAllSounds(); } trace(_root._currentframe + ' & ' + id); if ((_root._currentframe == 47 || _root._currentframe == 49) && id == 'cityStreet') { _global.music4.stop('music4'); _global.music2.start(0, 9999); } _root.textDest = 'random'; _root.dynHelp = ''; _root.gotoAndStop(id); _global.talk(0, ''); if (!shouldPlay) { _root.mainClip.gotoAndStop(frameIn); } else { _root.mainClip.gotoAndPlay(frameIn); } }; _global.cycleUp = function () { if (_global.startingFrom < 3) { if (_global.startingFrom >= 0) { _global.startingFrom = 0; } } else { _global.startingFrom -= 3; } refreshPanels(); }; _global.combineItems = function (item1, item2, switchAndRepeat) { _root.cursor.gotoAndStop(1); trace('combineItems'); if (!(item1 == 10 && item2 == 6)) { if (item1 == 8 && item2 == 7) { trace('seltzer combo attempted'); if (!(_root._currentframe != 53 || _global.eventArray[18] == true)) { _global.talk(3, 'I can\'t fiddle with these tabs until I buy them.'); } else { _global.removeInvItem(7); _global.removeInvItem(8); _global.addInvItem(9); } return undefined; } } else { _global.removeInvItem(6); _global.removeInvItem(10); _global.addInvItem(11); return undefined; } if (switchAndRepeat) { _global.combineItems(item2, item1, false); } }; _global.removeInvItem = function (frm) { iterator = 0; for (;;) { if (!(_global.inventory[iterator] != frm && iterator < 100)) break; ++iterator; } if (iterator != 0) { if (iterator != _global.inventory.length - 1) { _global.inventory = (_global.inventory.slice(0, iterator)).concat(_global.inventory.slice(iterator + 1, _global.inventory.length)); } else { _global.inventory = _global.inventory.slice(0, _global.inventory.length - 1); } } else { _global.inventory = _global.inventory.slice(1, _global.inventory.length); } _global.startingFrom = 0; _global.refreshPanels(); }; _global.refreshPanels = function () { i = 1; while (i <= 3) { _root.menuMain['inv' + i].gotoAndStop(1); ++i; } lowest = _global.inventory.length; if (_global.startingFrom + 3 < lowest) { lowest = _global.startingFrom + 3; } curPanel = 1; i = _global.startingFrom; while (i < lowest) { _root.menuMain['inv' + curPanel].gotoAndStop(_global.inventory[i]); ++curPanel; if (curPanel == 4) { return undefined; } ++i; } }; _global.addInvItem = function (frm) { tempEntry = new Array(); tempEntry = [frm]; _global.showItem[frm] = false; _global.inventory = tempEntry.concat(_global.inventory); _global.startingFrom = 0; _global.refreshPanels(); }; _global.countInv = function () { a = 0; for (i in _global.inventory) { if (_global.inventory[i] > 1) { ++a; } } return a; }; _global.reduceRatio = function (x, y, lim) { if (Math.abs(x) <= Math.abs(y)) { higher = y; } else { higher = x; } div = Math.abs(higher) / lim; _global.reducedX = x / div; _global.reducedY = y / div; }; _global.isIn = function (val, givenArray) { for (ii in givenArray) { if (givenArray[ii] == val) { return true; } } return false; }; _global.talk = function (dlay, msg) { _root.dimCheck.dimText.Text = msg; tWidth = msg.length * 8; tHeight = _root.dimCheck._height; trace('text dims=' + tWidth + ',' + tHeight + ', letter count ' + msg.length); if (_root.mainClip.johnny._x <= 0) { if (_root.johnny._x <= 0) { trace('case: no johnny'); passX = 200 - tWidth / 2; } else { trace('case: johnny in root'); passX = _root.johnny._x - tWidth / 2; } } else { passX = _root.mainClip.johnny._x - tWidth / 2; trace('johnny x = ' + _root.mainClip.johnny._x + ' tWidth/2=' + tWidth / 2); trace('case: johnny in mainClip'); } trace('passX=' + passX); if (_root.mainClip.johnny._y <= 0) { if (_root.johnny._y <= 0) { passY = 220 - tHeight; } else { passY = _root.johnny._y - tHeight - _root.johnny._height / 3; } } else { passY = _root.mainClip.johnny._y - tHeight - _root.mainClip.johnny._height / 3; } if (passX <= 400 - tWidth) { if (passX < 0) { passX = 0; } } else { passX = 400 - tWidth; } if (passY <= 220 - tHeight) { if (passY < 0) { passY = 0; } } else { passY = 220 - tHeight; } _root.speechBox._x = passX; _root.speechBox._y = passY; _root.lockedHelp = msg; _root.cursor.dlay = 20 * dlay; _root.speechBox.gotoAndStop(2); }; _global.talkXY = function (dlay, msg, xp, yp) { _root.lockedHelp = msg; _root.cursor.dlay = 20 * dlay; _root.speechBox._x = xp; _root.speechBox._y = yp; _root.speechBox.gotoAndStop(2); }; _global.showSpeechBox = function () { _root.speechBox.gotoAndStop(1); _root.speechBox._visible = true; _root.speechBox._alpha = 100; _root.speechBox._x = -1.799999952316284; _root.speechBox._y = 196; }; _global.negativeResponses = new Array(); _global.negativeResponses = ['Are you retarded?', 'Not in a million years.', 'Never.', 'No way, Jose.', 'lol', 'Not gonna happen.', 'Let\'s be smart about this..', 'That doesn\'t seem to work.', 'Hmmm... no.', 'No can do.', 'Napes.', 'Get real.', 'I can\'t do that.', 'That\'s not gonna work.', 'That won\'t work.', 'I refuse.', 'Good idea, not.', 'rofl', 'lmao', 'Like, as if!', 'I don\'t think so.', 'You\'re killin\' me, Smalls.', 'There has to be another way.', 'What the fuck.', 'I\'d rather not.', 'Are you serious?', 'You can\'t be serious.', 'I thought you were good at this.', 'That doesn\'t tickle my fancy.', 'You\'re insane.', 'That\'s not gonna fly.', 'How about trying a good idea.', 'I don\'t think that\'ll work.', 'Try a different approach.', 'Hmm... weelll….nah.', 'Not an avid gamer, I see.', 'Are you new to adventure games or something?', 'Gimme a break.', 'Yeah, right.', 'Ummm.... no.', 'Umm, like, I don\'t think soooo.', 'Maybe you should ask a friend what to do.', 'That\'s out of the question.', 'That\'s rich.', 'That’s not gonna do anything.', 'That isn\'t necessary.', 'Good one.', 'You\'re such a kidder.', 'Please say you\'re joking.', 'You\'re joking, right? Tell me you\'re joking.', 'Wow.', 'Stop fucking around.', 'I don\'t have time for this.', 'Try something else.', 'Try something different.', 'It ain\'t gonna work I tells ya.']; _global.gumNegs = new Array(); _global.keyNegs = new Array(); _global.knifeNegs = new Array(); _global.mouthNegs = new Array(); _global.radiatorDiag = new Array(); _global.snackDiag = new Array(); _global.arcadeDiag = new Array(); radiatorIter = 0; _global.gumNegs = ['I don\'t think that needs gum on it.', 'That doesn\'t need gumming.', 'I can’t gum that.', 'It doesn\'t need any gum.', 'Gum, there? Don\'t think so.', 'The gum says ‘no,’ the gum has spoken.']; _global.keyNegs = ['That doesn\'t need unlocking.', 'I can\'t unlock that.', 'That can\'t be unlocked.', 'Show me the keyhole.', 'That\'s not unlockable.', 'Where would the key fit?']; _global.knifeNegs = ['I don\'t wanna murder that.', 'I\'ll give it a stabbing later.', 'You\'re a very violent person and it scares me.', 'Maybe, if it gives me a reason.', 'That wouldn\'t be very knife.']; _global.mouthNegs = ['That doesn\'t look very tasty.', 'I\'m not putting that in my mouth.', 'These lips aren’t touching that.', 'I refuse to put my mouth on that.', 'That doesn\'t look very appetizing.', 'I\'d rather use my mouth for other things.', 'My mouth ain\'t havin\' it.']; _global.radiatorDiag = ['It doesn\'t work.', 'Look, man, I told you, it doesn\'t work.', 'IT DOESN\'T FUCKING WORK.', 'Why don\'t you believe me?', 'I wouldn\'t lie to you.', 'Okay, it was cute at first, but now it\'s getting old.', 'Not funny.', 'Stop it.', 'Now you\'re just being childish.', 'Why do you wanna use the radiator so badly..?', 'Is it some sort of obsession?', 'Do you love radiators?', 'You love this radiator, don\'t you?', 'You wanna kiss it.', 'You and my radiator sitting in a tree!', 'K-I-S-S-I-N-G!', 'If you love it so much, why don\'t you marry it?', 'When is the wedding going to be?', 'Shall I wear my tux?', 'Huh?... what\'s that..? uh oh. The radiator says it hates you.', 'It\'s all over.', 'Your relationship will never work.', 'I\'m sorry.', 'I know you\'re upset..', 'A broken heart is not easily mended.', 'Move on to greener pastures my friend.', 'There are plenty of other radiators in the sea.', 'Get over it.']; _global.snackDiag = ['Mmmmmm... hot fries.', 'Cheesy Chester\'s Cheese Sticks.', 'God I love beef jerky.', 'I love junk food.', 'Fried porks skins OMG OMG!!', 'Hmmmm... I don\'t see any chocolate frosted cheese doodles..', 'Damn these snacks look delicious.', 'I\'m starving.', 'It all looks so good.', 'I want it all.', 'Yum.', 'I crave it.']; _global.arcadeDiag = ['I\'ve never been able to beat this.', 'I must have spent over $40 on this piece of shit.', 'Is it even possible to beat..?', 'Last week I almost beat it.', 'I\'ve wasted so much valuable time playing on this damn thing.', 'One night I played for seven hours straight.', 'I wish I could beat it.', 'God this game pisses me off..', 'WHY CAN\'T I BEAT IT?!!', 'It\'s probably impossible to beat.', 'Does this game have an ending?', 'I\'ve had nightmares about this game.', 'This game will forever haunt me.', 'I\'ll beat this thing yet.', 'Look at it... taunting me.', 'I hate this game.', 'This game is really addicting.', 'I wonder if there are any cheat codes..']; _global.instantiated = true; } stop(); } movieClip 6067 { } movieClip 6102 { } movieClip 6185 { } movieClip 6242 { } movieClip 6264 { } movieClip 6310 { } movieClip 6336 { } movieClip 6342 { } movieClip 6064 { frame 1 { stopAllSounds(); } frame 1083 { _global.changeScene('barIntro1', 1, true); } } instance of movieClip 6064 { onClipEvent (keyDown) { if (Key.isDown(32)) { _global.changeScene('barIntro1', 1, true); } } } button 6416 { on (press) { _root.cursor.gotoAndStop(2); } } movieClip 6415 { } button 6420 { on (press) { _root.cursor.gotoAndStop(3); } } button 6423 { on (press) { _root.cursor.gotoAndStop(5); } } button 6426 { on (release) { _global.cycleUp(); } } button 6429 { on (release) { _global.cycleDown(); } } movieClip 6435 { } movieClip 6432 { frame 1 { if (_currentframe == 1) { stop(); } } frame 2 { displayName = 'beer bottle'; } frame 3 { displayName = 'ashes'; } frame 4 { displayName = 'broken bottle'; } frame 5 { displayName = 'window key'; } frame 6 { displayName = 'chain'; } frame 7 { displayName = 'bread'; } frame 8 { displayName = 'seltzer tablets'; } frame 9 { displayName = 'seltzer bread'; } frame 10 { displayName = 'gum'; } frame 11 { displayName = 'gum on a chain'; } frame 12 { displayName = 'knife'; } frame 13 { displayName = 'quarter'; } frame 14 { displayName = 'hairpin'; } frame 15 { displayName = 'forty'; } frame 16 { displayName = 'pipe'; } frame 17 { displayName = 'wrench'; } frame 18 { displayName = 'screwdriver'; } frame 19 { displayName = 'burger'; } frame 20 { displayName = 'scrabble tile'; } frame 21 { displayName = 'lighter'; } frame 22 { displayName = 'thug id'; } frame 23 { displayName = 'some change'; } frame 24 { displayName = 'lots of change'; } } movieClip 6457 { } movieClip 6412 { instance inv1 of movieClip 6432 { onClipEvent (enterFrame) { if (!this.hitTest(_root._xmouse, _root._ymouse, false)) { if (_parent.dynHelp == displayName) { _parent.dynHelp = ''; } } else { _parent.dynHelp = displayName; } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse, false)) { trace('Checks for _currentframe==4'); if (_root.cursor._currentframe != 4) { if (!_parent.invScroll.hitTest(_root._xmouse, _root._ymouse, false)) { _global.instantPassed = false; _root.cursor.gotoAndStop(4); _root.cursor.invIt.gotoAndStop(_currentframe); } } else { trace('Calls function'); _global.combineItems(_currentframe, _root.cursor.invIt._currentframe, true); } } } onClipEvent (load) { _global.refreshPanels(); } } instance inv2 of movieClip 6432 { onClipEvent (enterFrame) { if (!this.hitTest(_root._xmouse, _root._ymouse, false)) { if (_parent.dynHelp == displayName) { _parent.dynHelp = ''; } } else { _parent.dynHelp = displayName; } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse, false)) { if (_root.cursor._currentframe != 4) { if (!_parent.invScroll.hitTest(_root._xmouse, _root._ymouse, false)) { _global.instantPassed = false; _root.cursor.gotoAndStop(4); _root.cursor.invIt.gotoAndStop(_currentframe); } } else { _global.combineItems(_currentframe, _root.cursor.invIt._currentframe, true); } } } } instance inv3 of movieClip 6432 { onClipEvent (enterFrame) { if (!this.hitTest(_root._xmouse, _root._ymouse, false)) { if (_parent.dynHelp == displayName) { _parent.dynHelp = ''; } } else { _parent.dynHelp = displayName; } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse, false)) { if (_root.cursor._currentframe != 4) { if (!_parent.invScroll.hitTest(_root._xmouse, _root._ymouse, false)) { _global.instantPassed = false; _root.cursor.gotoAndStop(4); _root.cursor.invIt.gotoAndStop(_currentframe); } } else { _global.combineItems(_currentframe, _root.cursor.invIt._currentframe, true); } } } } } instance menuMain of movieClip 6412 { onClipEvent (load) { gotoAndStop(2); } } movieClip 6459 { frame 1 { if (_currentframe == 1) { _x = -2; setProperty('', _x, -2); _y = 196; setProperty('', _y, 196); stop(); } } } movieClip 6462 { } frame 105 { _root.menuMain.gotoAndStop(2); } movieClip 6469 { } movieClip 6590 { } button 6595 { on (rollOver) { _root.dynHelp = 'thugs'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 6594 { } movieClip 6592 { } button 6603 { on (press) { _root.cursor.gotoAndStop(2); } } movieClip 6602 { } button 6612 { on (release) { _global.cycleUp(); } } button 6615 { on (release) { _global.cycleDown(); } } movieClip 6618 { } movieClip 6464 { frame 918 { _global.changeScene('barMain1', 1, false); } } instance mainClip of movieClip 6464 { onClipEvent (keyDown) { if (Key.isDown(32)) { _global.changeScene('barIntro1', 845, true); } } } frame 107 { _global.showSpeechBox(); _root.menuMain.gotoAndStop(1); } button 6623 { on (rollOver) { _root.dynHelp = 'thugs'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 6622 { } button 6627 { on (rollOver) { _root.dynHelp = 'countertop'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 6626 { } button 6633 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } movieClip 6632 { } button 6637 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 6636 { } button 6640 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 6639 { } button 6643 { on (rollOver) { _root.dynHelp = 'mug'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 6642 { } button 6646 { on (rollOver) { _root.dynHelp = 'disgusting, unknown liquid'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 6645 { } button 6649 { on (rollOver) { _root.dynHelp = 'toothpick?'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 6648 { } button 6652 { on (rollOver) { _root.dynHelp = 'ashtray'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 6651 { } button 6655 { on (rollOver) { _root.dynHelp = 'ashes'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 6654 { } movieClip 6620 { frame 1 { stop(); Mouse.hide(); if (!_global.instantiated) { _global.instantPassed = true; _global.leftOff = 0; _global.startingFrom = 0; _global.inventory = new Array(); _global.inventory = []; _global.showItem = new Array(); _global.showItem = []; _global.cycleDown = function () { if (_global.startingFrom + 3 < _global.inventory.length) { _global.startingFrom += 3; refreshPanels(); } }; _global.hasItem = function (anItem) { for (its in _global.inventory) { if (_global.inventory[its] == anItem) { return true; } } return false; }; _global.cycleUp = function () { if (_global.startingFrom < 3) { if (_global.startingFrom >= 0) { _global.startingFrom = 0; } } else { _global.startingFrom -= 3; } refreshPanels(); }; _global.removeInvItem = function (frm) { iterator = 0; for (;;) { if (!(_global.inventory[iterator] != frm && iterator < 100)) break; ++iterator; } if (iterator != 0) { if (iterator != _global.inventory.length - 1) { trace('before' + _global.inventory); _global.inventory = (_global.inventory.slice(0, iterator)).concat(_global.inventory.slice(iterator + 1, _global.inventory.length)); trace('after' + _global.inventory); } else { trace('before' + _global.inventory); _global.inventory = _global.inventory.slice(0, _global.inventory.length - 1); trace('after' + _global.inventory); } } else { trace('before' + _global.inventory); _global.inventory = _global.inventory.slice(1, _global.inventory.length); trace('after' + _global.inventory); } _global.startingFrom = 0; _global.refreshPanels(); }; _global.refreshPanels = function () { i = 1; while (i <= 3) { _root['inv' + i].gotoAndStop(1); ++i; } lowest = _global.inventory.length; if (_global.startingFrom + 3 < lowest) { lowest = _global.startingFrom + 3; } curPanel = 1; i = _global.startingFrom; while (i < lowest) { _root['inv' + curPanel].gotoAndStop(_global.inventory[i]); ++curPanel; if (curPanel == 4) { return undefined; } ++i; } }; _global.addInvItem = function (frm) { tempEntry = new Array(); tempEntry = [frm]; _global.showItem[frm] = false; _global.inventory = tempEntry.concat(_global.inventory); _global.startingFrom = 0; _global.refreshPanels(); }; _global.countInv = function () { a = 0; for (i in _global.inventory) { if (_global.inventory[i] > 1) { ++a; } } return a; }; _global.talk = function (dlay, msg) { _root.lockedHelp = msg; _root.cursor.dlay = 20 * dlay; _root.speechBox.gotoAndStop(2); }; _global.talk = function (dlay, msg, xp, yp) { _root.lockedHelp = msg; _root.cursor.dlay = 20 * dlay; _root.speechBox._x = xp; _root.speechBox._y = yp; _root.speechBox.gotoAndStop(2); }; _global.negativeResponses = new Array(); _global.negativeResponses = ['Are you retarded', 'Gimme a break.', 'Not in a million years.', 'Never.', 'No way, Jose.', 'lol', 'Not gonna happen.', 'Let\'s be smart about this..', 'That doesn\'t seem to work.', 'Hmmm... no.', 'No can do.', 'Napes.', 'Get real.', 'I can\'t do that.', 'That\'s not gonna work.', 'That won\'t work.', 'I refuse.', 'Good idea, not!', 'rofl', 'I don\'t wanna.', 'lmao', 'Like, as if!', 'I don\'t think so.', 'You\'re killin\' me, Smalls.', 'There has to be another way.', 'What the fuck?', 'I\'d rather not.', 'Are you serious?', 'You can\'t be serious.', 'I thought you were good at this.', 'That doesn\'t tickle my fancy.', 'You\'re insane.', 'That\'s not gonna fly.', 'How about trying a good idea.', 'I don\'t think that\'ll work.', 'Try a different approach.', 'Hmm... weelll….nah.', 'Not an avid gamer I see.', 'Are you new to adventure games or something?', 'Gimme a break.', 'Yeah, right.', 'Ummm.... no.', 'Umm, like, I don\'t think soooo.', 'Maybe you should ask your friend what to do.', 'That\'s out of the question.', 'That\'s rich.', 'That’s not gonna do anything.', 'That isn\'t necessary.', 'Good one.', 'You\'re such a kidder.', 'Please say you\'re joking.', 'You\'re joking, right? Tell me you\'re joking.', 'Wow.', 'Stop fucking around.', 'I don\'t have time for this.', 'Try something else.', 'Try something different.', 'It ain\'t gonna work I tells ya.']; _global.instantiated = true; } refreshPanels(); } instance bottle1 of movieClip 6639 { onClipEvent (enterFrame) { if (_global.showItem[2] == false) { _visible = false; setProperty('', _visible, false); } } } instance speechBox of movieClip 6459 { onClipEvent (load) { swapDepths(9998); } } instance ashes of movieClip 6654 { onClipEvent (enterFrame) { if (_global.showItem[3] == false) { _visible = false; setProperty('', _visible, false); } } } } movieClip 6658 { frame 1 { stop(); } frame 2 { if (_currentframe == 2) { _global.instantPassed = true; } } frame 3 { if (_currentframe == 3) { _global.instantPassed = true; } } frame 4 { if (_currentframe == 4) { _global.instantPassed = true; } } frame 5 { if (_currentframe == 5) { _global.instantPassed = true; } } } instance cursor of movieClip 6658 { onClipEvent (mouseDown) { if (_currentframe != 1) { if (_currentframe != 2) { if (_currentframe != 3) { if (_currentframe != 4) { if (_currentframe == 5) { if (!_root.mainclip.bottle1.hitTest(_x, _y, true)) { if (!_root.mainclip.toothpick.hitTest(_x, _y, true)) { if (!_root.mainclip.liquid.hitTest(_x, _y, true)) { if (!_root.mainclip.cigbutt.hitTest(_x, _y, true)) { if (!_root.mainclip.ashtray.hitTest(_x, _y, true)) { if (!_root.mainclip.mug.hitTest(_x, _y, true)) { if (!_root.mainclip.bottle2.hitTest(_x, _y, true)) { if (!_root.mainclip.ashes.hitTest(_x, _y, true)) { if (!_root.mainclip.countertop.hitTest(_x, _y, true)) { if (_root.mainclip.thugs.hitTest(_x, _y, true)) { _global.talk(3, 'They look mean and uncompromising.', 5, 75); } } else { _global.talk(2, 'This counter has a hard edge.', 5, 75); } } else { _global.talk(2, 'Doesn\'t Marty ever empty this thing?.', 5, 75); } } else { _global.talk(1, 'Empty.', 5, 75); } } else { _global.talk(2, 'I\'m gonna need a refill.', 5, 75); } } else { _global.talk(2, 'It\'s a Joe Camel ashtray.', 5, 75); } } else { _global.talk(2, 'Wish I could resurrect it..', 5, 75); } } else { _global.talk(2, 'Looks disgusting.', 5, 75); } } else { _global.talk(3, 'Could be a toothpick.. or a slip of the wacom pen.', 5, 75); } } else { _global.talk(3, 'It was once full of sweet, life giving alcohol.', 5, 75); } } } else { if (!(_root.cursor.invIt._currentframe == 2 && _root.mainclip.countertop.hitTest(_x, _y, true))) { if (!(_root.cursor.invIt._currentframe == 2 && _root.mainclip.thugs.hitTest(_x, _y, true))) { if (!(_root.cursor.invIt._currentframe == 4 && _root.mainclip.thugs.hitTest(_x, _y, true))) { if (!(_root.cursor.invIt._currentframe == 3 && _root.mainclip.thugs.hitTest(_x, _y, true))) { if (!(_root.cursor.invIt._currentframe == 3 && _root.mainclip.ashtray.hitTest(_x, _y, true))) { if (_root.cursor.invIt._currentframe != 5) { if (_root.cursor.invIt._currentframe != 10) { if (_root.cursor.invIt._currentframe != 12) { if (_root.cursor.invIt._currentframe != 21) { if (_root._ymouse < 225) { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)], 5, 75); } } else { _global.talk(3, 'My pyro phase ended at thirteen.', 5, 25); } } else { _global.talk(3, _global.knifeNegs[random(_global.knifeNegs.length)], 5, 25); } } else { _global.talk(3, _global.gumNegs[random(_global.gumNegs.length)], 5, 25); } } else { _global.talk(3, _global.keyNegs[random(_global.keyNegs.length)], 5, 25); } } else { _global.talk(3, 'Why would I put them back?', 5, 75); } } else { if (!_global.hasItem(4)) { _global.talkXY(3, 'Good idea, but I\'ll need a weapon \n to back it up with.', 35, 67); } else { _global.changeScene('barFight1', 1, true); } } } else { _global.talk(2, 'Not yet..', 5, 67); } } else { if (_global.showItem[2] == false) { _global.changeScene('barGun1', 84, true); } else { _global.changeScene('barGun1', 1, true); } } } else { _global.removeInvItem(2); _global.addInvItem(4); _global.changeScene('barBreakBottle1', 1, true); } } } else { if (!(_root.mainclip.bottle1.hitTest(_x, _y, true) && _global.showItem[2] != false)) { if (!(_root.mainclip.ashes.hitTest(_x, _y, true) && _global.showItem[3] != false)) { if (!_root.mainclip.liquid.hitTest(_x, _y, true)) { if (!_root.mainclip.toothpick.hitTest(_x, _y, true)) { if (!_root.mainclip.bottle2.hitTest(_x, _y, true)) { if (!_root.mainclip.ashtray.hitTest(_x, _y, true)) { if (!_root.mainclip.cigbutt.hitTest(_x, _y, true)) { if (!_root.mainclip.mug.hitTest(_x, _y, true)) { if (!_root.mainclip.countertop.hitTest(_x, _y, true)) { if (_root.mainclip.thugs.hitTest(_x, _y, true)) { _global.talk(2, 'I\'m gonna need a weapon first..', 5, 75); } } else { _global.talk(2, 'No can do.', 5, 75); } } else { _global.talk(2, 'There\'s no beer in it..', 5, 75); } } else { _global.talk(2, 'I\'m not fiendin\'.', 5, 75); } } else { _global.talk(2, 'I\'ve got one at home.', 5, 75); } } else { _global.talk(2, 'Can\'t reach it.', 5, 75); } } else { _global.talk(2, 'My teeth need no picking.', 5, 75); } } else { _global.talk(2, 'Like, as if!', 5, 75); } } else { _global.addInvItem(3); } } else { _global.addInvItem(2); } } } else { if (!_root.mainclip.bottle1.hitTest(_x, _y, true)) { if (!_root.mainclip.bottle2.hitTest(_x, _y, true)) { if (!_root.mainclip.ashes.hitTest(_x, _y, true)) { if (!_root.mainclip.ashtray.hitTest(_x, _y, true)) { if (!_root.mainclip.cigbutt.hitTest(_x, _y, true)) { if (!_root.mainclip.mug.hitTest(_x, _y, true)) { if (!_root.mainclip.liquid.hitTest(_x, _y, true)) { if (!_root.mainclip.toothpick.hitTest(_x, _y, true)) { if (!_root.mainclip.countertop.hitTest(_x, _y, true)) { if (!_root.mainclip.thugs.hitTest(_x, _y, true)) { _global.talk(3, _global.mouthNegs[random(_global.mouthNegs.length)], 5, 25); } else { _global.changeScene('barTalk1', 1, false); } } else { _global.talk(1, 'Impossible.', 5, 75); } } else { _global.talk(1, 'No.', 5, 75); } } else { _global.talk(2, 'Don\'t push it.', 5, 75); } } else { _global.talk(2, 'I\'d love to but it\'s empty.', 5, 75); } } else { _global.talk(2, 'I don\'t need a cig that bad.', 5, 75); } } else { _global.talk(1, 'Napes.', 5, 75); } } else { _global.talk(2, 'I\'m not putting that shit in my mouth.', 5, 75); } } else { _global.talk(2, 'There\'s nothing left but backwash.', 5, 75); } } else { _global.talk(2, 'I\'m not a big fan of backwash.', 5, 75); } } } else {} if (_global.instantPassed && _currentframe != 6) { gotoAndStop(1); } } onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; } } frame 109 { menuMain.gotoAndStop(2); } button 6664 { on (rollOver) { _root.dynHelp = 'thugs'; } on (rollOut) { _root.dynHelp = ''; } } button 6668 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6672 { on (rollOver) { _parent.dynHelp = 'disgusting, unknown liquid'; } on (rollOut) { _parent.dynHelp = ''; } } button 6675 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 6677 { } button 6679 { on (release) { if (diag1._currentframe > minID) { writeDialogue(diag1._currentframe - 1); } } } button 6680 { on (release) { if (diag3._currentframe < maxID) { writeDialogue(diag1._currentframe + 1); } } } button 6682 { on (release) { _parent.gotoAndPlay(2); } } button 6686 { on (release) { if (_global.showItem[2] == false) { _global.changeScene('barGun1', 84, true); } else { _global.changeScene('barGun1', 1, true); } } } button 6689 { on (release) { if (_global.showItem[2] == false) { _global.changeScene('barGun1', 84, true); } else { _global.changeScene('barGun1', 1, true); } } } button 6692 { on (release) { if (_global.showItem[2] == false) { _global.changeScene('barGun1', 84, true); } else { _global.changeScene('barGun1', 1, true); } } } button 6695 { on (release) { if (_global.showItem[2] == false) { _global.changeScene('barGun1', 84, true); } else { _global.changeScene('barGun1', 1, true); } } } movieClip 6681 { } movieClip 6663 { frame 1 { function writeDialogue(from) { written = 0; curCheck = from; do { ++written; this['diag' + written].gotoAndStop(curCheck); if (written > 1) { this['diag' + written]._y = this['diag' + (written - 1)]._y + this['diag' + (written - 1)]._height + 5; } ++curCheck; } while (written < 3); } stop(); minID = 1; maxID = 5; writeDialogue(1); } instance of movieClip 6677 { onClipEvent (load) { if (_global.showItem[2] == false) { _visible = false; setProperty('', _visible, false); } } } frame 54 { gotoAndStop(1); } } instance cursor of movieClip 6658 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; } } frame 111 { _root.menuMain.gotoAndStop(2); } button 6701 { on (rollOver) { _root.dynHelp = 'thugs'; } on (rollOut) { _root.dynHelp = ''; } } button 6702 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6703 { on (rollOver) { _parent.dynHelp = 'disgusting, unknown liquid'; } on (rollOut) { _parent.dynHelp = ''; } } button 6704 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6705 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6706 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6707 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6708 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6709 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6710 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6711 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6712 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6713 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6714 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6715 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6716 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6717 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6718 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6719 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6720 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6721 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6722 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6723 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6724 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6725 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6726 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6727 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6728 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6729 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6730 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6734 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6735 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6737 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6738 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6739 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6740 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6743 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6744 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6746 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6747 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6749 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6750 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6751 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6752 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6753 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6754 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6756 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6757 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6759 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6760 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6763 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6764 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6765 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6766 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6767 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6768 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6769 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6770 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6772 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6773 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6774 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6775 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6776 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6777 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6779 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6780 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6782 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6783 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6785 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6786 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6787 { on (rollOver) { _root.dynHelp = 'cigarette butt'; } on (rollOut) { _root.dynHelp = ''; } } button 6788 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6790 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6791 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6794 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6795 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6797 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6798 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6802 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6803 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6806 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6807 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6808 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6821 { on (rollOver) { _root.dynHelp = 'thugs'; } on (rollOut) { _root.dynHelp = ''; } } button 6822 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6823 { on (rollOver) { _parent.dynHelp = 'disgusting, unknown liquid'; } on (rollOut) { _parent.dynHelp = ''; } } button 6824 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6825 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6826 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6827 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6828 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6829 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6830 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6831 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6832 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6833 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6834 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6835 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6836 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6837 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6838 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6839 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6840 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6841 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6842 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6843 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6844 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6845 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6846 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6847 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6848 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6849 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6850 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6852 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6853 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6854 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6855 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6856 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6857 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6858 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6859 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6860 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6861 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6862 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6863 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6864 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6865 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6866 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6867 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6868 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6869 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6870 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6871 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6872 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6873 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6874 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6875 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6876 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6877 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6878 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6879 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6880 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6881 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6882 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6883 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6884 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6885 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6886 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6887 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6888 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6889 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6890 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6891 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6892 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6893 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6894 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6895 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6896 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6897 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6898 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6899 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6900 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6901 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6902 { on (rollOver) { _parent.dynHelp = 'cigarette butt'; } on (rollOut) { _parent.dynHelp = ''; } } button 6903 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } button 6904 { on (rollOver) { _root.dynHelp = 'bottle'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 6700 { frame 76 { _global.changeScene('barDumpster1', 1, true); } frame 159 { _global.changeScene('barDumpster1', 1, true); } } frame 113 { _root.menuMain.gotoAndStop(2); } movieClip 6908 { } movieClip 6964 { } movieClip 6907 { frame 146 { _global.changeScene('barMain1', 1, false); } } frame 117 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); } button 7000 { on (release) { _global.changeScene('barMain', 1, false); } } button 7004 { on (release) { gotoAndStop(52); } } button 7008 { on (release) { _global.changeScene('barMain', 1, false); } } button 7009 { on (release) { gotoAndStop(52); } } button 7010 { on (release) { _global.changeScene('barMain1', 1, false); } } button 7011 { on (release) { gotoAndStop(52); } } button 7012 { on (release) { _global.changeScene('barMain', 1, false); } } button 7013 { on (release) { gotoAndStop(52); } } button 7017 { on (release) { _global.changeScene('barMain1', 1, false); } } button 7018 { on (release) { gotoAndStop(52); } } movieClip 6968 { frame 32 { _root.cursor.gotoAndStop(1); } frame 51 { stop(); } frame 52 { stop(); } } instance cursor of movieClip 6658 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; } } frame 119 { _global.removeInvItem(3); _global.removeInvItem(4); _root.menuMain.gotoAndStop(2); } movieClip 7025 { frame 1 { stopAllSounds(); } frame 311 { _global.changeScene('barAfterFight1', 1, true); } } instance mainClip of movieClip 7025 { onClipEvent (keyDown) { if (Key.isDown(32)) { _global.changeScene('barAfterFight1', 1, true); } } } frame 121 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); } movieClip 7253 { } button 7281 { on (release) { gotoAndPlay(140); } } movieClip 7250 { frame 135 { stop(); _root.cursor.gotoAndStop(1); } frame 177 { _global.changeScene('barLeaving11', 1, true); } } instance cursor of movieClip 6658 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; } } frame 123 { _global.addInvItem(22); _root.menuMain.gotoAndStop(2); } movieClip 7304 { } movieClip 7308 { } movieClip 7325 { } movieClip 7439 { } movieClip 7286 { frame 1741 { _global.changeScene('barLeaving21', 1, true); } } instance mainClip of movieClip 7286 { onClipEvent (keyDown) { if (Key.isDown(32)) { _global.changeScene('barLeaving21', 1, true); } } } frame 125 { _root.menuMain.gotoAndStop(2); } movieClip 7492 { } movieClip 7596 { } movieClip 7589 { } movieClip 7447 { frame 1370 { _global.changeScene('apartIntro1', 1, true); } } instance mainClip of movieClip 7447 { onClipEvent (keyDown) { if (Key.isDown(32)) { _global.changeScene('apartIntro1', 1, true); } } } frame 127 { _root.menuMain.gotoAndStop(2); } movieClip 7649 { frame 30 { _global.changeScene('apartIntro1', 1, true); } } instance mainClip of movieClip 7649 { onClipEvent (keyDown) { if (Key.isDown(32)) { _global.changeScene('apartIntro1', 1, true); } } } frame 129 { _root.menuMain.gotoAndStop(2); } movieClip 7651 { frame 963 { _global.changeScene('apartMain1', 1, false); } } instance mainClip of movieClip 7651 { onClipEvent (keyDown) { if (Key.isDown(32)) { _global.changeScene('apartmain1', 1, true); } } } frame 131 { _global.showSpeechBox(); } movieClip 7717 { } instance of movieClip 7717 { onClipEvent (load) { _global.music2.stop('music2'); _global.music1.start(0, 9999); } } movieClip 7722 { } button 7725 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'radiator'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 7724 { } button 7728 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'window'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 7727 { } button 7731 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'doormat'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 7730 { } button 7734 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'knife'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 7733 { } button 7737 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'door'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 7736 { } movieClip 7739 { } button 7742 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'couch'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 7741 { } button 7745 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'table'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 7744 { } button 7748 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'under couch'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 7747 { } movieClip 7754 { } movieClip 7766 { } movieClip 7778 { } movieClip 7750 { } button 7791 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'foreground element'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 7790 { } button 7794 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'chain'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 7793 { } movieClip 7720 { frame 1 { cursorFrame = 1; _root.cursor.gotoAndStop(1); refreshPanels(); stop(); } instance knife of movieClip 7733 { onClipEvent (load) { if (_global.showItem[12] == false) { _visible = false; setProperty('', _visible, false); } } } instance johnny of movieClip 7750 { onClipEvent (enterFrame) { _yscale = (_y / 6.199999809265137) * (1 + _y / 140); setProperty('', _yscale, (_y / 6.199999809265137) * (1 + _y / 140)); _xscale = _yscale * (Math.abs(_xscale) / _xscale); setProperty('', _xscale, _yscale * (Math.abs(_xscale) / _xscale)); if (!(Math.abs(-_x + destXNext) > 6 || Math.abs(-_y + destYNext) > 6)) { if (!(Math.abs(-_x + destX) > 6 || Math.abs(-_y + destY) > 6)) { if (_currentframe >= 4 || _parent.cursorFrame > 1) { _parent.walkPath = []; destWas = _parent.textDest; _parent.textDest = 'random'; if (_parent.cursorFrame != 3) { if (_parent.cursorFrame != 4) { if (_parent.cursorFrame != 5) { if (_parent.cursorFrame != 2) { if (_parent.cursorFrame != 1) { trace('cursorFrame ' + _parent.cursorFrame); trace('invItFrame ' + _parent.invItFrame); if (_root.stationed == false) { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)], 5, 75); } if (_currentframe > 3) { gotoAndStop(_currentframe - 3); } } else { gotoAndStop(_currentframe - 3); } } else { if (destWas != 'couch') { if (destWas != 'door') { if (destWas != 'doormat') { if (destWas != '' && destWas != 'random') { _global.talk(3, _global.mouthNegs[random(_global.mouthNegs.length)]); } } else { _global.talkXY(3, 'Do you really think eating this \ndoormat will win us the game?', 30, 30); } } else { _global.talk(2, 'and let them know that I\'m here..?'); } } else { _global.talk(2, 'I love you Mr. Couch.'); } } } else { if (destWas != 'couch') { if (destWas != 'chain') { if (destWas != 'radiator') { if (destWas != 'knife') { if (destWas != 'doormat') { if (destWas != 'window') { if (destWas != 'undercouch') { if (destWas != 'shelf') { if (destWas != 'door') { if (destWas == 'table') { _global.talkXY(3, 'It\'s almost time to scavenge\nthis table for weed flakes.', 5, 50); } } else { _global.talk(2, 'Nice door.'); } } else { _global.talk(2, 'Depthy.'); } } else { _global.talk(3, 'I bet there\'s a bounty of lost items under this couch.'); } } else { _global.talk(3, 'What a beautiful view of the projects...'); } } else { _global.talk(2, 'I got it at the 99 cent store.'); } } else { _global.talk(2, 'I should really stop drinking.'); } } else { _global.talk(2, 'It\'s my broken radiator.'); } } else { _global.talk(2, 'It turns my light on and off.'); } } else { _global.talk(2, 'This couch and I go way back.'); } } } else { if (!(destWas == 'window' && _parent.invItFrame == 5)) { if (!(_parent.invItFrame == 10 && destWas == 'couch')) { if (!(_parent.invItFrame == 19 && destWas == 'couch')) { if (!(_parent.invItFrame == 5 && destWas == 'door')) { if (!(_parent.invItFrame == 12 && destWas == 'chain')) { if (!(_parent.invItFrame == 17 && destWas == 'radiator')) { if (!(_parent.invItFrame == 18 && destWas == 'radiator')) { if (!(_parent.invItFrame == 10 && destWas == 'table')) { if (!(_parent.invItFrame == 19 && destWas == 'table')) { if (!(_parent.invItFrame == 5 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 10 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 12 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 21 && destWas != '' && destWas != 'random')) { if (destWas != '' && destWas != 'random') { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)]); } } else { _global.talk(3, 'My pyro phase ended at thirteen.'); } } else { _global.talk(3, _global.knifeNegs[random(_global.knifeNegs.length)]); } } else { _global.talk(3, _global.gumNegs[random(_global.gumNegs.length)]); } } else { _global.talk(3, _global.keyNegs[random(_global.keyNegs.length)]); } } else { _global.talk(2, 'It doesn\'t need any more food stains.'); } } else { _global.talk(2, 'The table\'s disgusting enough as it is.'); } } else { _global.talk(2, 'It\'s beyond repair.'); } } else { _global.talk(2, 'It\'s beyond repair.'); } } else { _global.talk(2, 'The knife won\'t cut through metal'); } } else { _global.talk(2, 'I don\'t need to unlock this.'); } } else { _global.talk(2, 'It has enough food stains.'); } } else { _global.talk(2, 'This couch has enough crap on it.'); } } else { _root.cursor.gotoAndStop(6); _global.music1.stop('music1'); if (!_global.eventArray[1]) { _global.eventArray[1] = true; _global.changeScene('apartOutside1', 1, true); } else { _global.changeScene('apartOutside1', 172, true); } _root.menuMain.gotoAndStop(2); } } } else { if (destWas != 'doormat') { if (!(destWas == 'undercouch' && _global.showItem[5] != false)) { if (destWas != 'undercouch') { if (!(destWas == 'knife' && _global.showItem[12] != false)) { if (!(destWas == 'window' && _global.eventArray[1])) { if (destWas != 'window') { if (destWas != 'chain') { if (destWas != 'couch') { if (destWas != 'radiator') { if (destWas != 'shelf') { if (destWas != 'door') { if (destWas == 'table') { _global.talk(2, 'Errrggg, aaarrrggggg, can\'t move it.'); } } else { _global.talk(2, 'There\'s armed thugs on the opposite side.'); } } else { _global.talk(2, 'I can\'t pick that up.'); } } else { _global.talk(2, 'It broke a long time ago.'); } } else { _global.talk(2, 'I might throw my back out.'); } } else { _root.menuMain.gotoAndStop(2); _root.dynHelp = ''; _parent.saveX = _x; _parent.saveY = _y; chain._visible = false; _root.cursor.gotoAndStop(6); _parent.gotoAndPlay(319); } } else { _global.talk(3, 'It\'s locked and I lost the key three weeks ago.'); } } else { _root.cursor.gotoAndStop(6); _global.music1.stop('music1'); _root.menuMain.gotoAndStop(2); _global.changeScene('apartOutside1', 172, true); } } else { _global.addInvItem(12); _root.mainClip.knife._visible = false; } } else { _global.talk(2, 'I took all that was under there.'); } } else { _root.menuMain.gotoAndStop(2); _root.dynHelp = ''; _parent.saveX = _x; _parent.saveY = _y; _root.cursor.gotoAndStop(6); _parent.gotoAndPlay(468); } } else { if (_global.eventArray[42] != true) { _root.menuMain.gotoAndStop(2); _parent.saveX = _x; _parent.saveY = _y; _root.cursor.gotoAndStop(6); _global.eventArray[42] = true; _parent.gotoAndPlay(2); } else { _global.talk(3, 'What, you didn\'t catch the lame insect joke?'); } } } _parent.cursorFrame = 1; } } else { trace('Aligned to ' + destXNext + ',' + destYNext); _x = destXNext; setProperty('', _x, destXNext); _y = destYNext; setProperty('', _y, destYNext); possPoints = _parent.navPoints; possPoints.push([destX, destY]); lowestYet = 99999; lowestYetID = 999; for (i in possPoints) { if (_parent.unobstructed(_x, _y, possPoints[i][0], possPoints[i][1]) && (_x != possPoints[i][0] || _y != possPoints[i][1])) { combinedDist = Math.abs(destX - possPoints[i][0]) + Math.abs(destY - possPoints[i][1]); if (combinedDist < lowestYet) { lowestYet = combinedDist; lowestYetID = i; } } } destXNext = possPoints[lowestYetID][0]; destYNext = possPoints[lowestYetID][1]; trace('New dest: ' + destXNext + ',' + destYNext + ' from ID' + lowestYetID); possPoints.pop(); _global.reduceRatio(destXNext - _x, destYNext - _y, 3); xPace = reducedX; yPace = reducedY; if (Math.abs(xPace) <= Math.abs(yPace)) { if (yPace <= 0) { gotoAndStop(6); _xscale = Math.abs(_xscale); setProperty('', _xscale, Math.abs(_xscale)); } else { gotoAndStop(5); _xscale = Math.abs(_xscale); setProperty('', _xscale, Math.abs(_xscale)); } } else { gotoAndStop(4); _xscale = Math.abs(_xscale) * (xPace / Math.abs(xPace)); setProperty('', _xscale, Math.abs(_xscale) * (xPace / Math.abs(xPace))); } _parent.walkPath.pop(); } } else { locomote(xPace, yPace); } } onClipEvent (load) { function locomote(incX, incY) { _x = _x + incX; setProperty('', _x, _x + incX); _y = _y + incY; setProperty('', _y, _y + incY); } _yscale = (_y / 6.199999809265137) * (1 + _y / 140); setProperty('', _yscale, (_y / 6.199999809265137) * (1 + _y / 140)); _xscale = _yscale; setProperty('', _xscale, _yscale); stop(); _root.menuMain.gotoAndStop(1); if (!_parent.firstLoad) { _x = _parent.saveX; setProperty('', _x, _parent.saveX); _y = _parent.saveY; setProperty('', _y, _parent.saveY); } else { _parent.firstLoad = false; if (_global.eventArray[43] == true) { _xscale = -Math.abs(_xscale); setProperty('', _xscale, -Math.abs(_xscale)); _x = 167; setProperty('', _x, 167); _y = 130; setProperty('', _y, 130); } } trace('saveX - ' + _parent.saveX); if (!(_root.revisitLoad == true && (_parent.saveX == null || _parent.saveX == undefined))) { _root.revisitLoad = true; } else { _xscale = -Math.abs(_xscale); setProperty('', _xscale, -Math.abs(_xscale)); _x = 167; setProperty('', _x, 167); _y = 130; setProperty('', _y, 130); } destXNext = _x; destYNext = _y; destX = _x; destY = _y; possPoints = new Array(); } } instance of movieClip 7744 { onClipEvent (enterFrame) { if (!(_parent.johnny._y > 175 || _parent._currentframe == 2)) { _visible = true; setProperty('', _visible, true); } else { _visible = false; setProperty('', _visible, false); } } } instance chain of movieClip 7793 { onClipEvent (load) { if (_global.showItem[6] == false) { _visible = false; setProperty('', _visible, false); } } } frame 2 { _root.cursor.gotoAndStop(6); _root.dynHelp = ''; } instance of movieClip 7733 { onClipEvent (load) { if (_global.showItem[12] == false) { _visible = false; setProperty('', _visible, false); } } } instance chain of movieClip 7793 { onClipEvent (load) { if (_global.showItem[6] == false) { _visible = false; setProperty('', _visible, false); } } } frame 318 { gotoAndStop(1); } frame 467 { _global.addInvItem(6); gotoAndStop(1); } instance of movieClip 7793 { onClipEvent (load) { if (_global.showItem[6] == false) { _visible = false; setProperty('', _visible, false); } } } frame 541 { addInvItem(5); addInvItem(13); } frame 542 { gotoAndStop(1); } } instance mainClip of movieClip 7720 { onClipEvent (load) { function unobstructed(x1, y1, x2, y2) { moveLim = 2; iterX = x1; iterY = y1; _global.reduceRatio(x2 - x1, y2 - y1, moveLim); for (;;) { if (!(Math.abs(x2 - iterX) > moveLim || Math.abs(y2 - iterY) > moveLim)) break; if (!walkRange.hitTest(iterX, iterY, true)) { return false; } iterX += _global.reducedX; iterY += _global.reducedY; } return true; } firstLoad = true; navPoints = new Array(); navPoints = [[106, 200], [161, 130], [224, 134], [241, 202]]; } } instance cursor of movieClip 6658 { onClipEvent (mouseDown) { _root.mainClip.cursorFrame = _currentframe; _root.mainClip.invItFrame = invIt._currentframe; if (_currentframe <= 5) { _root.mainClip.textDest = ''; if (!_root.mainClip.doormat.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.undercouch.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.couch.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.knife.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.window.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.radiator.hitTest(_root._xmouse, _root._ymouse, true)) { if (!(_root.mainClip.chain.hitTest(_root._xmouse, _root._ymouse, true) && _root.mainClip.chain._visible)) { if (!_root.mainClip.shelf.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.table.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.door.hitTest(_root._xmouse, _root._ymouse, true)) { if (_root.mainClip.walkRange.hitTest(_root._xmouse, _root._ymouse, true)) { _root.mainClip.johnny.destX = _root._xmouse; _root.mainClip.johnny.destY = _root._ymouse; _root.mainClip.textDest = 'random'; } } else { _root.mainClip.johnny.destX = 297; _root.mainClip.johnny.destY = 151; _root.mainClip.textDest = 'door'; } } else { _root.mainClip.johnny.destX = 215; _root.mainClip.johnny.destY = 160; _root.mainClip.textDest = 'table'; } } else { _root.mainClip.johnny.destX = 274; _root.mainClip.johnny.destY = 216; _root.mainClip.textDest = 'shelf'; } } else { _root.mainClip.johnny.destX = 238; _root.mainClip.johnny.destY = 154; _root.mainClip.textDest = 'chain'; } } else { _root.mainClip.johnny.destX = 202; _root.mainClip.johnny.destY = 130; _root.mainClip.textDest = 'radiator'; } } else { _root.mainClip.johnny.destX = 167; _root.mainClip.johnny.destY = 130; _root.mainClip.textDest = 'window'; } } else { _root.mainClip.johnny.destX = 120; _root.mainClip.johnny.destY = 162; _root.mainClip.textDest = 'knife'; } } else { _root.mainClip.johnny.destX = 127; _root.mainClip.johnny.destY = 170; _root.mainClip.textDest = 'couch'; } } else { _root.mainClip.johnny.destX = 127; _root.mainClip.johnny.destY = 170; _root.mainClip.textDest = 'undercouch'; } } else { _root.mainClip.johnny.destX = 261; _root.mainClip.johnny.destY = 155; _root.mainClip.textDest = 'doormat'; } } if (_global.instantPassed && !_root.menuMain.invScroll.hitTest(_root._xmouse, _root._ymouse, true) && _currentframe != 6) { gotoAndStop(1); } } onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 133 { _root.speechBox.gotoAndStop(1); } instance of movieClip 7717 { onClipEvent (load) { if (_global.eventArray[47] != true) { _global.music3.stop('music3'); _global.music2.start(0, 9999); } else { _global.eventArray[47] = false; } } } movieClip 7841 { } movieClip 7847 { } button 7850 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'ladder'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 7849 { } button 7855 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'nest'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 7854 { } movieClip 7857 { } button 7859 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'window'; } } on (rollOut) { _root.dynHelp = ''; } } button 7865 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'gum'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 7864 { frame 1 { if (_global.showItem[10] != false) { stop(); } else { gotoAndStop(2); } } } button 7872 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'pigeon'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 7868 { } movieClip 7867 { frame 1 { if (_global.eventArray[35] != true) { gotoAndStop(1); } else { gotoAndStop(2); } } } movieClip 7921 { frame 1 { if (_global.showItem[14] == false) { gotoAndStop(20); } } } button 7924 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'window'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 7923 { } button 7925 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'window'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 8044 { } movieClip 8065 { } movieClip 7842 { frame 1 { if (_currentframe == 1) { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); } } frame 6 { if (_currentframe == 6) { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); } } frame 171 { _root.menuMain.gotoAndStop(1); _root.cursor.gotoAndStop(1); stop(); } frame 172 { _root.menuMain.gotoAndStop(2); } frame 210 { gotoAndStop(171); } frame 211 { _root.menuMain.gotoAndStop(2); _root.dynHelp = ''; } frame 264 { _global.music2.stop('music2'); _global.changeScene('apartmain1', 1, false); } frame 265 { _root.menuMain.gotoAndStop(2); } frame 285 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); _root.dynHelp = ''; } frame 341 { gotoAndStop(171); } frame 354 { _root.menuMain.gotoAndStop(2); _root.dynHelp = ''; } frame 485 { gotoAndStop(171); } frame 513 { _root.menuMain.gotoAndStop(2); _root.dynHelp = ''; _root.johnnyX = 180; _root.johnnyY = 180; } frame 580 { _root.xSep = 0; _global.changeScene('cityStreetB1', 2, true); } frame 581 { _root.menuMain.gotoAndStop(2); _root.dynHelp = ''; } frame 897 { gotoAndStop(171); } frame 912 { _root.menuMain.gotoAndStop(2); _root.dynHelp = ''; } frame 1027 { gotoAndStop(171); } } instance cursor of movieClip 6658 { onClipEvent (mouseDown) { if (_root._ymouse <= 225) { if (_currentframe != 3) { if (_currentframe != 4) { if (_currentframe != 5) { if (_currentframe == 2) { if (!_root.mainClip.pigeon.hitTest(_x, _y, false)) { if (!_root.mainClip.nest.hitTest(_x, _y, false)) { if (!_root.mainClip.gum.hitTest(_x, _y, false)) { if (_root._ymouse < 225) { _global.talk(3, _global.mouthNegs[random(_global.mouthNegs.length)]); } } else { _global.talk(2, 'I don\'t have any dusty old nutshells to eat it with.'); } } else { _global.talk(2, 'I gave up nest eating in Vietnam.'); } } else { _global.talk(2, 'I don\'t speak pigeon.'); } } } else { if (!_root.mainClip.pigeon.hitTest(_x, _y, false)) { if (!_root.mainClip.nest.hitTest(_x, _y, false)) { if (!_root.mainClip.gum.hitTest(_x, _y, false)) { if (!_root.mainClip.window.hitTest(_x, _y, false)) { if (_root.mainClip.windowLadder.hitTest(_x, _y, false)) { _global.talk(2, 'It leads down to the street.'); } } else { _global.talk(2, 'My lovely apartment'); } } else { _global.talk(1, 'Sticky.'); } } else { if (_global.showItem[14] == false) { _global.talkXY(2, 'It was the nest of that hand pecking demon bird.', 60, 2); } else { _global.talkXY(2, 'It looks like there\'s a shiny \nobject concealed within.', 100, 2); } } } else { _global.talk(2, 'It\'s a diseased, dirty pigeon.'); } } } else { if (!(_root.mainClip.pigeon.hitTest(_x, _y, false) && invIt._currentframe == 7)) { if (!(_root.mainClip.pigeon.hitTest(_x, _y, false) && invIt._currentframe == 9)) { if (!(_root.mainClip.pigeon.hitTest(_x, _y, false) && invIt._currentframe == 12 && _root._ymouse < 225)) { if (!(_root.mainClip.pigeon.hitTest(_x, _y, false) && invIt._currentframe == 10 && _root._ymouse < 225)) { if (!(_root.mainClip.pigeon.hitTest(_x, _y, false) && invIt._currentframe == 19 && _root._ymouse < 225)) { if (!(_root.mainClip.pigeon.hitTest(_x, _y, false) && invIt._currentframe == 6 && _root._ymouse < 225)) { if (!(_root.mainClip.pigeon.hitTest(_x, _y, false) && invIt._currentframe == 8 && _root._ymouse < 225)) { if (!(invIt._currentframe == 5 && _root._ymouse < 225)) { if (!(invIt._currentframe == 10 && _root._ymouse < 225)) { if (!(invIt._currentframe == 12 && _root._ymouse < 225)) { if (!(invIt._currentframe == 21 && _root._ymouse < 225)) { if (_root._ymouse < 225) { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)]); } } else { _global.talk(3, 'My pyro phase ended at thirteen.'); } } else { _global.talk(3, _global.knifeNegs[random(_global.knifeNegs.length)]); } } else { _global.talk(3, _global.gumNegs[random(_global.gumNegs.length)]); } } else { _global.talk(3, _global.keyNegs[random(_global.keyNegs.length)]); } } else { _global.talk(2, 'It\'s not gonna eat them on their own.'); } } else { _global.talkXY(2, 'The judicial board of animal\n rights won\'t permit it.', 120, 2); } } else { _global.talk(2, 'I\'m not giving it a whole half a sandwich.'); } } else { _global.talk(2, 'Pigeons don\'t chew gum.'); } } else { _global.talk(1, 'Too messy.'); } } else { _root.cursor.gotoAndStop(6); _global.removeInvItem(9); _global.eventArray[35] = true; _root.mainClip.gotoAndPlay(581); } } else { _root.cursor.gotoAndStop(6); _root.mainClip.gotoAndPlay(354); } } } else { if (!_root.mainClip.windowLadder.hitTest(_x, _y, false)) { if (!_root.mainClip.gum.hitTest(_x, _y, false)) { if (!_root.mainClip.window.hitTest(_x, _y, false)) { if (!_root.mainClip.pigeon.hitTest(_x, _y, true)) { if (_root.mainClip.nest.hitTest(_x, _y, true)) { if (_global.eventArray[35] == true) { if (_global.showItem[14] == false) { _global.talk(2, 'Nothing else there.'); } else { _root.cursor.gotoAndStop(6); _global.addInvItem(14); _root.mainClip.gotoAndPlay(912); } } else { _root.cursor.gotoAndStop(6); _global.changeScene('pigeonPeck1', 1, true); } } } else { _global.changeScene('pigeonPeck1', 1, true); } } else { _root.cursor.gotoAndStop(6); _root.mainClip.gotoAndPlay(211); } } else { _root.mainClip.gum.gotoAndStop(2); _global.talk(3, 'It\'s still sticky.'); _global.addInvItem(10); } } else { _root.cursor.gotoAndStop(6); _root.mainClip.gotoAndPlay(513); } } if (_global.instantPassed && !_root.menuMain.invScroll.hitTest(_root._xmouse, _root._ymouse, true) && _currentframe != 6) { gotoAndStop(1); } } } onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 135 { menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); } movieClip 8089 { } movieClip 8133 { } movieClip 8070 { frame 145 { _global.changeScene('apartOutside1', 285, true); } } frame 137 { menuMain.gotoAndStop(1); _root.johnny._x = _root.johnnyX; _root.johnny._y = _root.johnnyY; _root.johnny.destX = _root.johnnyX; _root.johnny.destY = _root.johnnyY; _global.showSpeechBox(); } movieClip 8166 { } button 8173 { on (rollOver) { _root.dynHelp = 'sleeping bag'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 8172 { } button 8176 { on (rollOver) { _root.dynHelp = 'bum'; } on (rollOut) { _root.dynHelp = ''; } } button 8178 { on (rollOver) { _root.dynHelp = 'drunk bum'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 8175 { frame 1 { if (!(_global.eventArray[34] == true && !_global.hasItem(15))) { gotoAndStop(1); } else { gotoAndStop(2); } } } button 8183 { on (rollOver) { _root.dynHelp = 'shady looking character'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 8181 { } button 8190 { on (rollOver) { _root.dynHelp = 'parking meter'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 8189 { } button 8194 { on (rollOver) { _root.dynHelp = 'ladder'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 8192 { } button 8198 { on (rollOver) { _root.dynHelp = 'bus'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 8197 { } button 8201 { on (rollOver) { _root.dynHelp = 'sign'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 8200 { } button 8204 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 8203 { } button 8208 { on (rollOver) { _root.dynHelp = 'crack'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 8207 { } movieClip 8210 { } button 8214 { on (rollOver) { _root.dynHelp = 'door'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 8213 { } movieClip 8217 { } movieClip 8219 { } movieClip 8220 { } movieClip 8216 { } button 8222 { on (rollOver) { _root.dynHelp = 'bum sign'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 8221 { } button 8225 { on (rollOver) { _root.dynHelp = 'can'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 8224 { } button 8228 { on (rollOver) { _root.dynHelp = 'drain'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 8227 { } button 8231 { on (rollOver) { _root.dynHelp = 'drain'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 8233 { } button 8236 { on (rollOver) { _root.dynHelp = 'open drain'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 8230 { frame 1 { if (_global.eventArray[4] != true) { stop(); } else { gotoAndStop(2); } } } movieClip 8142 { instance bus of movieClip 8197 { onClipEvent (load) { if (_global.eventArray[38] != true) { gotoAndStop(1); } else { gotoAndStop(2); } } } } instance bg of movieClip 8142 { onClipEvent (load) { birthX = _x; _x = _x + _root.xSep; setProperty('', _x, _x + _root.xSep); } onClipEvent (load) { function unobstructed(x1, y1, x2, y2) { moveLim = 2; iterX = x1; iterY = y1; _global.reduceRatio(x2 - x1, y2 - y1, moveLim); for (;;) { if (!(Math.abs(x2 - iterX) > moveLim || Math.abs(y2 - iterY) > moveLim)) break; if (!_parent.walkRange.hitTest(iterX, iterY, true)) { return false; } iterX += _global.reducedX; iterY += _global.reducedY; } return true; } firstLoad = true; navPoints = new Array(); navPoints = [[-308, 130], [-252, 126], [-186, 148], [-8, 192], [156, 212], [318, 216], [616, 164], [-141, 154], [-33, 173], [41, 190], [676, 151], [620, 178], [559, 155]]; } } instance johnny of movieClip 7750 { onClipEvent (enterFrame) { if (_yscale < 45 && _y < 20 && _x < 20) { _global.changeScene('ladderAnimations1', 1, true); } _yscale = _y / 8 + 40; setProperty('', _yscale, _y / 8 + 40); _xscale = _yscale * (Math.abs(_xscale) / _xscale); setProperty('', _xscale, _yscale * (Math.abs(_xscale) / _xscale)); if (!(Math.abs(-_x + destXNext) > 6 || Math.abs(-_y + destYNext) > 6)) { if (!(Math.abs(-_x + destX) > 6 || Math.abs(-_y + destY) > 6)) { if (_currentframe >= 4 || _parent.cursorFrame > 1) { _parent.walkPath = []; destWas = _parent.textDest; _parent.textDest = 'random'; if (_parent.cursorFrame != 3) { if (_parent.cursorFrame != 4) { if (_parent.cursorFrame != 5) { if (_parent.cursorFrame == 2) { if (destWas != 'guy') { if (destWas != 'ladder') { if (destWas != 'bum') { if (destWas != 'sleepingBag') { if (destWas != '' && destWas != 'random') { _global.talk(3, _global.mouthNegs[random(_global.mouthNegs.length)]); } } else { _global.talk(3, 'I\'d rather lick a turd.'); } } else { if (!(_global.eventArray[34] == true && !_global.hasItem(15))) { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; _global.changeScene('bumTalk1', 1, false); } else { _global.talk(2, 'I don\'t wanna wake him.'); } } } else { _global.talk(2, 'Hi Mr. Ladder.'); } } else { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; if (_global.eventArray[38] != true) { if (_global.eventArray[36] != true) { _global.changeScene('guyTalk11', 1, true); } else { _global.changeScene('guyTalk21', 1, true); } } else { _global.talk(3, 'My business with this chump is finished.'); } } } } else { if (destWas != 'busStop') { if (destWas != 'can') { if (destWas != 'trashCan') { if (destWas != 'crackOutside') { if (destWas != 'ladder') { if (destWas != 'parkingMeter') { if (destWas != 'liquorDoor') { if (destWas != 'guy') { if (destWas != 'drain1') { if (destWas != 'drain2') { if (destWas != 'bum') { if (destWas != 'sleepingBag') { if (destWas != 'bumSign') { if (destWas == 'bus') { _global.talk(2, 'Good old public transportation.'); } } else { _global.talk(2, '"Will wurk fore booz."'); } } else { _global.talk(2, 'I bet it\'s full of pubes.'); } } else { if (!(!_global.hasItem(15) && _global.eventArray[34])) { _global.talkXY(3, 'He\'s encrusted with urine and other \nhomeless man fluids.', 30, 25); } else { _global.talk(2, 'He\'s in a drunken coma.'); } } } else { _global.talk(3, 'The lid on this one seems really loose.'); } } else { _global.talk(2, 'It\'s a storm drain.'); } } else { _global.talk(1, 'Looks shady.'); } } else { _global.talk(1, 'Nice door.'); } } else { _global.talk(3, 'Some lockpicks would be good right about now.'); } } else { _global.talk(3, 'It leads up to my shitty-ass apartment.'); } } else { _global.talk(3, 'Not the smokeable kind unfortunately.'); } } else { _global.talk(2, 'It\'s full of garbage.'); } } else { if (!(!_global.hasItem(15) && _global.eventArray[34])) { _global.talk(3, 'People have been giving him spare change.'); } else { _global.talk(2, 'It\'s ripe for the jacking.'); } } } else { _global.talk(3, 'There\'s a picture of a bus on it.'); } } } else { if (destWas != 'parkingMeter') { if (!(destWas == 'drain2' && _parent.invItFrame == 12)) { if (!(destWas == 'drain1' && _parent.invItFrame == 12)) { if (destWas != 'guy') { if (destWas != 'bum') { if (!(destWas == 'bus' && _parent.invItFrame == 24)) { if (!(destWas == 'bus' && _parent.invItFrame == 13)) { if (!(destWas == 'bus' && _parent.invItFrame == 23)) { if (destWas != 'bus') { if (!(destWas == 'can' && _parent.invItFrame == 13)) { if (!(destWas == 'can' && (_parent.invItFrame == 23 || _parent.invItFrame == 24))) { if (!(destWas == 'can' && _parent.invItFrame == 10)) { if (destWas != 'trashCan') { if (destWas != 'crackOutside') { if (!(destWas == 'bumSign' && (_parent.invItFrame == 10 || _parent.invItFrame == 12 || _parent.invItFrame == 21))) { if (!(_parent.invItFrame == 5 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 10 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 12 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 21 && destWas != '' && destWas != 'random')) { if (destWas != '' && destWas != 'random') { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)]); } } else { _global.talk(3, 'My pyro phase ended at thirteen.'); } } else { _global.talk(3, _global.knifeNegs[random(_global.knifeNegs.length)]); } } else { _global.talk(3, _global.gumNegs[random(_global.gumNegs.length)]); } } else { _global.talk(3, _global.keyNegs[random(_global.keyNegs.length)]); } } else { _global.talk(2, 'I\'ll ruin his sign later.'); } } else { _global.talk(2, 'I don\'t think so.'); } } else { _global.talk(3, 'Are you kidding me? I might need that later.'); } } else { _global.talk(1, 'Heheh.'); } } else { _global.talk(2, 'What the fuck would I do that for?'); } } else { _global.talk(2, 'Fuck that, I need this money.'); } } else { _global.talk(3, 'I still don\'t know where to find Thug Inc.'); } } else { _global.talk(2, 'This isn\'t enough money.'); } } else { _global.talk(2, 'This isn\'t enough money.'); } } else { if (_global.eventArray[38] == true) { _root.cursor.gotoAndStop(6); _global.changeScene('busDriveAway1', 1, true); } } } else { if (_parent.invItFrame != 15) { if (!(_parent.invItFrame == 12 || _parent.invItFrame == 6)) { if (_parent.invItFrame != 21) { if (_parent.invItFrame != 13) { _global.talk(2, 'All he wants is liquor.'); } else { _global.talk(2, 'No, I need this money.'); } } else { _global.talk(2, 'My bum igniting days are over.'); } } else { _global.talk(2, 'Nah, I\'ll leave that to Alex and his gang.'); } } else { _global.removeInvItem(15); _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; _global.changeScene('cityStreetB1', 606, true); } } } else { if (_parent.invItFrame != 21) { if (!(_parent.invItFrame == 13 || _parent.invItFrame == 23 || _parent.invItFrame24)) { if (!(_parent.invItFrame == 12 || _parent.invItFrame == 6)) { _global.talk(2, 'I don\'t think he\'d want this.'); } else { _global.talkXY(2, 'I think I’ll save my violence for that \n fuckin’ dealer.', 70, 60); } } else { _global.talk(2, 'No, I need this money.'); } } else { _global.talk(2, 'I think I\'d better talk to him first.'); } } } else { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; trace('xSep = ' + _root.xSep); _global.changeScene('cityStreetB1', 402, true); } } else { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; trace('xSep = ' + _root.xSep); _global.changeScene('cityStreetB1', 237, true); } } else { if (!(_parent.invItFrame == 14 && _global.showItem[24] != false)) { if (_parent.invItFrame != 5) { if (_parent.invItFrame != 12) { if (_parent.invItFrame != 18) { if (!(_parent.invItFrame == 13 || _parent.invItFrame == 23 || _parent.invItFrame24)) { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)]); } else { _global.talkXY(3, 'Why the Hell would I waste this \n on a parking meter?', 105, 40); } } else { _global.talk(2, 'That won\'t work.'); } } else { _global.talk(2, 'I need something smaller to pick the lock with.'); } } else { _global.talk(2, 'The key doesn\'t fit.'); } } else { _global.addInvItem(24); _global.talk(3, 'Hairpin, I thank thee'); } } } } else { if (destWas != 'parkingMeter') { if (destWas != 'ladder') { if (!(destWas == 'trashCan' && _global.showItem[7] != false)) { if (destWas != 'quarter') { if (destWas != 'liquorDoor') { if (destWas != 'crackOutside') { if (destWas != 'can') { if (destWas != 'busStop') { if (!(destWas == 'drain2' && _global.eventArray[4] == true)) { if (destWas != 'drain2') { if (destWas != 'busStop') { if (destWas != 'bus') { if (destWas != 'bum') { if (destWas != 'sleepingBag') { if (destWas != 'guy') { if (destWas != 'drain1') { if (destWas == 'bumSign') { _global.talk(2, 'Too many spelling errors for my liking.'); } } else { _global.talkXY(3, 'There\'s no way I\'ll be able to get this lid\n up without some kind of tool.', 30, 25); } } else { _global.talk(2, 'Not my type.'); } } else { _global.talk(3, 'No way, it\'s covered in hobo juices.'); } } else { _global.talk(2, 'Not without some rubber gloves.'); } } else { _global.talk(3, 'I\'ll have to buy a bus ticket.'); } } else { _global.talk(3, 'Do I really need to tell you I can\'t pick it up?'); } } else { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; trace('xSep = ' + _root.xSep); _global.changeScene('cityStreetB1', 155, true); } } else { if (_global.eventArray[36] != true) { _global.talkXY(4, 'I\'m not wading around in waste-deep \nshit water without a good reason.', 35, 40); } else { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; _global.changeScene('cityStreetB1', 298, true); } } } else { _global.talk(2, 'Do I really need to tell you I can\'t pick this up?'); } } else { if (!(_global.eventArray[34] == true && _global.hasItem(15) == false && _global.showItem[23] != false)) { if (!(_global.eventArray[34] == true && _global.hasItem(15) == false)) { _global.talk(3, 'No way; the bum\'s watching and he might touch me.'); } else { _global.talk(2, 'There\'s nothing left.'); } } else { _global.addInvItem(23); _global.talk(1, 'Money time.'); } } } else { if (!(_global.eventArray[17] == true && _global.eventArray[34] != true)) { _global.talk(2, 'Feels cracktacular.'); } else { _global.eventArray[46] = true; _global.eventArray[34] = true; _global.addInvItem(15); _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; _global.changeScene('cityStreetB1', 113, true); } } } else { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; _global.changeScene('cityStreetB1', 39, true); } } else { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; _global.changeScene('cityStreetB1', 59, true); } } else { _global.addInvItem(7); _global.talk(2, 'Stale bread, awesome.'); } } else { _global.changeScene('ladderAnimations1', 1, true); } } else { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; if (_global.eventArray[5] != true) { _global.eventArray[5] = true; _global.changeScene('parkingMeter1', 1, true); } else { _global.changeScene('parkingMeter1', 384, true); } } } if (_currentframe > 3) { gotoAndStop(_currentframe - 3); } _parent.cursorFrame = 1; } } else { trace('Aligned to ' + destXNext + ',' + destYNext); _x = destXNext; setProperty('', _x, destXNext); _y = destYNext; setProperty('', _y, destYNext); for (fi in _parent.bg.navPoints) { possPoints[fi][0] = _parent.bg.navPoints[fi][0] + (_parent.bg._x - _parent.bg.birthX); possPoints[fi][1] = _parent.bg.navPoints[fi][1]; } possPoints.push([destX, destY]); trace('New posspoints = ' + possPoints); lowestYet = 99999; lowestYetID = 999; trace('destX being passed ' + destX + ' for ' + _root.textDest); if (_root.textDest != 'drain2') { if (_root.textDest == 'drain1') { destX = _root.bg._x + _root.bg.drain1._x - 23; destY = _root.bg._y + _root.bg.drain1._y - 11; trace('Anomylous path fixed'); } } else { destX = _root.bg._x + _root.bg.drain2._x + 25; destY = _root.bg._y + _root.bg.drain2._y - 20; trace('Anomylous path fixed'); } for (i in possPoints) { if (_parent.bg.unobstructed(_x, _y, possPoints[i][0], possPoints[i][1]) && (_x != possPoints[i][0] || _y != possPoints[i][1])) { combinedDist = Math.abs(destX - possPoints[i][0]) + Math.abs(destY - possPoints[i][1]); if (combinedDist < lowestYet) { lowestYet = combinedDist; lowestYetID = i; } } } if (!((_root.textDest == 'drain2' || _root.textDest == 'drain1') && _parent.bg.unobstructed(_x, _y, destX, destY))) { destXNext = possPoints[lowestYetID][0]; destYNext = possPoints[lowestYetID][1]; } else { destXNext = destX; destYNext = destY; } trace('New dest: ' + destXNext + ',' + destYNext + ' from ID' + lowestYetID); possPoints.pop(); _global.reduceRatio(destXNext - _x, destYNext - _y, 3); xPace = reducedX; yPace = reducedY; if (Math.abs(xPace) <= Math.abs(yPace)) { if (yPace <= 0) { gotoAndStop(6); _xscale = Math.abs(_xscale); setProperty('', _xscale, Math.abs(_xscale)); } else { gotoAndStop(5); _xscale = Math.abs(_xscale); setProperty('', _xscale, Math.abs(_xscale)); } } else { gotoAndStop(4); _xscale = Math.abs(_xscale) * (xPace / Math.abs(xPace)); setProperty('', _xscale, Math.abs(_xscale) * (xPace / Math.abs(xPace))); } _parent.walkPath.pop(); } } else { locomote(xPace, yPace); } if (_root.walkRange.alleyEntryClip.hitTest(_x, _y, true)) { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x + 15; _root.johnnyY = _root.johnny._y + 15; _global.changeScene('alley1', 1, false); } } onClipEvent (load) { function locomote(incX, incY) { if (!((incX > 0 && (_x < 250 || _parent.bg._x <= -710) || incX < 0) && (_x > 150 || _parent.bg._x >= -33))) { destXNext -= incX; destX -= incX; _parent.bg._x -= incX; } else { _x = _x + incX; setProperty('', _x, _x + incX); } _y = _y + incY; setProperty('', _y, _y + incY); } _yscale = _y / 8 + 40; setProperty('', _yscale, _y / 8 + 40); _xscale = _yscale; setProperty('', _xscale, _yscale); _xscale = -Math.abs(_xscale); setProperty('', _xscale, -Math.abs(_xscale)); stop(); _root.menuMain.gotoAndStop(1); if (!_parent.firstLoad) { _x = _parent.saveX; setProperty('', _x, _parent.saveX); _y = _parent.saveY; setProperty('', _y, _parent.saveY); } else { _parent.firstLoad = false; } destXNext = _x; destYNext = _y; destX = _x; destY = _y; if (_global.eventArray[46] == true) { } possPoints = new Array(); possPoints = [[-308, 130], [-252, 126], [-186, 148], [-8, 192], [156, 212], [318, 216], [616, 164], [-141, 154], [-33, 173], [41, 190], [676, 151], [620, 178], [559, 155]]; } } button 8240 { on (rollOver) { _root.dynHelp = 'alley'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 8239 { } movieClip 8237 { } instance walkRange of movieClip 8237 { onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { _parent.johnny.destX = _root._xmouse; _parent.johnny.destY = _root._ymouse; } } onClipEvent (enterFrame) { _x = _parent.bg._x + 20; setProperty('', _x, _parent.bg._x + 20); } onClipEvent (load) { if (_global.eventArray[4] != true) { gotoAndStop(1); } else { gotoAndStop(2); } } } instance cursor of movieClip 6658 { onClipEvent (mouseDown) { _root.cursorFrame = _currentframe; _root.invItFrame = invIt._currentframe; if (_currentframe <= 5) { if (!_root.bg.parkingMeter.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.drain2.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.bum.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.guy.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.can.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.trashCan.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.busStop.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.bus.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.crackOutside.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.drain1.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.liquorDoor.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.ladder.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.sleepBag.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.bumSign.hitTest(_root._xmouse, _root._ymouse, true)) { if (_root.walkRange.hitTest(_root._xmouse, _root._ymouse, true)) { _root.johnny.destX = _root._xmouse; _root.johnny.destY = _root._ymouse; _root.textDest = 'random'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.can._x; _root.johnny.destY = _root.bg._y + _root.bg.can._y + 20; _root.textDest = 'bumSign'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.sleepBag._x - 35; _root.johnny.destY = _root.bg._y + _root.bg.sleepBag._y + 25; _root.textDest = 'sleepingBag'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.ladder._x - 40; _root.johnny.destY = _root.bg._y + _root.bg.ladder._y + 160; _root.textDest = 'ladder'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.liquorDoor._x + 40; _root.johnny.destY = _root.bg._y + _root.bg.liquorDoor._y + 47; _root.textDest = 'liquorDoor'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.drain1._x - 23; _root.johnny.destY = _root.bg._y + _root.bg.drain1._y - 11; _root.textDest = 'drain1'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.trashCan._x + 105; _root.johnny.destY = _root.bg._y + _root.bg.trashCan._y + 35; _root.textDest = 'crackOutside'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.busStop._x + 30; _root.johnny.destY = _root.bg._y + _root.bg.busStop._y + 25; _root.textDest = 'bus'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.busStop._x + 30; _root.johnny.destY = _root.bg._y + _root.bg.busStop._y + 25; _root.textDest = 'busStop'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.trashCan._x; _root.johnny.destY = _root.bg._y + _root.bg.trashCan._y + 35; _root.textDest = 'trashCan'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.can._x; _root.johnny.destY = _root.bg._y + _root.bg.can._y + 20; _root.textDest = 'can'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.guy._x + 600; _root.johnny.destY = _root.bg._y + _root.bg.guy._y - 25; _root.textDest = 'guy'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.bum._x + 69; _root.johnny.destY = _root.bg._y + _root.bg.bum._y + 29; _root.textDest = 'bum'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.drain2._x + 25; _root.johnny.destY = _root.bg._y + _root.bg.drain2._y - 20; _root.textDest = 'drain2'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.parkingMeter._x; _root.johnny.destY = _root.bg._y + _root.bg.parkingMeter._y + 55; _root.textDest = 'parkingMeter'; } } if (_global.instantPassed && !_root.menuMain.invScroll.hitTest(_root._xmouse, _root._ymouse, true) && !_root.menuMain.inv1.hitTest(_root._xmouse, _root._ymouse, true) && !_root.menuMain.inv2.hitTest(_root._xmouse, _root._ymouse, true) && !_root.menuMain.inv3.hitTest(_root._xmouse, _root._ymouse, true) && _currentframe != 6) { gotoAndStop(1); } } onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 138 { menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); } button 8245 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 8246 { } movieClip 8244 { instance bus of movieClip 8197 { onClipEvent (load) { if (_global.eventArray[38] != true) { gotoAndStop(1); } else { gotoAndStop(2); } } } } movieClip 8291 { } button 8292 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8294 { on (rollOver) { _root.dynHelp = 'quarter'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 8293 { frame 1 { if (_global.showItem[13] != false) { stop(); } else { gotoAndStop(2); } } } button 8296 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8297 { on (rollOver) { _root.dynHelp = 'guy'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 8243 { frame 23 { _global.changeScene('cityStreet1', 1, false); } instance johnny of movieClip 7750 { onClipEvent (enterFrame) { _yscale = _y / 8 + 40; setProperty('', _yscale, _y / 8 + 40); _xscale = _yscale * (Math.abs(_xscale) / _xscale); setProperty('', _xscale, _yscale * (Math.abs(_xscale) / _xscale)); if (!(Math.abs(-_x + destX) > 6 || Math.abs(-_y + destY) > 6)) { if (_currentframe >= 4) { gotoAndStop(_currentframe - 3); } } else { if (offsetY != 0) { locomoteY(3); ++offSetY; } else { oldBGX = _parent.bg._x; oldX = _x; oldY = _y; wentX = false; wentY = false; locomoteX((Math.abs(-_x + destX) / (-_x + destX)) * 3); if (oldX != _x || oldBGX != _parent.bg._x) { wentX = true; } if (!(xFirst > 0 && wentX && offsetY == 0)) { locomoteY((Math.abs(-_y + destY) / (-_y + destY)) * 3); if (oldY != _y) { wentY = true; } xFirst = 0; } if (!wentX && !wentY) { xFirst = 30; offsetY = -5; } } } } onClipEvent (load) { function locomoteX(inc) { if (_parent.walkRange.hitTest(_x + inc, _y, true)) { --xFirst; if (Math.abs(-_x + destX) > 6) { if (!((inc > 0 && (_x < 250 || _parent.bg._x <= -710) || inc < 0) && (_x > 150 || _parent.bg._x >= -33))) { destX -= inc; _parent.bg._x -= inc; } else { _x = _x + inc; setProperty('', _x, _x + inc); } _xscale = Math.abs(_xscale) * (Math.abs(inc) / inc); setProperty('', _xscale, Math.abs(_xscale) * (Math.abs(inc) / inc)); gotoAndStop(4); } return true; } return false; } function locomoteY(inc) { if (_parent.walkRange.hitTest(_x, _y + inc, true)) { if (Math.abs(-_y + destY) > 6 || offsetY != 0) { _y = _y + inc; setProperty('', _y, _y + inc); _xscale = Math.abs(_xscale); setProperty('', _xscale, Math.abs(_xscale)); if (inc <= 0) { gotoAndStop(6); } else { gotoAndStop(5); } } return true; } return false; } _xscale = -Math.abs(_xscale); setProperty('', _xscale, -Math.abs(_xscale)); gotoAndStop(4); } onClipEvent (load) { oldBGX = _parent.bg._x; destX = _x; destY = _y; offsetY = 0; xFirst = 0; oldX = _x; oldY = _y; } } frame 52 { _global.music2.stop('music2'); _global.changeScene('storeMain1', 1, false); } frame 95 { bg.quarter.gotoAndStop(2); _global.addInvItem(13); } frame 103 { _global.changeScene('cityStreet1', 1, false); } frame 140 { _global.changeScene('cityStreet1', 1, false); } frame 229 { _root.xSep = -351; _root.johnnyX = 287; _root.johnnyY = 136; _global.changeScene('cityStreet1', 1, false); } frame 291 { _root.xSep = -351; _root.johnnyX = 287; _root.johnnyY = 136; _global.eventArray[4] = true; _global.changeScene('cityStreet1', 1, false); } frame 335 { _root.johnnyX = 331.3999938964844; _root.johnnyY = 174.8999938964844; _global.eventArray[7] = true; _global.music2.stop('music2'); _global.changeScene('sewer1', 1, false); } frame 346 { _global.water1.stop('water1'); _global.water2.stop('water2'); _root.xSep = -351; } frame 391 { _root.xSep = -351; _root.johnnyX = 287; _root.johnnyY = 136; _global.changeScene('cityStreet1', 1, false); } frame 502 { _global.changeScene('cityStreet1', 1, false); } frame 789 { _global.changeScene('cityStreet1', 1, false); } } instance mainClip of movieClip 8243 { onClipEvent (load) { birthX = _x; _x = _x + _root.xSep; setProperty('', _x, _x + _root.xSep); } } frame 139 { _root.menuMain.gotoAndStop(2); } button 8325 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8326 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8327 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8328 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8329 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8330 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8331 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8332 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8333 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8335 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8336 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8338 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8340 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8342 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8343 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8345 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8346 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8347 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8348 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8349 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8350 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8351 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8352 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8353 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8354 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8355 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8356 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8357 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8358 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8359 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8360 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8361 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8362 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8363 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8364 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8365 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8366 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8367 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8369 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8371 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8373 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8374 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8376 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8378 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8379 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8381 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8383 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8384 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8386 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8387 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8389 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8391 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8392 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8394 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8396 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8397 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8398 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8399 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8400 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8401 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8403 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8404 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8405 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8406 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8407 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8408 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8409 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8410 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8411 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8412 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8413 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8414 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8415 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8416 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8417 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8418 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8419 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8420 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8421 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8422 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8423 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8424 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8425 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8426 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8427 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8428 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8429 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8430 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8431 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8432 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8433 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8434 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8435 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8436 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8437 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8438 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8439 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8440 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8441 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8442 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8443 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8444 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8445 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8446 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8447 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8448 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8449 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8450 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8451 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8452 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8453 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8454 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8455 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8456 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8457 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8458 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8459 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8460 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8461 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8462 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8463 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8464 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8465 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8466 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8467 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8468 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8469 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8470 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8471 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8472 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8473 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8474 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8475 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8476 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8477 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8478 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8479 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8480 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8481 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8482 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8483 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8484 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8485 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8486 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8487 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8488 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8489 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8490 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8491 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8492 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8493 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8494 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8495 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8496 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8497 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8498 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8500 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8502 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8504 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8506 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8507 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8509 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8511 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8513 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8515 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8517 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8518 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8521 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8522 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8524 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8526 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8528 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8529 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8531 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8532 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8534 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8536 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8538 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8540 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8542 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8543 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8544 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8546 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8547 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8549 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8551 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8553 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8555 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8556 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8558 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8560 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8561 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8563 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8564 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8566 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8567 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8569 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8571 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8574 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8575 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8577 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8578 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8580 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8582 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8584 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8585 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8588 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8591 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8593 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8595 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8597 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8599 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8600 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8603 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8604 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8605 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8607 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8608 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8611 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8612 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8615 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8616 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8618 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8619 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8621 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8623 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8624 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8625 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8626 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8627 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8628 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8629 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8630 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8702 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 8705 { } movieClip 8708 { frame 81 { stop(); } } movieClip 8716 { frame 99 { stop(); } } movieClip 8324 { frame 1 { animFrames = new Array(); animFrames = [1, 119, 245, 330, 434, 603]; gotoAndPlay(animFrames[random(animFrames.length)]); } frame 118 { _global.changeScene('apartOutside1', 171, false); } frame 244 { _global.changeScene('apartOutside1', 171, false); } frame 329 { _global.changeScene('apartOutside1', 171, false); } frame 433 { _global.changeScene('apartOutside1', 171, false); } frame 520 { _root.menuMain.gotoAndStop(2); saveLastX = _x; _x = 200; setProperty('', _x, 200); } frame 543 { _root.menuMain.gotoAndStop(2); _x = saveLastX; setProperty('', _x, saveLastX); } frame 602 { _global.changeScene('apartOutside1', 171, false); } frame 746 { _global.changeScene('apartOutside1', 171, false); } } frame 141 { menuMain.gotoAndStop(2); cursor.gotoAndStop(1); } button 8748 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } button 8750 { on (release) { gotoAndStop(random(9) + 2); } } button 8753 { on (release) { gotoAndStop(random(9) + 2); } } button 8756 { on (release) { _global.changeScene('cityStreet1', 1, false); } } movieClip 8747 { } instance cursor of movieClip 6658 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; } } frame 143 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); } button 8770 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 8769 { frame 184 { _global.changeScene('cityStreet1', 1, false); } } frame 145 { menuMain.gotoAndStop(2); } movieClip 8784 { frame 368 { _global.changeScene('cityStreet1', 1, false); } frame 765 { _global.changeScene('cityStreet1', 1, false); } frame 1132 { _global.changeScene('cityStreet1', 1, false); } } frame 147 { _root.menuMain.gotoAndStop(2); _global.music2.stop('music2'); _global.music4.start(0, 9999); } button 8900 { on (release) { gotoAndPlay(203); } } button 8903 { on (release) { gotoAndPlay(115); } } button 8906 { on (release) { gotoAndPlay(65); } } button 8909 { on (release) { gotoAndPlay(165); } } button 8916 { on (release) { gotoAndPlay(419); } } button 8919 { on (release) { gotoAndPlay(329); } } button 8922 { on (release) { gotoAndPlay(272); } } button 8925 { on (release) { gotoAndPlay(165); } } button 8928 { on (release) { gotoAndPlay(1455); } } button 8934 { on (release) { gotoAndPlay(485); } } button 8937 { on (release) { gotoAndPlay(485); } } button 8940 { on (release) { gotoAndPlay(485); } } button 8943 { on (release) { gotoAndPlay(165); } } button 8947 { on (release) { gotoAndPlay(596); } } button 8950 { on (release) { gotoAndPlay(646); } } button 8953 { on (release) { gotoAndPlay(695); } } button 8956 { on (release) { gotoAndPlay(596); } } button 8959 { on (release) { gotoAndPlay(165); } } button 8965 { on (release) { gotoAndPlay(777); } } button 8968 { on (release) { gotoAndPlay(777); } } button 8971 { on (release) { gotoAndPlay(777); } } button 8974 { on (release) { gotoAndPlay(777); } } button 8977 { on (release) { gotoAndPlay(165); } } button 8982 { on (release) { gotoAndPlay(919); } } button 8985 { on (release) { gotoAndPlay(919); } } button 8988 { on (release) { gotoAndPlay(919); } } button 8991 { on (release) { gotoAndPlay(919); } } button 8994 { on (release) { gotoAndPlay(165); } } button 9000 { on (release) { gotoAndPlay(165); } } button 9003 { on (release) { gotoAndPlay(1108); } } button 9006 { on (release) { gotoAndPlay(1108); } } button 9009 { on (release) { gotoAndPlay(165); } } button 9015 { on (release) { gotoAndPlay(165); } } button 9018 { on (release) { gotoAndPlay(1315); } } button 9021 { on (release) { _global.eventArray[36] = true; gotoAndPlay(1384); } } button 9024 { on (release) { gotoAndPlay(165); } } movieClip 8892 { frame 64 { stop(); } frame 114 { gotoAndStop(64); } frame 164 { gotoAndStop(64); } frame 202 { _global.music4.stop('music4'); _global.music2.start(0, 9999); _global.changeScene('cityStreet1', 1, false); } frame 269 { stop(); } frame 325 { gotoAndStop(269); } frame 418 { gotoAndStop(484); } frame 483 { gotoAndStop(776); } frame 484 { stop(); } frame 595 { stop(); } frame 645 { gotoAndStop(595); } frame 694 { gotoAndStop(595); } frame 776 { stop(); } frame 918 { stop(); } frame 1107 { stop(); } frame 1314 { stop(); } frame 1383 { gotoAndStop(1314); } frame 1454 { _global.music4.stop('music4'); _global.music2.start(0, 9999); _global.changeScene('cityStreet1', 1, false); } frame 1559 { gotoAndStop(269); } } instance cursor of movieClip 6658 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; } } frame 149 { _root.menuMain.gotoAndStop(2); _global.music2.stop('music2'); _global.music4.start(0, 9999); } button 9035 { on (release) { gotoAndPlay(191); } } button 9038 { on (release) { gotoAndPlay(101); } } button 9041 { on (release) { gotoAndPlay(57); } } button 9044 { on (release) { gotoAndPlay(468); } } button 9050 { on (release) { if (_global.hasItem(21) != true) { gotoAndPlay(235); } else { _global.eventArray[37] = true; _global.removeInvItem(21); gotoAndPlay(512); } } } button 9053 { on (release) { gotoAndPlay(317); } } button 9056 { on (release) { gotoAndPlay(406); } } button 9064 { on (release) { gotoAndPlay(652); } } button 9067 { on (release) { gotoAndPlay(652); } } button 9070 { on (release) { gotoAndPlay(612); } } button 9073 { on (release) { gotoAndPlay(652); } } movieClip 9032 { frame 56 { stop(); } frame 100 { gotoAndStop(56); } frame 190 { gotoAndStop(56); } frame 234 { stop(); } frame 316 { _global.changeScene('cityStreet1', 1, false); } frame 354 { _global.music4.stop('music4'); _global.music2.start(0, 9999); _global.changeScene('cityStreet1', 1, false); } frame 405 { gotoAndStop(56); } frame 467 { gotoAndStop(56); } frame 511 { _global.music4.stop('music4'); _global.music2.start(0, 9999); _global.changeScene('cityStreet1', 1, false); } frame 611 { stop(); } frame 955 { _global.eventArray[38] = true; _global.music4.stop('music4'); _global.music2.start(0, 9999); _global.changeScene('cityStreet1', 1, false); } } instance cursor of movieClip 6658 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; } } frame 151 { _root.menuMain.gotoAndStop(2); } button 9083 { on (rollOver) { _root.dynHelp = 'trash can'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 9082 { frame 1 { stopAllSounds(); } frame 557 { _global.changeScene('offBus1'); } } instance mainClip of movieClip 9082 { onClipEvent (keyDown) { if (Key.isDown(32)) { _global.changeScene('offBus', 1, true); } } } frame 153 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(1); _global.showSpeechBox(); } movieClip 9146 { } instance of movieClip 9146 { onClipEvent (load) { _global.music3.start(0, 9999); } } button 9154 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'seltzer'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 9153 { frame 1 { if (_global.showItem[8] != false) { stop(); } else { gotoAndStop(2); } } } button 9157 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'crack'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 9156 { } button 9160 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'cooler'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 9159 { } button 9163 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'liquor'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 9162 { } button 9166 { on (rollOver) { _root.dynHelp = 'clerk'; } on (rollOut) { _root.dynHelp = ''; } } movieClip 9165 { } movieClip 9168 { } button 9171 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'snacks'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 9170 { } button 9174 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'arcade game'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 9173 { } button 9177 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'tray'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 9176 { } button 9180 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'door'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 9179 { } movieClip 9182 { } button 9185 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'barrel'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 9184 { } button 9188 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'forty'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 9187 { frame 1 { if (_global.showItem[15] != false) { stop(); } else { gotoAndStop(2); } } } movieClip 9149 { frame 1 { stop(); } instance johnny of movieClip 7750 { onClipEvent (enterFrame) { _yscale = (_y / 6.199999809265137) * (1 + _y / 140) - 10; setProperty('', _yscale, (_y / 6.199999809265137) * (1 + _y / 140) - 10); _xscale = _yscale * (Math.abs(_xscale) / _xscale); setProperty('', _xscale, _yscale * (Math.abs(_xscale) / _xscale)); if (!(Math.abs(-_x + destXNext) > 6 || Math.abs(-_y + destYNext) > 6)) { if (!(Math.abs(-_x + destX) > 6 || Math.abs(-_y + destY) > 6)) { if (_currentframe >= 4 || _parent.cursorFrame > 1) { _parent.walkPath = []; destWas = _parent.textDest; _parent.textDest = 'random'; if (_parent.cursorFrame != 3) { if (_parent.cursorFrame != 4) { if (_parent.cursorFrame != 5) { if (_parent.cursorFrame != 2) { if (_parent.cursorFrame != 1) { if (_parent.cursorFrame < 6 && _parent.cursorFrame > 1 && _parent.cursorFrame != 3) { trace('invItFrame ' + _parent.invItFrame); if (_root.stationed == false) { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)], 5, 75); } if (_currentframe > 3) { gotoAndStop(_currentframe - 3); } } } else { gotoAndStop(_currentframe - 3); } } else { if (destWas != 'clerk') { if (destWas != 'seltzer') { if (destWas != 'forty') { if (destWas != 'arcade') { if (destWas != 'snacks') { if (destWas != 'cooler') { if (destWas != 'liquor') { if (destWas != '' && destWas != 'random') { _global.talk(3, _global.mouthNegs[random(_global.mouthNegs.length)]); } } else { _global.talk(2, 'No time for that now.'); } } else { _global.talk(2, 'The only thing I\'m thirsty for is revenge.'); } } else { _global.talk(2, 'I\'d need to pay for them first.'); } } else { _global.talk(3, 'Communication will only feed its unholy power.'); } } else { _global.talk(2, 'I\'m still drunk from last night.'); } } else { _global.talk(2, 'My stomach feels fine, for now at least.'); } } else { _global.eventArray[39] = true; _global.changeScene('storeTalk1'); } } } else { if (destWas != 'seltzer') { if (destWas != 'tray') { if (destWas != 'barrel') { if (destWas != 'forty') { if (destWas != 'arcade') { if (destWas != 'crackInside') { if (destWas != 'clerk') { if (destWas != 'cooler') { if (destWas != 'liquor') { if (destWas == 'snacks') { _global.talk(3, _global.snackDiag[random(_global.snackDiag.length)]); } } else { _global.talk(2, 'I need it.'); } } else { _global.talk(2, 'It\'s full of *shudder* non-alcoholic beverages.'); } } else { _global.talk(2, 'He looks miserable.'); } } else { _global.talk(2, 'There\'s a bit of light coming through.'); } } else { _global.talk(3, _global.arcadeDiag[random(_global.arcadeDiag.length)]); } } else { _global.talk(2, 'Looks refreshing.'); } } else { _global.talk(2, 'Nice Barrel.'); } } else { _global.talk(2, 'It\'s a tray holding packs of seltzer.'); } } else { _global.talk(2, '"Fizzy Tabs: Relieves stomach of pain and nausea."'); } } } else { if (!(destWas == 'crackInside' && _parent.invItFrame == 15)) { if (!(destWas == 'crackInside' && _parent.invItFrame == 8)) { if (!(destWas == 'barrel' && _parent.invItFrame == 15)) { if (!(destWas == 'tray' && _parent.invItFrame == 8)) { if (!(destWas == 'cooler' && _parent.invItFrame == 15)) { if (!(destWas == 'cooler' && _parent.invItFrame == 19)) { if (destWas != 'arcade') { if (!(destWas == 'clerk' && _parent.invItFrame == 23)) { if (destWas != 'clerk') { if (!(_parent.invItFrame == 5 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 10 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 12 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 21 && destWas != '' && destWas != 'random')) { if (destWas != '' && destWas != 'random') { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)]); } } else { _global.talk(3, 'My pyro phase ended at thirteen.'); } } else { _global.talk(3, _global.knifeNegs[random(_global.knifeNegs.length)]); } } else { _global.talk(3, _global.gumNegs[random(_global.gumNegs.length)]); } } else { _global.talk(3, _global.keyNegs[random(_global.keyNegs.length)]); } } else { _global.talk(2, 'I don\'t think he\'d want that.'); } } else { _global.talk(3, 'I should talk to him about what I want to buy first.'); } } else { if (_parent.invItFrame != 16) { if (_parent.invItFrame != 12) { if (_parent.invItFrame != 5) { if (_parent.invItFrame != 13) { if (_parent.invItFrame == 23 || _parent.invItFrame == 24) { _global.talk(2, 'Maybe later.'); } } else { _global.talk(2, 'I don\'t have time right now.'); } } else { _global.talk(1, 'It doesn\'t fit.'); } } else { _global.talk(2, 'Heheh, that would make me feel better.'); } } else { _global.talk(2, 'I\'d love to give this thing a beating.'); } } } else { _global.talk(3, 'Refrigerating the burger won\'t make it any less nasty.'); } } else { _global.talk(2, 'It\'s already cold.'); } } else { _parent.seltzer.gotoAndStop(1); _global.removeInvItem(8); _global.showItem[8] = true; } } else { _parent.forty.gotoAndStop(1); _global.removeInvItem(15); _global.showItem[15] = true; } } else { _global.eventArray[44] = true; _root.cursor.gotoAndStop(6); _root.menuMain.gotoAndStop(2); _parent.saveX = _x; _parent.saveY = _y; _parent.gotoAndPlay(88); } } else { _global.eventArray[44] = true; _root.cursor.gotoAndStop(6); _global.eventArray[17] = true; _global.removeInvItem(15); _root.menuMain.gotoAndStop(2); _parent.saveX = _x; _parent.saveY = _y; _parent.gotoAndPlay(2); } } } else { if (!(destWas == 'doorOut' && _parent.cursorFrame == 3)) { if (!(destWas == 'forty' && _parent.cursorFrame == 3)) { if (!(destWas == 'seltzer' && _parent.cursorFrame == 3)) { if (destWas != 'crackInside') { if (destWas != 'clerk') { if (destWas != 'cooler') { if (destWas != 'arcade') { if (destWas != 'tray') { if (destWas != 'barrel') { if (destWas != 'snacks') { if (destWas == 'liquor') { _global.talk(2, 'I\'ll get smashed later.'); } } else { _global.talk(2, 'It\'d be bad for my acne.'); } } else { _global.talk(2, 'I can\'t pick that up.'); } } else { _global.talk(2, 'I don\'t need the tray, I need the seltzer.'); } } else { _global.talk(2, 'I won\'t give it the satisfaction.'); } } else { _global.talk(2, 'I don\'t want any of this crap.'); } } else { _global.talk(2, 'Not my type.'); } } else { _global.talk(2, 'Feels cracktacular.'); } } else { _parent.seltzer.gotoAndStop(2); _global.addInvItem(8); _global.talk(2, 'I\'ll just take these..'); } } else { _parent.forty.gotoAndStop(2); _global.addInvItem(15); _global.talk(2, ''); } } else { if (!((_global.showItem[15] == false && _global.eventArray[17] != true || _global.showItem[8] == false) && _global.eventArray[18] != true)) { _global.changeScene('cityStreet1', 1, false); } else { _global.changeScene('storeTalkGun1'); } } } _parent.cursorFrame = 1; } } else { _x = destXNext; setProperty('', _x, destXNext); _y = destYNext; setProperty('', _y, destYNext); possPoints = _parent.navPoints; possPoints.push([destX, destY]); lowestYet = 99999; lowestYetID = 999; for (i in possPoints) { if (_parent.unobstructed(_x, _y, possPoints[i][0], possPoints[i][1]) && (_x != possPoints[i][0] || _y != possPoints[i][1])) { combinedDist = Math.abs(destX - possPoints[i][0]) + Math.abs(destY - possPoints[i][1]); if (combinedDist < lowestYet) { lowestYet = combinedDist; lowestYetID = i; } } } destXNext = possPoints[lowestYetID][0]; destYNext = possPoints[lowestYetID][1]; possPoints.pop(); _global.reduceRatio(destXNext - _x, destYNext - _y, 3); xPace = reducedX; yPace = reducedY; if (Math.abs(xPace) <= Math.abs(yPace)) { if (yPace <= 0) { gotoAndStop(6); _xscale = Math.abs(_xscale); setProperty('', _xscale, Math.abs(_xscale)); } else { gotoAndStop(5); _xscale = Math.abs(_xscale); setProperty('', _xscale, Math.abs(_xscale)); } } else { gotoAndStop(4); _xscale = Math.abs(_xscale) * (xPace / Math.abs(xPace)); setProperty('', _xscale, Math.abs(_xscale) * (xPace / Math.abs(xPace))); } _parent.walkPath.pop(); } } else { locomote(xPace, yPace); } } onClipEvent (load) { function locomote(incX, incY) { _x = _x + incX; setProperty('', _x, _x + incX); _y = _y + incY; setProperty('', _y, _y + incY); } _yscale = (_y / 6.199999809265137) * (1 + _y / 140) - 10; setProperty('', _yscale, (_y / 6.199999809265137) * (1 + _y / 140) - 10); _xscale = _yscale; setProperty('', _xscale, _yscale); _xscale = -Math.abs(_xscale); setProperty('', _xscale, -Math.abs(_xscale)); stop(); _root.menuMain.gotoAndStop(1); if (_global.eventArray[44] != true) { if (_global.eventArray[39] != true) { if (!_parent.firstLoad) { _x = _parent.saveX; setProperty('', _x, _parent.saveX); _y = _parent.saveY; setProperty('', _y, _parent.saveY); } else { _parent.firstLoad = false; } } else { _x = 139; setProperty('', _x, 139); _y = 185; setProperty('', _y, 185); _global.eventArray[39] = false; } } else { _global.eventArray[44] = false; _x = 309; setProperty('', _x, 309); _y = 178; setProperty('', _y, 178); } destXNext = _x; destYNext = _y; destX = _x; destY = _y; possPoints = new Array(); _root.cursor.gotoAndStop(1); } } frame 2 { _root.dynHelp = ''; } frame 78 { gotoAndStop(1); } frame 88 { _root.dynHelp = ''; } frame 167 { gotoAndStop(1); } } instance mainClip of movieClip 9149 { onClipEvent (load) { function unobstructed(x1, y1, x2, y2) { moveLim = 2; iterX = x1; iterY = y1; _global.reduceRatio(x2 - x1, y2 - y1, moveLim); for (;;) { if (!(Math.abs(x2 - iterX) > moveLim || Math.abs(y2 - iterY) > moveLim)) break; if (!walkRange.hitTest(iterX, iterY, true)) { return false; } iterX += _global.reducedX; iterY += _global.reducedY; } return true; } firstLoad = true; navPoints = new Array(); navPoints = [[177, 158], [177, 177], [168, 205], [301, 203]]; } } instance cursor of movieClip 6658 { onClipEvent (mouseDown) { _root.mainClip.cursorFrame = _currentframe; _root.mainClip.invItFrame = invIt._currentframe; if (_currentframe <= 5) { oldDestY = _root.mainClip.johnny.destY; if (!_root.mainClip.crackInside.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.arcade.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.cooler.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.forty.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.barrel.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.seltzer.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.doorOut.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.tray.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.snacks.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.clerk.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.mainClip.liquor.hitTest(_root._xmouse, _root._ymouse, true)) { if (_root.mainClip.walkRange.hitTest(_root._xmouse, _root._ymouse, true)) { _root.mainClip.johnny.destX = _root._xmouse; _root.mainClip.johnny.destY = _root._ymouse; _root.mainClip.textDest = 'random'; } } else { _root.mainClip.johnny.destX = 145; _root.mainClip.johnny.destY = 190; _root.mainClip.textDest = 'liquor'; } } else { _root.mainClip.johnny.destX = 139; _root.mainClip.johnny.destY = 185; _root.mainClip.textDest = 'clerk'; } } else { _root.mainClip.johnny.destX = 124; _root.mainClip.johnny.destY = 215; _root.mainClip.textDest = 'snacks'; } } else { _root.mainClip.johnny.destX = 124; _root.mainClip.johnny.destY = 215; _root.mainClip.textDest = 'tray'; } } else { _root.mainClip.johnny.destX = 180; _root.mainClip.johnny.destY = 156; _root.mainClip.textDest = 'doorOut'; } } else { _root.mainClip.johnny.destX = 124; _root.mainClip.johnny.destY = 215; _root.mainClip.textDest = 'seltzer'; } } else { _root.mainClip.johnny.destX = 234; _root.mainClip.johnny.destY = 220; _root.mainClip.textDest = 'barrel'; } } else { _root.mainClip.johnny.destX = 234; _root.mainClip.johnny.destY = 220; _root.mainClip.textDest = 'forty'; } } else { _root.mainClip.johnny.destX = 337; _root.mainClip.johnny.destY = 215; _root.mainClip.textDest = 'cooler'; } } else { _root.mainClip.johnny.destX = 257; _root.mainClip.johnny.destY = 172; _root.mainClip.textDest = 'arcade'; } } else { _root.mainClip.johnny.destX = 317; _root.mainClip.johnny.destY = 178; _root.mainClip.textDest = 'crackInside'; } newDestY = _root.mainClip.johnny.destY; if (oldDestY == newDestY) { _root.stationed = true; } else { _root.stationed = false; } } if (_global.instantPassed && !_root.menuMain.invScroll.hitTest(_root._xmouse, _root._ymouse, true) && _currentframe != 6) { gotoAndStop(1); } } onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 155 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(1); } button 9200 { on (release) { if (diag1._currentframe <= minID) { writeDialogue(minID, false); } else { writeDialogue(diag1._currentframe - 1, true); } } } button 9201 { on (release) { if (diag3._currentframe < maxID) { writeDialogue(diag1._currentframe + 1, false); } } } button 9203 { on (release) { _global.eventArray[32] = true; _global.changeScene('storeTalkB1', 1021, true); } } button 9207 { on (release) { _global.eventArray[19] = true; _global.changeScene('storeTalkForty1', 2, true); } } button 9210 { on (release) { _global.eventArray[20] = true; _global.changeScene('storeTalkForty1', 1180, true); } } button 9213 { on (release) { _global.eventArray[21] = true; _global.changeScene('storeTalkForty1', 1460, true); } } button 9216 { on (release) { _global.changeScene('storeTalkForty1', 1750, true); } } movieClip 9206 { } button 9219 { on (release) { _global.changeScene('storeTalkSeltzer1', 1, true); } } button 9222 { on (release) { _global.eventArray[33] = true; _global.changeScene('storeTalkB1', 1166, true); } } button 9226 { on (release) { _global.eventArray[22] = true; _global.changeScene('storeTalkGimme1', 2, true); } } button 9229 { on (release) { _global.eventArray[23] = true; _global.changeScene('storeTalkGimme1', 57, true); } } button 9232 { on (release) { _global.eventArray[24] = true; _global.changeScene('storeTalkGimme1', 124, true); } } button 9235 { on (release) { _global.eventArray[25] = true; _global.changeScene('storeTalkGimme1', 174, true); } } button 9238 { on (release) { _global.eventArray[26] = true; _global.changeScene('storeTalkGimme1', 237, true); } } button 9241 { on (release) { _global.eventArray[27] = true; _global.changeScene('storeTalkGimme1', 301, true); } } movieClip 9225 { } button 9245 { on (release) { if (_global.eventArray[16] != true) { _global.eventArray[16] = true; _global.changeScene('storeTalkB1', 2, true); } else { _global.changeScene('storeTalkB1', 238, true); } } } button 9249 { on (release) { _global.changeScene('storeTalkB1', 377, true); } } button 9252 { on (release) { _global.eventArray[29] = true; _global.changeScene('storeTalkB1', 740, true); } } button 9255 { on (release) { _global.eventArray[30] = true; _global.changeScene('storeTalkB1', 600, true); } } button 9258 { on (release) { _global.eventArray[31] = true; _global.changeScene('storeTalkB1', 920, true); } } movieClip 9248 { } button 9261 { on (release) { _global.changeScene('storeTalkHarass1', 1, true); } } button 9264 { on (release) { _global.changeScene('storeTalkB1', 1332, true); } } movieClip 9202 { instance of movieClip 9206 { onClipEvent (load) { if (_global.eventArray[21] != true) { if (_global.eventArray[20] != true) { if (_global.eventArray[19] != true) { gotoAndStop(1); } else { gotoAndStop(2); } } else { gotoAndStop(3); } } else { gotoAndStop(4); } } } instance of movieClip 9225 { onClipEvent (load) { if (_global.eventArray[26] != true) { if (_global.eventArray[25] != true) { if (_global.eventArray[24] != true) { if (_global.eventArray[23] != true) { if (_global.eventArray[22] != true) { gotoAndStop(1); } else { gotoAndStop(2); } } else { gotoAndStop(3); } } else { gotoAndStop(4); } } else { gotoAndStop(5); } } else { gotoAndStop(6); } } } instance of movieClip 9248 { onClipEvent (load) { if (_global.eventArray[30] != true) { if (_global.eventArray[29] != true) { if (_global.eventArray[28] != true) { gotoAndStop(1); } else { gotoAndStop(2); } } else { gotoAndStop(3); } } else { gotoAndStop(4); } } } } movieClip 9193 { frame 1 { function isExcluded(toCheck) { for (i in exclusions) { if (toCheck == exclusions[i]) { return true; } } return false; } function removeExclusion(toRemove) { for (i in exclusions) { if (exclusions[i] == toRemove) { firstHalf = exclusions.slice(0, i); secondHalf = exclusions.slice(int(i) + 1, exclusions.length); exclusions = firstHalf.concat(secondHalf); } } } function writeDialogue(from, upward) { written = 0; curCheck = from; do { if (isExcluded(curCheck)) { if (curCheck == from && upward) { writeDialogue(from - 1, true); return undefined; } } else { ++written; this['diag' + written].gotoAndStop(curCheck); if (written > 1) { this['diag' + written]._y = this['diag' + (written - 1)]._y + this['diag' + (written - 1)]._height + 5; } } ++curCheck; } while (written < 3); } stop(); minID = 1; maxID = 9; exclusions = new Array(); exclusions = [0, 5]; if (_global.eventArray[32]) { exclusions.push(1); } if ((!_global.hasItem(8) || !_global.hasItem(23)) && _global.showItem[23] == false) { exclusions.push(3); } if (!_global.hasItem(15) || _global.eventArray[17]) { exclusions.push(2); } if (_global.eventArray[33]) { exclusions.push(4); } if (_global.eventArray[27]) { exclusions.push(5); } if (_global.eventArray[31]) { exclusions.push(7); } writeDialogue(1); } instance diag2 of movieClip 9202 { onClipEvent (enterFrame) { if (this.hitTest(_parent.diag1) || this.hitTest(_parent.diag2)) { _parent.writeDialogue(_parent.diag1._currentframe); trace('Rewritten'); } } } } instance cursor of movieClip 6658 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 157 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(1); } movieClip 9268 { frame 233 { _global.changeScene('storeTalk1', 1, false); } frame 361 { _global.changeScene('storeTalk1', 1, false); } frame 521 { gotoAndPlay(530); } frame 591 { _global.changeScene('storeTalk1', 1, false); } frame 736 { _global.changeScene('storeTalk1', 1, false); } frame 899 { _global.changeScene('storeTalk1', 1, false); } frame 1011 { _global.changeScene('storeTalk1', 1, false); } frame 1156 { _global.changeScene('storeTalk1', 1, false); } frame 1268 { _global.changeScene('storeTalk1', 1, false); } frame 1333 { _global.changeScene('storeMain1', 1, false); } } instance cursor of movieClip 6658 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 159 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(1); } movieClip 9301 { frame 50 { _global.changeScene('storeTalk1', 1, false); } frame 119 { _global.changeScene('storeTalk1', 1, false); } frame 168 { _global.changeScene('storeTalk1', 1, false); } frame 232 { _global.changeScene('storeTalk1', 1, false); } frame 297 { _global.changeScene('storeTalk1', 1, false); } frame 355 { _global.changeScene('storeTalk1', 1, false); } } instance cursor of movieClip 6658 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 161 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(1); } button 9313 { on (release) { if (diag1._currentframe <= minID) { writeDialogue(minID); } else { writeDialogue(diag1._currentframe - 1); } } } button 9314 { on (release) { if (diag3._currentframe < maxID) { writeDialogue(diag1._currentframe + 1); } } } button 9316 { on (release) { _parent.gotoAndPlay(78); } } button 9319 { on (release) { _parent.gotoAndPlay(174); } } button 9322 { on (release) { _parent.gotoAndPlay(608); } } button 9325 { on (release) { _parent.gotoAndPlay(807); } } button 9329 { on (release) { _parent.gotoAndPlay(730); } } movieClip 9315 { } button 9336 { on (release) { gotoAndPlay(257); } } button 9339 { on (release) { gotoAndPlay(325); } } button 9342 { on (release) { gotoAndPlay(405); } } button 9350 { on (release) { gotoAndPlay(493); } } button 9353 { on (release) { gotoAndPlay(493); } } button 9356 { on (release) { gotoAndPlay(493); } } button 9357 { on (release) { gotoAndPlay(543); } } button 9360 { on (release) { gotoAndPlay(543); } } button 9364 { on (release) { gotoAndPlay(543); } } button 9375 { on (release) { gotoAndPlay(1072); } } button 9378 { on (release) { gotoAndPlay(883); } } button 9381 { on (release) { gotoAndPlay(979); } } button 9390 { on (release) { gotoAndPlay(1138); } } button 9393 { on (release) { gotoAndPlay(1138); } } button 9396 { on (release) { gotoAndPlay(1828); } } movieClip 9310 { frame 77 { function writeDialogue(from) { written = 0; curCheck = from; do { ++written; this['diag' + written].gotoAndStop(curCheck); if (written > 1) { this['diag' + written]._y = this['diag' + (written - 1)]._y + this['diag' + (written - 1)]._height + 5; } ++curCheck; } while (written < 3); } stop(); minID = 1; maxID = 5; writeDialogue(1); } frame 162 { _global.changeScene('storeTalk1', 1, false); } frame 256 { stop(); } frame 315 { gotoAndStop(542); } frame 400 { _global.changeScene('storeTalk1', 1, false); } frame 492 { stop(); } frame 541 { _global.changeScene('storeTalk', 1, false); } frame 542 { stop(); } frame 606 { _global.changeScene('storeTalk1', 1, false); } frame 718 { _global.changeScene('storeTalk1', 1, false); } frame 796 { _global.changeScene('storeTalk1', 1, false); } frame 882 { stop(); } frame 957 { _global.changeScene('storeTalk1', 1, false); } frame 1069 { gotoAndStop(882); } frame 1137 { stop(); } frame 1178 { _global.changeScene('storeTalk1', 1, false); } frame 1459 { _global.changeScene('storeTalk1', 1, false); } frame 1748 { _global.changeScene('storeTalk1', 1, false); } frame 1812 { _global.changeScene('storeTalk1', 1, false); } frame 1892 { _global.changeScene('storeTalk1', 1, false); } } instance cursor of movieClip 6658 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 163 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(1); } movieClip 9429 { frame 200 { _global.changeScene('storeTalk1', 1, false); } frame 288 { _global.changeScene('storeTalk1', 1, false); } frame 387 { _global.changeScene('storeTalk1', 1, false); } } instance mainClip of movieClip 9429 { onClipEvent (load) { if (!_global.hasItem(23)) { if (random(2) != 1) { gotoAndPlay(2); } else { gotoAndPlay(202); } } else { _global.removeInvItem(23); _global.eventArray[18] = true; gotoAndPlay(291); } } } instance cursor of movieClip 6658 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 165 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(1); } movieClip 9437 { frame 2 { startFrames = new Array(); startFrames = [3, 189, 405, 712, 861, 1137, 1680, 2060]; gotoAndPlay(startFrames[random(8)]); } frame 183 { _global.changeScene('storeTalk1', 1, false); } frame 403 { _global.changeScene('storeTalk1', 1, false); } frame 709 { _global.changeScene('storeTalk1', 1, false); } frame 858 { _global.changeScene('storeTalk1', 1, false); } frame 1134 { _global.changeScene('storeTalk1', 1, false); } frame 1677 { _global.changeScene('storeTalk1', 1, false); } frame 2064 { _global.changeScene('storeTalk1', 1, false); } frame 2561 { _global.changeScene('storeTalk1', 1, false); } } instance cursor of movieClip 6658 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 167 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); _global.music3.stop('music3'); } button 9516 { on (release) { gotoAndPlay(107); } } button 9519 { on (release) { gotoAndPlay(358); } } button 9522 { on (release) { _global.changeScene('storeMain1', 1, false); } } button 9525 { on (release) { gotoAndPlay(409); } } button 9528 { on (release) { if (_global.hasItem(15) && !_global.eventArray[17]) { _global.removeInvItem(15); _global.showItem[15] = true; } if (_global.hasItem(8) && !_global.eventArray[18]) { _global.removeInvItem(8); _global.showItem[8] = true; } _global.changeScene('cityStreet1', 1, false); } } button 9531 { on (release) { gotoAndPlay(458); } } button 9534 { on (release) { gotoAndPlay(107); } } button 9537 { on (release) { gotoAndPlay(798); } } button 9538 { on (release) { _global.changeScene('storeMain1', 1, false); } } button 9539 { on (release) { gotoAndPlay(849); } } button 9540 { on (release) { if (_global.hasItem(15) && !_global.eventArray[17]) { _global.removeInvItem(15); _global.showItem[15] = true; } if (_global.hasItem(8) && !_global.eventArray[18]) { _global.removeInvItem(8); _global.showItem[8] = true; } _global.changeScene('cityStreet1', 1, false); } } button 9541 { on (release) { gotoAndPlay(124); } } button 9544 { on (release) { gotoAndPlay(107); } } button 9547 { on (release) { _global.changeScene('storeMain1', 1, false); } } button 9548 { on (release) { gotoAndPlay(560); } } button 9549 { on (release) { if (_global.hasItem(15) && !_global.eventArray[17]) { _global.removeInvItem(15); _global.showItem[15] = true; } if (_global.hasItem(8) && !_global.eventArray[18]) { _global.removeInvItem(8); _global.showItem[8] = true; } _global.changeScene('cityStreet1', 1, false); } } button 9550 { on (release) { gotoAndPlay(509); } } button 9551 { on (release) { gotoAndPlay(107); } } button 9552 { on (release) { gotoAndPlay(107); } } button 9555 { on (release) { _global.changeScene('storeMain1', 1, false); } } button 9556 { on (release) { if (_global.hasItem(15) && !_global.eventArray[17]) { _global.removeInvItem(15); _global.showItem[15] = true; } if (_global.hasItem(8) && !_global.eventArray[18]) { _global.removeInvItem(8); _global.showItem[8] = true; } _global.changeScene('cityStreet1', 1, false); } } button 9557 { on (release) { gotoAndPlay(609); } } button 9558 { on (release) { gotoAndPlay(107); } } button 9559 { on (release) { _global.changeScene('storeMain1', 1, false); } } button 9560 { on (release) { gotoAndPlay(660); } } button 9561 { on (release) { if (_global.hasItem(15) && !_global.eventArray[17]) { _global.removeInvItem(15); _global.showItem[15] = true; } if (_global.hasItem(8) && !_global.eventArray[18]) { _global.removeInvItem(8); _global.showItem[8] = true; } _global.changeScene('cityStreet1', 1, false); } } button 9562 { on (release) { gotoAndPlay(124); } } button 9563 { on (release) { gotoAndPlay(107); } } button 9566 { on (release) { gotoAndPlay(107); } } button 9567 { on (release) { _global.changeScene('storeMain1', 1, false); } } button 9568 { on (release) { if (_global.hasItem(15) && !_global.eventArray[17]) { _global.removeInvItem(15); _global.showItem[15] = true; } if (_global.hasItem(8) && !_global.eventArray[18]) { _global.removeInvItem(8); _global.showItem[8] = true; } _global.changeScene('cityStreet1', 1, false); } } button 9569 { on (release) { gotoAndPlay(660); } } button 9570 { on (release) { gotoAndPlay(124); } } movieClip 9571 { frame 344 { stop(); } } movieClip 9572 { frame 30 { stop(); } } button 9621 { on (release) { gotoAndPlay(1); } } button 9625 { on (release) { gotoAndPlay(352); } } button 9642 { on (release) { gotoAndPlay(107); } } button 9643 { on (release) { gotoAndPlay(107); } } button 9644 { on (release) { _global.changeScene('storeMain', 1, false); } } button 9645 { on (release) { if (_global.hasItem(15) && !_global.eventArray[17]) { _global.removeInvItem(15); _global.showItem[15] = true; } if (_global.hasItem(8) && !_global.eventArray[18]) { _global.removeInvItem(8); _global.showItem[8] = true; } _global.changeScene('cityStreet', 1, false); } } button 9646 { on (release) { gotoAndPlay(124); } } button 9647 { on (release) { gotoAndPlay(107); } } button 9648 { on (release) { _global.changeScene('storeMain1', 1, false); } } button 9649 { on (release) { gotoAndPlay(660); } } button 9650 { on (release) { if (_global.hasItem(15) && !_global.eventArray[17]) { _global.removeInvItem(15); _global.showItem[15] = true; } if (_global.hasItem(8) && !_global.eventArray[18]) { _global.removeInvItem(8); _global.showItem[8] = true; } _global.changeScene('cityStreet1', 1, false); } } button 9651 { on (release) { gotoAndPlay(124); } } movieClip 9501 { frame 98 { stop(); _root.cursor.gotoAndStop(1); } frame 99 { stop(); _root.cursor.gotoAndStop(1); } frame 100 { stop(); _root.cursor.gotoAndStop(1); } frame 101 { stop(); _root.cursor.gotoAndStop(1); } frame 102 { stop(); _root.cursor.gotoAndStop(1); } frame 103 { stop(); _root.cursor.gotoAndStop(1); } frame 104 { stop(); _root.cursor.gotoAndStop(1); } frame 107 { _root.cursor.gotoAndStop(6); } frame 108 { _global.music3.stop('music3'); _root.cursor.gotoAndStop(6); } frame 124 { _root.cursor.gotoAndStop(6); } frame 351 { _root.cursor.gotoAndStop(1); stop(); } frame 352 { stop(); } frame 402 { gotoAndPlay(100); } frame 451 { gotoAndPlay(101); } frame 502 { gotoAndPlay(99); } frame 553 { gotoAndPlay(102); } frame 602 { gotoAndPlay(103); } frame 653 { gotoAndStop(104); } frame 701 { gotoAndPlay(107); } frame 791 { gotoAndStop(891); } frame 842 { gotoAndStop(893); } frame 891 { gotoAndStop(892); } frame 892 { stop(); } frame 893 { stop(); } } instance cursor of movieClip 6658 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 169 { _global.showSpeechBox(); _global.eventArray[47] = true; } button 9659 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'dumpster'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 9658 { } button 9662 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'crates'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 9661 { } movieClip 9665 { } instance walkRange of movieClip 9665 { onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { _parent.johnny.destX = _root._xmouse; _parent.johnny.destY = _root._ymouse; } } } instance johnny of movieClip 7750 { onClipEvent (enterFrame) { if (!(Math.abs(-_x + destX) > 6 || Math.abs(-_y + destY) > 6)) { if (_currentframe >= 4 || _parent.cursorFrame > 1) { destWas = _parent.textDest; _parent.textDest = 'random'; if (_parent.cursorFrame != 3) { if (_parent.cursorFrame != 4) { if (_parent.cursorFrame != 5) { if (_parent.cursorFrame == 2) { if (destWas != 'dumpster') { if (destWas != '' && destWas != 'random') { _global.talk(3, _global.mouthNegs[random(_global.mouthNegs.length)]); } } else { _global.talk(2, 'Why would you have me do such a thing?'); } } } else { if (destWas != 'dumpster') { if (destWas != 'trashbag') { if (destWas == 'crates') { _global.talk(2, 'They\'re just full of old newspapers.'); } } else { _global.talk(2, 'Full of glorious new inventory items, no doubt.'); } } else { _global.talk(2, 'It\'s covered in eight different layers of filth.'); } } } else { if (!(destWas == 'trashbag' && _parent.invItFrame == 12)) { if (!(_parent.invItFrame == 5 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 10 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 12 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 21 && destWas != '' && destWas != 'random')) { if (destWas != 'dumpster') { if (destWas != '' && destWas != 'random') { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)]); } } else { _global.talk(2, 'I might need this later.'); } } else { _global.talk(3, 'My pyro phase ended at thirteen.'); } } else { _global.talk(3, _global.knifeNegs[random(_global.knifeNegs.length)]); } } else { _global.talk(3, _global.gumNegs[random(_global.gumNegs.length)]); } } else { _global.talk(3, _global.keyNegs[random(_global.keyNegs.length)]); } } else { _parent.guytrash.gotoAndStop(61); _global.addInvItem(17); _global.addInvItem(18); _global.addInvItem(19); _global.addInvItem(20); _global.talk(3, 'One man\'s trash is another Johnny\'s treasure.'); } } } else { if (destWas != 'trashbag') { if (destWas != 'crates') { if (destWas != 'dumpster') { if (destWas == 'leave alley') { } } else { _global.talk(2, 'I don\'t see anything of use inside.'); } } else { _global.talk(2, 'There\'s nothing I need inside.'); } } else { _global.talkXY(3, 'I can’t tear it, must be one of those super\ndurable trash bags of the future.', 15, 50); } } if (_currentframe > 3) { gotoAndStop(_currentframe - 3); } _parent.cursorFrame = 1; } } else { if (offsetY != 0) { locomoteY(3); ++offSetY; } else { oldX = _x; oldY = _y; wentX = false; wentY = false; locomoteX((Math.abs(-_x + destX) / (-_x + destX)) * 3); if (oldX != _x) { wentX = true; } if (!(xFirst > 0 && wentX && offsetY == 0)) { locomoteY((Math.abs(-_y + destY) / (-_y + destY)) * 3); if (oldY != _y) { wentY = true; } xFirst = 0; } if (!wentX && !wentY) { xFirst = 5; offsetY = -2; } } } } onClipEvent (load) { function locomoteX(inc) { if (_parent.walkRange.hitTest(_x + inc, _y, true)) { --xFirst; if (Math.abs(-_x + destX) > 6) { _x = _x + inc; setProperty('', _x, _x + inc); _xscale = Math.abs(_xscale) * (Math.abs(inc) / inc); setProperty('', _xscale, Math.abs(_xscale) * (Math.abs(inc) / inc)); gotoAndStop(4); } return true; } return false; } function locomoteY(inc) { if (_parent.walkRange.hitTest(_x, _y + inc, true)) { if (Math.abs(-_y + destY) > 6 || offsetY != 0) { _y = _y + inc; setProperty('', _y, _y + inc); _xscale = Math.abs(_xscale); setProperty('', _xscale, Math.abs(_xscale)); if (inc <= 0) { gotoAndStop(6); } else { gotoAndStop(5); } } return true; } return false; } _xscale = -Math.abs(_xscale); setProperty('', _xscale, -Math.abs(_xscale)); gotoAndStop(4); } onClipEvent (load) { destX = _x; destY = _y; offsetY = 0; xFirst = 0; oldX = _x; oldY = _y; } } button 9684 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'trashbag'; } } on (rollOut) { _root.dynHelp = ''; } } button 9686 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'trashbag'; } } on (rollOut) { _root.dynHelp = ''; } } button 9696 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'trashbag'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 9695 { } movieClip 9668 { frame 60 { _root.cursor.gotoAndStop(1); _global.eventArray[8] = true; stop(); } } instance guytrash of movieClip 9668 { onClipEvent (load) { if (_global.showItem[17] != false) { if (!_global.eventArray[8]) { if (!_global.eventArray[7]) { gotoAndStop(62); } else { _root.cursor.gotoAndStop(6); play(); } } else { gotoAndStop(60); } } else { gotoAndStop(61); } } } button 9699 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'leave alley'; } } on (rollOut) { _root.dynHelp = ''; } on (press) { _global.changeScene('cityStreet1', 1, false); } } movieClip 9700 { } instance cursor of movieClip 6658 { onClipEvent (mouseDown) { _root.cursorFrame = _currentframe; _root.invItFrame = invIt._currentframe; if (_currentframe <= 5 && _root._ymouse <= 225) { if (!_root.guytrash.trashbag.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.dumpster.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.crates.hitTest(_root._xmouse, _root._ymouse, true)) { if (_root.walkRange.hitTest(_root._xmouse, _root._ymouse, true)) { _root.johnny.destX = _root._xmouse; _root.johnny.destY = _root._ymouse; _root.textDest = 'random'; } } else { _root.johnny.destX = 82; _root.johnny.destY = 203; _root.textDest = 'crates'; } } else { _root.johnny.destX = 162; _root.johnny.destY = 205; _root.textDest = 'dumpster'; } } else { _root.johnny.destX = 182; _root.johnny.destY = 212; _root.textDest = 'trashbag'; } } if (_global.instantPassed && _root._ymouse <= 225 && !_root.menuMain.invScroll.hitTest(_root._xmouse, _root._ymouse, true) && _currentframe != 6) { gotoAndStop(1); } } onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 171 { menuMain.gotoAndStop(1); _root.johnny._x = _root.johnnyX; _root.johnny._y = _root.johnnyY; _root.johnny.destX = _root.johnnyX; _root.johnny.destY = _root.johnnyY; _global.showSpeechBox(); } instance of movieClip 9146 { onClipEvent (load) { trace('Starts both by spanning clip load'); _global.water1.start(0, 9999); _global.water2.start(0, 9999); } } button 9708 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'cave'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 9707 { } button 9711 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'hole'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 9710 { } movieClip 9713 { } movieClip 9717 { } button 9723 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'pipe'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 9722 { frame 1 { if (_global.showItem[16] != false) { stop(); } else { gotoAndStop(2); } } } movieClip 9736 { } button 9746 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'croc'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 9745 { } movieClip 9725 { frame 1 { stop(); } frame 30 { _root.johnny._visible = false; _root.xSep = -351; _root.johnnyX = 287; _root.johnnyY = 136; } frame 43 { stop(); } } movieClip 9747 { } button 9751 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'treasure'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 9750 { } button 9754 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'chest'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 9753 { } movieClip 9757 { } movieClip 9756 { } movieClip 9762 { } movieClip 9765 { } movieClip 9769 { } button 9772 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'ladder'; } } on (rollOut) { _root.dynHelp = ''; } on (press) { if (_root.bg.gator._currentframe == 43 && _root.cursorFrame == 3) { _global.changeScene('cityStreetB1', 346, true); } } } movieClip 9771 { } button 9774 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'lighter'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 9773 { frame 1 { if (_global.showItem[21] != false) { stop(); } else { gotoAndStop(2); } } } movieClip 9706 { } instance johnny of movieClip 7750 { onClipEvent (enterFrame) { destY = _y; if (!(_global.eventArray[9] == true || !_parent.walkRange.gatorRange.hitTest(_x, _y, true))) { if (_parent.textDest == 'hole') { if (_parent.cursorFrame == 3) { if (_global.showItem[16] != false) { _global.talk(3, 'I\'m not properly armed yet..'); gotoAndStop(1); } else { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; _global.changeScene('sewerB1', 76, true); } } } else { gotoAndStop(1); _xscale = -Math.abs(_xscale); setProperty('', _xscale, -Math.abs(_xscale)); if (_root.bg.gator._currentframe == 1) { _root.bg.gator.play(); } } } else { if (!(_parent.bg._x < -211 && _parent.scrollRange.hitTest(_x, _y, true) && _xscale < 0)) { if (!_parent.scrollRange.hitTest(_x, _y, true) && _x > 250 && _parent.bg._x > -410) { _parent.fg._x -= 2.400000095367432; _parent.bg._x -= 3; _parent.walkRange._x -= 3; _parent.scrollRange._x -= 3; _x = _x - 3; setProperty('', _x, _x - 3); } } else { _parent.fg._x += 2.400000095367432; _parent.bg._x += 3; _parent.walkRange._x += 3; _parent.scrollRange._x += 3; _x = _x + 3; setProperty('', _x, _x + 3); } if (!(Math.abs(-_x + destX) > 6 || Math.abs(-_y + destY) > 6)) { if (_currentframe >= 4 || _parent.cursorFrame > 1) { destWas = _parent.textDest; _parent.textDest = 'random'; if (_parent.cursorFrame != 3) { if (_parent.cursorFrame != 4) { if (_parent.cursorFrame != 5) { if (_parent.cursorFrame == 2) { if (destWas != 'hole') { if (destWas != 'cave') { if (destWas != 'treasure') { if (destWas != '' && destWas != 'random') { _global.talk(3, _global.mouthNegs[random(_global.mouthNegs.length)]); } } else { _global.talk(2, 'Those aren\'t chocolate coins.'); } } else { _global.talk(2, 'ANYBODY IN THERE!!'); } } else { _global.talk(2, 'HELLOOO IN THERE!!'); } } } else { if (destWas != 'pipe') { if (destWas != 'ladder') { if (destWas != 'treasure') { if (destWas != 'cave') { if (destWas != 'lighter') { if (destWas != 'chest') { if (destWas == 'hole') { _global.talk(3, 'God only knows what evils lie in this hole...'); } } else { _global.talk(2, 'The engraving says \'Big Whoop\''); } } else { _global.talk(2, 'That must be the lighter.'); } } else { _global.talk(2, 'That cave looks dark and evil.'); } } else { _global.talk(2, 'I\'m getting a boner just looking at it.'); } } else { _global.talk(2, 'It leads to the surface.'); } } else { _global.talk(2, 'Looks a bit loose, like my ex-girlfriend.'); } } } else { if (!(destWas == 'pipe' && _parent.invItFrame == 17)) { if (!(destWas == 'lighter' && _parent.invItFrame == 6)) { if (!(_parent.invItFrame == 5 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 10 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 12 && destWas != '' && destWas != 'random')) { if (!(_parent.invItFrame == 21 && destWas != '' && destWas != 'random')) { if (destWas != '' && destWas != 'random') { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)]); } } else { _global.talk(3, 'My pyro phase ended at thirteen.'); } } else { _global.talk(3, _global.knifeNegs[random(_global.knifeNegs.length)]); } } else { _global.talk(3, _global.gumNegs[random(_global.gumNegs.length)]); } } else { _global.talk(3, _global.keyNegs[random(_global.keyNegs.length)]); } } else { _global.talk(2, 'I don\'t know how to make a lasso.'); } } else { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; _global.changeScene('sewerB1', 8, true); } } } else { if (destWas != 'pipe') { if (destWas != 'hole') { if (destWas != 'cave') { if (destWas != 'ladder') { if (destWas != 'lighter') { if (destWas != 'chest') { if (destWas == 'treasure') { _global.talk(2, 'It\'s out of my reach.'); } } else { _global.talk(2, 'It\'s way out of reach.'); } } else { _global.talk(2, 'I can\'t reach it..'); } } else { _root.xSep = -351; _root.johnnyX = 287; _root.johnnyY = 136; _global.changeScene('cityStreetB1', 346, true); } } else { _global.talk(2, 'You couldn\'t pay me to go in there.'); } } else { if (_global.showItem[16] != false) { _global.talk(3, 'I\'m not properly armed yet..'); gotoAndStop(1); } else { _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; _global.changeScene('sewerB1', 76, true); } } } else { _global.talk(2, 'It wiggles but I can\'t get it free.'); } } if (_currentframe > 3) { gotoAndStop(_currentframe - 3); } _parent.cursorFrame = 1; } } else { if (offsetY != 0) { locomoteY(3); ++offSetY; } else { oldBGX = _parent.bg._x; oldX = _x; oldY = _y; wentX = false; wentY = false; locomoteX((Math.abs(-_x + destX) / (-_x + destX)) * 3); if (oldX != _x || oldBGX != _parent.bg._x) { wentX = true; } if (!(xFirst > 0 && wentX && offsetY == 0)) { locomoteY((Math.abs(-_y + destY) / (-_y + destY)) * 3); if (oldY != _y) { wentY = true; } xFirst = 0; } if (!wentX && !wentY) { xFirst = 30; offsetY = -5; } } } } } onClipEvent (load) { function locomoteX(inc) { if (!_parent.walkRange.hitTest(_x + inc, _y, true)) { destX = _x; destY = _y; return false; } --xFirst; if (Math.abs(-_x + destX) > 6) { if (!((inc > 0 && (_x < 250 || _parent.bg._x <= -540) || inc < 0) && (_x > 150 || _parent.bg._x >= -230))) { destX -= inc; _parent.fg._x -= inc * 0.800000011920929; _parent.bg._x -= inc; _parent.walkRange._x -= inc; _parent.scrollRange._x -= inc; } else { _x = _x + inc; setProperty('', _x, _x + inc); } _xscale = Math.abs(_xscale) * (Math.abs(inc) / inc); setProperty('', _xscale, Math.abs(_xscale) * (Math.abs(inc) / inc)); gotoAndStop(4); } return true; return false; } function locomoteY(inc) { return true; } _xscale = -Math.abs(_xscale); setProperty('', _xscale, -Math.abs(_xscale)); gotoAndStop(4); } onClipEvent (load) { if (_global.eventArray[45] == true) { _global.eventArray[45] = false; _parent.fg._x = 314.6499938964844; _parent.bg._x = -210.0500030517578; _parent.walkRange._x = 304; _parent.scrollRange._x = 288; this._x = 304.3999938964844; } oldBGX = _parent.bg._x; offsetY = 0; xFirst = 0; oldX = _x; oldY = _y; } onClipEvent (mouseDown) { if (_root._ymouse < 220) { _parent.johnny.destX = _root._xmouse; } } } movieClip 9776 { } movieClip 9778 { } movieClip 9795 { } movieClip 9801 { } movieClip 9799 { } movieClip 9803 { } movieClip 9806 { } movieClip 9807 { } movieClip 9824 { } movieClip 9825 { } movieClip 9794 { } movieClip 9826 { } movieClip 9777 { } instance cursor of movieClip 6658 { onClipEvent (mouseDown) { _root.cursorFrame = _currentframe; _root.invItFrame = invIt._currentframe; if (_currentframe <= 5 && _root.bg.gator._currentframe == 1) { if (!(_root.bg.lighter.hitTest(_root._xmouse, _root._ymouse, true) && _currentframe == 4 && invIt._currentframe == 11)) { if (!_root.bg.ladder.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.pipe.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.hole.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.cave.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.chest.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.treasure.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.lighter.hitTest(_root._xmouse, _root._ymouse, true)) { if (_root.walkRange.hitTest(_root._xmouse, _root._ymouse, true)) { _root.johnny.destX = _root._xmouse; _root.textDest = 'random'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.cave._x - 105; _root.textDest = 'lighter'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.cave._x - 105; _root.textDest = 'treasure'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.cave._x - 105; _root.textDest = 'chest'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.cave._x + 10; _root.textDest = 'cave'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.hole._x + 35; _root.textDest = 'hole'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.pipe._x + 15; _root.textDest = 'pipe'; } } else { _root.johnny.destX = _root.bg._x + _root.bg.ladder._x; _root.textDest = 'ladder'; } } else { _global.water1.stop('water1'); _global.water2.stop('water2'); _global.eventArray[45] = true; _global.removeInvItem(11); _root.xSep = _root.bg._x - _root.bg.birthX; _root.johnnyX = _root.johnny._x; _root.johnnyY = _root.johnny._y; _global.changeScene('gumchain1', 1, true); } } if (_currentframe <= 5 && _root.bg.gator._currentframe > 1) { if (!_root.bg.ladder.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_root.bg.gator.croc.hitTest(_root._xmouse, _root._ymouse, true)) { if (_currentframe > 1 && _root._ymouse < 255) { _global.talkXY(3, 'The only movement I\'m making is towards the ladder.', 30, 65); } } else { if (_currentframe != 3) { if (_currentframe != 5) { if (_currentframe != 2) { if (_currentframe == 4) { if (!(invIt._currentframe == 19 || invIt._currentframe == 7 || invIt._currentframe == 9)) { if (invIt._currentframe != 8) { if (invIt._currentframe != 12) { if (invIt._currentframe != 16) { if (!(invIt._currentframe == 5 && _root._ymouse < 225)) { if (!(invIt._currentframe == 10 && _root._ymouse < 225)) { if (!(invIt._currentframe == 12 && _root._ymouse < 225)) { if (!(invIt._currentframe == 21 && _root._ymouse < 225)) { if (_root._ymouse < 225) { _global.talkXY(3, _global.negativeResponses[random(_global.negativeResponses.length)], 5, 65); } } else { _global.talkXY(3, 'My pyro phase ended at thirteen.', 160, 65); } } else { _global.talkXY(3, _global.knifeNegs[random(_global.knifeNegs.length)], 5, 65); } } else { _global.talkXY(3, _global.gumNegs[random(_global.gumNegs.length)], 5, 65); } } else { _global.talkXY(3, _global.keyNegs[random(_global.keyNegs.length)], 5, 65); } } else { _global.talkXY(2, 'I\'m not in a good position.', 160, 65); } } else { _global.talkXY(3, 'I might as well be fighting him with a toothpick.', 20, 65); } } else { _global.talkXY(2, 'I don\'t think he has a tummy ache.', 120, 65); } } else { _global.talkXY(3, 'The only thing he wants to eat, at the moment, is me.', 5, 65); } } } else { _global.talkXY(2, 'It doesn\'t look to be in a chatting mood.', 95, 65); } } else { _global.talkXY(2, 'They look so much bigger in person.', 115, 65); } } else { _global.talkXY(1, 'Yeah, right.', 270, 65); } } } else { if (_currentframe == 5) { _global.talkXY(2, 'It leads up to the street.', 220, 65); } } } if (_global.instantPassed && !_root.menuMain.invScroll.hitTest(_root._xmouse, _root._ymouse, true) && _currentframe != 6) { gotoAndStop(1); } } onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 172 { _root.menuMain.gotoAndStop(2); _global.showSpeechBox(); } movieClip 9831 { } movieClip 9835 { } movieClip 9836 { } movieClip 9841 { } movieClip 9844 { } movieClip 9839 { } button 9853 { on (rollOver) { _root.dynHelp = 'outside of pipe'; } on (rollOut) { _root.dynHelp = ''; } on (press) { if (_root.cursorFrame != 3) { if (_root.cursorFrame == 4 && _root.invItFrame == 19) { _root.cursor.gotoAndStop(6); _root.menuMain.gotoAndStop(2); gotoAndPlay(117); } } else { _root.cursor.gotoAndStop(6); _root.menuMain.gotoAndStop(2); gotoAndPlay(97); } } } button 9855 { on (rollOver) { _root.dynHelp = 'cave'; } on (rollOut) { _root.dynHelp = ''; } on (press) { if (_root.cursorFrame == 4 && _root.invItFrame == 19) { _root.cursor.gotoAndStop(6); _root.menuMain.gotoAndStop(2); gotoAndPlay(117); } } } movieClip 9857 { } movieClip 9829 { frame 33 { pipe.gotoAndStop(2); _global.addInvItem(16); } frame 67 { _global.changeScene('sewer1', 1, false); } frame 89 { _root.menuMain.gotoAndStop(1); _root.cursor.gotoAndStop(1); stop(); } frame 111 { _global.changeScene('sewer1', 1, false); } frame 122 { _global.removeInvItem(19); } frame 147 { gotoAndPlay(155); } frame 154 { _root.cursor.gotoAndStop(1); _root.menuMain.gotoAndStop(1); stop(); } instance of movieClip 9857 { onClipEvent (enterFrame) { if (!this.hitTest(_root._xmouse, _root._ymouse, true)) { _root.dynhelp = ''; } else { _root.dynhelp = 'crocodile'; } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { trace(_root.cursorFrame + ' VS ' + _root.cursor._currentframe); if (!(_root.cursorFrame == 3 || _root.cursor._currentframe == 3)) { if (!(_root.cursorFrame == 2 || _root.cursor._currentframe == 2)) { if (!(_root.cursorFrame == 5 || _root.cursor._currentframe == 5)) { if (!(_root.cursorFrame == 4 && _root.invItFrame == 16)) { if (!(_root.cursorFrame == 4 && _root.invItFrame == 8)) { if (!(_root.cursorFrame == 4 && _root.invItFrame == 12)) { if (!(_root.cursorFrame == 4 && (_root.invItFrame == 7 || _root.invItFrame == 9))) { if (_root.cursorFrame == 4) { _global.talkXY(3, _global.negativeResponses[random(_global.negativeResponses.length)], 5, 55); } } else { _global.talkXY(2, 'He\'s busy eating the sandwich.', 25, 25); } } else { _global.talkXY(2, 'I might as well stab him with a toothpick.', 15, 25); } } else { _global.talkXY(2, 'I don\'t think he has a tummy ache.', 20, 25); } } else { _global.water1.stop('water1'); _global.water2.stop('water2'); _global.changeScene('crocHit1', 1, true); } } else { _global.talkXY(2, 'The bait worked, but now what?', 20, 25); } } else { _global.talkXY(2, 'I don\'t want to let it know I\'m up here.', 25, 25); } } else { _global.talkXY(2, 'You want me to scratch it behind the ears?', 5, 25); } } } } frame 155 { _root.menuMain.gotoAndStop(2); _root.dynHelp = ''; } frame 256 { _root.menuMain.gotoAndStop(1); } frame 257 { _root.cursor.gotoAndStop(1); gotoAndStop(154); } } instance cursor of movieClip 6658 { onClipEvent (mouseDown) { _root.cursorFrame = _currentframe; _root.invItFrame = invIt._currentframe; if (_currentframe <= 5) { } if (_global.instantPassed && !_root.menuMain.invScroll.hitTest(_root._xmouse, _root._ymouse, true)) { gotoAndStop(1); } } onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); gotoAndStop(6); } } frame 173 { _root.cursor.gotoAndStop(6); _root.menuMain.gotoAndStop(2); } movieClip 9968 { } movieClip 9864 { frame 1 { } frame 385 { _global.water1.start(0, 9999); _global.changeScene('insidePipe1', 1, true); } } instance mainClip of movieClip 9864 { onClipEvent (keyDown) { if (Key.isDown(32)) { _global.changeScene('insidePipe1', 1, true); } } } frame 175 { menuMain.gotoAndStop(2); _global.showSpeechBox(); } movieClip 9976 { } movieClip 9982 { } button 9985 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'wheel'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 9984 { } movieClip 9987 { } movieClip 9991 { } movieClip 9995 { } movieClip 10000 { } movieClip 9998 { } movieClip 10004 { } movieClip 10003 { } movieClip 10006 { } movieClip 10005 { } movieClip 9997 { } movieClip 10007 { } button 10012 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'panel'; } } on (rollOut) { _root.dynHelp = ''; } } button 10015 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'open panel'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 10014 { } movieClip 10011 { frame 1 { if (!_global.eventArray[12]) { stop(); } else { gotoAndStop(2); } } } movieClip 10027 { frame 7 { stop(); } } movieClip 10028 { frame 6 { stop(); } } movieClip 10019 { } button 10031 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'croc'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 10041 { frame 91 { stop(); } } movieClip 10042 { } movieClip 10048 { frame 46 { stop(); } } movieClip 10052 { frame 133 { stop(); } } movieClip 10057 { frame 79 { stop(); } } movieClip 10058 { frame 159 { stop(); } } movieClip 10059 { frame 47 { stop(); } } movieClip 10060 { frame 79 { stop(); } } movieClip 10018 { } movieClip 10061 { } movieClip 10066 { } movieClip 10068 { } movieClip 9972 { frame 3 { _root.menuMain.gotoAndStop(1); _root.cursor.gotoAndStop(1); stop(); } frame 4 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); _root.dynHelp = ''; } frame 120 { if (!_global.eventArray[12]) { gotoAndStop(3); } else { gotoAndStop(620); } } frame 121 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); _root.dynHelp = ''; } frame 201 { if (!_global.eventArray[12]) { gotoAndStop(3); } else { gotoAndStop(620); } } frame 202 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); _root.dynHelp = ''; } frame 275 { if (!_global.eventArray[12]) { gotoAndStop(3); } else { gotoAndStop(620); } } frame 276 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); _root.dynHelp = ''; } frame 380 { gotoAndStop(3); } frame 381 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); _root.dynHelp = ''; } frame 511 { gotoAndStop(3); } frame 512 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); _root.dynHelp = ''; } frame 620 { _root.menuMain.gotoAndStop(1); _root.cursor.gotoAndStop(1); stop(); } } instance cursor of movieClip 6658 { onClipEvent (mouseDown) { if (_currentframe != 3) { if (_currentframe != 4) { if (_currentframe != 5) { if (_currentframe != 2) { if (_currentframe == 1) { if ((_root.mainClip.openPanel.hitTest(_x, _y, false) || _root.mainClip.panel.hitTest(_x, _y, false)) && _global.eventArray[12] == true) { _global.changeScene('controlPanel1', 1, true); } } } else { if (!_root.mainClip.croc.hitTest(_x, _y, false)) { if (_root._ymouse < 225) { _global.talk(3, _global.mouthNegs[random(_global.mouthNegs.length)]); } } else { _global.talk(2, 'It doesn\'t look to be in a chatting mood.'); } } } else { if (!((_root.mainClip.openPanel.hitTest(_x, _y, false) || _root.mainClip.panel.hitTest(_x, _y, false)) && _global.eventArray[12] == true)) { if (!(_root.mainClip.panel.hitTest(_x, _y, false) && _global.eventArray[12] != true)) { if (!_root.mainClip.wheel.hitTest(_x, _y, false)) { if (_root.mainClip.croc.hitTest(_x, _y, false)) { _global.talk(2, 'The noises he\'s making are tripping me out.'); } } else { _global.talk(1, 'Nice wheel.'); } } else { _global.talk(2, 'Looks like an electrical box.'); } } else { _global.changeScene('controlPanel1', 1, true); } } } else { if (!(_root.mainClip.wheel.hitTest(_x, _y, false) && invIt._currentframe == 17 && _global.eventArray[10] != true)) { if (!(_root.mainClip.panel.hitTest(_x, _y, false) && invIt._currentframe == 18)) { if (!(_root.mainClip.panel.hitTest(_x, _y, false) && invIt._currentframe == 13 && _global.eventArray[11] != true)) { if (!(_root.mainClip.panel.hitTest(_x, _y, false) && invIt._currentframe == 12 && _global.eventArray[11] == true && _global.eventArray[12] != true)) { if (!(_root.mainClip.panel.hitTest(_x, _y, false) && invIt._currentframe == 12 && _global.eventArray[11] != true)) { if (!(_root.mainClip.croc.hitTest(_x, _y, false) && (invIt._currentframe == 7 || invIt._currentframe == 9))) { if (!(_root.mainClip.croc.hitTest(_x, _y, false) && invIt._currentframe == 12)) { if (!(invIt._currentframe == 5 && _root._ymouse < 225)) { if (!(invIt._currentframe == 10 && _root._ymouse < 225)) { if (!(invIt._currentframe == 12 && _root._ymouse < 225)) { if (!(invIt._currentframe == 21 && _root._ymouse < 225)) { if (_root._ymouse < 225) { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)]); } } else { _global.talk(3, 'My pyro phase ended at thirteen.'); } } else { _global.talk(3, _global.knifeNegs[random(_global.knifeNegs.length)]); } } else { _global.talk(3, _global.gumNegs[random(_global.gumNegs.length)]); } } else { _global.talk(3, _global.keyNegs[random(_global.keyNegs.length)]); } } else { _global.talk(2, 'I might as well fight him with a toothpick.'); } } else { _global.talk(2, 'The only thing he wants is me.'); } } else { _global.talk(2, 'It\'s screwed shut.'); } } else { _global.removeInvItem(12); _global.eventArray[12] = true; _root.mainClip.gotoAndPlay(512); } } else { _global.eventArray[11] = true; _root.mainClip.gotoAndPlay(381); } } else { _global.removeInvItem(18); _root.mainClip.gotoAndPlay(276); } } else { _global.eventArray[10] = true; _root.mainClip.gotoAndPlay(121); } } } else { if (!_root.mainClip.wheel.hitTest(_x, _y, false)) { if (!_root.mainClip.openPanel.hitTest(_x, _y, false)) { if (!(_root.mainClip.panel.hitTest(_x, _y, false) && _global.eventArray[12] != true)) { if (_root.mainClip.croc.hitTest(_x, _y, false)) { _global.talk(2, 'Committing suicide\'s not on my agenda.'); } } else { _global.talk(2, 'It\'s screwed shut.'); } } else { _global.talk(2, 'It\'s already open.'); } } else { if (_global.eventArray[15] != true) { if (_global.eventArray[10] != true) { _root.mainClip.gotoAndPlay(4); } else { _global.eventArray[15] = true; _root.mainClip.gotoAndPlay(202); } } else { _global.talk(3, 'That\'s as far as she goes'); } } } if (_global.instantPassed && !_root.menuMain.invScroll.hitTest(_root._xmouse, _root._ymouse, true) && _currentframe != 6) { gotoAndStop(1); } } onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 177 { menuMain.gotoAndStop(2); _global.showSpeechBox(); } button 10100 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'diagram'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 10099 { } button 10103 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'left button'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 10102 { } button 10106 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'missing button'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 10105 { } button 10109 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'wires'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 10108 { } button 10111 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'back to pipe'; } } on (rollOut) { _root.dynHelp = ''; } on (press) { _global.changeScene('insidePipe', 1, true); } } button 10117 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'scrabble button'; } } on (rollOut) { _root.dynHelp = ''; } } movieClip 10116 { } button 10118 { on (rollOver) { _root.dynHelp = 'back to pipe'; } on (rollOut) { _root.dynHelp = ''; } on (press) { _global.changeScene('insidePipe', 1, true); } } button 10125 { on (rollOver) { if (_root.cursor._currentframe < 6) { _root.dynHelp = 'back to panel'; } } on (rollOut) { _root.dynHelp = ''; } on (press) { gotoAndPlay(1); } } movieClip 10095 { frame 1 { if (!(_global.hasItem(20) == false && _global.showItem[20] == false)) { if (_global.eventArray[13] != true) { _global.eventArray[13] = true; } else { gotoAndStop(53); } } else { gotoAndStop(90); } } frame 53 { _root.menuMain.gotoAndStop(1); _root.cursor.gotoAndStop(1); _root.dynHelp = ''; stop(); } frame 54 { _root.cursor.gotoAndStop(6); _root.menuMain.gotoAndStop(2); } frame 90 { _root.menuMain.gotoAndStop(1); _root.cursor.gotoAndStop(1); _root.dynHelp = ''; stop(); } frame 91 { _root.cursor.gotoAndStop(6); _root.menuMain.gotoAndStop(2); } frame 157 { gotoAndStop(90); } frame 158 { _root.cursor.gotoAndStop(6); _root.menuMain.gotoAndStop(2); } frame 174 { _global.water1.stop('water1'); _global.changeScene('crocBlowout1', 1, true); } frame 175 { _root.menuMain.gotoAndStop(2); _root.cursor.gotoAndStop(6); } frame 176 { if (_global.eventArray[14] != true) { _global.eventArray[14] = true; } else { gotoAndStop(232); } } frame 177 { _root.menuMain.gotoAndStop(2); } frame 232 { _root.cursor.gotoAndStop(1); stop(); } } instance cursor of movieClip 6658 { onClipEvent (mouseDown) { if (_currentframe != 3) { if (_currentframe != 4) { if (_currentframe != 5) { if (_currentframe == 2 && _root._ymouse < 225) { _global.talk(3, _global.mouthNegs[random(_global.mouthNegs.length)]); } } else { if (!(_currentframe == 5 && _root.mainClip.picture.hitTest(_x, _y, false))) { if (!_root.mainClip.wires.hitTest(_x, _y, false)) { if (!_root.mainClip.leftButton.hitTest(_x, _y, false)) { if (!_root.mainClip.scrabbleButton.hitTest(_x, _y, false)) { if (_root.mainClip.missingButton.hitTest(_x, _y, false)) { _global.talk(2, 'It looks like there\'s a button missing.'); } } else { _global.talk(2, 'It\'s the scrabble tile.'); } } else { _global.talk(2, 'It\'s a button.'); } } else { _global.talk(2, 'It\'s a bunch of wires.'); } } else { _root.dynHelp = ''; _root.mainClip.gotoAndPlay(175); } } } else { if (!(_root.mainClip.missingButton.hitTest(_x, _y, false) && invIt._currentframe == 20)) { if (!(invIt._currentframe == 12 && _root._ymouse < 255)) { if (!(invIt._currentframe == 5 && _root._ymouse < 225)) { if (!(invIt._currentframe == 10 && _root._ymouse < 225)) { if (!(invIt._currentframe == 12 && _root._ymouse < 225)) { if (!(invIt._currentframe == 21 && _root._ymouse < 225)) { if (_root._ymouse < 225) { _global.talk(3, _global.negativeResponses[random(_global.negativeResponses.length)]); } } else { _global.talk(3, 'My pyro phase ended at thirteen.'); } } else { _global.talk(3, _global.knifeNegs[random(_global.knifeNegs.length)]); } } else { _global.talk(3, _global.gumNegs[random(_global.gumNegs.length)]); } } else { _global.talk(3, _global.keyNegs[random(_global.keyNegs.length)]); } } else { _global.talk(3, 'Cutting random wires doesn\'t sound like a good idea.'); } } else { _root.dynHelp = ''; _global.removeInvItem(20); _root.mainClip.gotoAndPlay(54); } } } else { if (!(_root.mainClip.scrabbleButton.hitTest(_x, _y, false) && _currentframe == 3)) { if (!_root.mainClip.wires.hitTest(_x, _y, false)) { if (!_root.mainClip.picture.hitTest(_x, _y, false)) { if (!_root.mainClip.leftButton.hitTest(_x, _y, false)) { if (_root.mainClip.missingButton.hitTest(_x, _y, false)) { _root.dynHelp = ''; _global.talk(2, 'Nothing happened.'); } } else { _global.talk(1, 'Nothing happened.'); } } else { _global.talk(2, 'It won\'t peel off.'); } } else { _global.talk(2, 'I don\'t feel like getting electrocuted.'); } } else { if (_global.eventArray[15] != true) { _root.dynHelp = ''; _root.mainClip.gotoAndPlay(91); } else { _root.dynHelp = ''; _global.eventArray[9] = true; _root.mainClip.gotoAndPlay(158); } } } if (_global.instantPassed && !_root.menuMain.invScroll.hitTest(_root._xmouse, _root._ymouse, true) && _currentframe != 6) { gotoAndStop(1); } } onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; Mouse.hide(); } } frame 179 { _root.cursor.gotoAndStop(6); _root.menuMain.gotoAndStop(2); } movieClip 10128 { frame 221 { _global.water1.start(0, 9999); _global.water2.start(0, 9999); _global.changeScene('sewer1', 1, false); } } frame 181 { _root.cursor.gotoAndStop(6); _root.menuMain.gotoAndStop(2); } movieClip 10179 { frame 257 { _global.addInvItem(21); _global.water1.start(0, 9999); _global.water2.start(0, 9999); _global.changeScene('sewer1', 1, false); } } frame 183 { menuMain.gotoAndStop(2); } frame 185 { menuMain.gotoAndStop(2); } movieClip 10371 { } movieClip 10373 { } movieClip 10354 { } movieClip 10339 { frame 474 { _global.changeScene('hideoutWalk1', 1, false); } } frame 187 { menuMain.gotoAndStop(2); cursor.gotoAndStop(1); } movieClip 10435 { } movieClip 10437 { } movieClip 10418 { } movieClip 10404 { frame 1 { stop(); } } instance bg of movieClip 10404 { onClipEvent (keyDown) { if (Key.isDown(32)) { _global.changeScene('gangAlley', 1, true); } } } instance johnny of movieClip 7750 { onClipEvent (enterFrame) { _yscale = _y / 8 + 40; setProperty('', _yscale, _y / 8 + 40); _xscale = _yscale * (Math.abs(_xscale) / _xscale); setProperty('', _xscale, _yscale * (Math.abs(_xscale) / _xscale)); if (!(Math.abs(-_x + destX) > 6 || Math.abs(-_y + destY) > 6)) { if (_currentframe >= 4) { gotoAndStop(_currentframe - 3); if (_parent.cursorFrame > 1) { destWas = _parent.textDest; _parent.textDest = 'random'; _parent.cursorFrame = 1; } } } else { if (offsetY != 0) { locomoteY(3); ++offSetY; } else { oldBGX = _parent.bg._x; oldX = _x; oldY = _y; wentX = false; wentY = false; locomoteX((Math.abs(-_x + destX) / (-_x + destX)) * 3); if (oldX != _x || oldBGX != _parent.bg._x) { wentX = true; } if (!(xFirst > 0 && wentX && offsetY == 0)) { locomoteY((Math.abs(-_y + destY) / (-_y + destY)) * 3); if (oldY != _y) { wentY = true; } xFirst = 0; } if (!wentX && !wentY) { xFirst = 30; offsetY = -5; } } } if (_x <= _parent.fg._x + 430) { if (_x <= _parent.fg._x + 170) { if (_root.walkRange.loseControl.hitTest(_x, _y, true)) { autoWalk = 150; destX += 5; } } else { _root.cursor.gotoAndStop(6); gotoAndStop(4); _xscale = Math.abs(_xscale); setProperty('', _xscale, Math.abs(_xscale)); _x = _x + 5; setProperty('', _x, _x + 5); destX = _x; --autoWalk; } } else { _global.changeScene('gangAlley1', 1, true); } } onClipEvent (load) { function locomoteX(inc) { if (_parent.walkRange.hitTest(_x + inc, _y, true)) { --xFirst; if (Math.abs(-_x + destX) > 6) { if (!((inc > 0 && (_x < 250 || _parent.bg._x <= -735) || inc < 0) && (_x > 150 || _parent.bg._x >= -33))) { destX -= inc; _parent.bg._x -= inc; } else { _x = _x + inc; setProperty('', _x, _x + inc); } _xscale = Math.abs(_xscale) * (Math.abs(inc) / inc); setProperty('', _xscale, Math.abs(_xscale) * (Math.abs(inc) / inc)); rem = spriteIn._currentframe; gotoAndStop(4); spriteIn.gotoAndPlay(rem); } return true; } return false; } function locomoteY(inc) { if (_parent.walkRange.hitTest(_x, _y + inc, true)) { if (Math.abs(-_y + destY) > 6 || offsetY != 0) { _y = _y + inc; setProperty('', _y, _y + inc); _xscale = Math.abs(_xscale); setProperty('', _xscale, Math.abs(_xscale)); if (inc <= 0) { rem = spriteIn._currentframe; gotoAndStop(6); spriteIn.gotoAndPlay(rem); } else { rem = spriteIn._currentframe; gotoAndStop(5); spriteIn.gotoAndPlay(rem); } } return true; } return false; } _xscale = Math.abs(_xscale); setProperty('', _xscale, Math.abs(_xscale)); gotoAndStop(4); } onClipEvent (load) { autoWalk = -9; oldBGX = _parent.bg._x; destX = _x; destY = _y; offsetY = 0; xFirst = 0; oldX = _x; oldY = _y; gotoAndStop(2); } } movieClip 10457 { } instance fg of movieClip 10457 { onClipEvent (enterFrame) { _x = _parent.bg._x + offsetX; setProperty('', _x, _parent.bg._x + offsetX); } onClipEvent (load) { offsetX = _x - _parent.bg._x; } } movieClip 10461 { } movieClip 10459 { } instance walkRange of movieClip 10459 { onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { _parent.johnny.destX = _root._xmouse; _parent.johnny.destY = _root._ymouse; } } onClipEvent (enterFrame) { _x = _parent.bg._x + offsetX; setProperty('', _x, _parent.bg._x + offsetX); } onClipEvent (load) { offsetX = _x - _parent.bg._x; } } instance cursor of movieClip 6658 { onClipEvent (mouseDown) { _root.cursorFrame = _currentframe; _root.invItFrame = invIt._currentframe; if (_currentframe <= 5) { if (_root.walkRange.hitTest(_root._xmouse, _root._ymouse, true)) { _root.johnny.destX = _root._xmouse; _root.johnny.destY = _root._ymouse; _root.textDest = 'random'; } } if (_global.instantPassed && !_root.menuMain.invScroll.hitTest(_root._xmouse, _root._ymouse, true) && _currentframe != 6) { gotoAndStop(1); } } onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; } } frame 189 { menuMain.gotoAndStop(2); } movieClip 10486 { } movieClip 10488 { } movieClip 10472 { } movieClip 10724 { } movieClip 10463 { frame 1 { stopAllSounds(); } frame 970 { _global.changeScene('endFight1', 1, true); } } frame 191 { _root.cursor.gotoAndStop(6); } movieClip 11808 { } button 11992 { on (release) { getURL('http://www.conspiracygames.com', '_blank'); } } button 11993 { on (release) { _global.changeScene('gameIntro', 1, false); } } button 11996 { on (release) { getURL('http://www.crackedanimations.com', '_blank'); } } movieClip 12004 { } button 12000 { on (release) { getURL('http://www.crackedanimations.com/jrf2se.htm', '_blank'); } } button 12008 { on (release) { getURL('http://www.crackedanimations.com/store.htm', '_blank'); } } movieClip 10810 { frame 711 { gotoAndPlay(720); } frame 3939 { _root.cursor.gotoAndStop(1); } frame 4048 { stop(); } } instance cursor of movieClip 6658 { onClipEvent (mouseMove) { _x = _root._xmouse; setProperty('', _x, _root._xmouse); _y = _root._ymouse; setProperty('', _y, _root._ymouse); updateAfterEvent(); } onClipEvent (enterFrame) { if (dlay > 0) { --dlay; if (dlay < 1) { _root.speechBox.gotoAndStop(1); _root.speechBox._y = _root.speechBox.startY; _root.speechBox._x = _root.speechBox.startX; } } } onClipEvent (load) { dlay = 0; _root.speechBox.startY = _root.speechBox._y; _root.speechBox.startX = _root.speechBox._x; } }




http://swfchan.com/42/207163/info.shtml
Created: 23/7 -2019 14:30:54 Last modified: 23/7 -2019 14:30:54 Server time: 03/05 -2024 17:27:16