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/76810645?noj=FRM76810645-22DC" width="1" height="1"></div>

Enter The Basement aniben.swf

This is the info page for
Flash #95115

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


ActionScript [AS1/AS2]
Combined Code
movieClip 6 PB { frame 1 { function health() { Pappalives -= _root.Wpdmg; if (Pappalives <= 0) { k = 0; while (k < _root.nrEnemies) { _root['Enemy0' + k].restart(); _root.Enemy0.restart(); ++k; } _root.sc += 1000; _root.Cash += 300; _root.LevelTwoCheck += 1; this.removeMovieClip(); } } var Pappalives = 5; var mySpeed = 2; var timer = 12; var yled = 5; this.onEnterFrame = function () { this._x += mySpeed; if (this._x > 800) { _root.life -= 1; this.removeMovieClip(); } if (timer >= 12) { dir = Math.ceil(Math.random() * 2); timer = 0; } if (dir == 1) { this._y -= yled; } else { if (dir == 2) { this._y += yled; } else { if (dir == 0) { this._y += 0; } } } if (this._y > 570) { this._y -= yled; } if (this._y < 25) { this._y += yled; } ++timer; if (this._x > 800) { _root.life -= 2; this.removeMovieClip(); } }; } } // unknown tag 88 length 73 button 16 { on (release) { fscommand('quit'); } } movieClip 17 GameoverScreen { } movieClip 19 Fritzl { frame 1 { function health() { if (this._width < 55) { k = 0; while (k < _root.nrEnemies) { _root['Enemy0' + k].restart(); _root.Enemy0.restart(); ++k; } _root.Cash += 1000000; _root.sc += 50; _root.LevelTwoCheck += 1; this.removeMovieClip(); } else { this._xscale = _root.resizeFritzl; this._yscale = _root.resizeFritzl; if (_root.resizeFritzl > 25) { _root.resizeFritzl /= 2; } newname = 'Fritzl' + _root.nrFritzl; this.duplicateMovieClip(newname, _root.getNextHighestDepth()); ++_root.nrFritzl; } } var FritzlWidth = 0; var newname; var mySpeed = 2; var timer = 12; var yled = 5; this.onEnterFrame = function () { this._x += mySpeed; if (this._x > 800) { _root.life -= 1; this.removeMovieClip(); } if (timer >= 12) { dir = Math.ceil(Math.random() * 2); timer = 0; } if (dir == 1) { this._y -= yled; } else { if (dir == 2) { this._y += yled; } else { if (dir == 0) { this._y += 0; } } } if (this._y > 570) { this._y -= yled; } if (this._y < 25) { this._y += yled; } ++timer; if (this._x > 800) { _root.life -= 1; this.removeMovieClip(); } }; } } movieClip 22 FMS { frame 1 { function health() { Fmslife -= _root.Wpdmg; Schwoop(); if (Fmslife <= 0) { k = 0; while (k < _root.nrEnemies) { _root['Enemy0' + k].restart(); _root.Enemy0.restart(); ++k; } _root.Cash += 200; _root.sc += 100; _root.LevelTwoCheck += 1; this.removeMovieClip(); } } function Schwoop() { dirtele = Math.ceil(Math.random() * 2); if (dirtele == 1) { this._y = 600; } else { if (dirtele == 2) { this._y = 150; } else { if (dirtele == 0) { this._y = 300; } } } } var Fmslife = 5; var mySpeed = 2; var timer = 12; var yled = 5; var dir; var dirtele; var yledtele = 100; this.onEnterFrame = function () { this._x += mySpeed; if (this._x > 800) { _root.life -= 1; this.removeMovieClip(); } if (timer >= 12) { dir = Math.ceil(Math.random() * 2); timer = 0; } if (dir == 1) { this._y -= yled; } else { if (dir == 2) { this._y += yled; } else { if (dir == 0) { this._y += 0; } } } if (this._y > 570) { this._y -= yled; } if (this._y < 25) { this._y += yled; } ++timer; if (this._x > 800) { _root.life -= 2; this.removeMovieClip(); } }; } } movieClip 24 Bullet { frame 1 { this.onEnterFrame = function () { i = 0; while (i < _root.nrEnemies) { if (this.hitTest(_root['Enemy0' + i])) { _root['Enemy0' + i].healthPR(); this.removeMovieClip(); } if (this.hitTest(_root.Enemy0)) { _root.Enemy0.healthPR(); this.removeMovieClip(); } ++i; } k = 0; while (k < 4) { if (this.hitTest(_root.Fritzl)) { _root.Fritzl.health(); this.removeMovieClip(); } if (this.hitTest(_root['Fritzl' + k])) { _root['Fritzl' + k].health(); this.removeMovieClip(); } if (this.hitTest(_root.FMS)) { _root.FMS.health(); this.removeMovieClip(); } if (this.hitTest(_root.PB)) { _root.PB.health(); this.removeMovieClip(); } ++k; } this._x -= 12; if (this._x < -20) { this.removeMovieClip(); } }; } } movieClip 30 Enemy { } movieClip 36 Symbol 2 { } frame 1 { var sc = 0; var i = 0; var lol = 0; var life = 1; var nrEnemies = 3; var shootcounter = 0; var shootframe = 12; var shoot = false; var Cash = 0; var dmglvl1 = true; var dmglvl2 = false; var dmglvl3 = false; var spdlvl1 = true; var spdlvl2 = false; var spdlvl3 = false; var Wpdmg = 1; var BossSpawn1 = true; var LevelTwoCheck = 0; var BossSpawn2 = false; var nrFritzl = 0; var resizeFritzl = 50; var BossSpawn3 = false; var nrFritzl = 0; var resizeFritzl = 50; var Musik = 0; i = 0; while (i < nrEnemies) { _root.Enemy0.duplicateMovieClip('Enemy0' + i, _root.getNextHighestDepth()); ++i; } this.onEnterFrame = function () { BackDrop.gotoAndStop(1); _root.BackgroundMusic = new Sound(); _root.BackgroundMusic.attachSound('BackGroundMusik'); if (Musik == 0) { _root.BackgroundMusic.start(0, 999); ++Musik; } if (Key.isDown(39)) { Ship.gotoAndStop(2); if (Ship.hitTest(800, Ship._y, true)) { Ship._x -= 5; } Ship._x += 5; } else { if (Key.isDown(37)) { Ship.gotoAndStop(2); if (Ship.hitTest(0, Ship._y, true)) { Ship._x += 5; } Ship._x -= 5; } else { if (Key.isDown(38)) { Ship.gotoAndStop(3); if (Ship.hitTest(Ship._x, 0, true)) { Ship._y += 5; } Ship._y -= 5; } else { if (Key.isDown(40)) { Ship.gotoAndStop(3); if (Ship.hitTest(Ship._x, 600, true)) { Ship._y -= 5; } Ship._y += 5; } else { Ship.gotoAndStop(1); } } } } if (shootcounter < shootframe) { shootcounter += 1; } if (shootcounter >= shootframe) { shoot = true; shootcounter = 0; } if (Key.isDown(32) && shoot == true) { ++i; _root.attachMovie('Bullet', 'Bullet' + i, _root.getNextHighestDepth()); _root['Bullet' + i]._x = Ship._x - 40; _root['Bullet' + i]._y = Ship._y + 70; shoot = false; } if (life == 0) { _root.attachMovie('GameoverScreen', 'GameoverScreen', _root.getNextHighestDepth()); } if (sc >= 100 && BossSpawn1 == true) { _root.attachMovie('FMS', 'FMS', _root.getNextHighestDepth()); _root.FMS._y = 300; BossSpawn1 = false; BossSpawn2 = true; } if (sc >= 1000 && BossSpawn2 == true) { _root.attachMovie('PB', 'PB', _root.getNextHighestDepth()); _root.PB._y = 300; BossSpawn2 = false; BossSPawn3 = true; } if (sc >= 1000 && BossSpawn3 == true) { _root.attachMovie('Fritzl', 'Fritzl', _root.getNextHighestDepth()); _root.Fritzl._y = 300; BossSpawn3 = false; } }; } instance of movieClip 36 Symbol 2 { onClipEvent (enterFrame) { this.gotoAndStop(1); if (_root.LevelTwoCheck >= 1 && _root.LevelTwoCheck < 2) { this.gotoAndStop(2); } else { if (_root.LevelTwoCheck >= 2) { this.gotoAndStop(3); } } } } movieClip 47 { } movieClip 48 { } instance Ship of movieClip 48 { onClipEvent (load) { function reset() { this._x = 750; this._y = 300; } this._xscale = 67; this._yscale = 67; reset(); } onClipEvent (enterFrame) { if (this.hitTest(800, Ship._y, true)) { Ship._x -= 5; } i = 0; while (i < _root.nrEnemies) { if (this.hitTest(_root['Enemy0' + i]) || this.hitTest(_root[Enemy0])) { _root.Cash = 0; _root.life -= 1; reset(); k = 0; while (k < _root.nrEnemies) { _root['Enemy0' + k].restart(); _root.Enemy0.restart(); ++k; } } ++i; } } } instance Enemy0 of movieClip 30 Enemy { onClipEvent (load) { function resetPR() { this.gotoAndStop(1); k = 2; var v3 = 12; enemyY = Math.random() * 600; this._y = enemyY; var v2 = -100 - Math.random() * 300; this._x = v2; mySpeed = Math.ceil(Math.random() * 3) + 1; yled = 5; } function resetPB() { this.gotoAndStop(2); k = 4; var v3 = 12; enemyY = Math.random() * 600; this._y = enemyY; var v2 = -100 - Math.random() * 300; this._x = v2; mySpeed = Math.ceil(Math.random() * 3) + 1; yled = 5; } function resetST() { this.gotoAndStop(3); k = 8; var v3 = 8; enemyY = Math.random() * 600; this._y = enemyY; var v2 = -100 - Math.random() * 300; this._x = v2; mySpeed = Math.ceil(Math.random() * 3) + 1; yled = 5; } function restart() { if (_root.LevelTwoCheck < 1) { resetPR(); } else { if (_root.LevelTwoCheck >= 1 && _root.LevelTwoCheck < 2) { resetPB(); } else { if (_root.LevelTwoCheck >= 2) { resetST(); } } } } function healthPR() { k -= _root.Wpdmg; if (_root.LevelTwoCheck < 1) { if (k <= 0) { _root.Cash += 25; _root.sc += 10; restart(); } } else { if (_root.LevelTwoCheck >= 1 && _root.LevelTwoCheck < 2) { if (k <= 0) { _root.Cash += 50; _root.sc += 100; restart(); } } else { if (_root.LevelTwoCheck >= 2) { if (k <= 0) { _root.Cash += 100; _root.sc += 150; restart(); } } } } } var k; var enemyY; restart(); } onClipEvent (enterFrame) { this._x += mySpeed; if (this._x > 800) { _root.life -= 1; restart(); } if (timer >= 12) { var dir = Math.ceil(Math.random() * 2); timer = 0; } if (dir == 1) { this._y -= yled; } else { if (dir == 2) { this._y += yled; } else { if (dir == 0) { this._y += 0; } } } if (this._y > 570) { this._y -= yled; } if (this._y < 25) { this._y += yled; } if (this._y > enemyY + 50) { this._y -= yled; } if (this._y < enemyY - 50) { this._y += yled; } ++timer; } } button 55 { on (press) { if (dmglvl1 == true && Cash >= 1000) { Wpdmg += 1; dmglvl1 = false; dmglvl2 = true; } else { if (dmglvl2 == true && Cash >= 1500) { Wpdmg += 1; dmglvl2 = false; dmglvl3 = true; } else { if (dmglvl3 == true && Cash >= 2000) { dmglvl3 = false; Wpdmg += 1; } } } } } button 57 { on (press) { if (spdlvl1 == true && Cash >= 1000) { shootframe = 10; spdlvl1 = false; spdlvl2 = true; } else { if (spdlvl2 == true && Cash >= 1500) { Shootframe = 8; spdlvl2 = false; spdlvl3 = true; } else { if (spdlvl3 == true && Cash >= 2000) { spdlvl3 = false; Shootframe = 6; } } } } } button 63 { on (press) { ++life; } } movieClip 70 { } movieClip 71 { } instance of movieClip 71 { onClipEvent (load) { this._xscale = 67; this._yscale = 67; var playtimer = 0; } onClipEvent (enterFrame) { function PlayAnimation() { while (playtimer < 5) { this.gotoAndStop(2); ++playtimer; } this.gotoAndStop(1); playtimer = 0; } this._x = _root.Ship._x - 30; this._y = _root.Ship._y + 60; if (Key.isDown(32) && _root.shoot == true) { playtimer = 0; PlayAnimation(); } } }




http://swfchan.com/20/95115/info.shtml
Created: 25/3 -2019 16:51:18 Last modified: 25/3 -2019 16:51:18 Server time: 22/12 -2024 12:41:49