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

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

fruit-shoot-garden.swf

This is the info page for
Flash #110414

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


Text
0

Reset

Loading...

Loading...

Play

Play

More Games

More Games

Fruit Shoot Garden

Play

Play

<p align="center"><font face="Toledo" size="14" color="#000000" letterSpacing="0.000000" kerning="0"><b>Visit girly.com today to play thousands of </b><a href="http://www.girly.com/" target = "_blank"><b>games for girls.</b></a></font></p>

0

Fruits

More Games

More Games

4x

You have to shoot all the fruits

You can clear the fruits by
forming three similar fruits

Click the mouse to shoot

Start

Start

Level 1

Game Over

Try Again

Try Again

Next Level

Congrats!!!

Next Level

0

You cleared

Fruits

0

4x

Level 2

0

0

4x

Level 3

Congratulations

0

Your total
cleared fruits
are

Play Again

Play Again

<p align="center"><font face="Toledo" size="14" color="#000000" letterSpacing="0.000000" kerning="0"><b>If you enjoyed this game <sbr />for girls then be sure to <sbr />check out all of the other <sbr />puzzle games availalbe at <sbr />girly.com. New </b><a href="http://www.girly.com/" target = "_blank"><b>girl games</b></a><b> <sbr />are added daily so you <sbr />will always find <sbr />something fun to play.</b></font></p>

<p align="left"><font face="Tahoma" size="14" color="#000000" letterSpacing="0.000000" kerning="0">Thank you for playing this fun game for girls. We hope you enjoyed it and will share it with your friends <sbr />as well. There are a lot of different <a href="http://www.girly.com/" target = "_blank">girly games</a> all over the web and we work hard to ensure that ours <sbr />are among the top quality you will find.</font></p><p align="left"></p><p align="left"><font face="Tahoma" size="14" color="#000000" letterSpacing="0.000000" kerning="0">On our various sites you can also play lots of very fun <a href="http://www.girlgames1.com/" target = "_blank">girl games</a> which include dress up games, <sbr /><a href="http://www.ecookinggames.com/" target = "_blank">cooking games for girls</a> and even some interesting makeover games. The type of games can you expect <sbr />to find are the same as any girly site, namely <a href="http://www.edressupgames.com/" target = "_blank">dress up games</a>, cooking games, <a href="http://www.emakeovergames.com/" target = "_blank">makeover games</a>, and <sbr />various mini games which feature characters or aspects which appeal to girl kids. Most of the <a href="http://www.pandadressup.com/" target = "_blank">dress up</a> <sbr />style games will allow you to first give the girl a new look by applying her makeup before choosing the <sbr />best outfit. Online flash <a href="http://www.egirlgames.com/" target = "_blank">games for girls</a> have become increasingly popular with current generations <sbr />young girl audiences.</font></p><p align="left"></p><p align="left"><font face="Tahoma" size="14" color="#000000" letterSpacing="0.000000" kerning="0">Visit us and play some <a href="http://www.escapegames.com/" target = "_blank">escape games</a> if you think you are really good with attention to detail. If you <sbr />have a mind for something a little more violent then you might try out some <a href="http://www.gungamezone.com/shootinggames.html" target = "_blank">shooting games</a> or <a href="http://www.ezombiegames.com/">zombie <sbr />games</a> which are also available in our arcades. There have been a lot of PC games coming out lately <sbr />which are zombie related but there are also a lot of really exciting <a href="http://www.zombiegames.us/" target = "_blank">zombie games online</a> as well. Don’t <sbr />be afraid to use precision weaponry to kill your opponents in some fun <a href="http://www.sniped.com/" target = "_blank">sniper games</a>. Racing games and <sbr />specifically <a href="http://www.ebikegames.com/" target = "_blank">bike games</a> and <a href="http://www.itruckgames.com/" target = "_blank">truck games</a> are also a lot of fun for both girls and boys. </font></p><p align="left"></p><p align="left"><font face="Tahoma" size="14" color="#000000" letterSpacing="0.000000" kerning="0">Enjoy the games!</font></p><p align="left"></p>

Back

Back

ActionScript [AS1/AS2]

Frame 2
function rightclick() { getURL ("http://www.girly.com/"); } function cargando() { var _local2; var _local3; var _local4; _local2 = _root.getBytesTotal(); _local3 = _root.getBytesLoaded(); _local4 = Math.floor((_local3 * 100) / _local2); barra_mc.gotoAndStop(_local4); if (_local3 == _local2) { clearInterval(hiloPrecarga); barra_mc._visible = false; play(); } } var fmm01_menu = new ContextMenu(); fmm01_menu.hideBuiltInItems(); _root.menu = fmm01_menu; var item = new ContextMenuItem("Created by www.girly.com", rightclick); fmm01_menu.customItems[0] = item; fscommand ("showmenu", false); var hiloPrecarga = setInterval(cargando, 1); Sonido = new Sound(this); Sonido.attachSound("Music"); Sonido.start(0, 99); stop();
Frame 283
stop();
Frame 284
function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version)); u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } __com_mochibot__("87152091", this, 10301, true); stop(); onclick = function () { if (mussnd._currentframe == 1) { if (_global.Behaviors == null) { _global.Behaviors = {}; } if (_global.Behaviors.Sound == null) { _global.Behaviors.Sound = {}; } if (typeof(this.createEmptyMovieClip) == "undefined") { this._parent.createEmptyMovieClip("BS_clickins", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000)); _global.Behaviors.Sound.clickins = new Sound(this._parent.BS_clickins); } else { this.createEmptyMovieClip("_clickins_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000)); _global.Behaviors.Sound.clickins = new Sound(this.BS_clickins); } _global.Behaviors.Sound.clickins.attachSound("clicksnd"); _global.Behaviors.Sound.clickins.start(0, 1); } else { _global.Behaviors.Sound.clickins.stop("clicksnd"); } }; onroll = function () { if (mussnd._currentframe == 1) { if (_global.Behaviors == null) { _global.Behaviors = {}; } if (_global.Behaviors.Sound == null) { _global.Behaviors.Sound = {}; } if (typeof(this.createEmptyMovieClip) == "undefined") { this._parent.createEmptyMovieClip("BS_rollins", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000)); _global.Behaviors.Sound.rollins = new Sound(this._parent.BS_rollins); } else { this.createEmptyMovieClip("_rollins_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000)); _global.Behaviors.Sound.rollins = new Sound(this.BS_rollins); } _global.Behaviors.Sound.rollins.attachSound("rollover"); _global.Behaviors.Sound.rollins.start(0, 1); } else { _global.Behaviors.Sound.rollins.stop("rollover"); } }; shootSound = function () { if (mussnd._currentframe == 1) { if (_global.Behaviors == null) { _global.Behaviors = {}; } if (_global.Behaviors.Sound == null) { _global.Behaviors.Sound = {}; } if (typeof(this.createEmptyMovieClip) == "undefined") { this._parent.createEmptyMovieClip("BS_dreamins", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000)); _global.Behaviors.Sound.dreamins = new Sound(this._parent.BS_dreamins); } else { this.createEmptyMovieClip("_dreamins_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000)); _global.Behaviors.Sound.dreamins = new Sound(this.BS_dreamins); } _global.Behaviors.Sound.dreamins.attachSound("dream"); _global.Behaviors.Sound.dreamins.start(0, 1); } else { _global.Behaviors.Sound.dreamins.stop("dream"); } }; cong = function () { if (mussnd._currentframe == 1) { if (_global.Behaviors == null) { _global.Behaviors = {}; } if (_global.Behaviors.Sound == null) { _global.Behaviors.Sound = {}; } if (typeof(this.createEmptyMovieClip) == "undefined") { this._parent.createEmptyMovieClip("BS_congins", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000)); _global.Behaviors.Sound.congins = new Sound(this._parent.BS_congins); } else { this.createEmptyMovieClip("_congins_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000)); _global.Behaviors.Sound.congins = new Sound(this.BS_congins); } _global.Behaviors.Sound.congins.attachSound("cong"); _global.Behaviors.Sound.congins.start(0, 1); } else { _global.Behaviors.Sound.congins.stop("cong"); } }; pointssound = function () { if (mussnd._currentframe == 1) { if (_global.Behaviors == null) { _global.Behaviors = {}; } if (_global.Behaviors.Sound == null) { _global.Behaviors.Sound = {}; } if (typeof(this.createEmptyMovieClip) == "undefined") { this._parent.createEmptyMovieClip("BS_pointsndins", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000)); _global.Behaviors.Sound.pointsndins = new Sound(this._parent.BS_pointsndins); } else { this.createEmptyMovieClip("_pointsndins_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000)); _global.Behaviors.Sound.pointsndins = new Sound(this.BS_pointsndins); } _global.Behaviors.Sound.pointsndins.attachSound("pointsnd"); _global.Behaviors.Sound.pointsndins.start(0, 1); } else { _global.Behaviors.Sound.pointsndins.stop("pointsnd"); } }; gameoversound = function () { if (mussnd._currentframe == 1) { if (_global.Behaviors == null) { _global.Behaviors = {}; } if (_global.Behaviors.Sound == null) { _global.Behaviors.Sound = {}; } if (typeof(this.createEmptyMovieClip) == "undefined") { this._parent.createEmptyMovieClip("BS_gameoverins", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000)); _global.Behaviors.Sound.gameoverins = new Sound(this._parent.BS_gameoverins); } else { this.createEmptyMovieClip("_gameoverins_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000)); _global.Behaviors.Sound.gameoverins = new Sound(this.BS_gameoverins); } _global.Behaviors.Sound.gameoverins.attachSound("gameoversnd"); _global.Behaviors.Sound.gameoverins.start(0, 1); } else { _global.Behaviors.Sound.gameoverins.stop("gameoversnd"); } }; reloadalertsound = function () { if (mussnd._currentframe == 1) { if (_global.Behaviors == null) { _global.Behaviors = {}; } if (_global.Behaviors.Sound == null) { _global.Behaviors.Sound = {}; } if (typeof(this.createEmptyMovieClip) == "undefined") { this._parent.createEmptyMovieClip("BS_reloadalertins", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000)); _global.Behaviors.Sound.reloadalertins = new Sound(this._parent.BS_reloadalertins); } else { this.createEmptyMovieClip("_reloadalertins_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000)); _global.Behaviors.Sound.reloadalertins = new Sound(this.BS_reloadalertins); } _global.Behaviors.Sound.reloadalertins.attachSound("reloadalertsnd"); _global.Behaviors.Sound.reloadalertins.start(0, 1); } else { _global.Behaviors.Sound.reloadalertins.stop("reloadalertsnd"); } }; _global.Behaviors.Sound.gameoverins.stop("gameoversnd"); _global.Behaviors.Sound.reloadalertins.stop("reloadalertsnd"); _global.Behaviors.Sound.congins.stop("cong"); _global.Behaviors.Sound.dreamins.stop("dream");
Frame 285
this.onLoad = function () { _global.gameon = true; }; startbtn._visible = true; start_bg._visible = true; function setyf(xx, yy) { xx = xx * 1; yy = yy * 1; return((0 * xx) + (0.8660254 * yy)); } function setxf(xx, yy) { xx = xx * 1; yy = yy * 1; return((1 * xx) + (0.5 * yy)); } function gety(xx, yy) { xx = xx * 1; yy = yy * 1; return(((axis1x * yy) - (xx * axis1y)) / ((axis1x * axis2y) - (axis2x * axis1y))); } function getx(xx, yy) { xx = xx * 1; yy = yy * 1; return(((xx * axis2y) - (axis2x * yy)) / ((axis1x * axis2y) - (axis2x * axis1y))); } function sety(xx, yy) { xx = xx * 1; yy = yy * 1; return((axis1y * xx) + (axis2y * yy)); } function setx(xx, yy) { xx = xx * 1; yy = yy * 1; return((axis1x * xx) + (axis2x * yy)); } function asetainfo(tuhlailu) { i = 1; while (i < 10) { if (this["tuhlaus" + i]) { this["tuhlaus" + i].targetalpha = 0; this["tuhlaus" + i].targetscale = 0; } i++; } i = 1; while (i <= tuhlailu) { if (!this["tuhlaus" + i]) { attachMovie("tileydinpommi", "tuhlaus" + i, 789789 + i); } this["tuhlaus" + i].targetalpha = 100; this["tuhlaus" + i].targetscale = 68; this["tuhlaus" + i]._y = 908.374; this["tuhlaus" + i]._x = ((10 + (30 * i)) * 0.9) * 0.926; i++; } } function init() { i = 0; while (i <= Erivareja) { _root["tatavaria" + i] = 1; i++; } kutistuu = false; pistekerroin = 1; multiplier = ""; gridspeed = 20; tuhlailulim = 6; tuhlailu = 6; axis1x = 1; axis1y = 0; axis2x = 0.5; axis2y = 0.8660254; asetainfo(6); palloilmassa = 0; pallojainklimppi = 0; seuraavapallo = 1; seuraavaseuraavapallo = 2; asetaseuraavapallo(); line_mc._visible = true; ammuttu = 0; d = 100; rowsCurrentlyInGrid = -2; popattavia = 0; framerate = 0; framejalaskettu = 0; framenalkuaika = 0; attachMovie("Tausta", "Tausta", 20); kellonalkuaika = -999999; kellonkesto = 7000; Tausta._x = 275; Tausta._y = 200; Tausta._visible = false; palloja_ammuttu = 0; currentselectedsum = "0 / 10"; _root.oikeapalkki.scorepalkki_red._visible = false; GridWidth = 5; GameOver = false; _global.gameon = false; gametime = 20000; levelper6 = "0"; _global.onnitteluja = false; PointsThrown = 0; animaationpituus = 9; kerroin = 0.1; attachMovie("Lopputiski", "lopputiski", 19); _root.lopputiski._visible = false; _root.lopputiski._x = 250.02; _root.lopputiski._y = 250.02; _root.infotiski._visible = true; _root.infotiski.gotoAndPlay(1); infotiskijulkaistu = getTimer(); gamesinthislevel = 3; tempPoints = 0; Points = 0; _global.lopputulema = Points; Score = "" + Math.round(tempPoints); valitunpallonkoko = 105; valitsemattomankoko = 90; level = 1; levelper6 = level + "/6"; if (infotiski.getDepth() != 100000) { infotiski.swapDepths(100000); } if (dwnappi2.getDepth() != 490000) { dwnappi2.swapDepths(490000); } edellinenoikein = 0; oikein = 0; _global.lopputulos = "0"; Copiesleft = "" + ((gamesinthislevel + edellinenoikein) - oikein); hiirenseuraaja._xscale = 10; hiirenseuraaja._yscale = 10; hiirenseuraaja._x = 100; hiirenseuraaja._y = 100; rotationtime = -10000; hiirenseuraaja._visible = false; this.attachMovie("empty", "grid", 0); this.attachMovie("empty", "shots", 2); this.attachMovie("empty", "scoreEffects", 1); scoreEffects._x = (scoreEffects._y = 0); this.grid._x = GridCenterX; this.grid._y = GridCenterY; this.grid._xscale = (this.grid._yscale = 0); this.grid.targetscale = 100; this.shots._x = 0; this.shots._y = 0; initGrid(); } function kiinnita(luku, ii, jj, nimi, xv, yv, poistetaanko) { pallojainklimppi++; grid.attachMovie("file" + luku, nimi, grid.getNextHighestDepth()); grid[nimi]._xscale = (grid[nimi]._yscale = 100 * kokokerroin); grid[nimi].muni = ii; grid[nimi].munj = jj; grid[nimi].munsisalto = luku; grid[nimi]._visible = true; grid[nimi]._x = setxf(jj * tileW, ii * tileH); grid[nimi]._y = setyf(jj * tileW, ii * tileH); grid[nimi].gotoAndPlay(1); grid[nimi]._rotation = -grid._rotation; xxx = setx(jj * tileW, ii * tileH); yyy = sety(jj * tileW, ii * tileH); lenin = Math.sqrt((xxx * xxx) + (yyy * yyy)); xxx = xxx / lenin; yyy = yyy / lenin; uusxxx = -yyy; uusyyy = xxx; dpdp = (uusxxx * xv) + (uusyyy * yv); gridspeed = gridspeed + ((7 * (dpdp - (lenin * Math.sin((gridspeed / 180) * 3.141592)))) * Math.pow(1 / (1 + pallojainklimppi), 1)); grid[nimi].solid = true; grid[nimi].onEnterFrame = function () { oikeax = setx(this.munj * tileW, this.muni * tileH); oikeay = sety(this.munj * tileW, this.muni * tileH); if (!_root.GameOver) { if ((((oikeax < (_root.leftBound + 50)) || (oikeax > (_root.rightBound - 50))) || (oikeay < (_root.upperBound + 50))) || (oikeay > (_root.lowerBound - 50))) { if (!this.varo) { this.attachMovie("varopallo", "varo", this.getNextHighestDepth()); this.varo._alpha = 0; } this.varo._alpha = (this.varo._alpha * 0.9) + 6; this.varo._x = 0; this.varo._y = 0; } else if (this.varo) { if (this.varo._alpha < 5) { this.varo.removeMovieClip(); } else { this.varo._alpha = this.varo._alpha * 0.95; } } if ((oikeax < (_root.leftBound + (tileW * 0.4))) || (oikeax > (_root.rightBound - (tileW * 0.4)))) { _root.GameOver = true; ThrowError(oikeax + grid._x, oikeay + grid._y); } if ((oikeay < (_root.upperBound + (tileH * 0.4))) || (oikeay > (_root.lowerBound - (tileH * 0.4)))) { _root.GameOver = true; ThrowError(oikeax + grid._x, oikeay + grid._y); } } }; if (poistetaanko) { removeBlock(ii, jj); } laskeEriVarit(); } function laskeEriVarit() { var _local4 = new Array(); var _local5 = new Array(); var _local2 = 0; var _local3 = 0; i = 0; while (i <= Erivareja) { _root["tatavaria" + i] = 0; i++; } _local4[_local3] = 0; _local5[_local3] = 0; BFStunnus++; while (_local3 <= _local2) { iii = _local4[_local3]; jjj = _local5[_local3]; _root["tatavaria" + grid[(("t_" + iii) + "_") + jjj].munsisalto]++; iii = _local4[_local3] - 1; jjj = _local5[_local3]; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] + 1; jjj = _local5[_local3]; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3]; jjj = _local5[_local3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3]; jjj = _local5[_local3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] - 1; jjj = _local5[_local3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] + 1; jjj = _local5[_local3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } _local3++; } } function removeBlock(ii, jj) { var _local4 = new Array(); var _local5 = new Array(); var _local2 = 0; var _local3 = 0; _local4[_local3] = ii; _local5[_local3] = jj; BFStunnus++; id = grid[(("t_" + ii) + "_") + jj].munsisalto; while (_local3 <= _local2) { iii = _local4[_local3] - 1; jjj = _local5[_local3]; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] + 1; jjj = _local5[_local3]; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3]; jjj = _local5[_local3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3]; jjj = _local5[_local3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] - 1; jjj = _local5[_local3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] + 1; jjj = _local5[_local3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } _local3++; } if (_local2 > 2) { var _local8 = new Array(); var _local9 = new Array(); indexa3 = 0; indexl3 = 0; _local8[0] = 0; _local9[0] = 0; BFStunnus++; while (indexa3 <= indexl3) { iii = _local8[indexa3] - 1; jjj = _local9[indexa3]; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl3++; _local8[indexl3] = iii; _local9[indexl3] = jjj; } } iii = _local8[indexa3] + 1; jjj = _local9[indexa3]; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl3++; _local8[indexl3] = iii; _local9[indexl3] = jjj; } } iii = _local8[indexa3]; jjj = _local9[indexa3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl3++; _local8[indexl3] = iii; _local9[indexl3] = jjj; } } iii = _local8[indexa3]; jjj = _local9[indexa3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl3++; _local8[indexl3] = iii; _local9[indexl3] = jjj; } } iii = _local8[indexa3] + 1; jjj = _local9[indexa3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl3++; _local8[indexl3] = iii; _local9[indexl3] = jjj; } } iii = _local8[indexa3] - 1; jjj = _local9[indexa3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl3++; _local8[indexl3] = iii; _local9[indexl3] = jjj; } } indexa3++; } _local4 = new Array(); _local5 = new Array(); _local2 = 0; _local3 = 0; _local4[_local3] = ii; _local5[_local3] = jj; BFStunnus++; while (_local3 <= _local2) { iii = _local4[_local3] - 1; jjj = _local5[_local3]; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { ThrowPoints(pistekerroin, grid._x + setx(jjj * tileW, iii * tileH), grid._y + sety(jjj * tileW, iii * tileH), grid[(("t_" + iii) + "_") + jjj]); grid[(("t_" + iii) + "_") + jjj].removeMovieClip(); _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] + 1; jjj = _local5[_local3]; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { ThrowPoints(pistekerroin, grid._x + setx(jjj * tileW, iii * tileH), grid._y + sety(jjj * tileW, iii * tileH), grid[(("t_" + iii) + "_") + jjj]); grid[(("t_" + iii) + "_") + jjj].removeMovieClip(); _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3]; jjj = _local5[_local3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { ThrowPoints(pistekerroin, grid._x + setx(jjj * tileW, iii * tileH), grid._y + sety(jjj * tileW, iii * tileH), grid[(("t_" + iii) + "_") + jjj]); grid[(("t_" + iii) + "_") + jjj].removeMovieClip(); _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3]; jjj = _local5[_local3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { ThrowPoints(pistekerroin, grid._x + setx(jjj * tileW, iii * tileH), grid._y + sety(jjj * tileW, iii * tileH), grid[(("t_" + iii) + "_") + jjj]); grid[(("t_" + iii) + "_") + jjj].removeMovieClip(); _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] - 1; jjj = _local5[_local3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { ThrowPoints(pistekerroin, grid._x + setx(jjj * tileW, iii * tileH), grid._y + sety(jjj * tileW, iii * tileH), grid[(("t_" + iii) + "_") + jjj]); grid[(("t_" + iii) + "_") + jjj].removeMovieClip(); _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] + 1; jjj = _local5[_local3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { ThrowPoints(pistekerroin, grid._x + setx(jjj * tileW, iii * tileH), grid._y + sety(jjj * tileW, iii * tileH), grid[(("t_" + iii) + "_") + jjj]); grid[(("t_" + iii) + "_") + jjj].removeMovieClip(); _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } _local3++; } var _local6 = new Array(); var _local7 = new Array(); indexa2 = 0; indexl2 = 0; _local6[0] = 0; _local7[0] = 0; BFStunnus++; while (indexa2 <= indexl2) { iii = _local6[indexa2]; jjj = _local7[indexa2]; grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; iii = _local6[indexa2] - 1; jjj = _local7[indexa2]; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl2++; _local6[indexl2] = iii; _local7[indexl2] = jjj; } } iii = _local6[indexa2] + 1; jjj = _local7[indexa2]; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl2++; _local6[indexl2] = iii; _local7[indexl2] = jjj; } } iii = _local6[indexa2]; jjj = _local7[indexa2] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl2++; _local6[indexl2] = iii; _local7[indexl2] = jjj; } } iii = _local6[indexa2]; jjj = _local7[indexa2] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl2++; _local6[indexl2] = iii; _local7[indexl2] = jjj; } } iii = _local6[indexa2] - 1; jjj = _local7[indexa2] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl2++; _local6[indexl2] = iii; _local7[indexl2] = jjj; } } iii = _local6[indexa2] + 1; jjj = _local7[indexa2] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl2++; _local6[indexl2] = iii; _local7[indexl2] = jjj; } } indexa2++; } poistettuja = 0; var _local10 = 0; while (_local10 <= indexl3) { iii = _local8[_local10]; jjj = _local9[_local10]; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { ThrowPoints(pistekerroin, grid._x + setx(jjj * tileW, iii * tileH), grid._y + sety(jjj * tileW, iii * tileH), grid[(("t_" + iii) + "_") + jjj]); grid[(("t_" + iii) + "_") + jjj].removeMovieClip(); poistettuja++; } } _local10++; } poistettuja = poistettuja + _local2; pallojainklimppi = pallojainklimppi - poistettuja; Points = Points + (poistettuja * pistekerroin); Score = (_global.lopputulos = "" + Points); _global.lopputulema = Points; } } function cleanUp() { var _local3 = GridWidth; var _local4 = rowsCurrentlyInGrid; var _local2 = 0; while (_local2 < _local4) { var _local1 = 0; while (_local1 < _local3) { if (grid[(("t_" + _local2) + "_") + _local1]) { grid[(("t_" + _local2) + "_") + _local1].removeMovieClip(); } _local1++; } _local2++; } } function removeSumsFromGrid() { var _local4 = 0; var _local5 = GridWidth; var _local6 = rowsCurrentlyInGrid; var _local3 = 0; if (rowsCurrentlyInGrid > 30) { } _local3 = rowsCurrentlyInGrid - 30; while (_local3 < _local6) { var _local2 = 0; while (_local2 < _local5) { if (grid[(("t_" + _local3) + "_") + _local2]) { tulos = 1; if (grid[(("t_" + _local3) + "_") + _local2].valittu) { tulos = 2; } if (tulos == 2) { _local4 = _local4 + int(grid[(("t_" + _local3) + "_") + _local2].munsisalto); } } _local2++; } _local3++; } currentselectedsum = _local4 + " / 10"; if (_local4 > 10) { _root.oikeapalkki.scorepalkki_red._visible = true; } if (_local4 <= 10) { _root.oikeapalkki.scorepalkki_red._visible = false; } if (_local4 == 10) { removeSelectedFromGrid(); } return(false); } function removeSelectedFromGrid() { var _local5 = GridWidth; var _local6 = rowsCurrentlyInGrid; var _local3 = 0; var _local4 = 0; if (rowsCurrentlyInGrid > 30) { } _local3 = rowsCurrentlyInGrid - 30; while (_local3 < _local6) { var _local2 = 0; while (_local2 < _local5) { if (grid[(("t_" + _local3) + "_") + _local2]) { tulos = 1; if (grid[(("t_" + _local3) + "_") + _local2].valittu) { tulos = 2; } if (tulos == 2) { ThrowPoints(pistekerroin, grid[(("t_" + _local3) + "_") + _local2]._x + grid._x, grid[(("t_" + _local3) + "_") + _local2]._y + grid._y); grid[(("t_" + _local3) + "_") + _local2].removeMovieClip(); _local4++; Points = Points + pistekerroin; Score = (_global.lopputulos = "" + Points); _global.lopputulema = Points; haiskore.send("scoreboard", "update_score", "Haasto", Points); } } _local2++; } _local3++; } } function poppaa() { bubblePop = new Sound(_root); bubblePop.attachSound("bubble"); bubblePop.start(0, 1); popattavia--; if (popattavia <= 0) { clearInterval(ID); } } function setNumbers(container, Width, Height) { koko = Width * Height; var _local1 = new Array(); do { nyk = 0; temppisum = 0; while (nyk < koko) { _local1[nyk] = random(9) + 1; if ((temppisum + _local1[nyk]) > 10) { _local1[nyk] = 10 - temppisum; } temppisum = temppisum + _local1[nyk]; if (temppisum == 10) { temppisum = 0; } if (nyk == (koko - 1)) { if (temppisum > 0) { _local1[nyk] = _local1[nyk] + (10 - temppisum); } } nyk++; } } while (_local1[koko - 1] == 10); var _local3 = 0; while (_local3 < koko) { indeksi1 = _local3 + random(koko - _local3); tempvalue = _local1[_local3]; _local1[_local3] = _local1[indeksi1]; _local1[indeksi1] = tempvalue; _local3++; } nyk = 0; _local3 = 0; while (_local3 < Height) { var _local2 = 0; while (_local2 < Width) { container[(("t_" + _local3) + "_") + _local2].munsisalto = _local1[nyk]; nyk++; _local2++; } _local3++; } } function satuluku() { juritus = 0; do { juritus++; tulos = random(Erivareja) + 1; } while ((_root["tatavaria" + tulos] == 0) && (juritus < 100)); return(tulos); while (_local2 < 9) { todnaksum = todnaksum + todnakit[_local2]; _local2++; } tulos = random(todnaksum); todnaksum = 0; indeksi = 0; while (indeksi < 9) { todnaksum = todnaksum + todnakit[indeksi]; if (todnaksum > tulos) { return(indeksi + 1); } indeksi++; } return(-1); } function satuluku2() { tulos = random(Erivareja) + 1; return(tulos); while (_local1 < 9) { todnaksum = todnaksum + todnakit[_local1]; _local1++; } tulos = random(todnaksum); todnaksum = 0; indeksi = 0; while (indeksi < 9) { todnaksum = todnaksum + todnakit[indeksi]; if (todnaksum > tulos) { return(indeksi + 1); } indeksi++; } return(-1); } function asetaitte(i, j, luku) { if (grid[(("t_" + i) + "_") + j]) { grid[(("t_" + i) + "_") + j].removeMovieClip(); } else { pallojainklimppi++; } grid.attachMovie("file" + luku, (("t_" + i) + "_") + j, grid.getNextHighestDepth()); grid[(("t_" + i) + "_") + j].munsisalto = luku; grid[(("t_" + i) + "_") + j]._xscale = (grid[(("t_" + i) + "_") + j]._yscale = kokokerroin * 100); grid[(("t_" + i) + "_") + j]._x = setxf(tileW * j, tileH * i); grid[(("t_" + i) + "_") + j]._y = setyf(tileW * j, tileH * i); grid[(("t_" + i) + "_") + j].gotoAndPlay(1); grid[(("t_" + i) + "_") + j].solid = true; } function addRowToGrid() { var _local2 = rowsCurrentlyInGrid; var _local1 = -Math.floor(Alkuklimpinkoko / 2); while (_local1 < ((-Math.floor(Alkuklimpinkoko / 2)) + Alkuklimpinkoko)) { luku = satuluku(); grid.attachMovie("file" + luku, (("t_" + _local2) + "_") + _local1, grid.getNextHighestDepth()); pallojainklimppi++; grid[(("t_" + _local2) + "_") + _local1].munsisalto = luku; grid[(("t_" + _local2) + "_") + _local1]._xscale = (grid[(("t_" + _local2) + "_") + _local1]._yscale = kokokerroin * 100); grid[(("t_" + _local2) + "_") + _local1]._x = setxf(tileW * _local1, tileH * _local2); grid[(("t_" + _local2) + "_") + _local1]._y = setyf(tileW * _local1, tileH * _local2); grid[(("t_" + _local2) + "_") + _local1].gotoAndPlay(1); grid[(("t_" + _local2) + "_") + _local1].solid = true; _local1++; } rowsCurrentlyInGrid++; } function dist2(x1, y1, x2, y2) { return(((x1 - x2) * (x1 - x2)) + ((y1 - y2) * (y1 - y2))); } function testhit(xx, yy) { var _local8 = Math.round(gety(xx - _root.grid._x, yy - _root.grid._y) / tileW) - 1; var _local9 = _local8 + 2; var _local4 = Math.round(getx(xx - _root.grid._x, yy - _root.grid._y) / tileH) - 1; var _local5 = _local4 + 2; var _local3 = _local8; while (_local3 <= _local9) { var _local2 = _local4; while (_local2 <= _local5) { if (_root.grid[(("t_" + _local3) + "_") + _local2]) { if (dist2(setx(_local2 * tileW, _local3 * tileH) + _root.grid._x, sety(_local2 * tileW, _local3 * tileH) + _root.grid._y, xx, yy) < ((900 * kokokerroin) * kokokerroin)) { return(true); } } _local2++; } _local3++; } return(false); } function shootrandom() { palloilmassa++; luku = satuluku(); nimi = "t_" + palloja_ammuttu; palloja_ammuttu++; shots.attachMovie("file" + luku, nimi, shots.getNextHighestDepth()); shots[nimi].pomppuja = 0; shots[nimi]._xscale = (shots[nimi]._yscale = 100 * kokokerroin); shots[nimi].koko = 100; shots[nimi].munsisalto = luku; shots[nimi]._visible = true; ang = (Math.random() * 2) * 3.141592; factori = 1 + Math.random(); shots[nimi]._x = GridCenterX + ((Math.cos(ang) * 420) * factori); shots[nimi]._y = GridCenterY + ((Math.sin(ang) * 420) * factori); shots[nimi].xv = GridCenterX - shots[nimi]._x; shots[nimi].yv = GridCenterY - shots[nimi]._y; len = Math.sqrt((shots[nimi].xv * shots[nimi].xv) + (shots[nimi].yv * shots[nimi].yv)); len = len / 15; shots[nimi].xv = shots[nimi].xv / len; shots[nimi].yv = shots[nimi].yv / len; shots[nimi]._alpha = 100; shots[nimi].gotoAndPlay(1); shots[nimi].solid = false; shots[nimi].eletty = 0; shots[nimi].onEnterFrame = function () { if (!_global.gameon) { this.removeMovieClip(); } this.eletty++; if ((!this.solid) && (_global.gameon)) { this._y = this._y + (this.yv * 0.5); this._x = this._x + (this.xv * 0.5); if (testhit(this._x, this._y)) { var _local8 = Math.round(gety(this._x - _root.grid._x, this._y - _root.grid._y) / tileW) - 1; var _local9 = _local8 + 2; var _local6 = Math.round(getx(this._x - _root.grid._x, this._y - _root.grid._y) / tileH) - 1; var _local7 = _local6 + 2; parasnimi = ""; parasdist = 9999999 /* 0x98967F */; var _local5 = _local8; while (_local5 <= _local9) { var _local4 = _local6; while (_local4 <= _local7) { if (!_root.grid[(("t_" + _local5) + "_") + _local4]) { ddd222 = dist2(_root.grid._x + setx(_local4 * tileW, _local5 * tileH), _root.grid._y + sety(_local4 * tileW, _local5 * tileH), this._x, this._y); if (parasdist > ddd222) { parasdist = ddd222; parasii = _local5; parasjj = _local4; } } _local4++; } _local5++; } kiinnita(this.munsisalto, parasii, parasjj, (("t_" + parasii) + "_") + parasjj, this.xv, this.yv, false); palloilmassa--; this.removeMovieClip(); return(undefined); } this._y = this._y + (this.yv * 0.5); this._x = this._x + (this.xv * 0.5); if (testhit(this._x, this._y)) { var _local8 = Math.round(gety(this._x - _root.grid._x, this._y - _root.grid._y) / tileW) - 1; var _local9 = _local8 + 2; var _local6 = Math.round(getx(this._x - _root.grid._x, this._y - _root.grid._y) / tileH) - 1; var _local7 = _local6 + 2; parasnimi = ""; parasdist = 9999999 /* 0x98967F */; var _local5 = _local8; while (_local5 <= _local9) { var _local4 = _local6; while (_local4 <= _local7) { if (!_root.grid[(("t_" + _local5) + "_") + _local4]) { ddd222 = dist2(_root.grid._x + setx(_local4 * tileW, _local5 * tileH), _root.grid._y + sety(_local4 * tileW, _local5 * tileH), this._x, this._y); if (parasdist > ddd222) { parasdist = ddd222; parasii = _local5; parasjj = _local4; } } _local4++; } _local5++; } kiinnita(this.munsisalto, parasii, parasjj, (("t_" + parasii) + "_") + parasjj, this.xv, this.yv, false); palloilmassa--; this.removeMovieClip(); return(undefined); } } }; } function asetaseuraavapallo() { seuraavapallo = seuraavaseuraavapallo; attachMovie("file" + seuraavapallo, "ammuttavapallo", 28); ammuttavapallo._y = 27.78; ammuttavapallo._xscale = (ammuttavapallo._yscale = 46.3); ammuttavapallo.targety = nuoli._y; ammuttavapallo.targetscale = 100 * kokokerroin; ammuttavapallo._x = nuoli._x; ammuttavapallo.onEnterFrame = function () { this._xscale = (this._yscale = (0.95 * this._xscale) + (0.05 * this.targetscale)); this._y = (0.95 * this._y) + (0.05 * this.targety); }; seuraavaseuraavapallo = satuluku(); attachMovie("file" + seuraavaseuraavapallo, "ammuttavaammuttavapallo", 29); ammuttavaammuttavapallo._y = 25.002; ammuttavaammuttavapallo.targety = 25.002; ammuttavaammuttavapallo._x = GridCenterX; ammuttavaammuttavapallo._xscale = (ammuttavaammuttavapallo._yscale = 0); ammuttavaammuttavapallo.targetscale = 41.67; ammuttavaammuttavapallo.onEnterFrame = function () { this._xscale = (this._yscale = (0.95 * this._xscale) + (0.05 * this.targetscale)); this._y = (0.95 * this._y) + (0.05 * this.targety); }; } function shoot() { if (palloilmassa > 0) { return(undefined); } palloilmassa++; luku = seuraavapallo; ammuttavapallo._xscale = (ammuttavapallo._yscale = 0); ammuttavapallo.targetscale = 0; nimi = "t_" + palloja_ammuttu; palloja_ammuttu++; shots.attachMovie("file" + luku, nimi, shots.getNextHighestDepth()); shots[nimi].pomppuja = 0; shots[nimi]._xscale = (shots[nimi]._yscale = 100 * kokokerroin); shots[nimi].koko = 100; shots[nimi].munsisalto = luku; shots[nimi]._visible = true; shots[nimi]._x = nuoli._x; shots[nimi]._y = nuoli._y; shots[nimi].xv = _root._xmouse - shots[nimi]._x; shots[nimi].yv = _root._ymouse - shots[nimi]._y; len = Math.sqrt((shots[nimi].xv * shots[nimi].xv) + (shots[nimi].yv * shots[nimi].yv)); len = len / Pallonspeedi; shots[nimi].xv = shots[nimi].xv / len; shots[nimi].yv = shots[nimi].yv / len; shots[nimi].ekaframe = true; shots[nimi]._alpha = 100; shots[nimi].gotoAndPlay(1); shots[nimi].solid = false; shots[nimi].eletty = 0; shots[nimi].onEnterFrame = function () { if (!_global.gameon) { this.removeMovieClip(); } this.eletty++; if ((!this.solid) && (_global.gameon)) { if (this.pomppuja > 5) { ThrowPoints2(this._x, this._y, this); _root.tuhlailu--; asetainfo(_root.tuhlailu); ammuttavapallo.targetscale = 100; palloilmassa--; this.removeMovieClip(); return(undefined); } if (!this.ekaframe) { this._y = this._y + (this.yv * 0.5); this._x = this._x + (this.xv * 0.5); } else { this.ekaframe = false; } if (testhit(this._x, this._y)) { var _local8 = Math.round(gety(this._x - _root.grid._x, this._y - _root.grid._y) / tileW) - 1; var _local9 = _local8 + 2; var _local6 = Math.round(getx(this._x - _root.grid._x, this._y - _root.grid._y) / tileH) - 1; var _local7 = _local6 + 2; parasnimi = ""; parasdist = 9999999 /* 0x98967F */; var _local5 = _local8; while (_local5 <= _local9) { var _local4 = _local6; while (_local4 <= _local7) { if (!_root.grid[(("t_" + _local5) + "_") + _local4]) { ddd222 = dist2(_root.grid._x + setx(_local4 * tileW, _local5 * tileH), _root.grid._y + sety(_local4 * tileW, _local5 * tileH), this._x, this._y); if (parasdist > ddd222) { parasdist = ddd222; parasii = _local5; parasjj = _local4; } } _local4++; } _local5++; } oldpiste = Points; kiinnita(this.munsisalto, parasii, parasjj, (("t_" + parasii) + "_") + parasjj, this.xv, this.yv, true); if (oldpiste == Points) { tuhlailu--; } asetainfo(tuhlailu); palloilmassa--; asetaseuraavapallo(); this.removeMovieClip(); return(undefined); } this._y = this._y + (this.yv * 0.5); this._x = this._x + (this.xv * 0.5); if (testhit(this._x, this._y)) { var _local8 = Math.round(gety(this._x - _root.grid._x, this._y - _root.grid._y) / tileH) - 1; var _local9 = _local8 + 2; var _local6 = Math.round(getx(this._x - _root.grid._x, this._y - _root.grid._y) / tileW) - 1; var _local7 = _local6 + 2; parasnimi = ""; parasdist = 9999999 /* 0x98967F */; var _local5 = _local8; while (_local5 <= _local9) { var _local4 = _local6; while (_local4 <= _local7) { if (!_root.grid[(("t_" + _local5) + "_") + _local4]) { ddd222 = dist2(_root.grid._x + setx(_local4 * tileW, _local5 * tileH), _root.grid._y + sety(_local4 * tileW, _local5 * tileH), this._x, this._y); if (parasdist > ddd222) { parasdist = ddd222; parasii = _local5; parasjj = _local4; } } _local4++; } _local5++; } oldpiste = Points; kiinnita(this.munsisalto, parasii, parasjj, (("t_" + parasii) + "_") + parasjj, this.xv, this.yv, true); if (oldpiste == Points) { tuhlailu--; } asetainfo(tuhlailu); palloilmassa--; asetaseuraavapallo(); this.removeMovieClip(); return(undefined); } } if ((this._x - _root.GridCenterX) < (_root.leftBound + (tileW / 2))) { this._x = (_root.leftBound + (tileW / 2)) + _root.GridCenterX; this.xv = Math.abs(this.xv); this.pomppuja++; } if ((this._x - _root.GridCenterX) > (_root.rightBound - (tileW / 2))) { this._x = (_root.rightBound - (tileW / 2)) + _root.GridCenterX; this.xv = -Math.abs(this.xv); this.pomppuja++; } if (((this._y - _root.GridCenterY) < (_root.upperBound + (tileH / 2))) && (this.eletty > 20)) { this._y = (_root.upperBound + (tileH / 2)) + _root.GridCenterY; this.yv = Math.abs(this.yv); this.pomppuja++; } if ((this._y - _root.GridCenterY) > (_root.lowerBound - (tileH / 2))) { this._y = (_root.lowerBound - (tileH / 2)) + _root.GridCenterY; this.yv = -Math.abs(this.yv); this.pomppuja++; } }; } function ThrowPoints(numbertothrow, xthrow, ythrow, alkupmovie) { if (numbertothrow < 0) { scoreEffects.attachMovie("ScoreEffectMinus", "ScoreEffect" + PointsThrown, 700000 + PointsThrown); } else { scoreEffects.attachMovie("ScoreEffectPlus", "ScoreEffect" + PointsThrown, 700000 + PointsThrown); } scoreEffects["ScoreEffect" + PointsThrown]._x = xthrow; scoreEffects["ScoreEffect" + PointsThrown]._y = ythrow; scoreEffects["ScoreEffect" + PointsThrown]._xscale = 150; scoreEffects["ScoreEffect" + PointsThrown]._yscale = 150; if (numbertothrow > 0) { scoreEffects["ScoreEffect" + PointsThrown].Scoreaddition = "+" + numbertothrow; } else { scoreEffects["ScoreEffect" + PointsThrown].Scoreaddition = numbertothrow; } scoreEffects["ScoreEffect" + PointsThrown].onEnterFrame = function () { this._xscale = this._xscale + 1; this._yscale = this._yscale + 1; this._alpha = this._alpha - 1.5; if (this._alpha < 1.5) { this.removeMovieClip(); } }; PointsThrown++; scoreEffects.attachMovie("file" + alkupmovie.munsisalto, "ScoreEffect" + PointsThrown, 700000 + PointsThrown); scoreEffects["ScoreEffect" + PointsThrown]._x = xthrow; scoreEffects["ScoreEffect" + PointsThrown]._y = ythrow; scoreEffects["ScoreEffect" + PointsThrown]._rotation = alkupmovie._rotation + grid._rotation; scoreEffects["ScoreEffect" + PointsThrown].xv = (Math.random() * 10) - 5; scoreEffects["ScoreEffect" + PointsThrown].yv = (Math.random() * 10) - 5; scoreEffects["ScoreEffect" + PointsThrown].onEnterFrame = function () { this._xscale = this._xscale - 2; this._yscale = this._yscale - 2; this._alpha = this._alpha - 1.5; this._x = this._x + this.xv; this._y = this._y + this.yv; this._rotation = this._rotation + (this.xv * 10); this.yv = this.yv + 1; if (this._alpha < 1.5) { this.removeMovieClip(); } }; PointsThrown++; } function ThrowPoints2(xthrow, ythrow, alkupmovie) { scoreEffects.attachMovie("file" + alkupmovie.munsisalto, "ScoreEffect" + PointsThrown, 700000 + PointsThrown); scoreEffects["ScoreEffect" + PointsThrown]._x = xthrow; scoreEffects["ScoreEffect" + PointsThrown]._y = ythrow; scoreEffects["ScoreEffect" + PointsThrown]._rotation = alkupmovie._rotation + _root.grid._rotation; scoreEffects["ScoreEffect" + PointsThrown].xv = (Math.random() * 10) - 5; scoreEffects["ScoreEffect" + PointsThrown].yv = (Math.random() * 10) - 5; scoreEffects["ScoreEffect" + PointsThrown].onEnterFrame = function () { this._xscale = this._xscale - 2; this._yscale = this._yscale - 2; this._alpha = this._alpha - 1.5; this._x = this._x + this.xv; this._y = this._y + this.yv; this._rotation = this._rotation + (this.xv * 10); this.yv = this.yv + 1; if (this._alpha < 1.5) { this.removeMovieClip(); } }; PointsThrown++; } function ThrowParticles(xthrow, ythrow) { scoreEffects.attachMovie("file3", "ScoreEffect" + PointsThrown, 700000 + PointsThrown); scoreEffects["ScoreEffect" + PointsThrown]._x = xthrow; scoreEffects["ScoreEffect" + PointsThrown]._y = ythrow; scoreEffects["ScoreEffect" + PointsThrown]._xscale = 50; scoreEffects["ScoreEffect" + PointsThrown]._yscale = 50; scoreEffects["ScoreEffect" + PointsThrown].xv = (Math.random() * 10) - 5; scoreEffects["ScoreEffect" + PointsThrown].yv = (Math.random() * 10) - 5; if (xthrow < -250) { scoreEffects["ScoreEffect" + PointsThrown].xv = scoreEffects["ScoreEffect" + PointsThrown].xv + 4; } if (xthrow > 250) { scoreEffects["ScoreEffect" + PointsThrown].xv = scoreEffects["ScoreEffect" + PointsThrown].xv - 4; } if (ythrow > 250) { scoreEffects["ScoreEffect" + PointsThrown].yv = scoreEffects["ScoreEffect" + PointsThrown].yv - 4; } scoreEffects["ScoreEffect" + PointsThrown].onEnterFrame = function () { this._xscale = this._xscale - 2; this._yscale = this._yscale - 2; this._alpha = this._alpha - 1.5; this._x = this._x + this.xv; this._y = this._y + this.yv; this._rotation = this._rotation + (this.xv * 10); this.yv = this.yv + 1; if (this._alpha < 1.5) { this.removeMovieClip(); } }; PointsThrown++; } function ThrowError(xthrow, ythrow) { scoreEffects.attachMovie("ScoreEffectMinus", "ScoreEffect" + PointsThrown, 700000 + PointsThrown); scoreEffects["ScoreEffect" + PointsThrown]._x = xthrow; scoreEffects["ScoreEffect" + PointsThrown]._y = ythrow; scoreEffects["ScoreEffect" + PointsThrown]._xscale = 150; scoreEffects["ScoreEffect" + PointsThrown]._yscale = 150; scoreEffects["ScoreEffect" + PointsThrown].Scoreaddition = ""; scoreEffects["ScoreEffect" + PointsThrown].onEnterFrame = function () { this._xscale = this._xscale + 1; this._yscale = this._yscale + 1; this._alpha = this._alpha - 0.7; if (this._alpha < 1.5) { this.removeMovieClip(); } }; PointsThrown++; aj = 0; while (aj < 30) { ThrowParticles(xthrow, ythrow); aj++; } } function updateGrid() { while ((!grid[(("t_" + (rowsCurrentlyInGrid - 1)) + "_") + 0]) || ((grid._y + grid[(("t_" + (rowsCurrentlyInGrid - 1)) + "_") + 0]._y) > -20)) { addRowToGrid(); } } function initGrid() { i = 0; while (i <= Erivareja) { _root["tatavaria" + i] = 1; i++; } i = Alkuklimpinkoko - 1; while (i > 0) { j = 0; while (j < (((2 * Alkuklimpinkoko) - 1) - i)) { asetaitte(-i, (((-Alkuklimpinkoko) + 1) + i) + j, satuluku()); j++; } j = 0; while (j < (((Alkuklimpinkoko * 2) - 1) - i)) { asetaitte(i, ((Alkuklimpinkoko - 1) - i) - j, satuluku()); j++; } i--; } j = 0; while (j < ((Alkuklimpinkoko * 2) - 1)) { asetaitte(0, ((-Alkuklimpinkoko) + 1) + j, satuluku()); j++; } grid.t_0_0.removeMovieClip(); grid.attachMovie("tilepommi", "t_0_0", grid.getNextHighestDepth()); grid.t_0_0.munsisalto = -1; grid.t_0_0._xscale = (grid.t_0_0._yscale = kokokerroin * 100); asetaitte(-1, 0, 1); asetaitte(1, 0, 2); asetaitte(0, 1, 3); asetaitte(0, -1, 4); asetaitte(1, -1, 5); asetaitte(-1, 1, 6); } Pallojapersatsi = 10; kokokerroin = 0.75006; Pallonspeedi = 20.835; Alkuklimpinkoko = 1; Erivareja = 6; GridCenterX = 250.02; GridCenterY = 291.69; multiplier = ""; pistekerroin = 1; kutistuu = false; if (ollaankodeadwhalessa) { dwnappi2._visible = false; } lowerBound = 241.686; upperBound = -241.686; leftBound = -241.686; rightBound = 241.686; this.createEmptyMovieClip("line_mc", 10); gridspeed = 0; pallojainklimppi = 0; palloilmassa = 0; nuoli._x = GridCenterX; seuraavapallo = 1; seuraavaseuraavapallo = 2; _root.oikeapalkki._y = -100; vasein = 99999 /* 0x01869F */; oikein = -99999; ylin = -99999; alin = 99999 /* 0x01869F */; BFStunnus = 0; ampuaika = getTimer() + 1000; ammuttu = 0; axis1x = 1; axis1y = 0; axis2x = 0.5; axis2y = 0.8660254; tileW = 34 * kokokerroin; tileH = 34 * kokokerroin; hiirialhaalla = false; _root.onMouseDown = function () { hiirialhaalla = true; }; _root.onMouseUp = function () { hiirialhaalla = false; shootSound(); }; edellinenaika = getTimer(); aikakerroin = 1; var spacepohjassaviimeframessa = false; edaika = 0; _root.onEnterFrame = function () { _root.oikeapalkki.frosmonappi._xscale = (_root.oikeapalkki.frosmonappi._yscale = (0.8 * _root.oikeapalkki.frosmonappi._xscale) + (0.2 * _root.targetnappiscale2)); dwnappi2._xscale = (dwnappi2._yscale = (0.8 * dwnappi2._xscale) + (0.2 * _root.targetnappiscale)); _root.oikeapalkki._y = (0.9 * _root.oikeapalkki._y) + 24.33528; uusiaika = getTimer(); aikakerroin = (uusiaika - edellinenaika) / 33; edellinenaika = uusiaika; framejalaskettu++; if (framejalaskettu >= 30) { framerate = (1000 * (framejalaskettu * 1)) / ((1 * (getTimer() - framenalkuaika)) + 0.001); framenalkuaika = getTimer(); framejalaskettu = 0; } if (!_global.gameon) { gridinaloitus = getTimer(); } else { if ((pallojainklimppi == 1) && (kutistuu == false)) { kutistuu = true; grid.targetscale = 0; } if ((kutistuu == true) && (grid._xscale < 2)) { kutistuu = false; initGrid(); grid._xscale = (grid._yscale = 0); grid.targetscale = 100; pistekerroin = pistekerroin + 1; multiplier = pistekerroin + "x"; gotoAndStop ("game1end"); } grid._xscale = (grid._yscale = (0.95 * grid._xscale) + (0.05 * grid.targetscale)); i = 1; while (i <= 10) { if (this["tuhlaus" + i]) { this["tuhlaus" + i]._rotation = Math.sin((getTimer() / 1800) + (i * 0.2)) * 200; this["tuhlaus" + i]._alpha = (this["tuhlaus" + i]._alpha * 0.95) + (this["tuhlaus" + i].targetalpha * 0.05); this["tuhlaus" + i]._xscale = (this["tuhlaus" + i]._yscale = (this["tuhlaus" + i]._xscale * 0.95) + (this["tuhlaus" + i].targetscale * 0.05)); } i++; } gridspeed = gridspeed * 0.97; if (_root._ymouse > ((GridCenterY + upperBound) + 5)) { nuoli._rotation = (Math.atan2(_root._ymouse - nuoli._y, _root._xmouse - nuoli._x) / 3.14159) * 180; } line_mc._visible = true; hidastuskerroin = 1; if (getTimer() < (kellonalkuaika + kellonkesto)) { hidastuskerroin = 0.3; } if (((((!kutistuu) && (hiirialhaalla)) && (_root._ymouse > ((GridCenterY + upperBound) + 5))) && (Math.abs(gridspeed) < 2)) && (palloilmassa == 0)) { hiirenseuraaja._x = _root._xmouse; hiirenseuraaja._y = _root._ymouse; if (!hiirenseuraaja.hitTest(Neppula)) { shoot(); bubblePop = new Sound(_root); bubblePop.attachSound("FOLEY WHIP WHOOSH DOUBLE ALUMINUM ROD 01"); bubblePop.start(0, 1); hiirialhaalla = false; } } if (tuhlailu == 0) { reloadalertsound(); i = 0; while (i < Pallojapersatsi) { shootrandom(); i++; } tuhlailulim--; if (tuhlailulim == 0) { tuhlailulim = 6; } tuhlailu = tuhlailulim; asetainfo(tuhlailu); } grid._x = GridCenterX; grid._y = GridCenterY; grid._rotation = grid._rotation + gridspeed; ang = (grid._rotation * 3.141593) / 180; axis1x = Math.cos(ang); axis1y = Math.sin(ang); axis2x = Math.cos(ang + 1.047197); axis2y = Math.sin(ang + 1.047197); line_mc._x = grid._x; line_mc._y = grid._y; vasein = 99999 /* 0x01869F */; oikein = -99999; ylin = -99999; alin = 99999 /* 0x01869F */; } Score = "" + Math.round(tempPoints); tempPoints = (0.93 * tempPoints) + (0.07 * Points); if ((Points > 0) && (oldpo != Points)) { pointssound(); } oldpo = Points; if ((GameOver == true) && (_global.gameon == true)) { if (kelloefekti) { kelloefekti.removeMovieClip(); } _root.lopputiski.julkaisuaika = getTimer(); _root.gotoAndStop("gameover1"); } }; init(); stop();
Frame 286
_global.gameon = false; grid.removeMovieClip(); shots.removeMovieClip(); scoreEffects.removeMovieClip(); ammuttavapallo.removeMovieClip(); ammuttavaammuttavapallo.removeMovieClip(); tuhlaus.removeMovieClip(); gameoversound();
Frame 287
var level1score = Score; level1scoretxt.text = level1score; _global.gameon = false; grid.removeMovieClip(); shots.removeMovieClip(); scoreEffects.removeMovieClip(); ammuttavapallo.removeMovieClip(); ammuttavaammuttavapallo.removeMovieClip(); tuhlaus.removeMovieClip(); cong();
Frame 288
_global.gameon = true; function setyf(xx, yy) { xx = xx * 1; yy = yy * 1; return((0 * xx) + (0.8660254 * yy)); } function setxf(xx, yy) { xx = xx * 1; yy = yy * 1; return((1 * xx) + (0.5 * yy)); } function gety(xx, yy) { xx = xx * 1; yy = yy * 1; return(((axis1x * yy) - (xx * axis1y)) / ((axis1x * axis2y) - (axis2x * axis1y))); } function getx(xx, yy) { xx = xx * 1; yy = yy * 1; return(((xx * axis2y) - (axis2x * yy)) / ((axis1x * axis2y) - (axis2x * axis1y))); } function sety(xx, yy) { xx = xx * 1; yy = yy * 1; return((axis1y * xx) + (axis2y * yy)); } function setx(xx, yy) { xx = xx * 1; yy = yy * 1; return((axis1x * xx) + (axis2x * yy)); } function asetainfo(tuhlailu) { i = 1; while (i < 10) { if (this["tuhlaus" + i]) { this["tuhlaus" + i].targetalpha = 0; this["tuhlaus" + i].targetscale = 0; } i++; } i = 1; while (i <= tuhlailu) { if (!this["tuhlaus" + i]) { attachMovie("tileydinpommi", "tuhlaus" + i, 789789 + i); } this["tuhlaus" + i].targetalpha = 100; this["tuhlaus" + i].targetscale = 68; this["tuhlaus" + i]._y = 908.374; this["tuhlaus" + i]._x = ((10 + (30 * i)) * 0.9) * 0.926; i++; } } function init() { i = 0; while (i <= Erivareja) { _root["tatavaria" + i] = 1; i++; } kutistuu = false; pistekerroin = 1; multiplier = ""; gridspeed = 20; tuhlailulim = 6; tuhlailu = 6; axis1x = 1; axis1y = 0; axis2x = 0.5; axis2y = 0.8660254; asetainfo(6); palloilmassa = 0; pallojainklimppi = 0; seuraavapallo = 1; seuraavaseuraavapallo = 2; asetaseuraavapallo(); line_mc._visible = true; ammuttu = 0; d = 100; rowsCurrentlyInGrid = -2; popattavia = 0; framerate = 0; framejalaskettu = 0; framenalkuaika = 0; attachMovie("Tausta", "Tausta", 20); kellonalkuaika = -999999; kellonkesto = 7000; Tausta._x = 275; Tausta._y = 200; Tausta._visible = false; palloja_ammuttu = 0; currentselectedsum = "0 / 10"; _root.oikeapalkki.scorepalkki_red._visible = false; GridWidth = 5; GameOver = false; _global.gameon = false; gametime = 20000; levelper6 = "0"; _global.onnitteluja = false; PointsThrown = 0; animaationpituus = 9; kerroin = 0.1; attachMovie("Lopputiski", "lopputiski", 19); _root.lopputiski._visible = false; _root.lopputiski._x = 250.02; _root.lopputiski._y = 250.02; _root.infotiski._visible = true; _root.infotiski.gotoAndPlay(1); infotiskijulkaistu = getTimer(); gamesinthislevel = 3; tempPoints = 0; Points = 0; _global.lopputulema = Points; Score = "" + Math.round(tempPoints); valitunpallonkoko = 105; valitsemattomankoko = 90; level = 1; levelper6 = level + "/6"; if (infotiski.getDepth() != 100000) { infotiski.swapDepths(100000); } if (dwnappi2.getDepth() != 490000) { dwnappi2.swapDepths(490000); } edellinenoikein = 0; oikein = 0; _global.lopputulos = "0"; Copiesleft = "" + ((gamesinthislevel + edellinenoikein) - oikein); hiirenseuraaja._xscale = 10; hiirenseuraaja._yscale = 10; hiirenseuraaja._x = 100; hiirenseuraaja._y = 100; rotationtime = -10000; hiirenseuraaja._visible = false; this.attachMovie("empty", "grid", 0); this.attachMovie("empty", "shots", 2); this.attachMovie("empty", "scoreEffects", 1); scoreEffects._x = (scoreEffects._y = 0); this.grid._x = GridCenterX; this.grid._y = GridCenterY; this.grid._xscale = (this.grid._yscale = 0); this.grid.targetscale = 100; this.shots._x = 0; this.shots._y = 0; initGrid(); } function kiinnita(luku, ii, jj, nimi, xv, yv, poistetaanko) { pallojainklimppi++; grid.attachMovie("file" + luku, nimi, grid.getNextHighestDepth()); grid[nimi]._xscale = (grid[nimi]._yscale = 100 * kokokerroin); grid[nimi].muni = ii; grid[nimi].munj = jj; grid[nimi].munsisalto = luku; grid[nimi]._visible = true; grid[nimi]._x = setxf(jj * tileW, ii * tileH); grid[nimi]._y = setyf(jj * tileW, ii * tileH); grid[nimi].gotoAndPlay(1); grid[nimi]._rotation = -grid._rotation; xxx = setx(jj * tileW, ii * tileH); yyy = sety(jj * tileW, ii * tileH); lenin = Math.sqrt((xxx * xxx) + (yyy * yyy)); xxx = xxx / lenin; yyy = yyy / lenin; uusxxx = -yyy; uusyyy = xxx; dpdp = (uusxxx * xv) + (uusyyy * yv); gridspeed = gridspeed + ((7 * (dpdp - (lenin * Math.sin((gridspeed / 180) * 3.141592)))) * Math.pow(1 / (1 + pallojainklimppi), 1)); grid[nimi].solid = true; grid[nimi].onEnterFrame = function () { oikeax = setx(this.munj * tileW, this.muni * tileH); oikeay = sety(this.munj * tileW, this.muni * tileH); if (!_root.GameOver) { if ((((oikeax < (_root.leftBound + 50)) || (oikeax > (_root.rightBound - 50))) || (oikeay < (_root.upperBound + 50))) || (oikeay > (_root.lowerBound - 50))) { if (!this.varo) { this.attachMovie("varopallo", "varo", this.getNextHighestDepth()); this.varo._alpha = 0; } this.varo._alpha = (this.varo._alpha * 0.9) + 6; this.varo._x = 0; this.varo._y = 0; } else if (this.varo) { if (this.varo._alpha < 5) { this.varo.removeMovieClip(); } else { this.varo._alpha = this.varo._alpha * 0.95; } } if ((oikeax < (_root.leftBound + (tileW * 0.4))) || (oikeax > (_root.rightBound - (tileW * 0.4)))) { _root.GameOver = true; ThrowError(oikeax + grid._x, oikeay + grid._y); } if ((oikeay < (_root.upperBound + (tileH * 0.4))) || (oikeay > (_root.lowerBound - (tileH * 0.4)))) { _root.GameOver = true; ThrowError(oikeax + grid._x, oikeay + grid._y); } } }; if (poistetaanko) { removeBlock(ii, jj); } laskeEriVarit(); } function laskeEriVarit() { var _local4 = new Array(); var _local5 = new Array(); var _local2 = 0; var _local3 = 0; i = 0; while (i <= Erivareja) { _root["tatavaria" + i] = 0; i++; } _local4[_local3] = 0; _local5[_local3] = 0; BFStunnus++; while (_local3 <= _local2) { iii = _local4[_local3]; jjj = _local5[_local3]; _root["tatavaria" + grid[(("t_" + iii) + "_") + jjj].munsisalto]++; iii = _local4[_local3] - 1; jjj = _local5[_local3]; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] + 1; jjj = _local5[_local3]; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3]; jjj = _local5[_local3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3]; jjj = _local5[_local3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] - 1; jjj = _local5[_local3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] + 1; jjj = _local5[_local3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } _local3++; } } function removeBlock(ii, jj) { var _local4 = new Array(); var _local5 = new Array(); var _local2 = 0; var _local3 = 0; _local4[_local3] = ii; _local5[_local3] = jj; BFStunnus++; id = grid[(("t_" + ii) + "_") + jj].munsisalto; while (_local3 <= _local2) { iii = _local4[_local3] - 1; jjj = _local5[_local3]; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] + 1; jjj = _local5[_local3]; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3]; jjj = _local5[_local3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3]; jjj = _local5[_local3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] - 1; jjj = _local5[_local3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] + 1; jjj = _local5[_local3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } _local3++; } if (_local2 > 2) { var _local8 = new Array(); var _local9 = new Array(); indexa3 = 0; indexl3 = 0; _local8[0] = 0; _local9[0] = 0; BFStunnus++; while (indexa3 <= indexl3) { iii = _local8[indexa3] - 1; jjj = _local9[indexa3]; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl3++; _local8[indexl3] = iii; _local9[indexl3] = jjj; } } iii = _local8[indexa3] + 1; jjj = _local9[indexa3]; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl3++; _local8[indexl3] = iii; _local9[indexl3] = jjj; } } iii = _local8[indexa3]; jjj = _local9[indexa3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl3++; _local8[indexl3] = iii; _local9[indexl3] = jjj; } } iii = _local8[indexa3]; jjj = _local9[indexa3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl3++; _local8[indexl3] = iii; _local9[indexl3] = jjj; } } iii = _local8[indexa3] + 1; jjj = _local9[indexa3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl3++; _local8[indexl3] = iii; _local9[indexl3] = jjj; } } iii = _local8[indexa3] - 1; jjj = _local9[indexa3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl3++; _local8[indexl3] = iii; _local9[indexl3] = jjj; } } indexa3++; } _local4 = new Array(); _local5 = new Array(); _local2 = 0; _local3 = 0; _local4[_local3] = ii; _local5[_local3] = jj; BFStunnus++; while (_local3 <= _local2) { iii = _local4[_local3] - 1; jjj = _local5[_local3]; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { ThrowPoints(pistekerroin, grid._x + setx(jjj * tileW, iii * tileH), grid._y + sety(jjj * tileW, iii * tileH), grid[(("t_" + iii) + "_") + jjj]); grid[(("t_" + iii) + "_") + jjj].removeMovieClip(); _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] + 1; jjj = _local5[_local3]; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { ThrowPoints(pistekerroin, grid._x + setx(jjj * tileW, iii * tileH), grid._y + sety(jjj * tileW, iii * tileH), grid[(("t_" + iii) + "_") + jjj]); grid[(("t_" + iii) + "_") + jjj].removeMovieClip(); _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3]; jjj = _local5[_local3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { ThrowPoints(pistekerroin, grid._x + setx(jjj * tileW, iii * tileH), grid._y + sety(jjj * tileW, iii * tileH), grid[(("t_" + iii) + "_") + jjj]); grid[(("t_" + iii) + "_") + jjj].removeMovieClip(); _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3]; jjj = _local5[_local3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { ThrowPoints(pistekerroin, grid._x + setx(jjj * tileW, iii * tileH), grid._y + sety(jjj * tileW, iii * tileH), grid[(("t_" + iii) + "_") + jjj]); grid[(("t_" + iii) + "_") + jjj].removeMovieClip(); _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] - 1; jjj = _local5[_local3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { ThrowPoints(pistekerroin, grid._x + setx(jjj * tileW, iii * tileH), grid._y + sety(jjj * tileW, iii * tileH), grid[(("t_" + iii) + "_") + jjj]); grid[(("t_" + iii) + "_") + jjj].removeMovieClip(); _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] + 1; jjj = _local5[_local3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { ThrowPoints(pistekerroin, grid._x + setx(jjj * tileW, iii * tileH), grid._y + sety(jjj * tileW, iii * tileH), grid[(("t_" + iii) + "_") + jjj]); grid[(("t_" + iii) + "_") + jjj].removeMovieClip(); _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } _local3++; } var _local6 = new Array(); var _local7 = new Array(); indexa2 = 0; indexl2 = 0; _local6[0] = 0; _local7[0] = 0; BFStunnus++; while (indexa2 <= indexl2) { iii = _local6[indexa2]; jjj = _local7[indexa2]; grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; iii = _local6[indexa2] - 1; jjj = _local7[indexa2]; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl2++; _local6[indexl2] = iii; _local7[indexl2] = jjj; } } iii = _local6[indexa2] + 1; jjj = _local7[indexa2]; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl2++; _local6[indexl2] = iii; _local7[indexl2] = jjj; } } iii = _local6[indexa2]; jjj = _local7[indexa2] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl2++; _local6[indexl2] = iii; _local7[indexl2] = jjj; } } iii = _local6[indexa2]; jjj = _local7[indexa2] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl2++; _local6[indexl2] = iii; _local7[indexl2] = jjj; } } iii = _local6[indexa2] - 1; jjj = _local7[indexa2] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl2++; _local6[indexl2] = iii; _local7[indexl2] = jjj; } } iii = _local6[indexa2] + 1; jjj = _local7[indexa2] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl2++; _local6[indexl2] = iii; _local7[indexl2] = jjj; } } indexa2++; } poistettuja = 0; var _local10 = 0; while (_local10 <= indexl3) { iii = _local8[_local10]; jjj = _local9[_local10]; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { ThrowPoints(pistekerroin, grid._x + setx(jjj * tileW, iii * tileH), grid._y + sety(jjj * tileW, iii * tileH), grid[(("t_" + iii) + "_") + jjj]); grid[(("t_" + iii) + "_") + jjj].removeMovieClip(); poistettuja++; } } _local10++; } poistettuja = poistettuja + _local2; pallojainklimppi = pallojainklimppi - poistettuja; Points = Points + (poistettuja * pistekerroin); Score = (_global.lopputulos = "" + Points); _global.lopputulema = Points; } } function cleanUp() { var _local3 = GridWidth; var _local4 = rowsCurrentlyInGrid; var _local2 = 0; while (_local2 < _local4) { var _local1 = 0; while (_local1 < _local3) { if (grid[(("t_" + _local2) + "_") + _local1]) { grid[(("t_" + _local2) + "_") + _local1].removeMovieClip(); } _local1++; } _local2++; } } function removeSumsFromGrid() { var _local4 = 0; var _local5 = GridWidth; var _local6 = rowsCurrentlyInGrid; var _local3 = 0; if (rowsCurrentlyInGrid > 30) { } _local3 = rowsCurrentlyInGrid - 30; while (_local3 < _local6) { var _local2 = 0; while (_local2 < _local5) { if (grid[(("t_" + _local3) + "_") + _local2]) { tulos = 1; if (grid[(("t_" + _local3) + "_") + _local2].valittu) { tulos = 2; } if (tulos == 2) { _local4 = _local4 + int(grid[(("t_" + _local3) + "_") + _local2].munsisalto); } } _local2++; } _local3++; } currentselectedsum = _local4 + " / 10"; if (_local4 > 10) { _root.oikeapalkki.scorepalkki_red._visible = true; } if (_local4 <= 10) { _root.oikeapalkki.scorepalkki_red._visible = false; } if (_local4 == 10) { removeSelectedFromGrid(); } return(false); } function removeSelectedFromGrid() { var _local5 = GridWidth; var _local6 = rowsCurrentlyInGrid; var _local3 = 0; var _local4 = 0; if (rowsCurrentlyInGrid > 30) { } _local3 = rowsCurrentlyInGrid - 30; while (_local3 < _local6) { var _local2 = 0; while (_local2 < _local5) { if (grid[(("t_" + _local3) + "_") + _local2]) { tulos = 1; if (grid[(("t_" + _local3) + "_") + _local2].valittu) { tulos = 2; } if (tulos == 2) { ThrowPoints(pistekerroin, grid[(("t_" + _local3) + "_") + _local2]._x + grid._x, grid[(("t_" + _local3) + "_") + _local2]._y + grid._y); grid[(("t_" + _local3) + "_") + _local2].removeMovieClip(); _local4++; Points = Points + pistekerroin; Score = (_global.lopputulos = "" + Points); _global.lopputulema = Points; haiskore.send("scoreboard", "update_score", "Haasto", Points); } } _local2++; } _local3++; } } function poppaa() { bubblePop = new Sound(_root); bubblePop.attachSound("bubble"); bubblePop.start(0, 1); popattavia--; if (popattavia <= 0) { clearInterval(ID); } } function setNumbers(container, Width, Height) { koko = Width * Height; var _local1 = new Array(); do { nyk = 0; temppisum = 0; while (nyk < koko) { _local1[nyk] = random(9) + 1; if ((temppisum + _local1[nyk]) > 10) { _local1[nyk] = 10 - temppisum; } temppisum = temppisum + _local1[nyk]; if (temppisum == 10) { temppisum = 0; } if (nyk == (koko - 1)) { if (temppisum > 0) { _local1[nyk] = _local1[nyk] + (10 - temppisum); } } nyk++; } } while (_local1[koko - 1] == 10); var _local3 = 0; while (_local3 < koko) { indeksi1 = _local3 + random(koko - _local3); tempvalue = _local1[_local3]; _local1[_local3] = _local1[indeksi1]; _local1[indeksi1] = tempvalue; _local3++; } nyk = 0; _local3 = 0; while (_local3 < Height) { var _local2 = 0; while (_local2 < Width) { container[(("t_" + _local3) + "_") + _local2].munsisalto = _local1[nyk]; nyk++; _local2++; } _local3++; } } function satuluku() { juritus = 0; do { juritus++; tulos = random(Erivareja) + 1; } while ((_root["tatavaria" + tulos] == 0) && (juritus < 100)); return(tulos); while (_local2 < 9) { todnaksum = todnaksum + todnakit[_local2]; _local2++; } tulos = random(todnaksum); todnaksum = 0; indeksi = 0; while (indeksi < 9) { todnaksum = todnaksum + todnakit[indeksi]; if (todnaksum > tulos) { return(indeksi + 1); } indeksi++; } return(-1); } function satuluku2() { tulos = random(Erivareja) + 1; return(tulos); while (_local1 < 9) { todnaksum = todnaksum + todnakit[_local1]; _local1++; } tulos = random(todnaksum); todnaksum = 0; indeksi = 0; while (indeksi < 9) { todnaksum = todnaksum + todnakit[indeksi]; if (todnaksum > tulos) { return(indeksi + 1); } indeksi++; } return(-1); } function asetaitte(i, j, luku) { if (grid[(("t_" + i) + "_") + j]) { grid[(("t_" + i) + "_") + j].removeMovieClip(); } else { pallojainklimppi++; } grid.attachMovie("file" + luku, (("t_" + i) + "_") + j, grid.getNextHighestDepth()); grid[(("t_" + i) + "_") + j].munsisalto = luku; grid[(("t_" + i) + "_") + j]._xscale = (grid[(("t_" + i) + "_") + j]._yscale = kokokerroin * 100); grid[(("t_" + i) + "_") + j]._x = setxf(tileW * j, tileH * i); grid[(("t_" + i) + "_") + j]._y = setyf(tileW * j, tileH * i); grid[(("t_" + i) + "_") + j].gotoAndPlay(1); grid[(("t_" + i) + "_") + j].solid = true; } function addRowToGrid() { var _local2 = rowsCurrentlyInGrid; var _local1 = -Math.floor(Alkuklimpinkoko / 2); while (_local1 < ((-Math.floor(Alkuklimpinkoko / 2)) + Alkuklimpinkoko)) { luku = satuluku(); grid.attachMovie("file" + luku, (("t_" + _local2) + "_") + _local1, grid.getNextHighestDepth()); pallojainklimppi++; grid[(("t_" + _local2) + "_") + _local1].munsisalto = luku; grid[(("t_" + _local2) + "_") + _local1]._xscale = (grid[(("t_" + _local2) + "_") + _local1]._yscale = kokokerroin * 100); grid[(("t_" + _local2) + "_") + _local1]._x = setxf(tileW * _local1, tileH * _local2); grid[(("t_" + _local2) + "_") + _local1]._y = setyf(tileW * _local1, tileH * _local2); grid[(("t_" + _local2) + "_") + _local1].gotoAndPlay(1); grid[(("t_" + _local2) + "_") + _local1].solid = true; _local1++; } rowsCurrentlyInGrid++; } function dist2(x1, y1, x2, y2) { return(((x1 - x2) * (x1 - x2)) + ((y1 - y2) * (y1 - y2))); } function testhit(xx, yy) { var _local8 = Math.round(gety(xx - _root.grid._x, yy - _root.grid._y) / tileW) - 1; var _local9 = _local8 + 2; var _local4 = Math.round(getx(xx - _root.grid._x, yy - _root.grid._y) / tileH) - 1; var _local5 = _local4 + 2; var _local3 = _local8; while (_local3 <= _local9) { var _local2 = _local4; while (_local2 <= _local5) { if (_root.grid[(("t_" + _local3) + "_") + _local2]) { if (dist2(setx(_local2 * tileW, _local3 * tileH) + _root.grid._x, sety(_local2 * tileW, _local3 * tileH) + _root.grid._y, xx, yy) < ((900 * kokokerroin) * kokokerroin)) { return(true); } } _local2++; } _local3++; } return(false); } function shootrandom() { palloilmassa++; luku = satuluku(); nimi = "t_" + palloja_ammuttu; palloja_ammuttu++; shots.attachMovie("file" + luku, nimi, shots.getNextHighestDepth()); shots[nimi].pomppuja = 0; shots[nimi]._xscale = (shots[nimi]._yscale = 100 * kokokerroin); shots[nimi].koko = 100; shots[nimi].munsisalto = luku; shots[nimi]._visible = true; ang = (Math.random() * 2) * 3.141592; factori = 1 + Math.random(); shots[nimi]._x = GridCenterX + ((Math.cos(ang) * 420) * factori); shots[nimi]._y = GridCenterY + ((Math.sin(ang) * 420) * factori); shots[nimi].xv = GridCenterX - shots[nimi]._x; shots[nimi].yv = GridCenterY - shots[nimi]._y; len = Math.sqrt((shots[nimi].xv * shots[nimi].xv) + (shots[nimi].yv * shots[nimi].yv)); len = len / 15; shots[nimi].xv = shots[nimi].xv / len; shots[nimi].yv = shots[nimi].yv / len; shots[nimi]._alpha = 100; shots[nimi].gotoAndPlay(1); shots[nimi].solid = false; shots[nimi].eletty = 0; shots[nimi].onEnterFrame = function () { if (!_global.gameon) { this.removeMovieClip(); } this.eletty++; if ((!this.solid) && (_global.gameon)) { this._y = this._y + (this.yv * 0.5); this._x = this._x + (this.xv * 0.5); if (testhit(this._x, this._y)) { var _local8 = Math.round(gety(this._x - _root.grid._x, this._y - _root.grid._y) / tileW) - 1; var _local9 = _local8 + 2; var _local6 = Math.round(getx(this._x - _root.grid._x, this._y - _root.grid._y) / tileH) - 1; var _local7 = _local6 + 2; parasnimi = ""; parasdist = 9999999 /* 0x98967F */; var _local5 = _local8; while (_local5 <= _local9) { var _local4 = _local6; while (_local4 <= _local7) { if (!_root.grid[(("t_" + _local5) + "_") + _local4]) { ddd222 = dist2(_root.grid._x + setx(_local4 * tileW, _local5 * tileH), _root.grid._y + sety(_local4 * tileW, _local5 * tileH), this._x, this._y); if (parasdist > ddd222) { parasdist = ddd222; parasii = _local5; parasjj = _local4; } } _local4++; } _local5++; } kiinnita(this.munsisalto, parasii, parasjj, (("t_" + parasii) + "_") + parasjj, this.xv, this.yv, false); palloilmassa--; this.removeMovieClip(); return(undefined); } this._y = this._y + (this.yv * 0.5); this._x = this._x + (this.xv * 0.5); if (testhit(this._x, this._y)) { var _local8 = Math.round(gety(this._x - _root.grid._x, this._y - _root.grid._y) / tileW) - 1; var _local9 = _local8 + 2; var _local6 = Math.round(getx(this._x - _root.grid._x, this._y - _root.grid._y) / tileH) - 1; var _local7 = _local6 + 2; parasnimi = ""; parasdist = 9999999 /* 0x98967F */; var _local5 = _local8; while (_local5 <= _local9) { var _local4 = _local6; while (_local4 <= _local7) { if (!_root.grid[(("t_" + _local5) + "_") + _local4]) { ddd222 = dist2(_root.grid._x + setx(_local4 * tileW, _local5 * tileH), _root.grid._y + sety(_local4 * tileW, _local5 * tileH), this._x, this._y); if (parasdist > ddd222) { parasdist = ddd222; parasii = _local5; parasjj = _local4; } } _local4++; } _local5++; } kiinnita(this.munsisalto, parasii, parasjj, (("t_" + parasii) + "_") + parasjj, this.xv, this.yv, false); palloilmassa--; this.removeMovieClip(); return(undefined); } } }; } function asetaseuraavapallo() { seuraavapallo = seuraavaseuraavapallo; attachMovie("file" + seuraavapallo, "ammuttavapallo", 28); ammuttavapallo._y = 27.78; ammuttavapallo._xscale = (ammuttavapallo._yscale = 46.3); ammuttavapallo.targety = nuoli._y; ammuttavapallo.targetscale = 100 * kokokerroin; ammuttavapallo._x = nuoli._x; ammuttavapallo.onEnterFrame = function () { this._xscale = (this._yscale = (0.95 * this._xscale) + (0.05 * this.targetscale)); this._y = (0.95 * this._y) + (0.05 * this.targety); }; seuraavaseuraavapallo = satuluku(); attachMovie("file" + seuraavaseuraavapallo, "ammuttavaammuttavapallo", 29); ammuttavaammuttavapallo._y = 25.002; ammuttavaammuttavapallo.targety = 25.002; ammuttavaammuttavapallo._x = GridCenterX; ammuttavaammuttavapallo._xscale = (ammuttavaammuttavapallo._yscale = 0); ammuttavaammuttavapallo.targetscale = 41.67; ammuttavaammuttavapallo.onEnterFrame = function () { this._xscale = (this._yscale = (0.95 * this._xscale) + (0.05 * this.targetscale)); this._y = (0.95 * this._y) + (0.05 * this.targety); }; } function shoot() { if (palloilmassa > 0) { return(undefined); } palloilmassa++; luku = seuraavapallo; ammuttavapallo._xscale = (ammuttavapallo._yscale = 0); ammuttavapallo.targetscale = 0; nimi = "t_" + palloja_ammuttu; palloja_ammuttu++; shots.attachMovie("file" + luku, nimi, shots.getNextHighestDepth()); shots[nimi].pomppuja = 0; shots[nimi]._xscale = (shots[nimi]._yscale = 100 * kokokerroin); shots[nimi].koko = 100; shots[nimi].munsisalto = luku; shots[nimi]._visible = true; shots[nimi]._x = nuoli._x; shots[nimi]._y = nuoli._y; shots[nimi].xv = _root._xmouse - shots[nimi]._x; shots[nimi].yv = _root._ymouse - shots[nimi]._y; len = Math.sqrt((shots[nimi].xv * shots[nimi].xv) + (shots[nimi].yv * shots[nimi].yv)); len = len / Pallonspeedi; shots[nimi].xv = shots[nimi].xv / len; shots[nimi].yv = shots[nimi].yv / len; shots[nimi].ekaframe = true; shots[nimi]._alpha = 100; shots[nimi].gotoAndPlay(1); shots[nimi].solid = false; shots[nimi].eletty = 0; shots[nimi].onEnterFrame = function () { if (!_global.gameon) { this.removeMovieClip(); } this.eletty++; if ((!this.solid) && (_global.gameon)) { if (this.pomppuja > 5) { ThrowPoints2(this._x, this._y, this); _root.tuhlailu--; asetainfo(_root.tuhlailu); ammuttavapallo.targetscale = 100; palloilmassa--; this.removeMovieClip(); return(undefined); } if (!this.ekaframe) { this._y = this._y + (this.yv * 0.5); this._x = this._x + (this.xv * 0.5); } else { this.ekaframe = false; } if (testhit(this._x, this._y)) { var _local8 = Math.round(gety(this._x - _root.grid._x, this._y - _root.grid._y) / tileW) - 1; var _local9 = _local8 + 2; var _local6 = Math.round(getx(this._x - _root.grid._x, this._y - _root.grid._y) / tileH) - 1; var _local7 = _local6 + 2; parasnimi = ""; parasdist = 9999999 /* 0x98967F */; var _local5 = _local8; while (_local5 <= _local9) { var _local4 = _local6; while (_local4 <= _local7) { if (!_root.grid[(("t_" + _local5) + "_") + _local4]) { ddd222 = dist2(_root.grid._x + setx(_local4 * tileW, _local5 * tileH), _root.grid._y + sety(_local4 * tileW, _local5 * tileH), this._x, this._y); if (parasdist > ddd222) { parasdist = ddd222; parasii = _local5; parasjj = _local4; } } _local4++; } _local5++; } oldpiste = Points; kiinnita(this.munsisalto, parasii, parasjj, (("t_" + parasii) + "_") + parasjj, this.xv, this.yv, true); if (oldpiste == Points) { tuhlailu--; } asetainfo(tuhlailu); palloilmassa--; asetaseuraavapallo(); this.removeMovieClip(); return(undefined); } this._y = this._y + (this.yv * 0.5); this._x = this._x + (this.xv * 0.5); if (testhit(this._x, this._y)) { var _local8 = Math.round(gety(this._x - _root.grid._x, this._y - _root.grid._y) / tileH) - 1; var _local9 = _local8 + 2; var _local6 = Math.round(getx(this._x - _root.grid._x, this._y - _root.grid._y) / tileW) - 1; var _local7 = _local6 + 2; parasnimi = ""; parasdist = 9999999 /* 0x98967F */; var _local5 = _local8; while (_local5 <= _local9) { var _local4 = _local6; while (_local4 <= _local7) { if (!_root.grid[(("t_" + _local5) + "_") + _local4]) { ddd222 = dist2(_root.grid._x + setx(_local4 * tileW, _local5 * tileH), _root.grid._y + sety(_local4 * tileW, _local5 * tileH), this._x, this._y); if (parasdist > ddd222) { parasdist = ddd222; parasii = _local5; parasjj = _local4; } } _local4++; } _local5++; } oldpiste = Points; kiinnita(this.munsisalto, parasii, parasjj, (("t_" + parasii) + "_") + parasjj, this.xv, this.yv, true); if (oldpiste == Points) { tuhlailu--; } asetainfo(tuhlailu); palloilmassa--; asetaseuraavapallo(); this.removeMovieClip(); return(undefined); } } if ((this._x - _root.GridCenterX) < (_root.leftBound + (tileW / 2))) { this._x = (_root.leftBound + (tileW / 2)) + _root.GridCenterX; this.xv = Math.abs(this.xv); this.pomppuja++; } if ((this._x - _root.GridCenterX) > (_root.rightBound - (tileW / 2))) { this._x = (_root.rightBound - (tileW / 2)) + _root.GridCenterX; this.xv = -Math.abs(this.xv); this.pomppuja++; } if (((this._y - _root.GridCenterY) < (_root.upperBound + (tileH / 2))) && (this.eletty > 20)) { this._y = (_root.upperBound + (tileH / 2)) + _root.GridCenterY; this.yv = Math.abs(this.yv); this.pomppuja++; } if ((this._y - _root.GridCenterY) > (_root.lowerBound - (tileH / 2))) { this._y = (_root.lowerBound - (tileH / 2)) + _root.GridCenterY; this.yv = -Math.abs(this.yv); this.pomppuja++; } }; } function ThrowPoints(numbertothrow, xthrow, ythrow, alkupmovie) { if (numbertothrow < 0) { scoreEffects.attachMovie("ScoreEffectMinus", "ScoreEffect" + PointsThrown, 700000 + PointsThrown); } else { scoreEffects.attachMovie("ScoreEffectPlus", "ScoreEffect" + PointsThrown, 700000 + PointsThrown); } scoreEffects["ScoreEffect" + PointsThrown]._x = xthrow; scoreEffects["ScoreEffect" + PointsThrown]._y = ythrow; scoreEffects["ScoreEffect" + PointsThrown]._xscale = 150; scoreEffects["ScoreEffect" + PointsThrown]._yscale = 150; if (numbertothrow > 0) { scoreEffects["ScoreEffect" + PointsThrown].Scoreaddition = "+" + numbertothrow; } else { scoreEffects["ScoreEffect" + PointsThrown].Scoreaddition = numbertothrow; } scoreEffects["ScoreEffect" + PointsThrown].onEnterFrame = function () { this._xscale = this._xscale + 1; this._yscale = this._yscale + 1; this._alpha = this._alpha - 1.5; if (this._alpha < 1.5) { this.removeMovieClip(); } }; PointsThrown++; scoreEffects.attachMovie("file" + alkupmovie.munsisalto, "ScoreEffect" + PointsThrown, 700000 + PointsThrown); scoreEffects["ScoreEffect" + PointsThrown]._x = xthrow; scoreEffects["ScoreEffect" + PointsThrown]._y = ythrow; scoreEffects["ScoreEffect" + PointsThrown]._rotation = alkupmovie._rotation + grid._rotation; scoreEffects["ScoreEffect" + PointsThrown].xv = (Math.random() * 10) - 5; scoreEffects["ScoreEffect" + PointsThrown].yv = (Math.random() * 10) - 5; scoreEffects["ScoreEffect" + PointsThrown].onEnterFrame = function () { this._xscale = this._xscale - 2; this._yscale = this._yscale - 2; this._alpha = this._alpha - 1.5; this._x = this._x + this.xv; this._y = this._y + this.yv; this._rotation = this._rotation + (this.xv * 10); this.yv = this.yv + 1; if (this._alpha < 1.5) { this.removeMovieClip(); } }; PointsThrown++; } function ThrowPoints2(xthrow, ythrow, alkupmovie) { scoreEffects.attachMovie("file" + alkupmovie.munsisalto, "ScoreEffect" + PointsThrown, 700000 + PointsThrown); scoreEffects["ScoreEffect" + PointsThrown]._x = xthrow; scoreEffects["ScoreEffect" + PointsThrown]._y = ythrow; scoreEffects["ScoreEffect" + PointsThrown]._rotation = alkupmovie._rotation + _root.grid._rotation; scoreEffects["ScoreEffect" + PointsThrown].xv = (Math.random() * 10) - 5; scoreEffects["ScoreEffect" + PointsThrown].yv = (Math.random() * 10) - 5; scoreEffects["ScoreEffect" + PointsThrown].onEnterFrame = function () { this._xscale = this._xscale - 2; this._yscale = this._yscale - 2; this._alpha = this._alpha - 1.5; this._x = this._x + this.xv; this._y = this._y + this.yv; this._rotation = this._rotation + (this.xv * 10); this.yv = this.yv + 1; if (this._alpha < 1.5) { this.removeMovieClip(); } }; PointsThrown++; } function ThrowParticles(xthrow, ythrow) { scoreEffects.attachMovie("file3", "ScoreEffect" + PointsThrown, 700000 + PointsThrown); scoreEffects["ScoreEffect" + PointsThrown]._x = xthrow; scoreEffects["ScoreEffect" + PointsThrown]._y = ythrow; scoreEffects["ScoreEffect" + PointsThrown]._xscale = 50; scoreEffects["ScoreEffect" + PointsThrown]._yscale = 50; scoreEffects["ScoreEffect" + PointsThrown].xv = (Math.random() * 10) - 5; scoreEffects["ScoreEffect" + PointsThrown].yv = (Math.random() * 10) - 5; if (xthrow < -250) { scoreEffects["ScoreEffect" + PointsThrown].xv = scoreEffects["ScoreEffect" + PointsThrown].xv + 4; } if (xthrow > 250) { scoreEffects["ScoreEffect" + PointsThrown].xv = scoreEffects["ScoreEffect" + PointsThrown].xv - 4; } if (ythrow > 250) { scoreEffects["ScoreEffect" + PointsThrown].yv = scoreEffects["ScoreEffect" + PointsThrown].yv - 4; } scoreEffects["ScoreEffect" + PointsThrown].onEnterFrame = function () { this._xscale = this._xscale - 2; this._yscale = this._yscale - 2; this._alpha = this._alpha - 1.5; this._x = this._x + this.xv; this._y = this._y + this.yv; this._rotation = this._rotation + (this.xv * 10); this.yv = this.yv + 1; if (this._alpha < 1.5) { this.removeMovieClip(); } }; PointsThrown++; } function ThrowError(xthrow, ythrow) { scoreEffects.attachMovie("ScoreEffectMinus", "ScoreEffect" + PointsThrown, 700000 + PointsThrown); scoreEffects["ScoreEffect" + PointsThrown]._x = xthrow; scoreEffects["ScoreEffect" + PointsThrown]._y = ythrow; scoreEffects["ScoreEffect" + PointsThrown]._xscale = 150; scoreEffects["ScoreEffect" + PointsThrown]._yscale = 150; scoreEffects["ScoreEffect" + PointsThrown].Scoreaddition = ""; scoreEffects["ScoreEffect" + PointsThrown].onEnterFrame = function () { this._xscale = this._xscale + 1; this._yscale = this._yscale + 1; this._alpha = this._alpha - 0.7; if (this._alpha < 1.5) { this.removeMovieClip(); } }; PointsThrown++; aj = 0; while (aj < 30) { ThrowParticles(xthrow, ythrow); aj++; } } function updateGrid() { while ((!grid[(("t_" + (rowsCurrentlyInGrid - 1)) + "_") + 0]) || ((grid._y + grid[(("t_" + (rowsCurrentlyInGrid - 1)) + "_") + 0]._y) > -20)) { addRowToGrid(); } } function initGrid() { i = 0; while (i <= Erivareja) { _root["tatavaria" + i] = 1; i++; } i = Alkuklimpinkoko - 1; while (i > 0) { j = 0; while (j < (((2 * Alkuklimpinkoko) - 1) - i)) { asetaitte(-i, (((-Alkuklimpinkoko) + 1) + i) + j, satuluku()); j++; } j = 0; while (j < (((Alkuklimpinkoko * 2) - 1) - i)) { asetaitte(i, ((Alkuklimpinkoko - 1) - i) - j, satuluku()); j++; } i--; } j = 0; while (j < ((Alkuklimpinkoko * 2) - 1)) { asetaitte(0, ((-Alkuklimpinkoko) + 1) + j, satuluku()); j++; } grid.t_0_0.removeMovieClip(); grid.attachMovie("tilepommi", "t_0_0", grid.getNextHighestDepth()); grid.t_0_0.munsisalto = -1; grid.t_0_0._xscale = (grid.t_0_0._yscale = kokokerroin * 100); asetaitte(-1, 0, 1); asetaitte(1, 0, 2); asetaitte(0, 1, 3); asetaitte(0, -1, 4); asetaitte(1, -1, 5); asetaitte(-1, 1, 6); } Pallojapersatsi = 10; kokokerroin = 0.75006; Pallonspeedi = 20.835; Alkuklimpinkoko = 3; Erivareja = 6; GridCenterX = 250.02; GridCenterY = 291.69; multiplier = ""; pistekerroin = 1; kutistuu = false; if (ollaankodeadwhalessa) { dwnappi2._visible = false; } lowerBound = 241.686; upperBound = -241.686; leftBound = -241.686; rightBound = 241.686; this.createEmptyMovieClip("line_mc", 10); gridspeed = 0; pallojainklimppi = 0; palloilmassa = 0; nuoli._x = GridCenterX; seuraavapallo = 1; seuraavaseuraavapallo = 2; _root.oikeapalkki._y = -100; vasein = 99999 /* 0x01869F */; oikein = -99999; ylin = -99999; alin = 99999 /* 0x01869F */; BFStunnus = 0; ampuaika = getTimer() + 1000; ammuttu = 0; axis1x = 1; axis1y = 0; axis2x = 0.5; axis2y = 0.8660254; tileW = 34 * kokokerroin; tileH = 34 * kokokerroin; hiirialhaalla = false; _root.onMouseDown = function () { hiirialhaalla = true; }; _root.onMouseUp = function () { hiirialhaalla = false; shootSound(); }; edellinenaika = getTimer(); aikakerroin = 1; var spacepohjassaviimeframessa = false; edaika = 0; _root.onEnterFrame = function () { _root.oikeapalkki.frosmonappi._xscale = (_root.oikeapalkki.frosmonappi._yscale = (0.8 * _root.oikeapalkki.frosmonappi._xscale) + (0.2 * _root.targetnappiscale2)); dwnappi2._xscale = (dwnappi2._yscale = (0.8 * dwnappi2._xscale) + (0.2 * _root.targetnappiscale)); _root.oikeapalkki._y = (0.9 * _root.oikeapalkki._y) + 24.33528; uusiaika = getTimer(); aikakerroin = (uusiaika - edellinenaika) / 33; edellinenaika = uusiaika; framejalaskettu++; if (framejalaskettu >= 30) { framerate = (1000 * (framejalaskettu * 1)) / ((1 * (getTimer() - framenalkuaika)) + 0.001); framenalkuaika = getTimer(); framejalaskettu = 0; } if (!_global.gameon) { gridinaloitus = getTimer(); } else { if ((pallojainklimppi == 1) && (kutistuu == false)) { kutistuu = true; grid.targetscale = 0; } if ((kutistuu == true) && (grid._xscale < 2)) { kutistuu = false; initGrid(); grid._xscale = (grid._yscale = 0); grid.targetscale = 100; pistekerroin = pistekerroin + 1; multiplier = pistekerroin + "x"; gotoAndStop ("game2end"); } grid._xscale = (grid._yscale = (0.95 * grid._xscale) + (0.05 * grid.targetscale)); i = 1; while (i <= 10) { if (this["tuhlaus" + i]) { this["tuhlaus" + i]._rotation = Math.sin((getTimer() / 1800) + (i * 0.2)) * 200; this["tuhlaus" + i]._alpha = (this["tuhlaus" + i]._alpha * 0.95) + (this["tuhlaus" + i].targetalpha * 0.05); this["tuhlaus" + i]._xscale = (this["tuhlaus" + i]._yscale = (this["tuhlaus" + i]._xscale * 0.95) + (this["tuhlaus" + i].targetscale * 0.05)); } i++; } gridspeed = gridspeed * 0.97; if (_root._ymouse > ((GridCenterY + upperBound) + 5)) { nuoli._rotation = (Math.atan2(_root._ymouse - nuoli._y, _root._xmouse - nuoli._x) / 3.14159) * 180; } line_mc._visible = true; hidastuskerroin = 1; if (getTimer() < (kellonalkuaika + kellonkesto)) { hidastuskerroin = 0.3; } if (((((!kutistuu) && (hiirialhaalla)) && (_root._ymouse > ((GridCenterY + upperBound) + 5))) && (Math.abs(gridspeed) < 2)) && (palloilmassa == 0)) { hiirenseuraaja._x = _root._xmouse; hiirenseuraaja._y = _root._ymouse; if (!hiirenseuraaja.hitTest(Neppula)) { shoot(); bubblePop = new Sound(_root); bubblePop.attachSound("FOLEY WHIP WHOOSH DOUBLE ALUMINUM ROD 01"); bubblePop.start(0, 1); hiirialhaalla = false; } } if (tuhlailu == 0) { reloadalertsound(); i = 0; while (i < Pallojapersatsi) { shootrandom(); i++; } tuhlailulim--; if (tuhlailulim == 0) { tuhlailulim = 6; } tuhlailu = tuhlailulim; asetainfo(tuhlailu); } grid._x = GridCenterX; grid._y = GridCenterY; grid._rotation = grid._rotation + gridspeed; ang = (grid._rotation * 3.141593) / 180; axis1x = Math.cos(ang); axis1y = Math.sin(ang); axis2x = Math.cos(ang + 1.047197); axis2y = Math.sin(ang + 1.047197); line_mc._x = grid._x; line_mc._y = grid._y; vasein = 99999 /* 0x01869F */; oikein = -99999; ylin = -99999; alin = 99999 /* 0x01869F */; } Score = "" + Math.round(tempPoints); tempPoints = (0.93 * tempPoints) + (0.07 * Points); if ((Points > 0) && (oldpo != Points)) { pointssound(); } oldpo = Points; if ((GameOver == true) && (_global.gameon == true)) { if (kelloefekti) { kelloefekti.removeMovieClip(); } _root.lopputiski.julkaisuaika = getTimer(); _root.gotoAndStop("gameover2"); } }; init(); stop();
Frame 289
_global.gameon = false; grid.removeMovieClip(); shots.removeMovieClip(); scoreEffects.removeMovieClip(); ammuttavapallo.removeMovieClip(); ammuttavaammuttavapallo.removeMovieClip(); tuhlaus.removeMovieClip(); gameoversound();
Frame 290
var level2score = Score; level2scoretxt.text = level2score; _global.gameon = false; grid.removeMovieClip(); shots.removeMovieClip(); scoreEffects.removeMovieClip(); ammuttavapallo.removeMovieClip(); ammuttavaammuttavapallo.removeMovieClip(); tuhlaus.removeMovieClip(); cong();
Frame 291
_global.gameon = true; function setyf(xx, yy) { xx = xx * 1; yy = yy * 1; return((0 * xx) + (0.8660254 * yy)); } function setxf(xx, yy) { xx = xx * 1; yy = yy * 1; return((1 * xx) + (0.5 * yy)); } function gety(xx, yy) { xx = xx * 1; yy = yy * 1; return(((axis1x * yy) - (xx * axis1y)) / ((axis1x * axis2y) - (axis2x * axis1y))); } function getx(xx, yy) { xx = xx * 1; yy = yy * 1; return(((xx * axis2y) - (axis2x * yy)) / ((axis1x * axis2y) - (axis2x * axis1y))); } function sety(xx, yy) { xx = xx * 1; yy = yy * 1; return((axis1y * xx) + (axis2y * yy)); } function setx(xx, yy) { xx = xx * 1; yy = yy * 1; return((axis1x * xx) + (axis2x * yy)); } function asetainfo(tuhlailu) { i = 1; while (i < 10) { if (this["tuhlaus" + i]) { this["tuhlaus" + i].targetalpha = 0; this["tuhlaus" + i].targetscale = 0; } i++; } i = 1; while (i <= tuhlailu) { if (!this["tuhlaus" + i]) { attachMovie("tileydinpommi", "tuhlaus" + i, 789789 + i); } this["tuhlaus" + i].targetalpha = 100; this["tuhlaus" + i].targetscale = 68; this["tuhlaus" + i]._y = 908.374; this["tuhlaus" + i]._x = ((10 + (30 * i)) * 0.9) * 0.926; i++; } } function init() { i = 0; while (i <= Erivareja) { _root["tatavaria" + i] = 1; i++; } kutistuu = false; pistekerroin = 1; multiplier = ""; gridspeed = 20; tuhlailulim = 6; tuhlailu = 6; axis1x = 1; axis1y = 0; axis2x = 0.5; axis2y = 0.8660254; asetainfo(6); palloilmassa = 0; pallojainklimppi = 0; seuraavapallo = 1; seuraavaseuraavapallo = 2; asetaseuraavapallo(); line_mc._visible = true; ammuttu = 0; d = 100; rowsCurrentlyInGrid = -2; popattavia = 0; framerate = 0; framejalaskettu = 0; framenalkuaika = 0; attachMovie("Tausta", "Tausta", 20); kellonalkuaika = -999999; kellonkesto = 7000; Tausta._x = 275; Tausta._y = 200; Tausta._visible = false; palloja_ammuttu = 0; currentselectedsum = "0 / 10"; _root.oikeapalkki.scorepalkki_red._visible = false; GridWidth = 5; GameOver = false; _global.gameon = false; gametime = 20000; levelper6 = "0"; _global.onnitteluja = false; PointsThrown = 0; animaationpituus = 9; kerroin = 0.1; attachMovie("Lopputiski", "lopputiski", 19); _root.lopputiski._visible = false; _root.lopputiski._x = 250.02; _root.lopputiski._y = 250.02; _root.infotiski._visible = true; _root.infotiski.gotoAndPlay(1); infotiskijulkaistu = getTimer(); gamesinthislevel = 3; tempPoints = 0; Points = 0; _global.lopputulema = Points; Score = "" + Math.round(tempPoints); valitunpallonkoko = 105; valitsemattomankoko = 90; level = 1; levelper6 = level + "/6"; if (infotiski.getDepth() != 100000) { infotiski.swapDepths(100000); } if (dwnappi2.getDepth() != 490000) { dwnappi2.swapDepths(490000); } edellinenoikein = 0; oikein = 0; _global.lopputulos = "0"; Copiesleft = "" + ((gamesinthislevel + edellinenoikein) - oikein); hiirenseuraaja._xscale = 10; hiirenseuraaja._yscale = 10; hiirenseuraaja._x = 100; hiirenseuraaja._y = 100; rotationtime = -10000; hiirenseuraaja._visible = false; this.attachMovie("empty", "grid", 0); this.attachMovie("empty", "shots", 2); this.attachMovie("empty", "scoreEffects", 1); scoreEffects._x = (scoreEffects._y = 0); this.grid._x = GridCenterX; this.grid._y = GridCenterY; this.grid._xscale = (this.grid._yscale = 0); this.grid.targetscale = 100; this.shots._x = 0; this.shots._y = 0; initGrid(); } function kiinnita(luku, ii, jj, nimi, xv, yv, poistetaanko) { pallojainklimppi++; grid.attachMovie("file" + luku, nimi, grid.getNextHighestDepth()); grid[nimi]._xscale = (grid[nimi]._yscale = 100 * kokokerroin); grid[nimi].muni = ii; grid[nimi].munj = jj; grid[nimi].munsisalto = luku; grid[nimi]._visible = true; grid[nimi]._x = setxf(jj * tileW, ii * tileH); grid[nimi]._y = setyf(jj * tileW, ii * tileH); grid[nimi].gotoAndPlay(1); grid[nimi]._rotation = -grid._rotation; xxx = setx(jj * tileW, ii * tileH); yyy = sety(jj * tileW, ii * tileH); lenin = Math.sqrt((xxx * xxx) + (yyy * yyy)); xxx = xxx / lenin; yyy = yyy / lenin; uusxxx = -yyy; uusyyy = xxx; dpdp = (uusxxx * xv) + (uusyyy * yv); gridspeed = gridspeed + ((7 * (dpdp - (lenin * Math.sin((gridspeed / 180) * 3.141592)))) * Math.pow(1 / (1 + pallojainklimppi), 1)); grid[nimi].solid = true; grid[nimi].onEnterFrame = function () { oikeax = setx(this.munj * tileW, this.muni * tileH); oikeay = sety(this.munj * tileW, this.muni * tileH); if (!_root.GameOver) { if ((((oikeax < (_root.leftBound + 50)) || (oikeax > (_root.rightBound - 50))) || (oikeay < (_root.upperBound + 50))) || (oikeay > (_root.lowerBound - 50))) { if (!this.varo) { this.attachMovie("varopallo", "varo", this.getNextHighestDepth()); this.varo._alpha = 0; } this.varo._alpha = (this.varo._alpha * 0.9) + 6; this.varo._x = 0; this.varo._y = 0; } else if (this.varo) { if (this.varo._alpha < 5) { this.varo.removeMovieClip(); } else { this.varo._alpha = this.varo._alpha * 0.95; } } if ((oikeax < (_root.leftBound + (tileW * 0.4))) || (oikeax > (_root.rightBound - (tileW * 0.4)))) { _root.GameOver = true; ThrowError(oikeax + grid._x, oikeay + grid._y); } if ((oikeay < (_root.upperBound + (tileH * 0.4))) || (oikeay > (_root.lowerBound - (tileH * 0.4)))) { _root.GameOver = true; ThrowError(oikeax + grid._x, oikeay + grid._y); } } }; if (poistetaanko) { removeBlock(ii, jj); } laskeEriVarit(); } function laskeEriVarit() { var _local4 = new Array(); var _local5 = new Array(); var _local2 = 0; var _local3 = 0; i = 0; while (i <= Erivareja) { _root["tatavaria" + i] = 0; i++; } _local4[_local3] = 0; _local5[_local3] = 0; BFStunnus++; while (_local3 <= _local2) { iii = _local4[_local3]; jjj = _local5[_local3]; _root["tatavaria" + grid[(("t_" + iii) + "_") + jjj].munsisalto]++; iii = _local4[_local3] - 1; jjj = _local5[_local3]; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] + 1; jjj = _local5[_local3]; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3]; jjj = _local5[_local3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3]; jjj = _local5[_local3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] - 1; jjj = _local5[_local3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] + 1; jjj = _local5[_local3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } _local3++; } } function removeBlock(ii, jj) { var _local4 = new Array(); var _local5 = new Array(); var _local2 = 0; var _local3 = 0; _local4[_local3] = ii; _local5[_local3] = jj; BFStunnus++; id = grid[(("t_" + ii) + "_") + jj].munsisalto; while (_local3 <= _local2) { iii = _local4[_local3] - 1; jjj = _local5[_local3]; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] + 1; jjj = _local5[_local3]; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3]; jjj = _local5[_local3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3]; jjj = _local5[_local3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] - 1; jjj = _local5[_local3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] + 1; jjj = _local5[_local3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } _local3++; } if (_local2 > 2) { var _local8 = new Array(); var _local9 = new Array(); indexa3 = 0; indexl3 = 0; _local8[0] = 0; _local9[0] = 0; BFStunnus++; while (indexa3 <= indexl3) { iii = _local8[indexa3] - 1; jjj = _local9[indexa3]; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl3++; _local8[indexl3] = iii; _local9[indexl3] = jjj; } } iii = _local8[indexa3] + 1; jjj = _local9[indexa3]; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl3++; _local8[indexl3] = iii; _local9[indexl3] = jjj; } } iii = _local8[indexa3]; jjj = _local9[indexa3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl3++; _local8[indexl3] = iii; _local9[indexl3] = jjj; } } iii = _local8[indexa3]; jjj = _local9[indexa3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl3++; _local8[indexl3] = iii; _local9[indexl3] = jjj; } } iii = _local8[indexa3] + 1; jjj = _local9[indexa3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl3++; _local8[indexl3] = iii; _local9[indexl3] = jjj; } } iii = _local8[indexa3] - 1; jjj = _local9[indexa3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl3++; _local8[indexl3] = iii; _local9[indexl3] = jjj; } } indexa3++; } _local4 = new Array(); _local5 = new Array(); _local2 = 0; _local3 = 0; _local4[_local3] = ii; _local5[_local3] = jj; BFStunnus++; while (_local3 <= _local2) { iii = _local4[_local3] - 1; jjj = _local5[_local3]; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { ThrowPoints(pistekerroin, grid._x + setx(jjj * tileW, iii * tileH), grid._y + sety(jjj * tileW, iii * tileH), grid[(("t_" + iii) + "_") + jjj]); grid[(("t_" + iii) + "_") + jjj].removeMovieClip(); _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] + 1; jjj = _local5[_local3]; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { ThrowPoints(pistekerroin, grid._x + setx(jjj * tileW, iii * tileH), grid._y + sety(jjj * tileW, iii * tileH), grid[(("t_" + iii) + "_") + jjj]); grid[(("t_" + iii) + "_") + jjj].removeMovieClip(); _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3]; jjj = _local5[_local3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { ThrowPoints(pistekerroin, grid._x + setx(jjj * tileW, iii * tileH), grid._y + sety(jjj * tileW, iii * tileH), grid[(("t_" + iii) + "_") + jjj]); grid[(("t_" + iii) + "_") + jjj].removeMovieClip(); _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3]; jjj = _local5[_local3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { ThrowPoints(pistekerroin, grid._x + setx(jjj * tileW, iii * tileH), grid._y + sety(jjj * tileW, iii * tileH), grid[(("t_" + iii) + "_") + jjj]); grid[(("t_" + iii) + "_") + jjj].removeMovieClip(); _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] - 1; jjj = _local5[_local3] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { ThrowPoints(pistekerroin, grid._x + setx(jjj * tileW, iii * tileH), grid._y + sety(jjj * tileW, iii * tileH), grid[(("t_" + iii) + "_") + jjj]); grid[(("t_" + iii) + "_") + jjj].removeMovieClip(); _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } iii = _local4[_local3] + 1; jjj = _local5[_local3] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if ((grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) && (grid[(("t_" + iii) + "_") + jjj].munsisalto == id)) { ThrowPoints(pistekerroin, grid._x + setx(jjj * tileW, iii * tileH), grid._y + sety(jjj * tileW, iii * tileH), grid[(("t_" + iii) + "_") + jjj]); grid[(("t_" + iii) + "_") + jjj].removeMovieClip(); _local2++; _local4[_local2] = iii; _local5[_local2] = jjj; } } _local3++; } var _local6 = new Array(); var _local7 = new Array(); indexa2 = 0; indexl2 = 0; _local6[0] = 0; _local7[0] = 0; BFStunnus++; while (indexa2 <= indexl2) { iii = _local6[indexa2]; jjj = _local7[indexa2]; grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; iii = _local6[indexa2] - 1; jjj = _local7[indexa2]; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl2++; _local6[indexl2] = iii; _local7[indexl2] = jjj; } } iii = _local6[indexa2] + 1; jjj = _local7[indexa2]; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl2++; _local6[indexl2] = iii; _local7[indexl2] = jjj; } } iii = _local6[indexa2]; jjj = _local7[indexa2] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl2++; _local6[indexl2] = iii; _local7[indexl2] = jjj; } } iii = _local6[indexa2]; jjj = _local7[indexa2] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl2++; _local6[indexl2] = iii; _local7[indexl2] = jjj; } } iii = _local6[indexa2] - 1; jjj = _local7[indexa2] + 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl2++; _local6[indexl2] = iii; _local7[indexl2] = jjj; } } iii = _local6[indexa2] + 1; jjj = _local7[indexa2] - 1; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { grid[(("t_" + iii) + "_") + jjj].BFS = BFStunnus; indexl2++; _local6[indexl2] = iii; _local7[indexl2] = jjj; } } indexa2++; } poistettuja = 0; var _local10 = 0; while (_local10 <= indexl3) { iii = _local8[_local10]; jjj = _local9[_local10]; if (grid[(("t_" + iii) + "_") + jjj]) { if (grid[(("t_" + iii) + "_") + jjj].BFS != BFStunnus) { ThrowPoints(pistekerroin, grid._x + setx(jjj * tileW, iii * tileH), grid._y + sety(jjj * tileW, iii * tileH), grid[(("t_" + iii) + "_") + jjj]); grid[(("t_" + iii) + "_") + jjj].removeMovieClip(); poistettuja++; } } _local10++; } poistettuja = poistettuja + _local2; pallojainklimppi = pallojainklimppi - poistettuja; Points = Points + (poistettuja * pistekerroin); Score = (_global.lopputulos = "" + Points); _global.lopputulema = Points; } } function cleanUp() { var _local3 = GridWidth; var _local4 = rowsCurrentlyInGrid; var _local2 = 0; while (_local2 < _local4) { var _local1 = 0; while (_local1 < _local3) { if (grid[(("t_" + _local2) + "_") + _local1]) { grid[(("t_" + _local2) + "_") + _local1].removeMovieClip(); } _local1++; } _local2++; } } function removeSumsFromGrid() { var _local4 = 0; var _local5 = GridWidth; var _local6 = rowsCurrentlyInGrid; var _local3 = 0; if (rowsCurrentlyInGrid > 30) { } _local3 = rowsCurrentlyInGrid - 30; while (_local3 < _local6) { var _local2 = 0; while (_local2 < _local5) { if (grid[(("t_" + _local3) + "_") + _local2]) { tulos = 1; if (grid[(("t_" + _local3) + "_") + _local2].valittu) { tulos = 2; } if (tulos == 2) { _local4 = _local4 + int(grid[(("t_" + _local3) + "_") + _local2].munsisalto); } } _local2++; } _local3++; } currentselectedsum = _local4 + " / 10"; if (_local4 > 10) { _root.oikeapalkki.scorepalkki_red._visible = true; } if (_local4 <= 10) { _root.oikeapalkki.scorepalkki_red._visible = false; } if (_local4 == 10) { removeSelectedFromGrid(); } return(false); } function removeSelectedFromGrid() { var _local5 = GridWidth; var _local6 = rowsCurrentlyInGrid; var _local3 = 0; var _local4 = 0; if (rowsCurrentlyInGrid > 30) { } _local3 = rowsCurrentlyInGrid - 30; while (_local3 < _local6) { var _local2 = 0; while (_local2 < _local5) { if (grid[(("t_" + _local3) + "_") + _local2]) { tulos = 1; if (grid[(("t_" + _local3) + "_") + _local2].valittu) { tulos = 2; } if (tulos == 2) { ThrowPoints(pistekerroin, grid[(("t_" + _local3) + "_") + _local2]._x + grid._x, grid[(("t_" + _local3) + "_") + _local2]._y + grid._y); grid[(("t_" + _local3) + "_") + _local2].removeMovieClip(); _local4++; Points = Points + pistekerroin; Score = (_global.lopputulos = "" + Points); _global.lopputulema = Points; haiskore.send("scoreboard", "update_score", "Haasto", Points); } } _local2++; } _local3++; } } function poppaa() { bubblePop = new Sound(_root); bubblePop.attachSound("bubble"); bubblePop.start(0, 1); popattavia--; if (popattavia <= 0) { clearInterval(ID); } } function setNumbers(container, Width, Height) { koko = Width * Height; var _local1 = new Array(); do { nyk = 0; temppisum = 0; while (nyk < koko) { _local1[nyk] = random(9) + 1; if ((temppisum + _local1[nyk]) > 10) { _local1[nyk] = 10 - temppisum; } temppisum = temppisum + _local1[nyk]; if (temppisum == 10) { temppisum = 0; } if (nyk == (koko - 1)) { if (temppisum > 0) { _local1[nyk] = _local1[nyk] + (10 - temppisum); } } nyk++; } } while (_local1[koko - 1] == 10); var _local3 = 0; while (_local3 < koko) { indeksi1 = _local3 + random(koko - _local3); tempvalue = _local1[_local3]; _local1[_local3] = _local1[indeksi1]; _local1[indeksi1] = tempvalue; _local3++; } nyk = 0; _local3 = 0; while (_local3 < Height) { var _local2 = 0; while (_local2 < Width) { container[(("t_" + _local3) + "_") + _local2].munsisalto = _local1[nyk]; nyk++; _local2++; } _local3++; } } function satuluku() { juritus = 0; do { juritus++; tulos = random(Erivareja) + 1; } while ((_root["tatavaria" + tulos] == 0) && (juritus < 100)); return(tulos); while (_local2 < 9) { todnaksum = todnaksum + todnakit[_local2]; _local2++; } tulos = random(todnaksum); todnaksum = 0; indeksi = 0; while (indeksi < 9) { todnaksum = todnaksum + todnakit[indeksi]; if (todnaksum > tulos) { return(indeksi + 1); } indeksi++; } return(-1); } function satuluku2() { tulos = random(Erivareja) + 1; return(tulos); while (_local1 < 9) { todnaksum = todnaksum + todnakit[_local1]; _local1++; } tulos = random(todnaksum); todnaksum = 0; indeksi = 0; while (indeksi < 9) { todnaksum = todnaksum + todnakit[indeksi]; if (todnaksum > tulos) { return(indeksi + 1); } indeksi++; } return(-1); } function asetaitte(i, j, luku) { if (grid[(("t_" + i) + "_") + j]) { grid[(("t_" + i) + "_") + j].removeMovieClip(); } else { pallojainklimppi++; } grid.attachMovie("file" + luku, (("t_" + i) + "_") + j, grid.getNextHighestDepth()); grid[(("t_" + i) + "_") + j].munsisalto = luku; grid[(("t_" + i) + "_") + j]._xscale = (grid[(("t_" + i) + "_") + j]._yscale = kokokerroin * 100); grid[(("t_" + i) + "_") + j]._x = setxf(tileW * j, tileH * i); grid[(("t_" + i) + "_") + j]._y = setyf(tileW * j, tileH * i); grid[(("t_" + i) + "_") + j].gotoAndPlay(1); grid[(("t_" + i) + "_") + j].solid = true; } function addRowToGrid() { var _local2 = rowsCurrentlyInGrid; var _local1 = -Math.floor(Alkuklimpinkoko / 2); while (_local1 < ((-Math.floor(Alkuklimpinkoko / 2)) + Alkuklimpinkoko)) { luku = satuluku(); grid.attachMovie("file" + luku, (("t_" + _local2) + "_") + _local1, grid.getNextHighestDepth()); pallojainklimppi++; grid[(("t_" + _local2) + "_") + _local1].munsisalto = luku; grid[(("t_" + _local2) + "_") + _local1]._xscale = (grid[(("t_" + _local2) + "_") + _local1]._yscale = kokokerroin * 100); grid[(("t_" + _local2) + "_") + _local1]._x = setxf(tileW * _local1, tileH * _local2); grid[(("t_" + _local2) + "_") + _local1]._y = setyf(tileW * _local1, tileH * _local2); grid[(("t_" + _local2) + "_") + _local1].gotoAndPlay(1); grid[(("t_" + _local2) + "_") + _local1].solid = true; _local1++; } rowsCurrentlyInGrid++; } function dist2(x1, y1, x2, y2) { return(((x1 - x2) * (x1 - x2)) + ((y1 - y2) * (y1 - y2))); } function testhit(xx, yy) { var _local8 = Math.round(gety(xx - _root.grid._x, yy - _root.grid._y) / tileW) - 1; var _local9 = _local8 + 2; var _local4 = Math.round(getx(xx - _root.grid._x, yy - _root.grid._y) / tileH) - 1; var _local5 = _local4 + 2; var _local3 = _local8; while (_local3 <= _local9) { var _local2 = _local4; while (_local2 <= _local5) { if (_root.grid[(("t_" + _local3) + "_") + _local2]) { if (dist2(setx(_local2 * tileW, _local3 * tileH) + _root.grid._x, sety(_local2 * tileW, _local3 * tileH) + _root.grid._y, xx, yy) < ((900 * kokokerroin) * kokokerroin)) { return(true); } } _local2++; } _local3++; } return(false); } function shootrandom() { palloilmassa++; luku = satuluku(); nimi = "t_" + palloja_ammuttu; palloja_ammuttu++; shots.attachMovie("file" + luku, nimi, shots.getNextHighestDepth()); shots[nimi].pomppuja = 0; shots[nimi]._xscale = (shots[nimi]._yscale = 100 * kokokerroin); shots[nimi].koko = 100; shots[nimi].munsisalto = luku; shots[nimi]._visible = true; ang = (Math.random() * 2) * 3.141592; factori = 1 + Math.random(); shots[nimi]._x = GridCenterX + ((Math.cos(ang) * 420) * factori); shots[nimi]._y = GridCenterY + ((Math.sin(ang) * 420) * factori); shots[nimi].xv = GridCenterX - shots[nimi]._x; shots[nimi].yv = GridCenterY - shots[nimi]._y; len = Math.sqrt((shots[nimi].xv * shots[nimi].xv) + (shots[nimi].yv * shots[nimi].yv)); len = len / 15; shots[nimi].xv = shots[nimi].xv / len; shots[nimi].yv = shots[nimi].yv / len; shots[nimi]._alpha = 100; shots[nimi].gotoAndPlay(1); shots[nimi].solid = false; shots[nimi].eletty = 0; shots[nimi].onEnterFrame = function () { if (!_global.gameon) { this.removeMovieClip(); } this.eletty++; if ((!this.solid) && (_global.gameon)) { this._y = this._y + (this.yv * 0.5); this._x = this._x + (this.xv * 0.5); if (testhit(this._x, this._y)) { var _local8 = Math.round(gety(this._x - _root.grid._x, this._y - _root.grid._y) / tileW) - 1; var _local9 = _local8 + 2; var _local6 = Math.round(getx(this._x - _root.grid._x, this._y - _root.grid._y) / tileH) - 1; var _local7 = _local6 + 2; parasnimi = ""; parasdist = 9999999 /* 0x98967F */; var _local5 = _local8; while (_local5 <= _local9) { var _local4 = _local6; while (_local4 <= _local7) { if (!_root.grid[(("t_" + _local5) + "_") + _local4]) { ddd222 = dist2(_root.grid._x + setx(_local4 * tileW, _local5 * tileH), _root.grid._y + sety(_local4 * tileW, _local5 * tileH), this._x, this._y); if (parasdist > ddd222) { parasdist = ddd222; parasii = _local5; parasjj = _local4; } } _local4++; } _local5++; } kiinnita(this.munsisalto, parasii, parasjj, (("t_" + parasii) + "_") + parasjj, this.xv, this.yv, false); palloilmassa--; this.removeMovieClip(); return(undefined); } this._y = this._y + (this.yv * 0.5); this._x = this._x + (this.xv * 0.5); if (testhit(this._x, this._y)) { var _local8 = Math.round(gety(this._x - _root.grid._x, this._y - _root.grid._y) / tileW) - 1; var _local9 = _local8 + 2; var _local6 = Math.round(getx(this._x - _root.grid._x, this._y - _root.grid._y) / tileH) - 1; var _local7 = _local6 + 2; parasnimi = ""; parasdist = 9999999 /* 0x98967F */; var _local5 = _local8; while (_local5 <= _local9) { var _local4 = _local6; while (_local4 <= _local7) { if (!_root.grid[(("t_" + _local5) + "_") + _local4]) { ddd222 = dist2(_root.grid._x + setx(_local4 * tileW, _local5 * tileH), _root.grid._y + sety(_local4 * tileW, _local5 * tileH), this._x, this._y); if (parasdist > ddd222) { parasdist = ddd222; parasii = _local5; parasjj = _local4; } } _local4++; } _local5++; } kiinnita(this.munsisalto, parasii, parasjj, (("t_" + parasii) + "_") + parasjj, this.xv, this.yv, false); palloilmassa--; this.removeMovieClip(); return(undefined); } } }; } function asetaseuraavapallo() { seuraavapallo = seuraavaseuraavapallo; attachMovie("file" + seuraavapallo, "ammuttavapallo", 28); ammuttavapallo._y = 27.78; ammuttavapallo._xscale = (ammuttavapallo._yscale = 46.3); ammuttavapallo.targety = nuoli._y; ammuttavapallo.targetscale = 100 * kokokerroin; ammuttavapallo._x = nuoli._x; ammuttavapallo.onEnterFrame = function () { this._xscale = (this._yscale = (0.95 * this._xscale) + (0.05 * this.targetscale)); this._y = (0.95 * this._y) + (0.05 * this.targety); }; seuraavaseuraavapallo = satuluku(); attachMovie("file" + seuraavaseuraavapallo, "ammuttavaammuttavapallo", 29); ammuttavaammuttavapallo._y = 25.002; ammuttavaammuttavapallo.targety = 25.002; ammuttavaammuttavapallo._x = GridCenterX; ammuttavaammuttavapallo._xscale = (ammuttavaammuttavapallo._yscale = 0); ammuttavaammuttavapallo.targetscale = 41.67; ammuttavaammuttavapallo.onEnterFrame = function () { this._xscale = (this._yscale = (0.95 * this._xscale) + (0.05 * this.targetscale)); this._y = (0.95 * this._y) + (0.05 * this.targety); }; } function shoot() { if (palloilmassa > 0) { return(undefined); } palloilmassa++; luku = seuraavapallo; ammuttavapallo._xscale = (ammuttavapallo._yscale = 0); ammuttavapallo.targetscale = 0; nimi = "t_" + palloja_ammuttu; palloja_ammuttu++; shots.attachMovie("file" + luku, nimi, shots.getNextHighestDepth()); shots[nimi].pomppuja = 0; shots[nimi]._xscale = (shots[nimi]._yscale = 100 * kokokerroin); shots[nimi].koko = 100; shots[nimi].munsisalto = luku; shots[nimi]._visible = true; shots[nimi]._x = nuoli._x; shots[nimi]._y = nuoli._y; shots[nimi].xv = _root._xmouse - shots[nimi]._x; shots[nimi].yv = _root._ymouse - shots[nimi]._y; len = Math.sqrt((shots[nimi].xv * shots[nimi].xv) + (shots[nimi].yv * shots[nimi].yv)); len = len / Pallonspeedi; shots[nimi].xv = shots[nimi].xv / len; shots[nimi].yv = shots[nimi].yv / len; shots[nimi].ekaframe = true; shots[nimi]._alpha = 100; shots[nimi].gotoAndPlay(1); shots[nimi].solid = false; shots[nimi].eletty = 0; shots[nimi].onEnterFrame = function () { if (!_global.gameon) { this.removeMovieClip(); } this.eletty++; if ((!this.solid) && (_global.gameon)) { if (this.pomppuja > 5) { ThrowPoints2(this._x, this._y, this); _root.tuhlailu--; asetainfo(_root.tuhlailu); ammuttavapallo.targetscale = 100; palloilmassa--; this.removeMovieClip(); return(undefined); } if (!this.ekaframe) { this._y = this._y + (this.yv * 0.5); this._x = this._x + (this.xv * 0.5); } else { this.ekaframe = false; } if (testhit(this._x, this._y)) { var _local8 = Math.round(gety(this._x - _root.grid._x, this._y - _root.grid._y) / tileW) - 1; var _local9 = _local8 + 2; var _local6 = Math.round(getx(this._x - _root.grid._x, this._y - _root.grid._y) / tileH) - 1; var _local7 = _local6 + 2; parasnimi = ""; parasdist = 9999999 /* 0x98967F */; var _local5 = _local8; while (_local5 <= _local9) { var _local4 = _local6; while (_local4 <= _local7) { if (!_root.grid[(("t_" + _local5) + "_") + _local4]) { ddd222 = dist2(_root.grid._x + setx(_local4 * tileW, _local5 * tileH), _root.grid._y + sety(_local4 * tileW, _local5 * tileH), this._x, this._y); if (parasdist > ddd222) { parasdist = ddd222; parasii = _local5; parasjj = _local4; } } _local4++; } _local5++; } oldpiste = Points; kiinnita(this.munsisalto, parasii, parasjj, (("t_" + parasii) + "_") + parasjj, this.xv, this.yv, true); if (oldpiste == Points) { tuhlailu--; } asetainfo(tuhlailu); palloilmassa--; asetaseuraavapallo(); this.removeMovieClip(); return(undefined); } this._y = this._y + (this.yv * 0.5); this._x = this._x + (this.xv * 0.5); if (testhit(this._x, this._y)) { var _local8 = Math.round(gety(this._x - _root.grid._x, this._y - _root.grid._y) / tileH) - 1; var _local9 = _local8 + 2; var _local6 = Math.round(getx(this._x - _root.grid._x, this._y - _root.grid._y) / tileW) - 1; var _local7 = _local6 + 2; parasnimi = ""; parasdist = 9999999 /* 0x98967F */; var _local5 = _local8; while (_local5 <= _local9) { var _local4 = _local6; while (_local4 <= _local7) { if (!_root.grid[(("t_" + _local5) + "_") + _local4]) { ddd222 = dist2(_root.grid._x + setx(_local4 * tileW, _local5 * tileH), _root.grid._y + sety(_local4 * tileW, _local5 * tileH), this._x, this._y); if (parasdist > ddd222) { parasdist = ddd222; parasii = _local5; parasjj = _local4; } } _local4++; } _local5++; } oldpiste = Points; kiinnita(this.munsisalto, parasii, parasjj, (("t_" + parasii) + "_") + parasjj, this.xv, this.yv, true); if (oldpiste == Points) { tuhlailu--; } asetainfo(tuhlailu); palloilmassa--; asetaseuraavapallo(); this.removeMovieClip(); return(undefined); } } if ((this._x - _root.GridCenterX) < (_root.leftBound + (tileW / 2))) { this._x = (_root.leftBound + (tileW / 2)) + _root.GridCenterX; this.xv = Math.abs(this.xv); this.pomppuja++; } if ((this._x - _root.GridCenterX) > (_root.rightBound - (tileW / 2))) { this._x = (_root.rightBound - (tileW / 2)) + _root.GridCenterX; this.xv = -Math.abs(this.xv); this.pomppuja++; } if (((this._y - _root.GridCenterY) < (_root.upperBound + (tileH / 2))) && (this.eletty > 20)) { this._y = (_root.upperBound + (tileH / 2)) + _root.GridCenterY; this.yv = Math.abs(this.yv); this.pomppuja++; } if ((this._y - _root.GridCenterY) > (_root.lowerBound - (tileH / 2))) { this._y = (_root.lowerBound - (tileH / 2)) + _root.GridCenterY; this.yv = -Math.abs(this.yv); this.pomppuja++; } }; } function ThrowPoints(numbertothrow, xthrow, ythrow, alkupmovie) { if (numbertothrow < 0) { scoreEffects.attachMovie("ScoreEffectMinus", "ScoreEffect" + PointsThrown, 700000 + PointsThrown); } else { scoreEffects.attachMovie("ScoreEffectPlus", "ScoreEffect" + PointsThrown, 700000 + PointsThrown); } scoreEffects["ScoreEffect" + PointsThrown]._x = xthrow; scoreEffects["ScoreEffect" + PointsThrown]._y = ythrow; scoreEffects["ScoreEffect" + PointsThrown]._xscale = 150; scoreEffects["ScoreEffect" + PointsThrown]._yscale = 150; if (numbertothrow > 0) { scoreEffects["ScoreEffect" + PointsThrown].Scoreaddition = "+" + numbertothrow; } else { scoreEffects["ScoreEffect" + PointsThrown].Scoreaddition = numbertothrow; } scoreEffects["ScoreEffect" + PointsThrown].onEnterFrame = function () { this._xscale = this._xscale + 1; this._yscale = this._yscale + 1; this._alpha = this._alpha - 1.5; if (this._alpha < 1.5) { this.removeMovieClip(); } }; PointsThrown++; scoreEffects.attachMovie("file" + alkupmovie.munsisalto, "ScoreEffect" + PointsThrown, 700000 + PointsThrown); scoreEffects["ScoreEffect" + PointsThrown]._x = xthrow; scoreEffects["ScoreEffect" + PointsThrown]._y = ythrow; scoreEffects["ScoreEffect" + PointsThrown]._rotation = alkupmovie._rotation + grid._rotation; scoreEffects["ScoreEffect" + PointsThrown].xv = (Math.random() * 10) - 5; scoreEffects["ScoreEffect" + PointsThrown].yv = (Math.random() * 10) - 5; scoreEffects["ScoreEffect" + PointsThrown].onEnterFrame = function () { this._xscale = this._xscale - 2; this._yscale = this._yscale - 2; this._alpha = this._alpha - 1.5; this._x = this._x + this.xv; this._y = this._y + this.yv; this._rotation = this._rotation + (this.xv * 10); this.yv = this.yv + 1; if (this._alpha < 1.5) { this.removeMovieClip(); } }; PointsThrown++; } function ThrowPoints2(xthrow, ythrow, alkupmovie) { scoreEffects.attachMovie("file" + alkupmovie.munsisalto, "ScoreEffect" + PointsThrown, 700000 + PointsThrown); scoreEffects["ScoreEffect" + PointsThrown]._x = xthrow; scoreEffects["ScoreEffect" + PointsThrown]._y = ythrow; scoreEffects["ScoreEffect" + PointsThrown]._rotation = alkupmovie._rotation + _root.grid._rotation; scoreEffects["ScoreEffect" + PointsThrown].xv = (Math.random() * 10) - 5; scoreEffects["ScoreEffect" + PointsThrown].yv = (Math.random() * 10) - 5; scoreEffects["ScoreEffect" + PointsThrown].onEnterFrame = function () { this._xscale = this._xscale - 2; this._yscale = this._yscale - 2; this._alpha = this._alpha - 1.5; this._x = this._x + this.xv; this._y = this._y + this.yv; this._rotation = this._rotation + (this.xv * 10); this.yv = this.yv + 1; if (this._alpha < 1.5) { this.removeMovieClip(); } }; PointsThrown++; } function ThrowParticles(xthrow, ythrow) { scoreEffects.attachMovie("file3", "ScoreEffect" + PointsThrown, 700000 + PointsThrown); scoreEffects["ScoreEffect" + PointsThrown]._x = xthrow; scoreEffects["ScoreEffect" + PointsThrown]._y = ythrow; scoreEffects["ScoreEffect" + PointsThrown]._xscale = 50; scoreEffects["ScoreEffect" + PointsThrown]._yscale = 50; scoreEffects["ScoreEffect" + PointsThrown].xv = (Math.random() * 10) - 5; scoreEffects["ScoreEffect" + PointsThrown].yv = (Math.random() * 10) - 5; if (xthrow < -250) { scoreEffects["ScoreEffect" + PointsThrown].xv = scoreEffects["ScoreEffect" + PointsThrown].xv + 4; } if (xthrow > 250) { scoreEffects["ScoreEffect" + PointsThrown].xv = scoreEffects["ScoreEffect" + PointsThrown].xv - 4; } if (ythrow > 250) { scoreEffects["ScoreEffect" + PointsThrown].yv = scoreEffects["ScoreEffect" + PointsThrown].yv - 4; } scoreEffects["ScoreEffect" + PointsThrown].onEnterFrame = function () { this._xscale = this._xscale - 2; this._yscale = this._yscale - 2; this._alpha = this._alpha - 1.5; this._x = this._x + this.xv; this._y = this._y + this.yv; this._rotation = this._rotation + (this.xv * 10); this.yv = this.yv + 1; if (this._alpha < 1.5) { this.removeMovieClip(); } }; PointsThrown++; } function ThrowError(xthrow, ythrow) { scoreEffects.attachMovie("ScoreEffectMinus", "ScoreEffect" + PointsThrown, 700000 + PointsThrown); scoreEffects["ScoreEffect" + PointsThrown]._x = xthrow; scoreEffects["ScoreEffect" + PointsThrown]._y = ythrow; scoreEffects["ScoreEffect" + PointsThrown]._xscale = 150; scoreEffects["ScoreEffect" + PointsThrown]._yscale = 150; scoreEffects["ScoreEffect" + PointsThrown].Scoreaddition = ""; scoreEffects["ScoreEffect" + PointsThrown].onEnterFrame = function () { this._xscale = this._xscale + 1; this._yscale = this._yscale + 1; this._alpha = this._alpha - 0.7; if (this._alpha < 1.5) { this.removeMovieClip(); } }; PointsThrown++; aj = 0; while (aj < 30) { ThrowParticles(xthrow, ythrow); aj++; } } function updateGrid() { while ((!grid[(("t_" + (rowsCurrentlyInGrid - 1)) + "_") + 0]) || ((grid._y + grid[(("t_" + (rowsCurrentlyInGrid - 1)) + "_") + 0]._y) > -20)) { addRowToGrid(); } } function initGrid() { i = 0; while (i <= Erivareja) { _root["tatavaria" + i] = 1; i++; } i = Alkuklimpinkoko - 1; while (i > 0) { j = 0; while (j < (((2 * Alkuklimpinkoko) - 1) - i)) { asetaitte(-i, (((-Alkuklimpinkoko) + 1) + i) + j, satuluku()); j++; } j = 0; while (j < (((Alkuklimpinkoko * 2) - 1) - i)) { asetaitte(i, ((Alkuklimpinkoko - 1) - i) - j, satuluku()); j++; } i--; } j = 0; while (j < ((Alkuklimpinkoko * 2) - 1)) { asetaitte(0, ((-Alkuklimpinkoko) + 1) + j, satuluku()); j++; } grid.t_0_0.removeMovieClip(); grid.attachMovie("tilepommi", "t_0_0", grid.getNextHighestDepth()); grid.t_0_0.munsisalto = -1; grid.t_0_0._xscale = (grid.t_0_0._yscale = kokokerroin * 100); asetaitte(-1, 0, 1); asetaitte(1, 0, 2); asetaitte(0, 1, 3); asetaitte(0, -1, 4); asetaitte(1, -1, 5); asetaitte(-1, 1, 6); } Pallojapersatsi = 10; kokokerroin = 0.75006; Pallonspeedi = 20.835; Alkuklimpinkoko = 4; Erivareja = 6; GridCenterX = 250.02; GridCenterY = 291.69; multiplier = ""; pistekerroin = 1; kutistuu = false; if (ollaankodeadwhalessa) { dwnappi2._visible = false; } lowerBound = 241.686; upperBound = -241.686; leftBound = -241.686; rightBound = 241.686; this.createEmptyMovieClip("line_mc", 10); gridspeed = 0; pallojainklimppi = 0; palloilmassa = 0; nuoli._x = GridCenterX; seuraavapallo = 1; seuraavaseuraavapallo = 2; _root.oikeapalkki._y = -100; vasein = 99999 /* 0x01869F */; oikein = -99999; ylin = -99999; alin = 99999 /* 0x01869F */; BFStunnus = 0; ampuaika = getTimer() + 1000; ammuttu = 0; axis1x = 1; axis1y = 0; axis2x = 0.5; axis2y = 0.8660254; tileW = 34 * kokokerroin; tileH = 34 * kokokerroin; hiirialhaalla = false; _root.onMouseDown = function () { hiirialhaalla = true; }; _root.onMouseUp = function () { hiirialhaalla = false; shootSound(); }; edellinenaika = getTimer(); aikakerroin = 1; var spacepohjassaviimeframessa = false; edaika = 0; _root.onEnterFrame = function () { _root.oikeapalkki.frosmonappi._xscale = (_root.oikeapalkki.frosmonappi._yscale = (0.8 * _root.oikeapalkki.frosmonappi._xscale) + (0.2 * _root.targetnappiscale2)); dwnappi2._xscale = (dwnappi2._yscale = (0.8 * dwnappi2._xscale) + (0.2 * _root.targetnappiscale)); _root.oikeapalkki._y = (0.9 * _root.oikeapalkki._y) + 24.33528; uusiaika = getTimer(); aikakerroin = (uusiaika - edellinenaika) / 33; edellinenaika = uusiaika; framejalaskettu++; if (framejalaskettu >= 30) { framerate = (1000 * (framejalaskettu * 1)) / ((1 * (getTimer() - framenalkuaika)) + 0.001); framenalkuaika = getTimer(); framejalaskettu = 0; } if (!_global.gameon) { gridinaloitus = getTimer(); } else { if ((pallojainklimppi == 1) && (kutistuu == false)) { kutistuu = true; grid.targetscale = 0; } if ((kutistuu == true) && (grid._xscale < 2)) { kutistuu = false; initGrid(); grid._xscale = (grid._yscale = 0); grid.targetscale = 100; pistekerroin = pistekerroin + 1; multiplier = pistekerroin + "x"; gotoAndStop ("congrats"); } grid._xscale = (grid._yscale = (0.95 * grid._xscale) + (0.05 * grid.targetscale)); i = 1; while (i <= 10) { if (this["tuhlaus" + i]) { this["tuhlaus" + i]._rotation = Math.sin((getTimer() / 1800) + (i * 0.2)) * 200; this["tuhlaus" + i]._alpha = (this["tuhlaus" + i]._alpha * 0.95) + (this["tuhlaus" + i].targetalpha * 0.05); this["tuhlaus" + i]._xscale = (this["tuhlaus" + i]._yscale = (this["tuhlaus" + i]._xscale * 0.95) + (this["tuhlaus" + i].targetscale * 0.05)); } i++; } gridspeed = gridspeed * 0.97; if (_root._ymouse > ((GridCenterY + upperBound) + 5)) { nuoli._rotation = (Math.atan2(_root._ymouse - nuoli._y, _root._xmouse - nuoli._x) / 3.14159) * 180; } line_mc._visible = true; hidastuskerroin = 1; if (getTimer() < (kellonalkuaika + kellonkesto)) { hidastuskerroin = 0.3; } if (((((!kutistuu) && (hiirialhaalla)) && (_root._ymouse > ((GridCenterY + upperBound) + 5))) && (Math.abs(gridspeed) < 2)) && (palloilmassa == 0)) { hiirenseuraaja._x = _root._xmouse; hiirenseuraaja._y = _root._ymouse; if (!hiirenseuraaja.hitTest(Neppula)) { shoot(); bubblePop = new Sound(_root); bubblePop.attachSound("FOLEY WHIP WHOOSH DOUBLE ALUMINUM ROD 01"); bubblePop.start(0, 1); hiirialhaalla = false; } } if (tuhlailu == 0) { reloadalertsound(); i = 0; while (i < Pallojapersatsi) { shootrandom(); i++; } tuhlailulim--; if (tuhlailulim == 0) { tuhlailulim = 6; } tuhlailu = tuhlailulim; asetainfo(tuhlailu); } grid._x = GridCenterX; grid._y = GridCenterY; grid._rotation = grid._rotation + gridspeed; ang = (grid._rotation * 3.141593) / 180; axis1x = Math.cos(ang); axis1y = Math.sin(ang); axis2x = Math.cos(ang + 1.047197); axis2y = Math.sin(ang + 1.047197); line_mc._x = grid._x; line_mc._y = grid._y; vasein = 99999 /* 0x01869F */; oikein = -99999; ylin = -99999; alin = 99999 /* 0x01869F */; } Score = "" + Math.round(tempPoints); tempPoints = (0.93 * tempPoints) + (0.07 * Points); if ((Points > 0) && (oldpo != Points)) { pointssound(); } oldpo = Points; if ((GameOver == true) && (_global.gameon == true)) { if (kelloefekti) { kelloefekti.removeMovieClip(); } _root.lopputiski.julkaisuaika = getTimer(); _root.gotoAndStop("gameover3"); } }; init(); stop();
Frame 292
_global.gameon = false; grid.removeMovieClip(); shots.removeMovieClip(); scoreEffects.removeMovieClip(); ammuttavapallo.removeMovieClip(); ammuttavaammuttavapallo.removeMovieClip(); tuhlaus.removeMovieClip(); gameoversound();
Frame 293
var level3score = Score; level3scoretxt.text = (level3score + level1score) + level2score; _global.gameon = false; grid.removeMovieClip(); shots.removeMovieClip(); scoreEffects.removeMovieClip(); ammuttavapallo.removeMovieClip(); ammuttavaammuttavapallo.removeMovieClip(); tuhlaus.removeMovieClip(); cong();
Symbol 14 Button
on (release) { kirupaSound = new Sound(this); kirupaSound.attachSound("Clicki"); kirupaSound.start(0, 1); _root.GameOver = true; }
Symbol 18 MovieClip [kelloefekti] Frame 1
function onEnterFrame() { if (getTimer() < (_root.kellonalkuaika + _root.kellonkesto)) { this.kellopalkki._yscale = (((_root.kellonkesto - getTimer()) + _root.kellonalkuaika) / _root.kellonkesto) * 100; } else { this.removeMovieClip(); } }
Symbol 19 MovieClip [Tausta] Frame 1
function onEnterFrame() { aikakerroin = (getTimer() - edellinenaika) / 33; edellinenaika = getTimer(); if (this._visible) { this._alpha = this._alpha - (1 * aikakerroin); } if (this._alpha < 0) { this._visible = false; } } edellinenaika = 0; stop();
Symbol 26 MovieClip [tile_show_on] Frame 1
stop();
Symbol 27 MovieClip [tile] Frame 8
stop();
Symbol 27 MovieClip [tile] Frame 16
stop();
Symbol 28 MovieClip [tileydinpommi] Frame 1
stop();
Symbol 37 MovieClip [tilepommi] Frame 1
stop();
Symbol 41 MovieClip [file1] Frame 1
stop();
Symbol 45 MovieClip [file2] Frame 1
stop();
Symbol 49 MovieClip [file3] Frame 1
stop();
Symbol 53 MovieClip [file4] Frame 1
stop();
Symbol 56 MovieClip [file5] Frame 1
stop();
Symbol 60 MovieClip [file6] Frame 1
stop();
Symbol 78 MovieClip Frame 1
function init_boucle(mc, vx, vy) { mc.onEnterFrame = function () { this._y = this._y + (vy / 2); this._x = this._x + (vx / 2); if ((this._x < (0 + (this._width / 2))) || (this._x > (Stage.width - (this._width / 2)))) { delete this.onEnterFrame; this.removeMovieClip(); } if (this._y > (Stage.height - (this._height / 2))) { nbre++; if (nbre > 80) { delete this.onEnterFrame; removeMovieClip(this); } else { delete this.onEnterFrame; impact[nbre] = this; } } }; } var nbre = 0; var count = 0; var randomtime = 0; var impact = new Array(); var taille = new Object(); chuteobjet._visible = false; onEnterFrame = function () { time = getTimer(); if (time >= randomtime) { count = count + 1; duplicateMovieClip ("chuteobjet", "chuteobjet" + count, count); setProperty("chuteobjet" + count, _x , random(Stage.width)); setProperty("chuteobjet" + count, _y , 0); var _local2 = 40 + random(50); setProperty("chuteobjet" + count, _yscale , _local2); setProperty("chuteobjet" + count, _xscale , _local2); randomtime = (Math.random() * 40) + time; var _local3 = random(3) * (1 - random(3)); var _local4 = 3 + random(3); init_boucle(this["chuteobjet" + count], _local3, _local4); } }; Stage.addListener(taille); taille.onResize = function () { j = 0; while (j < impact.length) { impact[j]._y = Stage.height - (impact[j]._height / 2); j++; } };
Symbol 80 Button
on (press) { var localDomainLC = new LocalConnection(); flashCurrentDomainName = localDomainLC.domain(); var gametitle = "title"; var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flashgames&utm_term=fruit-shoot&utm_content=preloader&utm_campaign=brandedgames"); } on (release) { getURL (_root.btnUrl, "_blank"); }
Symbol 103 MovieClip Frame 20
this.removeMovieClip();
Symbol 104 MovieClip Frame 1
Frame_num = 1; angle = 360; plus_angle = 0; scene_width = 400; scene_height = 45; bar_mc.i = 0; bar_mc._visible = 0; bar_mc.onEnterFrame = function () { var _local2 = this; if ((_local2.i % Frame_num) == 0) { mc = _local2.duplicateMovieClip("bar_mc" + _local2.i, _local2.i); mc._x = random(scene_width); mc._y = random(scene_height); mc._rotation = random(angle) + plus_angle; } _local2.i++; };
Symbol 108 MovieClip Frame 30
stop();
Symbol 113 MovieClip Frame 81
stop();
Symbol 150 Button
on (release) { getURL ("http://www.girly.com/", "_blank"); }
Symbol 151 Button
on (press) { var localDomainLC = new LocalConnection(); flashCurrentDomainName = localDomainLC.domain(); var gametitle = "title"; var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flashgames&utm_term=fruit-shoot&utm_content=moregames-preloader&utm_campaign=brandedgames"); } on (release) { getURL (_root.btnUrl, "_blank"); }
Symbol 156 MovieClip Frame 18
stop();
Symbol 157 Button
on (release) { gotoAndStop ("playscreen"); }
Symbol 366 MovieClip Frame 18
stop();
Symbol 377 MovieClip Frame 20
this.removeMovieClip();
Symbol 378 MovieClip Frame 1
Frame_num = 1; angle = 360; plus_angle = 0; scene_width = 400; scene_height = 45; bar_mc.i = 0; bar_mc._visible = 0; bar_mc.onEnterFrame = function () { var _local2 = this; if ((_local2.i % Frame_num) == 0) { mc = _local2.duplicateMovieClip("bar_mc" + _local2.i, _local2.i); mc._x = random(scene_width); mc._y = random(scene_height); mc._rotation = random(angle) + plus_angle; } _local2.i++; };
Symbol 381 MovieClip Frame 30
stop();
Symbol 393 Button
on (press) { var localDomainLC = new LocalConnection(); flashCurrentDomainName = localDomainLC.domain(); var gametitle = "title"; var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flashgames&utm_term=fruit-shoot&utm_content=logo-splash&utm_campaign=brandedgames"); } on (release) { getURL (_root.btnUrl, "_blank"); onclick(); } on (rollOver) { onroll(); }
Symbol 403 Button
on (release) { gotoAndStop ("game1"); onclick(); } on (rollOver) { onroll(); }
Symbol 408 Button
on (release) { gotoAndStop (1); }
Symbol 411 Button
on (release) { stopAllSounds(); gotoAndStop (2); }
Symbol 412 MovieClip Frame 1
stop(); btn1._visible = true; btn2._visible = false; if (_global.Behaviors == null) { _global.Behaviors = {}; } if (_global.Behaviors.Sound == null) { _global.Behaviors.Sound = {}; } if (typeof(this.createEmptyMovieClip) == "undefined") { this._parent.createEmptyMovieClip("BS_bgbmins", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000)); _global.Behaviors.Sound.bgbmins = new Sound(this._parent.BS_bgbmins); } else { this.createEmptyMovieClip("_bgbmins_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000)); _global.Behaviors.Sound.bgbmins = new Sound(this.BS_bgbmins); } _global.Behaviors.Sound.bgbmins.attachSound("bgbm"); _global.Behaviors.Sound.bgbmins.start(0, 10000);
Symbol 412 MovieClip Frame 2
stop(); stopAllSounds(); btn1._visible = false; btn2._visible = true;
Symbol 427 Button
on (press) { var localDomainLC = new LocalConnection(); flashCurrentDomainName = localDomainLC.domain(); var gametitle = "title"; var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flashgames&utm_term=fruit-shoot&utm_content=logo-level-1&utm_campaign=brandedgames"); } on (release) { getURL (_root.btnUrl, "_blank"); onclick(); } on (rollOver) { onroll(); }
Symbol 430 Button
on (press) { var localDomainLC = new LocalConnection(); flashCurrentDomainName = localDomainLC.domain(); var gametitle = "title"; var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flashgames&utm_term=fruit-shoot&utm_content=moregames-level-1-start&utm_campaign=brandedgames"); } on (release) { getURL (_root.btnUrl, "_blank"); onclick(); } on (rollOver) { onroll(); }
Symbol 441 Button
on (release) { _global.gameon = true; _root.start_bg._visible = false; _root.startbtn._visible = false; onclick(); } on (rollOver) { onroll(); }
Symbol 443 Button
on (press) { var localDomainLC = new LocalConnection(); flashCurrentDomainName = localDomainLC.domain(); var gametitle = "title"; var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flashgames&utm_term=fruit-shoot&utm_content=logo-level-1-end&utm_campaign=brandedgames"); } on (release) { getURL (_root.btnUrl, "_blank"); onclick(); } on (rollOver) { onroll(); }
Symbol 450 Button
on (release) { gotoAndStop ("game1"); onclick(); } on (rollOver) { onroll(); }
Symbol 451 Button
on (press) { var localDomainLC = new LocalConnection(); flashCurrentDomainName = localDomainLC.domain(); var gametitle = "title"; var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flashgames&utm_term=fruit-shoot&utm_content=moregames-level-1-end&utm_campaign=brandedgames"); } on (release) { getURL (_root.btnUrl, "_blank"); onclick(); } on (rollOver) { onroll(); }
Symbol 457 Button
on (release) { gotoAndStop ("game2"); onclick(); } on (rollOver) { onroll(); }
Symbol 465 Button
on (press) { var localDomainLC = new LocalConnection(); flashCurrentDomainName = localDomainLC.domain(); var gametitle = "title"; var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flashgames&utm_term=fruit-shoot&utm_content=logo-level-2&utm_campaign=brandedgames"); } on (release) { getURL (_root.btnUrl, "_blank"); onclick(); } on (rollOver) { onroll(); }
Symbol 466 Button
on (press) { var localDomainLC = new LocalConnection(); flashCurrentDomainName = localDomainLC.domain(); var gametitle = "title"; var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flashgames&utm_term=fruit-shoot&utm_content=moregames-level-2-start&utm_campaign=brandedgames"); } on (release) { getURL (_root.btnUrl, "_blank"); onclick(); } on (rollOver) { onroll(); }
Symbol 469 Button
on (press) { var localDomainLC = new LocalConnection(); flashCurrentDomainName = localDomainLC.domain(); var gametitle = "title"; var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flashgames&utm_term=fruit-shoot&utm_content=logo-level-2-end&utm_campaign=brandedgames"); } on (release) { getURL (_root.btnUrl, "_blank"); onclick(); } on (rollOver) { onroll(); }
Symbol 470 Button
on (release) { gotoAndStop ("game2"); onclick(); } on (rollOver) { onroll(); }
Symbol 471 Button
on (press) { var localDomainLC = new LocalConnection(); flashCurrentDomainName = localDomainLC.domain(); var gametitle = "title"; var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flashgames&utm_term=fruit-shoot&utm_content=moregames-level-2-end&utm_campaign=brandedgames"); } on (release) { getURL (_root.btnUrl, "_blank"); onclick(); } on (rollOver) { onroll(); }
Symbol 472 Button
on (release) { gotoAndStop ("game3"); onclick(); } on (rollOver) { onroll(); }
Symbol 476 Button
on (press) { var localDomainLC = new LocalConnection(); flashCurrentDomainName = localDomainLC.domain(); var gametitle = "title"; var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flashgames&utm_term=fruit-shoot&utm_content=logo-level-3&utm_campaign=brandedgames"); } on (release) { getURL (_root.btnUrl, "_blank"); onclick(); } on (rollOver) { onroll(); }
Symbol 477 Button
on (press) { var localDomainLC = new LocalConnection(); flashCurrentDomainName = localDomainLC.domain(); var gametitle = "title"; var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flashgames&utm_term=fruit-shoot&utm_content=moregames-level-3-start&utm_campaign=brandedgames"); } on (release) { getURL (_root.btnUrl, "_blank"); onclick(); } on (rollOver) { onroll(); }
Symbol 479 Button
on (release) { _global.gameon = true; _root.start_bg._visible = false; _root.startbtn._visible = false; onclick(); } on (rollOver) { onroll(); }
Symbol 481 Button
on (press) { var localDomainLC = new LocalConnection(); flashCurrentDomainName = localDomainLC.domain(); var gametitle = "title"; var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flashgames&utm_term=fruit-shoot&utm_content=logo-level-3-end&utm_campaign=brandedgames"); } on (release) { getURL (_root.btnUrl, "_blank"); onclick(); } on (rollOver) { onroll(); }
Symbol 482 Button
on (release) { gotoAndStop ("game3"); onclick(); } on (rollOver) { onroll(); }
Symbol 483 Button
on (press) { var localDomainLC = new LocalConnection(); flashCurrentDomainName = localDomainLC.domain(); var gametitle = "title"; var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flashgames&utm_term=fruit-shoot&utm_content=moregames-level-3-end&utm_campaign=brandedgames"); } on (release) { getURL (_root.btnUrl, "_blank"); onclick(); } on (rollOver) { onroll(); }
Symbol 488 Button
on (press) { var localDomainLC = new LocalConnection(); flashCurrentDomainName = localDomainLC.domain(); var gametitle = "title"; var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flashgames&utm_term=fruit-shoot&utm_content=logo-congrats&utm_campaign=brandedgames"); } on (release) { getURL (_root.btnUrl, "_blank"); onclick(); } on (rollOver) { onroll(); }
Symbol 492 Button
on (press) { var localDomainLC = new LocalConnection(); flashCurrentDomainName = localDomainLC.domain(); var gametitle = "title"; var btnUrl = (("http://www.girly.com/?utm_source=" + flashCurrentDomainName) + "&utm_medium=flashgames&utm_term=fruit-shoot&utm_content=moregames-congrats&utm_campaign=brandedgames"); } on (release) { getURL (_root.btnUrl, "_blank"); onclick(); } on (rollOver) { onroll(); }
Symbol 496 Button
on (release) { gotoAndStop ("playscreen"); onclick(); } on (rollOver) { onroll(); }
Symbol 521 MovieClip Frame 40
stop();
Symbol 523 MovieClip Frame 21
stop();
Symbol 524 Button
on (release) { getURL ("http://www.girlgames1.com", "_blank"); }
Symbol 530 Button
on (release) { gotoAndStop (284); onclick(); } on (rollOver) { onroll(); }

Library Items

Symbol 1 Sound [dream]
Symbol 2 Sound [rollover]
Symbol 3 Sound [reloadalertsnd]
Symbol 4 Sound [pointsnd]
Symbol 5 Sound [gameoversnd]
Symbol 6 Sound [cong]
Symbol 7 Sound [clicksnd]
Symbol 8 Sound [bgbm]
Symbol 9 MovieClip [empty]
Symbol 10 FontUsed by:11 404 424 459 464 473 475 489 497
Symbol 11 EditableTextUses:10Used by:15
Symbol 12 FontUsed by:13
Symbol 13 TextUses:12Used by:14
Symbol 14 ButtonUses:13Used by:15  Timeline
Symbol 15 MovieClip [OikeaPalkki]Uses:11 14
Symbol 16 MovieClip [mute]
Symbol 17 MovieClip [varopallo]
Symbol 18 MovieClip [kelloefekti]
Symbol 19 MovieClip [Tausta]
Symbol 20 MovieClip [Nuolialas]
Symbol 21 MovieClip [Yhtasuuri]
Symbol 22 MovieClip [Plussa]
Symbol 23 MovieClip [ScoreEffect]
Symbol 24 MovieClip [ScoreEffectPlus]
Symbol 25 MovieClip [ScoreEffectMinus]
Symbol 26 MovieClip [tile_show_on]Used by:27
Symbol 27 MovieClip [tile]Uses:26
Symbol 28 MovieClip [tileydinpommi]
Symbol 29 GraphicUsed by:32
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:30Used by:32 349
Symbol 32 MovieClipUses:29 31Used by:33
Symbol 33 MovieClip [Nuoli]Uses:32Used by:Timeline
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClip [hiirenseuraaja]Uses:34Used by:Timeline
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClip [tilepommi]Uses:36Used by:454 486  Timeline
Symbol 38 BitmapUsed by:39
Symbol 39 GraphicUses:38Used by:40
Symbol 40 MovieClipUses:39Used by:41
Symbol 41 MovieClip [file1]Uses:40Used by:454 486  Timeline
Symbol 42 BitmapUsed by:43
Symbol 43 GraphicUses:42Used by:44
Symbol 44 MovieClipUses:43Used by:45
Symbol 45 MovieClip [file2]Uses:44Used by:454 486  Timeline
Symbol 46 BitmapUsed by:47
Symbol 47 GraphicUses:46Used by:48
Symbol 48 MovieClipUses:47Used by:49
Symbol 49 MovieClip [file3]Uses:48Used by:454 486  Timeline
Symbol 50 BitmapUsed by:51
Symbol 51 GraphicUses:50Used by:52
Symbol 52 MovieClipUses:51Used by:53
Symbol 53 MovieClip [file4]Uses:52Used by:454 455 486  Timeline
Symbol 54 BitmapUsed by:55
Symbol 55 GraphicUses:54Used by:56
Symbol 56 MovieClip [file5]Uses:55Used by:454 486  Timeline
Symbol 57 BitmapUsed by:58
Symbol 58 GraphicUses:57Used by:59
Symbol 59 MovieClipUses:58Used by:60
Symbol 60 MovieClip [file6]Uses:59Used by:454 486  Timeline
Symbol 61 GraphicUsed by:Timeline
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:62Used by:Timeline
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClipUses:64Used by:Timeline
Symbol 66 MovieClipUsed by:75
Symbol 67 GraphicUsed by:68 112
Symbol 68 MovieClipUses:67Used by:69
Symbol 69 MovieClipUses:68Used by:74
Symbol 70 GraphicUsed by:74
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClipUses:71Used by:73
Symbol 73 MovieClipUses:72Used by:74
Symbol 74 MovieClipUses:69 70 73Used by:75
Symbol 75 MovieClipUses:66 74Used by:78
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClipUses:76Used by:78
Symbol 78 MovieClipUses:75 77Used by:Timeline
Symbol 79 GraphicUsed by:80
Symbol 80 ButtonUses:79Used by:Timeline
Symbol 81 GraphicUsed by:89
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82Used by:89
Symbol 84 GraphicUsed by:85
Symbol 85 MovieClipUses:84Used by:89
Symbol 86 FontUsed by:87 88
Symbol 87 TextUses:86Used by:89
Symbol 88 TextUses:86Used by:89
Symbol 89 MovieClipUses:81 83 85 87 88Used by:Timeline
Symbol 90 GraphicUsed by:Timeline
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClipUses:91Used by:Timeline
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClipUses:93Used by:Timeline
Symbol 95 GraphicUsed by:96
Symbol 96 MovieClipUses:95Used by:Timeline
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClipUses:97Used by:Timeline
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:99Used by:Timeline
Symbol 101 GraphicUsed by:102 105 376 379 520 524
Symbol 102 MovieClipUses:101Used by:103
Symbol 103 MovieClipUses:102Used by:104
Symbol 104 MovieClipUses:103Used by:111
Symbol 105 MovieClipUses:101Used by:108
Symbol 106 GraphicUsed by:107 380
Symbol 107 MovieClipUses:106Used by:108
Symbol 108 MovieClipUses:105 107Used by:109
Symbol 109 MovieClipUses:108Used by:111
Symbol 110 MovieClipUsed by:111
Symbol 111 MovieClipUses:104 109 110Used by:Timeline
Symbol 112 MovieClipUses:67Used by:113
Symbol 113 MovieClipUses:112Used by:114
Symbol 114 MovieClipUses:113Used by:Timeline
Symbol 115 GraphicUsed by:116
Symbol 116 MovieClipUses:115Used by:Timeline
Symbol 117 GraphicUsed by:118 371
Symbol 118 MovieClipUses:117Used by:Timeline
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClipUses:119Used by:Timeline
Symbol 121 GraphicUsed by:122 372
Symbol 122 MovieClipUses:121Used by:Timeline
Symbol 123 GraphicUsed by:124
Symbol 124 MovieClipUses:123Used by:Timeline
Symbol 125 GraphicUsed by:126 373
Symbol 126 MovieClipUses:125Used by:Timeline
Symbol 127 GraphicUsed by:128
Symbol 128 MovieClipUses:127Used by:Timeline
Symbol 129 GraphicUsed by:130 374
Symbol 130 MovieClipUses:129Used by:Timeline
Symbol 131 GraphicUsed by:132
Symbol 132 MovieClipUses:131Used by:Timeline
Symbol 133 GraphicUsed by:134 375
Symbol 134 MovieClipUses:133Used by:Timeline
Symbol 135 GraphicUsed by:Timeline
Symbol 136 GraphicUsed by:Timeline
Symbol 137 GraphicUsed by:Timeline
Symbol 138 GraphicUsed by:391  Timeline
Symbol 139 GraphicUsed by:141 386
Symbol 140 GraphicUsed by:141
Symbol 141 MovieClipUses:139 140Used by:Timeline
Symbol 142 GraphicUsed by:143 147 150 151 157
Symbol 143 MovieClipUses:142Used by:147 150 151 157
Symbol 144 FontUsed by:145 146 148 149
Symbol 145 TextUses:144Used by:147 157
Symbol 146 TextUses:144Used by:147 157
Symbol 147 ButtonUses:143 145 146 142Used by:Timeline
Symbol 148 TextUses:144Used by:150 151
Symbol 149 TextUses:144Used by:150 151
Symbol 150 ButtonUses:143 148 149 142Used by:Timeline
Symbol 151 ButtonUses:143 148 149 142Used by:Timeline
Symbol 152 GraphicUsed by:153
Symbol 153 MovieClipUses:152Used by:Timeline
Symbol 154 GraphicUsed by:155 216 302 365
Symbol 155 MovieClipUses:154Used by:156
Symbol 156 MovieClipUses:155Used by:Timeline
Symbol 157 ButtonUses:143 145 146 142Used by:Timeline
Symbol 158 GraphicUsed by:167
Symbol 159 GraphicUsed by:167
Symbol 160 GraphicUsed by:167
Symbol 161 GraphicUsed by:167
Symbol 162 GraphicUsed by:167
Symbol 163 GraphicUsed by:167
Symbol 164 GraphicUsed by:167
Symbol 165 GraphicUsed by:166
Symbol 166 MovieClipUses:165Used by:167
Symbol 167 MovieClipUses:158 159 160 161 162 163 164 166Used by:282 414
Symbol 168 GraphicUsed by:223
Symbol 169 GraphicUsed by:170 206 210
Symbol 170 MovieClipUses:169Used by:223
Symbol 171 GraphicUsed by:223
Symbol 172 GraphicUsed by:173 175 177 185 215 217 218 219 220 251
Symbol 173 MovieClipUses:172Used by:223
Symbol 174 GraphicUsed by:223
Symbol 175 MovieClipUses:172Used by:223
Symbol 176 GraphicUsed by:223
Symbol 177 MovieClipUses:172Used by:223
Symbol 178 GraphicUsed by:223
Symbol 179 GraphicUsed by:180 257
Symbol 180 MovieClipUses:179Used by:223
Symbol 181 GraphicUsed by:223
Symbol 182 GraphicUsed by:183 187
Symbol 183 MovieClipUses:182Used by:223
Symbol 184 GraphicUsed by:223
Symbol 185 MovieClipUses:172Used by:223
Symbol 186 GraphicUsed by:223
Symbol 187 MovieClipUses:182Used by:223
Symbol 188 GraphicUsed by:223
Symbol 189 GraphicUsed by:190
Symbol 190 MovieClipUses:189Used by:223
Symbol 191 GraphicUsed by:192 194 198 207 208 254 282 414
Symbol 192 MovieClipUses:191Used by:223
Symbol 193 GraphicUsed by:223
Symbol 194 MovieClipUses:191Used by:223
Symbol 195 GraphicUsed by:223
Symbol 196 GraphicUsed by:197 205 221 249 259
Symbol 197 MovieClipUses:196Used by:223
Symbol 198 MovieClipUses:191Used by:223
Symbol 199 GraphicUsed by:223
Symbol 200 GraphicUsed by:201 203 263 267
Symbol 201 MovieClipUses:200Used by:223
Symbol 202 GraphicUsed by:223
Symbol 203 MovieClipUses:200Used by:223
Symbol 204 GraphicUsed by:223
Symbol 205 MovieClipUses:196Used by:223
Symbol 206 MovieClipUses:169Used by:223
Symbol 207 MovieClipUses:191Used by:223
Symbol 208 MovieClipUses:191Used by:223
Symbol 209 GraphicUsed by:223
Symbol 210 MovieClipUses:169Used by:223
Symbol 211 GraphicUsed by:212
Symbol 212 MovieClipUses:211Used by:223
Symbol 213 GraphicUsed by:214
Symbol 214 MovieClipUses:213Used by:223
Symbol 215 MovieClipUses:172Used by:223
Symbol 216 MovieClipUses:154Used by:223
Symbol 217 MovieClipUses:172Used by:223
Symbol 218 MovieClipUses:172Used by:223
Symbol 219 MovieClipUses:172Used by:223
Symbol 220 MovieClipUses:172Used by:223
Symbol 221 MovieClipUses:196Used by:223
Symbol 222 GraphicUsed by:223
Symbol 223 MovieClipUses:168 170 171 173 174 175 176 177 178 180 181 183 184 185 186 187 188 190 192 193 194 195 197 198 199 201 202 203 204 205 206 207 208 209 210 212 214 215 216 217 218 219 220 221 222Used by:282 414
Symbol 224 GraphicUsed by:271
Symbol 225 GraphicUsed by:226 228 230 232 234 236 238 240 242 243 244 246 247 253 255 260 261 262 264 265 266 269
Symbol 226 MovieClipUses:225Used by:271
Symbol 227 GraphicUsed by:271
Symbol 228 MovieClipUses:225Used by:271
Symbol 229 GraphicUsed by:271
Symbol 230 MovieClipUses:225Used by:271
Symbol 231 GraphicUsed by:271
Symbol 232 MovieClipUses:225Used by:271
Symbol 233 GraphicUsed by:271
Symbol 234 MovieClipUses:225Used by:271
Symbol 235 GraphicUsed by:271
Symbol 236 MovieClipUses:225Used by:271
Symbol 237 GraphicUsed by:271
Symbol 238 MovieClipUses:225Used by:271
Symbol 239 GraphicUsed by:271
Symbol 240 MovieClipUses:225Used by:271
Symbol 241 GraphicUsed by:271
Symbol 242 MovieClipUses:225Used by:271
Symbol 243 MovieClipUses:225Used by:271
Symbol 244 MovieClipUses:225Used by:271
Symbol 245 GraphicUsed by:271
Symbol 246 MovieClipUses:225Used by:271
Symbol 247 MovieClipUses:225Used by:271
Symbol 248 GraphicUsed by:271
Symbol 249 MovieClipUses:196Used by:271
Symbol 250 GraphicUsed by:271
Symbol 251 MovieClipUses:172Used by:271
Symbol 252 GraphicUsed by:271
Symbol 253 MovieClipUses:225Used by:271
Symbol 254 MovieClipUses:191Used by:271
Symbol 255 MovieClipUses:225Used by:271
Symbol 256 GraphicUsed by:271
Symbol 257 MovieClipUses:179Used by:271
Symbol 258 GraphicUsed by:271
Symbol 259 MovieClipUses:196Used by:271
Symbol 260 MovieClipUses:225Used by:271
Symbol 261 MovieClipUses:225Used by:271
Symbol 262 MovieClipUses:225Used by:271
Symbol 263 MovieClipUses:200Used by:271
Symbol 264 MovieClipUses:225Used by:271
Symbol 265 MovieClipUses:225Used by:271
Symbol 266 MovieClipUses:225Used by:271
Symbol 267 MovieClipUses:200Used by:271
Symbol 268 GraphicUsed by:271
Symbol 269 MovieClipUses:225Used by:271
Symbol 270 GraphicUsed by:271
Symbol 271 MovieClipUses:224 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270Used by:282 352 414  Timeline
Symbol 272 GraphicUsed by:281
Symbol 273 GraphicUsed by:274
Symbol 274 MovieClipUses:273Used by:281
Symbol 275 GraphicUsed by:281
Symbol 276 GraphicUsed by:280
Symbol 277 GraphicUsed by:278
Symbol 278 MovieClipUses:277Used by:280
Symbol 279 GraphicUsed by:280
Symbol 280 MovieClipUses:276 278 279Used by:281
Symbol 281 MovieClipUses:272 274 275 280Used by:282 414
Symbol 282 MovieClipUses:167 223 271 191 281Used by:Timeline
Symbol 283 GraphicUsed by:352
Symbol 284 GraphicUsed by:303
Symbol 285 GraphicUsed by:286
Symbol 286 MovieClipUses:285Used by:303
Symbol 287 GraphicUsed by:288
Symbol 288 MovieClipUses:287Used by:303
Symbol 289 GraphicUsed by:290
Symbol 290 MovieClipUses:289Used by:303
Symbol 291 GraphicUsed by:303
Symbol 292 GraphicUsed by:293
Symbol 293 MovieClipUses:292Used by:303
Symbol 294 GraphicUsed by:295
Symbol 295 MovieClipUses:294Used by:303
Symbol 296 GraphicUsed by:303
Symbol 297 GraphicUsed by:298
Symbol 298 MovieClipUses:297Used by:303
Symbol 299 GraphicUsed by:303
Symbol 300 GraphicUsed by:301
Symbol 301 MovieClipUses:300Used by:303
Symbol 302 MovieClipUses:154Used by:303
Symbol 303 MovieClipUses:284 286 288 290 291 293 295 296 298 299 301 302Used by:352  Timeline
Symbol 304 GraphicUsed by:310
Symbol 305 GraphicUsed by:306 308
Symbol 306 MovieClipUses:305Used by:310
Symbol 307 GraphicUsed by:310
Symbol 308 MovieClipUses:305Used by:310
Symbol 309 GraphicUsed by:310
Symbol 310 MovieClipUses:304 306 307 308 309Used by:352  Timeline
Symbol 311 GraphicUsed by:312
Symbol 312 MovieClipUses:311Used by:352
Symbol 313 GraphicUsed by:314
Symbol 314 MovieClipUses:313Used by:349
Symbol 315 GraphicUsed by:349
Symbol 316 GraphicUsed by:317
Symbol 317 MovieClipUses:316Used by:349
Symbol 318 GraphicUsed by:319
Symbol 319 MovieClipUses:318Used by:349
Symbol 320 GraphicUsed by:321
Symbol 321 MovieClipUses:320Used by:349
Symbol 322 GraphicUsed by:323
Symbol 323 MovieClipUses:322Used by:349
Symbol 324 GraphicUsed by:349
Symbol 325 GraphicUsed by:326
Symbol 326 MovieClipUses:325Used by:349
Symbol 327 GraphicUsed by:349
Symbol 328 GraphicUsed by:329
Symbol 329 MovieClipUses:328Used by:349
Symbol 330 GraphicUsed by:331
Symbol 331 MovieClipUses:330Used by:349
Symbol 332 GraphicUsed by:349
Symbol 333 GraphicUsed by:334
Symbol 334 MovieClipUses:333Used by:349
Symbol 335 GraphicUsed by:336
Symbol 336 MovieClipUses:335Used by:349
Symbol 337 GraphicUsed by:338
Symbol 338 MovieClipUses:337Used by:349
Symbol 339 GraphicUsed by:340
Symbol 340 MovieClipUses:339Used by:349
Symbol 341 GraphicUsed by:349
Symbol 342 GraphicUsed by:343
Symbol 343 MovieClipUses:342Used by:349
Symbol 344 GraphicUsed by:349
Symbol 345 GraphicUsed by:346
Symbol 346 MovieClipUses:345Used by:349
Symbol 347 GraphicUsed by:348
Symbol 348 MovieClipUses:347Used by:349
Symbol 349 MovieClipUses:314 315 317 319 321 323 324 326 327 329 331 332 334 336 338 340 341 343 344 31 346 348Used by:352  Timeline
Symbol 350 GraphicUsed by:351
Symbol 351 MovieClipUses:350Used by:352
Symbol 352 MovieClipUses:283 303 271 310 312 349 351Used by:414  Timeline
Symbol 353 GraphicUsed by:Timeline
Symbol 354 GraphicUsed by:355
Symbol 355 MovieClipUses:354Used by:454  Timeline
Symbol 356 GraphicUsed by:357
Symbol 357 MovieClipUses:356Used by:454  Timeline
Symbol 358 GraphicUsed by:454  Timeline
Symbol 359 GraphicUsed by:360
Symbol 360 MovieClipUses:359Used by:361
Symbol 361 MovieClipUses:360Used by:362
Symbol 362 MovieClipUses:361Used by:Timeline
Symbol 363 GraphicUsed by:364
Symbol 364 MovieClipUses:363Used by:391
Symbol 365 MovieClipUses:154Used by:366
Symbol 366 MovieClipUses:365Used by:391
Symbol 367 ShapeTweeningUsed by:391
Symbol 368 GraphicUsed by:369
Symbol 369 MovieClipUses:368Used by:391
Symbol 370 GraphicUsed by:391
Symbol 371 MovieClipUses:117Used by:391
Symbol 372 MovieClipUses:121Used by:391
Symbol 373 MovieClipUses:125Used by:391
Symbol 374 MovieClipUses:129Used by:391
Symbol 375 MovieClipUses:133Used by:391
Symbol 376 MovieClipUses:101Used by:377
Symbol 377 MovieClipUses:376Used by:378
Symbol 378 MovieClipUses:377Used by:384
Symbol 379 MovieClipUses:101Used by:381
Symbol 380 MovieClipUses:106Used by:381
Symbol 381 MovieClipUses:379 380Used by:382
Symbol 382 MovieClipUses:381Used by:384
Symbol 383 MovieClipUsed by:384
Symbol 384 MovieClipUses:378 382 383Used by:391
Symbol 385 GraphicUsed by:386
Symbol 386 MovieClipUses:139 385Used by:391
Symbol 387 ShapeTweeningUsed by:391
Symbol 388 ShapeTweeningUsed by:391
Symbol 389 ShapeTweeningUsed by:391
Symbol 390 GraphicUsed by:391
Symbol 391 MovieClipUses:138 364 366 367 369 370 371 372 373 374 375 384 386 387 388 389 390Used by:393 427 443 465 469 476 481 488
Symbol 392 GraphicUsed by:393 427 443 465 469 476 481 488
Symbol 393 ButtonUses:391 392Used by:Timeline
Symbol 394 FontUsed by:395 401 402 428 429 438 439 442 445 447 448 449 452 456 468 480 485 494 495
Symbol 395 TextUses:394Used by:Timeline
Symbol 396 GraphicUsed by:Timeline
Symbol 397 GraphicUsed by:398 403 430 450 451 457 466 470 471 472 477 482 483 492 496
Symbol 398 MovieClipUses:397Used by:399
Symbol 399 MovieClipUses:398Used by:400
Symbol 400 MovieClipUses:399Used by:403 422 430 450 451 457 466 470 471 472 477 482 483 492 496  Timeline
Symbol 401 TextUses:394Used by:403
Symbol 402 TextUses:394Used by:403
Symbol 403 ButtonUses:400 401 402 397Used by:Timeline
Symbol 404 EditableTextUses:10 425 431Used by:Timeline
Symbol 405 GraphicUsed by:408
Symbol 406 GraphicUsed by:408
Symbol 407 GraphicUsed by:408 409
Symbol 408 ButtonUses:405 406 407Used by:412
Symbol 409 MovieClipUses:407Used by:411
Symbol 410 GraphicUsed by:411
Symbol 411 ButtonUses:409 410Used by:412
Symbol 412 MovieClipUses:408 411Used by:Timeline
Symbol 413 GraphicUsed by:Timeline
Symbol 414 MovieClipUses:167 223 271 352 191 281Used by:Timeline
Symbol 415 GraphicUsed by:416
Symbol 416 MovieClipUses:415Used by:Timeline
Symbol 417 GraphicUsed by:Timeline
Symbol 418 GraphicUsed by:Timeline
Symbol 419 MovieClipUsed by:Timeline
Symbol 420 GraphicUsed by:423
Symbol 421 GraphicUsed by:422
Symbol 422 MovieClipUses:421 400Used by:423
Symbol 423 MovieClipUses:420 422Used by:Timeline
Symbol 424 EditableTextUses:10Used by:Timeline
Symbol 425 FontUsed by:404 426 434 435 436 460 461 490 497
Symbol 426 TextUses:425Used by:Timeline
Symbol 427 ButtonUses:391 392Used by:Timeline
Symbol 428 TextUses:394Used by:430 451 466 471 477 483 492
Symbol 429 TextUses:394Used by:430 451 466 471 477 483 492
Symbol 430 ButtonUses:400 428 429 397Used by:Timeline
Symbol 431 FontUsed by:404 432 467 478 497
Symbol 432 EditableTextUses:431Used by:Timeline
Symbol 433 GraphicUsed by:437
Symbol 434 TextUses:425Used by:437
Symbol 435 TextUses:425Used by:437
Symbol 436 TextUses:425Used by:437
Symbol 437 MovieClipUses:433 434 435 436Used by:Timeline
Symbol 438 TextUses:394Used by:441 479
Symbol 439 TextUses:394Used by:441 479
Symbol 440 GraphicUsed by:441 479
Symbol 441 ButtonUses:438 439 440Used by:Timeline
Symbol 442 TextUses:394Used by:Timeline
Symbol 443 ButtonUses:391 392Used by:Timeline
Symbol 444 GraphicUsed by:Timeline
Symbol 445 TextUses:394Used by:Timeline
Symbol 446 GraphicUsed by:Timeline
Symbol 447 TextUses:394Used by:450 470 482
Symbol 448 TextUses:394Used by:450 470 482
Symbol 449 TextUses:394Used by:450 457 470 472 482
Symbol 450 ButtonUses:400 447 448 397 449Used by:Timeline
Symbol 451 ButtonUses:400 428 429 397Used by:Timeline
Symbol 452 TextUses:394Used by:Timeline
Symbol 453 GraphicUsed by:454
Symbol 454 MovieClipUses:453 355 357 358 60 56 53 49 45 37 41Used by:455
Symbol 455 MovieClipUses:53 454Used by:Timeline
Symbol 456 TextUses:394Used by:457 472
Symbol 457 ButtonUses:400 456 449 397Used by:Timeline
Symbol 458 GraphicUsed by:Timeline
Symbol 459 EditableTextUses:10Used by:Timeline
Symbol 460 TextUses:425Used by:Timeline
Symbol 461 TextUses:425Used by:Timeline
Symbol 462 GraphicUsed by:Timeline
Symbol 463 GraphicUsed by:Timeline
Symbol 464 EditableTextUses:10Used by:Timeline
Symbol 465 ButtonUses:391 392Used by:Timeline
Symbol 466 ButtonUses:400 428 429 397Used by:Timeline
Symbol 467 EditableTextUses:431Used by:Timeline
Symbol 468 TextUses:394Used by:Timeline
Symbol 469 ButtonUses:391 392Used by:Timeline
Symbol 470 ButtonUses:400 447 448 397 449Used by:Timeline
Symbol 471 ButtonUses:400 428 429 397Used by:Timeline
Symbol 472 ButtonUses:400 456 449 397Used by:Timeline
Symbol 473 EditableTextUses:10Used by:Timeline
Symbol 474 GraphicUsed by:Timeline
Symbol 475 EditableTextUses:10Used by:Timeline
Symbol 476 ButtonUses:391 392Used by:Timeline
Symbol 477 ButtonUses:400 428 429 397Used by:Timeline
Symbol 478 EditableTextUses:431Used by:Timeline
Symbol 479 ButtonUses:438 439 440Used by:Timeline
Symbol 480 TextUses:394Used by:Timeline
Symbol 481 ButtonUses:391 392Used by:Timeline
Symbol 482 ButtonUses:400 447 448 397 449Used by:Timeline
Symbol 483 ButtonUses:400 428 429 397Used by:Timeline
Symbol 484 GraphicUsed by:Timeline
Symbol 485 TextUses:394Used by:Timeline
Symbol 486 MovieClipUses:60 56 53 49 45 41 37Used by:487
Symbol 487 MovieClipUses:486Used by:Timeline
Symbol 488 ButtonUses:391 392Used by:Timeline
Symbol 489 EditableTextUses:10Used by:Timeline
Symbol 490 TextUses:425Used by:Timeline
Symbol 491 GraphicUsed by:Timeline
Symbol 492 ButtonUses:400 428 429 397Used by:Timeline
Symbol 493 GraphicUsed by:Timeline
Symbol 494 TextUses:394Used by:496
Symbol 495 TextUses:394Used by:496
Symbol 496 ButtonUses:400 494 495 397Used by:Timeline
Symbol 497 EditableTextUses:10 425 431Used by:Timeline
Symbol 498 GraphicUsed by:507
Symbol 499 GraphicUsed by:506
Symbol 500 GraphicUsed by:501
Symbol 501 MovieClipUses:500Used by:502 503
Symbol 502 MovieClipUses:501Used by:506
Symbol 503 MovieClipUses:501Used by:506
Symbol 504 MovieClipUsed by:505
Symbol 505 MovieClipUses:504Used by:506
Symbol 506 MovieClipUses:499 502 503 505Used by:507
Symbol 507 MovieClipUses:498 506Used by:Timeline
Symbol 508 GraphicUsed by:Timeline
Symbol 509 FontUsed by:510
Symbol 510 EditableTextUses:509Used by:Timeline
Symbol 511 GraphicUsed by:524
Symbol 512 GraphicUsed by:513 524
Symbol 513 MovieClipUses:512Used by:524
Symbol 514 GraphicUsed by:524
Symbol 515 GraphicUsed by:516 524
Symbol 516 MovieClipUses:515Used by:517 522
Symbol 517 MovieClipUses:516Used by:523 524
Symbol 518 GraphicUsed by:519 524
Symbol 519 MovieClipUses:518Used by:521 524
Symbol 520 MovieClipUses:101Used by:521 524
Symbol 521 MovieClipUses:519 520Used by:524
Symbol 522 MovieClipUses:516Used by:523
Symbol 523 MovieClipUses:517 522Used by:524
Symbol 524 ButtonUses:511 513 514 517 519 520 521 523 515 518 101 512Used by:Timeline
Symbol 525 GraphicUsed by:530
Symbol 526 FontUsed by:527 529
Symbol 527 TextUses:526Used by:530
Symbol 528 GraphicUsed by:530
Symbol 529 TextUses:526Used by:530
Symbol 530 ButtonUses:525 527 528 529Used by:Timeline
Streaming Sound 1Used by:Timeline

Instance Names

"barra_mc"Frame 2Symbol 89 MovieClip
"mussnd"Frame 284Symbol 412 MovieClip
"hiirenseuraaja"Frame 285Symbol 35 MovieClip [hiirenseuraaja]
"nuoli"Frame 285Symbol 33 MovieClip [Nuoli]
"dytte"Frame 285Symbol 432 EditableText
"start_bg"Frame 285Symbol 437 MovieClip
"startbtn"Frame 285Symbol 441 Button
"level1scoretxt"Frame 287Symbol 459 EditableText
"hiirenseuraaja"Frame 288Symbol 35 MovieClip [hiirenseuraaja]
"nuoli"Frame 288Symbol 33 MovieClip [Nuoli]
"dytte"Frame 288Symbol 467 EditableText
"start_bg"Frame 288Symbol 437 MovieClip
"startbtn"Frame 288Symbol 441 Button
"level2scoretxt"Frame 290Symbol 473 EditableText
"hiirenseuraaja"Frame 291Symbol 35 MovieClip [hiirenseuraaja]
"nuoli"Frame 291Symbol 33 MovieClip [Nuoli]
"dytte"Frame 291Symbol 478 EditableText
"start_bg"Frame 291Symbol 437 MovieClip
"startbtn"Frame 291Symbol 479 Button
"level3scoretxt"Frame 293Symbol 489 EditableText
"chuteobjet"Symbol 78 MovieClip Frame 1Symbol 75 MovieClip
"bar_mc"Symbol 104 MovieClip Frame 1Symbol 103 MovieClip
"spark1"Symbol 114 MovieClip Frame 1Symbol 113 MovieClip
"spark2"Symbol 114 MovieClip Frame 3Symbol 113 MovieClip
"spark3"Symbol 114 MovieClip Frame 4Symbol 113 MovieClip
"spark4"Symbol 114 MovieClip Frame 6Symbol 113 MovieClip
"bar_mc"Symbol 378 MovieClip Frame 1Symbol 377 MovieClip
"btn2"Symbol 412 MovieClip Frame 1Symbol 408 Button
"btn1"Symbol 412 MovieClip Frame 1Symbol 411 Button

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "dream"
ExportAssets (56)Timeline Frame 1Symbol 2 as "rollover"
ExportAssets (56)Timeline Frame 1Symbol 3 as "reloadalertsnd"
ExportAssets (56)Timeline Frame 1Symbol 4 as "pointsnd"
ExportAssets (56)Timeline Frame 1Symbol 5 as "gameoversnd"
ExportAssets (56)Timeline Frame 1Symbol 6 as "cong"
ExportAssets (56)Timeline Frame 1Symbol 7 as "clicksnd"
ExportAssets (56)Timeline Frame 1Symbol 8 as "bgbm"
ExportAssets (56)Timeline Frame 1Symbol 9 as "empty"
ExportAssets (56)Timeline Frame 1Symbol 15 as "OikeaPalkki"
ExportAssets (56)Timeline Frame 1Symbol 16 as "mute"
ExportAssets (56)Timeline Frame 1Symbol 17 as "varopallo"
ExportAssets (56)Timeline Frame 1Symbol 18 as "kelloefekti"
ExportAssets (56)Timeline Frame 1Symbol 19 as "Tausta"
ExportAssets (56)Timeline Frame 1Symbol 20 as "Nuolialas"
ExportAssets (56)Timeline Frame 1Symbol 21 as "Yhtasuuri"
ExportAssets (56)Timeline Frame 1Symbol 22 as "Plussa"
ExportAssets (56)Timeline Frame 1Symbol 23 as "ScoreEffect"
ExportAssets (56)Timeline Frame 1Symbol 24 as "ScoreEffectPlus"
ExportAssets (56)Timeline Frame 1Symbol 25 as "ScoreEffectMinus"
ExportAssets (56)Timeline Frame 1Symbol 26 as "tile_show_on"
ExportAssets (56)Timeline Frame 1Symbol 27 as "tile"
ExportAssets (56)Timeline Frame 1Symbol 28 as "tileydinpommi"
ExportAssets (56)Timeline Frame 1Symbol 33 as "Nuoli"
ExportAssets (56)Timeline Frame 1Symbol 35 as "hiirenseuraaja"
ExportAssets (56)Timeline Frame 1Symbol 37 as "tilepommi"
ExportAssets (56)Timeline Frame 1Symbol 41 as "file1"
ExportAssets (56)Timeline Frame 1Symbol 45 as "file2"
ExportAssets (56)Timeline Frame 1Symbol 49 as "file3"
ExportAssets (56)Timeline Frame 1Symbol 53 as "file4"
ExportAssets (56)Timeline Frame 1Symbol 56 as "file5"
ExportAssets (56)Timeline Frame 1Symbol 60 as "file6"

Labels

"playscreen"Frame 284
"game1"Frame 285
"gameover1"Frame 286
"game1end"Frame 287
"game2"Frame 288
"gameover2"Frame 289
"game2end"Frame 290
"game3"Frame 291
"gameover3"Frame 292
"congrats"Frame 293
"abtScreen"Frame 294
"tile_off"Symbol 27 MovieClip [tile] Frame 1
"tile_on"Symbol 27 MovieClip [tile] Frame 9

Dynamic Text Variables

_root.ScoreSymbol 11 EditableText"0 "
ScoreSymbol 424 EditableText"0 "
multiplierSymbol 432 EditableText"4x "
ScoreSymbol 464 EditableText"0 "
multiplierSymbol 467 EditableText"4x "
ScoreSymbol 475 EditableText"0 "
multiplierSymbol 478 EditableText"4x "




http://swfchan.com/23/110414/info.shtml
Created: 13/3 -2019 20:38:28 Last modified: 13/3 -2019 20:38:28 Server time: 05/11 -2024 09:18:30