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

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

Face Shoot - cool physics-based shooting game.swf

This is the info page for
Flash #130634

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


ActionScript [AS1/AS2]
Combined Code
movieClip 2 ngbutton { } movieClip 26 splode { frame 10 { _root.face1._visible = false; } frame 46 { stop(); if (_root._currentframe == 4) { _root.tranny.play(); } _root.winlose.gotoAndStop(2); } } frame 1 { var urlString = _root._url; if (urlString.indexOf('kongregate.com') == -1) { var CPMStarContentSpotID = '4767Q0858CB24'; System.security.allowDomain('server.cpmstar.com'); adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID); } } frame 1 { mochi.as2.MochiServices.connect('8c863d0f2f69258b'); var NoMenu = new ContextMenu(); NoMenu.hideBuiltInItems(); this.menu = NoMenu; } frame 1 { function Lbar() { if (getBytesLoaded() >= getBytesTotal() and extra > 49 and _root.loads !== 0) { playbutton._visible = true; clearInterval(LoaderInt); } _root.loadbar._xscale = (getBytesLoaded() / getBytesTotal()) * 50 + extra; } stop(); extra = 0; LoaderInt = setInterval(Lbar, 10); } movieClip 31 { frame 1 { stop(); } } instance of movieClip 31 { onClipEvent (release) { getURL('http://www.wixgames.co.uk', '_blank'); } onClipEvent (rollOver) { _alpha = 50; } onClipEvent (releaseOutside, rollOut) { _alpha = 100; } onClipEvent (load) { _root.extra = 0; } onClipEvent (enterFrame) { if (_root.extra < 50) { _root.extra = Number(_root.extra + 0.25); } } } movieClip 34 { } movieClip 37 { } button 39 { on (release) { getURL('http://www.gamesbutler.com', '_blank'); } } movieClip 40 { } // unknown tag 88 length 563 movieClip 43 { } instance playbutton of movieClip 43 { onClipEvent (load) { _visible = false; } onClipEvent (release) { _root.tranny.play(); } } movieClip 46 { frame 1 { stop(); } frame 2 { _root.play(); } } instance tranny of movieClip 46 { onClipEvent (keyPress 'r') { _root.gotoAndPlay(_root._currentframe - 1); } onClipEvent (enterFrame) { if (_root.shots == 1) { _root.information = _root.shots + ' bullet shot'; } else { _root.information = _root.shots + ' bullets shot'; } } } movieClip 452 __Packages.mochi.as2.MochiEventDispatcher { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiEventDispatcher) { var v1 = function () { this.eventTable = {}; }; mochi.as2.MochiEventDispatcher = v1; var v2 = v1.prototype; v2.buildDelegate = function (thisObject, thatObject) { var v2 = {'thisObject': thisObject, 'thatObject': thatObject}; if (thatObject != undefined) { var funct = (typeof thatObject == 'string') ? thisObject[thatObject] : thatObject; v2.delegate = function (args) { funct.call(thisObject, args); }; return v2; } v2.delegate = thisObject; return v2; }; v2.compareDelegate = function (d_A, d_B) { if (d_A.thisObject != d_B.thisObject || d_A.thatObject != d_B.thatObject) { return false; } return true; }; v2.addEventListener = function (event, thisObject, thatObject) { this.removeEventListener(event, thisObject, thatObject); this.eventTable[event].push(this.buildDelegate(thisObject, thatObject)); }; v2.removeEventListener = function (event, thisObject, thatObject) { var v3 = this.buildDelegate(thisObject, thatObject); if (this.eventTable[event] == undefined) { this.eventTable[event] = []; return undefined; } for (var v4 in this.eventTable[event]) { if (!this.compareDelegate(this.eventTable[event][v4], v3)) { continue; } this.eventTable[event].splice(Number(v4), 1); } }; v2.triggerEvent = function (event, args) { if (this.eventTable[event] == undefined) { return undefined; } for (var v4 in this.eventTable[event]) { this.eventTable[event][v4].delegate(args); } }; ASSetPropFlags(mochi.as2.MochiEventDispatcher.prototype, null, 1); } #endinitclip } movieClip 453 __Packages.mochi.as2.MochiServices { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiServices) { var v1 = function () {}; mochi.as2.MochiServices = v1; var v2 = v1.prototype; v1.__get__id = function () { return mochi.as2.MochiServices._id; }; v1.__get__clip = function () { return mochi.as2.MochiServices._container; }; v1.__get__childClip = function () { return mochi.as2.MochiServices._clip; }; v1.getVersion = function () { return '3.9.1 as2'; }; v1.allowDomains = function (server) { var v1 = ((server.split('/'))[2].split(':'))[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain('*'); System.security.allowDomain(v1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain('*'); System.security.allowInsecureDomain(v1); } } return v1; }; v1.__get__isNetworkAvailable = function () { if (System.security) { var v1 = System.security; if (v1.sandboxType == 'localWithFile') { return false; } } return true; }; v1.__set__comChannelName = function (val) { if (val != undefined) { if (val.length > 3) { mochi.as2.MochiServices._sendChannelName = val + '_fromgame'; mochi.as2.MochiServices.initComChannels(); } } return mochi.as2.MochiServices.__get__comChannelName(); }; v1.__get__connected = function () { return mochi.as2.MochiServices._connected; }; v1.connect = function (id, clip, onError) { mochi.as2.MochiServices.warnID(id, false); if (!mochi.as2.MochiServices._connected && mochi.as2.MochiServices._clip == undefined) { trace('MochiServices Connecting...'); mochi.as2.MochiServices._connecting = true; mochi.as2.MochiServices.init(id, clip); } if (onError != undefined) { mochi.as2.MochiServices.onError = onError; } else { if (mochi.as2.MochiServices.onError == undefined) { mochi.as2.MochiServices.onError = function (errorCode) { trace(errorCode); }; } } }; v1.disconnect = function () { if (mochi.as2.MochiServices._connected || mochi.as2.MochiServices._connecting) { mochi.as2.MochiServices._connected = false; mochi.as2.MochiServices._connecting = mochi.as2.MochiServices._connected; mochi.as2.MochiServices.flush(true); if (mochi.as2.MochiServices._clip != undefined) { mochi.as2.MochiServices._clip.removeMovieClip(); delete mochi.as2.MochiServices._clip; } mochi.as2.MochiServices._listenChannel.close(); } }; v1.init = function (id, clip) { mochi.as2.MochiServices._id = id; if (clip != undefined) { mochi.as2.MochiServices._container = clip; } else { mochi.as2.MochiServices._container = _root; } mochi.as2.MochiServices.loadCommunicator(id, mochi.as2.MochiServices._container); }; v1.loadCommunicator = function (id, clip) { var v6 = '_mochiservices_com_' + id; var v5 = new MovieClipLoader(); var v3 = {}; if (mochi.as2.MochiServices._clip != null) { return mochi.as2.MochiServices._clip; } if (!mochi.as2.MochiServices.__get__isNetworkAvailable()) { return null; } if ((mochi.as2.MochiServices.urlOptions()).servURL) { mochi.as2.MochiServices._servURL = (mochi.as2.MochiServices.urlOptions()).servURL; } var v4 = mochi.as2.MochiServices._servURL + mochi.as2.MochiServices._services; if ((mochi.as2.MochiServices.urlOptions()).servicesURL) { v4 = (mochi.as2.MochiServices.urlOptions()).servicesURL; } mochi.as2.MochiServices.allowDomains(v4); mochi.as2.MochiServices._clip = clip.createEmptyMovieClip(v6, 10336, false); mochi.as2.MochiServices._listenChannelName += Math.floor((new Date()).getTime()) + '_' + Math.floor(Math.random() * 99999); mochi.as2.MochiServices.listen(); if (v3.waitInterval != null) { clearInterval(v3.waitInterval); } v3.onLoadError = mochi.as2.MochiServices.loadError; v3.onLoadStart = function (target_mc) { this.isLoading = true; }; v3.onLoadComplete = function (target_mc) { target_mc.MochiServices = mochi.as2.MochiServices; }; v3.startTime = getTimer(); v3.wait = function () { if (getTimer() - this.startTime > 10000) { if (!this.isLoading) { mochi.as2.MochiServices.disconnect(); mochi.as2.MochiServices.onError.apply(null, ['IOError']); } clearInterval(this.waitInterval); } }; v3.waitInterval = setInterval(v3, 'wait', 1000); v5.addListener(v3); v5.loadClip(v4 + '?listenLC=' + mochi.as2.MochiServices._listenChannelName + '&mochiad_options=' + escape(_root.mochiad_options) + '&api_version=' + mochi.as2.MochiServices.getVersion(), mochi.as2.MochiServices._clip); mochi.as2.MochiServices._sendChannel = new LocalConnection(); mochi.as2.MochiServices._sendChannel._queue = []; return mochi.as2.MochiServices._clip; }; v1.loadError = function (target_mc, errorCode, httpStatus) { trace('MochiServices could not load.'); mochi.as2.MochiServices.disconnect(); mochi.as2.MochiServices.onError.apply(null, [errorCode]); }; v1.onStatus = function (infoObject) { if (infoObject.level !== 'error') { } else { mochi.as2.MochiServices._connected = false; mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName); } }; v1.listen = function () { mochi.as2.MochiServices._listenChannel = new LocalConnection(); mochi.as2.MochiServices._listenChannel.handshake = function (args) { mochi.as2.MochiServices.__set__comChannelName(args.newChannel); }; mochi.as2.MochiServices._listenChannel.allowDomain = function (d) { return true; }; mochi.as2.MochiServices._listenChannel.allowInsecureDomain = mochi.as2.MochiServices._listenChannel.allowDomain; mochi.as2.MochiServices._listenChannel._nextcallbackID = 0; mochi.as2.MochiServices._listenChannel._callbacks = {}; mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName); trace('Waiting for MochiAds services to connect...'); }; v1.initComChannels = function () { if (!mochi.as2.MochiServices._connected) { mochi.as2.MochiServices._sendChannel.onStatus = function (infoObject) { mochi.as2.MochiServices.onStatus(infoObject); }; mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'handshakeDone'}); mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'registerGame', 'id': mochi.as2.MochiServices._id, 'version': mochi.as2.MochiServices.getVersion()}); mochi.as2.MochiServices._listenChannel.onStatus = function (infoObject) { mochi.as2.MochiServices.onStatus(infoObject); }; mochi.as2.MochiServices._listenChannel.onReceive = function (pkg) { var v5 = pkg.callbackID; var v4 = this._callbacks[v5]; if (!v4) { return undefined; } var v2 = v4.callbackMethod; var v3 = v4.callbackObject; if (v3 && typeof v2 == 'string') { v2 = v3[v2]; } if (v2 != undefined) { v2.apply(v3, pkg.args); } delete this._callbacks[v5]; }; mochi.as2.MochiServices._listenChannel.onEvent = function (pkg) { switch (pkg.target) { case 'services': mochi.as2.MochiServices.triggerEvent(pkg.event, pkg.args); break; case 'events': mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args); break; case 'coins': mochi.as2.MochiCoins.triggerEvent(pkg.event, pkg.args); break; case 'social': mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args); } }; mochi.as2.MochiServices._listenChannel.onError = function () { mochi.as2.MochiServices.onError.apply(null, ['IOError']); }; trace('[SERVICES_API] connected!'); mochi.as2.MochiServices._connecting = false; mochi.as2.MochiServices._connected = true; while (mochi.as2.MochiServices._sendChannel._queue.length > 0) { mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', mochi.as2.MochiServices._sendChannel._queue.shift()); } } }; v1.flush = function (error) { var v1; var v2; while (mochi.as2.MochiServices._sendChannel._queue.length > 0) { v1 = mochi.as2.MochiServices._sendChannel._queue.shift(); false; if (v1.callbackID != null) { v2 = mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID]; } delete mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID]; if (error) { mochi.as2.MochiServices.handleError(v1.args, v2.callbackObject, v2.callbackMethod); } } }; v1.handleError = function (args, callbackObject, callbackMethod) { if (args != null) { if (args.onError != null) { args.onError.apply(null, ['NotConnected']); } if (args.options != null && args.options.onError != null) { args.options.onError.apply(null, ['NotConnected']); } } if (callbackMethod != null) { args = {}; args.error = true; args.errorCode = 'NotConnected'; if (callbackObject != null && typeof callbackMethod == 'string') { callbackObject[callbackMethod](args); } else { if (callbackMethod != null) { callbackMethod.apply(args); } } } }; v1.send = function (methodName, args, callbackObject, callbackMethod) { if (mochi.as2.MochiServices._connected) { mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID}); } else { if (mochi.as2.MochiServices._clip == undefined || !mochi.as2.MochiServices._connecting) { trace('Error: MochiServices not connected. Please call MochiServices.connect(). Function: ' + methodName); mochi.as2.MochiServices.handleError(args, callbackObject, callbackMethod); mochi.as2.MochiServices.flush(true); return undefined; } else { mochi.as2.MochiServices._sendChannel._queue.push({'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID}); } } mochi.as2.MochiServices._listenChannel._callbacks[mochi.as2.MochiServices._listenChannel._nextcallbackID] = {'callbackObject': callbackObject, 'callbackMethod': callbackMethod}; ++mochi.as2.MochiServices._listenChannel._nextcallbackID; }; v1.urlOptions = function () { var v5 = {}; var v6; if (_root._url.indexOf('mochiad_options') != -1) { var v2 = _root._url.indexOf('mochiad_options') + 'mochiad_options'.length + 1; v6 = _root._url.substr(v2, _root._url.length); } else { if (_root.mochiad_options) { v6 = _root.mochiad_options; } } if (v6) { var v4 = _root.mochiad_options.split('&'); var v2 = 0; while (v2 < v4.length) { var v3 = v4[v2].split('='); v5[unescape(v3[0])] = unescape(v3[1]); ++v2; } } return v5; }; v1.warnID = function (bid, leaderboard) { bid = bid.toLowerCase(); if (bid.length != 16) { trace('WARNING: ' + (leaderboard ? 'board' : 'game') + ' ID is not the appropriate length'); return undefined; } else { if (bid == '1e113c7239048b3f') { if (leaderboard) { trace('WARNING: Using testing board ID'); } else { trace('WARNING: Using testing board ID as game ID'); } return undefined; } else { if (bid == '84993a1de4031cd8') { if (leaderboard) { trace('WARNING: Using testing game ID as board ID'); } else { trace('WARNING: Using testing game ID'); } return undefined; } } } var v1 = 0; while (v1 < bid.length) { switch (bid.charAt(v1)) { if (bid.charAt(v1) !== 'f') { } else { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case 'a': break; case 'b': case 'c': case 'd': case 'e': } default: trace('WARNING: Board ID contains illegal characters: ' + bid); return undefined; } ++v1; } }; v1.addLinkEvent = function (url, burl, btn, onClick) { var timeout = 1500; var t0 = getTimer(); var v2 = new Object(); v2.mav = mochi.as2.MochiServices.getVersion(); v2.swfv = btn.getSWFVersion() || 6; v2.swfurl = btn._url; v2.fv = System.capabilities.version; v2.os = System.capabilities.os; v2.lang = System.capabilities.language; v2.scres = System.capabilities.screenResolutionX + 'x' + System.capabilities.screenResolutionY; var s = '?'; var v3 = 0; for (var v6 in v2) { if (v3 != 0) { s += '&'; } ++v3; s = s + v6 + '=' + escape(v2[v6]); } if (!(mochi.as2.MochiServices.netupAttempted || mochi.as2.MochiServices._connected)) { var ping = btn.createEmptyMovieClip('ping', 777); var v7 = btn.createEmptyMovieClip('nettest', 778); mochi.as2.MochiServices.netupAttempted = true; ping.loadMovie('http://link.mochiads.com/linkping.swf?t=' + getTimer()); v7.onEnterFrame = function () { if (ping._totalframes > 0 && ping._totalframes == ping._framesloaded) { delete this.onEnterFrame; } else { if (getTimer() - t0 > timeout) { delete this.onEnterFrame; mochi.as2.MochiServices.netup = false; } } }; } var v4 = btn.createEmptyMovieClip('clk', 1001); v4._alpha = 0; v4.beginFill(1044735); v4.moveTo(0, 0); v4.lineTo(0, btn._height); v4.lineTo(btn._width, btn._height); v4.lineTo(btn._width, 0); v4.lineTo(0, 0); v4.endFill(); v4.onRelease = function () { if (mochi.as2.MochiServices.netup) { getURL(url + s, '_blank'); } else { getURL(burl, '_blank'); } if (onClick != undefined) { onClick(); } }; }; v1.setContainer = function (clip) {}; v1.stayOnTop = function (clip) {}; v1.addEventListener = function (eventType, thisObject, thatObject) { mochi.as2.MochiServices._dispatcher.addEventListener(eventType, thisObject, thatObject); }; v1.triggerEvent = function (eventType, args) { mochi.as2.MochiServices._dispatcher.triggerEvent(eventType, args); }; v1.removeEventListener = function (eventType, thisObject, thatObject) { mochi.as2.MochiServices._dispatcher.removeEventListener(eventType, thisObject, thatObject); }; v1.CONNECTED = 'onConnected'; v1._servURL = 'http://www.mochiads.com/static/lib/services/'; v1._services = 'services.swf'; v1._mochiLC = 'MochiLC.swf'; v1._listenChannelName = '__ms_'; v1._connecting = false; v1._connected = false; v1.netup = true; v1.netupAttempted = false; v1._dispatcher = new mochi.as2.MochiEventDispatcher(); v1.addProperty('childClip', v1.__get__childClip, function () {}); v1.addProperty('clip', v1.__get__clip, function () {}); v1.addProperty('comChannelName', function () {}, v1.__set__comChannelName); v1.addProperty('connected', v1.__get__connected, function () {}); v1.addProperty('id', v1.__get__id, function () {}); v1.addProperty('isNetworkAvailable', v1.__get__isNetworkAvailable, function () {}); ASSetPropFlags(mochi.as2.MochiServices.prototype, null, 1); } #endinitclip } movieClip 454 __Packages.mochi.as2.MochiEvents { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiEvents) { var v1 = function () {}; mochi.as2.MochiEvents = v1; var v2 = v1.prototype; v1.getVersion = function () { return mochi.as2.MochiServices.getVersion(); }; v1.startSession = function (achievementID) { mochi.as2.MochiServices.send('events_beginSession', {'achievementID': achievementID}, null, null); }; v1.setNotifications = function (clip, style) { var v2 = {}; for (var v3 in style) { v2[v3] = style[v3]; } v2.clip = clip; mochi.as2.MochiServices.send('events_setNotifications', v2, null, null); }; v1.addEventListener = function (eventType, thisObject, thatObject) { mochi.as2.MochiEvents._dispatcher.addEventListener(eventType, thisObject, thatObject); }; v1.triggerEvent = function (eventType, args) { mochi.as2.MochiEvents._dispatcher.triggerEvent(eventType, args); }; v1.removeEventListener = function (eventType, thisObject, thatObject) { mochi.as2.MochiEvents._dispatcher.removeEventListener(eventType, thisObject, thatObject); }; v1.startPlay = function (tag) { if (tag == undefined) { tag = 'gameplay'; } mochi.as2.MochiServices.send('events_setRoundID', {'tag': String(tag)}, null, null); }; v1.endPlay = function () { mochi.as2.MochiServices.send('events_clearRoundID', null, null, null); }; v1.trackEvent = function (tag, value) { mochi.as2.MochiServices.send('events_trackEvent', {'tag': tag, 'value': value}, null, null); }; v1.ACHIEVEMENT_RECEIVED = 'AchievementReceived'; v1.ALIGN_TOP_LEFT = 'ALIGN_TL'; v1.ALIGN_TOP = 'ALIGN_T'; v1.ALIGN_TOP_RIGHT = 'ALIGN_TR'; v1.ALIGN_LEFT = 'ALIGN_L'; v1.ALIGN_CENTER = 'ALIGN_C'; v1.ALIGN_RIGHT = 'ALIGN_R'; v1.ALIGN_BOTTOM_LEFT = 'ALIGN_BL'; v1.ALIGN_BOTTOM = 'ALIGN_B'; v1.ALIGN_BOTTOM_RIGHT = 'ALIGN_BR'; v1.FORMAT_SHORT = 'ShortForm'; v1.FORMAT_LONG = 'LongForm'; v1._dispatcher = new mochi.as2.MochiEventDispatcher(); ASSetPropFlags(mochi.as2.MochiEvents.prototype, null, 1); } #endinitclip } movieClip 455 __Packages.mochi.as2.MochiCoins { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiCoins) { var v1 = function () {}; mochi.as2.MochiCoins = v1; var v2 = v1.prototype; v1.getVersion = function () { return mochi.as2.MochiServices.getVersion(); }; v1.showStore = function (options) { mochi.as2.MochiServices.send('coins_showStore', {'options': options}, null, null); }; v1.showItem = function (options) { if (options == undefined || typeof options.item != 'string') { trace('ERROR: showItem call must pass an Object with an item key'); return undefined; } mochi.as2.MochiServices.send('coins_showItem', {'options': options}, null, null); }; v1.showVideo = function (options) { if (options == undefined || typeof options.item != 'string') { trace('ERROR: showVideo call must pass an Object with an item key'); return undefined; } mochi.as2.MochiServices.send('coins_showVideo', {'options': options}, null, null); }; v1.getStoreItems = function () { mochi.as2.MochiServices.send('coins_getStoreItems'); }; v1.requestFunding = function (properties) { mochi.as2.MochiServices.send('social_requestFunding', properties); }; v1.addEventListener = function (eventType, delegate) { mochi.as2.MochiCoins._dispatcher.addEventListener(eventType, delegate); }; v1.triggerEvent = function (eventType, args) { mochi.as2.MochiCoins._dispatcher.triggerEvent(eventType, args); }; v1.removeEventListener = function (eventType, delegate) { mochi.as2.MochiCoins._dispatcher.removeEventListener(eventType, delegate); }; v1.STORE_SHOW = 'StoreShow'; v1.STORE_HIDE = 'StoreHide'; v1.ITEM_OWNED = 'ItemOwned'; v1.ITEM_NEW = 'ItemNew'; v1.STORE_ITEMS = 'StoreItems'; v1.ERROR = 'Error'; v1.IO_ERROR = 'IOError'; v1.NO_USER = 'NoUser'; v1._dispatcher = new mochi.as2.MochiEventDispatcher(); ASSetPropFlags(mochi.as2.MochiCoins.prototype, null, 1); } #endinitclip } movieClip 456 __Packages.mochi.as2.MochiSocial { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiSocial) { var v1 = function () {}; mochi.as2.MochiSocial = v1; var v2 = v1.prototype; v1.getVersion = function () { return mochi.as2.MochiServices.getVersion(); }; v1.showLoginWidget = function (options) { mochi.as2.MochiServices.setContainer(); mochi.as2.MochiServices.stayOnTop(); mochi.as2.MochiServices.send('social_showLoginWidget', {'options': options}); }; v1.hideLoginWidget = function () { mochi.as2.MochiServices.send('social_hideLoginWidget'); }; v1.requestLogin = function (properties) { mochi.as2.MochiServices.send('social_requestLogin', properties); }; v1.getFriendsList = function (properties) { mochi.as2.MochiServices.send('social_getFriendsList', properties); }; v1.postToStream = function (properties) { mochi.as2.MochiServices.send('social_postToStream', properties); }; v1.inviteFriends = function (properties) { mochi.as2.MochiServices.send('social_inviteFriends', properties); }; v1.requestFan = function (properties) { mochi.as2.MochiServices.send('social_requestFan', properties); }; v1.saveUserProperties = function (properties) { mochi.as2.MochiServices.send('social_saveUserProperties', properties); }; v1.addEventListener = function (eventType, delegate) { mochi.as2.MochiSocial._dispatcher.addEventListener(eventType, delegate); }; v1.triggerEvent = function (eventType, args) { mochi.as2.MochiSocial._dispatcher.triggerEvent(eventType, args); }; v1.removeEventListener = function (eventType, delegate) { mochi.as2.MochiSocial._dispatcher.removeEventListener(eventType, delegate); }; v1.LOGGED_IN = 'LoggedIn'; v1.LOGGED_OUT = 'LoggedOut'; v1.LOGIN_SHOW = 'LoginShow'; v1.LOGIN_HIDE = 'LoginHide'; v1.LOGIN_SHOWN = 'LoginShown'; v1.PROFILE_SHOW = 'ProfileShow'; v1.PROFILE_HIDE = 'ProfileHide'; v1.PROPERTIES_SAVED = 'PropertySaved'; v1.WIDGET_LOADED = 'WidgetLoaded'; v1.FRIEND_LIST = 'FriendsList'; v1.PROFILE_DATA = 'ProfileData'; v1.GAMEPLAY_DATA = 'GameplayData'; v1.ACTION_CANCELED = 'onCancel'; v1.ACTION_COMPLETE = 'onComplete'; v1.USER_INFO = 'UserInfo'; v1.ERROR = 'Error'; v1.IO_ERROR = 'IOError'; v1.NO_USER = 'NoUser'; v1.PROPERTIES_SIZE = 'PropertiesSize'; v1._dispatcher = new mochi.as2.MochiEventDispatcher(); ASSetPropFlags(mochi.as2.MochiSocial.prototype, null, 1); } #endinitclip } movieClip 457 __Packages.mochi.as2.MochiScores { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiScores) { var v1 = function () {}; mochi.as2.MochiScores = v1; var v2 = v1.prototype; v1.setBoardID = function (boardID) { mochi.as2.MochiServices.warnID(boardID, true); mochi.as2.MochiScores.boardID = boardID; mochi.as2.MochiServices.send('scores_setBoardID', {'boardID': boardID}); }; v1.showLeaderboard = function (options) { options.clip = mochi.as2.MochiServices.clip; if (options.clip != mochi.as2.MochiServices.__get__clip() || (mochi.as2.MochiServices.__get__childClip())._target == undefined) { mochi.as2.MochiServices.disconnect(); trace('WARNING! This application is attempting to connect to MochiServices inside a showLeaderboard call!'); trace('make sure MochiServices.connect is called as early in the application runtime as possible.'); mochi.as2.MochiServices.connect(mochi.as2.MochiServices.__get__id(), options.clip); } delete options.clip; if (options.name != null) { if (typeof options.name == 'object') { if (options.name.text != undefined) { options.name = options.name.text; } } } if (options.score != null) { if (options.score instanceof TextField) { if (options.score.text != undefined) { options.score = options.score.text; } } else { if (options.score instanceof mochi.as2.MochiDigits) { options.score = options.score.value; } } var v1 = Number(options.score); if (isNaN(v1)) { trace('ERROR: Submitted score \'' + options.score + '\' will be rejected, score is \'Not a Number\''); } else { if (v1 == Number.NEGATIVE_INFINITY || v1 == Number.POSITIVE_INFINITY) { trace('ERROR: Submitted score \'' + options.score + '\' will be rejected, score is an infinite'); } else { if (Math.floor(v1) != v1) { trace('WARNING: Submitted score \'' + options.score + '\' will be truncated'); } options.score = v1; } } } if (options.onDisplay != null) { options.onDisplay(); } else { (mochi.as2.MochiServices.__get__clip()).stop(); } if (options.onClose != null) { mochi.as2.MochiScores.onClose = options.onClose; } else { mochi.as2.MochiScores.onClose = function () { (mochi.as2.MochiServices.__get__clip()).play(); }; } if (options.onError != null) { mochi.as2.MochiScores.onError = options.onError; } else { mochi.as2.MochiScores.onError = mochi.as2.MochiScores.onClose; } if (options.boardID == null) { if (mochi.as2.MochiScores.boardID != null) { options.boardID = mochi.as2.MochiScores.boardID; } } mochi.as2.MochiServices.warnID(options.boardID, true); trace('[MochiScores] NOTE: Security Sandbox Violation errors below are normal'); mochi.as2.MochiServices.send('scores_showLeaderboard', {'options': options}, null, mochi.as2.MochiScores.doClose); }; v1.closeLeaderboard = function () { mochi.as2.MochiServices.send('scores_closeLeaderboard'); }; v1.getPlayerInfo = function (callbackObj, callbackMethod) { mochi.as2.MochiServices.send('scores_getPlayerInfo', null, callbackObj, callbackMethod); }; v1.submit = function (score, name, callbackObj, callbackMethod) { score = Number(score); if (isNaN(score)) { trace('ERROR: Submitted score \'' + String(score) + '\' will be rejected, score is \'Not a Number\''); } else { if (score == Number.NEGATIVE_INFINITY || score == Number.POSITIVE_INFINITY) { trace('ERROR: Submitted score \'' + String(score) + '\' will be rejected, score is an infinite'); } else { if (Math.floor(score) != score) { trace('WARNING: Submitted score \'' + String(score) + '\' will be truncated'); } score = Number(score); } } mochi.as2.MochiServices.send('scores_submit', {'score': score, 'name': name}, callbackObj, callbackMethod); }; v1.requestList = function (callbackObj, callbackMethod) { mochi.as2.MochiServices.send('scores_requestList', null, callbackObj, callbackMethod); }; v1.scoresArrayToObjects = function (scores) { var v5 = {}; var v1; var v4; var v2; var v6; for (var v8 in scores) { if (typeof scores[v8] == 'object') { if (scores[v8].cols != null && scores[v8].rows != null) { v5[v8] = []; v2 = scores[v8]; v4 = 0; while (v4 < v2.rows.length) { v6 = {}; v1 = 0; while (v1 < v2.cols.length) { v6[v2.cols[v1]] = v2.rows[v4][v1]; ++v1; } v5[v8].push(v6); ++v4; } } else { v5[v8] = {}; for (var v7 in scores[v8]) { v5[v8][v7] = scores[v8][v7]; } } } else { v5[v8] = scores[v8]; } } return v5; }; v1.doClose = function (args) { if (args.error == true) { if (args.errorCode == undefined) { args.errorCode = 'IOError'; } mochi.as2.MochiScores.onError.apply(null, [args.errorCode]); } else { mochi.as2.MochiScores.onClose.apply(); } }; ASSetPropFlags(mochi.as2.MochiScores.prototype, null, 1); } #endinitclip } movieClip 458 __Packages.mochi.as2.MochiDigits { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiDigits) { var v1 = function (digit, index) { this.Encoder = 0; this.setValue(digit, index); }; mochi.as2.MochiDigits = v1; var v2 = v1.prototype; v2.__get__value = function () { return Number(this.toString()); }; v2.__set__value = function (v) { this.setValue(v); return this.__get__value(); }; v2.addValue = function (v) { this.value += v; }; v2.setValue = function (digit, index) { var v3 = digit.toString(); if (index == undefined || isNaN(index)) { index = 0; } this.Fragment = v3.charCodeAt(index++) ^ this.Encoder; if (index < v3.length) { this.Sibling = new mochi.as2.MochiDigits(digit, index); } else { this.Sibling = null; } this.reencode(); }; v2.reencode = function () { var v2 = int(2147483647 * Math.random()); this.Fragment ^= v2 ^ this.Encoder; this.Encoder = v2; }; v2.toString = function () { var v2 = String.fromCharCode(this.Fragment ^ this.Encoder); return (this.Sibling != null) ? v2.concat(this.Sibling.toString()) : v2; }; v2.addProperty('value', v2.__get__value, v2.__set__value); ASSetPropFlags(mochi.as2.MochiDigits.prototype, null, 1); } #endinitclip } frame 2 { } movieClip 51 { } movieClip 56 { } movieClip 57 { } movieClip 59 { } movieClip 61 { } movieClip 70 { } movieClip 71 { frame 53 { stop(); } } movieClip 75 { frame 15 { stop(); } } movieClip 76 { frame 15 { stop(); } } movieClip 77 { frame 1 { Stage.showMenu = false; _root.stop(); } frame 237 { _root.tranny.play(); } } movieClip 79 { } movieClip 116 { } movieClip 118 { } movieClip 119 { frame 1 { _root.stop(); } instance of movieClip 79 { onClipEvent (release) { getURL('http://www.wixgames.co.uk', '_blank'); } } frame 185 { _root.play(); } } frame 4 { stop(); rot1 = random(360); rot2 = random(360); rot3 = random(360); rot4 = random(360); rot5 = random(360); rot6 = random(360); rot7 = random(360); rot8 = random(360); rot9 = random(360); rot10 = random(360); rot11 = random(360); shots = 0; } instance of movieClip 31 { onClipEvent (release) { getURL('http://www.wixgames.co.uk', '_blank'); } onClipEvent (rollOver) { _alpha = 50; } onClipEvent (releaseOutside, rollOut) { _alpha = 100; } } movieClip 122 { } button 125 { on (release) { getURL('http://www.gamesbutler.com', '_blank'); } } movieClip 128 { } movieClip 145 { } movieClip 158 { frame 6 { stop(); } frame 7 { stop(); } } movieClip 160 { } movieClip 163 { frame 1 { stop(); } instance of movieClip 160 { } frame 2 { stop(); } } movieClip 174 { frame 5 { stop(); } frame 10 { stop(); } } movieClip 176 { } movieClip 217 { frame 2 { stop(); } frame 4 { stop(); } frame 6 { stop(); } frame 10 { stop(); } frame 14 { stop(); } frame 18 { stop(); } frame 22 { stop(); } frame 25 { stop(); } frame 26 { stop(); } frame 27 { stop(); } frame 28 { stop(); } frame 29 { stop(); } frame 34 { stop(); } frame 35 { stop(); } frame 36 { stop(); } } movieClip 218 { instance mouth of movieClip 158 { onClipEvent (load) { numb = Math.ceil(Math.random() * 13); if (numb == 1) { gotoAndStop(1); } if (numb == 2) { gotoAndStop(2); } if (numb == 3) { gotoAndStop(3); } if (numb == 4) { gotoAndStop(4); } if (numb == 5) { gotoAndStop(5); } if (numb == 6) { gotoAndStop(6); } if (numb == 7) { gotoAndStop(7); } if (numb == 8) { gotoAndStop(8); } if (numb == 9) { gotoAndStop(9); } if (numb == 10) { gotoAndStop(10); } if (numb == 11) { gotoAndStop(11); } if (numb == 12) { gotoAndStop(12); } if (numb == 13) { gotoAndStop(13); } } } instance nose of movieClip 163 { onClipEvent (load) { numb = Math.ceil(Math.random() * 3); if (numb == 1) { gotoAndStop(1); } if (numb == 2) { gotoAndStop(2); } if (numb == 3) { gotoAndStop(3); } } } instance eye of movieClip 174 { } instance of movieClip 176 { onClipEvent (enterFrame) { _x = _parent._x / 4; _y = _parent._y / 4; } } instance hair of movieClip 217 { onClipEvent (load) { numb = Math.ceil(Math.random() * 40); if (numb == 1) { gotoAndStop(1); } if (numb == 2) { gotoAndStop(2); } if (numb == 3) { gotoAndStop(3); } if (numb == 4) { gotoAndStop(4); } if (numb == 5) { if (_parent.face.numb < 17) { gotoAndStop(5); } else { numb = 23; } } if (numb == 6) { if (_parent.face.numb < 17) { gotoAndStop(6); } else { numb = 23; } } if (numb == 7) { if (_parent.face.numb < 17) { gotoAndStop(7); } else { numb = 23; } } if (numb == 8) { if (_parent.face.numb < 17) { gotoAndStop(8); } else { numb = 23; } } if (numb == 9) { gotoAndStop(9); } if (numb == 10) { gotoAndStop(10); } if (numb == 11) { gotoAndStop(11); } if (numb == 12) { gotoAndStop(12); } if (numb == 13) { gotoAndStop(13); } if (numb == 14) { gotoAndStop(14); } if (numb == 15) { gotoAndStop(15); } if (numb == 16) { gotoAndStop(16); } if (numb == 17) { gotoAndStop(17); } if (numb == 18) { gotoAndStop(18); } if (numb == 19) { gotoAndStop(19); } if (numb == 20) { gotoAndStop(20); } if (numb == 21) { gotoAndStop(21); } if (numb == 22) { gotoAndStop(22); } if (numb == 23) { gotoAndStop(23); } if (numb == 24) { gotoAndStop(24); } if (numb == 25) { gotoAndStop(25); } if (numb == 26) { gotoAndStop(26); } if (numb == 27) { gotoAndStop(27); } if (numb == 28) { gotoAndStop(28); } if (numb == 29) { gotoAndStop(29); } if (numb == 30) { gotoAndStop(30); } if (numb == 31) { gotoAndStop(31); } if (numb == 32) { gotoAndStop(32); } if (numb == 33) { gotoAndStop(33); } if (numb == 34) { gotoAndStop(34); } if (numb == 35) { gotoAndStop(35); } if (numb == 36) { gotoAndStop(36); } if (numb == 37) { gotoAndStop(37); } if (numb == 38) { gotoAndStop(38); } if (numb == 39) { gotoAndStop(39); } if (numb == 40) { gotoAndStop(40); } if (numb < 25) { _parent.eye.numb = Math.ceil(Math.random() * 5); if (_parent.eye.numb == 1) { _parent.eye.gotoAndStop(1); _parent.eye2.gotoAndStop(1); } if (_parent.eye.numb == 2) { _parent.eye.gotoAndStop(2); _parent.eye2.gotoAndStop(2); } if (_parent.eye.numb == 3) { _parent.eye.gotoAndStop(3); _parent.eye2.gotoAndStop(3); } if (_parent.eye.numb == 4) { _parent.eye.gotoAndStop(4); _parent.eye2.gotoAndStop(4); } if (_parent.eye.numb == 5) { _parent.eye.gotoAndStop(5); _parent.eye2.gotoAndStop(5); } } else { _parent.eye.numb = Math.ceil(Math.random() * 5); if (_parent.eye.numb == 1) { _parent.eye.gotoAndStop(6); _parent.eye2.gotoAndStop(6); } if (_parent.eye.numb == 2) { _parent.eye.gotoAndStop(7); _parent.eye2.gotoAndStop(7); } if (_parent.eye.numb == 3) { _parent.eye.gotoAndStop(8); _parent.eye2.gotoAndStop(8); } if (_parent.eye.numb == 4) { _parent.eye.gotoAndStop(9); _parent.eye2.gotoAndStop(9); } if (_parent.eye.numb == 5) { _parent.eye.gotoAndStop(10); _parent.eye2.gotoAndStop(10); } } } } } movieClip 219 { } movieClip 224 { } movieClip 225 { instance skin2 of movieClip 145 { onClipEvent (enterFrame) { numb = _parent.face.numb; if (numb == 1) { gotoAndStop(1); } if (numb == 2) { gotoAndStop(2); } if (numb == 3) { gotoAndStop(3); } if (numb == 4) { gotoAndStop(4); } if (numb == 5) { gotoAndStop(5); } if (numb == 6) { gotoAndStop(6); } if (numb == 7) { gotoAndStop(7); } if (numb == 8) { gotoAndStop(8); } if (numb == 9) { gotoAndStop(9); } if (numb == 10) { gotoAndStop(10); } if (numb == 11) { gotoAndStop(11); } if (numb == 12) { gotoAndStop(12); } if (numb == 13) { gotoAndStop(13); } if (numb == 14) { gotoAndStop(14); } if (numb == 15) { gotoAndStop(15); } if (numb == 16) { gotoAndStop(16); } if (numb == 17) { gotoAndStop(17); } if (numb == 18) { gotoAndStop(18); } if (numb == 19) { gotoAndStop(19); } if (numb == 20) { gotoAndStop(20); } if (numb == 21) { gotoAndStop(21); } if (numb == 22) { gotoAndStop(22); } if (numb == 23) { gotoAndStop(23); } if (numb == 24) { gotoAndStop(24); } } } instance skin of movieClip 145 { onClipEvent (enterFrame) { numb = _parent.face.numb; if (numb == 1) { gotoAndStop(1); } if (numb == 2) { gotoAndStop(2); } if (numb == 3) { gotoAndStop(3); } if (numb == 4) { gotoAndStop(4); } if (numb == 5) { gotoAndStop(5); } if (numb == 6) { gotoAndStop(6); } if (numb == 7) { gotoAndStop(7); } if (numb == 8) { gotoAndStop(8); } if (numb == 9) { gotoAndStop(9); } if (numb == 10) { gotoAndStop(10); } if (numb == 11) { gotoAndStop(11); } if (numb == 12) { gotoAndStop(12); } if (numb == 13) { gotoAndStop(13); } if (numb == 14) { gotoAndStop(14); } if (numb == 15) { gotoAndStop(15); } if (numb == 16) { gotoAndStop(16); } if (numb == 17) { gotoAndStop(17); } if (numb == 18) { gotoAndStop(18); } if (numb == 19) { gotoAndStop(19); } if (numb == 20) { gotoAndStop(20); } if (numb == 21) { gotoAndStop(21); } if (numb == 22) { gotoAndStop(22); } if (numb == 23) { gotoAndStop(23); } if (numb == 24) { gotoAndStop(24); } } } instance features of movieClip 218 { onClipEvent (enterFrame) { if (_root.bullet.go != 1 and _root.bullet.go != 2) { _x = _x - (_x - -(_parent._x - _root._xmouse) / 10) / 4; } else { _x = _x - (_x - -(_parent._x - _root._xmouse) / 10) / 20; } if (_x < -25) { _x = -25; } if (_x > 25) { _x = 25; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { _y = _y - (_y - -(_parent._y - _root._ymouse) / 10) / 4; } else { _y = _y - (_y - -(_parent._y - _root._ymouse) / 10) / 20; } if (_y < -25) { _y = -25; } if (_y > 25) { _y = 25; } } } instance face of movieClip 224 { onClipEvent (load) { numb = Math.ceil(Math.random() * 24); if (numb == 1) { gotoAndStop(1); } if (numb == 2) { gotoAndStop(2); } if (numb == 3) { gotoAndStop(3); } if (numb == 4) { gotoAndStop(4); } if (numb == 5) { gotoAndStop(5); } if (numb == 6) { gotoAndStop(6); } if (numb == 7) { gotoAndStop(7); } if (numb == 8) { gotoAndStop(8); } if (numb == 9) { gotoAndStop(9); } if (numb == 10) { gotoAndStop(10); } if (numb == 11) { gotoAndStop(11); } if (numb == 12) { gotoAndStop(12); } if (numb == 13) { gotoAndStop(13); } if (numb == 14) { gotoAndStop(14); } if (numb == 15) { gotoAndStop(15); } if (numb == 16) { gotoAndStop(16); } if (numb == 17) { gotoAndStop(17); } if (numb == 18) { gotoAndStop(18); } if (numb == 19) { gotoAndStop(19); } if (numb == 20) { gotoAndStop(20); } if (numb == 21) { gotoAndStop(21); } if (numb == 22) { gotoAndStop(22); } if (numb == 23) { gotoAndStop(23); } if (numb == 24) { gotoAndStop(24); } if (numb == 1) { _parent.glow.gotoAndStop(1); } if (numb == 2) { _parent.glow.gotoAndStop(2); } if (numb == 3) { _parent.glow.gotoAndStop(3); } if (numb == 4) { _parent.glow.gotoAndStop(4); } if (numb == 5) { _parent.glow.gotoAndStop(5); } if (numb == 6) { _parent.glow.gotoAndStop(6); } if (numb == 7) { _parent.glow.gotoAndStop(7); } if (numb == 8) { _parent.glow.gotoAndStop(8); } if (numb == 9) { _parent.glow.gotoAndStop(9); } if (numb == 10) { _parent.glow.gotoAndStop(10); } if (numb == 11) { _parent.glow.gotoAndStop(11); } if (numb == 12) { _parent.glow.gotoAndStop(12); } if (numb == 13) { _parent.glow.gotoAndStop(13); } if (numb == 14) { _parent.glow.gotoAndStop(14); } if (numb == 15) { _parent.glow.gotoAndStop(15); } if (numb == 16) { _parent.glow.gotoAndStop(16); } if (numb == 17) { _parent.glow.gotoAndStop(17); } if (numb == 18) { _parent.glow.gotoAndStop(18); } if (numb == 19) { _parent.glow.gotoAndStop(19); } if (numb == 20) { _parent.glow.gotoAndStop(20); } if (numb == 21) { _parent.glow.gotoAndStop(21); } if (numb == 22) { _parent.glow.gotoAndStop(22); } if (numb == 23) { _parent.glow.gotoAndStop(23); } if (numb == 24) { _parent.glow.gotoAndStop(24); } } } } instance face1 of movieClip 225 { onClipEvent (enterFrame) { features.hair.gotoAndStop(23); features.eye.gotoAndStop(1); features.eye2.gotoAndStop(1); features.nose.gotoAndStop(1); features.mouth.gotoAndStop(1); if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._visible = false; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } movieClip 228 { } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2) { _root.gun.gotoAndPlay(1); _root.framef = _root.fast._currentframe; _root.frames = _root.framef * 2; _root.fast.stop(); _root.slow.gotoAndPlay(_root.frames); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } movieClip 231 { } movieClip 233 { } movieClip 237 { } movieClip 240 { } movieClip 241 { frame 1 { stop(); } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 50) { _y = 50; yspeed = 0; } if (_y > 350) { _y = 350; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } if (yspeed < -5) { yspeed = -5; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 50; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } frame 5 { _root.tranny.play(); _root.frames = _root.slow._currentframe; _root.framef = int(_root.frames / 2); _root.slow.stop(); _root.fast.gotoAndPlay(_root.framef); } frame 6 { stop(); } instance face1 of movieClip 225 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._visible = false; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } movieClip 245 { } movieClip 247 { } movieClip 249 { } movieClip 250 { } movieClip 251 { instance of movieClip 245 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -5; _root.metal.play(); } } } instance of movieClip 247 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -5; _root.metal.play(); } } } instance of movieClip 249 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 3; _root.metal.play(); } } } instance of movieClip 250 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -3; _root.metal.play(); } } } } movieClip 254 { frame 1 { stop(); } } movieClip 257 { } movieClip 259 { } movieClip 260 { } movieClip 261 { } movieClip 262 { instance of movieClip 257 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 259 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -5; _root.metal.play(); } } } instance of movieClip 260 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -5; _root.metal.play(); } } } instance of movieClip 261 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 5; _root.metal.play(); } } } } // unknown tag 88 length 44 movieClip 269 { } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } movieClip 272 { } movieClip 274 { } movieClip 276 { } movieClip 278 { } movieClip 280 { } movieClip 282 { } movieClip 284 { } movieClip 285 { instance of movieClip 274 { onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _rotation = _rotation + 2; } else { _rotation = _rotation + 10; } } } instance of movieClip 278 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -5; _root.metal.play(); } } } instance of movieClip 280 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 5; _root.metal.play(); } } } instance of movieClip 282 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -3; _root.metal.play(); } } } instance of movieClip 284 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 3; _root.metal.play(); } } } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); _root.framef = _root.fast._currentframe; _root.frames = _root.framef * 2; _root.fast.stop(); _root.slow.gotoAndPlay(_root.frames); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 50) { _y = 50; yspeed = 0; } if (_y > 350) { _y = 350; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } // unknown tag 88 length 46 movieClip 292 { frame 1 { stop(); } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.tranny.play(); } if (_currentframe == 3) { _root.gotoAndStop(_root._currentframe - 1); _root.tranny.play(); } } } } } movieClip 294 { } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } // unknown tag 88 length 69 button 300 { on (rollOver) { _root.dontfire = 1; } on (release) { getURL('http://www.gamesbutler.com/help/5904/', '_blank'); } on (rollOut, dragOut) { _root.dontfire = 0; } } frame 7 { _root.tranny.play(); _root.frames = _root.slow._currentframe; _root.framef = int(_root.frames / 2); _root.slow.stop(); _root.fast.gotoAndPlay(_root.framef); } frame 8 { stop(); } instance face1 of movieClip 225 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._visible = false; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 70) { _y = 70; yspeed = 0; } if (_y > 350) { _y = 350; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.tranny.play(); } if (_currentframe == 3) { _root.gotoAndStop(_root._currentframe - 1); _root.tranny.play(); } } } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } frame 9 { _root.tranny.play(); } frame 10 { stop(); } instance face1 of movieClip 225 { onClipEvent (load) { dir = 'down'; speed = 5; } onClipEvent (enterFrame) { if (dir == 'down') { _y = _y + speed; } if (dir == 'up') { _y = _y - speed; } if (_y > 340) { dir = 'up'; } if (_y < 60) { dir = 'down'; } if (_root.bullet.go == 2) { speed = 1; } if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._visible = false; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 70) { _y = 70; yspeed = 0; } if (_y > 350) { _y = 350; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.play(); } if (_currentframe == 3) { _root.gotoAndPlay(_root._currentframe - 1); } } } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -5; _root.metal.play(); } } } frame 11 { _root.tranny.play(); } frame 12 { stop(); } instance face1 of movieClip 225 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._visible = false; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } movieClip 308 { } movieClip 309 { } instance of movieClip 309 { onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _rotation = _rotation + 1; gotoAndStop(2); } else { _rotation = _rotation + 5; gotoAndStop(1); } if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -5; _root.metal.play(); } } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } instance of movieClip 309 { onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _rotation = _rotation + 2; gotoAndStop(2); } else { _rotation = _rotation + 10; gotoAndStop(1); } if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -5; _root.metal.play(); } } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 70) { _y = 70; yspeed = 0; } if (_y > 350) { _y = 350; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.play(); } if (_currentframe == 3) { _root.gotoAndPlay(_root._currentframe - 1); } } } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } frame 13 { _root.tranny.play(); } frame 14 { stop(); } instance face1 of movieClip 225 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._visible = false; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } movieClip 318 { frame 1 { stop(); } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -8; play(); } } } movieClip 319 { instance of movieClip 257 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -5; _root.metal.play(); } } } instance of movieClip 259 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 5; _root.metal.play(); } } } instance of movieClip 260 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -3; _root.metal.play(); } } } instance of movieClip 261 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 3; _root.metal.play(); } } } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 50) { _y = 50; yspeed = 0; } if (_y > 350) { _y = 350; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.play(); } if (_currentframe == 3) { _root.gotoAndPlay(_root._currentframe - 1); } } } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } frame 15 { _root.tranny.play(); } frame 16 { stop(); } instance face1 of movieClip 225 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._visible = false; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -8; play(); } } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -8; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 8; play(); } } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 50) { _y = 50; yspeed = 0; } if (_y > 350) { _y = 350; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.play(); } if (_currentframe == 3) { _root.gotoAndPlay(_root._currentframe - 1); } } } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -3; _root.metal.play(); } } } frame 17 { _root.tranny.play(); } frame 18 { stop(); } instance face1 of movieClip 225 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._x = 10000; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } movieClip 327 { frame 1 { stop(); } } movieClip 328 { } instance of movieClip 328 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { yspeed = _root.bullet.yspeed; _root.bullet.yspeed = _root.bullet.xspeed; _root.bullet.xspeed = yspeed; _root.rubber.play(); } } } instance of movieClip 328 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { yspeed = _root.bullet.yspeed; _root.bullet.yspeed = -_root.bullet.xspeed; _root.bullet.xspeed = -yspeed; _root.rubber.play(); } } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 50) { _y = 50; yspeed = 0; } if (_y > 350) { _y = 350; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.play(); } if (_currentframe == 3) { _root.gotoAndPlay(_root._currentframe - 1); } } } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -3; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -3; _root.metal.play(); } } } frame 19 { _root.tranny.play(); } frame 20 { stop(); } movieClip 331 { } movieClip 332 { } instance of movieClip 332 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance face1 of movieClip 225 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._x = 10000; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance of movieClip 328 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { yspeed = _root.bullet.yspeed; _root.bullet.yspeed = -_root.bullet.xspeed; _root.bullet.xspeed = -yspeed; _root.rubber.play(); } } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; if (_currentframe == 45) { _root.winloser.gotoAndStop(2); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -10; _root.bullet.yspeed = -3; play(); } } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 220) { _y = 220; yspeed = 0; } if (_y > 350) { _y = 350; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.8; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -10; _root.bullet.yspeed = -3; play(); } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.play(); } if (_currentframe == 3) { _root.gotoAndPlay(_root._currentframe - 1); } } } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 5; _root.metal.play(); } } } frame 21 { _root.tranny.play(); } frame 22 { stop(); } instance face1 of movieClip 225 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._x = 10000; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } movieClip 339 { } movieClip 340 { } movieClip 343 { frame 1 { stop(); } instance of movieClip 340 { onClipEvent (enterFrame) { _rotation = _rotation - 1; } } instance of movieClip 340 { onClipEvent (enterFrame) { _rotation = _rotation - 3; } } instance of movieClip 340 { onClipEvent (enterFrame) { _rotation = _rotation + 5; } } } instance portal of movieClip 343 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { play(); _root.bullet._x = _root.exit._x; _root.bullet._y = _root.exit._y; _root.bullet.xspeed = 10 * Math.cos((_root.exit.arrow._rotation - 90) * Math.PI / 180); _root.bullet.yspeed = 10 * Math.sin((_root.exit.arrow._rotation - 90) * Math.PI / 180); } } } movieClip 344 { instance of movieClip 340 { onClipEvent (enterFrame) { _rotation = _rotation - 1; } } instance of movieClip 340 { onClipEvent (enterFrame) { _rotation = _rotation - 3; } } instance of movieClip 340 { onClipEvent (enterFrame) { _rotation = _rotation + 5; } } instance arrow of movieClip 318 { onClipEvent (enterFrame) { if (_parent._parent.name == 'exit2') { _rotation = _parent.rot; } else { if (_root.bullet.go == 2) { _rotation = _rotation + 1; } else { _rotation = _rotation + 5; } } } } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 50) { _y = 50; yspeed = 0; } if (_y > 350) { _y = 350; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.play(); } if (_currentframe == 3) { _root.gotoAndPlay(_root._currentframe - 1); } } } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } frame 23 { _root.tranny.play(); } frame 24 { stop(); } movieClip 348 { } instance of movieClip 348 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance portal of movieClip 343 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { play(); _root.bullet._x = _root.exit._x; _root.bullet._y = _root.exit._y; _root.bullet.xspeed = 10 * Math.cos((_root.exit.arrow._rotation - 90) * Math.PI / 180); _root.bullet.yspeed = 10 * Math.sin((_root.exit.arrow._rotation - 90) * Math.PI / 180); } } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance face1 of movieClip 225 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._x = 10000; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance of movieClip 309 { onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _rotation = _rotation + 1; gotoAndStop(2); } else { _rotation = _rotation + 5; gotoAndStop(1); } if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -5; _root.metal.play(); } } } instance of movieClip 309 { onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _rotation = _rotation + 2; gotoAndStop(2); } else { _rotation = _rotation + 10; gotoAndStop(1); } if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -5; _root.metal.play(); } } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 50) { _y = 50; yspeed = 0; } if (_y > 350) { _y = 350; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.play(); } if (_currentframe == 3) { _root.gotoAndPlay(_root._currentframe - 1); } } } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } frame 25 { _root.tranny.play(); } frame 26 { stop(); } instance face1 of movieClip 225 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._visible = false; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -8; _root.bullet.xspeed = 3; play(); } } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } movieClip 354 { frame 1 { stop(); } } instance key of movieClip 354 { onClipEvent (enterFrame) { if (_currentframe == 1) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { play(); _root.door._x += 10000000; _x = _x + 100000000; } } } } movieClip 357 { } instance door of movieClip 357 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -3; _root.metal.play(); } } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 50) { _y = 50; yspeed = 0; } if (_y > 350) { _y = 350; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.play(); } if (_currentframe == 3) { _root.gotoAndPlay(_root._currentframe - 1); } } } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -3; _root.metal.play(); } } } frame 27 { _root.tranny.play(); } frame 28 { stop(); } instance face1 of movieClip 225 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._x = 10000; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance key of movieClip 354 { onClipEvent (enterFrame) { if (_currentframe == 1) { if (this.hitTest(_root.bullet)) { play(); _root.door._x += 10000000; _x = _x + 100000000; } } } } instance door of movieClip 357 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 3; _root.metal.play(); } } } instance portal of movieClip 343 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { play(); _root.bullet._x = _root.exit._x; _root.bullet._y = _root.exit._y; _root.bullet.xspeed = 10 * Math.cos((_root.exit.arrow._rotation - 90) * Math.PI / 180); _root.bullet.yspeed = 10 * Math.sin((_root.exit.arrow._rotation - 90) * Math.PI / 180); } } } movieClip 361 { } instance of movieClip 361 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance portal2 of movieClip 343 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { play(); _root.bullet._x = _root.exit2._x; _root.bullet._y = _root.exit2._y; _root.bullet.xspeed = 10 * Math.cos((_root.exit2.arrow._rotation - 90) * Math.PI / 180); _root.bullet.yspeed = 10 * Math.sin((_root.exit2.arrow._rotation - 90) * Math.PI / 180); } } } movieClip 362 { } movieClip 363 { } movieClip 365 { frame 1 { stop(); } } movieClip 366 { instance of movieClip 363 { onClipEvent (enterFrame) { _rotation = _rotation - 1; } } instance of movieClip 363 { onClipEvent (enterFrame) { _rotation = _rotation - 3; } } instance of movieClip 363 { onClipEvent (enterFrame) { _rotation = _rotation + 5; } } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 50) { _y = 50; yspeed = 0; } if (_y > 350) { _y = 350; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.play(); } if (_currentframe == 3) { _root.gotoAndPlay(_root._currentframe - 1); } } } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 5; _root.metal.play(); } } } frame 29 { _root.tranny.play(); } frame 30 { stop(); } instance face1 of movieClip 225 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._x = 10000; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance of movieClip 328 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { yspeed = _root.bullet.yspeed; _root.bullet.yspeed = _root.bullet.xspeed; _root.bullet.xspeed = yspeed; _root.rubber.play(); } } } movieClip 370 { instance of movieClip 257 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._x -= _root.bullet.xspeed * 2; _root.bullet.xspeed = -_root.bullet.xspeed; _root.rubber.play(); } } } instance of movieClip 259 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._x -= _root.bullet.xspeed * 2; _root.bullet.xspeed = -_root.bullet.xspeed; _root.rubber.play(); } } } instance of movieClip 260 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y -= _root.bullet.yspeed; _root.bullet.yspeed = -_root.bullet.yspeed; _root.rubber.play(); } } } instance of movieClip 261 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y -= _root.bullet.yspeed; _root.bullet.yspeed = -_root.bullet.yspeed; _root.rubber.play(); } } } } instance of movieClip 328 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { yspeed = _root.bullet.yspeed; _root.bullet.yspeed = -_root.bullet.xspeed; _root.bullet.xspeed = -yspeed; _root.rubber.play(); } } } instance of movieClip 328 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { yspeed = _root.bullet.yspeed; _root.bullet.yspeed = -_root.bullet.xspeed; _root.bullet.xspeed = -yspeed; _root.rubber.play(); } } } instance of movieClip 361 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance of movieClip 328 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { yspeed = _root.bullet.yspeed; _root.bullet.yspeed = _root.bullet.xspeed; _root.bullet.xspeed = yspeed; _root.rubber.play(); } } } instance of movieClip 328 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { yspeed = _root.bullet.yspeed; _root.bullet.yspeed = -_root.bullet.xspeed; _root.bullet.xspeed = -yspeed; _root.rubber.play(); } } } movieClip 372 { instance of movieClip 257 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y -= _root.bullet.yspeed * 2; _root.bullet.yspeed = -_root.bullet.yspeed; _root.rubber.play(); } } } instance of movieClip 259 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y -= _root.bullet.yspeed * 2; _root.bullet.yspeed = -_root.bullet.yspeed; _root.rubber.play(); } } } instance of movieClip 260 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._x -= _root.bullet.xspeed; _root.bullet.xspeed = -_root.bullet.xspeed; _root.rubber.play(); } } } instance of movieClip 261 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._x -= _root.bullet.xspeed; _root.bullet.xspeed = -_root.bullet.xspeed; _root.rubber.play(); } } } } movieClip 374 { } instance of movieClip 374 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 50) { _y = 50; yspeed = 0; } if (_y > 350) { _y = 350; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.play(); } if (_currentframe == 3) { _root.gotoAndPlay(_root._currentframe - 1); } } } } } frame 31 { _root.tranny.play(); } frame 32 { stop(); } instance face1 of movieClip 225 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._x = 10000; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 8; _root.bullet.xspeed = 0; play(); } } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 8; _root.bullet.xspeed = 0; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 0; play(); } } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 50) { _y = 50; yspeed = 0; } if (_y > 350) { _y = 350; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.play(); } if (_currentframe == 3) { _root.gotoAndPlay(_root._currentframe - 1); } } } } } frame 33 { _root.tranny.play(); } frame 34 { stop(); } movieClip 381 { } movieClip 382 { instance of movieClip 381 { onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _x = _x - 1; } else { _x = _x - 5; } if (_x < -23) { _x = _x + 23; } } } } movieClip 386 { } movieClip 388 { } movieClip 389 { instance of movieClip 386 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -3; _root.metal.play(); } } } instance of movieClip 388 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet)) { _root.bullet.yspeed -= 1; } } } instance of movieClip 388 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet)) { _root.bullet.yspeed -= 0.75; } } } instance of movieClip 388 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet)) { _root.bullet.yspeed -= 0.5; } } } instance of movieClip 388 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet)) { _root.bullet.yspeed -= 0.25; } } } } movieClip 391 { instance of movieClip 386 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -3; _root.metal.play(); } } } instance of movieClip 388 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet)) { _root.bullet.yspeed += 1; } } } instance of movieClip 388 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet)) { _root.bullet.yspeed += 0.75; } } } instance of movieClip 388 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet)) { _root.bullet.yspeed += 0.5; } } } instance of movieClip 388 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet)) { _root.bullet.yspeed += 0.25; } } } } movieClip 393 { } instance of movieClip 393 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance of movieClip 393 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance of movieClip 393 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance face1 of movieClip 225 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._x = 10000; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 50) { _y = 50; yspeed = 0; } if (_y > 350) { _y = 350; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.play(); } if (_currentframe == 3) { _root.gotoAndPlay(_root._currentframe - 1); } } } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } frame 35 { _root.tranny.play(); } frame 36 { stop(); } instance face1 of movieClip 225 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._x = 10000; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 300) { _y = 300; yspeed = 0; } if (_y > 300) { _y = 300; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.play(); } if (_currentframe == 3) { _root.gotoAndPlay(_root._currentframe - 1); } } } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 5; _root.metal.play(); } } } frame 37 { _root.tranny.play(); } frame 38 { stop(); } instance face1 of movieClip 225 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._x = 10000; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } movieClip 399 { } instance of movieClip 399 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance of movieClip 318 { onClipEvent (load) { _rotation = _root.rot1; } onClipEvent (enterFrame) { if (turn == 1) { _alpha = 80; } else { _alpha = 100; } if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 10 * Math.cos((_rotation - 90) * Math.PI / 180); _root.bullet.yspeed = 10 * Math.sin((_rotation - 90) * Math.PI / 180); play(); } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { _root.dontfire = 1; turn = 1; } } onClipEvent (mouseUp) { turn = 0; _root.dontfire = 0; _root.rot1 = _rotation; } onClipEvent (enterFrame) { if (turn == 1) { rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; _rotation = angle + 90; } } } instance of movieClip 318 { onClipEvent (load) { _rotation = _root.rot2; } onClipEvent (enterFrame) { if (turn == 1) { _alpha = 80; } else { _alpha = 100; } if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 10 * Math.cos((_rotation - 90) * Math.PI / 180); _root.bullet.yspeed = 10 * Math.sin((_rotation - 90) * Math.PI / 180); play(); } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { _root.dontfire = 1; turn = 1; } } onClipEvent (mouseUp) { turn = 0; _root.dontfire = 0; _root.rot2 = _rotation; } onClipEvent (enterFrame) { if (turn == 1) { rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; _rotation = angle + 90; } } } instance of movieClip 318 { onClipEvent (load) { _rotation = _root.rot3; } onClipEvent (enterFrame) { if (turn == 1) { _alpha = 80; } else { _alpha = 100; } if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 10 * Math.cos((_rotation - 90) * Math.PI / 180); _root.bullet.yspeed = 10 * Math.sin((_rotation - 90) * Math.PI / 180); play(); } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { _root.dontfire = 1; turn = 1; } } onClipEvent (mouseUp) { turn = 0; _root.dontfire = 0; _root.rot3 = _rotation; } onClipEvent (enterFrame) { if (turn == 1) { rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; _rotation = angle + 90; } } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 50) { _y = 50; yspeed = 0; } if (_y > 180) { _y = 180; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { _root.information = _root.shots + ' bullets shot'; if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.play(); } if (_currentframe == 3) { _root.gotoAndPlay(_root._currentframe - 1); } } } } } frame 39 { _root.tranny.play(); } frame 40 { stop(); } instance face1 of movieClip 225 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._x = 10000; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance of movieClip 399 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } movieClip 402 { instance of movieClip 257 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 259 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -5; _root.metal.play(); } } } instance of movieClip 260 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -5; _root.metal.play(); } } } instance of movieClip 261 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 5; _root.metal.play(); } } } } instance key of movieClip 354 { onClipEvent (enterFrame) { if (_currentframe == 1) { if (this.hitTest(_root.bullet)) { play(); _root.door._x += 10000000; _x = _x + 100000000; } } } } instance door of movieClip 357 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -3; _root.metal.play(); } } } movieClip 404 { } instance of movieClip 404 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance of movieClip 318 { onClipEvent (load) { _rotation = _root.rot4; } onClipEvent (enterFrame) { if (turn == 1) { _alpha = 80; } else { _alpha = 100; } if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 10 * Math.cos((_rotation - 90) * Math.PI / 180); _root.bullet.yspeed = 10 * Math.sin((_rotation - 90) * Math.PI / 180); play(); } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { _root.dontfire = 1; turn = 1; } } onClipEvent (mouseUp) { turn = 0; _root.dontfire = 0; _root.rot4 = _rotation; } onClipEvent (enterFrame) { if (turn == 1) { rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; _rotation = angle + 90; } } } instance of movieClip 318 { onClipEvent (load) { _rotation = _root.rot5; } onClipEvent (enterFrame) { if (turn == 1) { _alpha = 80; } else { _alpha = 100; } if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 10 * Math.cos((_rotation - 90) * Math.PI / 180); _root.bullet.yspeed = 10 * Math.sin((_rotation - 90) * Math.PI / 180); play(); } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { _root.dontfire = 1; turn = 1; } } onClipEvent (mouseUp) { turn = 0; _root.dontfire = 0; _root.rot5 = _rotation; } onClipEvent (enterFrame) { if (turn == 1) { rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; _rotation = angle + 90; } } } instance of movieClip 318 { onClipEvent (load) { _rotation = _root.rot6; } onClipEvent (enterFrame) { if (turn == 1) { _alpha = 80; } else { _alpha = 100; } if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 10 * Math.cos((_rotation - 90) * Math.PI / 180); _root.bullet.yspeed = 10 * Math.sin((_rotation - 90) * Math.PI / 180); play(); } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { _root.dontfire = 1; turn = 1; } } onClipEvent (mouseUp) { turn = 0; _root.dontfire = 0; _root.rot6 = _rotation; } onClipEvent (enterFrame) { if (turn == 1) { rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; _rotation = angle + 90; } } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 180) { _y = 180; yspeed = 0; } if (_y > 400) { _y = 400; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.play(); } if (_currentframe == 3) { _root.gotoAndPlay(_root._currentframe - 1); } } } } } frame 41 { _root.tranny.play(); } frame 42 { stop(); } instance portal of movieClip 343 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { play(); _root.bullet._x = _root.exit._x; _root.bullet._y = _root.exit._y; _root.bullet.xspeed = 10 * Math.cos((_root.exit.arrow._rotation - 90) * Math.PI / 180); _root.bullet.yspeed = 10 * Math.sin((_root.exit.arrow._rotation - 90) * Math.PI / 180); } } } instance face1 of movieClip 225 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._visible = false; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance of movieClip 399 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 3; play(); } } } instance of movieClip 328 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { yspeed = _root.bullet.yspeed; _root.bullet.yspeed = _root.bullet.xspeed; _root.bullet.xspeed = yspeed; _root.rubber.play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 3; play(); } } } instance of movieClip 328 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { yspeed = _root.bullet.yspeed; _root.bullet.yspeed = _root.bullet.xspeed; _root.bullet.xspeed = yspeed; _root.rubber.play(); } } } instance of movieClip 399 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -8; _root.bullet.yspeed = 3; play(); } } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } movieClip 408 { } instance of movieClip 408 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 50) { _y = 50; yspeed = 0; } if (_y > 350) { _y = 350; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.play(); } if (_currentframe == 3) { _root.gotoAndPlay(_root._currentframe - 1); } } } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } frame 43 { _root.tranny.play(); } frame 44 { stop(); } instance face1 of movieClip 225 { onClipEvent (load) { dir = 'down'; speed = 5; } onClipEvent (enterFrame) { if (dir == 'down') { _y = _y + speed; } if (dir == 'up') { _y = _y - speed; } if (_y > 300) { dir = 'up'; } if (_y < 100) { dir = 'down'; } if (_root.bullet.go == 2) { speed = 1; } if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._x = 10000; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance of movieClip 393 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } movieClip 412 { } instance of movieClip 412 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance of movieClip 393 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance of movieClip 412 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance of movieClip 393 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance of movieClip 412 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } movieClip 414 { } instance door of movieClip 414 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -3; _root.metal.play(); } } } instance key of movieClip 354 { onClipEvent (enterFrame) { if (_currentframe == 1) { if (this.hitTest(_root.bullet)) { play(); _root.door._x += 10000000; _x = _x + 100000000; } } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -8; _root.bullet.xspeed = 5; play(); } } } instance of movieClip 318 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 8; play(); } } } instance of movieClip 399 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 50) { _y = 50; yspeed = 0; } if (_y > 350) { _y = 350; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.play(); } if (_currentframe == 3) { _root.gotoAndPlay(_root._currentframe - 1); } } } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } frame 45 { _root.tranny.play(); } frame 46 { stop(); } instance face1 of movieClip 225 { onClipEvent (load) { dir = 'down'; speed = 5; } onClipEvent (enterFrame) { if (dir == 'down') { _y = _y + speed; } if (dir == 'up') { _y = _y - speed; } if (_y > 300) { dir = 'up'; } if (_y < 100) { dir = 'down'; } if (_root.bullet.go == 2) { speed = 1; } if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._x = 10000; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } movieClip 418 { } instance ball1 of movieClip 418 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } movieClip 421 { } instance of movieClip 421 { onClipEvent (load) { speed = 17; fire = 0; counter = 99; slowed = 0; grav = 0.4; } onClipEvent (enterFrame) { if (_root.bullet.go == 2 and slowed == 0) { xspeed /= 5; yspeed /= 5; speed /= 2.23606797749979; slowed = 1; grav /= 5; } if (fire == 1) { _root.ball1._x = _x; _root.ball1._y = _y; xspeed = speed * Math.cos(_rotation * Math.PI / 180); yspeed = speed * Math.sin(_rotation * Math.PI / 180); counter = 0; fire = 0; } ++counter; _root.ball1._x += xspeed; _root.ball1._y += yspeed; _root.ball1._rotation += grav * 12.5; yspeed += grav; if (counter >= 100) { if (_root.ball1._y > 430 or _root.ball._x > 830) { fire = 1; } } } } instance ball2 of movieClip 418 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance of movieClip 421 { onClipEvent (load) { speed = 17; fire = 0; counter = 33; slowed = 0; grav = 0.4; } onClipEvent (enterFrame) { if (_root.bullet.go == 2 and slowed == 0) { xspeed /= 5; yspeed /= 5; speed /= 2.23606797749979; slowed = 1; grav /= 5; } if (fire == 1) { _root.ball2._x = _x; _root.ball2._y = _y; xspeed = speed * Math.cos(_rotation * Math.PI / 180); yspeed = speed * Math.sin(_rotation * Math.PI / 180); counter = 0; fire = 0; } ++counter; _root.ball2._x += xspeed; _root.ball2._y += yspeed; _root.ball2._rotation += grav * 12.5; yspeed += grav; if (counter >= 100) { if (_root.ball2._y > 430 or _root.ball._x > 830) { fire = 1; } } } } instance ball3 of movieClip 418 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance of movieClip 421 { onClipEvent (load) { speed = 17; fire = 0; counter = 66; slowed = 0; grav = 0.4; } onClipEvent (enterFrame) { if (_root.bullet.go == 2 and slowed == 0) { xspeed /= 5; yspeed /= 5; speed /= 2.23606797749979; slowed = 1; grav /= 5; } if (fire == 1) { _root.ball3._x = _x; _root.ball3._y = _y; xspeed = speed * Math.cos(_rotation * Math.PI / 180); yspeed = speed * Math.sin(_rotation * Math.PI / 180); counter = 0; fire = 0; } ++counter; _root.ball3._x += xspeed; _root.ball3._y += yspeed; _root.ball3._rotation += grav * 12.5; yspeed += grav; if (counter >= 100) { if (_root.ball3._y > 430 or _root.ball._x > 830) { fire = 1; } } } } instance of movieClip 348 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 50) { _y = 50; yspeed = 0; } if (_y > 350) { _y = 350; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.play(); } if (_currentframe == 3) { _root.gotoAndPlay(_root._currentframe - 1); } } } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } frame 47 { _root.tranny.play(); } frame 48 { stop(); } instance face1 of movieClip 225 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._x = 10000; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance ball1 of movieClip 418 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance of movieClip 421 { onClipEvent (load) { speed = 14; fire = 0; counter = 99; slowed = 0; grav = 0.4; } onClipEvent (enterFrame) { if (_root.bullet.go == 2 and slowed == 0) { xspeed /= 5; yspeed /= 5; speed /= 2.23606797749979; slowed = 1; grav /= 5; } if (fire == 1) { _root.ball1._x = _x; _root.ball1._y = _y; xspeed = speed * Math.cos(_rotation * Math.PI / 180); yspeed = speed * Math.sin(_rotation * Math.PI / 180); counter = 0; fire = 0; } ++counter; _root.ball1._x += xspeed; _root.ball1._y += yspeed; _root.ball1._rotation += grav * 12.5; yspeed += grav; if (counter >= 100) { if (_root.ball1._y > 430 or _root.ball._x > 830) { fire = 1; } } } } instance ball2 of movieClip 418 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance of movieClip 421 { onClipEvent (load) { speed = 15; fire = 0; counter = 33; slowed = 0; grav = 0.4; } onClipEvent (enterFrame) { if (_root.bullet.go == 2 and slowed == 0) { xspeed /= 5; yspeed /= 5; speed /= 2.23606797749979; slowed = 1; grav /= 5; } if (fire == 1) { _root.ball2._x = _x; _root.ball2._y = _y; xspeed = speed * Math.cos(_rotation * Math.PI / 180); yspeed = speed * Math.sin(_rotation * Math.PI / 180); counter = 0; fire = 0; } ++counter; _root.ball2._x += xspeed; _root.ball2._y += yspeed; _root.ball2._rotation += grav * 12.5; yspeed += grav; if (counter >= 100) { if (_root.ball2._y > 430 or _root.ball._x > 830) { fire = 1; } } } } instance ball3 of movieClip 418 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance of movieClip 421 { onClipEvent (load) { speed = 14; fire = 0; counter = 66; slowed = 0; grav = 0.4; } onClipEvent (enterFrame) { if (_root.bullet.go == 2 and slowed == 0) { xspeed /= 5; yspeed /= 5; speed /= 2.23606797749979; slowed = 1; grav /= 5; } if (fire == 1) { _root.ball3._x = _x; _root.ball3._y = _y; xspeed = speed * Math.cos(_rotation * Math.PI / 180); yspeed = speed * Math.sin(_rotation * Math.PI / 180); counter = 0; fire = 0; } ++counter; _root.ball3._x += xspeed; _root.ball3._y += yspeed; _root.ball3._rotation += grav * 12.5; yspeed += grav; if (counter >= 100) { if (_root.ball3._y > 430 or _root.ball._x > 830) { fire = 1; } } } } instance of movieClip 348 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } movieClip 426 { } instance of movieClip 426 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance of movieClip 318 { onClipEvent (load) { _rotation = _root.rot7; } onClipEvent (enterFrame) { if (turn == 1) { _alpha = 80; } else { _alpha = 100; } if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 10 * Math.cos((_rotation - 90) * Math.PI / 180); _root.bullet.yspeed = 10 * Math.sin((_rotation - 90) * Math.PI / 180); play(); } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { _root.dontfire = 1; turn = 1; } } onClipEvent (mouseUp) { turn = 0; _root.dontfire = 0; _root.rot7 = _rotation; } onClipEvent (enterFrame) { if (turn == 1) { rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; _rotation = angle + 90; } } } instance of movieClip 318 { onClipEvent (load) { _rotation = _root.rot8; } onClipEvent (enterFrame) { if (turn == 1) { _alpha = 80; } else { _alpha = 100; } if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 10 * Math.cos((_rotation - 90) * Math.PI / 180); _root.bullet.yspeed = 10 * Math.sin((_rotation - 90) * Math.PI / 180); play(); } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { _root.dontfire = 1; turn = 1; } } onClipEvent (mouseUp) { turn = 0; _root.dontfire = 0; _root.rot8 = _rotation; } onClipEvent (enterFrame) { if (turn == 1) { rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; _rotation = angle + 90; } } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 50) { _y = 50; yspeed = 0; } if (_y > 350) { _y = 350; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.play(); } if (_currentframe == 3) { _root.gotoAndPlay(_root._currentframe - 1); } } } } } frame 49 { _root.tranny.play(); } frame 50 { stop(); } instance portal of movieClip 343 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { play(); _root.bullet._x = _root.exit._x; _root.bullet._y = _root.exit._y; _root.bullet.xspeed = 10 * Math.cos((_root.exit.arrow._rotation - 90) * Math.PI / 180); _root.bullet.yspeed = 10 * Math.sin((_root.exit.arrow._rotation - 90) * Math.PI / 180); } } } instance face1 of movieClip 225 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._visible = false; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } movieClip 429 { instance of movieClip 257 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 259 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -5; _root.metal.play(); } } } instance of movieClip 260 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -5; _root.metal.play(); } } } instance of movieClip 261 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 5; _root.metal.play(); } } } } instance door of movieClip 414 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -3; _root.metal.play(); } } } instance key of movieClip 354 { onClipEvent (enterFrame) { if (_currentframe == 1) { if (this.hitTest(_root.bullet)) { play(); _root.door._x += 10000000; _x = _x + 100000000; } } } } instance ball1 of movieClip 418 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance of movieClip 421 { onClipEvent (load) { speed = 10; fire = 0; counter = 99; slowed = 0; grav = 0.4; } onClipEvent (enterFrame) { if (_root.bullet.go == 2 and slowed == 0) { xspeed /= 5; yspeed /= 5; speed /= 2.23606797749979; slowed = 1; grav /= 5; } if (fire == 1) { _root.ball1._x = _x; _root.ball1._y = _y; xspeed = speed * Math.cos(_rotation * Math.PI / 180); yspeed = speed * Math.sin(_rotation * Math.PI / 180); counter = 0; fire = 0; } ++counter; _root.ball1._x += xspeed; _root.ball1._y += yspeed; _root.ball1._rotation += grav * 12.5; yspeed += grav; if (counter >= 100) { if (_root.ball1._y > 430 or _root.ball._x > 830) { fire = 1; } } } } instance ball2 of movieClip 418 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance of movieClip 421 { onClipEvent (load) { speed = 10; fire = 0; counter = 33; slowed = 0; grav = 0.4; } onClipEvent (enterFrame) { if (_root.bullet.go == 2 and slowed == 0) { xspeed /= 5; yspeed /= 5; speed /= 2.23606797749979; slowed = 1; grav /= 5; } if (fire == 1) { _root.ball2._x = _x; _root.ball2._y = _y; xspeed = speed * Math.cos(_rotation * Math.PI / 180); yspeed = speed * Math.sin(_rotation * Math.PI / 180); counter = 0; fire = 0; } ++counter; _root.ball2._x += xspeed; _root.ball2._y += yspeed; _root.ball2._rotation += grav * 12.5; yspeed += grav; if (counter >= 100) { if (_root.ball2._y > 430 or _root.ball._x > 830) { fire = 1; } } } } instance ball3 of movieClip 418 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance of movieClip 421 { onClipEvent (load) { speed = 10; fire = 0; counter = 66; slowed = 0; grav = 0.4; } onClipEvent (enterFrame) { if (_root.bullet.go == 2 and slowed == 0) { xspeed /= 5; yspeed /= 5; speed /= 2.23606797749979; slowed = 1; grav /= 5; } if (fire == 1) { _root.ball3._x = _x; _root.ball3._y = _y; xspeed = speed * Math.cos(_rotation * Math.PI / 180); yspeed = speed * Math.sin(_rotation * Math.PI / 180); counter = 0; fire = 0; } ++counter; _root.ball3._x += xspeed; _root.ball3._y += yspeed; _root.ball3._rotation += grav * 12.5; yspeed += grav; if (counter >= 100) { if (_root.ball3._y > 430 or _root.ball._x > 830) { fire = 1; } } } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 190) { _y = 190; yspeed = 0; } if (_y > 300) { _y = 300; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.play(); } if (_currentframe == 3) { _root.gotoAndPlay(_root._currentframe - 1); } } } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 5; _root.metal.play(); } } } frame 51 { _root.tranny.play(); } frame 52 { stop(); } instance of movieClip 399 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance portal of movieClip 343 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { play(); _root.bullet._x = _root.exit._x; _root.bullet._y = _root.exit._y; _root.bullet.xspeed = 10 * Math.cos((_root.exit.arrow._rotation - 90) * Math.PI / 180); _root.bullet.yspeed = 10 * Math.sin((_root.exit.arrow._rotation - 90) * Math.PI / 180); } } } instance face1 of movieClip 225 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._visible = false; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance of movieClip 399 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance of movieClip 318 { onClipEvent (load) { _rotation = _root.rot9; } onClipEvent (enterFrame) { if (turn == 1) { _alpha = 80; } else { _alpha = 100; } if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 10 * Math.cos((_rotation - 90) * Math.PI / 180); _root.bullet.yspeed = 10 * Math.sin((_rotation - 90) * Math.PI / 180); play(); } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { _root.dontfire = 1; turn = 1; } } onClipEvent (mouseUp) { turn = 0; _root.dontfire = 0; _root.rot9 = _rotation; } onClipEvent (enterFrame) { if (turn == 1) { rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; _rotation = angle + 90; } } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 300) { _y = 300; yspeed = 0; } if (_y > 300) { _y = 300; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.play(); } if (_currentframe == 3) { _root.gotoAndPlay(_root._currentframe - 1); } } } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } frame 53 { _root.tranny.play(); } frame 54 { stop(); } instance of movieClip 399 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance portal of movieClip 343 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { play(); _root.bullet._x = _root.exit._x; _root.bullet._y = _root.exit._y; _root.bullet.xspeed = 10 * Math.cos((_root.exit.arrow._rotation - 90) * Math.PI / 180); _root.bullet.yspeed = 10 * Math.sin((_root.exit.arrow._rotation - 90) * Math.PI / 180); } } } instance face1 of movieClip 225 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.splode.play(); _root.bullet._visible = false; } if (_root.bullet.go == 2) { _root.minus2._x = _x; _root.minus2._y = _y; _root.minus2.gotoAndPlay(1); features.eye.gotoAndStop(4); features.eye2.gotoAndStop(4); features.mouth.gotoAndStop(7); } } } instance splode of movieClip 26 splode { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { _x = _root.face1._x; _y = _root.face1._y + 65; } } movieClip 434 { } instance of movieClip 434 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance of movieClip 434 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } instance of movieClip 434 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet._y = 10000; _root.lava.play(); } } } movieClip 435 { } movieClip 436 { instance of movieClip 435 { onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _x = _x - 1; } else { _x = _x - 5; } if (_x < -23) { _x = _x + 23; } } } } movieClip 437 { } movieClip 438 { } movieClip 439 { instance of movieClip 437 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -3; _root.metal.play(); } } } instance of movieClip 438 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet)) { _root.bullet.xspeed -= 1; } } } instance of movieClip 438 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet)) { _root.bullet.xspeed -= 0.75; } } } instance of movieClip 438 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet)) { _root.bullet.xspeed -= 0.5; } } } instance of movieClip 438 { onClipEvent (enterFrame) { if (this.hitTest(_root.bullet)) { _root.bullet.xspeed -= 0.25; } } } } instance bullet of movieClip 228 { onClipEvent (mouseDown) { if (go !== 1 and go !== 2 and _root.dontfire !== 1) { _root.gun.gotoAndPlay(1); go = 1; _x = _root.gun._x; _y = _root.gun._y; speed = _root.speed; ++_root.shots; } _root.gun.yspeed /= 5; } onClipEvent (enterFrame) { if (_y > 400 and _root.splode._currentframe < 2) { _root.winlose.gotoAndStop(3); } if (go !== 1 and go !== 2) { _x = _root.gun._x; _y = _root.gun._y; } if (go == 2) { _x = _x + xspeed; _y = _y + yspeed; yspeed += 0.2; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; if (go == 1) { xspeed = (speed / 5) * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = (speed / 5) * Math.sin(_root.gun._rotation * Math.PI / 180); go = 2; } } } instance a1 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 0; go = 0; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a2 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 1; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a3 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 2; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a4 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 3; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance a5 of movieClip 269 { onClipEvent (load) { speed = _root.speed; timer = 4; go = 1; } onClipEvent (enterFrame) { if (_root.bullet.go == 2) { _alpha = 0; } speed = _root.speed; if (go == 0) { go = 1; if (_root.bullet.go !== 2) { _alpha = 100; } xspeed = speed * Math.cos(_root.gun._rotation * Math.PI / 180); yspeed = speed * Math.sin(_root.gun._rotation * Math.PI / 180); } _x = _x + xspeed; _y = _y + yspeed; if (go == 1) { timer += 1; if (_root.bullet.go !== 2) { _alpha = 100 - timer * 20; } } if (timer >= 5) { go = 0; timer = 0; _x = _root.gun._x; _y = _root.gun._y; _alpha = 0; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } if (xspeed >= 0 && yspeed < 0) { angle += 360; } _rotation = angle; yspeed += 5; } } instance gun of movieClip 241 { onClipEvent (load) { yspeed = 0; } onClipEvent (enterFrame) { if (_y < 70) { _y = 70; yspeed = 0; } if (_y > 300) { _y = 300; yspeed = 0; } if (_root.bullet.go != 1 and _root.bullet.go != 2) { yspeed *= 0.95; } _y = _y + yspeed; if (yspeed < -5) { yspeed = -5; } if (Key.isDown(87) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (Key.isDown(38) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed -= 1; } if (yspeed > 5) { yspeed = 5; } if (Key.isDown(83) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } if (Key.isDown(40) and _root.bullet.go != 1 and _root.bullet.go != 2) { yspeed += 1; } rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; if (_root.bullet.go != 1 and _root.bullet.go != 2) { _rotation = _rotation - (_rotation - angle) / 4; } else { _rotation = _rotation - (_rotation - angle) / 20; } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } xdist = Math.round(_root._xmouse - _x); ydist = Math.round(_root._ymouse - _y); distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist)); _root.speed = 5 + distancefromthis / 4; if (_root.speed > 75) { _root.speed = 75; } if (_root.speed < 20) { _root.speed = 20; } } } instance of movieClip 318 { onClipEvent (load) { _rotation = _root.rot9; } onClipEvent (enterFrame) { if (turn == 1) { _alpha = 80; } else { _alpha = 100; } if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 10 * Math.cos((_rotation - 90) * Math.PI / 180); _root.bullet.yspeed = 10 * Math.sin((_rotation - 90) * Math.PI / 180); play(); } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { _root.dontfire = 1; turn = 1; } } onClipEvent (mouseUp) { turn = 0; _root.dontfire = 0; _root.rot9 = _rotation; } onClipEvent (enterFrame) { if (turn == 1) { rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; _rotation = angle + 90; } } } instance of movieClip 318 { onClipEvent (load) { _rotation = _root.rot10; } onClipEvent (enterFrame) { if (turn == 1) { _alpha = 80; } else { _alpha = 100; } if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 10 * Math.cos((_rotation - 90) * Math.PI / 180); _root.bullet.yspeed = 10 * Math.sin((_rotation - 90) * Math.PI / 180); play(); } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { _root.dontfire = 1; turn = 1; } } onClipEvent (mouseUp) { turn = 0; _root.dontfire = 0; _root.rot10 = _rotation; } onClipEvent (enterFrame) { if (turn == 1) { rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; _rotation = angle + 90; } } } instance of movieClip 318 { onClipEvent (load) { _rotation = _root.rot11; } onClipEvent (enterFrame) { if (turn == 1) { _alpha = 80; } else { _alpha = 100; } if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 15 * Math.cos((_rotation - 90) * Math.PI / 180); _root.bullet.yspeed = 15 * Math.sin((_rotation - 90) * Math.PI / 180); play(); } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { _root.dontfire = 1; turn = 1; } } onClipEvent (mouseUp) { turn = 0; _root.dontfire = 0; _root.rot11 = _rotation; } onClipEvent (enterFrame) { if (turn == 1) { rx = _root._xmouse; ry = _root._ymouse; cx = _x; cy = _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; _rotation = angle + 90; } } } instance winlose of movieClip 292 { onClipEvent (load) { stop(); _alpha = 0; } onClipEvent (enterFrame) { if (_currentframe > 1) { if (_alpha < 100) { _alpha = _alpha + 2; } if (Key.isDown(32)) { if (_currentframe == 2) { _root.play(); } if (_currentframe == 3) { _root.gotoAndPlay(_root._currentframe - 1); } } } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = 5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.yspeed = -3; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -5; _root.metal.play(); } } } instance of movieClip 294 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.bullet._x, _root.bullet._y, true)) { _root.bullet.xspeed = -5; _root.metal.play(); } } } frame 55 { _root.tranny.play(); } frame 56 { var urlString = _root._url; if (urlString.indexOf('kongregate.com') == -1) { var CPMStarContentSpotID = '4768Q550BE538'; System.security.allowDomain('server.cpmstar.com'); adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID); } } frame 56 { stop(); } button 447 { on (release) { _root.gotoAndStop(4); } } button 450 { on (release) { if (_root.shots > 24) { _root.nextFrame(); } } } frame 57 { var o = {'n': [11, 9, 2, 1, 12, 13, 14, 1, 9, 1, 2, 6, 10, 12, 1, 0], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, 'b921cde19126ac10'); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': shots}); } frame 58 { gotoAndStop(56); }




http://swfchan.com/27/130634/info.shtml
Created: 22/2 -2019 02:07:11 Last modified: 22/2 -2019 02:07:11 Server time: 10/05 -2024 10:32:49