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

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

Wiggis in Flight.swf

This is the info page for
Flash #39530

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


ActionScript [AS1/AS2]
Combined Code
movieClip 3 { } movieClip 5 virus { frame 1 { stop(); cats = 0; active = 0; coordx = 0; coordy = 0; tree = 0; onEnterFrame = function () { if (this.hitTest(_parent._parent.char)) { if (cats == 1) { _parent._parent.drain = 0.45; _y = _y + 1500; --cats; --cats; --active; --active; } ++active; ++cats; this.gotoAndPlay(2); } if (active == 0) { _x = _x + coordx; _y = _y + coordy; this.gotoAndStop(1); } if (_parent._parent.activated == 1) { if (active == 1) { if (_parent._parent.char._x > _x + _parent._x) { this._x += 2; coordx -= 2; } if (_parent._parent.char._x < _x + _parent._x) { _x = _x - 2; coordx += 2; } if (_parent._parent.char._y > _y) { _y = _y + 2; coordy -= 2; } if (_parent._parent.char._y < _y) { _y = _y - 2; coordy += 2; } } } }; } instance of movieClip 3 { onClipEvent (mouseDown) { if (_parent.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_parent._parent._parent.panel.hitTest(_root._xmouse, _root._ymouse, true)) { if (_parent._parent._parent.test == 1) { if (_parent._parent._parent.viruss == 0) { if (_parent._parent._parent.pops == 0) { if (_parent._parent._parent.fuels == 0) { if (_parent._parent._parent.coins == 0) { if (_parent._parent._parent.clouds == 0) { if (_parent._parent._parent.courages == 0) { if (_parent._parent._parent.coiner == 0) { if (_parent._parent._parent.courager == 0) { _parent._y -= 1000; } } } } } } } } } } } } onClipEvent (enterFrame) { if (_parent.hitTest(_root._xmouse, _root._ymouse, true)) { _parent._parent._parent.viruser = 1; _parent.tree = 1; } else { if (_parent.tree == 1) { _parent._parent._parent.viruser = 0; tree = 0; } } } } frame 17 { gotoAndPlay(2); } } movieClip 7 courager { frame 1 { tree = 0; onEnterFrame = function () { if (this.hitTest(_parent._parent.char)) { _parent._parent.courage += 500; _y = _y + 1500; } }; } instance of movieClip 3 { onClipEvent (mouseDown) { if (_parent.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_parent._parent._parent.panel.hitTest(_root._xmouse, _root._ymouse, true)) { if (_parent._parent._parent.test == 1) { if (_parent._parent._parent.viruss == 0) { if (_parent._parent._parent.pops == 0) { if (_parent._parent._parent.fuels == 0) { if (_parent._parent._parent.coins == 0) { if (_parent._parent._parent.clouds == 0) { if (_parent._parent._parent.courages == 0) { if (_parent._parent._parent.coiner == 0) { _parent._y -= 1000; } } } } } } } } } } } onClipEvent (enterFrame) { if (_parent.hitTest(_root._xmouse, _root._ymouse, true)) { _parent._parent._parent.courager = 1; _parent.tree = 1; } else { if (_parent.tree == 1) { _parent._parent._parent.courager = 0; tree = 0; } } } } } movieClip 18 { } movieClip 25 { } movieClip 26 popup1 { frame 1 { stop(); cats = 0; tree = 0; onEnterFrame = function () { if (this.hitTest(_parent._parent.char)) { if (cats == 1) { _parent._parent.courage -= 250; _y = _y + 1500; --cats; --cats; } ++cats; this.gotoAndStop(4); } if (_parent._parent.test == 1) { cats = 0; this.gotoAndStop(2); } }; } instance of movieClip 3 { onClipEvent (mouseDown) { if (_parent.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_parent._parent._parent.panel.hitTest(_root._xmouse, _root._ymouse, true)) { if (_parent._parent._parent.test == 1) { if (_parent._parent._parent.viruss == 0) { if (_parent._parent._parent.pops == 0) { if (_parent._parent._parent.fuels == 0) { if (_parent._parent._parent.coins == 0) { if (_parent._parent._parent.clouds == 0) { if (_parent._parent._parent.courages == 0) { if (_parent._parent._parent.coiner == 0) { if (_parent._parent._parent.fueler == 0) { if (_parent._parent._parent.courager == 0) { if (_parent._parent._parent.viruser == 0) { _parent._y -= 1000; } } } } } } } } } } } } } } onClipEvent (enterFrame) { if (_parent.hitTest(_root._xmouse, _root._ymouse, true)) { _parent._parent._parent.popuper = 1; _parent.tree = 1; } else { if (_parent.tree == 1) { _parent._parent._parent.popuper = 0; tree = 0; } } } } frame 4 { this.gotoAndStop(Math.round(Math.random() * 2) + 1); } } movieClip 28 end { frame 1 { onEnterFrame = function () { if (_parent._parent.char.hitTest(this)) { if (_parent._parent.char._y >= this._y && _parent._parent.char._y <= _y + 18) { if (_parent._parent.char._x >= this._x + 25 + _parent._parent.level._x && _parent._parent.char._x <= _x + 190 + _parent._parent.level._x) { _parent._parent.mousin = 1; _parent._parent.lowspeed = 0; _parent._parent.highspeed = 0; _parent._parent.rightspeed = 0; _parent._parent.activated = 0; _parent._parent.char._y = this._y + 3; if (_parent._parent.active == 1) { _parent._parent.ender.gotoAndPlay(2); _parent._parent.active = 0; } } } } }; } } movieClip 30 start { frame 1 { hax = 0; onEnterFrame = function () { if (this._parent._parent.active == 1) { this._alpha -= 5; } if (this._parent._parent.test == 2) { hax = 0; } if (this._parent._parent.fuel == 1000) { if (hax == 0) { this._parent._parent.char._x = this._x + 143; this._parent._parent.char._y = this._y + 3; this._parent._parent.activated = 1; this._parent._parent.fuel = 1000; hax = 1; } } if (this._parent._parent.alphor == 1) { this._alpha = 100; } }; } } movieClip 46 { } movieClip 48 coin { frame 1 { stop(); tree = 0; onEnterFrame = function () { if (this.hitTest(_parent._parent.char)) { _y = _y + 1500; _parent._parent.golds += 10; _parent._parent.current += 10; this.gotoAndStop(2); } }; } instance of movieClip 3 { onClipEvent (mouseDown) { if (_parent.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_parent._parent._parent.panel.hitTest(_root._xmouse, _root._ymouse, true)) { if (_parent._parent._parent.test == 1) { if (_parent._parent._parent.viruss == 0) { if (_parent._parent._parent.pops == 0) { if (_parent._parent._parent.fuels == 0) { if (_parent._parent._parent.coins == 0) { if (_parent._parent._parent.clouds == 0) { if (_parent._parent._parent.courages == 0) { _parent._y -= 1000; } } } } } } } } } } onClipEvent (enterFrame) { if (_parent.hitTest(_root._xmouse, _root._ymouse, true)) { _parent._parent._parent.coiner = 1; _parent.tree = 1; } else { if (_parent.tree == 1) { _parent._parent._parent.coiner = 0; tree = 0; } } } } frame 2 { gotoAndStop(1); } } movieClip 52 fuel { frame 1 { tree = 0; onEnterFrame = function () { if (this.hitTest(_parent._parent.char)) { _parent._parent.fuel += 500; _y = _y + 1500; } }; } instance of movieClip 3 { onClipEvent (mouseDown) { if (_parent.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_parent._parent._parent.panel.hitTest(_root._xmouse, _root._ymouse, true)) { if (_parent._parent._parent.test == 1) { if (_parent._parent._parent.viruss == 0) { if (_parent._parent._parent.pops == 0) { if (_parent._parent._parent.fuels == 0) { if (_parent._parent._parent.coins == 0) { if (_parent._parent._parent.clouds == 0) { if (_parent._parent._parent.courages == 0) { if (_parent._parent._parent.coiner == 0) { if (_parent._parent._parent.courager == 0) { if (_parent._parent._parent.viruser == 0) { _parent._y -= 1000; } } } } } } } } } } } } } onClipEvent (enterFrame) { if (_parent.hitTest(_root._xmouse, _root._ymouse, true)) { _parent._parent._parent.fueler = 1; _parent.tree = 1; } else { if (_parent.tree == 1) { _parent._parent._parent.fueler = 0; tree = 0; } } } } } movieClip 54 cloud { instance of movieClip 3 { onClipEvent (mouseDown) { if (_parent.hitTest(_root._xmouse, _root._ymouse, true)) { if (!_parent._parent._parent.panel.hitTest(_root._xmouse, _root._ymouse, true)) { if (_parent._parent._parent.test == 1) { if (_parent._parent._parent.viruss == 0) { if (_parent._parent._parent.pops == 0) { if (_parent._parent._parent.fuels == 0) { if (_parent._parent._parent.coins == 0) { if (_parent._parent._parent.clouds == 0) { if (_parent._parent._parent.courages == 0) { if (_parent._parent._parent.coiner == 0) { if (_parent._parent._parent.fueler == 0) { if (_parent._parent._parent.courager == 0) { if (_parent._parent._parent.viruser == 0) { if (_parent._parent._parent.popuper == 0) { _parent._y -= 1000; } } } } } } } } } } } } } } } } } frame 1 { mousin = 1; stop(); _root.WPI_ArcadeStartSingleGame = function () { trace('WPI_ArcadeStartSingleGame called - the current game has started'); }; _root.WPI_ArcadeStopSingleGame = function (score) { trace('WPI_ArcadeStopSingleGame called - the current game has finished with score: ' + score); }; } movieClip 58 { } movieClip 59 { frame 17 { gotoAndPlay(15); } } button 60 { on (release) { getURL('http://www.wiggiworld.com', '_blank'); } } movieClip 61 { } movieClip 64 { } movieClip 66 { } movieClip 68 { } movieClip 69 { frame 15 { stop(); } } button 71 { on (release) { _root.gotoAndStop('start'); } } movieClip 85 { frame 1 { stop(); this.onEnterFrame = function () { bl = _root.getBytesLoaded(); bt = _root.getBytesTotal(); perc = (bl / bt) * 100; bar.bar._xscale = perc; if (perc >= 100) { this.gotoAndPlay('goplay'); delete this.onEnterFrame; } }; } frame 25 { stop(); } } movieClip 87 { } instance of movieClip 87 { onClipEvent (enterFrame) { Mouse.hide(); if (_parent.mousin == 1) { this._x = _root._xmouse; this._y = _root._ymouse; Xd = 400 - _x; Yd = 300 - _y; radAngle = Math.atan2(Yd, Xd); _rotation = int(radAngle * 360 / 6.283185307179586 + 90); updateAfterEvent(); } else { this._x = 1000; } } } frame 2 { stop(); lives = 3; prev = 0; current = 0; drain = 0.1; golds = 0; lowspeed = 0; highspeed = 0; rightspeed = 0; active = 0; fuel = 1000; courage = 1000; activated = 1; i = 1; j = 1; coins = 0; clouds = 0; fuels = 0; pops = 0; viruss = 0; courages = 0; mousin = 1; popuper = 0; viruser = 0; fueler = 0; coiner = 0; courager = 0; } movieClip 89 { } movieClip 91 { } movieClip 97 { } movieClip 98 { frame 1 { stop(); } } movieClip 100 { } movieClip 102 { } movieClip 113 { frame 1 { stop(); } frame 19 { stop(); onEnterFrame = function () { if (_parent.lives > 1) { _parent.active = 0; _parent.highspeed = 0; _parent.lowspeed = 0; _parent.rightspeed = 0; _parent.nextFrame(); _parent.prevFrame(); _parent.drain = 0.1; --_parent.lives; _parent.fuel = 1000; _parent.courage = 1000; } else { _parent.mousin = 1; _root.WPI_ArcadeStopSingleGame(golds); _parent.activated = 0; _parent.lives = 3; _parent.gotoAndStop('lose'); } delete onEnterFrame; }; this.gotoAndStop(1); } } movieClip 116 { } movieClip 124 { } movieClip 126 { } movieClip 128 { } movieClip 135 { } button 136 { on (release) { _root.WPI_ArcadeStartSingleGame(); stopAllSounds(); gotoAndStop(3); mousin = 0; } } button 139 { on (release) { gotoAndStop('instruct'); } } movieClip 140 { } button 143 { on (release) { stopAllSounds(); gotoAndStop('editor'); } } frame 3 { stop(); test = 2; onEnterFrame = function () { if (activated == 1) { if (Key.isDown(39)) { if (active == 1) { rightspeed += 0.5; if (rightspeed > 5) { rightspeed = 5; } } } if (Key.isDown(37)) { if (active == 1) { rightspeed -= 0.5; if (rightspeed < -5) { rightspeed = -5; } } } char._y += lowspeed; char._y -= highspeed; level._x -= rightspeed; if (Key.isDown(38)) { fuel -= 3; highspeed += 0.5; active = 1; char.bod.jet.gotoAndPlay(1); } else { if (active == 1) { char.bod.jet.gotoAndStop(5); lowspeed += 0.5; active = 1; } else { char.bod.jet.gotoAndStop(5); } } if (fuel > 999) { fuel = 999; } if (courage > 1000) { courage = 1000; } couragebar._xscale = courage / 10; fuelbar._xscale = fuel / 10; if (char._y <= 160) { char._y = 161; highspeed = 0; lowspeed = 0; } if (level._x > 0) { level._x = 0; rightspeed = 0; } if (!level.hitTest(field)) { rightspeed = 0; ++level._x; } if (rightspeed > 0) { rightspeed -= drain; } if (rightspeed < 0) { rightspeed += drain; } if (fuel <= 0) { char.gotoAndPlay('lose'); activated = 0; } if (courage <= 0) { char.gotoAndPlay('lose'); activated = 0; } if (char._y >= 650) { char.gotoAndPlay('lose'); activated = 0; } ender.prever = prev; ender.currenter = current; ender.totaler = golds; } }; } movieClip 149 { } movieClip 152 { } movieClip 154 { } button 175 { on (release) { this.gotoAndStop(1); _parent.mousin = 0; _parent.test = 2; _parent.alphor = 1; _parent.fuel = 1000; _parent.prev = _parent.golds; _parent.current = 0; _parent.drain = 0.1; _parent.lowspeed = 0; _parent.highspeed = 0; _parent.rightspeed = 0; _parent.active = 0; _parent.activated = 1; _parent.nextFrame(); _parent.level._x = 0; _parent.level._y = 0; _parent.alphor = 0; } } movieClip 176 { frame 1 { stop(); currenter = _parent.current; totaler = _parent.golds; prever = _parent.prev; } frame 21 { stop(); } } movieClip 178 { } movieClip 179 { } movieClip 180 { } movieClip 181 { } movieClip 182 { } movieClip 183 { } movieClip 184 { } movieClip 185 { } movieClip 186 { } movieClip 187 { } movieClip 188 { } movieClip 189 { } movieClip 190 { } movieClip 191 { } movieClip 192 { } movieClip 193 { } movieClip 194 { } movieClip 195 { } movieClip 196 { } movieClip 197 { } movieClip 198 { } movieClip 201 { } movieClip 202 { } movieClip 203 { } movieClip 204 { } movieClip 205 { } movieClip 206 { } frame 31 { stop(); mousin = 1; } button 207 { on (release) { nextFrame(); } } frame 32 { stop(); test = 2; delete onEnterFrame; activated = 1; onEnterFrame = function () { if (activated == 1) { if (Key.isDown(37)) { if (active == 1) { rightspeed += 0.5; if (rightspeed > 5) { rightspeed = 5; } } } if (Key.isDown(39)) { if (active == 1) { rightspeed -= 0.5; if (rightspeed < -5) { rightspeed = -5; } } } char._y += lowspeed; char._y -= highspeed; level._x -= rightspeed; if (Key.isDown(38)) { fuel -= 3; highspeed += 0.5; active = 1; char.bod.jet.gotoAndPlay(1); } else { if (active == 1) { char.bod.jet.gotoAndStop(5); lowspeed += 0.5; active = 1; } else { char.bod.jet.gotoAndStop(5); } } if (fuel > 999) { fuel = 999; } if (courage > 1000) { courage = 1000; } couragebar._xscale = courage / 10; fuelbar._xscale = fuel / 10; if (char._y <= 160) { char._y = 161; highspeed = 0; lowspeed = 0; } if (level._x > 0) { level._x = 0; rightspeed = 0; } if (!level.hitTest(field)) { rightspeed = 0; ++level._x; } if (rightspeed > 0) { rightspeed -= drain; } if (rightspeed < 0) { rightspeed += drain; } if (fuel <= 0) { char.gotoAndPlay('lose'); activated = 0; } if (courage <= 0) { char.gotoAndPlay('lose'); activated = 0; } if (char._y >= 650) { char.gotoAndPlay('lose'); activated = 0; } ender.prever = prev; ender.currenter = current; ender.totaler = golds; } }; } movieClip 210 { } frame 33 { mousin = 1; } frame 34 { mousin = 0; activated = 1; delete onEnterFrame; onEnterFrame = function () { if (activated == 1) { char._y += lowspeed; char._y -= highspeed; level._x -= rightspeed; if (Key.isDown(38)) { fuel -= 3; highspeed += 0.5; active = 1; char.bod.jet.gotoAndPlay(1); } else { if (active == 1) { char.bod.jet.gotoAndStop(5); lowspeed += 0.5; active = 1; } else { char.bod.jet.gotoAndStop(5); } } if (fuel > 999) { fuel = 999; } if (courage > 1000) { courage = 1000; } couragebar._xscale = courage / 10; fuelbar._xscale = fuel / 10; if (char._y <= 160) { char._y = 161; highspeed = 0; lowspeed = 0; } if (level._x > 0) { level._x = 0; rightspeed = 0; } if (!level.hitTest(field)) { rightspeed = 0; ++level._x; } if (rightspeed > 0) { rightspeed -= drain; } if (rightspeed < 0) { rightspeed += drain; } if (fuel <= 0) { char.gotoAndPlay('lose'); activated = 0; } if (courage <= 0) { char.gotoAndPlay('lose'); activated = 0; } if (char._y >= 650) { char.gotoAndPlay('lose'); activated = 0; } ender.prever = prev; ender.currenter = current; ender.totaler = golds; } }; } movieClip 215 { } instance level of movieClip 215 { onClipEvent (enterFrame) { if (_parent.active == 1) { this._x -= 5; } } } frame 35 { mousin = 1; delete onEnterFrame; } button 222 { on (release) { stopAllSounds(); gotoAndStop('start'); _root.WPI_ArcadeStopSingleGame(golds); } } instance char of movieClip 113 { } button 225 { on (release) { gotoAndStop('start'); stopAllSounds(); } } button 230 { on (release) { nextFrame(); } } button 241 { on (release) { stopAllSounds(); gotoAndStop('start'); } } button 242 { on (release) { gotoAndStop('tester'); } } frame 43 { stop(); test = 1; mousin = 1; } movieClip 245 { frame 1 { dragger = 1; draggers = 1; } instance of movieClip 30 start { onClipEvent (mouseDown) { if (this._parent._parent.test == 1) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { dragger = 0; } } } onClipEvent (mouseUp) { if (this._parent._parent.test == 1) { dragger = 1; } } onClipEvent (enterFrame) { if (this._parent._parent.test == 1) { if (dragger == 0) { this._y = _root._ymouse; } if (this._y > 572) { this._y = 572; } if (this._y < 160) { this._y = 160; } } } } instance of movieClip 28 end { onClipEvent (mouseDown) { if (this._parent._parent.test == 1) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { draggers = 0; } } } onClipEvent (mouseUp) { if (this._parent._parent.test == 1) { draggers = 1; } } onClipEvent (enterFrame) { if (this._parent._parent.test == 1) { if (draggers == 0) { startDrag(this, false); } else { stopDrag(); } if (this._y > 572) { this._y = 572; } if (this._y < 160) { this._y = 160; } if (this._x < 378) { this._x = 378; } } } } } instance level of movieClip 245 { onClipEvent (enterFrame) { if (this._parent.test == 1) { if (Key.isDown(39)) { this._x -= 10; } } if (Key.isDown(37)) { if (this._x < 0) { this._x += 10; } } } } movieClip 249 { } button 250 { on (release) { mouser.gotoAndStop(2); coins = 1; } } button 251 { on (release) { mouser.gotoAndStop(4); clouds = 1; } } button 252 { on (release) { mouser.gotoAndStop(3); fuels = 1; } } button 253 { on (release) { mouser.gotoAndStop(5); pops = 1; } } button 254 { on (press) { test = 2; level._x = 0; alphor = 0; gotoAndStop('test'); mousin = 0; } } movieClip 257 { frame 1 { stop(); } } instance mouser of movieClip 257 { onClipEvent (enterFrame) { this._y = _root._ymouse; this._x = _root._xmouse; } } button 258 { on (release) { mouser.gotoAndStop(6); viruss = 1; } } instance of movieClip 116 { onClipEvent (mouseDown) { if (_parent.coins == 1) { ++_parent.i; _parent.level.attachMovie('coin', 'coin' + _parent.i, 600000 + _parent.i, {'_x': _root._xmouse - _parent.level._x, '_y': _root._ymouse}); _parent.coins = 0; _parent.mouser.gotoAndStop(1); } if (_parent.clouds == 1) { ++_parent.i; _parent.level.attachMovie('cloud', 'cloud' + _parent.i, 100000 + _parent.i, {'_x': _root._xmouse - _parent.level._x, '_y': _root._ymouse}); _parent.clouds = 0; _parent.mouser.gotoAndStop(1); } if (_parent.fuels == 1) { ++_parent.i; _parent.level.attachMovie('fuel', 'fuel' + _parent.i, 300000 + _parent.i, {'_x': _root._xmouse - _parent.level._x, '_y': _root._ymouse}); _parent.fuels = 0; _parent.mouser.gotoAndStop(1); } if (_parent.pops == 1) { ++_parent.i; _parent.level.attachMovie('popup1', 'popup1' + _parent.i, 200000 + _parent.i, {'_x': _root._xmouse - _parent.level._x, '_y': _root._ymouse}); _parent.pops = 0; _parent.mouser.gotoAndStop(1); } if (_parent.viruss == 1) { ++_parent.i; _parent.level.attachMovie('virus', 'virus' + _parent.i, 400000 + _parent.i, {'_x': _root._xmouse - _parent.level._x, '_y': _root._ymouse}); _parent.viruss = 0; _parent.mouser.gotoAndStop(1); } if (_parent.courages == 1) { ++_parent.i; _parent.level.attachMovie('courager', 'courager' + _parent.i, 500000 + _parent.i, {'_x': _root._xmouse - _parent.level._x, '_y': _root._ymouse}); _parent.courages = 0; _parent.mouser.gotoAndStop(1); } } onClipEvent (enterFrame) { if (_parent.j > 1) { _parent.i = _parent.j; _parent.j = 1; } if (_parent.level['coin' + _parent.i]._y < -10) { _parent.level['coin' + _parent.i].removeMovieClip(); } if (_parent.level['virus' + _parent.i]._y < -10) { _parent.level['virus' + _parent.i].removeMovieClip(); } if (_parent.level['courager' + _parent.i]._y < -10) { _parent.level['courager' + _parent.i].removeMovieClip(); } if (_parent.level['popup1' + _parent.i]._y < -10) { _parent.level['popup1' + _parent.i].removeMovieClip(); } if (_parent.level['fuel' + _parent.i]._y < -10) { _parent.level['fuel' + _parent.i].removeMovieClip(); } if (_parent.level['cloud' + _parent.i]._y < -10) { _parent.level['cloud' + _parent.i].removeMovieClip(); } } } button 260 { on (release) { mouser.gotoAndStop(7); courages = 1; } } frame 45 { Mouse.show(); test = 2; alphor = 0; prev = 0; current = 0; drain = 0.1; golds = 0; lowspeed = 0; highspeed = 0; rightspeed = 0; active = 0; fuel = 1000; courage = 1000; activated = 1; onEnterFrame = function () { if (activated == 1) { if (Key.isDown(39)) { if (active == 1) { rightspeed += 0.5; if (rightspeed > 5) { rightspeed = 5; } } } if (Key.isDown(37)) { if (active == 1) { rightspeed -= 0.5; if (rightspeed < -5) { rightspeed = -5; } } } char._y += lowspeed; char._y -= highspeed; level._x -= rightspeed; if (Key.isDown(38)) { fuel -= 3; highspeed += 0.5; active = 1; char.bod.jet.gotoAndPlay(1); } else { if (active == 1) { char.bod.jet.gotoAndStop(5); lowspeed += 0.5; active = 1; } else { char.bod.jet.gotoAndStop(5); } } if (fuel > 999) { if (active == 1) { fuel = 999; } } if (courage > 1000) { courage = 1000; } couragebar._xscale = courage / 10; fuelbar._xscale = fuel / 10; if (char._y <= 160) { char._y = 161; highspeed = 0; lowspeed = 0; } if (level._x > 0) { level._x = 0; rightspeed = 0; } if (!level.hitTest(field)) { rightspeed = 0; ++level._x; } if (rightspeed > 0) { rightspeed -= drain; } if (rightspeed < 0) { rightspeed += drain; } if (fuel <= 0) { nextFrame(); activated = 0; test = 0; alphor = 1; } if (courage <= 0) { nextFrame(); activated = 0; test = 0; alphor = 1; } if (char._y >= 650) { nextFrame(); activated = 0; test = 0; alphor = 1; } ender.prever = prev; ender.currenter = current; ender.totaler = golds; } }; } frame 46 { stop(); courage = 1000; fuel = 1000; activated = 0; done = 0; } instance of movieClip 116 { onClipEvent (enterFrame) { if (_parent.i == 1) { _parent.level._x = 0; _parent.gotoAndStop('tester'); } if (_parent.i > 1) { if (_parent.level['popup1' + _parent.i]._y > 600) { _parent.level['popup1' + _parent.i]._y -= 1500; } if (_parent.level['coin' + _parent.i]._y > 600) { _parent.level['coin' + _parent.i]._y -= 1500; } if (_parent.level['fuel' + _parent.i]._y > 600) { this._parent.level['fuel' + _parent.i]._y -= 1500; } if (_parent.level['virus' + _parent.i]._y > 600) { _parent.level['virus' + _parent.i]._y -= 1500; } if (_parent.level['courager' + _parent.i]._y > 600) { _parent.level['courager' + _parent.i]._y -= 1500; } --_parent.i; ++_parent.j; } } }




http://swfchan.com/8/39530/info.shtml
Created: 12/5 -2019 04:57:26 Last modified: 12/5 -2019 04:57:26 Server time: 22/12 -2024 19:48:08