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

<div style="position:absolute;top:-99px;left:-99px;"><img src="https://tools.swfchan.com/stathit.asp?noj=FRM84103813-1DC&rnd=84103813" width="1" height="1"></div>

armorgames neon-maze-3618.swf

This is the info page for
Flash #264523

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


Text
Loading...

OFFLINE PROTECTION!
This version of Neon Maze game only be played if it is
hosted on a website.
Follow this link to play the game: www.king.com
If you have any questions please e-mail us at
calle@king.com

commercial break

commercial break

HP

<p align="center"><font face="Comic Sans MS Bold" size="19" color="#0033ff" letterSpacing="1.000000" kerning="0">Vitaliy Zlotskiy</font></p>

<p align="center"><font face="Comic Sans MS Bold" size="19" color="#ff9900" letterSpacing="1.000000" kerning="0">Sergey Arseniev</font></p>

Enter your name

Submiting your score...

To go through the wall, you must
be the same color as the wall

Pick me
to change
your color

Level 1

Score: 1259

Challenge time's up
You got 0 score

Resume

Restart

Audio

Menu

Play more games

Now, let the fun begin ;)

Just pick right color
to pass through here

Some doors are locked.
But you can open them using
the keys of same color as door

In order to pick a key you must
be the same color as key

There is a type of wall, which you
can pass through in only one
direction

Use the teleport to move
from one place to another.

SITE LOCKED
This version of Neon Maze game is site-locked to
Armorgames.com
Follow this link if you want to download game copy for
your web-site.
If you have any questions please e-mail us at
calle@king.com

ActionScript [AS1/AS2]

Frame 1
function initLoader() { this.onEnterFrame = function () { LB = getBytesLoaded(); TB = getBytesTotal(); PC = (LB / TB) * 100; xmlLoad.bar.slider._width = PC; xmlLoad.bar.slider._alpha = PC + 50; trace(_root.adServingEnds); if (getBytesLoaded() == getBytesTotal()) { kill(); if ((System.capabilities.playerType == "StandAlone") || (System.capabilities.playerType == "External")) { this.onEnterFrame = undefined; this.gotoAndStop("offline"); } else if ((currentDomain.lastIndexOf(domainLockTo) + domainLockTo.length) != currentDomain.length) { trace("sitelock"); this.gotoAndStop("sitelock"); this.onEnterFrame = undefined; } else { trace("nolock"); this.gotoAndStop("preroller"); this.onEnterFrame = undefined; } } }; } function openKingPage(type, page) { trace(type); var _local4 = _root._url; var _local3 = (((((("game=" + GAME_NAME) + "&from=") + _local4) + "&type=") + type) + "&session=") + sessionID; if (page != undefined) { _local3 = _local3 + ("&redirect=" + page); } var _local2 = "_blank"; if (isHome) { _local2 = "_top"; } getURL ((bounceURL + "?") + _local3, _local2); } function openOtherGamesLink() { openKingPage(LINK_TYPE_OTHER_GAMES); } function openHighscoresLink() { openKingPage(LINK_TYPE_HIGHSCORES, ("game/" + GAME_NAME) + "/highscores"); } function openSignLink() { openKingPage(LINK_TYPE_SIGN); } function openAddToWebsiteLink() { openKingPage(LINK_TYPE_ADD_GAME, "website_content.jsp"); } function openLoaderMovieLink() { openKingPage(LINK_TYPE_LOADER_MOVIE); } function openRightClickLink() { openKingPage(LINK_TYPE_RIGHT_CLICK); } function openOfflineProtectionLink() { openKingPage(LINK_TYPE_PROTECT); } function addScore(points) { checkScore(); var _local1 = (iscore - 123) / 2; _local1 = _local1 + points; iscore = (_local1 * 2) + 123; checkStr = m.hash((((iscore + ":") + GAME_NAME) + ":") + SK); return(_local1); } function resetScore() { iscore = 123; checkStr = null; } function submitInternalScore() { checkScore(); var _local1 = (iscore - 123) / 2; submitScore(_local1); } function checkScore() { if (checkStr != null) { if (checkStr != m.hash((((iscore + ":") + GAME_NAME) + ":") + SK)) { SSK = "ng41ui54hy35tdsnd6f54rews"; } } } function submitScore(score) { var _local1 = m.hash((((score + ":") + GAME_NAME) + ":") + SSK); try { if (isHome) { flash.external.ExternalInterface.call("submitScore", score, _local1); } else { openKingPage(LINK_TYPE_HIGHSCORES, (((("game/" + GAME_NAME) + "/submit/") + score) + ":") + _local1); } } catch(e:Error) { trace(e); } } function submitLevel(level) { var _local1 = m.hash((((level + ":") + GAME_NAME) + ":") + SSK); try { if (isHome) { flash.external.ExternalInterface.call("submitLevel", level, _local1); } } catch(e:Error) { trace(e); } } function submitAchievement(achievement) { var _local1 = m.hash((((achievement + ":") + GAME_NAME) + ":") + SAK); try { if (isHome) { flash.external.ExternalInterface.call("submitAchievement", achievement, _local1); } } catch(e:Error) { trace(e); } } 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; 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); } u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&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); } stop(); domain_parts = _url; domain_parts = domain_parts.split("://"); real_domain = domain_parts[1].split("/"); currentDomain = real_domain[0]; var domainLockTo = "armorgames.com"; mcLoadLogoBg._x = (Stage.width / 2) - (mcLoadLogoBg._width / 2); mcLoadLogoBg._y = (Stage.height / 2) - (mcLoadLogoBg._height / 2); var my_cm = new ContextMenu(); my_cm.hideBuiltInItems(); this.menu = my_cm; _root.adServingEnds = true; var loadCountURL = "http://www.mygame.com/king/loadcount.jsp"; var bounceURL = "http://www.mygame.com/king/bounce.jsp"; var loadHomeParametersURL = "http://www.king.com/servlet/FreeGameServlet?action=load"; var LINK_TYPE_LOADER_MOVIE = "loader_movie"; var LINK_TYPE_LOADER_PROGRESS = "loader_progress"; var LINK_TYPE_PROTECT = "protect"; var LINK_TYPE_OTHER_GAMES = "other_games"; var LINK_TYPE_HIGHSCORES = "highscores"; var LINK_TYPE_SIGN = "sign"; var LINK_TYPE_ADD_GAME = "add_game"; var LINK_TYPE_RIGHT_CLICK = "rightclick"; var LINK_TYPE_RIGHT_CLICK = "rightclick"; initLoader(); var gameWidth = Stage.width; var gameHeight = Stage.height; bannedSign.onRelease = function () { if (!isHome) { openKingPage(LINK_TYPE_LOADER_PROGRESS); } }; if (MOCHI_SIGNATURE != "") { }
Frame 8
stop();
Frame 15
stop(); gotoAndStop ("preloader");
Frame 23
stop();
Frame 36
function toLevel() { lastAd = getTimer(); gotoAndStop ("gotoLevel"); } mochi.as2.MochiAd.showInterLevelAd({id:"13e1e619a33273aa", res:"650x500", no_bg:true, background:13562073, color:3449938, outline:16777215, ad_finished:function () { toLevel(); }, ad_failed:function () { toLevel(); }, ad_skipped:function () { toLevel(); }});
Frame 43
stop(); nowplayng = ""; _root.sounds = true; var my_cm = new ContextMenu(); my_cm.hideBuiltInItems(); this.menu = my_cm; _quality = "HIGH"; Stage.scaleMode = "Scale"; Stage.align = "TL"; Stage.addListener(this); _root.level = 1; var mouseListener = new Object(); xmlLoad._x = Stage.width / 2; xmlLoad._y = Stage.height / 2; onResize = function () { xmlLoad._x = Stage.width / 2; xmlLoad._y = Stage.height / 2; }; _root.createEmptyMovieClip("backgroundSoundMc", 9003); var backgroundSound = new Sound(backgroundSoundMc); backgroundSound.attachSound("loop"); backgroundSound.setVolume(50); _root.createEmptyMovieClip("menuSoundMc", 9090); var menuSound = new Sound(menuSoundMc); menuSound.attachSound("menu"); menuSound.setVolume(50); _root.createEmptyMovieClip("wallSoundMc", 9001); var wallSound = new Sound(wallSoundMc); wallSound.attachSound("wall"); wallSound.setVolume(100); _root.createEmptyMovieClip("keySoundMc", 9004); var keySound = new Sound(keySoundMc); keySound.attachSound("clav1"); _root.createEmptyMovieClip("spotSoundMc", 9002); var spotSound = new Sound(spotSoundMc); spotSound.attachSound("pop3.wav"); spotSound.setVolume(35); _root.createEmptyMovieClip("portinSoundMc", 9006); var portinSound = new Sound(portinSoundMc); portinSound.attachSound("port1.mp3"); portinSound.setVolume(100); _root.createEmptyMovieClip("portoutSoundMc", 9007); var portoutSound = new Sound(portoutSoundMc); portoutSound.attachSound("portout1.mp3"); portoutSound.setVolume(100); gotoAndStop ("menu");
Frame 53
function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } lastAd = getTimer(); _root.totalscore = 0; var savings = SharedObject.getLocal("savings"); if (savings.data.level == undefined) { savings.data.level = 1; } _root.starting_level = 1; place = "menu"; if (nowplayng != "menu") { menuSound.start(0, 1000000); backgroundSound.stop(); nowplayng = "menu"; } var mouseListener = new Object(); Mouse.addListener(mouseListener); _root.mr = true;
Frame 59
stop();
Frame 66
function __rankz_send__(par1, par2, par3, par4) { par227 = new LoadVars(); par228 = new LoadVars(); par227.flashkey = par2; par227.SU0249 = par1; par227.bmFtZTE = par3; par227.c2NvcmUx = par4 + "Z"; par227.c2NvcmUx = par227.c2NvcmUx.split("0").join("U"); par227.c2NvcmUx = par227.c2NvcmUx.split("").join("A"); par227.c2NvcmUx = par227.c2NvcmUx.split("AU").join("Y"); par227.c2NvcmUx = par227.c2NvcmUx.split("A1").join("B"); par227.c2NvcmUx = par227.c2NvcmUx.split(".").join("N"); par227.flashkey = par227.flashkey.split("=").join(""); par227.SU0249 = par227.SU0249.split("=").join(""); par228.onLoad = function (success) { if (success) { getURL ("http://rankz.armorbot.com/neon_maze", "_blank"); _root.gotoAndStop("menu"); trace(par228.msg); } else { trace(par228.loaded); } }; par227.sendAndLoad("http://rankz.armorbot.com/submit/as3_v0.php", par228, "POST"); _root.gotoAndStop("lda"); } stop(); prr.text = _root.totalscore; bXlnYW1lX25hbWVfdmFyaWFibGU = _root.nma.text; bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.totalscore;
Frame 72
stop();
Frame 77
stop();
Frame 84
delete onEnterFrame; if (_root.level == "menu") { gotoAndStop ("menu"); } else if (_root.level > 25) { savings.data.score = 0; savings.data.level = 0; gotoAndStop ("score"); } else { gotoAndStop("level" + _root.level); }
Frame 93
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 846.6; var level_height = 500; var scoring = 1000; var time = 30; var hero_color = "green"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 99
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 995; var level_height = 723; var scoring = 1500; var time = 40; var hero_color = "orange"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 105
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 2588; var level_height = 712; var scoring = 2000; var time = 90; var hero_color = "green"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 111
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 1716; var level_height = 1261.8; var scoring = 3000; var time = 120; var hero_color = "blue"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 117
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 1170; var level_height = 1330; var scoring = 4000; var time = 120; var hero_color = "orange"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 123
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 846.6; var level_height = 500; var scoring = 1000; var time = 30; var hero_color = "yellow"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 129
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 1266; var level_height = 950; var scoring = 1500; var time = 60; var hero_color = "blue"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 135
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 2446; var level_height = 1316.3; var scoring = 2000; var time = 120; var hero_color = "green"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 141
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 1726; var level_height = 1300.8; var scoring = 4000; var time = 180; var hero_color = "blue"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 147
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 1370.8; var level_height = 1351.1; var scoring = 1500; var time = 100; var hero_color = "orange"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 153
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 1111.3; var level_height = 991.8; var scoring = 3000; var time = 120; var hero_color = "red"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 159
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 1965; var level_height = 1870; var scoring = 5000; var time = 240; var hero_color = "orange"; var hero_clr = "0xFD751C"; stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 166
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 824.3; var level_height = 500.5; var scoring = 1000; var time = 30; var hero_color = "yellow"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 173
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 1437.5; var level_height = 1740; var time = 120; var scoring = 2500; var hero_color = "red"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 180
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 1994.6; var level_height = 1882.8; var time = 180; var scoring = 2000; var hero_color = "blue"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 187
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 1110.3; var level_height = 893.5; var time = 240; var scoring = 4500; var hero_color = "green"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 194
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 1126.6; var level_height = 621.1; var time = 30; var scoring = 1000; var hero_color = "yellow"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 201
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 1006.6; var level_height = 689.1; var time = 75; var scoring = 1500; var hero_color = "blue"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 208
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 1268; var level_height = 1045.6; var time = 300; var scoring = 5000; var hero_color = "red"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 215
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 2583.5; var level_height = 2000.8; var time = 210; var scoring = 3500; var hero_color = "green"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 222
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 2588; var level_height = 2490.8; var time = 360; var scoring = 5500; var hero_color = "blue"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 229
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 1375.3; var level_height = 1534; var time = 300; var scoring = 6000; var hero_color = "blue"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 257
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 1716.8; var level_height = 1613.2; var time = 270; var scoring = 5000; var hero_color = "red"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 264
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 1602.6; var level_height = 1570.8; var time = 330; var scoring = 7000; var hero_color = "red"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 271
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 1388; var level_height = 1480.8; var time = 360; var scoring = 7500; var hero_color = "red"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 278
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } var level_width = 2588; var level_height = 1716; var hero_color = "red"; var hero_clr = getClr(hero_color); stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 301
function gameHasStarted() { _root.timer_started = getTimer(); _root.timestarted = true; } function setScore() { score = Math.round((scoring / 100) * ((timer * 100) / time)); if (score < 0) { score = 0; } levelended = true; menu_hp.score.scorenow = _root.totalscore; menu_hp.score.scoreget = _root.totalscore + score; _root.totalscore = _root.totalscore + score; if (score > 0) { _root.achi++; } menu_hp.score.alpha = 100; time = 0; } function soundsOn() { _root.blurry.snd._alpha = 100; _root.menu_hp.snd._alpha = 100; _root.sounds = true; backgroundSound.setVolume(50); menuSound.setVolume(50); } function soundsOff() { _root.blurry.snd._alpha = 40; _root.menu_hp.snd._alpha = 40; _root.sounds = false; backgroundSound.setVolume(0); menuSound.setVolume(0); } function pauseGame() { _root.pausestart = getTimer(); _root.pauser = false; var _local2 = new flash.display.BitmapData(650, 500, true, 13421772); _local2.draw(_root); blurry.dr.attachBitmap(_local2, 2, "auto", true); _root.blurry._visible = true; } function resumeGame() { _root.pausetime = _root.pausetime + (getTimer() - _root.pausestart); _root.pauser = true; _root.blurry._visible = false; } function getClr(cl) { if (cl == "red") { return("0xFF3535"); } if (cl == "blue") { return("0x0066FF"); } if (cl == "yellow") { return("0xFFFF00"); } if (cl == "green") { return("0x99FF00"); } if (cl == "orange") { return("0xFD751C"); } if (cl == "white") { return("0xFFFFFF"); } if (cl == "fiol") { return("0x9900FF"); } } function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); myColor = new Color(_root.txt); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } function level_started() { _root.all.ingame.gotoAndPlay("in"); _root.leveler.gotoAndPlay("in"); } function end_level() { _root.kongregateStats.submit("level", _root.level); _root.kongregateStats.submit("score", _root.totalscore); _root.level++; _root.savings.data.level = _root.level; _root.savings.data.score = _root.totalscore; gotoAndStop ("gotoLevel"); } stop(); timing = time; if (nowplayng != "game") { backgroundSound.start(0, 1000); menuSound.stop(); nowplayng = "game"; } timup = true; levelended = false; _root.damagetime = 0; _root.timestarted = false; menu_hp.bar._width = 0; menu_hp.score.alpha = 0; menu_hp.score._alpha = 0; menu_hp.score.scorenow = 0; menu_hp.score.scoreget = 0; _root.pausetime = 0; _root.pauser = true; _root.blurry._visible = false; txt.txt.txt.text = "Level " + _root.level; txt.play(); var to_hit_walls = new Array(); var to_hit = new Array(); var hero_hp = 100; var particle_dp = 1; _root.all._x = (Stage.width / 2) - all.ingame._x; _root.all._y = (Stage.height / 2) - all.ingame._y; change_color(hero_color, hero_clr); onEnterFrame = function () { if (!_root.pauser) { return(false); } if (_root.timestarted) { timer = time - ((((getTimer() - _root.timer_started) - _root.pausetime) + _root.damagetime) / 1000); } else { timer = time; } if (((timer * 100) / time) > 0) { menu_hp.bar._width = menu_hp.bar._width + ((((timer * 100) / time) - menu_hp.bar._width) * 0.15); } else { if (timup && (!levelended)) { menu_hp.out.gotoAndPlay("in"); timup = false; } menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.15); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); } destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { _root.masdestx = Math.round((destx - all._x) * 0.2); all._x = all._x + Math.round((destx - all._x) * 0.2); } else { _root.masdestx = 0; if (all._x > -100) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { _root.masdesty = Math.round((desty - all._y) * 0.2); all._y = all._y + Math.round((desty - all._y) * 0.2); } else { _root.masdesty = 0; if (all._y > -100) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } } updateAfterEvent(); }; fader.gotoAndPlay("fadein");
Frame 308
function change_color(color, clr) { _root.hero_color = color; _root.hero_clr = clr; myColor = new Color(_root.all.hero); myColor.setRGB(clr); myColor = new Color(_root.menu_hp); myColor.setRGB(clr); i = 0; while (i < to_hit.length) { obj = _root.all[to_hit[i]]; if (obj.active && (obj.type != "locked")) { if (obj.color == _root.hero_color) { obj.alpha = 40; } else { obj.alpha = 100; } } i++; } } stop(); var to_hit_walls = new Array(); var to_hit = new Array(); var level_width = 2000; var level_height = 2000; var hero_color = "red"; var hero_clr = "0xFF3535"; var hero_hp = 100; var particle_dp = 1; change_color(hero_color, hero_clr); onEnterFrame = function () { if (hero_hp > 0) { menu_hp.bar._width = menu_hp.bar._width + ((hero_hp - menu_hp.bar._width) * 0.3); } else { menu_hp.bar._width = menu_hp.bar._width + ((-menu_hp.bar._width) * 0.3); } if (all.hero.isDown) { var _local2 = {x:all.hero.s1._x, y:all.hero.s1._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); _local2 = {x:all.hero.s2._x, y:all.hero.s2._y}; all.hero.localToGlobal(_local2); particle_dp++; tx = random(6) - 3; if (tx == 0) { tx = 1; } ty = random(6) - 3; if (ty == 0) { ty = 1; } all.attachMovie("hero_particle", "hero_particle" + particle_dp, particle_dp, {_x:_local2.x - all._x, _y:_local2.y - all._y, color:_root.hero_clr, vectorX:tx, vectorY:ty}); destx = (Stage.width / 2) - all.hero._x; desty = (Stage.height / 2) - all.hero._y; } if (((all._x + ((destx - all._x) * 0.2)) < 0) && ((all._x + ((destx - all._x) * 0.2)) > ((-level_width) + Stage.width))) { all._x = all._x + Math.round((destx - all._x) * 0.2); } else if (all._x > -300) { all._x = 0; } else { all._x = (-level_width) + Stage.width; } if (((all._y + ((desty - all._y) * 0.2)) < 0) && ((all._y + ((desty - all._y) * 0.2)) > ((-level_height) + Stage.height))) { all._y = all._y + Math.round((desty - all._y) * 0.2); } else if (all._y > -300) { all._y = 0; } else { all._y = (-level_height) + Stage.height; } updateAfterEvent(); };
Frame 318
stop();
Symbol 18 MovieClip [boombastik] Frame 1
myColor = new Color(this); myColor.setRGB(color);
Symbol 18 MovieClip [boombastik] Frame 15
stop(); this.removeMovieClip();
Symbol 28 MovieClip [hero_particle2] Frame 1
stop(); vx = vectorX; vy = vectorY; myColor = new Color(this); myColor.setRGB(color); _rotation = rot; if (this._name != "bob") { onEnterFrame = function () { if (_alpha <= 10) { removeMovieClip(this); } _x = (_x + vectorX); _y = (_y - vectorY); vectorX = vectorX * 0.9; vectorY = vectorY * 0.9; _alpha = ((150 * ((vectorX * vectorX) + (vectorY * vectorY))) / ((vx * vx) + (vy * vy))); }; }
Symbol 29 MovieClip [hero_particle] Frame 1
stop(); vx = vectorX; vy = vectorY; myColor = new Color(this); myColor.setRGB(color); if (this._name != "bob") { onEnterFrame = function () { if (_xscale <= 10) { removeMovieClip(this); } _x = (_x + vectorX); _y = (_y - vectorY); vectorX = vectorX * 0.9; vectorY = vectorY * 0.9; _xscale = ((150 * ((vectorX * vectorX) + (vectorY * vectorY))) / ((vx * vx) + (vy * vy))); _yscale = _xscale; }; }
Symbol 717 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd { function MochiAd () { } static function getVersion() { return("3.0 as2"); } static function showPreGameAd(options) { var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }, ad_failed:function () { trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_loaded:function (width, height) { }, ad_skipped:function () { }, ad_progress:function (percent) { }}; options = _parseOptions(options, _local26); if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") { options.ad_started(); options.ad_finished(); return(undefined); } var clip = options.clip; var _local22 = 11000; var _local25 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local14 = _getRes(options); var _local4 = _local14[0]; var _local13 = _local14[1]; mc._x = _local4 * 0.5; mc._y = _local13 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk._x = _local4 * -0.5; chk._y = _local13 * -0.5; var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4); if (options.no_progress_bar) { _local6._visible = false; delete options.no_progress_bar; } else { _local6._x = 10; _local6._y = _local13 - 20; } var _local21 = options.color; delete options.color; var _local19 = options.background; delete options.background; var _local23 = options.outline; delete options.outline; var _local5 = _local6.createEmptyMovieClip("_outline", 1); _local5.beginFill(_local19); _local5.moveTo(0, 0); _local5.lineTo(_local4 - 20, 0); _local5.lineTo(_local4 - 20, 10); _local5.lineTo(0, 10); _local5.lineTo(0, 0); _local5.endFill(); var _local3 = _local6.createEmptyMovieClip("_inside", 2); _local3.beginFill(_local21); _local3.moveTo(0, 0); _local3.lineTo(_local4 - 20, 0); _local3.lineTo(_local4 - 20, 10); _local3.lineTo(0, 10); _local3.lineTo(0, 0); _local3.endFill(); _local3._xscale = 0; var _local7 = _local6.createEmptyMovieClip("_outline", 3); _local7.lineStyle(0, _local23, 100); _local7.moveTo(0, 0); _local7.lineTo(_local4 - 20, 0); _local7.lineTo(_local4 - 20, 10); _local7.lineTo(0, 10); _local7.lineTo(0, 0); chk.ad_msec = _local22; chk.ad_timeout = _local25; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; mochi.as2.MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.regContLC = function (lc_name) { mc._containerLCName = lc_name; }; var sendHostProgress = false; mc.lc.sendHostLoadProgress = function (lc_name) { sendHostProgress = true; }; mc.lc.adLoaded = options.ad_loaded; mc.lc.adSkipped = options.ad_skipped; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec; }; mc.lc.rpc = function (callbackID, arg) { mochi.as2.MochiAd.rpc(clip, callbackID, arg); }; mc.rpcTestFn = function (s) { trace("[MOCHIAD rpcTestFn] " + s); return(s); }; chk.onEnterFrame = function () { var _local6 = this._parent._parent; var _local11 = this._parent._mochiad_ctr; var _local5 = getTimer() - this.started; var _local3 = false; var _local4 = _local6.getBytesTotal(); var _local8 = _local6.getBytesLoaded(); var _local2 = (100 * _local8) / _local4; var _local10 = (100 * _local5) / chk.ad_msec; var _local9 = this._mochiad_bar._inside; var _local13 = Math.min(100, Math.min(_local2 || 0, _local10)); _local13 = Math.max(this.last_pcnt, _local13); this.last_pcnt = _local13; _local9._xscale = _local13; options.ad_progress(_local13); if (sendHostProgress) { clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local2}); if (_local2 == 100) { sendHostProgress = false; } } if (!chk.showing) { var _local7 = _local11.getBytesTotal(); if ((_local7 > 0) || (typeof(_local7) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) { options.ad_failed(); _local3 = true; } } if (_local5 > chk.ad_msec) { _local3 = true; } if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; } } }; } static function showClickAwayAd(options) { var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () { }, ad_finished:function () { }, ad_loaded:function (width, height) { }, ad_failed:function () { trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function () { }}; options = _parseOptions(options, _local9); var clip = options.clip; var _local8 = options.ad_timeout; delete options.ad_timeout; if (!load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local4 = _getRes(options); var _local10 = _local4[0]; var _local7 = _local4[1]; mc._x = _local10 * 0.5; mc._y = _local7 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_timeout = _local8; chk.started = getTimer(); chk.showing = false; mc.lc.adLoaded = options.ad_loaded; mc.lc.adSkipped = options.ad_skipped; mc.lc.rpc = function (callbackID, arg) { mochi.as2.MochiAd.rpc(clip, callbackID, arg); }; mc.rpcTestFn = function (s) { trace("[MOCHIAD rpcTestFn] " + s); return(s); }; var _local20 = false; mc.lc.regContLC = function (lc_name) { mc._containerLCName = lc_name; }; chk.onEnterFrame = function () { var _local5 = this._parent._mochiad_ctr; var _local4 = getTimer() - this.started; var _local2 = false; if (!chk.showing) { var _local3 = _local5.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { _local2 = true; chk.showing = true; chk.started = getTimer(); } else if (_local4 > chk.ad_timeout) { options.ad_failed(); _local2 = true; } } if (_local2) { delete this.onEnterFrame; } }; } static function showInterLevelAd(options) { var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }, ad_failed:function () { trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_loaded:function (width, height) { }, ad_skipped:function () { }}; options = _parseOptions(options, _local13); var clip = options.clip; var _local10 = 11000; var _local12 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local5 = _getRes(options); var _local14 = _local5[0]; var _local11 = _local5[1]; mc._x = _local14 * 0.5; mc._y = _local11 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_msec = _local10; chk.ad_timeout = _local12; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; mochi.as2.MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adLoaded = options.ad_loaded; mc.lc.adSkipped = options.ad_skipped; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec - 250; }; mc.lc.rpc = function (callbackID, arg) { mochi.as2.MochiAd.rpc(clip, callbackID, arg); }; mc.rpcTestFn = function (s) { trace("[MOCHIAD rpcTestFn] " + s); return(s); }; chk.onEnterFrame = function () { var _local5 = this._parent._mochiad_ctr; var _local4 = getTimer() - this.started; var _local2 = false; if (!chk.showing) { var _local3 = _local5.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local4 > chk.ad_timeout) { options.ad_failed(); _local2 = true; } } if (_local4 > chk.ad_msec) { _local2 = true; } if (_local2) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; } } }; } static function showPreloaderAd(options) { trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0"); showPreGameAd(options); } static function showTimedAd(options) { trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0"); showInterLevelAd(options); } static function _allowDomains(server) { var _local1 = server.split("/")[2].split(":")[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain("*"); System.security.allowDomain(_local1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain("*"); System.security.allowInsecureDomain(_local1); } } return(_local1); } static function load(options) { var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = _parseOptions(options, _local13); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var _local7 = options.clip; if (!_isNetworkAvailable()) { return(null); } if (_local7._mochiad_loaded) { return(null); } var _local12 = options.depth; delete options.depth; var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12); var _local11 = _getRes(options); options.res = (_local11[0] + "x") + _local11[1]; options.server = options.server + options.id; delete options.id; _local7._mochiad_loaded = true; if (_local7._url.indexOf("http") != 0) { trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal"); } var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1); for (var _local8 in options) { _local4[_local8] = options[_local8]; } var _local10 = _local4.server; delete _local4.server; var _local14 = _allowDomains(_local10); _local6.onEnterFrame = function () { if (this._mochiad_ctr._url != this._url) { this.onEnterFrame = function () { if (!this._mochiad_ctr) { delete this.onEnterFrame; mochi.as2.MochiAd.unload(this._parent); } }; } }; var _local5 = new LocalConnection(); var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local5.mc = _local6; _local5.name = _local9; _local5.hostname = _local14; _local5.allowDomain = function (d) { return(true); }; _local5.allowInsecureDomain = _local5.allowDomain; _local5.connect(_local9); _local6.lc = _local5; _local4.lc = _local9; _local4.st = getTimer(); _local4.loadMovie(_local10 + ".swf", "POST"); return(_local6); } static function unload(clip) { if (typeof(clip) == "undefined") { clip = _root; } if (clip.clip && (clip.clip._mochiad)) { clip = clip.clip; } if (!clip._mochiad) { return(false); } if (clip._mochiad._containerLCName != undefined) { clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"}); } clip._mochiad.removeMovieClip(); delete clip._mochiad_loaded; delete clip._mochiad; return(true); } static function _isNetworkAvailable() { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); } static function _getRes(options) { var _local3 = options.clip.getBounds(); var _local2 = 0; var _local1 = 0; if (typeof(options.res) != "undefined") { var _local4 = options.res.split("x"); _local2 = parseFloat(_local4[0]); _local1 = parseFloat(_local4[1]); } else { _local2 = _local3.xMax - _local3.xMin; _local1 = _local3.yMax - _local3.yMin; } if ((_local2 == 0) || (_local1 == 0)) { _local2 = Stage.width; _local1 = Stage.height; } return([_local2, _local1]); } static function _parseOptions(options, defaults) { var _local4 = {}; for (var _local8 in defaults) { _local4[_local8] = defaults[_local8]; } if (options) { for (var _local8 in options) { _local4[_local8] = options[_local8]; } } if (_root.mochiad_options) { var _local5 = _root.mochiad_options.split("&"); var _local2 = 0; while (_local2 < _local5.length) { var _local3 = _local5[_local2].split("="); _local4[unescape(_local3[0])] = unescape(_local3[1]); _local2++; } } if (_local4.id == "test") { trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!"); } return(_local4); } static function rpc(clip, callbackID, arg) { switch (arg.id) { case "setValue" : setValue(clip, arg.objectName, arg.value); break; case "getValue" : var _local4 = getValue(clip, arg.objectName); clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4); break; case "runMethod" : var _local3 = runMethod(clip, arg.method, arg.args); clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local3); break; default : trace("[mochiads rpc] unknown rpc id: " + arg.id); } } static function setValue(base, objectName, value) { var _local2 = objectName.split("."); var _local1; _local1 = 0; while (_local1 < (_local2.length - 1)) { if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) { return(undefined); } base = base[_local2[_local1]]; _local1++; } base[_local2[_local1]] = value; } static function getValue(base, objectName) { var _local2 = objectName.split("."); var _local1; _local1 = 0; while (_local1 < (_local2.length - 1)) { if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) { return(undefined); } base = base[_local2[_local1]]; _local1++; } return(base[_local2[_local1]]); } static function runMethod(base, methodName, argsArray) { var _local2 = methodName.split("."); var _local1; _local1 = 0; while (_local1 < (_local2.length - 1)) { if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) { return(undefined); } base = base[_local2[_local1]]; _local1++; } if (typeof(base[_local2[_local1]]) == "function") { return(base[_local2[_local1]].apply(base, argsArray)); } return(undefined); } }
Symbol 58 Button
on (press) { getURL ("http://www.armorgames.com", "_blank"); }
Symbol 61 MovieClip Frame 1
gotoAndPlay (2);
Symbol 61 MovieClip Frame 218
_root.gotoAndStop("preroller2");
Symbol 64 Button
on (release) { getURL ("http://armorgames.com", "_blank"); }
Symbol 67 Button
on (release) { _root.openSignLink(); }
Symbol 71 Button
on (release) { _root.openOfflineProtectionLink(); }
Symbol 83 Button
on (release) { if (_root.mr) { _root.mr = false; _root.finotype = "new"; _root.fader.gotoAndPlay("fadeout"); } }
Symbol 89 Button
on (release) { if (_root.mr) { _root.mr = false; _root.finotype = "continue"; _root.fader.gotoAndPlay("fadeout"); } }
Symbol 95 Button
on (release) { getURL ("http://rankz.armorbot.com/neon_maze", "_blank"); }
Symbol 101 Button
on (release) { gotoAndStop ("credits"); }
Symbol 107 Button
on (release) { getURL ("http://armorgames.com", "_blank"); }
Symbol 120 Button
on (release) { if (_root.sounds) { _root.soundsOff(); } else { _root.soundsOn(); } }
Symbol 122 Button
on (release) { getURL ("http://armorgames.com", "_blank"); }
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 25
stop(); if (_root.finotype == "sponsor") { _root.level = "sponsor"; getURL ("http://gamesponsorlinkhere.com", "_blank"); _root.gotoAndStop("gotoLevel"); } else if (_root.finotype == "back") { _root.level = "menu"; _root.gotoAndStop("gotoLevel"); } else if (_root.finotype == "credits") { _root.level = "credits"; _root.gotoAndStop("gotoLevel"); } else if (_root.finotype == "new") { _root.level = _root.starting_level; _root.gotoAndStop("gotoLevel"); } else if (_root.finotype == "continue") { _root.level = _root.savings.data.level; _root.totalscore = _root.savings.data.score; _root.gotoAndStop("gotoLevel"); } else { _root.end_level(); }
Symbol 124 MovieClip Frame 26
play();
Symbol 124 MovieClip Frame 50
stop(); _root.level_started();
Symbol 129 Button
on (release) { gotoAndStop ("menu"); }
Symbol 148 Button
on (release) { getURL ("http://armorgames.com", "_blank"); }
Symbol 153 Button
on (release) { __rankz_send__("MzQ3N2olZSVhJW4lcw==", "d2NUQXpkRmI=", _root.nma.text, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl); }
Symbol 157 Button
on (release) { gotoAndStop ("menu"); }
Symbol 177 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 2
if (!_root.sounds) { stopAllSounds(); }
Symbol 177 MovieClip Frame 31
_root.fader.gotoAndPlay("fadeout");
Symbol 177 MovieClip Frame 84
stop();
Symbol 182 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 2
_root.change_color(_root.hero_color, _root.hero_clr);
Symbol 182 MovieClip Frame 32
_root.all.hero.gotoAndPlay("in"); _root.all.inlift.gotoAndPlay("in"); stop();
Symbol 182 MovieClip Frame 56
_root.all.hero.isDown = true; _root.gameHasStarted();
Symbol 182 MovieClip Frame 80
stop();
Symbol 205 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 25
_root.all.ingame.gotoAndPlay("out");
Symbol 205 MovieClip Frame 52
stop();
Symbol 205 MovieClip Frame 136
stop();
Symbol 205 MovieClip Frame 141
stop();
Symbol 205 MovieClip Frame 181
stop();
Symbol 206 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 206 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 173 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 185 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 189 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 185 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 205 MovieClip "hero" in Symbol 206 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Instance of Symbol 185 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) { color = "fiol"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 65
stop();
Symbol 214 Button
on (release, keyPress "<Space>") { if (_root.pauser) { _root.pauseGame(); } else { _root.resumeGame(); } } on (keyPress "p") { if (_root.pauser) { _root.pauseGame(); } else { _root.resumeGame(); } }
Symbol 215 Button
on (release) { if (_root.sounds) { _root.soundsOff(); } else { _root.soundsOn(); } } on (keyPress "m") { if (_root.sounds) { _root.soundsOff(); } else { _root.soundsOn(); } }
Symbol 221 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 2
if (!_root.sounds) { stopAllSounds(); }
Symbol 221 MovieClip Frame 72
stop();
Instance of Symbol 217 MovieClip "score" in Symbol 222 MovieClip Frame 1
onClipEvent (load) { scorenow = 0; scoreget = 0; } onClipEvent (enterFrame) { _alpha = (_alpha + ((alpha - _alpha) * 0.2)); scorenow = scorenow + Math.round((scoreget - scorenow) * 0.2); txt.text = "Score: " + scorenow; }
Symbol 235 Button
on (release) { _root.resumeGame(); }
Symbol 238 Button
on (release) { _root.gotoAndStop("gotoLevel"); }
Symbol 240 Button
on (release) { if (_root.sounds) { _root.soundsOff(); } else { _root.soundsOn(); } }
Symbol 243 Button
on (release) { _root.level = "menu"; _root.gotoAndStop("gotoLevel"); }
Symbol 246 Button
on (release) { getURL ("http://armorgames.com", "_blank"); }
Symbol 249 Button
on (release) { getURL ("http://armorgames.com", "_blank"); }
Symbol 256 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 256 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 251 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 185 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 188 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 185 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 188 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 255 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 205 MovieClip "hero" in Symbol 256 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Symbol 268 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 268 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 185 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (load) { clr = "0xFD751C"; color = "orange"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (load) { clr = "0xFF3535"; color = "red"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 261 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (load) { clr = "0xFD751C"; color = "orange"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 262 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 263 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (load) { clr = "0xFF3535"; color = "red"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 264 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 265 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 205 MovieClip "hero" in Symbol 268 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Symbol 279 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 279 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 270 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 274 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 275 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 276 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 277 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 278 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 205 MovieClip "hero" in Symbol 279 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Instance of Symbol 188 MovieClip in Symbol 284 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 284 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Symbol 286 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 281 MovieClip "up_wall" in Symbol 286 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 281 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 188 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) { clr = "0xFD751C"; color = "orange"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 185 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) { clr = "0xFF3535"; color = "red"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) { clr = "0xFF3535"; color = "red"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 177 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 282 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) { clr = "0xFF3535"; color = "red"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 283 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 284 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 285 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 205 MovieClip "hero" in Symbol 286 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Symbol 293 MovieClip Frame 1
stop();
Symbol 299 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 299 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 299 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 299 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 173 MovieClip in Symbol 299 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 299 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 289 MovieClip in Symbol 299 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr1); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 293 MovieClip "dr1" in Symbol 299 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 295 MovieClip in Symbol 299 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 185 MovieClip in Symbol 299 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 205 MovieClip "hero" in Symbol 299 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Symbol 306 MovieClip Frame 1
stop();
Instance of Symbol 188 MovieClip in Symbol 308 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 308 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 308 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 308 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 308 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Symbol 312 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 301 MovieClip "up_wall" in Symbol 312 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 301 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 185 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; obj_arr = new Array(_root.all.dr1); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 306 MovieClip "dr1" in Symbol 312 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 185 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) { clr = "0xFF3535"; color = "red"; obj_arr = new Array(_root.all.dr3); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 185 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; obj_arr = new Array(_root.all.dr2); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 306 MovieClip "dr3" in Symbol 312 MovieClip Frame 1
onClipEvent (load) { clr = "0xFF3535"; color = "red"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 306 MovieClip "dr2" in Symbol 312 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 185 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) { clr = "0xFF3535"; color = "red"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; obj_arr = new Array(_root.all.dr4); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 306 MovieClip "dr4" in Symbol 312 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 307 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 308 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 309 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) { clr = "0xFF3535"; color = "red"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 310 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 311 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFFFF"; color = "white"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 205 MovieClip "hero" in Symbol 312 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Symbol 318 MovieClip Frame 1
stop();
Symbol 321 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 321 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 314 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 289 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr12); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 306 MovieClip "dr9" in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr1); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 318 MovieClip "dr1" in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 306 MovieClip "dr5" in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 306 MovieClip "dr4" in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr6); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr4); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr5); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 318 MovieClip "dr6" in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr8); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr7); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 306 MovieClip "dr7" in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 306 MovieClip "dr14" in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 320 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "white"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 318 MovieClip "dr11" in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr10); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 318 MovieClip "dr10" in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr11); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 318 MovieClip "dr12" in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr13); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 306 MovieClip "dr13" in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr14); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 306 MovieClip "dr8" in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr9); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 318 MovieClip "dr3" in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr2); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr3); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 318 MovieClip "dr2" in Symbol 321 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 205 MovieClip "hero" in Symbol 321 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Symbol 332 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 332 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 306 MovieClip "dr3" in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 318 MovieClip "dr2" in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr7); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 306 MovieClip "dr1" in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 318 MovieClip "dr7" in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 318 MovieClip "dr6" in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 318 MovieClip "dr5" in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 318 MovieClip "dr4" in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 324 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "white"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 185 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr4); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr3); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 185 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr6); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 185 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr2); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr5); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr1); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 325 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 326 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 327 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 328 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 329 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 169 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 331 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 205 MovieClip "hero" in Symbol 332 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Symbol 337 MovieClip Frame 1
stop();
Symbol 339 MovieClip Frame 1
stop();
Symbol 344 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 344 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 334 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 289 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr1); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 185 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 188 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 337 MovieClip "dr1" in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 337 MovieClip "dr11" in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 339 MovieClip "dr3" in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 339 MovieClip "dr9" in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 337 MovieClip "dr7" in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 337 MovieClip "dr5" in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 337 MovieClip "dr2" in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr2); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr4); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr9); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr8); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr10); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr3); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 185 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 337 MovieClip "dr12" in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 185 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr6); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr14); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 337 MovieClip "dr14" in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 339 MovieClip "dr10" in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 185 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr12); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr13); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 337 MovieClip "dr13" in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 339 MovieClip "dr6" in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 339 MovieClip "dr8" in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 340 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 341 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 342 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr7); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr11); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 343 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "white"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 337 MovieClip "dr4" in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr5); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 205 MovieClip "hero" in Symbol 344 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Symbol 349 MovieClip Frame 1
stop();
Symbol 361 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height + 200); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 361 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 346 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 289 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr2); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 185 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 349 MovieClip "dr1" in Symbol 361 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 349 MovieClip "dr2" in Symbol 361 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 349 MovieClip "dr3" in Symbol 361 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr1); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr3); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 185 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 354 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 355 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 358 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 359 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 360 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 205 MovieClip "hero" in Symbol 361 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Symbol 368 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 281 MovieClip "up_wall" in Symbol 368 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 281 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 185 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 177 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 205 MovieClip "hero" in Symbol 368 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Instance of Symbol 318 MovieClip "dur7" in Symbol 368 MovieClip Frame 1
onClipEvent (load) { clr = "0xFF3535"; color = "red"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 318 MovieClip "dur5" in Symbol 368 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 306 MovieClip "dur2" in Symbol 368 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 318 MovieClip "dur1" in Symbol 368 MovieClip Frame 1
onClipEvent (load) { clr = "0xFF3535"; color = "red"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 318 MovieClip "dur3" in Symbol 368 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 306 MovieClip "dur4" in Symbol 368 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 306 MovieClip "dur6" in Symbol 368 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 306 MovieClip "dur8" in Symbol 368 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 318 MovieClip "dur9" in Symbol 368 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 185 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dur1); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dur2); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dur3); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dur4); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dur5); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dur6); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dur7); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dur8); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dur9); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 362 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 363 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 364 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 365 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 366 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { color = "white"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 367 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 185 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Symbol 380 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 380 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 380 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 380 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 370 MovieClip in Symbol 380 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 380 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 376 MovieClip in Symbol 380 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 380 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 380 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 380 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 185 MovieClip in Symbol 380 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 380 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 378 MovieClip in Symbol 380 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 380 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 380 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 380 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 380 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 205 MovieClip "hero" in Symbol 380 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Symbol 394 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 394 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 382 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 387 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 387 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 387 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 387 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 387 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 387 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 387 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 387 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 185 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 387 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 387 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 387 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 387 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 390 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 391 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 392 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 393 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 205 MovieClip "hero" in Symbol 394 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Instance of Symbol 387 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Symbol 402 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 402 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 396 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 185 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 188 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 306 MovieClip "dr1" in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 306 MovieClip "dr2" in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 306 MovieClip "dr3" in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 306 MovieClip "dr4" in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 306 MovieClip "dr5" in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr3); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr2); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr1); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr5); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr4); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 185 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 401 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { color = "white"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 205 MovieClip "hero" in Symbol 402 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Symbol 407 MovieClip Frame 1
stop();
Symbol 412 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 412 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 404 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 289 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr3); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 185 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 376 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 349 MovieClip "dr2" in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 407 MovieClip "dr1" in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 407 MovieClip "dr4" in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 349 MovieClip "dr3" in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr4); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr2); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr1); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 185 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 408 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 409 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 410 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 411 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 205 MovieClip "hero" in Symbol 412 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Instance of Symbol 319 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Symbol 615 MovieClip Frame 1
stop();
Symbol 618 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 618 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 618 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 618 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip in Symbol 618 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 618 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp1" in Symbol 618 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj = _parent.tp2; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp2" in Symbol 618 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj = _parent.tp1; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 616 MovieClip in Symbol 618 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 205 MovieClip "hero" in Symbol 618 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Symbol 626 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 626 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 626 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 626 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 620 MovieClip in Symbol 626 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 626 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp1" in Symbol 626 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj = _parent.tp2; ugol = 0; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp2" in Symbol 626 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj = _parent.tp1; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 205 MovieClip "hero" in Symbol 626 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Instance of Symbol 185 MovieClip in Symbol 626 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 615 MovieClip "tp3" in Symbol 626 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp4; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp4" in Symbol 626 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp3; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 621 MovieClip in Symbol 626 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 622 MovieClip in Symbol 626 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 623 MovieClip in Symbol 626 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 624 MovieClip in Symbol 626 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 625 MovieClip in Symbol 626 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 185 MovieClip in Symbol 626 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 615 MovieClip "tp5" in Symbol 626 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj = _parent.tp6; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp6" in Symbol 626 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj = _parent.tp5; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Symbol 630 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 630 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 630 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 628 MovieClip in Symbol 630 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 630 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp1" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp2; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp19" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp20; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp20" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp19; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp11" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp12; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp10" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp9; ugol = 0; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp17" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp18; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp29" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp30; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp8" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp7; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp25" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp26; ugol = 0; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp31" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp32; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp16" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp15; ugol = 0; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp22" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp21; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp6" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp5; ugol = 0; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp3" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp4; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp28" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp27; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp7" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp8; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp9" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp10; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp23" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp24; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp14" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp13; ugol = 0; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp24" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp23; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp30" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp29; ugol = 0; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp21" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp22; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp27" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp28; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp32" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp31; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp4" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp3; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp12" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp11; ugol = 0; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp26" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp25; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp13" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp14; ugol = 0; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp2" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp1; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp18" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp17; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp5" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp6; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp15" in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp16; ugol = 0; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 205 MovieClip "hero" in Symbol 630 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Instance of Symbol 629 MovieClip in Symbol 630 MovieClip Frame 1
onClipEvent (load) { color = "white"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Symbol 638 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp24" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp23; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp20" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp19; ugol = 0; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp8" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj = _parent.tp7; ugol = 0; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp12" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj = _parent.tp11; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp28" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj = _parent.tp27; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp100" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj = _parent.tp101; ugol = 0; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp22" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj = _parent.tp21; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp30" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj = _parent.tp29; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp18" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj = _parent.tp17; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp32" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj = _parent.tp31; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp6" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp5; ugol = 0; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp26" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj = _parent.tp25; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp29" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj = _parent.tp30; ugol = 0; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp2" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj = _parent.tp1; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp31" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj = _parent.tp32; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp27" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj = _parent.tp28; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp14" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj = _parent.tp13; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp10" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj = _parent.tp9; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 185 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 615 MovieClip "tp4" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj = _parent.tp3; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 185 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 631 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "white"; clr = "0x33FF66"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 632 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "white"; clr = "0xFF33FF"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 633 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 615 MovieClip "tp101" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj = _parent.tp100; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp1" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj = _parent.tp2; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp3" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj = _parent.tp4; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp5" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp6; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp7" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj = _parent.tp8; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp9" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj = _parent.tp10; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp11" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj = _parent.tp12; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp13" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj = _parent.tp14; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp15" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj = _parent.tp16; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp17" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj = _parent.tp18; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp19" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp20; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp21" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj = _parent.tp22; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp16" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj = _parent.tp15; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp23" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp24; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp25" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj = _parent.tp26; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 185 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 634 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "white"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 319 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 319 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 319 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 205 MovieClip "hero" in Symbol 638 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Symbol 640 MovieClip Frame 1
stop();
Symbol 641 MovieClip Frame 1
stop();
Symbol 649 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 649 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 185 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 640 MovieClip "dr1" in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr1); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 615 MovieClip "tp6" in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj = _parent.tp5; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp3" in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp4; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 185 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 615 MovieClip "tp8" in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj = _parent.tp7; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 185 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 615 MovieClip "tp1" in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp2; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 185 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 615 MovieClip "tp11" in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj = _parent.tp12; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp10" in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj = _parent.tp9; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp9" in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj = _parent.tp10; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp7" in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj = _parent.tp8; ugol = 0; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp12" in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj = _parent.tp11; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 289 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr2); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 615 MovieClip "tp2" in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp1; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 185 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 615 MovieClip "tp4" in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp3; ugol = 0; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp5" in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj = _parent.tp6; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 641 MovieClip "dr2" in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 185 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 644 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 645 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 646 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 647 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 648 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 205 MovieClip "hero" in Symbol 649 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Symbol 658 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 658 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 651 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 387 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 387 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 387 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 387 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 387 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 387 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 387 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 387 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 387 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 387 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 615 MovieClip "tp1" in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj = _parent.tp2; ugol = 0; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp2" in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj = _parent.tp1; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp5" in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj = _parent.tp6; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp3" in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp4; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 185 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 615 MovieClip "tp6" in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj = _parent.tp5; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp12" in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj = _parent.tp11; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp8" in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp7; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp7" in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp8; ugol = 0; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp11" in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj = _parent.tp12; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp4" in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp3; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 652 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 653 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 654 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 655 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 656 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 657 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "white"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 205 MovieClip "hero" in Symbol 658 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Instance of Symbol 185 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 376 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 387 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 387 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Symbol 663 MovieClip Frame 1
stop();
Symbol 664 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 664 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 664 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 664 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip in Symbol 664 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 664 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 205 MovieClip "hero" in Symbol 664 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Instance of Symbol 660 MovieClip in Symbol 664 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 663 MovieClip "dur5" in Symbol 664 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Symbol 666 MovieClip Frame 1
stop();
Symbol 669 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 669 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 669 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip in Symbol 669 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 669 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 205 MovieClip "hero" in Symbol 669 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 666 MovieClip "dur5" in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 668 MovieClip in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 668 MovieClip in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 668 MovieClip in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 668 MovieClip in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 668 MovieClip in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 668 MovieClip in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 668 MovieClip in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 668 MovieClip in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 668 MovieClip in Symbol 669 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Symbol 672 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 672 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 672 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 672 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip in Symbol 672 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 185 MovieClip in Symbol 672 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 672 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 672 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 663 MovieClip "dur5" in Symbol 672 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 663 MovieClip "dur5" in Symbol 672 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 177 MovieClip in Symbol 672 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 205 MovieClip "hero" in Symbol 672 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Instance of Symbol 185 MovieClip in Symbol 672 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 672 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 660 MovieClip in Symbol 672 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 660 MovieClip in Symbol 672 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 660 MovieClip in Symbol 672 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 660 MovieClip in Symbol 672 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 663 MovieClip "dur5" in Symbol 672 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 663 MovieClip "dur5" in Symbol 672 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 663 MovieClip "dur5" in Symbol 672 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 663 MovieClip "dur5" in Symbol 672 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 663 MovieClip "dur5" in Symbol 672 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 663 MovieClip "dur5" in Symbol 672 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 663 MovieClip "dur5" in Symbol 672 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 663 MovieClip "dur5" in Symbol 672 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Symbol 684 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 684 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 674 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 306 MovieClip "dr5" in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 185 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr5); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr2); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 185 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr1); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 185 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 306 MovieClip "dr1" in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 306 MovieClip "dr2" in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr3); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 306 MovieClip "dr3" in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 615 MovieClip "tp4" in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj = _parent.tp3; ugol = 0; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp3" in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj = _parent.tp4; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 387 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 615 MovieClip "tp6" in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp5; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp5" in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj = _parent.tp6; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp7" in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj = _parent.tp8; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp8" in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj = _parent.tp7; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 185 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 615 MovieClip "tp1" in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj = _parent.tp2; ugol = 0; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp2" in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj = _parent.tp1; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 675 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 678 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 679 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 680 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "white"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 681 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 682 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 205 MovieClip "hero" in Symbol 684 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Instance of Symbol 683 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "white"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 615 MovieClip "tp101" in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj = _parent.tp102; ugol = -90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 185 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 615 MovieClip "tp102" in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj = _parent.tp101; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 376 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 185 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Symbol 693 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 693 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 686 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 318 MovieClip "dr1" in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 318 MovieClip "dr2" in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 318 MovieClip "dr3" in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 318 MovieClip "dr4" in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 318 MovieClip "dr5" in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr3); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr4); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr1); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr5); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 185 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 615 MovieClip "tp2" in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj = _parent.tp1; ugol = 0; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tp1" in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj = _parent.tp2; ugol = 180; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 185 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr7); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 185 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 376 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr6); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 349 MovieClip "dr6" in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 407 MovieClip "dr7" in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr2); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 376 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 687 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 688 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 689 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 690 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 691 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 692 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { color = "white"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 205 MovieClip "hero" in Symbol 693 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Symbol 701 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 701 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 331 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 289 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr2); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 407 MovieClip "dr6" in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dur2); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr12); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 185 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 407 MovieClip "dr10" in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr11); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "fiol"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr3); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 349 MovieClip "dr3" in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "fiol"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 349 MovieClip "dr2" in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 177 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 407 MovieClip "dr5" in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 407 MovieClip "dr4" in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "fiol"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "fiol"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 349 MovieClip "dr8" in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dur2); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 185 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "fiol"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "fiol"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "left"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 349 MovieClip "dr11" in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 185 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr8); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 185 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "right"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 407 MovieClip "dr12" in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 349 MovieClip "dr7" in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 177 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 615 MovieClip "tpp2" in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj = _parent.tpp1; ugol = 90; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dur2); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 407 MovieClip "dr9" in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 289 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr5); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 185 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr9); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "fiol"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr4); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 185 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 615 MovieClip "tpp1" in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj = _parent.tpp2; ugol = 0; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { if ((((_root.all.hero.porting == false) && (this.color == _root.hero_color)) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.change_color(obj.color, obj.clr); obj.active = false; r = obj.ugol; if ((r == 0) or (r == 180)) { r = r - 180; } g = 35; xx = g * Math.sin(r * (Math.PI/180)); yy = g * Math.cos(r * (Math.PI/180)); _root.all.hero.portIn(xx, yy, obj); _root.all.hero._x = obj._x; _root.all.hero._y = obj._y; gotoAndPlay ("in"); } else { this.active = true; } }
Instance of Symbol 289 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr1); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 349 MovieClip "dr1" in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 694 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "white"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 695 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 696 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "orange"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 697 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 698 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 699 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 700 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "fiol"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "up"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 376 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); type = "one"; cord = "down"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 205 MovieClip "hero" in Symbol 701 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Symbol 707 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 707 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr1); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 289 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dr2); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 339 MovieClip "dr1" in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 337 MovieClip "dr2" in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 702 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "green"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 703 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "yellow"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 704 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 705 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "red"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 706 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "white"; clr = _root.getClr(color); } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 185 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 205 MovieClip "hero" in Symbol 707 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Symbol 708 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 708 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 708 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 708 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip in Symbol 708 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 177 MovieClip in Symbol 708 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 205 MovieClip "hero" in Symbol 708 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Instance of Symbol 289 MovieClip in Symbol 708 MovieClip Frame 1
onClipEvent (load) { color = "blue"; clr = _root.getClr(color); obj_arr = new Array(_root.all.dur2); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 185 MovieClip in Symbol 708 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 306 MovieClip "dr4" in Symbol 708 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Symbol 711 MovieClip Frame 1
var bmpd = flash.display.BitmapData.loadBitmap("bg"); with (bbg) { matrix = new flash.geom.Matrix(); repeat = true; smoothing = true; beginBitmapFill(bmpd, matrix, repeat, smoothing); moveTo(0, 0); lineTo(0, _root.level_height); lineTo(_root.level_width, _root.level_height); lineTo(_root.level_width, 0); lineTo(0, 0); endFill(); }
Instance of Symbol 169 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 711 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 188 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 177 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { this.active = true; tr = true; } onClipEvent (enterFrame) { if (tr && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.setScore(); tr = false; _root.all.hero.isDown = false; _root.all.hero.mousex = _x; _root.all.hero.mousey = _y; this.gotoAndPlay("finish"); _root.finotype = finotype; _root.all.hero.gotoAndPlay("finish"); } else { this.active = true; } }
Instance of Symbol 185 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; obj_arr = new Array(_root.all.dr1); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 306 MovieClip "dr1" in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 185 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0xFF3535"; color = "red"; obj_arr = new Array(_root.all.dr3); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 188 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0xFF3535"; color = "red"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 185 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; obj_arr = new Array(_root.all.dr2); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 188 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFFFF"; color = "white"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFFFF"; color = "white"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFFFF"; color = "white"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 306 MovieClip "dr3" in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0xFF3535"; color = "red"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 306 MovieClip "dr2" in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0xFF3535"; color = "red"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 185 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0xFF3535"; color = "red"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; obj_arr = new Array(_root.all.dr4); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 188 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 306 MovieClip "dr4" in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 710 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 205 MovieClip "hero" in Symbol 711 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Instance of Symbol 169 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 169 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip "up_wall" in Symbol 714 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 171 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 188 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 177 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (enterFrame) { }
Instance of Symbol 713 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; obj_arr = new Array(_root.all.dr1); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 306 MovieClip "dr1" in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 713 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0xFF3535"; color = "red"; obj_arr = new Array(_root.all.dr3); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 188 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0xFF3535"; color = "red"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0x99FF00"; color = "green"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 713 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; obj_arr = new Array(_root.all.dr2); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 188 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFFFF"; color = "white"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFFFF"; color = "white"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFFFF"; color = "white"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 306 MovieClip "dr3" in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0xFF3535"; color = "red"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 306 MovieClip "dr2" in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0xFF3535"; color = "red"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 188 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 713 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0xFF3535"; color = "red"; } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((_root.hero_color != color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { _root.all.hero.gotoAndPlay("got"); _root.change_color(color, clr); if (_root.sounds) { _root.spotSound.start(); } } }
Instance of Symbol 289 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; obj_arr = new Array(_root.all.dr4); } onClipEvent (load) { this.active = true; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (((this.color == _root.hero_color) && (this.active)) && (this.hitTest(_root.all._x + _root.all.hero._x, _root.all._y + _root.all.hero._y, true))) { i = 0; while (i < obj_arr.length) { obj = obj_arr[i]; obj.alpha = -10; if (_root.sounds) { _root.keySound.start(); } obj.active = false; i++; } this.active = false; this._visible = false; } }
Instance of Symbol 188 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0xFFFF00"; color = "yellow"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 306 MovieClip "dr4" in Symbol 714 MovieClip Frame 1
onClipEvent (load) { clr = "0x0066FF"; color = "blue"; type = "locked"; } onClipEvent (load) { _root.to_hit.push(this._name); active = true; if (((color == _root.hero_color) && (type != "locked")) && (type != "one")) { _alpha = 40; } } onClipEvent (enterFrame) { if (type == "one") { if (body._alpha != alpha) { if (alpha == 40) { alpha = 0; } body._alpha = body._alpha + ((alpha - body._alpha) * 0.5); } } else if (_alpha != alpha) { _alpha = (_alpha + ((alpha - _alpha) * 0.5)); } }
Instance of Symbol 205 MovieClip "hero" in Symbol 714 MovieClip Frame 1
onClipEvent (mouseDown) { } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (!_root.pauser) { return(false); } if (porting) { desty = (Stage.height / 2) - _root.all.hero._y; destx = (Stage.width / 2) - _root.all.hero._x; _dy = Math.round(desty - _root.all._y); _dx = Math.round(destx - _root.all._x); if ((((_root.masdestx > -3) && (_root.masdestx < 3)) && (_root.masdesty > -3)) && (_root.masdesty < 3)) { _visible = true; porting = false; f_vector.x = port_x; f_vector.y = port_y; isDown = true; if (_root.sounds) { _root.portoutSound.start(); } obj.gotoAndPlay("in"); } else { return(undefined); } } if (isDown) { var myPoint = {x:_root._xmouse, y:_root._ymouse}; _root.all.globalToLocal(myPoint); mousex = myPoint.x; mousey = myPoint.y; go = true; } if (go) { if ((f_vector.x < 0.5) && (f_vector.x > -0.5)) { msx = (mousex - _x) * 0.08; if (msx > 19) { msx = 19; } if (msx < -19) { msx = -19; } vector.x = msx; } if ((f_vector.y < 0.5) && (f_vector.y > -0.5)) { msy = (mousey - _y) * 0.08; if (msy > 19) { msy = 19; } if (msy < -19) { msy = -19; } vector.y = msy; } delta_x = _x - mousex; delta_y = _y - mousey; a = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); tz = _rotation; az = a; if (Math.abs(az - tz) > 180) { if (tz < 0) { tz = 180 + (180 - Math.abs(tz)); } if (az < 0) { az = 180 + (180 - Math.abs(az)); } } _rotation = (_rotation + ((az - tz) * 0.2)); } _xscale = (_xscale + ((xscale - _xscale) * 0.1)); _yscale = _xscale; _x = (_x + (vector.x + f_vector.x)); _y = (_y + (vector.y + f_vector.y)); vector.x = vector.x * 0.7; vector.y = vector.y * 0.7; f_vector.x = f_vector.x * 0.5; f_vector.y = f_vector.y * 0.5; i = 0; while (i < _root.to_hit.length) { obj = _root.all[_root.to_hit[i]]; if (obj.type == "one") { dlt_x = vector.x - oldvector.x; dlt_y = vector.y - oldvector.y; cord = (-Math.atan2(dlt_x, dlt_y)) / (Math.PI/180); if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (((((obj.color != _root.hero_color) or ((obj.cord == "left") && (vector.x > 0))) or ((obj.cord == "right") && (vector.x < 0))) or ((obj.cord == "up") && (vector.y > 0))) or ((obj.cord == "down") && (vector.y < 0))) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } } else if (((obj.color != _root.hero_color) && (obj.active)) or ((obj.type == "locked") && (obj.active))) { if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { _root.damagetime = _root.damagetime + 5000; _root.hero_hp = _root.hero_hp - (5 + random(10)); f_vector.x = (-vector.x) * 2; f_vector.y = (-vector.y) * 2; vector.x = 0; vector.y = 0; boomka(_root.all.hero._x, _root.all.hero._y, obj.clr); if (_root.sounds) { _root.wallSound.start(); } break; } } i++; } i = 0; while (i < _root.to_hit_walls.length) { obj = _root.to_hit_walls[i]; if (obj.hitTest(_root.all.hero._x + _root.all._x, _root.all.hero._y + _root.all._y, true)) { if (obj.tp == "y") { f_vector.y = (-vector.y) * 2; vector.y = 0; } if (obj.tp == "x") { f_vector.x = (-vector.x) * 2; vector.x = 0; } } i++; } oldvector.x = vector.x; oldvector.y = vector.y; } onClipEvent (load) { function to() { isDown = true; } function portIn(xx, yy, objec) { if (_root.sounds) { _root.portinSound.start(); } obj = objec; _visible = false; port_x = xx; port_y = yy; isDown = false; porting = true; } function boomka(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("boombastik", "boombastik" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, _width:100, _height:100, color:clr}); } function boom(x, y, clr) { _root.particle_dp++; tx = random(8) - 4; if (tx == 0) { tx = 1; } ty = random(8) - 4; if (ty == 0) { ty = 1; } rot = Math.atan2(tx, ty) / (Math.PI/180); _root.all.attachMovie("hero_particle2", "hero_particle" + _root.particle_dp, _root.particle_dp, {_x:x, _y:y, vectorX:tx, vectorY:ty, color:clr, rot:rot, _rotation:rot}); } stop(); var obj; port_x = 0; port_y = 0; oldvector = {x:0, y:0}; vector = {x:0, y:0}; f_vector = {x:0, y:0}; isDown = false; _x = _parent.ingame._x; _y = _parent.ingame._y; porting = false; }
Symbol 716 Button
on (release) { _root.openAddToWebsiteLink(); }

Library Items

Symbol 1 Sound [loop]
Symbol 2 Sound [portout1.mp3]
Symbol 3 Sound [port2.mp3]
Symbol 4 Sound [port1.mp3]
Symbol 5 Sound [pop3.wav]
Symbol 6 Sound [pop]
Symbol 7 Sound [spot]
Symbol 8 Sound [menu]
Symbol 9 Sound [dri]
Symbol 10 Sound [sfxBell]
Symbol 11 Sound [DM-WOD]
Symbol 12 Sound [clav1]
Symbol 13 Sound [block]
Symbol 14 Sound [hit]
Symbol 15 Sound [wall]
Symbol 16 Bitmap [bg]Used by:30 168 170 172 174 175 250 269 280 300 313 330 333 345 369 381 395 403 619 627 650 673 685
Symbol 17 VideoUsed by:18
Symbol 18 MovieClip [boombastik]Uses:17
Symbol 19 BitmapUsed by:20
Symbol 20 GraphicUses:19Used by:21
Symbol 21 MovieClip [libGlow]Uses:20
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClip [Login_ico1]Uses:22
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClip [dn]Uses:24
Symbol 26 GraphicUsed by:27
Symbol 27 MovieClipUses:26Used by:28 29
Symbol 28 MovieClip [hero_particle2]Uses:27Used by:Timeline
Symbol 29 MovieClip [hero_particle]Uses:27Used by:Timeline
Symbol 30 GraphicUses:16Used by:31 71 716
Symbol 31 MovieClipUses:30Used by:71 716  Timeline
Symbol 32 GraphicUsed by:35
Symbol 33 GraphicUsed by:34 157
Symbol 34 MovieClipUses:33Used by:35
Symbol 35 MovieClipUses:32 34Used by:38
Symbol 36 FontUsed by:37
Symbol 37 TextUses:36Used by:38
Symbol 38 MovieClipUses:35 37Used by:Timeline
Symbol 39 GraphicUsed by:40 108
Symbol 40 MovieClipUses:39Used by:43
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClipUses:41Used by:43
Symbol 43 MovieClipUses:40 42Used by:45
Symbol 44 SoundUsed by:45
Symbol 45 MovieClipUses:43 44Used by:Timeline
Symbol 717 MovieClip [__Packages.mochi.as2.MochiAd]
Symbol 46 GraphicUsed by:61 122 248 249
Symbol 47 GraphicUsed by:61 122 248 249
Symbol 48 GraphicUsed by:61 122 248 249
Symbol 49 SoundUsed by:61
Symbol 50 SoundUsed by:61
Symbol 51 GraphicUsed by:61
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClipUses:52Used by:61
Symbol 54 SoundUsed by:61
Symbol 55 SoundUsed by:61
Symbol 56 SoundUsed by:61
Symbol 57 GraphicUsed by:58
Symbol 58 ButtonUses:57Used by:61
Symbol 59 SoundUsed by:61
Symbol 60 SoundUsed by:61
Symbol 61 MovieClipUses:46 47 48 49 50 51 53 54 55 56 58 59 60Used by:Timeline
Symbol 62 GraphicUsed by:63 64
Symbol 63 MovieClipUses:62Used by:64
Symbol 64 ButtonUses:63 62Used by:Timeline
Symbol 65 GraphicUsed by:67
Symbol 66 GraphicUsed by:67
Symbol 67 ButtonUses:65 66Used by:71 716
Symbol 68 FontUsed by:70 72 73 216 218 715
Symbol 69 FontUsed by:70 715
Symbol 70 TextUses:68 69Used by:71
Symbol 71 ButtonUses:31 67 70 30Used by:Timeline
Symbol 72 TextUses:68Used by:Timeline
Symbol 73 TextUses:68Used by:74
Symbol 74 MovieClipUses:73Used by:Timeline
Symbol 75 GraphicUsed by:Timeline
Symbol 76 GraphicUsed by:77 83
Symbol 77 MovieClipUses:76Used by:78 79 83
Symbol 78 MovieClipUses:77Used by:83
Symbol 79 MovieClipUses:77Used by:83
Symbol 80 GraphicUsed by:83
Symbol 81 SoundUsed by:83 89 95 101 107 129
Symbol 82 SoundUsed by:83 89 95 101 107 129
Symbol 83 ButtonUses:78 77 79 80 76 81 82Used by:Timeline
Symbol 84 GraphicUsed by:85 89
Symbol 85 MovieClipUses:84Used by:86 87 89
Symbol 86 MovieClipUses:85Used by:89
Symbol 87 MovieClipUses:85Used by:89
Symbol 88 GraphicUsed by:89
Symbol 89 ButtonUses:86 85 87 88 84 81 82Used by:Timeline
Symbol 90 GraphicUsed by:91 95
Symbol 91 MovieClipUses:90Used by:92 93 95
Symbol 92 MovieClipUses:91Used by:95
Symbol 93 MovieClipUses:91Used by:95
Symbol 94 GraphicUsed by:95
Symbol 95 ButtonUses:92 91 93 94 90 81 82Used by:Timeline
Symbol 96 GraphicUsed by:97 101
Symbol 97 MovieClipUses:96Used by:98 99 101
Symbol 98 MovieClipUses:97Used by:101
Symbol 99 MovieClipUses:97Used by:101
Symbol 100 GraphicUsed by:101
Symbol 101 ButtonUses:98 97 99 100 96 81 82Used by:Timeline
Symbol 102 GraphicUsed by:103 107
Symbol 103 MovieClipUses:102Used by:104 105 107
Symbol 104 MovieClipUses:103Used by:107
Symbol 105 MovieClipUses:103Used by:107
Symbol 106 GraphicUsed by:107
Symbol 107 ButtonUses:104 103 105 106 102 81 82Used by:Timeline
Symbol 108 MovieClipUses:39Used by:111
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClipUses:109Used by:111
Symbol 111 MovieClipUses:108 110Used by:112
Symbol 112 MovieClipUses:111Used by:Timeline
Symbol 113 GraphicUsed by:121 222
Symbol 114 GraphicUsed by:115
Symbol 115 MovieClipUses:114Used by:121 222
Symbol 116 FontUsed by:117
Symbol 117 TextUses:116Used by:121
Symbol 118 BitmapUsed by:119
Symbol 119 GraphicUses:118Used by:120 215
Symbol 120 ButtonUses:119Used by:121
Symbol 121 MovieClipUses:113 115 117 120Used by:Timeline
Symbol 122 ButtonUses:46 47 48Used by:Timeline
Symbol 123 GraphicUsed by:124
Symbol 124 MovieClipUses:123Used by:Timeline
Symbol 125 GraphicUsed by:126 129
Symbol 126 MovieClipUses:125Used by:127
Symbol 127 MovieClipUses:126Used by:129
Symbol 128 GraphicUsed by:129
Symbol 129 ButtonUses:127 128 125 81 82Used by:Timeline
Symbol 130 GraphicUsed by:131
Symbol 131 MovieClipUses:130Used by:Timeline
Symbol 132 FontUsed by:133 136
Symbol 133 EditableTextUses:132Used by:Timeline
Symbol 134 GraphicUsed by:135
Symbol 135 MovieClipUses:134Used by:Timeline
Symbol 136 EditableTextUses:132Used by:Timeline
Symbol 137 GraphicUsed by:138
Symbol 138 MovieClipUses:137Used by:143
Symbol 139 GraphicUsed by:140
Symbol 140 MovieClipUses:139Used by:143
Symbol 141 GraphicUsed by:142
Symbol 142 MovieClipUses:141Used by:143
Symbol 143 MovieClipUses:138 140 142Used by:Timeline
Symbol 144 GraphicUsed by:145 148
Symbol 145 MovieClipUses:144Used by:146
Symbol 146 MovieClipUses:145Used by:148
Symbol 147 GraphicUsed by:148
Symbol 148 ButtonUses:146 147 144Used by:Timeline
Symbol 149 GraphicUsed by:150 153
Symbol 150 MovieClipUses:149Used by:151
Symbol 151 MovieClipUses:150Used by:153
Symbol 152 GraphicUsed by:153
Symbol 153 ButtonUses:151 152 149Used by:Timeline
Symbol 154 GraphicUsed by:155 157
Symbol 155 MovieClipUses:154Used by:156
Symbol 156 MovieClipUses:155Used by:157
Symbol 157 ButtonUses:156 33 154Used by:Timeline
Symbol 158 FontUsed by:159 164 165
Symbol 159 EditableTextUses:158Used by:Timeline
Symbol 160 GraphicUsed by:161
Symbol 161 MovieClipUses:160Used by:Timeline
Symbol 162 GraphicUsed by:163
Symbol 163 MovieClipUses:162Used by:Timeline
Symbol 164 EditableTextUses:158Used by:Timeline
Symbol 165 TextUses:158Used by:166
Symbol 166 MovieClipUses:165Used by:Timeline
Symbol 167 MovieClipUsed by:206 256 268 279 286 299 312 321 332 344 361 368 380 394 402 412 618 626 630 638 649 658 664 669 672 684 693 701 707 708 711 714
Symbol 168 GraphicUses:16Used by:169
Symbol 169 MovieClipUses:168Used by:206 256 268 279 286 299 312 321 332 344 361 368 380 394 402 412 618 626 630 638 649 658 664 669 672 684 693 701 707 708 711 714
Symbol 170 GraphicUses:16Used by:171
Symbol 171 MovieClipUses:170Used by:206 256 268 279 299 321 332 344 361 380 394 402 412 618 626 630 638 649 658 664 669 672 684 693 701 707 708 711 714
Symbol 172 GraphicUses:16Used by:173
Symbol 173 MovieClipUses:172Used by:206 299
Symbol 174 GraphicUses:16Used by:177
Symbol 175 GraphicUses:16Used by:177
Symbol 176 SoundUsed by:177
Symbol 177 MovieClipUses:174 175 176Used by:206 256 268 279 286 299 312 321 332 344 361 368 380 394 402 412 618 626 630 638 649 658 664 669 672 684 693 701 707 708 711 714
Symbol 178 GraphicUsed by:182
Symbol 179 GraphicUsed by:180 181 227
Symbol 180 MovieClipUses:179Used by:182
Symbol 181 MovieClipUses:179Used by:182
Symbol 182 MovieClipUses:178 180 181Used by:206 256 268 279 286 299 312 321 332 344 361 368 380 394 402 412 618 626 630 638 649 658 664 669 672 684 693 701 707 708 711 714
Symbol 183 BitmapUsed by:184
Symbol 184 GraphicUses:183Used by:185
Symbol 185 MovieClipUses:184Used by:206 256 268 279 286 299 312 332 344 361 368 380 394 402 412 626 638 649 658 672 684 693 701 707 708 711
Symbol 186 BitmapUsed by:187 254 259 350 377
Symbol 187 GraphicUses:186Used by:188 625
Symbol 188 MovieClipUses:187Used by:189 256 261 262 263 264 265 274 275 276 277 278 282 283 284 285 286 307 308 309 310 311 312 320 324 325 326 327 328 329 340 341 342 343 344 354 358 359 360 362 363 364 365 366 367 390 391 392 393 394 401 402 410 616 621 622 623 624 631 632 633 634 635 638 652 654 655 656 664 675 678 679 680 681 682 683 687 688 689 690 691 692 693 694 695 696 697 698 699 700 708 711 714
Symbol 189 MovieClipUses:188Used by:206
Symbol 190 BitmapUsed by:191 252 257 302 322 388 397
Symbol 191 GraphicUses:190Used by:192 315
Symbol 192 MovieClipUses:191Used by:206 299 618 664
Symbol 193 FontUsed by:194 195 266 267 379 617
Symbol 194 TextUses:193Used by:206
Symbol 195 TextUses:193Used by:206
Symbol 196 GraphicUsed by:205
Symbol 197 GraphicUsed by:198 199
Symbol 198 MovieClipUses:197Used by:205
Symbol 199 MovieClipUses:197Used by:205
Symbol 200 GraphicUsed by:205
Symbol 201 GraphicUsed by:205
Symbol 202 GraphicUsed by:205
Symbol 203 GraphicUsed by:205
Symbol 204 GraphicUsed by:205
Symbol 205 MovieClipUses:196 198 199 200 201 202 203 204Used by:206 256 268 279 286 299 312 321 332 344 361 368 380 394 402 412 618 626 630 638 649 658 664 669 672 684 693 701 707 708 711 714
Symbol 206 MovieClipUses:167 169 171 173 177 182 185 189 192 194 195 205Used by:Timeline
Symbol 207 FontUsed by:208
Symbol 208 EditableTextUses:207Used by:209
Symbol 209 MovieClipUses:208Used by:210
Symbol 210 MovieClipUses:209Used by:Timeline
Symbol 211 BitmapUsed by:212
Symbol 212 GraphicUses:211Used by:214
Symbol 213 SoundUsed by:214 235
Symbol 214 ButtonUses:212 213Used by:222
Symbol 215 ButtonUses:119Used by:222
Symbol 216 EditableTextUses:68Used by:217
Symbol 217 MovieClipUses:216Used by:222
Symbol 218 TextUses:68Used by:219
Symbol 219 MovieClipUses:218Used by:221
Symbol 220 SoundUsed by:221
Symbol 221 MovieClipUses:219 220Used by:222
Symbol 222 MovieClipUses:113 115 214 215 217 221Used by:Timeline
Symbol 223 MovieClipUsed by:247
Symbol 224 GraphicUsed by:227
Symbol 225 BitmapUsed by:226 294 352 356 399
Symbol 226 GraphicUses:225Used by:227 319
Symbol 227 ButtonUses:179 224 226Used by:247
Symbol 228 GraphicUsed by:229
Symbol 229 MovieClipUses:228Used by:247
Symbol 230 GraphicUsed by:231
Symbol 231 MovieClipUses:230Used by:247
Symbol 232 FontUsed by:233 236 239 241 244
Symbol 233 TextUses:232Used by:235
Symbol 234 GraphicUsed by:235
Symbol 235 ButtonUses:233 234 213Used by:247
Symbol 236 TextUses:232Used by:238
Symbol 237 GraphicUsed by:238 240
Symbol 238 ButtonUses:236 237Used by:247
Symbol 239 TextUses:232Used by:240
Symbol 240 ButtonUses:239 237Used by:247
Symbol 241 TextUses:232Used by:243
Symbol 242 GraphicUsed by:243
Symbol 243 ButtonUses:241 242Used by:247
Symbol 244 TextUses:232Used by:246
Symbol 245 GraphicUsed by:246
Symbol 246 ButtonUses:244 245Used by:247
Symbol 247 MovieClipUses:223 227 229 231 235 238 240 243 246Used by:Timeline
Symbol 248 MovieClipUses:46 47 48Used by:249
Symbol 249 ButtonUses:248 46 47 48Used by:Timeline
Symbol 250 GraphicUses:16Used by:251
Symbol 251 MovieClipUses:250Used by:256
Symbol 252 GraphicUses:190Used by:253
Symbol 253 MovieClipUses:252Used by:256 380 412 626
Symbol 254 GraphicUses:186Used by:255
Symbol 255 MovieClipUses:254Used by:256
Symbol 256 MovieClipUses:167 169 171 251 177 182 185 188 253 255 205Used by:Timeline
Symbol 257 GraphicUses:190Used by:258
Symbol 258 MovieClipUses:257Used by:268 286 368 638
Symbol 259 GraphicUses:186Used by:260
Symbol 260 MovieClipUses:259Used by:261 262 283
Symbol 261 MovieClipUses:188 260Used by:268
Symbol 262 MovieClipUses:188 260Used by:268
Symbol 263 MovieClipUses:188Used by:268
Symbol 264 MovieClipUses:188Used by:268
Symbol 265 MovieClipUses:188Used by:268
Symbol 266 EditableTextUses:193Used by:268
Symbol 267 EditableTextUses:193Used by:268
Symbol 268 MovieClipUses:167 169 171 177 258 185 182 261 262 263 264 265 266 267 205Used by:Timeline
Symbol 269 GraphicUses:16Used by:270
Symbol 270 MovieClipUses:269Used by:279
Symbol 271 BitmapUsed by:272
Symbol 272 GraphicUses:271Used by:273
Symbol 273 MovieClipUses:272Used by:274 275 276 277 278
Symbol 274 MovieClipUses:188 273Used by:279
Symbol 275 MovieClipUses:188 273Used by:279
Symbol 276 MovieClipUses:188 273Used by:279
Symbol 277 MovieClipUses:188 273Used by:279
Symbol 278 MovieClipUses:188 273Used by:279
Symbol 279 MovieClipUses:167 169 171 270 177 182 185 274 275 276 277 278 205Used by:Timeline
Symbol 280 GraphicUses:16Used by:281
Symbol 281 MovieClipUses:280Used by:286 368
Symbol 282 MovieClipUses:188Used by:286
Symbol 283 MovieClipUses:188 260Used by:286
Symbol 284 MovieClipUses:188Used by:286
Symbol 285 MovieClipUses:188Used by:286
Symbol 286 MovieClipUses:167 169 281 188 182 185 177 258 282 283 284 285 205Used by:Timeline
Symbol 287 BitmapUsed by:288
Symbol 288 GraphicUses:287Used by:289
Symbol 289 MovieClipUses:288Used by:299 312 321 332 344 361 368 402 412 649 684 693 701 707 708 711 714
Symbol 290 GraphicUsed by:293 640 641
Symbol 291 GraphicUsed by:293 640 641
Symbol 292 GraphicUsed by:293
Symbol 293 MovieClipUses:290 291 292Used by:299
Symbol 294 GraphicUses:225Used by:295
Symbol 295 MovieClipUses:294Used by:299
Symbol 296 FontUsed by:297 298
Symbol 297 TextUses:296Used by:299
Symbol 298 TextUses:296Used by:299
Symbol 299 MovieClipUses:167 169 171 173 177 182 192 289 293 295 297 298 185 205Used by:Timeline
Symbol 300 GraphicUses:16Used by:301
Symbol 301 MovieClipUses:300Used by:312
Symbol 302 GraphicUses:190Used by:303
Symbol 303 MovieClipUses:302Used by:312 649 711 714
Symbol 304 BitmapUsed by:305
Symbol 305 GraphicUses:304Used by:306
Symbol 306 MovieClipUses:305Used by:312 321 332 368 402 684 708 711 714
Symbol 307 MovieClipUses:188Used by:312
Symbol 308 MovieClipUses:188Used by:312
Symbol 309 MovieClipUses:188Used by:312
Symbol 310 MovieClipUses:188Used by:312
Symbol 311 MovieClipUses:188Used by:312
Symbol 312 MovieClipUses:167 169 301 182 177 303 185 289 306 188 307 308 309 310 311 205Used by:Timeline
Symbol 313 GraphicUses:16Used by:314
Symbol 314 MovieClipUses:313Used by:321
Symbol 315 MovieClipUses:191Used by:321 361 672 693 708
Symbol 316 BitmapUsed by:317
Symbol 317 GraphicUses:316Used by:318
Symbol 318 MovieClipUses:317Used by:321 332 368 693
Symbol 319 MovieClipUses:226Used by:320 354 355 358 359 360 392 401 408 409 410 411 412 629 635 638 645 646 647 648 652 653 654 655 656 672 675 678 680 682 683 687 688 689 690 691 692 694 695 696 697 698 699 700 702 703 704 705 706 708
Symbol 320 MovieClipUses:188 319Used by:321
Symbol 321 MovieClipUses:167 169 171 314 177 182 289 306 315 318 320 205Used by:Timeline
Symbol 322 GraphicUses:190Used by:323
Symbol 323 MovieClipUses:322Used by:332 368
Symbol 324 MovieClipUses:188Used by:332
Symbol 325 MovieClipUses:188Used by:332
Symbol 326 MovieClipUses:188Used by:332
Symbol 327 MovieClipUses:188Used by:332
Symbol 328 MovieClipUses:188Used by:332
Symbol 329 MovieClipUses:188Used by:332
Symbol 330 GraphicUses:16Used by:331
Symbol 331 MovieClipUses:330Used by:332 701
Symbol 332 MovieClipUses:167 169 171 177 182 306 318 289 323 324 185 325 326 327 328 329 331 205Used by:Timeline
Symbol 333 GraphicUses:16Used by:334
Symbol 334 MovieClipUses:333Used by:344
Symbol 335 BitmapUsed by:336 338
Symbol 336 GraphicUses:335Used by:337
Symbol 337 MovieClipUses:336Used by:344 707
Symbol 338 GraphicUses:335Used by:339
Symbol 339 MovieClipUses:338Used by:344 707
Symbol 340 MovieClipUses:188Used by:344
Symbol 341 MovieClipUses:188Used by:344
Symbol 342 MovieClipUses:188Used by:344
Symbol 343 MovieClipUses:188Used by:344
Symbol 344 MovieClipUses:167 169 171 334 177 182 289 185 188 337 339 340 341 342 343 205Used by:Timeline
Symbol 345 GraphicUses:16Used by:346
Symbol 346 MovieClipUses:345Used by:361
Symbol 347 BitmapUsed by:348
Symbol 348 GraphicUses:347Used by:349
Symbol 349 MovieClipUses:348Used by:361 412 693 701
Symbol 350 GraphicUses:186Used by:351
Symbol 351 MovieClipUses:350Used by:354 359
Symbol 352 GraphicUses:225Used by:353
Symbol 353 MovieClipUses:352Used by:354
Symbol 354 MovieClipUses:319 188 351 353Used by:361
Symbol 355 MovieClipUses:319Used by:361
Symbol 356 GraphicUses:225Used by:357
Symbol 357 MovieClipUses:356Used by:358
Symbol 358 MovieClipUses:188 319 357Used by:361
Symbol 359 MovieClipUses:319 188 351Used by:361
Symbol 360 MovieClipUses:319 188Used by:361
Symbol 361 MovieClipUses:167 169 171 346 177 289 185 315 349 354 355 358 359 360 182 205Used by:Timeline
Symbol 362 MovieClipUses:188Used by:368
Symbol 363 MovieClipUses:188Used by:368
Symbol 364 MovieClipUses:188Used by:368
Symbol 365 MovieClipUses:188Used by:368
Symbol 366 MovieClipUses:188Used by:368
Symbol 367 MovieClipUses:188Used by:368
Symbol 368 MovieClipUses:167 169 281 182 185 177 258 205 318 306 323 289 362 363 364 365 366 367Used by:Timeline
Symbol 369 GraphicUses:16Used by:370
Symbol 370 MovieClipUses:369Used by:380
Symbol 371 BitmapUsed by:372
Symbol 372 GraphicUses:371Used by:376
Symbol 373 BitmapUsed by:374 385
Symbol 374 GraphicUses:373Used by:375
Symbol 375 MovieClipUses:374Used by:376
Symbol 376 MovieClipUses:372 375Used by:380 402 412 658 684 693 701
Symbol 377 GraphicUses:186Used by:378
Symbol 378 MovieClipUses:377Used by:380
Symbol 379 TextUses:193Used by:380
Symbol 380 MovieClipUses:167 169 171 370 177 253 376 185 378 379 182 205Used by:Timeline
Symbol 381 GraphicUses:16Used by:382
Symbol 382 MovieClipUses:381Used by:394
Symbol 383 BitmapUsed by:384
Symbol 384 GraphicUses:383Used by:387
Symbol 385 GraphicUses:373Used by:386
Symbol 386 MovieClipUses:385Used by:387
Symbol 387 MovieClipUses:384 386Used by:394 657 658 684
Symbol 388 GraphicUses:190Used by:389
Symbol 389 MovieClipUses:388Used by:394
Symbol 390 MovieClipUses:188Used by:394
Symbol 391 MovieClipUses:188Used by:394
Symbol 392 MovieClipUses:188 319Used by:394
Symbol 393 MovieClipUses:188Used by:394
Symbol 394 MovieClipUses:167 169 171 382 177 182 387 188 185 389 390 391 392 393 205Used by:Timeline
Symbol 395 GraphicUses:16Used by:396
Symbol 396 MovieClipUses:395Used by:402
Symbol 397 GraphicUses:190Used by:398
Symbol 398 MovieClipUses:397Used by:402 658 684
Symbol 399 GraphicUses:225Used by:400
Symbol 400 MovieClipUses:399Used by:401
Symbol 401 MovieClipUses:188 319 400Used by:402
Symbol 402 MovieClipUses:167 169 171 396 177 182 185 188 306 376 289 398 401 205Used by:Timeline
Symbol 403 GraphicUses:16Used by:404
Symbol 404 MovieClipUses:403Used by:412
Symbol 405 BitmapUsed by:406
Symbol 406 GraphicUses:405Used by:407
Symbol 407 MovieClipUses:406Used by:412 693 701
Symbol 408 MovieClipUses:319Used by:412
Symbol 409 MovieClipUses:319Used by:412
Symbol 410 MovieClipUses:319 188Used by:412
Symbol 411 MovieClipUses:319Used by:412
Symbol 412 MovieClipUses:167 169 171 404 177 182 289 185 253 376 349 407 408 409 410 411 205 319Used by:Timeline
Symbol 413 GraphicUsed by:615
Symbol 414 BitmapUsed by:415
Symbol 415 GraphicUses:414Used by:614
Symbol 416 BitmapUsed by:417
Symbol 417 GraphicUses:416Used by:614
Symbol 418 BitmapUsed by:419
Symbol 419 GraphicUses:418Used by:614
Symbol 420 BitmapUsed by:421
Symbol 421 GraphicUses:420Used by:614
Symbol 422 BitmapUsed by:423
Symbol 423 GraphicUses:422Used by:614
Symbol 424 BitmapUsed by:425
Symbol 425 GraphicUses:424Used by:614
Symbol 426 BitmapUsed by:427
Symbol 427 GraphicUses:426Used by:614
Symbol 428 BitmapUsed by:429
Symbol 429 GraphicUses:428Used by:614
Symbol 430 BitmapUsed by:431
Symbol 431 GraphicUses:430Used by:614
Symbol 432 BitmapUsed by:433
Symbol 433 GraphicUses:432Used by:614
Symbol 434 BitmapUsed by:435
Symbol 435 GraphicUses:434Used by:614
Symbol 436 BitmapUsed by:437
Symbol 437 GraphicUses:436Used by:614
Symbol 438 BitmapUsed by:439
Symbol 439 GraphicUses:438Used by:614
Symbol 440 BitmapUsed by:441
Symbol 441 GraphicUses:440Used by:614
Symbol 442 BitmapUsed by:443
Symbol 443 GraphicUses:442Used by:614
Symbol 444 BitmapUsed by:445
Symbol 445 GraphicUses:444Used by:614
Symbol 446 BitmapUsed by:447
Symbol 447 GraphicUses:446Used by:614
Symbol 448 BitmapUsed by:449
Symbol 449 GraphicUses:448Used by:614
Symbol 450 BitmapUsed by:451
Symbol 451 GraphicUses:450Used by:614
Symbol 452 BitmapUsed by:453
Symbol 453 GraphicUses:452Used by:614
Symbol 454 BitmapUsed by:455
Symbol 455 GraphicUses:454Used by:614
Symbol 456 BitmapUsed by:457
Symbol 457 GraphicUses:456Used by:614
Symbol 458 BitmapUsed by:459
Symbol 459 GraphicUses:458Used by:614
Symbol 460 BitmapUsed by:461
Symbol 461 GraphicUses:460Used by:614
Symbol 462 BitmapUsed by:463
Symbol 463 GraphicUses:462Used by:614
Symbol 464 BitmapUsed by:465
Symbol 465 GraphicUses:464Used by:614
Symbol 466 BitmapUsed by:467
Symbol 467 GraphicUses:466Used by:614
Symbol 468 BitmapUsed by:469
Symbol 469 GraphicUses:468Used by:614
Symbol 470 BitmapUsed by:471
Symbol 471 GraphicUses:470Used by:614
Symbol 472 BitmapUsed by:473
Symbol 473 GraphicUses:472Used by:614
Symbol 474 BitmapUsed by:475
Symbol 475 GraphicUses:474Used by:614
Symbol 476 BitmapUsed by:477
Symbol 477 GraphicUses:476Used by:614
Symbol 478 BitmapUsed by:479
Symbol 479 GraphicUses:478Used by:614
Symbol 480 BitmapUsed by:481
Symbol 481 GraphicUses:480Used by:614
Symbol 482 BitmapUsed by:483
Symbol 483 GraphicUses:482Used by:614
Symbol 484 BitmapUsed by:485
Symbol 485 GraphicUses:484Used by:614
Symbol 486 BitmapUsed by:487
Symbol 487 GraphicUses:486Used by:614
Symbol 488 BitmapUsed by:489
Symbol 489 GraphicUses:488Used by:614
Symbol 490 BitmapUsed by:491
Symbol 491 GraphicUses:490Used by:614
Symbol 492 BitmapUsed by:493
Symbol 493 GraphicUses:492Used by:614
Symbol 494 BitmapUsed by:495
Symbol 495 GraphicUses:494Used by:614
Symbol 496 BitmapUsed by:497
Symbol 497 GraphicUses:496Used by:614
Symbol 498 BitmapUsed by:499
Symbol 499 GraphicUses:498Used by:614
Symbol 500 BitmapUsed by:501
Symbol 501 GraphicUses:500Used by:614
Symbol 502 BitmapUsed by:503
Symbol 503 GraphicUses:502Used by:614
Symbol 504 BitmapUsed by:505
Symbol 505 GraphicUses:504Used by:614
Symbol 506 BitmapUsed by:507
Symbol 507 GraphicUses:506Used by:614
Symbol 508 BitmapUsed by:509
Symbol 509 GraphicUses:508Used by:614
Symbol 510 BitmapUsed by:511
Symbol 511 GraphicUses:510Used by:614
Symbol 512 BitmapUsed by:513
Symbol 513 GraphicUses:512Used by:614
Symbol 514 BitmapUsed by:515
Symbol 515 GraphicUses:514Used by:614
Symbol 516 BitmapUsed by:517
Symbol 517 GraphicUses:516Used by:614
Symbol 518 BitmapUsed by:519
Symbol 519 GraphicUses:518Used by:614
Symbol 520 BitmapUsed by:521
Symbol 521 GraphicUses:520Used by:614
Symbol 522 BitmapUsed by:523
Symbol 523 GraphicUses:522Used by:614
Symbol 524 BitmapUsed by:525
Symbol 525 GraphicUses:524Used by:614
Symbol 526 BitmapUsed by:527
Symbol 527 GraphicUses:526Used by:614
Symbol 528 BitmapUsed by:529
Symbol 529 GraphicUses:528Used by:614
Symbol 530 BitmapUsed by:531
Symbol 531 GraphicUses:530Used by:614
Symbol 532 BitmapUsed by:533
Symbol 533 GraphicUses:532Used by:614
Symbol 534 BitmapUsed by:535
Symbol 535 GraphicUses:534Used by:614
Symbol 536 BitmapUsed by:537
Symbol 537 GraphicUses:536Used by:614
Symbol 538 BitmapUsed by:539
Symbol 539 GraphicUses:538Used by:614
Symbol 540 BitmapUsed by:541
Symbol 541 GraphicUses:540Used by:614
Symbol 542 BitmapUsed by:543
Symbol 543 GraphicUses:542Used by:614
Symbol 544 BitmapUsed by:545
Symbol 545 GraphicUses:544Used by:614
Symbol 546 BitmapUsed by:547
Symbol 547 GraphicUses:546Used by:614
Symbol 548 BitmapUsed by:549
Symbol 549 GraphicUses:548Used by:614
Symbol 550 BitmapUsed by:551
Symbol 551 GraphicUses:550Used by:614
Symbol 552 BitmapUsed by:553
Symbol 553 GraphicUses:552Used by:614
Symbol 554 BitmapUsed by:555
Symbol 555 GraphicUses:554Used by:614
Symbol 556 BitmapUsed by:557
Symbol 557 GraphicUses:556Used by:614
Symbol 558 BitmapUsed by:559
Symbol 559 GraphicUses:558Used by:614
Symbol 560 BitmapUsed by:561
Symbol 561 GraphicUses:560Used by:614
Symbol 562 BitmapUsed by:563
Symbol 563 GraphicUses:562Used by:614
Symbol 564 BitmapUsed by:565
Symbol 565 GraphicUses:564Used by:614
Symbol 566 BitmapUsed by:567
Symbol 567 GraphicUses:566Used by:614
Symbol 568 BitmapUsed by:569
Symbol 569 GraphicUses:568Used by:614
Symbol 570 BitmapUsed by:571
Symbol 571 GraphicUses:570Used by:614
Symbol 572 BitmapUsed by:573
Symbol 573 GraphicUses:572Used by:614
Symbol 574 BitmapUsed by:575
Symbol 575 GraphicUses:574Used by:614
Symbol 576 BitmapUsed by:577
Symbol 577 GraphicUses:576Used by:614
Symbol 578 BitmapUsed by:579
Symbol 579 GraphicUses:578Used by:614
Symbol 580 BitmapUsed by:581
Symbol 581 GraphicUses:580Used by:614
Symbol 582 BitmapUsed by:583
Symbol 583 GraphicUses:582Used by:614
Symbol 584 BitmapUsed by:585
Symbol 585 GraphicUses:584Used by:614
Symbol 586 BitmapUsed by:587
Symbol 587 GraphicUses:586Used by:614
Symbol 588 BitmapUsed by:589
Symbol 589 GraphicUses:588Used by:614
Symbol 590 BitmapUsed by:591
Symbol 591 GraphicUses:590Used by:614
Symbol 592 BitmapUsed by:593
Symbol 593 GraphicUses:592Used by:614
Symbol 594 BitmapUsed by:595
Symbol 595 GraphicUses:594Used by:614
Symbol 596 BitmapUsed by:597
Symbol 597 GraphicUses:596Used by:614
Symbol 598 BitmapUsed by:599
Symbol 599 GraphicUses:598Used by:614
Symbol 600 BitmapUsed by:601
Symbol 601 GraphicUses:600Used by:614
Symbol 602 BitmapUsed by:603
Symbol 603 GraphicUses:602Used by:614
Symbol 604 BitmapUsed by:605
Symbol 605 GraphicUses:604Used by:614
Symbol 606 BitmapUsed by:607
Symbol 607 GraphicUses:606Used by:614
Symbol 608 BitmapUsed by:609
Symbol 609 GraphicUses:608Used by:614
Symbol 610 BitmapUsed by:611
Symbol 611 GraphicUses:610Used by:614
Symbol 612 BitmapUsed by:613
Symbol 613 GraphicUses:612Used by:614
Symbol 614 MovieClipUses:415 417 419 421 423 425 427 429 431 433 435 437 439 441 443 445 447 449 451 453 455 457 459 461 463 465 467 469 471 473 475 477 479 481 483 485 487 489 491 493 495 497 499 501 503 505 507 509 511 513 515 517 519 521 523 525 527 529 531 533 535 537 539 541 543 545 547 549 551 553 555 557 559 561 563 565 567 569 571 573 575 577 579 581 583 585 587 589 591 593 595 597 599 601 603 605 607 609 611 613Used by:615
Symbol 615 MovieClipUses:413 614Used by:618 626 630 638 649 658 684 693 701
Symbol 616 MovieClipUses:188Used by:618
Symbol 617 TextUses:193Used by:618
Symbol 618 MovieClipUses:167 169 171 177 182 192 615 616 205 617Used by:Timeline
Symbol 619 GraphicUses:16Used by:620
Symbol 620 MovieClipUses:619Used by:626
Symbol 621 MovieClipUses:188Used by:626
Symbol 622 MovieClipUses:188Used by:626
Symbol 623 MovieClipUses:188Used by:626
Symbol 624 MovieClipUses:188Used by:626
Symbol 625 MovieClipUses:187Used by:626
Symbol 626 MovieClipUses:167 169 171 620 177 182 615 205 253 185 621 622 623 624 625Used by:Timeline
Symbol 627 GraphicUses:16Used by:628
Symbol 628 MovieClipUses:627Used by:630
Symbol 629 MovieClipUses:319Used by:630
Symbol 630 MovieClipUses:167 169 171 628 177 182 615 205 629Used by:Timeline
Symbol 631 MovieClipUses:188Used by:638
Symbol 632 MovieClipUses:188Used by:638
Symbol 633 MovieClipUses:188Used by:638
Symbol 634 MovieClipUses:188Used by:638
Symbol 635 MovieClipUses:319 188Used by:638
Symbol 636 GraphicUsed by:637
Symbol 637 MovieClipUses:636Used by:638
Symbol 638 MovieClipUses:167 169 171 177 258 615 185 631 632 188 633 182 634 635 319 205 637Used by:Timeline
Symbol 639 GraphicUsed by:640 641
Symbol 640 MovieClipUses:290 291 639Used by:649
Symbol 641 MovieClipUses:290 291 639Used by:649
Symbol 642 BitmapUsed by:643
Symbol 643 GraphicUses:642Used by:644
Symbol 644 MovieClipUses:643Used by:649
Symbol 645 MovieClipUses:319Used by:649
Symbol 646 MovieClipUses:319Used by:649
Symbol 647 MovieClipUses:319Used by:649
Symbol 648 MovieClipUses:319Used by:649
Symbol 649 MovieClipUses:167 169 171 177 182 185 640 289 615 641 644 645 646 647 648 205 303Used by:Timeline
Symbol 650 GraphicUses:16Used by:651
Symbol 651 MovieClipUses:650Used by:658
Symbol 652 MovieClipUses:319 188Used by:658
Symbol 653 MovieClipUses:319Used by:658
Symbol 654 MovieClipUses:188 319Used by:658
Symbol 655 MovieClipUses:188 319Used by:658
Symbol 656 MovieClipUses:319 188Used by:658
Symbol 657 MovieClipUses:387Used by:658
Symbol 658 MovieClipUses:167 169 171 651 177 182 387 376 615 185 398 652 653 654 655 656 657 205Used by:Timeline
Symbol 659 GraphicUsed by:660
Symbol 660 MovieClipUses:659Used by:664 672
Symbol 661 GraphicUsed by:663 666
Symbol 662 GraphicUsed by:663
Symbol 663 MovieClipUses:661 662Used by:664 672
Symbol 664 MovieClipUses:167 169 171 177 182 205 660 188 192 663Used by:Timeline
Symbol 665 GraphicUsed by:666
Symbol 666 MovieClipUses:661 665Used by:669
Symbol 667 GraphicUsed by:668
Symbol 668 MovieClipUses:667Used by:669
Symbol 669 MovieClipUses:167 169 171 177 182 205 666 668Used by:Timeline
Symbol 670 GraphicUsed by:671
Symbol 671 MovieClipUses:670Used by:672
Symbol 672 MovieClipUses:167 169 171 185 319 663 177 182 205 315 671 660Used by:Timeline
Symbol 673 GraphicUses:16Used by:674
Symbol 674 MovieClipUses:673Used by:684
Symbol 675 MovieClipUses:188 319Used by:684
Symbol 676 GraphicUsed by:677
Symbol 677 MovieClipUses:676Used by:678
Symbol 678 MovieClipUses:188 319 677Used by:684
Symbol 679 MovieClipUses:188Used by:684
Symbol 680 MovieClipUses:188 319Used by:684
Symbol 681 MovieClipUses:188Used by:684
Symbol 682 MovieClipUses:188 319Used by:684
Symbol 683 MovieClipUses:319 188Used by:684
Symbol 684 MovieClipUses:167 169 171 674 398 177 182 306 185 289 376 615 387 675 678 679 680 681 682 205 683Used by:Timeline
Symbol 685 GraphicUses:16Used by:686
Symbol 686 MovieClipUses:685Used by:693
Symbol 687 MovieClipUses:319 188Used by:693
Symbol 688 MovieClipUses:188 319Used by:693
Symbol 689 MovieClipUses:319 188Used by:693
Symbol 690 MovieClipUses:319 188Used by:693
Symbol 691 MovieClipUses:188 319Used by:693
Symbol 692 MovieClipUses:319 188Used by:693
Symbol 693 MovieClipUses:167 169 171 686 177 182 315 318 289 185 615 188 376 349 407 687 688 689 690 691 692 205Used by:Timeline
Symbol 694 MovieClipUses:319 188Used by:701
Symbol 695 MovieClipUses:319 188Used by:701
Symbol 696 MovieClipUses:319 188Used by:701
Symbol 697 MovieClipUses:319 188Used by:701
Symbol 698 MovieClipUses:188 319Used by:701
Symbol 699 MovieClipUses:188 319Used by:701
Symbol 700 MovieClipUses:319 188Used by:701
Symbol 701 MovieClipUses:167 169 171 331 177 182 289 376 407 185 349 615 694 695 696 697 698 699 700 205Used by:Timeline
Symbol 702 MovieClipUses:319Used by:707
Symbol 703 MovieClipUses:319Used by:707
Symbol 704 MovieClipUses:319Used by:707
Symbol 705 MovieClipUses:319Used by:707
Symbol 706 MovieClipUses:319Used by:707
Symbol 707 MovieClipUses:167 169 171 177 185 289 339 337 702 703 704 705 706 205 182Used by:Timeline
Symbol 708 MovieClipUses:167 169 171 177 182 205 319 289 185 188 306 315Used by:Timeline
Symbol 709 GraphicUsed by:710
Symbol 710 MovieClipUses:709Used by:711
Symbol 711 MovieClipUses:167 169 171 188 177 303 185 289 306 710 182 205Used by:Timeline
Symbol 712 GraphicUsed by:713
Symbol 713 MovieClipUses:712Used by:714
Symbol 714 MovieClipUses:167 169 171 188 177 303 713 289 306 182 205Used by:Timeline
Symbol 715 TextUses:68 69Used by:716
Symbol 716 ButtonUses:31 67 715 30Used by:Timeline

Instance Names

"xmlLoad"Frame 1Symbol 38 MovieClip
"menu_hp"Frame 53Symbol 121 MovieClip
"fader"Frame 53Symbol 124 MovieClip
"prr"Frame 66Symbol 159 EditableText
"nma"Frame 66Symbol 164 EditableText
"all"Frame 93Symbol 206 MovieClip
"txt"Frame 93Symbol 210 MovieClip
"menu_hp"Frame 93Symbol 222 MovieClip
"fader"Frame 93Symbol 124 MovieClip
"blurry"Frame 93Symbol 247 MovieClip
"all"Frame 99Symbol 256 MovieClip
"all"Frame 105Symbol 268 MovieClip
"all"Frame 111Symbol 279 MovieClip
"all"Frame 117Symbol 286 MovieClip
"all"Frame 123Symbol 299 MovieClip
"all"Frame 129Symbol 312 MovieClip
"all"Frame 135Symbol 321 MovieClip
"all"Frame 141Symbol 332 MovieClip
"all"Frame 147Symbol 344 MovieClip
"all"Frame 153Symbol 361 MovieClip
"all"Frame 159Symbol 368 MovieClip
"all"Frame 166Symbol 380 MovieClip
"all"Frame 173Symbol 394 MovieClip
"all"Frame 180Symbol 402 MovieClip
"all"Frame 187Symbol 412 MovieClip
"all"Frame 194Symbol 618 MovieClip
"all"Frame 201Symbol 626 MovieClip
"all"Frame 208Symbol 630 MovieClip
"all"Frame 215Symbol 638 MovieClip
"all"Frame 222Symbol 649 MovieClip
"all"Frame 229Symbol 658 MovieClip
"all"Frame 236Symbol 664 MovieClip
"all"Frame 243Symbol 669 MovieClip
"all"Frame 250Symbol 672 MovieClip
"all"Frame 257Symbol 684 MovieClip
"all"Frame 264Symbol 693 MovieClip
"all"Frame 271Symbol 701 MovieClip
"all"Frame 278Symbol 707 MovieClip
"all"Frame 286Symbol 708 MovieClip
"all"Frame 301Symbol 711 MovieClip
"menu_hp"Frame 301Symbol 222 MovieClip
"all"Frame 308Symbol 714 MovieClip
"slider"Symbol 35 MovieClip Frame 1Symbol 34 MovieClip
"bar"Symbol 38 MovieClip Frame 1Symbol 35 MovieClip
"bar"Symbol 121 MovieClip Frame 1Symbol 115 MovieClip
"snd"Symbol 121 MovieClip Frame 1Symbol 120 Button
"s1"Symbol 205 MovieClip Frame 1Symbol 198 MovieClip
"s2"Symbol 205 MovieClip Frame 1Symbol 199 MovieClip
"s1"Symbol 205 MovieClip Frame 52Symbol 198 MovieClip
"s2"Symbol 205 MovieClip Frame 52Symbol 199 MovieClip
"s1"Symbol 205 MovieClip Frame 53Symbol 198 MovieClip
"s2"Symbol 205 MovieClip Frame 53Symbol 199 MovieClip
"s1"Symbol 205 MovieClip Frame 137Symbol 198 MovieClip
"s2"Symbol 205 MovieClip Frame 137Symbol 199 MovieClip
"s1"Symbol 205 MovieClip Frame 181Symbol 198 MovieClip
"s2"Symbol 205 MovieClip Frame 181Symbol 199 MovieClip
"bbg"Symbol 206 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 206 MovieClip Frame 1Symbol 171 MovieClip
"ingame"Symbol 206 MovieClip Frame 1Symbol 182 MovieClip
"hero"Symbol 206 MovieClip Frame 1Symbol 205 MovieClip
"txt"Symbol 209 MovieClip Frame 1Symbol 208 EditableText
"txt"Symbol 210 MovieClip Frame 1Symbol 209 MovieClip
"txt"Symbol 217 MovieClip Frame 1Symbol 216 EditableText
"bar"Symbol 222 MovieClip Frame 1Symbol 115 MovieClip
"snd"Symbol 222 MovieClip Frame 1Symbol 215 Button
"score"Symbol 222 MovieClip Frame 1Symbol 217 MovieClip
"out"Symbol 222 MovieClip Frame 1Symbol 221 MovieClip
"dr"Symbol 247 MovieClip Frame 1Symbol 223 MovieClip
"snd"Symbol 247 MovieClip Frame 1Symbol 240 Button
"bbg"Symbol 256 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 256 MovieClip Frame 1Symbol 171 MovieClip
"ingame"Symbol 256 MovieClip Frame 1Symbol 182 MovieClip
"hero"Symbol 256 MovieClip Frame 1Symbol 205 MovieClip
"bbg"Symbol 268 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 268 MovieClip Frame 1Symbol 171 MovieClip
"ingame"Symbol 268 MovieClip Frame 1Symbol 182 MovieClip
"hero"Symbol 268 MovieClip Frame 1Symbol 205 MovieClip
"bbg"Symbol 279 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 279 MovieClip Frame 1Symbol 171 MovieClip
"ingame"Symbol 279 MovieClip Frame 1Symbol 182 MovieClip
"hero"Symbol 279 MovieClip Frame 1Symbol 205 MovieClip
"bbg"Symbol 286 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 286 MovieClip Frame 1Symbol 281 MovieClip
"ingame"Symbol 286 MovieClip Frame 1Symbol 182 MovieClip
"hero"Symbol 286 MovieClip Frame 1Symbol 205 MovieClip
"bbg"Symbol 299 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 299 MovieClip Frame 1Symbol 171 MovieClip
"ingame"Symbol 299 MovieClip Frame 1Symbol 182 MovieClip
"dr1"Symbol 299 MovieClip Frame 1Symbol 293 MovieClip
"hero"Symbol 299 MovieClip Frame 1Symbol 205 MovieClip
"bbg"Symbol 312 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 312 MovieClip Frame 1Symbol 301 MovieClip
"ingame"Symbol 312 MovieClip Frame 1Symbol 182 MovieClip
"dr1"Symbol 312 MovieClip Frame 1Symbol 306 MovieClip
"dr3"Symbol 312 MovieClip Frame 1Symbol 306 MovieClip
"dr2"Symbol 312 MovieClip Frame 1Symbol 306 MovieClip
"dr4"Symbol 312 MovieClip Frame 1Symbol 306 MovieClip
"hero"Symbol 312 MovieClip Frame 1Symbol 205 MovieClip
"bbg"Symbol 321 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 321 MovieClip Frame 1Symbol 171 MovieClip
"ingame"Symbol 321 MovieClip Frame 1Symbol 182 MovieClip
"dr9"Symbol 321 MovieClip Frame 1Symbol 306 MovieClip
"dr1"Symbol 321 MovieClip Frame 1Symbol 318 MovieClip
"dr5"Symbol 321 MovieClip Frame 1Symbol 306 MovieClip
"dr4"Symbol 321 MovieClip Frame 1Symbol 306 MovieClip
"dr6"Symbol 321 MovieClip Frame 1Symbol 318 MovieClip
"dr7"Symbol 321 MovieClip Frame 1Symbol 306 MovieClip
"dr14"Symbol 321 MovieClip Frame 1Symbol 306 MovieClip
"dr11"Symbol 321 MovieClip Frame 1Symbol 318 MovieClip
"dr10"Symbol 321 MovieClip Frame 1Symbol 318 MovieClip
"dr12"Symbol 321 MovieClip Frame 1Symbol 318 MovieClip
"dr13"Symbol 321 MovieClip Frame 1Symbol 306 MovieClip
"dr8"Symbol 321 MovieClip Frame 1Symbol 306 MovieClip
"dr3"Symbol 321 MovieClip Frame 1Symbol 318 MovieClip
"dr2"Symbol 321 MovieClip Frame 1Symbol 318 MovieClip
"hero"Symbol 321 MovieClip Frame 1Symbol 205 MovieClip
"bbg"Symbol 332 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 332 MovieClip Frame 1Symbol 171 MovieClip
"ingame"Symbol 332 MovieClip Frame 1Symbol 182 MovieClip
"dr3"Symbol 332 MovieClip Frame 1Symbol 306 MovieClip
"dr2"Symbol 332 MovieClip Frame 1Symbol 318 MovieClip
"dr1"Symbol 332 MovieClip Frame 1Symbol 306 MovieClip
"dr7"Symbol 332 MovieClip Frame 1Symbol 318 MovieClip
"dr6"Symbol 332 MovieClip Frame 1Symbol 318 MovieClip
"dr5"Symbol 332 MovieClip Frame 1Symbol 318 MovieClip
"dr4"Symbol 332 MovieClip Frame 1Symbol 318 MovieClip
"hero"Symbol 332 MovieClip Frame 1Symbol 205 MovieClip
"bbg"Symbol 344 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 344 MovieClip Frame 1Symbol 171 MovieClip
"ingame"Symbol 344 MovieClip Frame 1Symbol 182 MovieClip
"dr1"Symbol 344 MovieClip Frame 1Symbol 337 MovieClip
"dr11"Symbol 344 MovieClip Frame 1Symbol 337 MovieClip
"dr3"Symbol 344 MovieClip Frame 1Symbol 339 MovieClip
"dr9"Symbol 344 MovieClip Frame 1Symbol 339 MovieClip
"dr7"Symbol 344 MovieClip Frame 1Symbol 337 MovieClip
"dr5"Symbol 344 MovieClip Frame 1Symbol 337 MovieClip
"dr2"Symbol 344 MovieClip Frame 1Symbol 337 MovieClip
"dr12"Symbol 344 MovieClip Frame 1Symbol 337 MovieClip
"dr14"Symbol 344 MovieClip Frame 1Symbol 337 MovieClip
"dr10"Symbol 344 MovieClip Frame 1Symbol 339 MovieClip
"dr13"Symbol 344 MovieClip Frame 1Symbol 337 MovieClip
"dr6"Symbol 344 MovieClip Frame 1Symbol 339 MovieClip
"dr8"Symbol 344 MovieClip Frame 1Symbol 339 MovieClip
"dr4"Symbol 344 MovieClip Frame 1Symbol 337 MovieClip
"hero"Symbol 344 MovieClip Frame 1Symbol 205 MovieClip
"bbg"Symbol 361 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 361 MovieClip Frame 1Symbol 171 MovieClip
"dr1"Symbol 361 MovieClip Frame 1Symbol 349 MovieClip
"dr2"Symbol 361 MovieClip Frame 1Symbol 349 MovieClip
"dr3"Symbol 361 MovieClip Frame 1Symbol 349 MovieClip
"ingame"Symbol 361 MovieClip Frame 1Symbol 182 MovieClip
"hero"Symbol 361 MovieClip Frame 1Symbol 205 MovieClip
"bbg"Symbol 368 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 368 MovieClip Frame 1Symbol 281 MovieClip
"ingame"Symbol 368 MovieClip Frame 1Symbol 182 MovieClip
"hero"Symbol 368 MovieClip Frame 1Symbol 205 MovieClip
"dur7"Symbol 368 MovieClip Frame 1Symbol 318 MovieClip
"dur5"Symbol 368 MovieClip Frame 1Symbol 318 MovieClip
"dur2"Symbol 368 MovieClip Frame 1Symbol 306 MovieClip
"dur1"Symbol 368 MovieClip Frame 1Symbol 318 MovieClip
"dur3"Symbol 368 MovieClip Frame 1Symbol 318 MovieClip
"dur4"Symbol 368 MovieClip Frame 1Symbol 306 MovieClip
"dur6"Symbol 368 MovieClip Frame 1Symbol 306 MovieClip
"dur8"Symbol 368 MovieClip Frame 1Symbol 306 MovieClip
"dur9"Symbol 368 MovieClip Frame 1Symbol 318 MovieClip
"body"Symbol 376 MovieClip Frame 1Symbol 375 MovieClip
"bbg"Symbol 380 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 380 MovieClip Frame 1Symbol 171 MovieClip
"ingame"Symbol 380 MovieClip Frame 1Symbol 182 MovieClip
"hero"Symbol 380 MovieClip Frame 1Symbol 205 MovieClip
"body"Symbol 387 MovieClip Frame 1Symbol 386 MovieClip
"bbg"Symbol 394 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 394 MovieClip Frame 1Symbol 171 MovieClip
"ingame"Symbol 394 MovieClip Frame 1Symbol 182 MovieClip
"hero"Symbol 394 MovieClip Frame 1Symbol 205 MovieClip
"bbg"Symbol 402 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 402 MovieClip Frame 1Symbol 171 MovieClip
"ingame"Symbol 402 MovieClip Frame 1Symbol 182 MovieClip
"dr1"Symbol 402 MovieClip Frame 1Symbol 306 MovieClip
"dr2"Symbol 402 MovieClip Frame 1Symbol 306 MovieClip
"dr3"Symbol 402 MovieClip Frame 1Symbol 306 MovieClip
"dr4"Symbol 402 MovieClip Frame 1Symbol 306 MovieClip
"dr5"Symbol 402 MovieClip Frame 1Symbol 306 MovieClip
"hero"Symbol 402 MovieClip Frame 1Symbol 205 MovieClip
"bbg"Symbol 412 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 412 MovieClip Frame 1Symbol 171 MovieClip
"ingame"Symbol 412 MovieClip Frame 1Symbol 182 MovieClip
"dr2"Symbol 412 MovieClip Frame 1Symbol 349 MovieClip
"dr1"Symbol 412 MovieClip Frame 1Symbol 407 MovieClip
"dr4"Symbol 412 MovieClip Frame 1Symbol 407 MovieClip
"dr3"Symbol 412 MovieClip Frame 1Symbol 349 MovieClip
"hero"Symbol 412 MovieClip Frame 1Symbol 205 MovieClip
"bbg"Symbol 618 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 618 MovieClip Frame 1Symbol 171 MovieClip
"ingame"Symbol 618 MovieClip Frame 1Symbol 182 MovieClip
"tp1"Symbol 618 MovieClip Frame 1Symbol 615 MovieClip
"tp2"Symbol 618 MovieClip Frame 1Symbol 615 MovieClip
"hero"Symbol 618 MovieClip Frame 1Symbol 205 MovieClip
"bbg"Symbol 626 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 626 MovieClip Frame 1Symbol 171 MovieClip
"ingame"Symbol 626 MovieClip Frame 1Symbol 182 MovieClip
"tp1"Symbol 626 MovieClip Frame 1Symbol 615 MovieClip
"tp2"Symbol 626 MovieClip Frame 1Symbol 615 MovieClip
"hero"Symbol 626 MovieClip Frame 1Symbol 205 MovieClip
"tp3"Symbol 626 MovieClip Frame 1Symbol 615 MovieClip
"tp4"Symbol 626 MovieClip Frame 1Symbol 615 MovieClip
"tp5"Symbol 626 MovieClip Frame 1Symbol 615 MovieClip
"tp6"Symbol 626 MovieClip Frame 1Symbol 615 MovieClip
"bbg"Symbol 630 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 630 MovieClip Frame 1Symbol 171 MovieClip
"ingame"Symbol 630 MovieClip Frame 1Symbol 182 MovieClip
"tp1"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp19"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp20"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp11"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp10"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp17"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp29"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp8"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp25"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp31"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp16"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp22"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp6"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp3"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp28"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp7"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp9"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp23"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp14"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp24"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp30"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp21"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp27"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp32"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp4"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp12"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp26"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp13"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp2"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp18"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp5"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"tp15"Symbol 630 MovieClip Frame 1Symbol 615 MovieClip
"hero"Symbol 630 MovieClip Frame 1Symbol 205 MovieClip
"bbg"Symbol 638 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 638 MovieClip Frame 1Symbol 171 MovieClip
"tp24"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp20"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp8"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp12"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp28"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp100"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp22"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp30"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp18"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp32"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp6"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp26"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp29"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp2"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp31"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp27"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp14"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp10"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp4"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"ingame"Symbol 638 MovieClip Frame 1Symbol 182 MovieClip
"tp101"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp1"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp3"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp5"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp7"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp9"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp11"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp13"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp15"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp17"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp19"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp21"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp16"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp23"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"tp25"Symbol 638 MovieClip Frame 1Symbol 615 MovieClip
"hero"Symbol 638 MovieClip Frame 1Symbol 205 MovieClip
"bbg"Symbol 649 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 649 MovieClip Frame 1Symbol 171 MovieClip
"ingame"Symbol 649 MovieClip Frame 1Symbol 182 MovieClip
"dr1"Symbol 649 MovieClip Frame 1Symbol 640 MovieClip
"tp6"Symbol 649 MovieClip Frame 1Symbol 615 MovieClip
"tp3"Symbol 649 MovieClip Frame 1Symbol 615 MovieClip
"tp8"Symbol 649 MovieClip Frame 1Symbol 615 MovieClip
"tp1"Symbol 649 MovieClip Frame 1Symbol 615 MovieClip
"tp11"Symbol 649 MovieClip Frame 1Symbol 615 MovieClip
"tp10"Symbol 649 MovieClip Frame 1Symbol 615 MovieClip
"tp9"Symbol 649 MovieClip Frame 1Symbol 615 MovieClip
"tp7"Symbol 649 MovieClip Frame 1Symbol 615 MovieClip
"tp12"Symbol 649 MovieClip Frame 1Symbol 615 MovieClip
"tp2"Symbol 649 MovieClip Frame 1Symbol 615 MovieClip
"tp4"Symbol 649 MovieClip Frame 1Symbol 615 MovieClip
"tp5"Symbol 649 MovieClip Frame 1Symbol 615 MovieClip
"dr2"Symbol 649 MovieClip Frame 1Symbol 641 MovieClip
"hero"Symbol 649 MovieClip Frame 1Symbol 205 MovieClip
"bbg"Symbol 658 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 658 MovieClip Frame 1Symbol 171 MovieClip
"ingame"Symbol 658 MovieClip Frame 1Symbol 182 MovieClip
"tp1"Symbol 658 MovieClip Frame 1Symbol 615 MovieClip
"tp2"Symbol 658 MovieClip Frame 1Symbol 615 MovieClip
"tp5"Symbol 658 MovieClip Frame 1Symbol 615 MovieClip
"tp3"Symbol 658 MovieClip Frame 1Symbol 615 MovieClip
"tp6"Symbol 658 MovieClip Frame 1Symbol 615 MovieClip
"tp12"Symbol 658 MovieClip Frame 1Symbol 615 MovieClip
"tp8"Symbol 658 MovieClip Frame 1Symbol 615 MovieClip
"tp7"Symbol 658 MovieClip Frame 1Symbol 615 MovieClip
"tp11"Symbol 658 MovieClip Frame 1Symbol 615 MovieClip
"tp4"Symbol 658 MovieClip Frame 1Symbol 615 MovieClip
"hero"Symbol 658 MovieClip Frame 1Symbol 205 MovieClip
"bbg"Symbol 664 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 664 MovieClip Frame 1Symbol 171 MovieClip
"ingame"Symbol 664 MovieClip Frame 1Symbol 182 MovieClip
"hero"Symbol 664 MovieClip Frame 1Symbol 205 MovieClip
"dur5"Symbol 664 MovieClip Frame 1Symbol 663 MovieClip
"bbg"Symbol 669 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 669 MovieClip Frame 1Symbol 171 MovieClip
"ingame"Symbol 669 MovieClip Frame 1Symbol 182 MovieClip
"hero"Symbol 669 MovieClip Frame 1Symbol 205 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"dur5"Symbol 669 MovieClip Frame 1Symbol 666 MovieClip
"bbg"Symbol 672 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 672 MovieClip Frame 1Symbol 171 MovieClip
"dur5"Symbol 672 MovieClip Frame 1Symbol 663 MovieClip
"dur5"Symbol 672 MovieClip Frame 1Symbol 663 MovieClip
"ingame"Symbol 672 MovieClip Frame 1Symbol 182 MovieClip
"hero"Symbol 672 MovieClip Frame 1Symbol 205 MovieClip
"dur5"Symbol 672 MovieClip Frame 1Symbol 663 MovieClip
"dur5"Symbol 672 MovieClip Frame 1Symbol 663 MovieClip
"dur5"Symbol 672 MovieClip Frame 1Symbol 663 MovieClip
"dur5"Symbol 672 MovieClip Frame 1Symbol 663 MovieClip
"dur5"Symbol 672 MovieClip Frame 1Symbol 663 MovieClip
"dur5"Symbol 672 MovieClip Frame 1Symbol 663 MovieClip
"dur5"Symbol 672 MovieClip Frame 1Symbol 663 MovieClip
"dur5"Symbol 672 MovieClip Frame 1Symbol 663 MovieClip
"bbg"Symbol 684 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 684 MovieClip Frame 1Symbol 171 MovieClip
"ingame"Symbol 684 MovieClip Frame 1Symbol 182 MovieClip
"dr5"Symbol 684 MovieClip Frame 1Symbol 306 MovieClip
"dr1"Symbol 684 MovieClip Frame 1Symbol 306 MovieClip
"dr2"Symbol 684 MovieClip Frame 1Symbol 306 MovieClip
"dr3"Symbol 684 MovieClip Frame 1Symbol 306 MovieClip
"tp4"Symbol 684 MovieClip Frame 1Symbol 615 MovieClip
"tp3"Symbol 684 MovieClip Frame 1Symbol 615 MovieClip
"tp6"Symbol 684 MovieClip Frame 1Symbol 615 MovieClip
"tp5"Symbol 684 MovieClip Frame 1Symbol 615 MovieClip
"tp7"Symbol 684 MovieClip Frame 1Symbol 615 MovieClip
"tp8"Symbol 684 MovieClip Frame 1Symbol 615 MovieClip
"tp1"Symbol 684 MovieClip Frame 1Symbol 615 MovieClip
"tp2"Symbol 684 MovieClip Frame 1Symbol 615 MovieClip
"hero"Symbol 684 MovieClip Frame 1Symbol 205 MovieClip
"tp101"Symbol 684 MovieClip Frame 1Symbol 615 MovieClip
"tp102"Symbol 684 MovieClip Frame 1Symbol 615 MovieClip
"bbg"Symbol 693 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 693 MovieClip Frame 1Symbol 171 MovieClip
"ingame"Symbol 693 MovieClip Frame 1Symbol 182 MovieClip
"dr1"Symbol 693 MovieClip Frame 1Symbol 318 MovieClip
"dr2"Symbol 693 MovieClip Frame 1Symbol 318 MovieClip
"dr3"Symbol 693 MovieClip Frame 1Symbol 318 MovieClip
"dr4"Symbol 693 MovieClip Frame 1Symbol 318 MovieClip
"dr5"Symbol 693 MovieClip Frame 1Symbol 318 MovieClip
"tp2"Symbol 693 MovieClip Frame 1Symbol 615 MovieClip
"tp1"Symbol 693 MovieClip Frame 1Symbol 615 MovieClip
"dr6"Symbol 693 MovieClip Frame 1Symbol 349 MovieClip
"dr7"Symbol 693 MovieClip Frame 1Symbol 407 MovieClip
"hero"Symbol 693 MovieClip Frame 1Symbol 205 MovieClip
"bbg"Symbol 701 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 701 MovieClip Frame 1Symbol 171 MovieClip
"ingame"Symbol 701 MovieClip Frame 1Symbol 182 MovieClip
"dr6"Symbol 701 MovieClip Frame 1Symbol 407 MovieClip
"dr10"Symbol 701 MovieClip Frame 1Symbol 407 MovieClip
"dr3"Symbol 701 MovieClip Frame 1Symbol 349 MovieClip
"dr2"Symbol 701 MovieClip Frame 1Symbol 349 MovieClip
"dr5"Symbol 701 MovieClip Frame 1Symbol 407 MovieClip
"dr4"Symbol 701 MovieClip Frame 1Symbol 407 MovieClip
"dr8"Symbol 701 MovieClip Frame 1Symbol 349 MovieClip
"dr11"Symbol 701 MovieClip Frame 1Symbol 349 MovieClip
"dr12"Symbol 701 MovieClip Frame 1Symbol 407 MovieClip
"dr7"Symbol 701 MovieClip Frame 1Symbol 349 MovieClip
"tpp2"Symbol 701 MovieClip Frame 1Symbol 615 MovieClip
"dr9"Symbol 701 MovieClip Frame 1Symbol 407 MovieClip
"tpp1"Symbol 701 MovieClip Frame 1Symbol 615 MovieClip
"dr1"Symbol 701 MovieClip Frame 1Symbol 349 MovieClip
"hero"Symbol 701 MovieClip Frame 1Symbol 205 MovieClip
"bbg"Symbol 707 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 707 MovieClip Frame 1Symbol 171 MovieClip
"dr1"Symbol 707 MovieClip Frame 1Symbol 339 MovieClip
"dr2"Symbol 707 MovieClip Frame 1Symbol 337 MovieClip
"hero"Symbol 707 MovieClip Frame 1Symbol 205 MovieClip
"ingame"Symbol 707 MovieClip Frame 1Symbol 182 MovieClip
"bbg"Symbol 708 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 708 MovieClip Frame 1Symbol 171 MovieClip
"ingame"Symbol 708 MovieClip Frame 1Symbol 182 MovieClip
"hero"Symbol 708 MovieClip Frame 1Symbol 205 MovieClip
"dr4"Symbol 708 MovieClip Frame 1Symbol 306 MovieClip
"bbg"Symbol 711 MovieClip Frame 1Symbol 167 MovieClip
"up_wall"Symbol 711 MovieClip Frame 1Symbol 171 MovieClip
"dr1"Symbol 711 MovieClip Frame 1Symbol 306 MovieClip
"dr3"Symbol 711 MovieClip Frame 1Symbol 306 MovieClip
"dr2"Symbol 711 MovieClip Frame 1Symbol 306 MovieClip
"dr4"Symbol 711 MovieClip Frame 1Symbol 306 MovieClip
"ingame"Symbol 711 MovieClip Frame 1Symbol 182 MovieClip
"hero"Symbol 711 MovieClip Frame 1Symbol 205 MovieClip
"up_wall"Symbol 714 MovieClip Frame 1Symbol 171 MovieClip
"dr1"Symbol 714 MovieClip Frame 1Symbol 306 MovieClip
"dr3"Symbol 714 MovieClip Frame 1Symbol 306 MovieClip
"dr2"Symbol 714 MovieClip Frame 1Symbol 306 MovieClip
"dr4"Symbol 714 MovieClip Frame 1Symbol 306 MovieClip
"ingame"Symbol 714 MovieClip Frame 1Symbol 182 MovieClip
"hero"Symbol 714 MovieClip Frame 1Symbol 205 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "loop"
ExportAssets (56)Timeline Frame 1Symbol 2 as "portout1.mp3"
ExportAssets (56)Timeline Frame 1Symbol 3 as "port2.mp3"
ExportAssets (56)Timeline Frame 1Symbol 4 as "port1.mp3"
ExportAssets (56)Timeline Frame 1Symbol 5 as "pop3.wav"
ExportAssets (56)Timeline Frame 1Symbol 6 as "pop"
ExportAssets (56)Timeline Frame 1Symbol 7 as "spot"
ExportAssets (56)Timeline Frame 1Symbol 8 as "menu"
ExportAssets (56)Timeline Frame 1Symbol 9 as "dri"
ExportAssets (56)Timeline Frame 1Symbol 10 as "sfxBell"
ExportAssets (56)Timeline Frame 1Symbol 11 as "DM-WOD"
ExportAssets (56)Timeline Frame 1Symbol 12 as "clav1"
ExportAssets (56)Timeline Frame 1Symbol 13 as "block"
ExportAssets (56)Timeline Frame 1Symbol 14 as "hit"
ExportAssets (56)Timeline Frame 1Symbol 15 as "wall"
ExportAssets (56)Timeline Frame 1Symbol 16 as "bg"
ExportAssets (56)Timeline Frame 1Symbol 18 as "boombastik"
ExportAssets (56)Timeline Frame 1Symbol 21 as "libGlow"
ExportAssets (56)Timeline Frame 1Symbol 23 as "Login_ico1"
ExportAssets (56)Timeline Frame 1Symbol 25 as "dn"
ExportAssets (56)Timeline Frame 1Symbol 28 as "hero_particle2"
ExportAssets (56)Timeline Frame 1Symbol 29 as "hero_particle"
ExportAssets (56)Timeline Frame 1Symbol 717 as "__Packages.mochi.as2.MochiAd"

Labels

"preload"Frame 1
"preroller"Frame 8
"preroller2"Frame 15
"offline"Frame 23
"interad"Frame 36
"preloader"Frame 43
"menu"Frame 53
"credits"Frame 59
"score"Frame 66
"lda"Frame 72
"nothing"Frame 77
"gotoLevel"Frame 84
"level1"Frame 93
"level2"Frame 99
"level3"Frame 105
"level4"Frame 111
"level5"Frame 117
"level6"Frame 123
"level7"Frame 129
"level10"Frame 135
"level11"Frame 141
"level8"Frame 147
"level9"Frame 153
"level12"Frame 159
"level13"Frame 166
"level14"Frame 173
"level15"Frame 180
"level16"Frame 187
"level17"Frame 194
"level18"Frame 201
"level20"Frame 208
"level23"Frame 215
"level21"Frame 222
"level19"Frame 229
"level200000"Frame 236
"level2100000"Frame 243
"level2200000"Frame 250
"level22"Frame 257
"level24"Frame 264
"level25"Frame 271
"level25000"Frame 278
"level100"Frame 301
"level200"Frame 308
"sitelock"Frame 318
"fadeout"Symbol 124 MovieClip Frame 2
"fadein"Symbol 124 MovieClip Frame 26
"finish"Symbol 177 MovieClip Frame 2
"in"Symbol 182 MovieClip Frame 2
"out"Symbol 182 MovieClip Frame 56
"in"Symbol 205 MovieClip Frame 2
"finish"Symbol 205 MovieClip Frame 53
"got"Symbol 205 MovieClip Frame 137
"in"Symbol 221 MovieClip Frame 2
"in"Symbol 615 MovieClip Frame 2




https://swfchan.com/53/264523/info.shtml
Created: 20/5 -2026 08:14:31 Last modified: 20/5 -2026 08:14:31 Server time: 01/06 -2026 19:22:31