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

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

dd.swf

This is the info page for
Flash #117986

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


ActionScript [AS1/AS2]
Combined Code
frame 1 { function zn(a) { if (isNaN(a) || undefined == a) { return 0; } else { return a; } } function firtim() { totalseconds += 1; waitfor = Math.round((totalseconds / (_root.getBytesLoaded() + (zn(main_music1.getBytesLoaded()) + zn(main_music2.getBytesLoaded()) + zn(main_music3.getBytesLoaded()) + zn(main_music4.getBytesLoaded()) + zn(main_music5.getBytesLoaded()) + zn(main_music.getBytesLoaded())))) * (_root.getBytesTotal() + (zn(main_music1.getBytesTotal()) + zn(main_music2.getBytesTotal()) + zn(main_music3.getBytesTotal()) + zn(main_music4.getBytesTotal()) + zn(main_music5.getBytesTotal()) + zn(main_music.getBytesTotal())) - (_root.getBytesLoaded() + (zn(main_music1.getBytesLoaded()) + zn(main_music2.getBytesLoaded()) + zn(main_music3.getBytesLoaded()) + zn(main_music4.getBytesLoaded()) + zn(main_music5.getBytesLoaded()) + zn(main_music.getBytesLoaded()))))); if (waitfor < 60) { _root.loa2.htmlText = waitfor + ' seconds'; } else { if (waitfor / 60 < 60) { _root.loa2.htmlText = Math.floor(waitfor / 60) + ' minutes ' + (waitfor - Math.floor(waitfor / 60) * 60) + ' seconds'; } } } _lockroot = true; _root.fg2._alpha = 0; _root.gotoAndStop(1); var my_so = SharedObject.getLocal('dead_drunk_13b'); if (_root.my_so.data.snd == undefined) { _root.my_so.data.snd = 1; } if (_root.my_so.data.myname == undefined) { _root.my_so.data.myname = 'Type Your Name Here'; } _root.kongregateServices.connect(); lasts = 0; times = 0; someListener = new Object(); Mouse.addListener(someListener); totalseconds = 0; fir = setInterval(firtim, 1000); _root.onEnterFrame = function () { cur = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); if (cur != lasts) { times = 10; } else { times -= 1; } if (times > 0) { _root.loa.htmlText = '<font color="#AAAAAA"><B>.:</B></font> ' + cur + ' <font color="#AAAAAA"><B>:.</B></font>'; } else { if (times > -5) { _root.loa.htmlText = '<font color="#CCCCCC"><B>.:</B></font> ' + cur + ' <font color="#CCCCCC"><B>:.</B></font>'; } else { if (times > -40) { _root.loa.htmlText = '<B>.:</B> ' + cur + ' <B>:.</B>'; } else { _root.loa.htmlText = '<font color="#FF0000"><B>.:</B></font> ' + cur + ' <font color="#FF0000"><B>:.</B></font>'; } } } lasts = cur; if (_root.getBytesLoaded() == _root.getBytesTotal()) { clearInterval(fir); _root.fg2._alpha += 2; if (_root.fg2._alpha > 100) { _root.gotoAndStop(2); } } }; } // unknown tag 88 length 63 movieClip 6 { } frame 2 { function RQ_Prepare() { _root.lastreq = _root.score_server; _root.tasks = 0; } function RQ_Set(a, b) { _root.lastreq += 'op' + _root.tasks + '=set&var' + _root.tasks + '=' + a + '&val' + _root.tasks + '=' + b + '&'; ++_root.tasks; } function RQ_Get(a, b) { _root.lastreq += 'op' + _root.tasks + '=get&var' + _root.tasks + '=' + a + '&val' + _root.tasks + '=' + b + '&'; ++_root.tasks; } function RQ_Param(a, b) { _root.lastreq += a + '=' + b + '&'; } function RQ_Send(a) { _root.lastreq += 'tot=' + _root.tasks; callafter = a; _root.busy = true; my_xml2.load(_root.lastreq); } if (_root.getBytesLoaded() != _root.getBytesTotal()) { _root.gotoAndStop(1); } _root.g_server_dir = 'webtrunki.pl'; _root.g_server_url = 'http://' + _root.g_server_dir + '/'; _root.score_server = _root.g_server_url + 'serv.php?'; _root.conn.htmlText = 'Connecting to \'\'' + _root.g_server_dir + '\'\''; var my_xml2 = new XML(); System.useCodepage = true; my_xml2.ignoreWhite = true; _root.busy = false; _root.lastreq = ''; _root.tasks = 0; _root.myid = -1; callafter = function () {}; _root.ping_last = 1; _root.ping = 0; my_xml2.onLoad = function (success) { _root.ping_last = _root.ping; _root.ping = 0; _root.busy = false; if (success) { _root.inn.gotoAndPlay(1); curpl = 1; i = 0; while (i < my_xml2.childNodes.length) { if (my_xml2.childNodes[i].nodeName == 'getset') { eval(my_xml2.childNodes[i].attributes.varr) = my_xml2.childNodes[i].attributes.val; } if (my_xml2.childNodes[i].nodeName == 'trace') { } if (my_xml2.childNodes[i].nodeName == 'plpos') { i2 = 0; while (i2 < 11) { if (_root.ax_next[i2 + curpl * 11] == undefined) { _root.ax[i2 + curpl * 11] = my_xml2.childNodes[i].attributes['ax' + i2] * 1; _root.ay[i2 + curpl * 11] = my_xml2.childNodes[i].attributes['ay' + i2] * 1; } _root.ax[i2 + curpl * 11] = _root.ax_next[i2 + curpl * 11]; _root.ay[i2 + curpl * 11] = _root.ay_next[i2 + curpl * 11]; _root.ax_next[i2 + curpl * 11] = my_xml2.childNodes[i].attributes['ax' + i2] * 1; _root.ay_next[i2 + curpl * 11] = my_xml2.childNodes[i].attributes['ay' + i2] * 1; if (_root.ping_last > 0) { _root.atox[i2 + curpl * 11] = (_root.ax_next[i2 + curpl * 11] - _root.ax[i2 + curpl * 11]) / _root.ping_last; _root.atoy[i2 + curpl * 11] = (_root.ay_next[i2 + curpl * 11] - _root.ay[i2 + curpl * 11]) / _root.ping_last; _root.Init_a_moving(i2 + curpl * 11); } else { _root.atox[i2 + curpl * 11] = 0; _root.atoy[i2 + curpl * 11] = 0; } _root.aio[i2 + curpl * 11] = true; ++i2; } _root.game['pl' + curpl].hea2 = my_xml2.childNodes[i].attributes.hea; _root.game['pl' + curpl].nm = my_xml2.childNodes[i].attributes.nm; _root.game['pl' + curpl]._visible = true; ++curpl; } ++i; } i = curpl; while (i < pltot) { _root.game['pl' + i]._visible = false; ++i; } callafter.call(); _root.conn.htmlText = '<font color="660000">Connected to server "' + _root.g_server_dir + '". Have a fun! ;)</font>'; } else { _root.conn.htmlText = '<font color="660000">Can`t connect to server "' + _root.g_server_dir + '". :( </font>'; } }; RQ_Prepare(); RQ_Get('x_init', '_root.myid'); RQ_Send(function () { _root.idd.text = _root.myid; }); } frame 2 { _root.stop(); gaction = 0; _root.muz.onRelease = function () { if (_root.muz._currentframe == 3) { _root.muz.gotoAndStop(2); } else { _root.muz.gotoAndStop(3); } }; _root.onEnterFrame = function () { if (gaction == 0) { if (_root.fg2._alpha > 0) { _root.fg2._alpha -= 2; _root.fg2._visible = true; } else { _root.fg2._visible = false; gaction = -1; } } if (gaction == 1) { if (_root.fg2._alpha < 100) { _root.fg2._alpha += 2; _root.fg2._visible = true; } else { _root.gotoAndStop(3); gaction = -1; } } _root.start.onRelease = function () { gaction = 1; }; _root.start2.onRelease = function () { _root.my_so.clear(); _root.my_so.data.myname = 'Your Name Here'; gaction = 1; }; _root.loa.text = 'Loading: ' + Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + '%'; }; } movieClip 9 { } movieClip 10 { frame 35 { this.stop(); } } movieClip 14 { frame 1 { _root.dnd.text = 'by .:Eric Gurt:.'; _root.dtit.text = 'Dead Drunk v1.5'; this.stop(); } } // unknown tag 88 length 68 movieClip 32 { frame 1 { this.stop(); if (_root.my_so.data.snd == 1) { this.gotoAndStop(2); } else { this.gotoAndStop(3); } } frame 2 { _root.my_so.data.snd = 1; } frame 3 { _root.my_so.data.snd = 2; } } frame 3 { _root.stop(); _root.onEnterFrame = function () {}; _root.mmm.start.onRelease = function () { if (_root.mmm._currentframe < 280) { _root.mmm.gotoAndPlay(280); } }; } movieClip 36 { } movieClip 42 { frame 310 { _root.gotoAndStop(4); } } frame 4 { function Init_a_moving(aa) { ready = true; ii = 0; for (;;) { if (!(ii < _root.othera_tot && ready == true)) break; if (aa == _root.othera_a[ii]) { ready = false; } ++ii; } if (ready) { _root.othera_a[_root.othera_tot] = aa; ++_root.othera_tot; } } function LinkMcTo(mc, ch, pan, flip, scale) { mcto_mc[mcto_tot] = mc; mcto_ch[mcto_tot] = ch; mcto_an[mcto_tot] = pan; mcto_filp[mcto_tot] = flip; mcto_scale[mcto_tot] = scale; ++mcto_tot; } function Dist2D(p1x, p1y, p2x, p2y) { return Math.sqrt(Math.pow(p1x - p2x, 2) + Math.pow(p1y - p2y, 2)); } function Effect(x, y, type, param1, param2) { if (type == 0) { duplicateMovieClip(_root.game.blood, 'bl' + eff, 100 + eff); } if (type == 1) { duplicateMovieClip(_root.game.drop, 'bl' + eff, 100 + eff); } _root.game['bl' + eff]._x = x; _root.game['bl' + eff]._y = y; if (type == 0) { _root.game['bl' + eff]._rotation = param1; _root.game['bl' + eff]._xscale = 100 + param2 * 10; } if (type == 1) { _root.game['bl' + eff].power = param1; } ++eff; if (eff > 128) { eff = 0; } } function Draw() { i = 0; while (i < mantot) { _root.game['pl' + i]._x = 0; _root.game['pl' + i]._y = 0; ++i; } i = 0; while (i < mcto_tot) { if (mcto_mc[i]._parent._visible == true) { if (aio[chP[mcto_ch[i]]] == true || aio[chC[mcto_ch[i]]] == true) { mcto_mc[i]._xscale = Math.abs(mcto_mc[i]._xscale) * mcto_filp[i]; mcto_mc[i]._x = ax[chP[mcto_ch[i]]]; mcto_mc[i]._y = ay[chP[mcto_ch[i]]]; an = mcto_an[i] - (Math.atan2(ax[chP[mcto_ch[i]]] - ax[chC[mcto_ch[i]]], ay[chP[mcto_ch[i]]] - ay[chC[mcto_ch[i]]]) / Math.PI) * 180; mcto_mc[i]._rotation = an; if (mcto_scale[i]) { mcto_mc[i]._yscale = Dist2D(ax[chP[mcto_ch[i]]], ay[chP[mcto_ch[i]]], ax[chC[mcto_ch[i]]], ay[chC[mcto_ch[i]]]); } } } ++i; } } function CreatePoint(x, y, sx, sy, rad) { ax[atotal] = x; ay[atotal] = y; ax_next[atotal] = undefined; ay_next[atotal] = undefined; atox[atotal] = sx; atoy[atotal] = sy; aio[atotal] = false; if (rad != undefined) { arad[atotal] = rad; ++atotal; return atotal - 1; } arad[atotal] = 0; ++atotal; return atotal - 1; } function Connect(a, a2, type, di, power) { chP[chtotal] = a; chC[chtotal] = a2; if (di != undefined) { chdef[chtotal] = di; } else { chdef[chtotal] = Dist2D(ax[a], ay[a], ax[a2], ay[a2]); } if (power == undefined) { chdamp[chtotal] = 0.1; chtypa[chtotal] = type; chio[chtotal] = true; ++chtotal; return chtotal - 1; } chdamp[chtotal] = power * 0.1; chtypa[chtotal] = type; chio[chtotal] = true; ++chtotal; return chtotal - 1; } function MkPlayer() { fst = CreatePoint(smx, smy, 0, 0); CreatePoint(smx - 2, smy + 7, 0, 0); CreatePoint(smx + 2, smy + 7, 0, 0); CreatePoint(smx - 4, smy + 12, 0, 0); CreatePoint(smx + 4, smy + 12, 0, 0); CreatePoint(smx, smy - 5, 0, 0); CreatePoint(smx, smy - 10, 0, 0); CreatePoint(smx - 5, smy - 5, 0, 0); CreatePoint(smx + 5, smy - 5, 0, 0); CreatePoint(smx - 10, smy - 5, 0, 0); CreatePoint(smx + 10, smy - 5, 0, 0); leg1 = Connect(fst + 0, fst + 1, 0); leg2 = Connect(fst + 0, fst + 2, 0); subleg1 = Connect(fst + 1, fst + 3, 0); subleg2 = Connect(fst + 2, fst + 4, 0); spine1 = Connect(fst + 0, fst + 5, 0); spine2 = Connect(fst + 6, fst + 5, 0); arm1 = Connect(fst + 5, fst + 7, 0); arm2 = Connect(fst + 5, fst + 8, 0); subarm1 = Connect(fst + 7, fst + 9, 0); subarm2 = Connect(fst + 8, fst + 10, 0); allleg1 = Connect(fst + 0, fst + 4, 1, undefined, 0.5); allleg2 = Connect(fst + 0, fst + 3, 1, undefined, 0.5); if (fst == 0) { legs = chdef[allleg1]; curlegs = legs; } Connect(fst + 0, fst + 6, 1, undefined, 1); Connect(fst + 1, fst + 2, 1, 2, 2); Connect(fst + 1, fst + 2, 2, 10, 1); Connect(fst + 3, fst + 4, 2, 10, 1); Connect(fst + 1, fst + 5, 1, 10, 1); Connect(fst + 2, fst + 5, 1, 10, 1); Connect(fst + 7, fst + 8, 1, 5, 1); duplicateMovieClip(_root.game.player, 'pl' + mantot, 50 - mantot); if (mantot != 0) { _root.game['pl' + mantot]._visible = false; } else { _root.game['pl' + mantot].health.nm.text = _root.my_so.data.myname; } LinkMcTo(_root.game['pl' + mantot].body0.leg1, leg1, 180, 1, true); LinkMcTo(_root.game['pl' + mantot].body0.leg2, leg2, 180, 1, true); LinkMcTo(_root.game['pl' + mantot].body0.arm1, arm1, 180, 1, true); LinkMcTo(_root.game['pl' + mantot].body0.arm2, arm2, 180, 1, true); LinkMcTo(_root.game['pl' + mantot].body0.subleg1, subleg1, 180, 1, true); LinkMcTo(_root.game['pl' + mantot].body0.subleg2, subleg2, 180, 1, true); LinkMcTo(_root.game['pl' + mantot].body0.subarm1, subarm1, 180, 1, true); LinkMcTo(_root.game['pl' + mantot].body0.subarm2, subarm2, 180, 1, true); LinkMcTo(_root.game['pl' + mantot].body0.spine1, spine1, 180, 1, true); LinkMcTo(_root.game['pl' + mantot].body0.spine2, spine2, 180, 1, true); LinkMcTo(_root.game['pl' + mantot].body0.head, spine2, 0, 1); if (mantot == 0) { _root.game['pl' + mantot].gotoAndStop(1); } else { _root.game['pl' + mantot].gotoAndStop(2); } ++mantot; } function VIS(a) { if (_root.fg.hitTest(ax[a] + _root.game._x, ay[a] + _root.game._y, false)) { return true; } else { return false; } } _root._quality = 'MEDIUM'; ax = new Array(); ay = new Array(); ax_next = new Array(); ay_next = new Array(); atox = new Array(); atoy = new Array(); aio = new Array(); aof = new Array(); arad = new Array(); _root.idd.text = _root.myid; legposang = 0; _root.rise3._visible = false; _root.game.player._visible = false; _root.game.easyphys._visible = false; if (_root.my_so.data.lsteps != undefined) { steps = _root.my_so.data.lsteps; } else { steps = 2; } _root.lastside = 1; _root.totaldrunk = 0; gravity = 0.03; bounce = 0.5; friction = 0.6; trytim = 0; chtypa = new Array(); chP = new Array(); chC = new Array(); chdef = new Array(); chdamp = new Array(); chio = new Array(); chtsilp = new Array(); atotal = 0; chtotal = 0; antotal = 0; mcto_tot = 0; mcto_ch = new Array(); mcto_mc = new Array(); mcto_an = new Array(); mcto_scale = new Array(); mcto_filp = new Array(); var othera_tot = 0; var othera_a = new Array(); _root.game.blood._visible = false; _root.game.drop._visible = false; _root.game.finzone._visible = false; eff = 0; _root.rise.onRelease = function () { gaction = 1; }; _root.rise2.onRelease = function () { gaction = 2; }; _root.rise3.onRelease = function () { hea = 100; gaction = 0; _root.rise3._visible = false; }; _root.speeds1.onRelease = function () { steps = 1; _root.my_so.data.lsteps = 1; }; _root.speeds2.onRelease = function () { steps = 2; _root.my_so.data.lsteps = 2; }; _root.speeds3.onRelease = function () { steps = 3; _root.my_so.data.lsteps = 3; }; _root.speeds4.onRelease = function () { steps = 4; _root.my_so.data.lsteps = 4; }; _root.game.colmap.lift.gotoAndPlay(140); _root.game.killzone._visible = false; hea = 100; i = 0; while (i < 6) { _root.game['spawn' + i]._visible = false; ++i; } i = Math.floor(Math.random() * 5.999); smx = _root.game['spawn' + i]._x; smy = _root.game['spawn' + i]._y; if (_root.my_so.data.hea != undefined && !isNaN(_root.my_so.data.hea)) { _root.hea = _root.my_so.data.hea; smx = _root.my_so.data.x; smy = _root.my_so.data.y; _root.totaldrunk = _root.my_so.data.totaldrunk; i = 0; while (i < 100) { if (_root.my_so.data['m' + i]) { _root.game['med' + i].gotoAndStop(1); } else { _root.game['med' + i].isnue = false; _root.game['med' + i].gotoAndStop(4); } ++i; } } mantot = 0; pltot = 32; i = 0; while (i < pltot) { MkPlayer(); ++i; } ++pltot; hscreenX = 300; hscreenY = 150; gaction = 0; _root.game._x = Math.round(-ax[0] + hscreenX); _root.game._y = Math.round(-ay[0] + hscreenY); datasend = 0; _root.last_ping = 1; _root.ping = 0; _root.onEnterFrame = function () { if (_root.ping < _root.ping_last) { i = 0; while (i < _root.othera_tot) { if (Math.abs(_root.atox[_root.othera_a[i]]) < 4) { if (Math.abs(_root.atoy[_root.othera_a[i]]) < 4) { _root.ax[_root.othera_a[i]] += _root.atox[_root.othera_a[i]]; _root.ay[_root.othera_a[i]] += _root.atoy[_root.othera_a[i]]; } } ++i; } } _root.ping += 1; datasend += 1; _root.my_so.data.myname = _root.game.pl0.health.nm.text; if (myid != undefined && !isNaN(myid)) { if (datasend > 10) { if (!_root.busy) { trace('send ok'); datasend = 0; _root.RQ_Prepare(); i = 0; while (i < 11) { _root.RQ_Set(myid + '_p_ax' + i, Math.round(ax[i])); _root.RQ_Set(myid + '_p_ay' + i, Math.round(ay[i])); ++i; } _root.RQ_Set(myid + '_p_nm', _root.game.pl0.health.nm.text); _root.RQ_Set(myid + '_p_hea', hea); _root.RQ_Set(myid + '_p_timeout', 'TIME'); _root.RQ_Param('myid', myid); _root.RQ_Send(); _root.out.gotoAndPlay(1); } } } i = 0; while (i < pltot) { if (_root.game['pl' + i]._visible) { hh = 0; if (i == 0) { hh = hea; } else { hh = _root.game['pl' + i].hea2; } _root.game['pl' + i].health.hp._xscale = Math.max(Math.min(hh, 100), 0); if (i != 0) { _root.game['pl' + i].health.nm.text = _root.game['pl' + i].nm; } if (_root.game['pl' + i].health._alpha > 0 && hh <= -100) { _root.game['pl' + i].health._alpha -= 5; } if (_root.game['pl' + i].health._alpha < 100 && hh > -100) { _root.game['pl' + i].health._alpha += 5; } if (_root.game['pl' + i].health._alpha > 0) { _root.game['pl' + i].health._x = Math.round(_root.game['pl' + i].body0.spine2._x); _root.game['pl' + i].health._y = Math.round(_root.game['pl' + i].body0.spine2._y) - 10; } } ++i; } if (gaction == -1) { if (Key.isDown(13)) { gaction = 2; } } if (gaction == 0) { if (_root.fg._alpha > 0) { _root.fg._alpha -= 2; _root.fg._visible = true; } else { _root.fg._visible = false; gaction = -1; } } if (gaction == 2) { if (_root.fg._alpha < 100) { _root.fg._alpha += 2; _root.fg._visible = true; } else { _root.gotoAndStop(2); _root.gotoAndStop(4); gaction = -1; } } if (gaction == 1) { if (_root.fg._alpha < 100) { _root.fg._alpha += 2; _root.fg._visible = true; } else { _root.kongregateStats.submit('Suicides', 1); _root.gotoAndStop(2); gaction = -1; } } if (gaction == 3) { if (_root.fg._alpha < 100) { _root.fg._alpha += 2; _root.fg._visible = true; } else { _root.totaldrunk += 1000; _root.kongregateScores.submit(_root.totaldrunk); _root.gotoAndStop(5); gaction = -1; } } if (hea > 0) { _root.thea.text = Math.ceil(hea) + ' HP'; } else { if (hea > -100) { _root.thea.text = 'Unconscious'; } else { _root.thea.text = 'Dead'; _root.rise3._visible = true; gaction = 2; } } _root.game._x = Math.round((-ax[0] + hscreenX + _root.game._x * 10) / 11); _root.game._y = Math.round((-ay[0] + hscreenY + _root.game._y * 10) / 11); if (Key.isDown(82)) { if (_root.rise3._visible) { hea = 100; gaction = 0; _root.rise3._visible = false; } } iter = 0; while (iter < steps) { if (hea > 0) { sleeptim = 300; } if (hea <= 0) { if (hea > -100) { --sleeptim; if (sleeptim < 0) { hea += 1; } } } stand = false; if (_root.game.colmap.hitTest(_root.game._x + ax[3], _root.game._y + ay[3] + 2, true) || _root.game.colmap.hitTest(_root.game._x + ax[4], _root.game._y + ay[4] + 2, true)) { stand = true; } if (atox[0] > 1) { stand = false; } if (trytim >= 20) { ++trytim; if (trytim > 30) { trytim = 0; } } if (hea > 0) { if (Key.isDown(37)) { _root.lastside = -1; } if (Key.isDown(39)) { _root.lastside = 1; } if (Key.isDown(16)) { atoy[10] -= 0.2; atoy[9] -= 0.2; atox[10] += 0.2; atox[9] -= 0.2; atoy[8] -= 0.2; atoy[7] -= 0.2; atoy[0] += 0.8; } if (Key.isDown(17)) { di = 0; if (_root.game.colmap.hitTest(_root.game._x + ax[10] + 4, _root.game._y + ay[10] + 4, true) || _root.game.colmap.hitTest(_root.game._x + ax[10] - 4, _root.game._y + ay[10] + 4, true) || _root.game.colmap.hitTest(_root.game._x + ax[10] + 4, _root.game._y + ay[10] - 4, true) || _root.game.colmap.hitTest(_root.game._x + ax[10] - 4, _root.game._y + ay[10] - 4, true)) { ay[10] -= atoy[10]; atoy[10] = 0; ax[10] -= atox[10]; atox[10] = 0; ++di; } if (_root.game.colmap.hitTest(_root.game._x + ax[9] + 4, _root.game._y + ay[9] + 4, true) || _root.game.colmap.hitTest(_root.game._x + ax[9] - 4, _root.game._y + ay[9] + 4, true) || _root.game.colmap.hitTest(_root.game._x + ax[9] + 4, _root.game._y + ay[9] - 4, true) || _root.game.colmap.hitTest(_root.game._x + ax[9] - 4, _root.game._y + ay[9] - 4, true)) { ay[9] -= atoy[9]; atoy[9] = 0; ax[9] -= atox[9]; atox[9] = 0; ++di; } if (di != 0) { if (di == 2) { cx = (ax[9] + ax[10]) / 2; cy = (ay[9] + ay[10]) / 2; ax[9] = (cx + ax[9] * 3) / 4; ay[9] = (cy + ay[9] * 3) / 4; ax[10] = (cx + ax[10] * 3) / 4; ay[10] = (cy + ay[10] * 3) / 4; } if (Key.isDown(37)) { atox[5] -= 0.5; atox[0] -= 0.03; atox[4] -= 0.05; atox[3] -= 0.05; } if (Key.isDown(39)) { atox[5] += 0.5; atox[0] += 0.03; atox[4] += 0.05; atox[3] += 0.05; } if (Key.isDown(38)) { atoy[5] -= 0.5; atoy[0] -= 0.03; atoy[4] -= 0.05; atoy[3] -= 0.05; } if (Key.isDown(40)) { atoy[5] += 0.5; atoy[0] += 0.03; atoy[4] += 0.05; atoy[3] += 0.05; } } } } if (hea > 0 && stand) { if (Math.abs((ax[3] + ax[4]) / 2 - ax[0]) > 3 && trytim < 20) { if (Math.abs((ax[3] + ax[4]) / 2 - ax[0]) > 6) { stand = false; } if (!stand) { ++trytim; } if (ax[0] < (ax[3] + ax[4]) / 2) { side = -1; } else { side = 1; } koncur = 3; sybdister = 2; dister = 4; if (Math.abs(ax[0] - ax[3]) > Math.abs(ax[0] - ax[4])) { koncur = 4; dister = 3; sybdister = 1; } atox[dister] += side * 0.5; atox[sybdister] -= side * 0.5; atoy[6] -= 0.2; atoy[5] -= 0.2; atoy[0] += 0.2; if (ay[0] > ay[5]) { atox[0] -= (ax[0] - ax[5]) * 0.2; atox[5] += (ax[0] - ax[5]) * 0.2; } if (ay[dister] > ay[koncur] - 2) { astoy[dister] -= 0.2; astoy[sybdister] += 0.2; } else { astoy[dister] += 0.2; astoy[sybdister] -= 0.2; } } } if (hea > 0) { if (Key.isDown(40)) { curlegs = legs / 4; atox[1] -= (ax[1] - ax[2]) * 0.1; atox[2] += (ax[1] - ax[2]) * 0.1; } else { curlegs = legs; } } else { curlegs = legs; } chdef[allleg1] = curlegs; chdef[allleg2] = curlegs; if (ay[0] > ay[5]) { if (hea > 0) { if (stand) { if (ax[0] - ax[5] < 4) { atox[0] -= (ax[0] - ax[5]) * 0.3; atox[5] += (ax[0] - ax[5]) * 0.3; } else { atox[0] -= (ax[0] - ax[5]) * 0.1; atox[5] += (ax[0] - ax[5]) * 0.1; } atoy[3] += 0.2; atoy[4] += 0.2; atoy[1] -= 0.15; atoy[2] -= 0.15; atoy[0] -= 0.1; pw = 0.1; if (Key.isDown(39)) { atox[5] += 0.1; atoy[0] += 0.1; atox[3] += Math.sin(legposang) * pw; atoy[3] += Math.cos(legposang) * pw; atox[4] -= Math.sin(legposang) * pw; atoy[4] -= Math.cos(legposang) * pw; legposang += 0.15; } if (Key.isDown(37)) { atox[5] -= 0.1; atoy[0] -= 0.1; atox[3] -= Math.sin(legposang) * pw; atoy[3] -= Math.cos(legposang) * pw; atox[4] += Math.sin(legposang) * pw; atoy[4] += Math.cos(legposang) * pw; legposang -= 0.15; } if (Key.isDown(32)) { if (lpressed) { vecx = (ax[6] - (ax[3] + ax[4]) / 2) * 0.25; vecy = (ay[6] - (ay[3] + ay[4]) / 2) * 0.25; atox[0] += vecx; atox[6] += vecx; atox[5] += vecx; atoy[0] += vecy; atoy[6] += vecy; atoy[5] += vecy; lpressed = false; } } else { lpressed = true; } } else { spx = 0; spy = 0; if (Key.isDown(38)) { spy = -1; } if (Key.isDown(40)) { spy = 1; } if (Key.isDown(37)) { spx = -1; } if (Key.isDown(39)) { spx = 1; } atox[0] -= spx * 0.1 / steps; atoy[0] -= spy * 0.1 / steps; atox[6] += spx * 0.2 / steps; atoy[6] += spy * 0.2 / steps; } } } if (hea <= 0 && hea > -100) { if (Math.random() > 0.95) { atoy[5] -= 1; } } a = 0; while (a < 11) { if (a < 11) { aio[a] = true; } if (aio[a] == true) { ax[a] += atox[a]; ay[a] += atoy[a]; i = 1; while (i < pltot) { if (_root.game['pl' + i]._visible) { if (_root.game['pl' + i].body0.hitTest(_root.game._x + ax[a], _root.game._y + ay[a], true)) { acy = 0; acx = 0; cols = 9; x = -1; while (x <= 1) { y = -1; while (y <= 1) { if (!_root.game['pl' + i].body0.hitTest(_root.game._x + ax[a] + x * 4, _root.game._y + ay[a] + y * 4, true)) { acx += x; acy += y; cols -= 1; } y += 1; } x += 1; } if (_root.game['pl' + i].hea2 > 0) { atox[a] += acx * 0.07000000000000001; atoy[a] += acy * 0.07000000000000001; if (_root.game['pl' + i].body0.subleg1.hitTest(_root.game._x + ax[a], _root.game._y + ay[a], true) || _root.game['pl' + i].body0.subleg2.hitTest(_root.game._x + ax[a], _root.game._y + ay[a], true) || _root.game['pl' + i].body0.subarm1.hitTest(_root.game._x + ax[a], _root.game._y + ay[a], true) || _root.game['pl' + i].body0.subarm2.hitTest(_root.game._x + ax[a], _root.game._y + ay[a], true)) { atox[a] += acx * 0.07000000000000001; atoy[a] += acy * 0.07000000000000001; } } else { atox[a] += acx * 0.1; atoy[a] += acy * 0.1; } } } ++i; } if (a < 11) { if (_root.game.killzone.hitTest(_root.game._x + ax[a], _root.game._y + ay[a], true)) { hea = -200; } if (_root.game.finzone.hitTest(_root.game._x + ax[a], _root.game._y + ay[a], true)) { hea = 100; gaction = 3; _root.kongregateStats.submit('Levels passed', 1); } } di = Dist2D(atox[a], atoy[a], 0, 0); if (di > collision_tolerance) { atox[a] /= di * collision_tolerance; atoy[a] /= di * collision_tolerance; } if (di > 30) { atox[a] = (atox[a] / di) * 30; atoy[a] = (atoy[a] / di) * 30; } atoy[a] += gravity; if (arad[a] > 0) { arad[a] = 0; } if (_root.game.colmap.hitTest(_root.game._x + ax[a], _root.game._y + ay[a], true)) { dd = 5; acy = 0; acx = 0; x = -1; while (x <= 1) { y = -1; while (y <= 1) { if (!_root.game.colmap.hitTest(_root.game._x + ax[a] + Math.abs(atox[a]) * x, _root.game._y + ay[a] + Math.abs(atoy[a]) * y, true)) { acx += x; acy += y; } y += 1; } x += 1; } normx; normy; speed = 0.05; nostop = 0.75; lasttox = atox[a]; lasttoy = atoy[a]; if (_root.game.easyphys.hitTest(_root.game._x + ax[a], _root.game._y + ay[a], true)) { speed = 0.2; } d = 0.05; while (d < 10) { if (!_root.game.colmap.hitTest(_root.game._x + ax[a] + d, _root.game._y + ay[a], true)) { atox[a] += d / nostop; ax[a] += d * nostop; d = 10; normx = 1; normy = 0; } else { if (!_root.game.colmap.hitTest(_root.game._x + ax[a] - d, _root.game._y + ay[a], true)) { atox[a] -= d / nostop; ax[a] -= d * nostop; d = 10; normx = -1; normy = 0; } else { if (!_root.game.colmap.hitTest(_root.game._x + ax[a], _root.game._y + ay[a] + d, true)) { atoy[a] += d / nostop; ay[a] += d * nostop; d = 10; normx = 0; normy = 1; } else { if (!_root.game.colmap.hitTest(_root.game._x + ax[a], _root.game._y + ay[a] - d, true)) { atoy[a] -= d / nostop; ay[a] -= d * nostop; d = 10; normx = 0; normy = -1; } else { if (!_root.game.colmap.hitTest(_root.game._x + ax[a] + d, _root.game._y + ay[a] + d, true)) { atox[a] += d / nostop; atoy[a] += d / nostop; ax[a] += d * nostop; ay[a] += d * nostop; d = 10; normx = 1; normy = 1; } else { if (!_root.game.colmap.hitTest(_root.game._x + ax[a] - d, _root.game._y + ay[a] + d, true)) { atox[a] -= d / nostop; atoy[a] += d / nostop; ax[a] -= d * nostop; ay[a] += d * nostop; d = 10; normx = -1; normy = 1; } else { if (!_root.game.colmap.hitTest(_root.game._x + ax[a] + d, _root.game._y + ay[a] - d, true)) { atox[a] += d / nostop; atoy[a] -= d / nostop; ax[a] += d * nostop; ay[a] -= d * nostop; d = 10; normx = 1; normy = -1; } else { if (!_root.game.colmap.hitTest(_root.game._x + ax[a] - d, _root.game._y + ay[a] - d, true)) { atox[a] -= d / nostop; atoy[a] -= d / nostop; ax[a] -= d * nostop; ay[a] -= d * nostop; d = 10; normx = -1; normy = -1; } } } } } } } } d += speed; } if (a < 11) { mnoj = 1; if (a == 3 || a == 4) { mnoj = 0.4; } if (a == 6) { mnoj = 5; } lhea = hea; if (Math.abs(normx) > Math.abs(normy)) { hea -= Math.floor(Math.abs(lasttox) * 0.6 * mnoj * nostop) * 10; } else { hea -= Math.floor(Math.abs(lasttoy) * 0.6 * mnoj * nostop) * 10; } if (lhea - hea < mnoj) { hea = lhea; } if (Math.abs(normx) > Math.abs(normy)) { pwr = Math.abs(lasttox); } else { pwr = Math.abs(lasttoy); } if (pwr > 2) { if (Math.random() > 0.5) { _root.sou.gotoAndStop(2); } else { _root.sou.gotoAndStop(3); } } else { if (pwr > 1.2) { if (Math.random() > 0.5) { _root.sou.gotoAndStop(4); } else { _root.sou.gotoAndStop(5); } } else { if (pwr > 1.1 || lhea > hea) { _root.sou.gotoAndStop(6); } } } if (lhea > hea) { if (Math.abs(normx) > Math.abs(normy)) { Effect(ax[a], ay[a], 0, 90, lhea - hea); } else { Effect(ax[a], ay[a], 0, 0, lhea - hea); } } } if (Math.abs(normx) > Math.abs(normy)) { atox[a] *= 0.75; if (atoy[a] > 0) { atoy[a] = Math.max(atoy[a] - friction * Math.abs(atox[a]), 0); } else { atoy[a] = Math.min(atoy[a] + friction * Math.abs(atox[a]), 0); } } else { if (Math.abs(normx) < Math.abs(normy)) { if (atox[a] > 0) { atox[a] = Math.max(atox[a] - friction * Math.abs(atoy[a]), 0); } else { atox[a] = Math.min(atox[a] + friction * Math.abs(atoy[a]), 0); } atoy[a] *= 0.75; } } } } ++a; } ch = 0; for (;;) { if (!(ch < 19 || iter == 0 && ch < chtotal)) break; dis = Dist2D(ax[chP[ch]], ay[chP[ch]], ax[chC[ch]], ay[chC[ch]]); bounce = 5 * chdamp[ch]; bnc = bounce * Math.abs(dis - chdef[ch]); if (dis < 1) { dis = 1; } if (ch >= 19) { bnc = 0.5 * Math.abs(dis - chdef[ch]); if (dis > chdef[ch] && (chtypa[ch] == 0 || chtypa[ch] == 3 || chtypa[ch] == 4 || chtypa[ch] == 2)) { ax[chC[ch]] += ((ax[chP[ch]] - ax[chC[ch]]) / dis) * bnc; ay[chC[ch]] += ((ay[chP[ch]] - ay[chC[ch]]) / dis) * bnc; ax[chP[ch]] -= ((ax[chP[ch]] - ax[chC[ch]]) / dis) * bnc; ay[chP[ch]] -= ((ay[chP[ch]] - ay[chC[ch]]) / dis) * bnc; } if (dis < chdef[ch] && (chtypa[ch] == 0 || chtypa[ch] == 3 || chtypa[ch] == 4 || chtypa[ch] == 1)) { ax[chC[ch]] -= ((ax[chP[ch]] - ax[chC[ch]]) / dis) * bnc; ay[chC[ch]] -= ((ay[chP[ch]] - ay[chC[ch]]) / dis) * bnc; ax[chP[ch]] += ((ax[chP[ch]] - ax[chC[ch]]) / dis) * bnc; ay[chP[ch]] += ((ay[chP[ch]] - ay[chC[ch]]) / dis) * bnc; } } else { if (dis > chdef[ch] && (chtypa[ch] == 0 || chtypa[ch] == 3 || chtypa[ch] == 4 || chtypa[ch] == 2)) { atox[chC[ch]] += ((ax[chP[ch]] - ax[chC[ch]]) / dis) * bnc; atoy[chC[ch]] += ((ay[chP[ch]] - ay[chC[ch]]) / dis) * bnc; atox[chP[ch]] -= ((ax[chP[ch]] - ax[chC[ch]]) / dis) * bnc; atoy[chP[ch]] -= ((ay[chP[ch]] - ay[chC[ch]]) / dis) * bnc; } if (dis < chdef[ch] && (chtypa[ch] == 0 || chtypa[ch] == 3 || chtypa[ch] == 4 || chtypa[ch] == 1)) { atox[chC[ch]] -= ((ax[chP[ch]] - ax[chC[ch]]) / dis) * bnc; atoy[chC[ch]] -= ((ay[chP[ch]] - ay[chC[ch]]) / dis) * bnc; atox[chP[ch]] += ((ax[chP[ch]] - ax[chC[ch]]) / dis) * bnc; atoy[chP[ch]] += ((ay[chP[ch]] - ay[chC[ch]]) / dis) * bnc; } if ((chtypa[ch] == 0 || chtypa[ch] == 3 || chtypa[ch] == 4) && chdamp[ch] >= 0.1) { tarx = (ax[chP[ch]] + ax[chC[ch]]) / 2; tary = (ay[chP[ch]] + ay[chC[ch]]) / 2; ax[chP[ch]] = tarx + (ax[chP[ch]] - tarx) * chdef[ch] / dis; ay[chP[ch]] = tary + (ay[chP[ch]] - tary) * chdef[ch] / dis; ax[chC[ch]] = tarx + (ax[chC[ch]] - tarx) * chdef[ch] / dis; ay[chC[ch]] = tary + (ay[chC[ch]] - tary) * chdef[ch] / dis; } } ++ch; } ++iter; } Draw(); }; } movieClip 46 { } movieClip 58 { } movieClip 63 { frame 1 { this.gotoAndStop(1); this.frm = 1; this.onEnterFrame = function () { this.frm += _root.steps / 2; this.gotoAndStop(Math.round(this.frm)); if (this.frm > 633) { this.frm = 1; } }; } } movieClip 65 { } movieClip 68 { } movieClip 69 { frame 1 { this.gotoAndStop(1); this.frm = 1; this.onEnterFrame = function () { this.frm += _root.steps / 2; this.gotoAndStop(Math.round(this.frm)); if (this.frm > 320) { this.frm = 1; } }; } } movieClip 72 { } movieClip 73 { } movieClip 74 { frame 1 { this.gotoAndStop(1); this.frm = 1; this.onEnterFrame = function () { this.frm += _root.steps / 2; this.gotoAndStop(Math.round(this.frm)); if (this.frm >= 20) { this.frm = 1; } }; } } movieClip 76 { } movieClip 78 { } movieClip 80 { } movieClip 81 { } movieClip 84 { } movieClip 86 { } movieClip 87 { } movieClip 89 { } movieClip 93 { frame 1 { if (this + '' != '_level0.game.blood') { _root.Effect(this._x, this._y, 1, this._xscale); _root.Effect(this._x, this._y, 1, this._xscale); _root.Effect(this._x, this._y, 1, this._xscale); _root.Effect(this._x, this._y, 1, this._xscale); _root.Effect(this._x, this._y, 1, this._xscale); this.onEnterFrame = function () { if (!_root.game.colmap.hitTest(this._x + _root.game._x, this._y + _root.game._y, true)) { this.gotoAndStop(41); } }; } else { this.stop(); } } frame 40 { this.stop(); } frame 41 { this.stop(); this.onEnterFrame = function () {}; } } movieClip 98 { frame 1 { this.stop(); this.picked = false; this.bstate = 0; this.power = 0; this.vikid = false; this.isnue = true; this.nearer = 9; this.onEnterFrame = function () { if (!picked) { if ((_root.Dist2D(_root.ax[9], _root.ay[9], this._x, this._y) < 15 || _root.Dist2D(_root.ax[10], _root.ay[10], this._x, this._y) < 15) && _root.hea > 0 || (_root.Dist2D(_root.ax[9], _root.ay[9], this._x, this._y) < 20 || _root.Dist2D(_root.ax[10], _root.ay[10], this._x, this._y) < 20) && _root.hea <= 0 && _root.hea > -100) { if (_root.Dist2D(_root.ax[9], _root.ay[9], this._x, this._y) < 3 || _root.Dist2D(_root.ax[10], _root.ay[10], this._x, this._y) < 3) { this.picked = true; this.isnue = false; ++_root.totaldrunk; _root.kongregateStats.submit('Drunk bottles', 1); _root.kongregateScores.submit(_root.totaldrunk); } else { this.nearer = 9; if (_root.Dist2D(_root.ax[10], _root.ay[10], this._x, this._y) < _root.Dist2D(_root.ax[9], _root.ay[9], this._x, this._y)) { this.nearer = 10; } this.power = 2; dis = _root.Dist2D(_root.ax[this.nearer], _root.ay[this.nearer], this._x, this._y); if (dis < 1) { dis = 1; } if (_root.hea > -100) { if (dis < 5) { _root.atox[this.nearer] += ((this._x - _root.ax[this.nearer]) / dis) * this.power * _root.steps / 2; _root.atoy[this.nearer] += ((this._y - _root.ay[this.nearer]) / dis) * this.power * _root.steps / 2; } else { _root.atox[this.nearer] += ((this._x - _root.ax[this.nearer]) / dis) * this.power * _root.steps / 4; _root.atoy[this.nearer] += ((this._y - _root.ay[this.nearer]) / dis) * this.power * _root.steps / 4; } } } } } else { this.lx = this._x; this.ly = this._y; this.lr = this._rotation; this.bstate += _root.steps / 2; if (!this.vikid) { this._x = _root.ax[this.nearer] + _root.atox[this.nearer] * _root.steps; this._y = _root.ay[this.nearer] + _root.atoy[this.nearer] * _root.steps; this._rotation = (-Math.atan2(_root.ax[this.nearer] - _root.ax[this.nearer - 2], _root.ay[this.nearer] - _root.ay[this.nearer - 2]) / Math.PI) * 180 + 90; } else { this._x += this.tox; this._y += this.toy; this._rotation += this.rot; this.toy += _root.gravity * _root.steps; } if (this.bstate > 10) { if (this.bstate < 110) { if (this.bstate < 100) { this.power = 0.5; } else { this.power = -1; } if (this.bstate < 100) { this.power = 0.25; } else { this.power = -0.5; } this.power *= 0.5; dis = _root.Dist2D(_root.ax[this.nearer], _root.ay[this.nearer], _root.ax[6], _root.ay[6]); if (dis < 1) { dis = 1; } if (_root.hea > -100) { _root.atox[this.nearer] += ((_root.ax[6] - _root.ax[this.nearer]) / dis) * this.power * _root.steps / 2; _root.atoy[this.nearer] += ((_root.ay[6] - _root.ay[this.nearer]) / dis) * this.power * _root.steps / 2; _root.atox[6] -= ((_root.ax[6] - _root.ax[this.nearer]) / dis) * this.power * _root.steps / 2; _root.atoy[6] -= ((_root.ay[6] - _root.ay[this.nearer]) / dis) * this.power * _root.steps / 2; } } } if (this.bstate > 50) { if (this.bstate < 100) { if (_root.hea > -100) { if (_root.hea <= 0) { _root.hea = 1; } _root.hea = Math.min(_root.hea + _root.steps / 2, 100); } } } if (this.bstate > 102) { if (!this.vikid) { this.tox = -this.lx + this._x; this.toy = -this.ly + this._y; this.rot = -this.lr + this._rotation; this.vikid = true; this.gotoAndStop(2); } } if (this.bstate > 200) { this.gotoAndStop(3); } } }; } frame 3 { this.onEnterFrame = function () {}; this.gotoAndStop(4); } frame 4 { this.onEnterFrame = function () {}; } } movieClip 100 { frame 1 { if (this + '' != '_level0.game.drop') { power = (power - 100) * 0.004; this.tox = -1 * power + Math.random() * 2 * power; this.toy = -1 * power + Math.random() * 2 * power; if (!_root.game.colmap.hitTest(this._x + _root.game._x, this._y + _root.game._y - 5, true)) { this.toy -= 1 * power; } if (!_root.game.colmap.hitTest(this._x + _root.game._x, this._y + _root.game._y + 5, true)) { this.toy += 1 * power; } if (!_root.game.colmap.hitTest(this._x + _root.game._x + 5, this._y + _root.game._y, true)) { this.tox += 1 * power; } if (!_root.game.colmap.hitTest(this._x + _root.game._x - 5, this._y + _root.game._y, true)) { this.tox -= 1 * power; } this.spawned = false; this.undertime = 0; this._alpha = 100; this.onEnterFrame = function () { this._x += this.tox * _root.steps / 2; this._y += this.toy * _root.steps / 2; this.toy += _root.gravity * _root.steps; this._xscale = _root.Dist2D(this.tox, this.toy, 0, 0) * 200 + 100; this._rotation = (-Math.atan2(this.tox, this.toy) / Math.PI) * 180 + 90; if (this.spawned) { if (_root.game.colmap.hitTest(this._x + _root.game._x, this._y + _root.game._y, true)) { this._xscale = 200; this._yscale = 200; this.onEnterFrame = function () { if (this._alpha > 0) { this._alpha -= 5; } else { this.onEnterFrame = function () {}; } }; } } else { if (!_root.game.colmap.hitTest(this._x + _root.game._x, this._y + _root.game._y, true) || this.undertime > 5) { this.spawned = true; } else { ++this.undertime; } } }; } } } movieClip 102 { } movieClip 104 { } movieClip 107 { } movieClip 108 { frame 1 { this._visible = false; this.stop(); this.onEnterFrame = function () { if (this.hitTest(_root.ax[0] + _root.game._x, _root.ay[0] + _root.game._y, false) && _root.hea > 0) { if (_root.my_so.data.x != this._x || _root.my_so.data.y != this._y) { _root.my_so.data.hea = _root.hea; _root.my_so.data.x = this._x; _root.my_so.data.y = this._y; _root.my_so.data.totaldrunk = _root.totaldrunk; i = 0; while (i < 100) { trace(_root.game['med' + i].isnue); _root.my_so.data['m' + i] = _root.game['med' + i].isnue; ++i; } trace(_root.ax[0]); this._visible = true; this.gotoAndPlay(2); } } }; } frame 2 { this._visible = true; this.onEnterFrame = 0; } frame 61 { this.stop(); } } movieClip 111 { } movieClip 112 { } movieClip 120 { frame 1 { this.stop(); } frame 2 { this.gotoAndStop(1); } frame 3 { this.gotoAndStop(1); } frame 4 { this.gotoAndStop(1); } frame 5 { this.gotoAndStop(1); } frame 6 { this.gotoAndStop(1); } } frame 5 { gaction = 0; _root.rise.onRelease = function () { gaction = 1; }; _root.onEnterFrame = function () { if (gaction == 0) { if (_root.fg2._alpha > 0) { _root.fg2._alpha -= 2; _root.fg2._visible = true; } else { _root.fg2._visible = false; gaction = -1; } } if (gaction == 1) { if (_root.fg2._alpha < 100) { _root.fg2._alpha += 2; _root.fg2._visible = true; } else { _root.gotoAndStop(2); gaction = -1; } } }; }




http://swfchan.com/24/117986/info.shtml
Created: 7/3 -2019 12:49:14 Last modified: 7/3 -2019 12:49:14 Server time: 12/05 -2024 19:33:04