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

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

Neon Maze.swf

This is the info page for
Flash #54392

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


Text
This site does not support this game.
Please visit King.com to play.

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

This ad supports developers of this game

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>

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

Walkthrough

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.

ActionScript [AS1/AS2]

Frame 1
function toPreroller(aaa) { trace(aaa); _root.adServingEnds = true; } function placeLogo() { mcLoadLogoBg._y = 400; } function initLoader() { var _local3 = ((result_lv.b == undefined) ? "false" : (result_lv.b)); trace(("b ::" + _local3) + "::"); trace(("result_lv.h ::" + result_lv.h) + "::"); if (result_lv.h == "true") { isHome = true; } if (_local3 == "true") { bannedSign._alpha = 100; } else { this.onEnterFrame = function () { createNewParticle(); mcLoadLogoBg.bar._xscale = 100 * (1 - (getBytesLoaded() / getBytesTotal())); emitter._x = (mcLoadLogoBg._x + (96 - mcLoadLogoBg.bar._width)) + 15; emitter._y = mcLoadLogoBg._y + 44; trace(_root.adServingEnds); if (getBytesLoaded() == getBytesTotal()) { trace("eeee"); kill(); if ((System.capabilities.playerType == "StandAlone") || (System.capabilities.playerType == "External")) { this.onEnterFrame = undefined; this.gotoAndStop("offline"); } else if (_root.adServingEnds) { this.onEnterFrame = undefined; if (!isHome) { this.gotoAndStop("preroller"); } else { this.gotoAndStop("preloader"); } } } }; bannedSign.onRelease = function () { if (!isHome) { openKingPage(LINK_TYPE_LOADER_PROGRESS); } }; } } 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; var _local2 = new md5(); checkStr = _local2.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) { var _local1 = new md5(); if (checkStr != _local1.hash((((iscore + ":") + GAME_NAME) + ":") + SK)) { SSK = "ng41ui54hy35tdsnd6f54rews"; } } } function submitScore(score) { var _local2 = new md5(); var _local1 = _local2.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 = new md5(); var _local2 = _local1.hash((((level + ":") + GAME_NAME) + ":") + SSK); try { if (isHome) { flash.external.ExternalInterface.call("submitLevel", level, _local2); } } catch(e:Error) { trace(e); } } function submitAchievement(achievement) { var _local1 = new md5(); var _local2 = _local1.hash((((achievement + ":") + GAME_NAME) + ":") + SAK); try { if (isHome) { flash.external.ExternalInterface.call("submitAchievement", achievement, _local2); } } 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); } function createNewParticle() { var _local4 = emitter.attachMovie("libGlow", "newLibGlow", emitter.getNextHighestDepth()); var _local3 = new Particle(_local4, -10, -7, _root._width, _root._height); _local3.setVel(randRange(minXVel, maxXVel), randRange(minYVel, maxYVel)); _local3.setSize(randRange(minSize, maxSize)); particles.push(_local3); while (particles.length > numParticles) { _local3 = particles.shift(); _local3.destroy(); } var _local2 = 0; while (_local2 < particles.length) { particles[_local2].update(); _local2++; } } function kill() { var _local1 = 0; while (_local1 < particles.length) { particles[_local1].destroy(); _local1++; } } function randRange(min, max) { var _local1 = (Math.random() * (max - min)) + min; return(_local1); } stop(); _root.kongregateServices.connect(); 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 = false; adblock = false; domain_parts = _url.split("://"); real_domain = domain_parts[1].split("/"); currentDomain = real_domain[0]; var dm = new Array("king.com", "king.de", "midasplayer.com", "mygame.com", "kongregate.com", "adkon.com", "armorgames.com", "oyunlar1.com", "llnwd.net", "jogosjogos.com", "onemorelevel.com", "maxgames.com", "uol.com.br", "bubblebox.com", "funny-base.com", "ungrounded.net", "juegosdiarios.com", "freeworldgroup.com", "physicsgames.net", "freewebarcade.com", "freewebarcade.info", "freewebarcade3.net", "games2girls.com", "yahoo.com"); i = 0; while (i < dm.length) { domainLockTo = dm[i]; if (currentDomain.indexOf(domainLockTo) != -1) { adblock = true; } i++; } if (!adblock) { if ((System.capabilities.playerType == "StandAlone") || (System.capabilities.playerType == "External")) { _root.adServingEnds = true; } else { mochi.as2.MochiAd.showPreGameAd({id:"13e1e619a33273aa", res:"650x500", no_bg:true, background:13562073, color:3449938, outline:16777215, ad_loaded:function () { placeLogo(); }, ad_finished:function () { toPreroller("finished"); }, ad_failed:function () { toPreroller("failed"); }, ad_skipped:function () { toPreroller("skipped"); }}); _mochiad._mochiad_wait._visible = false; _mochiad._mochiad_ctr.ad._preloadBarMC._visible = false; } } else { trace("nomochis"); _root.adServingEnds = true; } var GAME_NAME = "neon-maze"; var MOCHI_SIGNATURE = "9cec62fd"; 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"; var SSK = "ng43ui54hy35tdsnd6f54rews"; var SAK = "ggfd7sday923mdsfd8csfds34"; var SK = "vf78hxcsjak77cxzhjkwad87s"; var iscore = 123; var checkStr = null; var USER_TYPE_UNREGISTERED = 0; var USER_TYPE_REGISTERED = 1; var USER_TYPE_GOLD = 2; var USER_TYPE_SUBSCRIPTION = 3; var SessionID = ""; var gameWidth = Stage.width; var gameHeight = Stage.height; var isHome = false; bannedSign._alpha = 0; bannedSign._x = (bannedSign._y = 0); bannedSign.bg._width = gameWidth; bannedSign.bg._height = gameHeight; var result_lv = new LoadVars(); result_lv.onLoad = function (success) { _root.initLoader(); }; var my_lv = new LoadVars(); my_lv.game = GAME_NAME; my_lv.from = _root._url; var so = SharedObject.getLocal("session"); if (so.data.sessionID == null) { var rnd1 = Math.floor(Math.random() * 4294967295); var rnd2 = Math.floor(Math.random() * 4294967295); so.data.sessionID = rnd1.toString(16) + rnd2.toString(16); so.flush(); } sessionID = so.data.sessionID; my_lv.session = sessionID; my_lv.sendAndLoad(loadCountURL, result_lv, "GET"); if (MOCHI_SIGNATURE != "") { __com_mochibot__(MOCHI_SIGNATURE, this, 10301, true); } var numParticles = 20; var minXVel = -1; var maxXVel = 1; var minYVel = -1; var maxYVel = 1; var minSize = 12; var maxSize = 29; var minAlpha = 10; var maxAlpha = 20; var particles = new Array(); var emitter = _root.createEmptyMovieClip("p_holder", _root.getNextHighestDepth());
Frame 8
function fireFire() { new mx.transitions.Tween(mcKingLoader.fireLogoHolder, "_x", mx.transitions.easing.Regular.easeOut, mcKingLoader.fireLogoHolder._x, ((gameWidth / 2) - (mcKingLoader.dragonHolder._width / 2)) - 51, 1, true); mcKingLoader.fireLogoHolder.play(); } function showPlayBtn() { mcKingLoader.mcPlay._x = (gameWidth / 2) - (mcKingLoader.mcPlay._width / 2); mcKingLoader.mcPlay._y = mcKingLoader.fireLogoHolder._y + 210; new mx.transitions.Tween(mcKingLoader.mcPlay, "_alpha", mx.transitions.easing.None.easeNone, 0, 100, 0.5, true); mcKingLoader.mcPlay.onPress = btnOnPress; mcKingLoader.mcPlay.onRollOver = btnOnOver; mcKingLoader.mcPlay.onRollOut = (mcKingLoader.mcPlay.onDragOut = btnOnOut); mcKingLoader.mcPlay.onRelease = mx.utils.Delegate.create(this, launchGame); Delay.oneShot(this, showGlimmer, 1000); } function showGlimmer() { bell.start(); mcKingLoader.mcGlim._x = mcKingLoader.fireLogoHolder_.x - mcKingLoader.mcGlim._width; mcKingLoader.mcGlim._y = mcKingLoader.fireLogoHolder._y + 112; var _local2 = mcKingLoader.fireLogoHolder._x - mcKingLoader.mcGlim._width; var _local3 = (mcKingLoader.fireLogoHolder._x + mcKingLoader.fireLogoHolder._width) - 80; var _local1 = new mx.transitions.Tween(mcKingLoader.mcGlim, "_x", mx.transitions.easing.None.easeNone, _local2, _local3, 0.5, true); _local1.onMotionFinished = glimmerDone; } function glimmerDone() { mcKingLoader.mcGlim._visible = false; } function btnOnOver() { var _local2 = this; _local2.gotoAndStop("over"); } function btnOnOut() { var _local2 = this; _local2.gotoAndStop("idle"); } function btnOnPress() { var _local2 = this; _local2.gotoAndStop("down"); } function launchGame() { gotoAndPlay ("preloader"); } stop(); mcKingLoader.fireLogoHolder.stop(); mcKingLoader.dragonHolder.stop(); mcKingLoader._x = (mcKingLoader._y = 0); mcKingLoader.bg._width = gameWidth; mcKingLoader.bg._height = gameHeight; mcKingLoader.bg.onRelease = function () { if (!isHome) { openKingPage(LINK_TYPE_LOADER_MOVIE); } }; mcKingLoader.fireLogoHolder._x = (gameWidth - mcKingLoader.fireLogoHolder._width) - 90; mcKingLoader.fireLogoHolder._y = ((gameHeight / 2) - (mcKingLoader.fireLogoHolder._height / 2)) - 60; mcKingLoader.dragonHolder._x = gameWidth - mcKingLoader.dragonHolder._width; mcKingLoader.dragonHolder._y = (gameHeight / 2) - (mcKingLoader.dragonHolder._height / 2); mcKingLoader.mcPlay._alpha = 0; mcKingLoader.mcPlay.useHandCursor = true; var bell = new Sound(); bell.attachSound("sfxBell"); mcKingLoader.initAnimDriver(30, false); trace("StartAnim"); mcKingLoader.dragonHolder.play();
Frame 16
stop();
Frame 22
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 29
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 37
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 43
stop();
Frame 50
stop(); _root.kongregateStats.submit("GameComplete", 1); _root.kongregateScores.submit(_root.totalscore); prr.text = _root.totalscore;
Frame 56
stop();
Frame 63
delete onEnterFrame; if (((((getTimer() - lastAd) > 480000) && (_root.level > 7)) && (!adblock)) && (_root.level != 26)) { gotoAndStop ("interad"); } else 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 72
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; 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 78
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; 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 84
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; 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 90
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; 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 96
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; 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 102
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; 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 108
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; 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 114
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; 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 120
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; 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 126
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; 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 132
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; 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 138
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; 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 145
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; 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 152
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; 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 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; 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 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; 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 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; 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 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; 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 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; 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 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; 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 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; 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 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; 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 236
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; 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 243
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; 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 250
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; 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 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; 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 280
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; 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 287
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(); };
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 727 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 728 MovieClip [__Packages.md5] Frame 0
class md5 { function md5 (b64pad, chrsz) { if (b64pad != undefined) { this.b64pad = b64pad; } if (((chrsz != undefined) && (chrsz == 8)) || (chrsz == 16)) { this.chrsz = chrsz; } } function hash(s) { return(hex_md5(s)); } function hex_md5(s) { return(binl2hex(core_md5(str2binl(s), s.length * chrsz))); } function b64_md5(s) { return(binl2b64(core_md5(str2binl(s), s.length * chrsz))); } function str_md5(s) { return(binl2str(core_md5(str2binl(s), s.length * chrsz))); } function hex_hmac_md5(key, data) { return(binl2hex(core_hmac_md5(key, data))); } function b64_hmac_md5(key, data) { return(binl2b64(core_hmac_md5(key, data))); } function str_hmac_md5(key, data) { return(binl2str(core_hmac_md5(key, data))); } function md5_cmn(q, a, b, x, s, t) { return(safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s), b)); } function md5_ff(a, b, c, d, x, s, t) { return(md5_cmn((b & c) | ((~b) & d), a, b, x, s, t)); } function md5_gg(a, b, c, d, x, s, t) { return(md5_cmn((b & d) | (c & (~d)), a, b, x, s, t)); } function md5_hh(a, b, c, d, x, s, t) { return(md5_cmn((b ^ c) ^ d, a, b, x, s, t)); } function md5_ii(a, b, c, d, x, s, t) { return(md5_cmn(c ^ (b | (~d)), a, b, x, s, t)); } function core_md5(x, len) { x[len >> 5] = x[len >> 5] | (128 << (len % 32)); x[(((len + 64) >>> 9) << 4) + 14] = len; var _local5 = 1732584193 /* 0x67452301 */; var _local4 = -271733879; var _local3 = -1732584194; var _local2 = 271733878 /* 0x10325476 */; var _local6 = 0; while (_local6 < x.length) { var _local11 = _local5; var _local10 = _local4; var _local9 = _local3; var _local8 = _local2; _local5 = md5_ff(_local5, _local4, _local3, _local2, x[_local6 + 0], 7, -680876936); _local2 = md5_ff(_local2, _local5, _local4, _local3, x[_local6 + 1], 12, -389564586); _local3 = md5_ff(_local3, _local2, _local5, _local4, x[_local6 + 2], 17, 606105819); _local4 = md5_ff(_local4, _local3, _local2, _local5, x[_local6 + 3], 22, -1044525330); _local5 = md5_ff(_local5, _local4, _local3, _local2, x[_local6 + 4], 7, -176418897); _local2 = md5_ff(_local2, _local5, _local4, _local3, x[_local6 + 5], 12, 1200080426); _local3 = md5_ff(_local3, _local2, _local5, _local4, x[_local6 + 6], 17, -1473231341); _local4 = md5_ff(_local4, _local3, _local2, _local5, x[_local6 + 7], 22, -45705983); _local5 = md5_ff(_local5, _local4, _local3, _local2, x[_local6 + 8], 7, 1770035416); _local2 = md5_ff(_local2, _local5, _local4, _local3, x[_local6 + 9], 12, -1958414417); _local3 = md5_ff(_local3, _local2, _local5, _local4, x[_local6 + 10], 17, -42063); _local4 = md5_ff(_local4, _local3, _local2, _local5, x[_local6 + 11], 22, -1990404162); _local5 = md5_ff(_local5, _local4, _local3, _local2, x[_local6 + 12], 7, 1804603682); _local2 = md5_ff(_local2, _local5, _local4, _local3, x[_local6 + 13], 12, -40341101); _local3 = md5_ff(_local3, _local2, _local5, _local4, x[_local6 + 14], 17, -1502002290); _local4 = md5_ff(_local4, _local3, _local2, _local5, x[_local6 + 15], 22, 1236535329); _local5 = md5_gg(_local5, _local4, _local3, _local2, x[_local6 + 1], 5, -165796510); _local2 = md5_gg(_local2, _local5, _local4, _local3, x[_local6 + 6], 9, -1069501632); _local3 = md5_gg(_local3, _local2, _local5, _local4, x[_local6 + 11], 14, 643717713); _local4 = md5_gg(_local4, _local3, _local2, _local5, x[_local6 + 0], 20, -373897302); _local5 = md5_gg(_local5, _local4, _local3, _local2, x[_local6 + 5], 5, -701558691); _local2 = md5_gg(_local2, _local5, _local4, _local3, x[_local6 + 10], 9, 38016083); _local3 = md5_gg(_local3, _local2, _local5, _local4, x[_local6 + 15], 14, -660478335); _local4 = md5_gg(_local4, _local3, _local2, _local5, x[_local6 + 4], 20, -405537848); _local5 = md5_gg(_local5, _local4, _local3, _local2, x[_local6 + 9], 5, 568446438); _local2 = md5_gg(_local2, _local5, _local4, _local3, x[_local6 + 14], 9, -1019803690); _local3 = md5_gg(_local3, _local2, _local5, _local4, x[_local6 + 3], 14, -187363961); _local4 = md5_gg(_local4, _local3, _local2, _local5, x[_local6 + 8], 20, 1163531501); _local5 = md5_gg(_local5, _local4, _local3, _local2, x[_local6 + 13], 5, -1444681467); _local2 = md5_gg(_local2, _local5, _local4, _local3, x[_local6 + 2], 9, -51403784); _local3 = md5_gg(_local3, _local2, _local5, _local4, x[_local6 + 7], 14, 1735328473); _local4 = md5_gg(_local4, _local3, _local2, _local5, x[_local6 + 12], 20, -1926607734); _local5 = md5_hh(_local5, _local4, _local3, _local2, x[_local6 + 5], 4, -378558); _local2 = md5_hh(_local2, _local5, _local4, _local3, x[_local6 + 8], 11, -2022574463); _local3 = md5_hh(_local3, _local2, _local5, _local4, x[_local6 + 11], 16, 1839030562); _local4 = md5_hh(_local4, _local3, _local2, _local5, x[_local6 + 14], 23, -35309556); _local5 = md5_hh(_local5, _local4, _local3, _local2, x[_local6 + 1], 4, -1530992060); _local2 = md5_hh(_local2, _local5, _local4, _local3, x[_local6 + 4], 11, 1272893353); _local3 = md5_hh(_local3, _local2, _local5, _local4, x[_local6 + 7], 16, -155497632); _local4 = md5_hh(_local4, _local3, _local2, _local5, x[_local6 + 10], 23, -1094730640); _local5 = md5_hh(_local5, _local4, _local3, _local2, x[_local6 + 13], 4, 681279174); _local2 = md5_hh(_local2, _local5, _local4, _local3, x[_local6 + 0], 11, -358537222); _local3 = md5_hh(_local3, _local2, _local5, _local4, x[_local6 + 3], 16, -722521979); _local4 = md5_hh(_local4, _local3, _local2, _local5, x[_local6 + 6], 23, 76029189); _local5 = md5_hh(_local5, _local4, _local3, _local2, x[_local6 + 9], 4, -640364487); _local2 = md5_hh(_local2, _local5, _local4, _local3, x[_local6 + 12], 11, -421815835); _local3 = md5_hh(_local3, _local2, _local5, _local4, x[_local6 + 15], 16, 530742520); _local4 = md5_hh(_local4, _local3, _local2, _local5, x[_local6 + 2], 23, -995338651); _local5 = md5_ii(_local5, _local4, _local3, _local2, x[_local6 + 0], 6, -198630844); _local2 = md5_ii(_local2, _local5, _local4, _local3, x[_local6 + 7], 10, 1126891415); _local3 = md5_ii(_local3, _local2, _local5, _local4, x[_local6 + 14], 15, -1416354905); _local4 = md5_ii(_local4, _local3, _local2, _local5, x[_local6 + 5], 21, -57434055); _local5 = md5_ii(_local5, _local4, _local3, _local2, x[_local6 + 12], 6, 1700485571); _local2 = md5_ii(_local2, _local5, _local4, _local3, x[_local6 + 3], 10, -1894986606); _local3 = md5_ii(_local3, _local2, _local5, _local4, x[_local6 + 10], 15, -1051523); _local4 = md5_ii(_local4, _local3, _local2, _local5, x[_local6 + 1], 21, -2054922799); _local5 = md5_ii(_local5, _local4, _local3, _local2, x[_local6 + 8], 6, 1873313359); _local2 = md5_ii(_local2, _local5, _local4, _local3, x[_local6 + 15], 10, -30611744); _local3 = md5_ii(_local3, _local2, _local5, _local4, x[_local6 + 6], 15, -1560198380); _local4 = md5_ii(_local4, _local3, _local2, _local5, x[_local6 + 13], 21, 1309151649); _local5 = md5_ii(_local5, _local4, _local3, _local2, x[_local6 + 4], 6, -145523070); _local2 = md5_ii(_local2, _local5, _local4, _local3, x[_local6 + 11], 10, -1120210379); _local3 = md5_ii(_local3, _local2, _local5, _local4, x[_local6 + 2], 15, 718787259); _local4 = md5_ii(_local4, _local3, _local2, _local5, x[_local6 + 9], 21, -343485551); _local5 = safe_add(_local5, _local11); _local4 = safe_add(_local4, _local10); _local3 = safe_add(_local3, _local9); _local2 = safe_add(_local2, _local8); _local6 = _local6 + 16; } return(Array(_local5, _local4, _local3, _local2)); } function core_hmac_md5(key, data) { var _local3 = new Array(str2binl(key)); if (_local3.length > 16) { _local3 = core_md5(_local3, key.length * chrsz); } var _local4 = new Array(16); var _local5 = new Array(16); var _local2 = 0; while (_local2 < 16) { _local4[_local2] = _local3[_local2] ^ 909522486; _local5[_local2] = _local3[_local2] ^ 1549556828; _local2++; } var _local6 = new Array(core_md5(_local4.concat(str2binl(data)), 512 + (data.length * chrsz))); return(core_md5(_local5.concat(_local6), 640)); } function safe_add(x, y) { var _local1 = new Number((x & 65535) + (y & 65535)); var _local2 = new Number(((x >> 16) + (y >> 16)) + (_local1 >> 16)); return((_local2 << 16) | (_local1 & 65535)); } function bit_rol(num, cnt) { return((num << cnt) | (num >>> (32 - cnt))); } function str2binl(str) { var _local4 = new Array(); var _local5 = (1 << chrsz) - 1; var _local2 = 0; while (_local2 < (str.length * chrsz)) { _local4[_local2 >> 5] = _local4[_local2 >> 5] | ((str.charCodeAt(_local2 / chrsz) & _local5) << (_local2 % 32)); _local2 = _local2 + chrsz; } return(_local4); } function binl2str(bin) { var _local4 = new String(""); var _local5 = (1 << chrsz) - 1; var _local2 = 0; while (_local2 < (bin.length * 32)) { _local4 = _local4 + String.fromCharCode((bin[_local2 >> 5] >>> (_local2 % 32)) & _local5); _local2 = _local2 + chrsz; } return(_local4); } function binl2hex(binarray) { var _local3 = "0123456789abcdef"; var _local4 = new String(""); var _local1 = 0; while (_local1 < (binarray.length * 4)) { _local4 = _local4 + (_local3.charAt((binarray[_local1 >> 2] >> (((_local1 % 4) * 8) + 4)) & 15) + _local3.charAt((binarray[_local1 >> 2] >> ((_local1 % 4) * 8)) & 15)); _local1++; } return(_local4); } function binl2b64(binarray) { var _local7 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; var _local5 = new String(""); var _local3 = 0; while (_local3 < (binarray.length * 4)) { var _local6 = ((((binarray[_local3 >> 2] >> (8 * (_local3 % 4))) & 255) << 16) | (((binarray[(_local3 + 1) >> 2] >> (8 * ((_local3 + 1) % 4))) & 255) << 8)) | ((binarray[(_local3 + 2) >> 2] >> (8 * ((_local3 + 2) % 4))) & 255); var _local2 = 0; while (_local2 < 4) { if (((_local3 * 8) + (_local2 * 6)) > (binarray.length * 32)) { _local5 = _local5 + b64pad; } else { _local5 = _local5 + _local7.charAt((_local6 >> (6 * (3 - _local2))) & 63); } _local2++; } _local3 = _local3 + 3; } return(_local5); } var b64pad = new String(""); var chrsz = new Number(8); }
Symbol 729 MovieClip [__Packages.Particle] Frame 0
class Particle { var _stageWidth, _stageHeight, clip, _xVel, _yVel; function Particle (libParticle, xpos, ypos, stageWidth, stageHeight) { _stageWidth = stageWidth; _stageHeight = stageHeight; clip = libParticle; clip._x = xpos; clip._y = ypos; } function setVel(xvel, yvel) { _xVel = xvel; _yVel = yvel; } function setSize(size) { clip._width = size; clip._height = size; } function setAlphaDecr(val) { _alphaDecr = val; } function update() { clip._x = clip._x + _xVel; clip._y = clip._y + _yVel; clip._alpha = clip._alpha - _alphaDecr; } function destroy() { removeMovieClip(clip); } var _alphaDecr = 0; }
Symbol 730 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon { function OnEnterFrameBeacon () { } static function init() { var _local4 = _global.MovieClip; if (!_root.__OnEnterFrameBeacon) { mx.transitions.BroadcasterMX.initialize(_local4); var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876); _local3.onEnterFrame = function () { _global.MovieClip.broadcastMessage("onEnterFrame"); }; } } static var version = "1.1.0.52"; }
Symbol 731 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX { var _listeners; function BroadcasterMX () { } static function initialize(o, dontCreateArray) { if (o.broadcastMessage != undefined) { delete o.broadcastMessage; } o.addListener = mx.transitions.BroadcasterMX.prototype.addListener; o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener; if (!dontCreateArray) { o._listeners = new Array(); } } function addListener(o) { removeListener(o); if (broadcastMessage == undefined) { broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage; } return(_listeners.push(o)); } function removeListener(o) { var _local2 = _listeners; var _local3 = _local2.length; while (_local3--) { if (_local2[_local3] == o) { _local2.splice(_local3, 1); if (!_local2.length) { broadcastMessage = undefined; } return(true); } } return(false); } function broadcastMessage() { var _local5 = String(arguments.shift()); var _local4 = _listeners.concat(); var _local6 = _local4.length; var _local3 = 0; while (_local3 < _local6) { _local4[_local3][_local5].apply(_local4[_local3], arguments); _local3++; } } static var version = "1.1.0.52"; }
Symbol 732 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween { var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime; function Tween (obj, prop, func, begin, finish, duration, useSeconds) { mx.transitions.OnEnterFrameBeacon.init(); if (!arguments.length) { return; } this.obj = obj; this.prop = prop; this.begin = begin; position = (begin); this.duration = (duration); this.useSeconds = useSeconds; if (func) { this.func = func; } this.finish = (finish); _listeners = []; addListener(this); start(); } function set time(t) { prevTime = _time; if (t > duration) { if (looping) { rewind(t - _duration); update(); broadcastMessage("onMotionLooped", this); } else { if (useSeconds) { _time = _duration; update(); } stop(); broadcastMessage("onMotionFinished", this); } } else if (t < 0) { rewind(); update(); } else { _time = t; update(); } //return(time); } function get time() { return(_time); } function set duration(d) { _duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d)); //return(duration); } function get duration() { return(_duration); } function set FPS(fps) { var _local2 = isPlaying; stopEnterFrame(); _fps = fps; if (_local2) { startEnterFrame(); } //return(FPS); } function get FPS() { return(_fps); } function set position(p) { setPosition(p); //return(position); } function setPosition(p) { prevPos = _pos; obj[prop] = (_pos = p); broadcastMessage("onMotionChanged", this, _pos); updateAfterEvent(); } function get position() { return(getPosition()); } function getPosition(t) { if (t == undefined) { t = _time; } return(func(t, begin, change, _duration)); } function set finish(f) { change = f - begin; //return(finish); } function get finish() { return(begin + change); } function continueTo(finish, duration) { begin = position; this.finish = (finish); if (duration != undefined) { this.duration = (duration); } start(); } function yoyo() { continueTo(begin, time); } function startEnterFrame() { if (_fps == undefined) { _global.MovieClip.addListener(this); } else { _intervalID = setInterval(this, "onEnterFrame", 1000 / _fps); } isPlaying = true; } function stopEnterFrame() { if (_fps == undefined) { _global.MovieClip.removeListener(this); } else { clearInterval(_intervalID); } isPlaying = false; } function start() { rewind(); startEnterFrame(); broadcastMessage("onMotionStarted", this); } function stop() { stopEnterFrame(); broadcastMessage("onMotionStopped", this); } function resume() { fixTime(); startEnterFrame(); broadcastMessage("onMotionResumed", this); } function rewind(t) { _time = ((t == undefined) ? 0 : (t)); fixTime(); update(); } function fforward() { time = (_duration); fixTime(); } function nextFrame() { if (useSeconds) { time = ((getTimer() - _startTime) / 1000); } else { time = (_time + 1); } } function onEnterFrame() { nextFrame(); } function prevFrame() { if (!useSeconds) { time = (_time - 1); } } function toString() { return("[Tween]"); } function fixTime() { if (useSeconds) { _startTime = getTimer() - (_time * 1000); } } function update() { position = (getPosition(_time)); } static var version = "1.1.0.52"; static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init(); static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true); function func(t, b, c, d) { return(((c * t) / d) + b); } }
Symbol 733 MovieClip [__Packages.Delay] Frame 0
class Delay { var m_fn, m_param, m_context, m_delay, m_started, m_timerId; function Delay (context, fn, delay) { m_fn = fn; m_param = new Array(); var _local3 = 3; while (_local3 < arguments.length) { m_param.push(arguments[_local3]); _local3++; } m_context = context; m_delay = delay; m_started = getTimer(); m_timerId = setInterval(mx.utils.Delegate.create(this, onEvent), delay); } function onEvent() { if (getTimer() >= (m_delay + m_started)) { clearInterval(m_timerId); m_fn.apply(m_context, m_param); m_fn = undefined; m_param = undefined; } } static function oneShot(context, fn, delay) { var _local3 = new Delay(context, fn, delay); _local3.m_param = new Array(); var _local2 = 3; while (_local2 < arguments.length) { _local3.m_param.push(arguments[_local2]); _local2++; } } }
Symbol 734 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object { var func; function Delegate (f) { super(); func = f; } static function create(obj, func) { var _local2 = function () { var _local2 = arguments.callee.target; var _local3 = arguments.callee.func; return(_local3.apply(_local2, arguments)); }; _local2.target = obj; _local2.func = func; return(_local2); } function createDelegate(obj) { return(create(obj, func)); } }
Symbol 735 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular { function Regular () { } static function easeIn(t, b, c, d) { t = t / d; return(((c * t) * t) + b); } static function easeOut(t, b, c, d) { t = t / d; return((((-c) * t) * (t - 2)) + b); } static function easeInOut(t, b, c, d) { t = t / (d / 2); if (t < 1) { return((((c / 2) * t) * t) + b); } t--; return((((-c) / 2) * ((t * (t - 2)) - 1)) + b); } static var version = "1.1.0.52"; }
Symbol 736 MovieClip [__Packages.mx.transitions.easing.None] Frame 0
class mx.transitions.easing.None { function None () { } static function easeNone(t, b, c, d) { return(((c * t) / d) + b); } static function easeIn(t, b, c, d) { return(((c * t) / d) + b); } static function easeOut(t, b, c, d) { return(((c * t) / d) + b); } static function easeInOut(t, b, c, d) { return(((c * t) / d) + b); } static var version = "1.1.0.52"; }
Symbol 737 MovieClip [__Packages.AnimDriver] Frame 0
class AnimDriver extends MovieClip { var fps, pauseOffset, gotoAndStop, loop, startTime, onEnterFrame, _totalframes; function AnimDriver () { super(); } function initAnimDriver(p_fps) { fps = p_fps; pauseOffset = 0; } function playAnim(p_frame, p_loop) { gotoAndStop(p_frame); loop = p_loop; startTime = getTimer(); onEnterFrame = mx.utils.Delegate.create(this, updateAnim); } function disableAnim() { onEnterFrame = undefined; } function jumpTo(p_frame) { stopAnim(); playAnim(p_frame); } function pauseAnim() { pauseOffset = getTimer(); onEnterFrame = undefined; } function stopAnim() { startTime = 1; onEnterFrame = undefined; } function updateAnim() { var _local3 = getTimer(); var _local4 = (1 / fps) * 1000; var _local2 = Math.round(((_local3 - startTime) / _local4) + 1); if (_local2 >= _totalframes) { startTime = _local3; _local2 = _totalframes; if (!loop) { stopAnim(); } } gotoAndStop(_local2); } }
Symbol 42 MovieClip Frame 80
_root.fireFire();
Symbol 42 MovieClip Frame 119
stop();
Symbol 42 MovieClip Frame 128
gotoAndStop (120);
Symbol 42 MovieClip Frame 237
stop();
Symbol 44 MovieClip Frame 73
stop(); _root.showPlayBtn();
Symbol 56 MovieClip Frame 1
stop();
Symbol 57 MovieClip [KingLoader] Frame 1
#initclip 12 Object.registerClass("KingLoader", AnimDriver); #endinitclip
Symbol 64 Button
on (release) { _root.openOfflineProtectionLink(); }
Symbol 75 Button
on (release) { if (_root.mr) { _root.mr = false; _root.finotype = "new"; _root.fader.gotoAndPlay("fadeout"); } }
Symbol 81 Button
on (release) { if (_root.mr) { _root.mr = false; _root.finotype = "continue"; _root.fader.gotoAndPlay("fadeout"); } }
Symbol 87 Button
on (release) { _root.openSignLink(); }
Symbol 93 Button
on (release) { _root.openHighscoresLink(); }
Symbol 99 Button
on (release) { gotoAndStop ("credits"); }
Symbol 105 Button
on (release) { _root.openOtherGamesLink(); }
Symbol 119 Button
on (release) { if (_root.sounds) { _root.soundsOff(); } else { _root.soundsOn(); } }
Symbol 131 Button
on (release) { _root.openAddToWebsiteLink(); }
Symbol 133 Button
on (release) { _root.openSignLink(); }
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 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 135 MovieClip Frame 26
play();
Symbol 135 MovieClip Frame 50
stop(); _root.level_started();
Symbol 140 Button
on (release) { gotoAndStop ("menu"); }
Symbol 159 Button
on (release) { _root.openOtherGamesLink(); }
Symbol 164 Button
on (release) { _root.submitScore(_root.totalscore); }
Symbol 169 Button
on (release) { gotoAndStop ("menu"); }
Symbol 184 MovieClip Frame 1
stop();
Symbol 184 MovieClip Frame 2
if (!_root.sounds) { stopAllSounds(); }
Symbol 184 MovieClip Frame 31
_root.fader.gotoAndPlay("fadeout");
Symbol 184 MovieClip Frame 84
stop();
Symbol 189 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 2
_root.change_color(_root.hero_color, _root.hero_clr);
Symbol 189 MovieClip Frame 32
_root.all.hero.gotoAndPlay("in"); _root.all.inlift.gotoAndPlay("in"); stop();
Symbol 189 MovieClip Frame 56
_root.all.hero.isDown = true; _root.gameHasStarted();
Symbol 189 MovieClip Frame 80
stop();
Symbol 212 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 25
_root.all.ingame.gotoAndPlay("out");
Symbol 212 MovieClip Frame 52
stop();
Symbol 212 MovieClip Frame 136
stop();
Symbol 212 MovieClip Frame 141
stop();
Symbol 212 MovieClip Frame 181
stop();
Symbol 213 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 176 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 213 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 180 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 213 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 192 MovieClip in Symbol 213 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 196 MovieClip in Symbol 213 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 192 MovieClip in Symbol 213 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 192 MovieClip in Symbol 213 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 192 MovieClip in Symbol 213 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 192 MovieClip in Symbol 213 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 212 MovieClip "hero" in Symbol 213 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 192 MovieClip in Symbol 213 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 217 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 65
stop();
Symbol 221 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 222 Button
on (release) { if (_root.sounds) { _root.soundsOff(); } else { _root.soundsOn(); } } on (keyPress "m") { if (_root.sounds) { _root.soundsOff(); } else { _root.soundsOn(); } }
Symbol 228 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 2
if (!_root.sounds) { stopAllSounds(); }
Symbol 228 MovieClip Frame 72
stop();
Instance of Symbol 224 MovieClip "score" in Symbol 229 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 242 Button
on (release) { _root.resumeGame(); }
Symbol 245 Button
on (release) { _root.gotoAndStop("gotoLevel"); }
Symbol 247 Button
on (release) { if (_root.sounds) { _root.soundsOff(); } else { _root.soundsOn(); } }
Symbol 250 Button
on (release) { _root.level = "menu"; _root.gotoAndStop("gotoLevel"); }
Symbol 253 Button
on (release) { _root.openSignLink(); }
Symbol 255 Button
on (release) { _root.openSignLink(); }
Symbol 262 Button
on (release) { _root.openSignLink(); }
Symbol 269 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 176 MovieClip in Symbol 269 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 269 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 269 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 264 MovieClip in Symbol 269 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 269 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 192 MovieClip in Symbol 269 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 195 MovieClip in Symbol 269 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 192 MovieClip in Symbol 269 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 192 MovieClip in Symbol 269 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 192 MovieClip in Symbol 269 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 195 MovieClip in Symbol 269 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 195 MovieClip in Symbol 269 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 195 MovieClip in Symbol 269 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 195 MovieClip in Symbol 269 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 268 MovieClip in Symbol 269 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 195 MovieClip in Symbol 269 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 195 MovieClip in Symbol 269 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 195 MovieClip in Symbol 269 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 195 MovieClip in Symbol 269 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 195 MovieClip in Symbol 269 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 212 MovieClip "hero" in Symbol 269 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 281 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 176 MovieClip in Symbol 281 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 281 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 281 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip in Symbol 281 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 281 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 192 MovieClip in Symbol 281 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 192 MovieClip in Symbol 281 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 192 MovieClip in Symbol 281 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 192 MovieClip in Symbol 281 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 192 MovieClip in Symbol 281 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 192 MovieClip in Symbol 281 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 274 MovieClip in Symbol 281 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 275 MovieClip in Symbol 281 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 276 MovieClip in Symbol 281 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 277 MovieClip in Symbol 281 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 278 MovieClip in Symbol 281 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 212 MovieClip "hero" in Symbol 281 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 292 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 176 MovieClip in Symbol 292 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 292 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 292 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 283 MovieClip in Symbol 292 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 192 MovieClip in Symbol 292 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 287 MovieClip in Symbol 292 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 288 MovieClip in Symbol 292 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 289 MovieClip in Symbol 292 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 290 MovieClip in Symbol 292 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 291 MovieClip in Symbol 292 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 212 MovieClip "hero" in Symbol 292 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 195 MovieClip in Symbol 297 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 195 MovieClip in Symbol 297 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 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 176 MovieClip in Symbol 299 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 294 MovieClip "up_wall" in Symbol 299 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 299 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 294 MovieClip in Symbol 299 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 195 MovieClip in Symbol 299 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 192 MovieClip in Symbol 299 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 192 MovieClip in Symbol 299 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 192 MovieClip in Symbol 299 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 192 MovieClip in Symbol 299 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 192 MovieClip in Symbol 299 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 192 MovieClip in Symbol 299 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 192 MovieClip in Symbol 299 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 184 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 295 MovieClip in Symbol 299 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 296 MovieClip in Symbol 299 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 297 MovieClip in Symbol 299 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 298 MovieClip in Symbol 299 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 212 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();
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 176 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 312 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 180 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 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 302 MovieClip in Symbol 312 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 306 MovieClip "dr1" in Symbol 312 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 308 MovieClip in Symbol 312 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 192 MovieClip in Symbol 312 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 212 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 319 MovieClip Frame 1
stop();
Instance of Symbol 195 MovieClip in Symbol 321 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 195 MovieClip in Symbol 321 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 195 MovieClip in Symbol 321 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 195 MovieClip in Symbol 321 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 195 MovieClip in Symbol 321 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 325 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 176 MovieClip in Symbol 325 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 314 MovieClip "up_wall" in Symbol 325 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 325 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 314 MovieClip in Symbol 325 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 325 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 192 MovieClip in Symbol 325 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 302 MovieClip in Symbol 325 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 319 MovieClip "dr1" in Symbol 325 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 192 MovieClip in Symbol 325 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 302 MovieClip in Symbol 325 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 192 MovieClip in Symbol 325 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 302 MovieClip in Symbol 325 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 319 MovieClip "dr3" in Symbol 325 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 319 MovieClip "dr2" in Symbol 325 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 195 MovieClip in Symbol 325 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 192 MovieClip in Symbol 325 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 302 MovieClip in Symbol 325 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 319 MovieClip "dr4" in Symbol 325 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 320 MovieClip in Symbol 325 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 321 MovieClip in Symbol 325 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 322 MovieClip in Symbol 325 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 323 MovieClip in Symbol 325 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 324 MovieClip in Symbol 325 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 212 MovieClip "hero" in Symbol 325 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 331 MovieClip Frame 1
stop();
Symbol 334 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 176 MovieClip in Symbol 334 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 334 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 334 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 327 MovieClip in Symbol 334 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 334 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 302 MovieClip in Symbol 334 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 319 MovieClip "dr9" in Symbol 334 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 302 MovieClip in Symbol 334 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 331 MovieClip "dr1" in Symbol 334 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 319 MovieClip "dr5" in Symbol 334 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 319 MovieClip "dr4" in Symbol 334 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 302 MovieClip in Symbol 334 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 302 MovieClip in Symbol 334 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 302 MovieClip in Symbol 334 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 331 MovieClip "dr6" in Symbol 334 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 302 MovieClip in Symbol 334 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 302 MovieClip in Symbol 334 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 319 MovieClip "dr7" in Symbol 334 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 319 MovieClip "dr14" in Symbol 334 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 333 MovieClip in Symbol 334 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 331 MovieClip "dr11" in Symbol 334 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 302 MovieClip in Symbol 334 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 331 MovieClip "dr10" in Symbol 334 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 302 MovieClip in Symbol 334 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 331 MovieClip "dr12" in Symbol 334 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 302 MovieClip in Symbol 334 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 319 MovieClip "dr13" in Symbol 334 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 302 MovieClip in Symbol 334 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 319 MovieClip "dr8" in Symbol 334 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 302 MovieClip in Symbol 334 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 331 MovieClip "dr3" in Symbol 334 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 302 MovieClip in Symbol 334 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 302 MovieClip in Symbol 334 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 331 MovieClip "dr2" in Symbol 334 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 212 MovieClip "hero" in Symbol 334 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 345 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 176 MovieClip in Symbol 345 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 345 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 345 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 319 MovieClip "dr3" in Symbol 345 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 331 MovieClip "dr2" in Symbol 345 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 302 MovieClip in Symbol 345 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 319 MovieClip "dr1" in Symbol 345 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 331 MovieClip "dr7" in Symbol 345 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 331 MovieClip "dr6" in Symbol 345 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 331 MovieClip "dr5" in Symbol 345 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 331 MovieClip "dr4" in Symbol 345 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 337 MovieClip in Symbol 345 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 192 MovieClip in Symbol 345 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 192 MovieClip in Symbol 345 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 302 MovieClip in Symbol 345 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 302 MovieClip in Symbol 345 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 192 MovieClip in Symbol 345 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 302 MovieClip in Symbol 345 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 192 MovieClip in Symbol 345 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 192 MovieClip in Symbol 345 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 192 MovieClip in Symbol 345 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 302 MovieClip in Symbol 345 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 302 MovieClip in Symbol 345 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 302 MovieClip in Symbol 345 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 338 MovieClip in Symbol 345 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 339 MovieClip in Symbol 345 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 340 MovieClip in Symbol 345 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 341 MovieClip in Symbol 345 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 342 MovieClip in Symbol 345 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 176 MovieClip in Symbol 345 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 344 MovieClip in Symbol 345 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 212 MovieClip "hero" in Symbol 345 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 350 MovieClip Frame 1
stop();
Symbol 352 MovieClip Frame 1
stop();
Symbol 357 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 176 MovieClip in Symbol 357 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 357 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 357 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 347 MovieClip in Symbol 357 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 357 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 302 MovieClip in Symbol 357 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 192 MovieClip in Symbol 357 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 195 MovieClip in Symbol 357 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 350 MovieClip "dr1" in Symbol 357 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 350 MovieClip "dr11" in Symbol 357 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 352 MovieClip "dr3" in Symbol 357 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 352 MovieClip "dr9" in Symbol 357 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 350 MovieClip "dr7" in Symbol 357 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 350 MovieClip "dr5" in Symbol 357 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 350 MovieClip "dr2" in Symbol 357 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 302 MovieClip in Symbol 357 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 302 MovieClip in Symbol 357 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 302 MovieClip in Symbol 357 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 302 MovieClip in Symbol 357 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 302 MovieClip in Symbol 357 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 302 MovieClip in Symbol 357 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 192 MovieClip in Symbol 357 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 192 MovieClip in Symbol 357 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 192 MovieClip in Symbol 357 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 350 MovieClip "dr12" in Symbol 357 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 192 MovieClip in Symbol 357 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 302 MovieClip in Symbol 357 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 302 MovieClip in Symbol 357 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 350 MovieClip "dr14" in Symbol 357 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 352 MovieClip "dr10" in Symbol 357 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 192 MovieClip in Symbol 357 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 192 MovieClip in Symbol 357 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 302 MovieClip in Symbol 357 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 302 MovieClip in Symbol 357 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 350 MovieClip "dr13" in Symbol 357 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 352 MovieClip "dr6" in Symbol 357 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 352 MovieClip "dr8" in Symbol 357 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 353 MovieClip in Symbol 357 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 354 MovieClip in Symbol 357 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 355 MovieClip in Symbol 357 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 302 MovieClip in Symbol 357 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 302 MovieClip in Symbol 357 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 356 MovieClip in Symbol 357 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 350 MovieClip "dr4" in Symbol 357 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 302 MovieClip in Symbol 357 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 212 MovieClip "hero" in Symbol 357 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 362 MovieClip Frame 1
stop();
Symbol 374 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 176 MovieClip in Symbol 374 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 374 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 374 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 359 MovieClip in Symbol 374 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 374 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 302 MovieClip in Symbol 374 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 192 MovieClip in Symbol 374 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 362 MovieClip "dr1" in Symbol 374 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 362 MovieClip "dr2" in Symbol 374 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 362 MovieClip "dr3" in Symbol 374 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 302 MovieClip in Symbol 374 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 302 MovieClip in Symbol 374 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 192 MovieClip in Symbol 374 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 192 MovieClip in Symbol 374 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 192 MovieClip in Symbol 374 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 367 MovieClip in Symbol 374 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 368 MovieClip in Symbol 374 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 371 MovieClip in Symbol 374 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 372 MovieClip in Symbol 374 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 373 MovieClip in Symbol 374 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 212 MovieClip "hero" in Symbol 374 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 381 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 176 MovieClip in Symbol 381 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 294 MovieClip "up_wall" in Symbol 381 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 381 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 294 MovieClip in Symbol 381 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 192 MovieClip in Symbol 381 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 184 MovieClip in Symbol 381 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 212 MovieClip "hero" in Symbol 381 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 331 MovieClip "dur7" in Symbol 381 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 331 MovieClip "dur5" in Symbol 381 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 319 MovieClip "dur2" in Symbol 381 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 331 MovieClip "dur1" in Symbol 381 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 331 MovieClip "dur3" in Symbol 381 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 319 MovieClip "dur4" in Symbol 381 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 319 MovieClip "dur6" in Symbol 381 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 319 MovieClip "dur8" in Symbol 381 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 331 MovieClip "dur9" in Symbol 381 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 192 MovieClip in Symbol 381 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 192 MovieClip in Symbol 381 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 192 MovieClip in Symbol 381 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 192 MovieClip in Symbol 381 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 192 MovieClip in Symbol 381 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 302 MovieClip in Symbol 381 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 302 MovieClip in Symbol 381 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 302 MovieClip in Symbol 381 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 302 MovieClip in Symbol 381 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 302 MovieClip in Symbol 381 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 302 MovieClip in Symbol 381 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 302 MovieClip in Symbol 381 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 302 MovieClip in Symbol 381 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 302 MovieClip in Symbol 381 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 375 MovieClip in Symbol 381 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 381 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 377 MovieClip in Symbol 381 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 378 MovieClip in Symbol 381 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 379 MovieClip in Symbol 381 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 380 MovieClip in Symbol 381 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 192 MovieClip in Symbol 381 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 393 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 176 MovieClip in Symbol 393 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 393 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 393 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 383 MovieClip in Symbol 393 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 393 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 389 MovieClip in Symbol 393 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 389 MovieClip in Symbol 393 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 389 MovieClip in Symbol 393 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 389 MovieClip in Symbol 393 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 192 MovieClip in Symbol 393 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 192 MovieClip in Symbol 393 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 391 MovieClip in Symbol 393 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 389 MovieClip in Symbol 393 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 389 MovieClip in Symbol 393 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 389 MovieClip in Symbol 393 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 389 MovieClip in Symbol 393 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 212 MovieClip "hero" in Symbol 393 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
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 176 MovieClip in Symbol 407 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 407 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 407 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 395 MovieClip in Symbol 407 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 407 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 400 MovieClip in Symbol 407 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 400 MovieClip in Symbol 407 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 400 MovieClip in Symbol 407 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 195 MovieClip in Symbol 407 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 400 MovieClip in Symbol 407 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 400 MovieClip in Symbol 407 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 400 MovieClip in Symbol 407 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 400 MovieClip in Symbol 407 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 400 MovieClip in Symbol 407 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 192 MovieClip in Symbol 407 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 192 MovieClip in Symbol 407 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 192 MovieClip in Symbol 407 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 192 MovieClip in Symbol 407 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 400 MovieClip in Symbol 407 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 400 MovieClip in Symbol 407 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 400 MovieClip in Symbol 407 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 400 MovieClip in Symbol 407 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 403 MovieClip in Symbol 407 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 404 MovieClip in Symbol 407 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 405 MovieClip in Symbol 407 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 406 MovieClip in Symbol 407 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 212 MovieClip "hero" in Symbol 407 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 400 MovieClip in Symbol 407 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 415 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 176 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 415 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 409 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 415 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 192 MovieClip in Symbol 415 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 195 MovieClip in Symbol 415 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 319 MovieClip "dr1" in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 195 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 195 MovieClip in Symbol 415 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 195 MovieClip in Symbol 415 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 195 MovieClip in Symbol 415 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 "dr2" in Symbol 415 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 319 MovieClip "dr3" in Symbol 415 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 319 MovieClip "dr4" in Symbol 415 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 319 MovieClip "dr5" in Symbol 415 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 302 MovieClip in Symbol 415 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 302 MovieClip in Symbol 415 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 302 MovieClip in Symbol 415 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 302 MovieClip in Symbol 415 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 302 MovieClip in Symbol 415 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 192 MovieClip in Symbol 415 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 192 MovieClip in Symbol 415 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 192 MovieClip in Symbol 415 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 192 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 389 MovieClip in Symbol 415 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 414 MovieClip in Symbol 415 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 212 MovieClip "hero" in Symbol 415 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 420 MovieClip Frame 1
stop();
Symbol 425 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 176 MovieClip in Symbol 425 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 425 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 425 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 417 MovieClip in Symbol 425 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 425 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 302 MovieClip in Symbol 425 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 192 MovieClip in Symbol 425 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 389 MovieClip in Symbol 425 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 389 MovieClip in Symbol 425 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 389 MovieClip in Symbol 425 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 389 MovieClip in Symbol 425 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 389 MovieClip in Symbol 425 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 389 MovieClip in Symbol 425 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 389 MovieClip in Symbol 425 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 389 MovieClip in Symbol 425 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 389 MovieClip in Symbol 425 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 389 MovieClip in Symbol 425 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 389 MovieClip in Symbol 425 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 389 MovieClip in Symbol 425 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 389 MovieClip in Symbol 425 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 389 MovieClip in Symbol 425 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 389 MovieClip in Symbol 425 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 389 MovieClip in Symbol 425 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 389 MovieClip in Symbol 425 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 389 MovieClip in Symbol 425 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 362 MovieClip "dr2" in Symbol 425 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 420 MovieClip "dr1" in Symbol 425 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 420 MovieClip "dr4" in Symbol 425 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 362 MovieClip "dr3" in Symbol 425 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 302 MovieClip in Symbol 425 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 302 MovieClip in Symbol 425 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 302 MovieClip in Symbol 425 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 192 MovieClip in Symbol 425 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 192 MovieClip in Symbol 425 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 192 MovieClip in Symbol 425 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 192 MovieClip in Symbol 425 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 192 MovieClip in Symbol 425 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 421 MovieClip in Symbol 425 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 422 MovieClip in Symbol 425 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 423 MovieClip in Symbol 425 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 424 MovieClip in Symbol 425 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 212 MovieClip "hero" in Symbol 425 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 332 MovieClip in Symbol 425 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 389 MovieClip in Symbol 425 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 628 MovieClip Frame 1
stop();
Symbol 631 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 176 MovieClip in Symbol 631 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 631 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 631 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip in Symbol 631 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 631 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 628 MovieClip "tp1" in Symbol 631 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 628 MovieClip "tp2" in Symbol 631 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 629 MovieClip in Symbol 631 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 212 MovieClip "hero" in Symbol 631 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 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 176 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 638 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 633 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 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 628 MovieClip "tp1" in Symbol 638 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 628 MovieClip "tp2" in Symbol 638 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 212 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 192 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 628 MovieClip "tp3" in Symbol 638 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 628 MovieClip "tp4" in Symbol 638 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 634 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 635 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 636 MovieClip in Symbol 638 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 637 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 195 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 192 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 628 MovieClip "tp5" in Symbol 638 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 628 MovieClip "tp6" in Symbol 638 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 642 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 176 MovieClip in Symbol 642 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 642 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 642 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 640 MovieClip in Symbol 642 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 642 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 628 MovieClip "tp1" in Symbol 642 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 628 MovieClip "tp19" in Symbol 642 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 628 MovieClip "tp20" in Symbol 642 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 628 MovieClip "tp11" in Symbol 642 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 628 MovieClip "tp10" in Symbol 642 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 628 MovieClip "tp17" in Symbol 642 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 628 MovieClip "tp29" in Symbol 642 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 628 MovieClip "tp8" in Symbol 642 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 628 MovieClip "tp25" in Symbol 642 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 628 MovieClip "tp31" in Symbol 642 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 628 MovieClip "tp16" in Symbol 642 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 628 MovieClip "tp22" in Symbol 642 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 628 MovieClip "tp6" in Symbol 642 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 628 MovieClip "tp3" in Symbol 642 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 628 MovieClip "tp28" in Symbol 642 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 628 MovieClip "tp7" in Symbol 642 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 628 MovieClip "tp9" in Symbol 642 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 628 MovieClip "tp23" in Symbol 642 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 628 MovieClip "tp14" in Symbol 642 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 628 MovieClip "tp24" in Symbol 642 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 628 MovieClip "tp30" in Symbol 642 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 628 MovieClip "tp21" in Symbol 642 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 628 MovieClip "tp27" in Symbol 642 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 628 MovieClip "tp32" in Symbol 642 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 628 MovieClip "tp4" in Symbol 642 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 628 MovieClip "tp12" in Symbol 642 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 628 MovieClip "tp26" in Symbol 642 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 628 MovieClip "tp13" in Symbol 642 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 628 MovieClip "tp2" in Symbol 642 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 628 MovieClip "tp18" in Symbol 642 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 628 MovieClip "tp5" in Symbol 642 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 628 MovieClip "tp15" in Symbol 642 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 212 MovieClip "hero" in Symbol 642 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 641 MovieClip in Symbol 642 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 650 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 176 MovieClip in Symbol 650 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 650 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 650 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip in Symbol 650 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 650 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 628 MovieClip "tp24" in Symbol 650 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 628 MovieClip "tp20" in Symbol 650 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 628 MovieClip "tp8" in Symbol 650 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 628 MovieClip "tp12" in Symbol 650 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 628 MovieClip "tp28" in Symbol 650 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 628 MovieClip "tp100" in Symbol 650 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 628 MovieClip "tp22" in Symbol 650 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 628 MovieClip "tp30" in Symbol 650 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 628 MovieClip "tp18" in Symbol 650 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 628 MovieClip "tp32" in Symbol 650 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 628 MovieClip "tp6" in Symbol 650 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 628 MovieClip "tp26" in Symbol 650 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 628 MovieClip "tp29" in Symbol 650 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 628 MovieClip "tp2" in Symbol 650 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 628 MovieClip "tp31" in Symbol 650 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 628 MovieClip "tp27" in Symbol 650 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 628 MovieClip "tp14" in Symbol 650 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 628 MovieClip "tp10" in Symbol 650 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 192 MovieClip in Symbol 650 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 192 MovieClip in Symbol 650 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 192 MovieClip in Symbol 650 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 192 MovieClip in Symbol 650 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 192 MovieClip in Symbol 650 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 628 MovieClip "tp4" in Symbol 650 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 192 MovieClip in Symbol 650 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 643 MovieClip in Symbol 650 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 644 MovieClip in Symbol 650 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 195 MovieClip in Symbol 650 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 645 MovieClip in Symbol 650 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 195 MovieClip in Symbol 650 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 628 MovieClip "tp101" in Symbol 650 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 628 MovieClip "tp1" in Symbol 650 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 628 MovieClip "tp3" in Symbol 650 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 628 MovieClip "tp5" in Symbol 650 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 628 MovieClip "tp7" in Symbol 650 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 628 MovieClip "tp9" in Symbol 650 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 628 MovieClip "tp11" in Symbol 650 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 628 MovieClip "tp13" in Symbol 650 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 628 MovieClip "tp15" in Symbol 650 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 628 MovieClip "tp17" in Symbol 650 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 628 MovieClip "tp19" in Symbol 650 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 628 MovieClip "tp21" in Symbol 650 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 628 MovieClip "tp16" in Symbol 650 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 628 MovieClip "tp23" in Symbol 650 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 628 MovieClip "tp25" in Symbol 650 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 192 MovieClip in Symbol 650 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 192 MovieClip in Symbol 650 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 192 MovieClip in Symbol 650 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 192 MovieClip in Symbol 650 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 192 MovieClip in Symbol 650 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 192 MovieClip in Symbol 650 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 192 MovieClip in Symbol 650 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 646 MovieClip in Symbol 650 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 647 MovieClip in Symbol 650 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 332 MovieClip in Symbol 650 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 332 MovieClip in Symbol 650 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 332 MovieClip in Symbol 650 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 212 MovieClip "hero" in Symbol 650 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 649 MovieClip in Symbol 650 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 652 MovieClip Frame 1
stop();
Symbol 653 MovieClip Frame 1
stop();
Symbol 661 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 176 MovieClip in Symbol 661 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 661 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 661 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip in Symbol 661 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 661 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 192 MovieClip in Symbol 661 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 192 MovieClip in Symbol 661 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 192 MovieClip in Symbol 661 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 192 MovieClip in Symbol 661 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 652 MovieClip "dr1" in Symbol 661 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 302 MovieClip in Symbol 661 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 628 MovieClip "tp6" in Symbol 661 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 628 MovieClip "tp3" in Symbol 661 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 192 MovieClip in Symbol 661 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 192 MovieClip in Symbol 661 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 628 MovieClip "tp8" in Symbol 661 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 192 MovieClip in Symbol 661 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 628 MovieClip "tp1" in Symbol 661 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 192 MovieClip in Symbol 661 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 192 MovieClip in Symbol 661 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 192 MovieClip in Symbol 661 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 628 MovieClip "tp11" in Symbol 661 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 628 MovieClip "tp10" in Symbol 661 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 628 MovieClip "tp9" in Symbol 661 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 628 MovieClip "tp7" in Symbol 661 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 628 MovieClip "tp12" in Symbol 661 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 302 MovieClip in Symbol 661 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 628 MovieClip "tp2" in Symbol 661 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 192 MovieClip in Symbol 661 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 628 MovieClip "tp4" in Symbol 661 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 628 MovieClip "tp5" in Symbol 661 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 653 MovieClip "dr2" in Symbol 661 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 192 MovieClip in Symbol 661 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 656 MovieClip in Symbol 661 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 657 MovieClip in Symbol 661 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 658 MovieClip in Symbol 661 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 659 MovieClip in Symbol 661 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 660 MovieClip in Symbol 661 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 212 MovieClip "hero" in Symbol 661 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 670 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 176 MovieClip in Symbol 670 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 670 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 670 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 663 MovieClip in Symbol 670 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 670 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 400 MovieClip in Symbol 670 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 400 MovieClip in Symbol 670 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 400 MovieClip in Symbol 670 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 400 MovieClip in Symbol 670 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 400 MovieClip in Symbol 670 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 400 MovieClip in Symbol 670 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 400 MovieClip in Symbol 670 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 400 MovieClip in Symbol 670 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 389 MovieClip in Symbol 670 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 389 MovieClip in Symbol 670 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 389 MovieClip in Symbol 670 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 389 MovieClip in Symbol 670 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 389 MovieClip in Symbol 670 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 400 MovieClip in Symbol 670 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 400 MovieClip in Symbol 670 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 389 MovieClip in Symbol 670 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 389 MovieClip in Symbol 670 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 389 MovieClip in Symbol 670 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 389 MovieClip in Symbol 670 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 389 MovieClip in Symbol 670 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 389 MovieClip in Symbol 670 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 389 MovieClip in Symbol 670 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 389 MovieClip in Symbol 670 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 389 MovieClip in Symbol 670 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 389 MovieClip in Symbol 670 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 389 MovieClip in Symbol 670 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 389 MovieClip in Symbol 670 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 389 MovieClip in Symbol 670 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 628 MovieClip "tp1" in Symbol 670 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 628 MovieClip "tp2" in Symbol 670 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 628 MovieClip "tp5" in Symbol 670 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 628 MovieClip "tp3" in Symbol 670 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 192 MovieClip in Symbol 670 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 192 MovieClip in Symbol 670 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 192 MovieClip in Symbol 670 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 192 MovieClip in Symbol 670 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 192 MovieClip in Symbol 670 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 192 MovieClip in Symbol 670 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 192 MovieClip in Symbol 670 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 192 MovieClip in Symbol 670 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 192 MovieClip in Symbol 670 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 628 MovieClip "tp6" in Symbol 670 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 628 MovieClip "tp12" in Symbol 670 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 628 MovieClip "tp8" in Symbol 670 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 628 MovieClip "tp7" in Symbol 670 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 628 MovieClip "tp11" in Symbol 670 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 628 MovieClip "tp4" in Symbol 670 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 664 MovieClip in Symbol 670 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 665 MovieClip in Symbol 670 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 666 MovieClip in Symbol 670 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 667 MovieClip in Symbol 670 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 668 MovieClip in Symbol 670 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 669 MovieClip in Symbol 670 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 212 MovieClip "hero" in Symbol 670 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 192 MovieClip in Symbol 670 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 389 MovieClip in Symbol 670 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 400 MovieClip in Symbol 670 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 400 MovieClip in Symbol 670 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 675 MovieClip Frame 1
stop();
Symbol 676 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 176 MovieClip in Symbol 676 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 676 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 676 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip in Symbol 676 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 676 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 212 MovieClip "hero" in Symbol 676 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 672 MovieClip in Symbol 676 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 675 MovieClip "dur5" in Symbol 676 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 678 MovieClip Frame 1
stop();
Symbol 681 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 176 MovieClip in Symbol 681 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 681 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 681 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip in Symbol 681 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 681 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 212 MovieClip "hero" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 678 MovieClip "dur5" in Symbol 681 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 680 MovieClip in Symbol 681 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 680 MovieClip in Symbol 681 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 680 MovieClip in Symbol 681 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 680 MovieClip in Symbol 681 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 680 MovieClip in Symbol 681 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 680 MovieClip in Symbol 681 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 680 MovieClip in Symbol 681 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 680 MovieClip in Symbol 681 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 680 MovieClip in Symbol 681 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 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 176 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 684 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 192 MovieClip in Symbol 684 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 192 MovieClip in Symbol 684 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 192 MovieClip in Symbol 684 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 675 MovieClip "dur5" in Symbol 684 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 675 MovieClip "dur5" in Symbol 684 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 184 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 212 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 192 MovieClip in Symbol 684 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 192 MovieClip in Symbol 684 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 672 MovieClip in Symbol 684 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 672 MovieClip in Symbol 684 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 672 MovieClip in Symbol 684 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 672 MovieClip in Symbol 684 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 675 MovieClip "dur5" in Symbol 684 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 675 MovieClip "dur5" in Symbol 684 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 675 MovieClip "dur5" in Symbol 684 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 675 MovieClip "dur5" in Symbol 684 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 675 MovieClip "dur5" in Symbol 684 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 675 MovieClip "dur5" in Symbol 684 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 675 MovieClip "dur5" in Symbol 684 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 675 MovieClip "dur5" in Symbol 684 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 696 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 176 MovieClip in Symbol 696 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 696 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 696 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 686 MovieClip in Symbol 696 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 696 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 319 MovieClip "dr5" in Symbol 696 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 192 MovieClip in Symbol 696 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 192 MovieClip in Symbol 696 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 302 MovieClip in Symbol 696 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 302 MovieClip in Symbol 696 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 192 MovieClip in Symbol 696 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 192 MovieClip in Symbol 696 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 192 MovieClip in Symbol 696 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 192 MovieClip in Symbol 696 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 302 MovieClip in Symbol 696 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 192 MovieClip in Symbol 696 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 319 MovieClip "dr1" in Symbol 696 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 319 MovieClip "dr2" in Symbol 696 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 389 MovieClip in Symbol 696 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 389 MovieClip in Symbol 696 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 302 MovieClip in Symbol 696 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 319 MovieClip "dr3" in Symbol 696 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 628 MovieClip "tp4" in Symbol 696 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 628 MovieClip "tp3" in Symbol 696 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 400 MovieClip in Symbol 696 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 628 MovieClip "tp6" in Symbol 696 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 628 MovieClip "tp5" in Symbol 696 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 628 MovieClip "tp7" in Symbol 696 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 628 MovieClip "tp8" in Symbol 696 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 192 MovieClip in Symbol 696 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 628 MovieClip "tp1" in Symbol 696 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 628 MovieClip "tp2" in Symbol 696 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 687 MovieClip in Symbol 696 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 690 MovieClip in Symbol 696 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 696 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 696 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 693 MovieClip in Symbol 696 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 694 MovieClip in Symbol 696 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 212 MovieClip "hero" in Symbol 696 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 695 MovieClip in Symbol 696 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 628 MovieClip "tp101" in Symbol 696 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 192 MovieClip in Symbol 696 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 628 MovieClip "tp102" in Symbol 696 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 389 MovieClip in Symbol 696 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 389 MovieClip in Symbol 696 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 192 MovieClip in Symbol 696 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 705 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 176 MovieClip in Symbol 705 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 705 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 705 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 698 MovieClip in Symbol 705 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 705 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 331 MovieClip "dr1" in Symbol 705 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 331 MovieClip "dr2" in Symbol 705 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 331 MovieClip "dr3" in Symbol 705 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 331 MovieClip "dr4" in Symbol 705 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 331 MovieClip "dr5" in Symbol 705 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 302 MovieClip in Symbol 705 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 302 MovieClip in Symbol 705 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 302 MovieClip in Symbol 705 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 302 MovieClip in Symbol 705 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 192 MovieClip in Symbol 705 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 192 MovieClip in Symbol 705 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 628 MovieClip "tp2" in Symbol 705 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 628 MovieClip "tp1" in Symbol 705 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 192 MovieClip in Symbol 705 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 302 MovieClip in Symbol 705 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 192 MovieClip in Symbol 705 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 192 MovieClip in Symbol 705 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 192 MovieClip in Symbol 705 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 389 MovieClip in Symbol 705 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 389 MovieClip in Symbol 705 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 389 MovieClip in Symbol 705 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 302 MovieClip in Symbol 705 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 362 MovieClip "dr6" in Symbol 705 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 420 MovieClip "dr7" in Symbol 705 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 302 MovieClip in Symbol 705 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 389 MovieClip in Symbol 705 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 389 MovieClip in Symbol 705 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 389 MovieClip in Symbol 705 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 699 MovieClip in Symbol 705 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 705 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 701 MovieClip in Symbol 705 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 702 MovieClip in Symbol 705 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 703 MovieClip in Symbol 705 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 704 MovieClip in Symbol 705 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 212 MovieClip "hero" in Symbol 705 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 713 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 176 MovieClip in Symbol 713 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 713 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 713 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 344 MovieClip in Symbol 713 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 713 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 302 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 420 MovieClip "dr6" in Symbol 713 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 302 MovieClip in Symbol 713 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 302 MovieClip in Symbol 713 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 192 MovieClip in Symbol 713 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 192 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 420 MovieClip "dr10" in Symbol 713 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 302 MovieClip in Symbol 713 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 302 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 362 MovieClip "dr3" in Symbol 713 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 362 MovieClip "dr2" in Symbol 713 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 184 MovieClip in Symbol 713 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 420 MovieClip "dr5" in Symbol 713 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 420 MovieClip "dr4" in Symbol 713 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 389 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 362 MovieClip "dr8" in Symbol 713 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 302 MovieClip in Symbol 713 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 192 MovieClip in Symbol 713 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 192 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 362 MovieClip "dr11" in Symbol 713 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 192 MovieClip in Symbol 713 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 302 MovieClip in Symbol 713 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 192 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 420 MovieClip "dr12" in Symbol 713 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 362 MovieClip "dr7" in Symbol 713 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 184 MovieClip in Symbol 713 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 628 MovieClip "tpp2" in Symbol 713 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 389 MovieClip in Symbol 713 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 302 MovieClip in Symbol 713 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 420 MovieClip "dr9" in Symbol 713 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 302 MovieClip in Symbol 713 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 192 MovieClip in Symbol 713 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 302 MovieClip in Symbol 713 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 302 MovieClip in Symbol 713 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 192 MovieClip in Symbol 713 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 192 MovieClip in Symbol 713 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 628 MovieClip "tpp1" in Symbol 713 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 302 MovieClip in Symbol 713 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 362 MovieClip "dr1" in Symbol 713 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 706 MovieClip in Symbol 713 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 707 MovieClip in Symbol 713 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 708 MovieClip in Symbol 713 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 709 MovieClip in Symbol 713 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 710 MovieClip in Symbol 713 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 711 MovieClip in Symbol 713 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 712 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 389 MovieClip in Symbol 713 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 212 MovieClip "hero" in Symbol 713 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 719 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 176 MovieClip in Symbol 719 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 719 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 719 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip in Symbol 719 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 302 MovieClip in Symbol 719 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 302 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 352 MovieClip "dr1" in Symbol 719 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 350 MovieClip "dr2" in Symbol 719 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 714 MovieClip in Symbol 719 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 715 MovieClip in Symbol 719 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 716 MovieClip in Symbol 719 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 717 MovieClip in Symbol 719 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 718 MovieClip in Symbol 719 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 192 MovieClip in Symbol 719 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 212 MovieClip "hero" in Symbol 719 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 720 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 176 MovieClip in Symbol 720 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 720 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 720 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip in Symbol 720 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 184 MovieClip in Symbol 720 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 212 MovieClip "hero" in Symbol 720 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 302 MovieClip in Symbol 720 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 192 MovieClip in Symbol 720 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 319 MovieClip "dr4" in Symbol 720 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 723 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 176 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 723 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 195 MovieClip in Symbol 723 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 184 MovieClip in Symbol 723 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 192 MovieClip in Symbol 723 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 302 MovieClip in Symbol 723 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 319 MovieClip "dr1" in Symbol 723 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 195 MovieClip in Symbol 723 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 195 MovieClip in Symbol 723 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 195 MovieClip in Symbol 723 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 192 MovieClip in Symbol 723 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 302 MovieClip in Symbol 723 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 195 MovieClip in Symbol 723 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 195 MovieClip in Symbol 723 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 195 MovieClip in Symbol 723 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 195 MovieClip in Symbol 723 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 192 MovieClip in Symbol 723 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 302 MovieClip in Symbol 723 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 195 MovieClip in Symbol 723 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 195 MovieClip in Symbol 723 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 195 MovieClip in Symbol 723 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 195 MovieClip in Symbol 723 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 319 MovieClip "dr3" in Symbol 723 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 319 MovieClip "dr2" in Symbol 723 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 195 MovieClip in Symbol 723 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 195 MovieClip in Symbol 723 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 195 MovieClip in Symbol 723 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 192 MovieClip in Symbol 723 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 302 MovieClip in Symbol 723 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 195 MovieClip in Symbol 723 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 319 MovieClip "dr4" in Symbol 723 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 722 MovieClip in Symbol 723 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 212 MovieClip "hero" in Symbol 723 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 176 MovieClip in Symbol 726 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 176 MovieClip in Symbol 726 MovieClip Frame 1
onClipEvent (load) { tp = "x"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip "up_wall" in Symbol 726 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 178 MovieClip in Symbol 726 MovieClip Frame 1
onClipEvent (load) { tp = "y"; _root.to_hit_walls.push(this); }
Instance of Symbol 195 MovieClip in Symbol 726 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 184 MovieClip in Symbol 726 MovieClip Frame 1
onClipEvent (enterFrame) { }
Instance of Symbol 725 MovieClip in Symbol 726 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 302 MovieClip in Symbol 726 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 319 MovieClip "dr1" in Symbol 726 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 195 MovieClip in Symbol 726 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 195 MovieClip in Symbol 726 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 195 MovieClip in Symbol 726 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 725 MovieClip in Symbol 726 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 302 MovieClip in Symbol 726 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 195 MovieClip in Symbol 726 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 195 MovieClip in Symbol 726 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 195 MovieClip in Symbol 726 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 195 MovieClip in Symbol 726 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 725 MovieClip in Symbol 726 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 302 MovieClip in Symbol 726 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 195 MovieClip in Symbol 726 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 195 MovieClip in Symbol 726 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 195 MovieClip in Symbol 726 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 195 MovieClip in Symbol 726 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 319 MovieClip "dr3" in Symbol 726 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 319 MovieClip "dr2" in Symbol 726 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 195 MovieClip in Symbol 726 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 195 MovieClip in Symbol 726 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 195 MovieClip in Symbol 726 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 725 MovieClip in Symbol 726 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 302 MovieClip in Symbol 726 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 195 MovieClip in Symbol 726 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 319 MovieClip "dr4" in Symbol 726 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 212 MovieClip "hero" in Symbol 726 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; }

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

Instance Names

"bannedSign"Frame 1Symbol 34 MovieClip
"mcLoadLogoBg"Frame 1Symbol 39 MovieClip
"adHolder"Frame 1Symbol 40 MovieClip
"mcKingLoader"Frame 8Symbol 57 MovieClip [KingLoader]
"menu_hp"Frame 37Symbol 120 MovieClip
"fader"Frame 37Symbol 135 MovieClip
"prr"Frame 50Symbol 171 EditableText
"all"Frame 72Symbol 213 MovieClip
"txt"Frame 72Symbol 217 MovieClip
"menu_hp"Frame 72Symbol 229 MovieClip
"fader"Frame 72Symbol 135 MovieClip
"blurry"Frame 72Symbol 256 MovieClip
"all"Frame 78Symbol 269 MovieClip
"all"Frame 84Symbol 281 MovieClip
"all"Frame 90Symbol 292 MovieClip
"all"Frame 96Symbol 299 MovieClip
"all"Frame 102Symbol 312 MovieClip
"all"Frame 108Symbol 325 MovieClip
"all"Frame 114Symbol 334 MovieClip
"all"Frame 120Symbol 345 MovieClip
"all"Frame 126Symbol 357 MovieClip
"all"Frame 132Symbol 374 MovieClip
"all"Frame 138Symbol 381 MovieClip
"all"Frame 145Symbol 393 MovieClip
"all"Frame 152Symbol 407 MovieClip
"all"Frame 159Symbol 415 MovieClip
"all"Frame 166Symbol 425 MovieClip
"all"Frame 173Symbol 631 MovieClip
"all"Frame 180Symbol 638 MovieClip
"all"Frame 187Symbol 642 MovieClip
"all"Frame 194Symbol 650 MovieClip
"all"Frame 201Symbol 661 MovieClip
"all"Frame 208Symbol 670 MovieClip
"all"Frame 215Symbol 676 MovieClip
"all"Frame 222Symbol 681 MovieClip
"all"Frame 229Symbol 684 MovieClip
"all"Frame 236Symbol 696 MovieClip
"all"Frame 243Symbol 705 MovieClip
"all"Frame 250Symbol 713 MovieClip
"all"Frame 257Symbol 719 MovieClip
"all"Frame 265Symbol 720 MovieClip
"all"Frame 280Symbol 723 MovieClip
"menu_hp"Frame 280Symbol 229 MovieClip
"all"Frame 287Symbol 726 MovieClip
"bg"Symbol 34 MovieClip Frame 1Symbol 31 MovieClip
"bar"Symbol 39 MovieClip Frame 1Symbol 38 MovieClip
"dragonHolder"Symbol 57 MovieClip [KingLoader] Frame 1Symbol 42 MovieClip
"fireLogoHolder"Symbol 57 MovieClip [KingLoader] Frame 1Symbol 44 MovieClip
"mcGlim"Symbol 57 MovieClip [KingLoader] Frame 1Symbol 47 MovieClip
"bg"Symbol 57 MovieClip [KingLoader] Frame 1Symbol 49 MovieClip
"mcPlay"Symbol 57 MovieClip [KingLoader] Frame 1Symbol 56 MovieClip
"bar"Symbol 120 MovieClip Frame 1Symbol 114 MovieClip
"snd"Symbol 120 MovieClip Frame 1Symbol 119 Button
"s1"Symbol 212 MovieClip Frame 1Symbol 205 MovieClip
"s2"Symbol 212 MovieClip Frame 1Symbol 206 MovieClip
"s1"Symbol 212 MovieClip Frame 52Symbol 205 MovieClip
"s2"Symbol 212 MovieClip Frame 52Symbol 206 MovieClip
"s1"Symbol 212 MovieClip Frame 53Symbol 205 MovieClip
"s2"Symbol 212 MovieClip Frame 53Symbol 206 MovieClip
"s1"Symbol 212 MovieClip Frame 137Symbol 205 MovieClip
"s2"Symbol 212 MovieClip Frame 137Symbol 206 MovieClip
"s1"Symbol 212 MovieClip Frame 181Symbol 205 MovieClip
"s2"Symbol 212 MovieClip Frame 181Symbol 206 MovieClip
"bbg"Symbol 213 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 213 MovieClip Frame 1Symbol 178 MovieClip
"ingame"Symbol 213 MovieClip Frame 1Symbol 189 MovieClip
"hero"Symbol 213 MovieClip Frame 1Symbol 212 MovieClip
"txt"Symbol 216 MovieClip Frame 1Symbol 215 EditableText
"txt"Symbol 217 MovieClip Frame 1Symbol 216 MovieClip
"txt"Symbol 224 MovieClip Frame 1Symbol 223 EditableText
"bar"Symbol 229 MovieClip Frame 1Symbol 114 MovieClip
"snd"Symbol 229 MovieClip Frame 1Symbol 222 Button
"score"Symbol 229 MovieClip Frame 1Symbol 224 MovieClip
"out"Symbol 229 MovieClip Frame 1Symbol 228 MovieClip
"dr"Symbol 256 MovieClip Frame 1Symbol 230 MovieClip
"snd"Symbol 256 MovieClip Frame 1Symbol 247 Button
"bbg"Symbol 269 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 269 MovieClip Frame 1Symbol 178 MovieClip
"ingame"Symbol 269 MovieClip Frame 1Symbol 189 MovieClip
"hero"Symbol 269 MovieClip Frame 1Symbol 212 MovieClip
"bbg"Symbol 281 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 281 MovieClip Frame 1Symbol 178 MovieClip
"ingame"Symbol 281 MovieClip Frame 1Symbol 189 MovieClip
"hero"Symbol 281 MovieClip Frame 1Symbol 212 MovieClip
"bbg"Symbol 292 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 292 MovieClip Frame 1Symbol 178 MovieClip
"ingame"Symbol 292 MovieClip Frame 1Symbol 189 MovieClip
"hero"Symbol 292 MovieClip Frame 1Symbol 212 MovieClip
"bbg"Symbol 299 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 299 MovieClip Frame 1Symbol 294 MovieClip
"ingame"Symbol 299 MovieClip Frame 1Symbol 189 MovieClip
"hero"Symbol 299 MovieClip Frame 1Symbol 212 MovieClip
"bbg"Symbol 312 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 312 MovieClip Frame 1Symbol 178 MovieClip
"ingame"Symbol 312 MovieClip Frame 1Symbol 189 MovieClip
"dr1"Symbol 312 MovieClip Frame 1Symbol 306 MovieClip
"hero"Symbol 312 MovieClip Frame 1Symbol 212 MovieClip
"bbg"Symbol 325 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 325 MovieClip Frame 1Symbol 314 MovieClip
"ingame"Symbol 325 MovieClip Frame 1Symbol 189 MovieClip
"dr1"Symbol 325 MovieClip Frame 1Symbol 319 MovieClip
"dr3"Symbol 325 MovieClip Frame 1Symbol 319 MovieClip
"dr2"Symbol 325 MovieClip Frame 1Symbol 319 MovieClip
"dr4"Symbol 325 MovieClip Frame 1Symbol 319 MovieClip
"hero"Symbol 325 MovieClip Frame 1Symbol 212 MovieClip
"bbg"Symbol 334 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 334 MovieClip Frame 1Symbol 178 MovieClip
"ingame"Symbol 334 MovieClip Frame 1Symbol 189 MovieClip
"dr9"Symbol 334 MovieClip Frame 1Symbol 319 MovieClip
"dr1"Symbol 334 MovieClip Frame 1Symbol 331 MovieClip
"dr5"Symbol 334 MovieClip Frame 1Symbol 319 MovieClip
"dr4"Symbol 334 MovieClip Frame 1Symbol 319 MovieClip
"dr6"Symbol 334 MovieClip Frame 1Symbol 331 MovieClip
"dr7"Symbol 334 MovieClip Frame 1Symbol 319 MovieClip
"dr14"Symbol 334 MovieClip Frame 1Symbol 319 MovieClip
"dr11"Symbol 334 MovieClip Frame 1Symbol 331 MovieClip
"dr10"Symbol 334 MovieClip Frame 1Symbol 331 MovieClip
"dr12"Symbol 334 MovieClip Frame 1Symbol 331 MovieClip
"dr13"Symbol 334 MovieClip Frame 1Symbol 319 MovieClip
"dr8"Symbol 334 MovieClip Frame 1Symbol 319 MovieClip
"dr3"Symbol 334 MovieClip Frame 1Symbol 331 MovieClip
"dr2"Symbol 334 MovieClip Frame 1Symbol 331 MovieClip
"hero"Symbol 334 MovieClip Frame 1Symbol 212 MovieClip
"bbg"Symbol 345 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 345 MovieClip Frame 1Symbol 178 MovieClip
"ingame"Symbol 345 MovieClip Frame 1Symbol 189 MovieClip
"dr3"Symbol 345 MovieClip Frame 1Symbol 319 MovieClip
"dr2"Symbol 345 MovieClip Frame 1Symbol 331 MovieClip
"dr1"Symbol 345 MovieClip Frame 1Symbol 319 MovieClip
"dr7"Symbol 345 MovieClip Frame 1Symbol 331 MovieClip
"dr6"Symbol 345 MovieClip Frame 1Symbol 331 MovieClip
"dr5"Symbol 345 MovieClip Frame 1Symbol 331 MovieClip
"dr4"Symbol 345 MovieClip Frame 1Symbol 331 MovieClip
"hero"Symbol 345 MovieClip Frame 1Symbol 212 MovieClip
"bbg"Symbol 357 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 357 MovieClip Frame 1Symbol 178 MovieClip
"ingame"Symbol 357 MovieClip Frame 1Symbol 189 MovieClip
"dr1"Symbol 357 MovieClip Frame 1Symbol 350 MovieClip
"dr11"Symbol 357 MovieClip Frame 1Symbol 350 MovieClip
"dr3"Symbol 357 MovieClip Frame 1Symbol 352 MovieClip
"dr9"Symbol 357 MovieClip Frame 1Symbol 352 MovieClip
"dr7"Symbol 357 MovieClip Frame 1Symbol 350 MovieClip
"dr5"Symbol 357 MovieClip Frame 1Symbol 350 MovieClip
"dr2"Symbol 357 MovieClip Frame 1Symbol 350 MovieClip
"dr12"Symbol 357 MovieClip Frame 1Symbol 350 MovieClip
"dr14"Symbol 357 MovieClip Frame 1Symbol 350 MovieClip
"dr10"Symbol 357 MovieClip Frame 1Symbol 352 MovieClip
"dr13"Symbol 357 MovieClip Frame 1Symbol 350 MovieClip
"dr6"Symbol 357 MovieClip Frame 1Symbol 352 MovieClip
"dr8"Symbol 357 MovieClip Frame 1Symbol 352 MovieClip
"dr4"Symbol 357 MovieClip Frame 1Symbol 350 MovieClip
"hero"Symbol 357 MovieClip Frame 1Symbol 212 MovieClip
"bbg"Symbol 374 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 374 MovieClip Frame 1Symbol 178 MovieClip
"dr1"Symbol 374 MovieClip Frame 1Symbol 362 MovieClip
"dr2"Symbol 374 MovieClip Frame 1Symbol 362 MovieClip
"dr3"Symbol 374 MovieClip Frame 1Symbol 362 MovieClip
"ingame"Symbol 374 MovieClip Frame 1Symbol 189 MovieClip
"hero"Symbol 374 MovieClip Frame 1Symbol 212 MovieClip
"bbg"Symbol 381 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 381 MovieClip Frame 1Symbol 294 MovieClip
"ingame"Symbol 381 MovieClip Frame 1Symbol 189 MovieClip
"hero"Symbol 381 MovieClip Frame 1Symbol 212 MovieClip
"dur7"Symbol 381 MovieClip Frame 1Symbol 331 MovieClip
"dur5"Symbol 381 MovieClip Frame 1Symbol 331 MovieClip
"dur2"Symbol 381 MovieClip Frame 1Symbol 319 MovieClip
"dur1"Symbol 381 MovieClip Frame 1Symbol 331 MovieClip
"dur3"Symbol 381 MovieClip Frame 1Symbol 331 MovieClip
"dur4"Symbol 381 MovieClip Frame 1Symbol 319 MovieClip
"dur6"Symbol 381 MovieClip Frame 1Symbol 319 MovieClip
"dur8"Symbol 381 MovieClip Frame 1Symbol 319 MovieClip
"dur9"Symbol 381 MovieClip Frame 1Symbol 331 MovieClip
"body"Symbol 389 MovieClip Frame 1Symbol 388 MovieClip
"bbg"Symbol 393 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 393 MovieClip Frame 1Symbol 178 MovieClip
"ingame"Symbol 393 MovieClip Frame 1Symbol 189 MovieClip
"hero"Symbol 393 MovieClip Frame 1Symbol 212 MovieClip
"body"Symbol 400 MovieClip Frame 1Symbol 399 MovieClip
"bbg"Symbol 407 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 407 MovieClip Frame 1Symbol 178 MovieClip
"ingame"Symbol 407 MovieClip Frame 1Symbol 189 MovieClip
"hero"Symbol 407 MovieClip Frame 1Symbol 212 MovieClip
"bbg"Symbol 415 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 415 MovieClip Frame 1Symbol 178 MovieClip
"ingame"Symbol 415 MovieClip Frame 1Symbol 189 MovieClip
"dr1"Symbol 415 MovieClip Frame 1Symbol 319 MovieClip
"dr2"Symbol 415 MovieClip Frame 1Symbol 319 MovieClip
"dr3"Symbol 415 MovieClip Frame 1Symbol 319 MovieClip
"dr4"Symbol 415 MovieClip Frame 1Symbol 319 MovieClip
"dr5"Symbol 415 MovieClip Frame 1Symbol 319 MovieClip
"hero"Symbol 415 MovieClip Frame 1Symbol 212 MovieClip
"bbg"Symbol 425 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 425 MovieClip Frame 1Symbol 178 MovieClip
"ingame"Symbol 425 MovieClip Frame 1Symbol 189 MovieClip
"dr2"Symbol 425 MovieClip Frame 1Symbol 362 MovieClip
"dr1"Symbol 425 MovieClip Frame 1Symbol 420 MovieClip
"dr4"Symbol 425 MovieClip Frame 1Symbol 420 MovieClip
"dr3"Symbol 425 MovieClip Frame 1Symbol 362 MovieClip
"hero"Symbol 425 MovieClip Frame 1Symbol 212 MovieClip
"bbg"Symbol 631 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 631 MovieClip Frame 1Symbol 178 MovieClip
"ingame"Symbol 631 MovieClip Frame 1Symbol 189 MovieClip
"tp1"Symbol 631 MovieClip Frame 1Symbol 628 MovieClip
"tp2"Symbol 631 MovieClip Frame 1Symbol 628 MovieClip
"hero"Symbol 631 MovieClip Frame 1Symbol 212 MovieClip
"bbg"Symbol 638 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 638 MovieClip Frame 1Symbol 178 MovieClip
"ingame"Symbol 638 MovieClip Frame 1Symbol 189 MovieClip
"tp1"Symbol 638 MovieClip Frame 1Symbol 628 MovieClip
"tp2"Symbol 638 MovieClip Frame 1Symbol 628 MovieClip
"hero"Symbol 638 MovieClip Frame 1Symbol 212 MovieClip
"tp3"Symbol 638 MovieClip Frame 1Symbol 628 MovieClip
"tp4"Symbol 638 MovieClip Frame 1Symbol 628 MovieClip
"tp5"Symbol 638 MovieClip Frame 1Symbol 628 MovieClip
"tp6"Symbol 638 MovieClip Frame 1Symbol 628 MovieClip
"bbg"Symbol 642 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 642 MovieClip Frame 1Symbol 178 MovieClip
"ingame"Symbol 642 MovieClip Frame 1Symbol 189 MovieClip
"tp1"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp19"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp20"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp11"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp10"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp17"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp29"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp8"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp25"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp31"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp16"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp22"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp6"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp3"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp28"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp7"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp9"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp23"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp14"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp24"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp30"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp21"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp27"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp32"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp4"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp12"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp26"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp13"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp2"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp18"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp5"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"tp15"Symbol 642 MovieClip Frame 1Symbol 628 MovieClip
"hero"Symbol 642 MovieClip Frame 1Symbol 212 MovieClip
"bbg"Symbol 650 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 650 MovieClip Frame 1Symbol 178 MovieClip
"tp24"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp20"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp8"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp12"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp28"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp100"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp22"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp30"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp18"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp32"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp6"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp26"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp29"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp2"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp31"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp27"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp14"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp10"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp4"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"ingame"Symbol 650 MovieClip Frame 1Symbol 189 MovieClip
"tp101"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp1"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp3"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp5"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp7"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp9"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp11"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp13"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp15"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp17"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp19"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp21"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp16"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp23"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"tp25"Symbol 650 MovieClip Frame 1Symbol 628 MovieClip
"hero"Symbol 650 MovieClip Frame 1Symbol 212 MovieClip
"bbg"Symbol 661 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 661 MovieClip Frame 1Symbol 178 MovieClip
"ingame"Symbol 661 MovieClip Frame 1Symbol 189 MovieClip
"dr1"Symbol 661 MovieClip Frame 1Symbol 652 MovieClip
"tp6"Symbol 661 MovieClip Frame 1Symbol 628 MovieClip
"tp3"Symbol 661 MovieClip Frame 1Symbol 628 MovieClip
"tp8"Symbol 661 MovieClip Frame 1Symbol 628 MovieClip
"tp1"Symbol 661 MovieClip Frame 1Symbol 628 MovieClip
"tp11"Symbol 661 MovieClip Frame 1Symbol 628 MovieClip
"tp10"Symbol 661 MovieClip Frame 1Symbol 628 MovieClip
"tp9"Symbol 661 MovieClip Frame 1Symbol 628 MovieClip
"tp7"Symbol 661 MovieClip Frame 1Symbol 628 MovieClip
"tp12"Symbol 661 MovieClip Frame 1Symbol 628 MovieClip
"tp2"Symbol 661 MovieClip Frame 1Symbol 628 MovieClip
"tp4"Symbol 661 MovieClip Frame 1Symbol 628 MovieClip
"tp5"Symbol 661 MovieClip Frame 1Symbol 628 MovieClip
"dr2"Symbol 661 MovieClip Frame 1Symbol 653 MovieClip
"hero"Symbol 661 MovieClip Frame 1Symbol 212 MovieClip
"bbg"Symbol 670 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 670 MovieClip Frame 1Symbol 178 MovieClip
"ingame"Symbol 670 MovieClip Frame 1Symbol 189 MovieClip
"tp1"Symbol 670 MovieClip Frame 1Symbol 628 MovieClip
"tp2"Symbol 670 MovieClip Frame 1Symbol 628 MovieClip
"tp5"Symbol 670 MovieClip Frame 1Symbol 628 MovieClip
"tp3"Symbol 670 MovieClip Frame 1Symbol 628 MovieClip
"tp6"Symbol 670 MovieClip Frame 1Symbol 628 MovieClip
"tp12"Symbol 670 MovieClip Frame 1Symbol 628 MovieClip
"tp8"Symbol 670 MovieClip Frame 1Symbol 628 MovieClip
"tp7"Symbol 670 MovieClip Frame 1Symbol 628 MovieClip
"tp11"Symbol 670 MovieClip Frame 1Symbol 628 MovieClip
"tp4"Symbol 670 MovieClip Frame 1Symbol 628 MovieClip
"hero"Symbol 670 MovieClip Frame 1Symbol 212 MovieClip
"bbg"Symbol 676 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 676 MovieClip Frame 1Symbol 178 MovieClip
"ingame"Symbol 676 MovieClip Frame 1Symbol 189 MovieClip
"hero"Symbol 676 MovieClip Frame 1Symbol 212 MovieClip
"dur5"Symbol 676 MovieClip Frame 1Symbol 675 MovieClip
"bbg"Symbol 681 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 681 MovieClip Frame 1Symbol 178 MovieClip
"ingame"Symbol 681 MovieClip Frame 1Symbol 189 MovieClip
"hero"Symbol 681 MovieClip Frame 1Symbol 212 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"dur5"Symbol 681 MovieClip Frame 1Symbol 678 MovieClip
"bbg"Symbol 684 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 684 MovieClip Frame 1Symbol 178 MovieClip
"dur5"Symbol 684 MovieClip Frame 1Symbol 675 MovieClip
"dur5"Symbol 684 MovieClip Frame 1Symbol 675 MovieClip
"ingame"Symbol 684 MovieClip Frame 1Symbol 189 MovieClip
"hero"Symbol 684 MovieClip Frame 1Symbol 212 MovieClip
"dur5"Symbol 684 MovieClip Frame 1Symbol 675 MovieClip
"dur5"Symbol 684 MovieClip Frame 1Symbol 675 MovieClip
"dur5"Symbol 684 MovieClip Frame 1Symbol 675 MovieClip
"dur5"Symbol 684 MovieClip Frame 1Symbol 675 MovieClip
"dur5"Symbol 684 MovieClip Frame 1Symbol 675 MovieClip
"dur5"Symbol 684 MovieClip Frame 1Symbol 675 MovieClip
"dur5"Symbol 684 MovieClip Frame 1Symbol 675 MovieClip
"dur5"Symbol 684 MovieClip Frame 1Symbol 675 MovieClip
"bbg"Symbol 696 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 696 MovieClip Frame 1Symbol 178 MovieClip
"ingame"Symbol 696 MovieClip Frame 1Symbol 189 MovieClip
"dr5"Symbol 696 MovieClip Frame 1Symbol 319 MovieClip
"dr1"Symbol 696 MovieClip Frame 1Symbol 319 MovieClip
"dr2"Symbol 696 MovieClip Frame 1Symbol 319 MovieClip
"dr3"Symbol 696 MovieClip Frame 1Symbol 319 MovieClip
"tp4"Symbol 696 MovieClip Frame 1Symbol 628 MovieClip
"tp3"Symbol 696 MovieClip Frame 1Symbol 628 MovieClip
"tp6"Symbol 696 MovieClip Frame 1Symbol 628 MovieClip
"tp5"Symbol 696 MovieClip Frame 1Symbol 628 MovieClip
"tp7"Symbol 696 MovieClip Frame 1Symbol 628 MovieClip
"tp8"Symbol 696 MovieClip Frame 1Symbol 628 MovieClip
"tp1"Symbol 696 MovieClip Frame 1Symbol 628 MovieClip
"tp2"Symbol 696 MovieClip Frame 1Symbol 628 MovieClip
"hero"Symbol 696 MovieClip Frame 1Symbol 212 MovieClip
"tp101"Symbol 696 MovieClip Frame 1Symbol 628 MovieClip
"tp102"Symbol 696 MovieClip Frame 1Symbol 628 MovieClip
"bbg"Symbol 705 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 705 MovieClip Frame 1Symbol 178 MovieClip
"ingame"Symbol 705 MovieClip Frame 1Symbol 189 MovieClip
"dr1"Symbol 705 MovieClip Frame 1Symbol 331 MovieClip
"dr2"Symbol 705 MovieClip Frame 1Symbol 331 MovieClip
"dr3"Symbol 705 MovieClip Frame 1Symbol 331 MovieClip
"dr4"Symbol 705 MovieClip Frame 1Symbol 331 MovieClip
"dr5"Symbol 705 MovieClip Frame 1Symbol 331 MovieClip
"tp2"Symbol 705 MovieClip Frame 1Symbol 628 MovieClip
"tp1"Symbol 705 MovieClip Frame 1Symbol 628 MovieClip
"dr6"Symbol 705 MovieClip Frame 1Symbol 362 MovieClip
"dr7"Symbol 705 MovieClip Frame 1Symbol 420 MovieClip
"hero"Symbol 705 MovieClip Frame 1Symbol 212 MovieClip
"bbg"Symbol 713 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 713 MovieClip Frame 1Symbol 178 MovieClip
"ingame"Symbol 713 MovieClip Frame 1Symbol 189 MovieClip
"dr6"Symbol 713 MovieClip Frame 1Symbol 420 MovieClip
"dr10"Symbol 713 MovieClip Frame 1Symbol 420 MovieClip
"dr3"Symbol 713 MovieClip Frame 1Symbol 362 MovieClip
"dr2"Symbol 713 MovieClip Frame 1Symbol 362 MovieClip
"dr5"Symbol 713 MovieClip Frame 1Symbol 420 MovieClip
"dr4"Symbol 713 MovieClip Frame 1Symbol 420 MovieClip
"dr8"Symbol 713 MovieClip Frame 1Symbol 362 MovieClip
"dr11"Symbol 713 MovieClip Frame 1Symbol 362 MovieClip
"dr12"Symbol 713 MovieClip Frame 1Symbol 420 MovieClip
"dr7"Symbol 713 MovieClip Frame 1Symbol 362 MovieClip
"tpp2"Symbol 713 MovieClip Frame 1Symbol 628 MovieClip
"dr9"Symbol 713 MovieClip Frame 1Symbol 420 MovieClip
"tpp1"Symbol 713 MovieClip Frame 1Symbol 628 MovieClip
"dr1"Symbol 713 MovieClip Frame 1Symbol 362 MovieClip
"hero"Symbol 713 MovieClip Frame 1Symbol 212 MovieClip
"bbg"Symbol 719 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 719 MovieClip Frame 1Symbol 178 MovieClip
"dr1"Symbol 719 MovieClip Frame 1Symbol 352 MovieClip
"dr2"Symbol 719 MovieClip Frame 1Symbol 350 MovieClip
"hero"Symbol 719 MovieClip Frame 1Symbol 212 MovieClip
"ingame"Symbol 719 MovieClip Frame 1Symbol 189 MovieClip
"bbg"Symbol 720 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 720 MovieClip Frame 1Symbol 178 MovieClip
"ingame"Symbol 720 MovieClip Frame 1Symbol 189 MovieClip
"hero"Symbol 720 MovieClip Frame 1Symbol 212 MovieClip
"dr4"Symbol 720 MovieClip Frame 1Symbol 319 MovieClip
"bbg"Symbol 723 MovieClip Frame 1Symbol 174 MovieClip
"up_wall"Symbol 723 MovieClip Frame 1Symbol 178 MovieClip
"dr1"Symbol 723 MovieClip Frame 1Symbol 319 MovieClip
"dr3"Symbol 723 MovieClip Frame 1Symbol 319 MovieClip
"dr2"Symbol 723 MovieClip Frame 1Symbol 319 MovieClip
"dr4"Symbol 723 MovieClip Frame 1Symbol 319 MovieClip
"ingame"Symbol 723 MovieClip Frame 1Symbol 189 MovieClip
"hero"Symbol 723 MovieClip Frame 1Symbol 212 MovieClip
"up_wall"Symbol 726 MovieClip Frame 1Symbol 178 MovieClip
"dr1"Symbol 726 MovieClip Frame 1Symbol 319 MovieClip
"dr3"Symbol 726 MovieClip Frame 1Symbol 319 MovieClip
"dr2"Symbol 726 MovieClip Frame 1Symbol 319 MovieClip
"dr4"Symbol 726 MovieClip Frame 1Symbol 319 MovieClip
"ingame"Symbol 726 MovieClip Frame 1Symbol 189 MovieClip
"hero"Symbol 726 MovieClip Frame 1Symbol 212 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 727 as "__Packages.mochi.as2.MochiAd"
ExportAssets (56)Timeline Frame 1Symbol 728 as "__Packages.md5"
ExportAssets (56)Timeline Frame 1Symbol 729 as "__Packages.Particle"
ExportAssets (56)Timeline Frame 1Symbol 730 as "__Packages.mx.transitions.OnEnterFrameBeacon"
ExportAssets (56)Timeline Frame 1Symbol 731 as "__Packages.mx.transitions.BroadcasterMX"
ExportAssets (56)Timeline Frame 1Symbol 732 as "__Packages.mx.transitions.Tween"
ExportAssets (56)Timeline Frame 1Symbol 733 as "__Packages.Delay"
ExportAssets (56)Timeline Frame 1Symbol 734 as "__Packages.mx.utils.Delegate"
ExportAssets (56)Timeline Frame 1Symbol 735 as "__Packages.mx.transitions.easing.Regular"
ExportAssets (56)Timeline Frame 1Symbol 736 as "__Packages.mx.transitions.easing.None"
ExportAssets (56)Timeline Frame 1Symbol 737 as "__Packages.AnimDriver"
ExportAssets (56)Timeline Frame 8Symbol 57 as "KingLoader"

Labels

"preload"Frame 1
"preroller"Frame 8
"offline"Frame 16
"interad"Frame 22
"preloader"Frame 29
"menu"Frame 37
"credits"Frame 43
"score"Frame 50
"nothing"Frame 56
"gotoLevel"Frame 63
"level1"Frame 72
"level2"Frame 78
"level3"Frame 84
"level4"Frame 90
"level5"Frame 96
"level6"Frame 102
"level7"Frame 108
"level10"Frame 114
"level11"Frame 120
"level8"Frame 126
"level9"Frame 132
"level12"Frame 138
"level13"Frame 145
"level14"Frame 152
"level15"Frame 159
"level16"Frame 166
"level17"Frame 173
"level18"Frame 180
"level20"Frame 187
"level23"Frame 194
"level21"Frame 201
"level19"Frame 208
"level200000"Frame 215
"level2100000"Frame 222
"level2200000"Frame 229
"level22"Frame 236
"level24"Frame 243
"level25"Frame 250
"level25000"Frame 257
"level100"Frame 280
"level200"Frame 287
"idle"Symbol 56 MovieClip Frame 1
"over"Symbol 56 MovieClip Frame 2
"down"Symbol 56 MovieClip Frame 3
"fadeout"Symbol 135 MovieClip Frame 2
"fadein"Symbol 135 MovieClip Frame 26
"finish"Symbol 184 MovieClip Frame 2
"in"Symbol 189 MovieClip Frame 2
"out"Symbol 189 MovieClip Frame 56
"in"Symbol 212 MovieClip Frame 2
"finish"Symbol 212 MovieClip Frame 53
"got"Symbol 212 MovieClip Frame 137
"in"Symbol 228 MovieClip Frame 2
"in"Symbol 628 MovieClip Frame 2




http://swfchan.com/11/54392/info.shtml
Created: 21/4 -2019 18:44:11 Last modified: 21/4 -2019 18:44:11 Server time: 18/05 -2024 02:23:29