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

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

dimension_yumu.swf

This is the info page for
Flash #262211

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


ActionScript [AS1/AS2]
Combined Code
frame 1 { function skiptointro() { gotoAndPlay(4); } } frame 1 { } frame 1 { } movieClip 24 { frame 19 { stop(); } } instance of movieClip 24 { onClipEvent (load) { currentbytes = int(_root.getBytesLoaded() / 1000); totalbytes = int(_root.getBytesTotal() / 1000); percentbytes = int((currentbytes / totalbytes) * 100); _root.textbox = 'LOADING ' + percentbytes + '% of ' + totalbytes + ' KBs'; _root.loadedbar._width = percentbytes; if (percentbytes >= 100) { _root.skiptointro(); } } } movieClip 34 { frame 10 { stop(); } } movieClip 36 { } frame 3 { gotoAndPlay(1); } frame 4 { function titleScreen() { stopAllSounds(); gotoAndPlay(7); } bonusClockB = 0; } frame 4 { stop(); } movieClip 73 { frame 41 { stop(); } } movieClip 78 { frame 46 { stop(); } } instance of movieClip 78 { onClipEvent (enterFrame) { if (_root.bonusClockB >= 40) { _root.titleScreen(); } } onClipEvent (enterFrame) { ++_root.bonusClockB; } } frame 7 { stopAllSounds(); i = 0; while (i < 5) { ++i; } themeSong = new sound(); themeSong.attachSound('theme'); themeSong.start(0, 9999); } frame 7 { stop(); } button 80 { on (keyPress '<Enter>') { gotoAndPlay(12); } } movieClip 92 { } movieClip 93 { } movieClip 96 { frame 30 { gotoAndPlay(1); } } movieClip 99 { } movieClip 101 { } frame 12 { stop(); } button 103 { on (keyPress '<Enter>') { gotoAndPlay(16); } } movieClip 104 { } movieClip 113 { frame 10 { stop(); } } movieClip 116 { } movieClip 119 { } button 121 { on (press) { toggleHighQuality(); } } frame 16 { stop(); } frame 16 { stopAllSounds(); } button 122 { on (keyPress '<Enter>') { gotoAndPlay(20); } } movieClip 127 { } frame 20 { i = 0; while (i < 5) { ++i; } thisSong = new sound(); thisSong.attachSound('song1'); thisSong.start(0, 9999); if (_root.wall1._currentframe > 1 && _root.wall1._currentframe < 3) { i = 0; while (i < 5) { ++i; } crashSong = new sound(); crashSong.attachSound('glasscrash'); crashSong.start(0, 1); } } frame 20 { stop(); } frame 20 { function cpuDamage() { if (_root.user.hit.hitTest(_root.cpu) && _root.facing == 'right' && _root.makeHay == false) { _root.cpu.gotoAndPlay(_root.mySethArray[0]); _root.cpu._x += 2; _root.score += 100; _root.haymaker += 10; _root.cpuHayMaker += 4; _root.cpuOuch = true; _root.cpuHp -= 2; } else { if (_root.user.hit.hitTest(_root.cpu) && _root.facing == 'left' && _root.makeHay == false) { _root.cpu.gotoAndPlay(_root.mySethArray[3]); _root.cpu._x -= 2; _root.score += 100; _root.haymaker += 10; _root.cpuHayMaker += 4; _root.cpuOuch = true; _root.cpuHp -= 2; } else { if (_root.user.hit.hitTest(_root.cpu) && _root.facing == 'right' && (_root.user._currentframe >= _root.myFrameValue[5] && _root.user._currentframe <= _root.myFrameValue[7] && _root.makeHay == true)) { _root.cpu.gotoAndPlay(_root.mySethArray[1]); _root.score += 1000; _root.haymaker -= 100; _root.cpuHp -= 5; } else { if (_root.user.hit.hitTest(_root.cpu) && _root.facing == 'left' && (_root.user._currentframe >= _root.myFrameValue[6] && _root.user._currentframe <= _root.myFrameValue[8] && _root.makeHay == true)) { _root.cpu.gotoAndPlay(_root.mySethArray[4]); _root.score += 1000; _root.haymaker -= 100; _root.cpuHp -= 10; } } } } } function makingHay() { if (_root.user._currentframe >= _root.myFrameValue[5] && _root.user._currentframe <= _root.myFrameValue[7] && _root.user.hit.hitTest(_root.cpu)) { _root.makeHay = true; } else { if (_root.user._currentframe >= _root.myFrameValue[6] && _root.user._currentframe <= _root.myFrameValue[8] && _root.user.hit.hitTest(_root.cpu)) { _root.makeHay = true; } else { _root.makeHay = false; _root.cpuOuch = false; } } } function makingHay2() { if (_root.cpu._currentframe >= 67 && _root.cpu._currentframe <= 80) { _root.makeHay2 = true; } else { if (_root.cpu._currentframe >= 148 && _root.cpu._currentframe <= 162) { _root.makeHay2 = true; } else { _root.makeHay2 = false; } } } function blasted() { if (_root.makeHay == true && _root.facing == 'left') { _root.cpu._x -= 150; } else { if (_root.makeHay == true && _root.facing == 'right') { _root.cpu._x += 150; } } } function collisionChars() { if (_root.cpu.hitTest(_root.user) && _root.facing == 'right') { _root.collision = true; } else { if (_root.cpu.hitTest(_root.user) && _root.facing == 'left') { _root.collision = true; } else { if (_root.cpu.hitTest(_root.ironBox) && _root.facing == 'left') { _root.collision = true; } else { if (_root.cpu.hitTest(_root.ironBox) && _root.facing == 'right') { _root.collision = true; } else { _root.collision = false; } } } } } function lookForObject() { if (_root.beAgressive == false && _root.collision == false && _root.activeBox1 == false) { _root.cpu._x += 20; } } function findUserX() { if (_root.beAgressive == true && (_root.collision == false && _root.user._x < _root.cpu._x && _root.makeHay2 == false && _root.cpuIntroDone == true)) { _root.cpu._x -= 20; _root.cpuWalk = true; } else { if (_root.beAgressive == true && (_root.collision == false && _root.user._x > _root.cpu._x && _root.makeHay2 == false && _root.cpuIntroDone == true)) { _root.cpu._x += 20; _root.cpuWalk = true; } } } function checkSides() { if (_root.user._x < _root.cpu._x) { _root.userSide = 'left'; } else { if (_root.user._x > _root.cpu._x) { _root.userSide = 'right'; } } } function faceIt() { if (_root.userSide == 'right' && (_root.cpu._currentframe >= mySethArray[5] && _root.cpu._currentframe <= mySethArray[6] && _root.makeHay2 == false)) { _root.cpu.gotoAndPlay('still2'); } else { if (_root.userSide == 'left' && (_root.cpu._currentframe >= mySethArray[7] && _root.cpu._currentframe <= mySethArray[8] && _root.makeHay2 == false)) { _root.cpu.gotoAndPlay('still'); } } } function introOver() { if (_root.cpu._currentframe > 19) { _root.cpuIntroDone = true; } } function bashery() { if (_root.cpu._currentframe > 67 && _root.cpu._currentframe < 80) { _root.bashed = true; } else { if (_root.cpu._currentframe > 148 && _root.cpu._currentframe < 161) { _root.bashed = true; } else { _root.bashed = false; } } } function cpuBattle() { if (_root.cpu._currentframe > 26 && _root.cpu._currentframe < 38 && _root.cpuOuch == false) { _root.cpuIsAttacking = true; } else { if (_root.cpu._currentframe > 109 && _root.cpu._currentframe < 117 && _root.cpuOuch == false) { _root.cpuIsAttacking = true; } else { _root.cpuIsAttacking = false; } } } function stability() { if (_root.user.hitTest(_root.ground)) { _root.stayStable = true; } else { if (_root.user.hitTest(_root.ground2)) { _root.stayStable = true; _root.onBox = true; } else { _root.stayStable = false; _root.onBox = false; } } } function gameBreaker() { if (_root.userHp <= 0 && _root.cpuHp > 0 && _root.bowDownCount >= 40) { gotoAndPlay(21); } } function winner() { if (_root.userHp > 0 && cpuHp <= 0 && _root.cpuBowCount >= 40) { gotoAndPlay(24); } } function walkAround() { if (_root.userSide == 'right' && _root.cpu._currentframe > 119 && _root._currentframe < 127 && _root.collision == false && _root.beAgressive == true && _root.makeHay2 == false && _root.cpuOuch == false) { _root.cpu.gotoAndPlay('walking2'); } else { if (_root.userSide == 'left' && _root.cpu._currentframe > 38 && _root._currentframe < 47 && _root.collision == false && _root.beAgressive == true && _root.makeHay2 == false && _root.cpuOuch == false) { _root.cpu.gotoAndPlay('walking'); } } } facing = ''; walking = false; attacking = false; pressed = false; haymaker = 0; jumping = ''; jumping2 = ''; standing = ''; myMoveSpeed = 20; myMoveSpeed2 = 20; makeHay = false; collision = false; beAgressive = false; mat = ''; activeBox1 = false; activeBox2 = false; onGround = ''; cpuWalk = false; cpuFacing = ''; userSide = ''; bePassive = ''; rando = ''; score = 0; makeHay2 = false; cpuMakeHay = false; bashed = false; userBashed = false; break1 = false; break2 = false; break3 = false; break4 = false; break5 = false; break6 = false; break7 = false; break8 = false; introDone = false; cpuIsAttacking = false; cpuIntroDone = false; attackCount = 0; gettingHurt = false; cpuOuch = false; attackStrat = false; stayStable = true; onBox = false; defaultYval = 290.9; sliding = false; slideRight = false; slideLeft = false; hitOne = false; cpuOnGround = true; findObject = ''; cpuHayMaker = 0; smashery = false; wackEm = false; cpuHp = 100; userHp = 100; cpuBashed = false; userDefeated = false; cpuDefeated = false; userInFrame = false; cpuInFrame = false; bowDownCount = 0; cpuBowCount = 0; breakCount = 0; myFrameValue = new Array(26, 14, 120, 108, 95, 46, 140, 79, 180, 94, 188, 92, 186); myAttackArray = new Array(33, 127); myJumpArray = new Array(87, 181, 94, 188); myUserPos = new Array(_root.user._y, 100); mySethArray = new Array('damage', 'haymade', 'still', 'damage2', 'haymade2', 38, 47, 119, 127, 21, 27, 102, 108, 68, 80, 148, 161); } movieClip 128 { } movieClip 130 { } movieClip 132 { } movieClip 134 { } movieClip 145 { frame 1 { stop(); } frame 11 { stop(); } } instance light2 of movieClip 145 { onClipEvent (enterFrame) { if (_root.user.hit.hitTest(this) && _root.break4 == false) { this.gotoAndPlay('break'); _root.score += 500; } else { if (_root.cpu.hit.hitTest(this) && _root.break4 == false) { this.gotoAndPlay('break'); } else { if (_root.cpu.hitTest(this) && _root.bashed == true && _root.break4 == false) { this.gotoAndPlay('break'); } else { if (_root.user.hitTest(this) && _root.userBashed == true && _root.break4 == false) { this.gotoAndPlay('break'); } } } } } onClipEvent (enterFrame) { if (_root.light2._currentframe > 1) { _root.break4 = true; } } } movieClip 154 { frame 1 { stop(); } frame 8 { stop(); } } instance wall1 of movieClip 154 { onClipEvent (enterFrame) { if (_root.cpu.hitTest(this) && _root.bashed == true && _root.break2 == false) { this.gotoAndPlay('break'); _root.score += 2500; } else { if (_root.user.hitTest(this) && _root.userBashed == true && _root.break2 == false) { this.gotoAndPlay('break'); } else { if (_root.ironBox.hitTest(this) && _root.break1 == false && _root.breakCount < 1) { this.gotoAndPlay('break'); } } } } onClipEvent (enterFrame) { if (_root.wall1._currentframe > 1) { _root.break2 = true; } } onClipEvent (enterFrame) { if (_root.ironBox.hitTest(this)) { ++_root.breakCount; } } } instance light1 of movieClip 145 { onClipEvent (enterFrame) { if (_root.user.hit.hitTest(this) && _root.break3 == false) { this.gotoAndPlay('break'); _root.score += 500; } else { if (_root.cpu.hit.hitTest(this) && _root.break3 == false) { this.gotoAndPlay('break'); } else { if (_root.cpu.hitTest(this) && _root.bashed == true && _root.break3 == false) { this.gotoAndPlay('break'); } else { if (_root.user.hitTest(this) && _root.userBashed == true && _root.break3 == false) { this.gotoAndPlay('break'); } } } } } onClipEvent (enterFrame) { if (_root.light1._currentframe > 1) { _root.break3 = true; } } } movieClip 160 { frame 1 { stop(); } frame 5 { stop(); } } instance of movieClip 160 { onClipEvent (enterFrame) { if (_root.balcony.anvil.hitTest(this) && _root.break8 == false && this._currentframe < 2) { this.gotoAndPlay('break'); _root.score += 2500; _root.break8 = true; } } } movieClip 171 { frame 1 { stop(); } frame 11 { stop(); } } instance pot of movieClip 171 { onClipEvent (enterFrame) { if (_root.user.hit.hitTest(this) && _root.break1 == false) { this.gotoAndPlay('break'); _root.score += 500; } else { if (_root.cpu.hit.hitTest(this) && _root.break1 == false) { this.gotoAndPlay('break'); } else { if (_root.cpu.hitTest(this) && _root.bashed == true && _root.break1 == false) { this.gotoAndPlay('break'); } else { if (_root.user.hitTest(this) && _root.userBashed == true && _root.break1 == false) { this.gotoAndPlay('break'); } else { if (_root.ironBox.hitTest(this) && _root.break1 == false) { this.gotoAndPlay('break'); } } } } } } onClipEvent (enterFrame) { if (_root.pot._currentframe > 1) { _root.break1 = true; } } } movieClip 177 { } movieClip 186 { frame 1 { stop(); } frame 12 { stop(); } } instance balcony of movieClip 186 { onClipEvent (enterFrame) { if (_root.user.hit.hitTest(_root.balcony) && _root.break6 == false && this._currentframe < 2) { this.gotoAndPlay('break'); _root.score += 2500; _root.break6 = true; } } } instance ground2 of movieClip 130 { onClipEvent (enterFrame) { this._x = _root.ironBox._x; } } instance ironBoxBody of movieClip 130 { onClipEvent (enterFrame) { this._x = _root.ironBox._x; } } instance ironBoxBody2 of movieClip 130 { onClipEvent (enterFrame) { this._x = _root.ironBox._x; } } movieClip 202 { frame 1 { stop(); } frame 10 { gotoAndPlay(1); } } movieClip 207 { frame 1 { stop(); } frame 20 { gotoAndPlay(1); } } instance momma of movieClip 207 { onClipEvent (enterFrame) { if (_root.user.hitTest(_root.placeTester) && _root.rando < 150 && this._currentframe < 2 && _root.mat < 50 && _root.bowDownCount < 1) { this.gotoAndPlay('attack'); } } } movieClip 385 { frame 25 { gotoAndPlay(15); } frame 32 { gotoAndPlay(15); } frame 32 { gotoAndPlay(15); } frame 37 { gotoAndPlay(189); } frame 45 { gotoAndPlay(189); } frame 54 { gotoAndPlay(15); } frame 59 { gotoAndPlay(15); } frame 78 { gotoAndPlay(15); } frame 86 { gotoAndPlay(15); } frame 90 { _root.falling = true; } frame 94 { gotoAndPlay(15); } frame 119 { gotoAndPlay(109); } frame 126 { gotoAndPlay(109); } frame 126 { } frame 131 { gotoAndPlay(195); } frame 139 { gotoAndPlay(195); } frame 148 { gotoAndPlay(109); } frame 153 { gotoAndPlay(109); } frame 172 { gotoAndPlay(109); } frame 180 { gotoAndPlay(109); } frame 184 { _root.falling = true; } frame 188 { gotoAndPlay(109); } frame 194 { gotoAndPlay(15); } frame 200 { gotoAndPlay(109); } frame 207 { stop(); } frame 214 { stop(); } } instance user of movieClip 385 { onClipEvent (enterFrame) { if (Key.isDown(39) && _root.walking == false && _root.onGround == true && _root.introDone == true && _root.userBashed == false && _root.smashery == false && _root.user._x < 450 && _root.cpuDefeated == false && _root.userDefeated == false) { this.gotoAndPlay('walking'); } } onClipEvent (enterFrame) { if (Key.isDown(37) && _root.walking == false && _root.onGround == true && _root.introDone == true && _root.userBashed == false && _root.smashery == false && _root.user._x > 15 && _root.cpuDefeated == false && _root.userDefeated == false) { this.gotoAndPlay('walking2'); } } onClipEvent (enterFrame) { if (this._currentframe > 26 && this._currentframe < 32) { _root.walking = true; } else { if (this._currentframe > 120 && this._currentframe < 126) { _root.walking = true; } else { _root.walking = false; } } } onClipEvent (enterFrame) { if (this._currentframe > _root.myFrameValue[4]) { _root.facing = 'left'; } else { if (this._currentframe < _root.myFrameValue[4]) { _root.facing = 'right'; } } } onClipEvent (enterFrame) { if (this._currentframe >= _root.myJumpArray[0] && _root.facing == 'right' && this._currentframe < _root.myJumpArray[2]) { _root.jumping = true; } else { if (this._currentframe >= _root.myJumpArray[1] && _root.facing == 'left' && this._currentframe < _root.myJumpArray[3]) { _root.jumping = true; } else { if (this._currentframe !== _root.myJumpArray[1] || this._currentframe !== _root.myJumpArray[0]) { _root.jumping = false; } } } } onClipEvent (enterFrame) { trace(_root.userBashed); } onClipEvent (enterFrame) { if (Key.isDown('90') && this._currentframe < _root.myAttackArray[0] && _root.facing == 'right' && _root.makeHay == false && _root.cpuDefeated == false && _root.userDefeated == false) { this.gotoAndPlay('attack1'); _root.attacking = true; } else { if (Key.isDown('90') && this._currentframe < _root.myAttackArray[1] && _root.facing == 'left' && _root.makeHay == false && _root.cpuDefeated == false && _root.userDefeated == false) { this.gotoAndPlay('attack2'); _root.attacking = true; } else { if (Key.isDown('88') && this._currentframe < _root.myAttackArray[0] && _root.facing == 'right' && _root.makeHay == false && _root.cpuDefeated == false && _root.userDefeated == false) { this.gotoAndPlay('attacktwo'); _root.attacking = true; } else { if (Key.isDown('88') && this._currentframe < _root.myAttackArray[1] && _root.facing == 'left' && _root.makeHay == false && _root.cpuDefeated == false && _root.userDefeated == false) { this.gotoAndPlay('attacktwo2'); _root.attacking = true; } else { if (Key.isDown('67') && _root.haymaker == 100 && this._currentframe < _root.myAttackArray[0] && _root.facing == 'right' && _root.cpuDefeated == false && _root.userDefeated == false) { this.gotoAndPlay('haymaker'); _root.attacking = true; } else { if (Key.isDown('67') && _root.haymaker == 100 && this._currentframe < _root.myAttackArray[1] && _root.facing == 'left' && _root.cpuDefeated == false && _root.userDefeated == false) { this.gotoAndPlay('haymaker2'); _root.attacking = true; } else { _root.attacking = false; } } } } } } } onClipEvent (enterFrame) { if (Key.isDown(38) && this._currentframe != _root.myJumpArray[0] && _root.jumping == false && _root.facing == 'right' && _root.onGround == true && _root.userBashed == false && _root.cpuDefeated == false && _root.userDefeated == false) { this.gotoAndPlay('jumping'); } else { if (Key.isDown(38) && this._currentframe != _root.myJumpArray[1] && _root.jumping == false && _root.facing == 'left' && _root.onGround == true && _root.userBashed == false && _root.cpuDefeated == false && _root.userDefeated == false) { this.gotoAndPlay('jumping2'); } } } onClipEvent (enterFrame) { if (Key.isDown(39) && _root.walking == true && _root.facing == 'right' && _root.onGround == true && _root.makeHay2 == false && _root.userBashed == false && _root.smashery == false && _root.cpuDefeated == false && _root.userDefeated == false && _root.introDone == true) { this._x += _root.myMoveSpeed2; } else { if (Key.isDown(37) && _root.walking == true && _root.facing == 'left' && _root.onGround == true && _root.makeHay2 == false && _root.userBashed == false && _root.smashery == false && _root.cpuDefeated == false && _root.userDefeated == false && _root.introDone == true) { this._x -= _root.myMoveSpeed2; } } } onClipEvent (enterFrame) { if (_root.jumping == true) { this._y -= 40; } else { if (_root.jumping == false && _root.onGround == false) { this._y += 30; } } } onClipEvent (enterFrame) { if (_root.user.hitTest(_root.ground)) { _root.onGround = true; } else { if (_root.user.hitTest(_root.ground2) && _root.jumping == false && _root.user._y < _root.defaultYval) { _root.onGround = true; } else { _root.onGround = false; } } } onClipEvent (enterFrame) { _root.makingHay(); } onClipEvent (enterFrame) { _root.makingHay2(); } onClipEvent (enterFrame) { _root.collisionChars(); } onClipEvent (enterFrame) { _root.mat = int(Math.random() * 500); } onClipEvent (enterFrame) { _root.rando = int(Math.random() * 600); } onClipEvent (enterFrame) { if (_root.mat >= 350 && _root.mat < 400 && _root.makeHay == false && _root.cpuDefeated == false && _root.userDefeated == false) { _root.beAgressive = true; } else { _root.beAgressive = false; } } onClipEvent (enterFrame) { if (_root.rando >= 500 && _root.rando < 600) { _root.bePassive = true; } else { _root.bePassive = false; } } onClipEvent (enterFrame) { if (_root.haymaker >= 100) { _root.haymaker = 100; } } onClipEvent (enterFrame) { if (_root.user._currentframe >= 14) { _root.introDone = true; } } onClipEvent (enterFrame) { for (;;) { if (!(_root.cpu.hitTest(_root.user) || _root.cpu.hitTest(_root.ironBox))) break; ++_root.attackCount; break; } } onClipEvent (enterFrame) { if (_root.attackCount > 25) { _root.attackCount -= 26; } } onClipEvent (enterFrame) { if (_root.attackCount >= 15 && _root.cpuIsAttacking == false && _root.user._x <= _root.cpu._x && _root.bashed == false && _root.introDone == true && _root.cpu.hitTest(_root.user) && _root.wackEm == false && _root.cpuHayMaker < 100 && _root.cpuDefeated == false && _root.userDefeated == false) { _root.cpu.gotoAndPlay('attack1'); } else { if (_root.attackCount > 15 && _root.cpuIsAttacking == false && _root.user._x >= _root.cpu._x && _root.bashed == false && _root.introDone == true && _root.cpu.hitTest(_root.user) && _root.wackEm == false && _root.cpuHayMaker < 100 && _root.cpuDefeated == false && _root.userDefeated == false) { _root.cpu.gotoAndPlay('attack2'); } else { if (_root.attackCount > 15 && _root.cpuIsAttacking == false && _root.user._x >= _root.cpu._x && _root.bashed == false && _root.introDone == true && _root.cpu.hitTest(_root.user) && _root.wackEm == false && _root.cpuHayMaker == 100 && _root.cpuDefeated == false && _root.userDefeated == false) { _root.cpu.gotoAndPlay('haymaker2'); } else { if (_root.attackCount > 15 && _root.cpuIsAttacking == false && _root.user._x <= _root.cpu._x && _root.bashed == false && _root.introDone == true && _root.cpu.hitTest(_root.user) && _root.wackEm == false && _root.cpuHayMaker == 100 && _root.cpuDefeated == false && _root.userDefeated == false) { _root.cpu.gotoAndPlay('haymaker'); } } } } } onClipEvent (enterFrame) { if (_root.momma.bowl.hitTest(_root.user) && _root.gettingDamaged == false && _root.facing == 'left') { _root.user.gotoAndPlay('damage2'); _root.momma.bowl.gotoAndPlay('break'); _root.user._x += 5; _root.userHp -= 7; } else { if (_root.momma.bowl.hitTest(_root.user) && _root.gettingDamaged == false && _root.facing == 'right') { _root.user.gotoAndPlay('damage'); _root.user._x -= 5; _root.userHp -= 7; } } } onClipEvent (enterFrame) { if (_root.user._currentframe < 59 && _root.user._currentframe > 55) { _root.gettingDamaged = true; } else { if (_root.user._currentframe < 153 && _root.user._currentframe > 143) { _root.gettingDamaged = true; } else { _root.gettingDamaged = false; } } } onClipEvent (enterFrame) { if (_root.cpu.hit.hitTest(_root.user) && _root.user._x < _root.cpu._x && _root.cpuOuch == false && _root.gettingDamaged == false && _root.cpuHayMaker < 100) { _root.user.gotoAndPlay('damage'); } else { if (_root.cpu.hit.hitTest(_root.user) && _root.gettingDamaged == false && _root.user._x > _root.cpu._x && _root.cpuOuch == false && _root.cpuHayMaker < 100) { _root.user.gotoAndPlay('damage2'); } else { if (_root.cpu.hit.hitTest(_root.user) && _root.gettingDamaged == false && _root.user._x > _root.cpu._x && _root.cpuOuch == false && _root.cpuHayMaker == 100) { _root.user.gotoAndPlay('haymade2'); _root.user._x += 150; } else { if (_root.cpu.hit.hitTest(_root.user) && _root.gettingDamaged == false && _root.user._x < _root.cpu._x && _root.cpuOuch == false && _root.cpuHayMaker == 100) { _root.user.gotoAndPlay('haymade'); _root.user._x -= 150; } else { if (_root.ironBox.hitTest(_root.user) && _root.gettingDamaged == false && _root.user._x < _root.ironBox._x && _root.sliding == true) { _root.user.gotoAndPlay('haymade'); _root.user._x -= 150; _root.userHp -= 5; } else { if (_root.ironBox.hitTest(_root.cpu) && _root.cpu._x > _root.ironBox._x && _root.sliding == true && _root.cpuBashed == false) { _root.cpu.gotoAndPlay('haymade'); _root.cpu._x += 150; _root.cpuHp -= 5; } else { if (_root.ironBox.hitTest(_root.user) && _root.gettingDamaged == false && _root.user._x > _root.ironBox._x && _root.sliding == true) { _root.user.gotoAndPlay('haymade2'); _root.user._x += 150; _root.userHp -= 5; } else { if (_root.ironBox.hitTest(_root.cpu) && _root.cpu._x < _root.ironBox._x && _root.sliding == true && _root.cpuBashed == false) { _root.cpu.gotoAndPlay('haymade'); _root.cpu._x -= 150; _root.cpuHp -= 5; } } } } } } } } } onClipEvent (enterFrame) { if (_root.cpu.hitTest(_root.ironBox) && _root.attackCount >= 10 && _root.cpuIsAttacking == false && _root.user._x < _root.cpu._x && _root.bashed == false && _root.introDone == true && _root.cpu._x > _root.ironBox._x) { _root.cpu.gotoAndPlay('attack1'); } else { if (_root.cpu.hitTest(_root.ironBox) && _root.attackCount >= 10 && _root.cpuIsAttacking == false && _root.user._x > _root.cpu._x && _root.bashed == false && _root.introDone == true && _root.cpu._x < _root.ironBox._x) { _root.cpu.gotoAndPlay('attack2'); } } } onClipEvent (enterFrame) { if (_root.cpuHayMaker >= 100) { _root.cpuHayMaker = 100; } } onClipEvent (enterFrame) { if (_root.cpu.hit.hitTest(_root.user)) { _root.cpuHayMaker += 4; _root.hayMaker += 2; _root.userHp -= 2.6; } } onClipEvent (enterFrame) { if (_root.user._x >= 450) { _root.user._x = 450; _root.user._y = _root.defaultYval; } else { if (_root.user._x <= 10) { _root.user._x = 10; _root.user._y = _root.defaultYval; } else { if (_root.user._y >= _root.defaultYval) { _root.user._y = _root.defaultYval; } } } } onClipEvent (enterFrame) { if (_root.user.hit.hitTest(_root.cpu)) { _root.wackEm = true; } else { _root.wackEm = false; } } onClipEvent (enterFrame) { if (_root.user._currentframe >= 60 && _root.user._currentframe < 77) { _root.userBashed = true; } else { if (_root.user._currentframe >= 154 && _root.user._currentframe < 174) { _root.userBashed = true; } else { _root.userBashed = false; } } } onClipEvent (enterFrame) { _root.lifeBar._width = _root.userHp; } onClipEvent (enterFrame) { _root.cpuLifeBar._width = _root.cpuHp; } onClipEvent (enterFrame) { _root.hayMakerBar1._width = _root.hayMaker; } onClipEvent (enterFrame) { _root.hayMakerBar2._width = _root.cpuHayMaker; } onClipEvent (enterFrame) { if (_root.userBashed == true) { _root.cpuHayMaker -= 100; } } onClipEvent (enterFrame) { if (_root.cpuHayMaker < 0) { _root.cpuHayMaker = 0; } } onClipEvent (enterFrame) { if (_root.cpu._currentframe > 148 && _root.cpu._currentframe < 161) { _root.cpuBashed = true; } else { if (_root.cpu._currentframe > 67 && _root.cpu._currentframe < 81) { _root.cpuBashed = true; } else { _root.cpuBashed = false; } } } onClipEvent (enterFrame) { if (_root.userHp <= 0) { _root.userDefeated = true; } else { _root.userDefeated = false; } } onClipEvent (enterFrame) { if (_root.cpuHp <= 0) { _root.cpuDefeated = true; } else { _root.cpuDefeated = false; } } onClipEvent (enterFrame) { if (_root.userDefeated == true && _root.user._currentframe < 201 && _root.user._x < _root.cpu._x && _root.userInFrame == false && _root.bowDownCount < 8) { _root.user.gotoAndPlay('defeated'); } else { if (_root.userDefeated == true && _root.user._currentframe < 201 && _root.user._x > _root.cpu._x && _root.userInFrame == false && _root.bowDownCount < 8) { _root.user.gotoAndPlay('defeated2'); } } } onClipEvent (enterFrame) { if (_root.cpuDefeated == true && _root.user._currentframe < 179 && _root.cpuInFrame == false && _root.user._x < _root.cpu._x) { _root.cpu.gotoAndPlay('defeated'); } else { if (_root.cpuDefeated == true && _root.cpu._currentframe < 179 && _root.cpuInFrame == false && _root.user._x > _root.cpu._x) { _root.cpu.gotoAndPlay('defeated2'); } } } onClipEvent (enterFrame) { if (_root.user._currentframe >= 201) { _root.userInFrame = true; } else { _root.userInFrame = false; } } onClipEvent (enterFrame) { if (_root.cpu._currentframe >= 179) { _root.cpuInFrame = true; } else { _root.cpuInFrame = false; } } onClipEvent (enterFrame) { if (_root.userDefeated == true) { ++_root.bowDownCount; } else { if (_root.cpuHp <= 0 && _root.userHp > 0) { ++_root.cpuBowCount; } } } onClipEvent (enterFrame) { if (_root.cpu._x >= 490) { _root.cpu._x = 490; } else { if (_root.cpu._x <= 5) { _root.user._x = 5; } } } onClipEvent (enterFrame) { if (Key.isDown(39) && _root.user._currentframe == 31) { _root.user.gotoAndPlay('walking'); } else { if (Key.isDown(37) && _root.user._currentframe == 125) { _root.user.gotoAndPlay('walking2'); } } } } movieClip 554 { frame 20 { gotoAndPlay(38); } frame 27 { gotoAndPlay(38); } frame 37 { gotoAndPlay(38); } frame 47 { gotoAndPlay(38); } frame 58 { gotoAndPlay(38); } frame 65 { gotoAndPlay(38); } frame 81 { gotoAndPlay(38); } frame 101 { gotoAndPlay(119); } frame 108 { gotoAndPlay(119); } frame 118 { gotoAndPlay(119); } frame 128 { gotoAndPlay(119); } frame 139 { gotoAndPlay(119); } frame 146 { gotoAndPlay(119); } frame 162 { gotoAndPlay(119); } frame 170 { gotoAndPlay(119); } frame 178 { gotoAndPlay(38); } frame 183 { stop(); } frame 188 { stop(); } } instance cpu of movieClip 554 { onClipEvent (enterFrame) { _root.cpuDamage(); } onClipEvent (enterFrame) { _root.blasted(); } onClipEvent (enterFrame) { _root.findUserX(); } onClipEvent (enterFrame) { _root.walkAi(); } onClipEvent (enterFrame) { _root.faceIt(); } onClipEvent (enterFrame) { _root.checkSides(); } onClipEvent (enterFrame) { _root.walkAround(); } onClipEvent (enterFrame) { _root.introOver(); } onClipEvent (enterFrame) { _root.attackUser(); } onClipEvent (enterFrame) { _root.bashery(); } onClipEvent (enterFrame) { _root.cpuBattle(); } onClipEvent (enterFrame) { _root.stability(); } onClipEvent (enterFrame) { _root.gameBreaker(); } onClipEvent (enterFrame) { _root.winner(); } } movieClip 556 { } instance of movieClip 556 { onClipEvent (enterFrame) { if (_root.break3 == true) { this._visible = false; } } } instance of movieClip 556 { onClipEvent (enterFrame) { if (_root.break4 == true) { this._visible = false; } } } movieClip 558 { } instance ironBox of movieClip 558 { onClipEvent (enterFrame) { if (_root.user.hit.hitTest(this) && _root.facing == 'right' && _root.sliding == false) { _root.sliding = true; _root.slideRight = true; } else { if (_root.user.hit.hitTest(this) && _root.facing == 'left' && _root.sliding == false) { _root.sliding = true; _root.slideLeft = true; } else { if (_root.cpu.hit.hitTest(this) && this._x < _root.cpu._x && _root.sliding == false) { _root.sliding = true; _root.slideLeft = true; } else { if (_root.cpu.hit.hitTest(this) && this._x > _root.cpu._x && _root.sliding == false) { _root.sliding = true; _root.slideRight = true; } } } } } onClipEvent (enterFrame) { for (;;) { if (!(_root.sliding == true && _root.slideRight == true && _root.hitOne == false)) break; this._x += 30; break; } } onClipEvent (enterFrame) { for (;;) { if (!(_root.sliding == true && _root.slideLeft == true && _root.hitOne == false)) break; this._x -= 30; break; } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall) && _root.sliding == true) { _root.hitOne = true; } } } movieClip 560 { } movieClip 562 { } movieClip 564 { } movieClip 565 { } movieClip 569 { frame 15 { stop(); } } frame 21 { stopAllSounds(); i = 0; while (i < 5) { ++i; } lastSong = new sound(); lastSong.attachSound('outro'); lastSong.start(0, 9999); } frame 21 { stop(); } movieClip 573 { frame 20 { stop(); } } button 574 { on (press) { stopAllSounds(); gotoAndPlay(7); } } movieClip 576 { } frame 24 { stop(); } movieClip 578 { }




https://swfchan.com/53/262211/info.shtml
Created: 3/12 -2025 14:59:16 Last modified: 3/12 -2025 14:59:16 Server time: 05/12 -2025 07:55:28