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

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

Rock Out Rivals- DFT.swf

This is the info page for
Flash #39817

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


ActionScript [AS1/AS2]
Combined Code
frame 1 { _root.gquality = 'high'; _quality = _root.gquality; _root.gqualitychanged = false; } frame 1 { fscommand('showmenu', false); fscommand('trapallkeys', true); var NoMenu = new ContextMenu(); NoMenu.hideBuiltInItems(); this.menu = NoMenu; } frame 1 { function tryload() { _root.loadfailed = false; _root.savefile = SharedObject.getLocal('1309rordftnm4315'); _root.beateasymode = _root.savefile.data.beateasymode; _root.beatnormalmode = _root.savefile.data.beatnormalmode; _root.beathardmode = _root.savefile.data.beathardmode; if (_root.savefile.data.beateasymode == undefined && _root.savefile.data.beatnormalmode == undefined && _root.savefile.data.beathardmode == undefined) { _root.beateasymode = false; _root.beatnormalmode = false; _root.beathardmode = false; _root.loadfailed = true; } if (_root.loadfailed == true) { gotoAndStop('loadmainmenu'); } else { gotoAndStop('gameloaded'); } if (_root.beateasymode == true) { if (_root.beathardmode == false) { _root.maxicolor = 4; } else { _root.maxicolor = 8; } } if (_root.beatnormalmode == true) { _root.allowportalbot = true; } if (_root.beathardmode == true) { if (_root.beateasymode == false) { _root.maxicolor = 6; } else { _root.maxicolor = 8; } } } _root.maxicolor = 2; _root.allowportalbot = false; } frame 1 { function RandomA2() { RandomAi = Math.round(Math.random() * 8) + 1; switch (RandomAi) { case 1: paintShooter1(); break; case 2: paintShooter2(); break; case 3: paintShooter3(); break; case 4: paintShooter4(); break; case 5: paintShooter5(); break; case 6: paintShooter6(); break; case 7: paintShooter7(); break; case 8: paintShooter8(); break; case 9: paintShooter9(); } } function SetColorBlue() { colorVal = '0x0000FF'; } function SetColorRed() { colorVal = '0xFF0000'; } function SetColorGreen() { colorVal = '0x7cfc00'; } function SetColorYellow() { colorVal = '0xffff00'; } function SetColorPurple() { colorVal = '0x800080'; } function SetColorBrown() { colorVal = '0xa52a2a'; } function SetColorOrange() { colorVal = '0xffa500'; } function SetColorBlack() { colorVal = '0x000000'; } function SetColorWhite() { colorVal = '0xFFFFFF'; } function RandomXTimes(stimes, gmulti, offbeat, colormode) { i = 1; while (i != stimes + 1) { if (offbeat == tyrue) { PauseAndDo(basicrate * i * gmulti, colormode); PauseAndDo(basicrate * i * gmulti, RandomA2); } else { PauseAndDo(basicrate * i * gmulti - basicrate / 2, colormode); PauseAndDo(basicrate * i * gmulti - basicrate / 2, RandomA2); } ++i; } } } frame 1 { function PauseAndDo(TimeAmount, TheFunction) { MyTimeout = setTimeout(TheFunction, TimeAmount); } function NextStage() { switch (_root.currentstage) { case 1: Start_Level1(); break; case 2: Start_Level2(); break; case 3: Start_Level3(); break; case 4: Start_Level4(); break; case 5: Start_Level5(); } } function EndStage() { gotoAndStop('scoreboard'); switch (_root.currentstage) { case 1: _root.stage1score = playerscore; break; case 2: _root.stage2score = playerscore; break; case 3: _root.stage3score = playerscore; break; case 4: _root.stage4score = playerscore; break; case 5: _root.stage5score = playerscore; } switch (_root.currentstage) { case 1: if (_root.stage1score > _root.stage1scoretobeat) { _root.winner = true; } else { _root.winner = false; } break; case 2: if (_root.stage2score > _root.stage2scoretobeat) { _root.winner = true; } else { _root.winner = false; } break; case 3: if (_root.stage3score > _root.stage3scoretobeat) { _root.winner = true; } else { _root.winner = false; } break; case 4: if (_root.stage4score > _root.stage4scoretobeat) { _root.winner = true; } else { _root.winner = false; } break; case 5: if (_root.stage5score > _root.stage5scoretobeat) { _root.winner = true; } else { _root.winner = false; } } if (_root.winner == false) { scoreboard.optbuttons.gotoAndStop(2); } else { scoreboard.optbuttons.gotoAndStop(1); } _root.BackgroundMusic1.stop(); _root.BackgroundMusic2.stop(); _root.BackgroundMusic3.stop(); _root.BackgroundMusic4.stop(); _root.BackgroundMusic5.stop(); _root.freezeall = true; } } frame 1 { function Start_Level1() { _root.BackgroundMusic0.stop(); _root.music0playing = false; _root.playerscore = 0; _root.pointloss = 1500; _root.energyloss = 300; _root.beaconpoints = 500; _root.beaconenergy = 50; _root.MoveSpeed = -8; ror.StartMusic1(); beacon2.gotoAndStop(Math.round(Math.random() * 6) + 2); beacon2.beacon.gotoAndStop(Math.round(Math.random() * 13) + 2); pretimeelapsed = 0; basicrate = 428.5714285714286; PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(15, 2, false, SetColorBlue); }); val1 = 15; val2 = 2; if (offbeat == true) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, true, SetColorRed); }); val1 = 16; val2 = 2; if (offbeat == true) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorGreen); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, true, SetColorRed); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(28, 1, false, SetColorGreen); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(28, 2, true, SetColorRed); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(7, 4, true, SetColorBlue); }); val1 = 28; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(8, 4, true, SetColorBlue); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(8, 4, false, SetColorWhite); }); val1 = 8; val2 = 4; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorBlack); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, true, SetColorBlack); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, false, SetColorGreen); }); val1 = 16; val2 = 2; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorRed); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, true, SetColorWhite); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(64, 1, false, SetColorWhite); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(64, 1, true, SetColorWhite); }); val1 = 64; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(1, 1, false, SetColorBlue); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(1, 1, false, SetColorBlue); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(96, 1, false, SetColorBlue); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(96, 1, true, SetColorBlue); }); val1 = 96; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } val1 = 8; val2 = 1; if (offbeat == true) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { EndStage(); }); } function Start_Level2() { _root.BackgroundMusic0.stop(); _root.music0playing = false; _root.playerscore = 0; _root.pointloss = 3000; _root.energyloss = 350; _root.beaconpoints = 1000; _root.beaconenergy = 100; _root.MoveSpeed = -10; ror.StartMusic2(); beacon2.gotoAndStop(Math.round(Math.random() * 6) + 2); beacon2.beacon.gotoAndStop(Math.round(Math.random() * 13) + 2); pretimeelapsed = 0; basicrate = 428.5714285714286; PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(7, 2, false, SetColorYellow); }); val1 = 7; val2 = 2; if (offbeat == true) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, true, SetColorYellow); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, false, SetColorRed); }); val1 = 16; val2 = 2; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 2, true, SetColorYellow); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 2, false, SetColorRed); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(64, 1, false, SetColorWhite); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(1, 33, false, SetColorGreen); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(1, 65, true, SetColorGreen); }); val1 = 32; val2 = 2; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 2, false, SetColorBlue); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(8, 4, false, SetColorBlue); }); PauseAndDo(Math.round(pretimeelapsed + (basicrate * val1 * val2 + basicrate / 2) / 2), function () { RandomXTimes(32, 1, true, SetColorYellow); }); val1 = 31; val2 = 2; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorWhite); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, true, SetColorBlack); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorGreen); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, true, SetColorBlack); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorGreen); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, true, SetColorBlack); }); PauseAndDo(Math.round(pretimeelapsed + (basicrate * val1 * val2 + basicrate / 2) / 2 - (basicrate * val1 * val2 + basicrate / 2) / 4), function () { RandomXTimes(32, 1, true, SetColorYellow); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(64, 1, false, SetColorGreen); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(64, 1, false, SetColorYellow); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 2, true, SetColorBlack); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(64, 1, false, SetColorWhite); }); val1 = 64; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(64, 1, false, SetColorWhite); }); val1 = 64; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } val1 = 8; val2 = 1; if (offbeat == true) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { EndStage(); }); } function Start_Level3() { _root.BackgroundMusic0.stop(); _root.music0playing = false; _root.playerscore = 0; _root.pointloss = 4500; _root.energyloss = 400; _root.beaconpoints = 1500; _root.beaconenergy = 150; _root.MoveSpeed = -12; ror.StartMusic3(); beacon2.gotoAndStop(Math.round(Math.random() * 6) + 2); beacon2.beacon.gotoAndStop(Math.round(Math.random() * 13) + 2); pretimeelapsed = 0; basicrate = 428.5714285714286; PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(14, 1, false, SetColorPurple); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(7, 2, true, SetColorPurple); }); val1 = 14; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 1, false, SetColorPurple); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 1, false, SetColorYellow); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(8, 2, true, SetColorPurple); }); val1 = 16; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorYellow); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, true, SetColorYellow); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorBlue); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(8, 4, false, SetColorWhite); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(30, 1, false, SetColorPurple); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(15, 2, true, SetColorBlue); }); val1 = 30; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(64, 1, false, SetColorPurple); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 2, true, SetColorBlue); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 2, false, SetColorBlue); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(64, 1, true, SetColorRed); }); val1 = 64; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, false, SetColorWhite); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, true, SetColorWhite); }); val1 = 16; val2 = 2; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorBlack); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, true, SetColorBlack); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, false, SetColorYellow); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, true, SetColorYellow); }); val1 = 16; val2 = 2; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorPurple); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, true, SetColorWhite); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(28, 1, false, SetColorPurple); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(28, 1, true, SetColorWhite); }); PauseAndDo(Math.round(pretimeelapsed + (basicrate * val1 * val2 + basicrate / 2) / 2), function () { RandomXTimes(14, 1, false, SetColorBlack); }); val1 = 28; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorPurple); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, true, SetColorWhite); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorBlack); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, true, SetColorGreen); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorPurple); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorBlack); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, true, SetColorGreen); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, true, SetColorWhite); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } val1 = 8; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { EndStage(); }); } function Start_Level4() { _root.BackgroundMusic0.stop(); _root.music0playing = false; _root.playerscore = 0; _root.pointloss = 6000; _root.energyloss = 450; _root.beaconpoints = 2000; _root.beaconenergy = 200; _root.MoveSpeed = -16; ror.StartMusic4(); beacon2.gotoAndStop(Math.round(Math.random() * 6) + 2); beacon2.beacon.gotoAndStop(Math.round(Math.random() * 13) + 2); pretimeelapsed = 0; basicrate = 428.5714285714286; PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(7, 2, false, SetColorOrange); }); val1 = 7; val2 = 2; if (offbeat == true) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 1, false, SetColorRed); }); val1 = 16; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, false, SetColorRed); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, true, SetColorOrange); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, true, SetColorBlack); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(14, 2, false, SetColorRed); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(14, 2, true, SetColorOrange); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(28, 1, true, SetColorBlack); }); val1 = 14; val2 = 2; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(8, 4, false, SetColorBlack); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(8, 4, true, SetColorBlack); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, true, SetColorWhite); }); val1 = 8; val2 = 4; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(8, 4, false, SetColorWhite); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(8, 4, true, SetColorBlack); }); val1 = 8; val2 = 4; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, true, SetColorWhite); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, false, SetColorWhite); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorRed); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, true, SetColorGreen); }); val1 = 16; val2 = 2; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, true, SetColorRed); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, false, SetColorRed); }); val1 = 16; val2 = 2; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, true, SetColorGreen); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, false, SetColorGreen); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorBlack); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, true, SetColorGreen); }); val1 = 16; val2 = 2; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, true, SetColorBlack); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, false, SetColorBlack); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorBlack); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, true, SetColorWhite); }); val1 = 16; val2 = 2; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, true, SetColorBlue); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorBlue); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorOrange); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, true, SetColorOrange); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, false, SetColorOrange); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(8, 4, false, SetColorWhite); }); val1 = 16; val2 = 2; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, true, SetColorWhite); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorWhite); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(8, 4, false, SetColorOrange); }); val1 = 16; val2 = 2; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(15, 2, true, SetColorRed); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(15, 2, false, SetColorRed); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(30, 1, false, SetColorRed); }); val1 = 16; val2 = 2; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } val1 = 8; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { EndStage(); }); } function Start_Level5() { _root.BackgroundMusic0.stop(); _root.music0playing = false; _root.playerscore = 0; _root.pointloss = 7500; _root.energyloss = 500; _root.beaconpoints = 2500; _root.beaconenergy = 250; _root.MoveSpeed = -18; ror.StartMusic5(); beacon2.gotoAndStop(Math.round(Math.random() * 6) + 2); beacon2.beacon.gotoAndStop(Math.round(Math.random() * 13) + 2); pretimeelapsed = 0; basicrate = 428.5714285714286; PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(7, 4, false, SetColorBrown); }); val1 = 30; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorBrown); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(64, 1, false, SetColorBrown); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(64, 1, false, SetColorOrange); }); val1 = 64; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(31, 1, false, SetColorBlue); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(31, 1, false, SetColorGreen); }); val1 = 31; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, true, SetColorWhite); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorBlue); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorBlack); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, true, SetColorWhite); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorWhite); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, true, SetColorGreen); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, true, SetColorRed); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(30, 1, false, SetColorWhite); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(30, 1, true, SetColorGreen); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(15, 2, true, SetColorOrange); }); val1 = 30; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorBrown); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, true, SetColorBrown); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, true, SetColorBrown); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, false, SetColorBrown); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorOrange); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, true, SetColorOrange); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, true, SetColorOrange); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, false, SetColorOrange); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, false, SetColorOrange); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(32, 1, true, SetColorOrange); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, true, SetColorOrange); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, false, SetColorOrange); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, false, SetColorGreen); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(30, 1, true, SetColorOrange); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(15, 2, true, SetColorWhite); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(15, 2, false, SetColorBrown); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(15, 2, false, SetColorGreen); }); val1 = 30; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, true, SetColorBlack); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, false, SetColorRed); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(16, 2, false, SetColorOrange); }); val1 = 32; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(15, 2, true, SetColorBlack); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(15, 2, false, SetColorWhite); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(15, 2, false, SetColorBlue); }); val1 = 15; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(8, 1, true, SetColorBlue); }); PauseAndDo(Math.round(pretimeelapsed), function () { RandomXTimes(1, 9, true, SetColorYellow); }); val1 = 8; val2 = 1; if (offbeat == true) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } val1 = 16; val2 = 1; if (offbeat == false) { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } else { pretimeelapsed += basicrate * val1 * val2 + basicrate / 2; } PauseAndDo(Math.round(pretimeelapsed), function () { EndStage(); }); } } frame 1 { stop(); _root.charcolor = 1; _root.charcolor2 = 1; _root.music0playing = false; _root.gamejustloaded = true; } movieClip 3 { } movieClip 5 { } movieClip 7 { } movieClip 9 { } movieClip 11 { } movieClip 13 { } movieClip 15 { } movieClip 17 { } movieClip 19 { } movieClip 22 { } movieClip 24 { } movieClip 26 { } movieClip 28 { } movieClip 30 { } movieClip 32 { } movieClip 34 { } movieClip 36 { } movieClip 38 { } movieClip 40 { } movieClip 42 { } movieClip 44 { } movieClip 46 { } movieClip 48 { } movieClip 50 { } movieClip 52 { } movieClip 54 { } movieClip 56 { } movieClip 58 { } movieClip 60 { } movieClip 62 { } movieClip 64 { } movieClip 66 { } movieClip 70 { } movieClip 72 { } movieClip 74 { } movieClip 76 { } movieClip 78 { } movieClip 80 { } movieClip 83 { } movieClip 87 { } movieClip 88 { frame 141 { gotoAndPlay('bb'); } } movieClip 90 { } movieClip 92 { } movieClip 94 { } movieClip 96 { } movieClip 98 { } movieClip 100 { } movieClip 102 { } movieClip 108 { } movieClip 110 { } movieClip 111 { } movieClip 113 { } movieClip 115 { } movieClip 117 { } movieClip 119 { } movieClip 128 { } movieClip 130 { } movieClip 133 { } movieClip 135 { } movieClip 137 { } movieClip 139 { } movieClip 141 { } movieClip 142 { } movieClip 143 { } movieClip 145 { } movieClip 146 { } movieClip 149 { } button 150 { on (release) { getURL('http://www.armorgames.com', '_blank'); } } movieClip 197 { } button 198 { on (release) { getURL('http://www.newgrounds.com', '_blank'); } } movieClip 200 { } movieClip 205 { } movieClip 215 { } movieClip 216 { } movieClip 219 { } movieClip 221 { frame 40 { stop(); } } movieClip 232 { } button 234 { on (press) { _root.tryload(); } } movieClip 236 { } movieClip 237 { instance of movieClip 216 { onClipEvent (load) { PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); if (PercentLoaded != 100) { _parent.gotoAndStop(PercentLoaded); } else { _parent.gotoAndStop('play_button'); } } onClipEvent (enterFrame) { PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); if (PercentLoaded != 100) { _parent.gotoAndStop(PercentLoaded); } else { _parent.gotoAndPlay('loaded'); } } } instance of movieClip 219 { onClipEvent (enterFrame) { PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); this.percentDone = PercentLoaded + '% Loaded'; } } frame 130 { stop(); } frame 154 { _root.play(); } } movieClip 238 { } movieClip 241 { } instance of movieClip 241 { onClipEvent (enterFrame) { if (Key.isDown(17) && Key.isDown(70)) { fscommand('fullscreen', true); } if (Key.isDown(27)) { fscommand('fullscreen', false); } if (Key.isDown(81)) { if (_root.gqualitychanged == false) { switch (_root.gquality) { case 'low': _root.gquality = 'medium'; _quality = _root.gquality; break; case 'medium': _root.gquality = 'high'; _quality = _root.gquality; break; case 'high': _root.gquality = 'low'; _quality = _root.gquality; } } _root.gqualitychanged = true; } if (!Key.isDown(81)) { _root.gqualitychanged = false; } } } frame 2 { gotoAndStop('mainmenu'); } frame 2 { _root.BackgroundMusic0 = new Sound(); _root.BackgroundMusic0.attachSound('Track 00'); _root.BackgroundMusic1 = new Sound(); _root.BackgroundMusic1.attachSound('Track 01'); _root.BackgroundMusic2 = new Sound(); _root.BackgroundMusic2.attachSound('Track 02'); _root.BackgroundMusic3 = new Sound(); _root.BackgroundMusic3.attachSound('Track 03'); _root.BackgroundMusic4 = new Sound(); _root.BackgroundMusic4.attachSound('Track 04'); _root.BackgroundMusic5 = new Sound(); _root.BackgroundMusic5.attachSound('Track 05'); } movieClip 244 { } instance ror of movieClip 244 { onClipEvent (load) { function StartMusic0() { _root.BackgroundMusic0.start(0, 9999999); } function StartMusic1() { _root.BackgroundMusic1.start(0, 0); } function StartMusic2() { _root.BackgroundMusic2.start(0, 0); } function StartMusic3() { _root.BackgroundMusic3.start(0, 0); } function StartMusic4() { _root.BackgroundMusic4.start(0, 0); } function StartMusic5() { _root.BackgroundMusic5.start(0, 0); } } } frame 3 { stop(); } movieClip 253 { frame 40 { _root.gotoAndStop('mainmenu'); } } movieClip 254 { } frame 4 { stop(); if (_root.music0playing == false) { ror.StartMusic0(); _root.music0playing = true; } } movieClip 258 { } movieClip 261 { } movieClip 262 { } movieClip 264 { } movieClip 265 { } movieClip 267 { } movieClip 268 { } movieClip 270 { } movieClip 271 { } movieClip 272 { } movieClip 278 { } movieClip 279 { frame 58 { stop(); } } movieClip 285 { } button 291 { on (release) { nextFrame(); } } movieClip 295 { } button 296 { on (release) { getURL('http://www.acidplanet.com/neomarine', '_blank'); } } button 299 { on (release) { _root.gotoAndStop('howtoplay'); } } button 303 { on (release) { _root.gamedifficulty = 'easy'; _root.gotoAndStop('tour'); } } button 306 { on (release) { _root.gamedifficulty = 'normal'; _root.gotoAndStop('tour'); } } button 309 { on (release) { _root.gamedifficulty = 'hard'; _root.gotoAndStop('tour'); } } button 313 { on (release) { prevFrame(); } } movieClip 314 { frame 1 { if (_root.gamejustloaded == false) { gotoAndStop('menuarea'); } } frame 35 { stop(); _root.gamejustloaded = false; } frame 36 { stop(); } } frame 5 { stop(); _root.currentstage = 0; } movieClip 318 { } movieClip 319 { } movieClip 325 { } movieClip 327 { } movieClip 329 { } movieClip 331 { } movieClip 333 { } movieClip 336 { } movieClip 337 { } movieClip 338 { frame 1 { stop(); } } movieClip 339 { instance picopic of movieClip 338 { onClipEvent (enterFrame) { switch (_root.charcolor) { case 1: gotoAndStop(1); break; case 2: gotoAndStop(2); break; case 3: gotoAndStop(3); break; case 4: gotoAndStop(4); break; case 5: gotoAndStop(5); break; case 6: gotoAndStop(6); break; case 7: gotoAndStop(7); break; case 8: gotoAndStop(8); } } } } button 345 { on (release) { _root.character = 'pico'; _root.gotoAndStop('tour2'); } } movieClip 354 { } movieClip 355 { frame 1 { stop(); } } movieClip 356 { instance portalbotpic of movieClip 355 { onClipEvent (enterFrame) { switch (_root.charcolor2) { case 1: gotoAndStop(1); break; case 2: gotoAndStop(2); break; case 3: gotoAndStop(3); break; case 4: gotoAndStop(4); break; case 5: gotoAndStop(5); break; case 6: gotoAndStop(6); break; case 7: gotoAndStop(7); break; case 8: gotoAndStop(8); } } } } button 361 { on (release) { gotoAndStop('picomoves'); } } movieClip 373 { frame 1 { stop(); switch (_root.charcolor) { case 1: gotoAndStop(2); break; case 2: gotoAndStop(3); break; case 3: gotoAndStop(4); break; case 4: gotoAndStop(5); break; case 5: gotoAndStop(6); break; case 6: gotoAndStop(7); break; case 7: gotoAndStop(8); } } frame 2 { _root.charcolor = 1; } frame 3 { _root.charcolor = 2; } frame 4 { _root.charcolor = 3; } frame 5 { _root.charcolor = 4; } frame 6 { _root.charcolor = 5; } frame 7 { _root.charcolor = 6; } frame 8 { _root.charcolor = 7; } frame 9 { _root.charcolor = 8; } } button 377 { on (release) { if (icolorpos != _root.maxicolor) { icolorpos += 1; } this.thecolor.gotoAndStop(icolorpos + 1); } } button 378 { on (release) { if (icolorpos != 1) { icolorpos -= 1; } this.thecolor.gotoAndStop(icolorpos + 1); } } movieClip 379 { frame 1 { icolorpos = 1; } } button 383 { on (release) { _root.character = 'portalbot'; _root.gotoAndStop('tour2'); } } button 385 { on (release) { gotoAndStop('picomoves'); } } button 386 { on (release) { gotoAndStop('portalbotmoves'); } } movieClip 387 { frame 1 { stop(); switch (_root.charcolor2) { case 1: gotoAndStop(2); break; case 2: gotoAndStop(3); break; case 3: gotoAndStop(4); break; case 4: gotoAndStop(5); break; case 5: gotoAndStop(6); break; case 6: gotoAndStop(7); break; case 7: gotoAndStop(8); } } frame 2 { _root.charcolor2 = 1; } frame 3 { _root.charcolor2 = 2; } frame 4 { _root.charcolor2 = 3; } frame 5 { _root.charcolor2 = 4; } frame 6 { _root.charcolor2 = 5; } frame 7 { _root.charcolor2 = 6; } frame 8 { _root.charcolor2 = 7; } frame 9 { _root.charcolor2 = 8; } } movieClip 388 { frame 1 { icolorpos = 1; } } button 393 { on (release) { if (_root.allowportalbot == true) { gotoAndStop(2); } else { gotoAndStop(1); } } } movieClip 400 { } movieClip 409 { frame 1 { if (_root.allowportalbot == true) { gotoAndStop(2); } stop(); } instance btnpico of movieClip 339 { onClipEvent (release) { _root.character = 'pico'; _root.gotoAndStop('tour2'); } onClipEvent (rollOver) { gotoAndStop(2); } onClipEvent (rollOut, dragOut) { gotoAndStop(1); } onClipEvent (load) { stop(); } } frame 2 { stop(); } instance btnportalbot of movieClip 356 { onClipEvent (release) { _root.character = 'portalbot'; _root.gotoAndStop('tour2'); } onClipEvent (rollOver) { gotoAndStop(2); } onClipEvent (rollOut, dragOut) { gotoAndStop(1); } onClipEvent (load) { stop(); } } frame 3 { stop(); } frame 4 { stop(); } } movieClip 411 { frame 35 { stop(); } } frame 6 { scoreboard._visible = true; } frame 6 { stop(); if (_root.gamedifficulty == 'easy') { _root.stage1scoretobeat = 20000; _root.stage2scoretobeat = 25000; _root.stage3scoretobeat = 30000; _root.stage4scoretobeat = 35000; _root.stage5scoretobeat = 40000; } if (_root.gamedifficulty == 'normal') { _root.stage1scoretobeat = 160000; _root.stage2scoretobeat = 170000; _root.stage3scoretobeat = 180000; _root.stage4scoretobeat = 190000; _root.stage5scoretobeat = 200000; } if (_root.gamedifficulty == 'hard') { _root.stage1scoretobeat = 270000; _root.stage2scoretobeat = 290000; _root.stage3scoretobeat = 310000; _root.stage4scoretobeat = 330000; _root.stage5scoretobeat = 350000; } } frame 6 { pico1.removeMovieClip(); pico2.removeMovieClip(); pico3.removeMovieClip(); pico4.removeMovieClip(); pico5.removeMovieClip(); pico6.removeMovieClip(); pico7.removeMovieClip(); pico8.removeMovieClip(); portalbot1.removeMovieClip(); portalbot2.removeMovieClip(); portalbot3.removeMovieClip(); portalbot4.removeMovieClip(); portalbot5.removeMovieClip(); portalbot6.removeMovieClip(); portalbot7.removeMovieClip(); portalbot8.removeMovieClip(); shooter1.removeMovieClip(); shooter2.removeMovieClip(); shooter3.removeMovieClip(); shooter4.removeMovieClip(); shooter5.removeMovieClip(); shooter6.removeMovieClip(); shooter7.removeMovieClip(); shooter8.removeMovieClip(); shooter9.removeMovieClip(); cover.removeMovieClip(); } movieClip 419 { } movieClip 425 { } movieClip 432 { } movieClip 438 { } movieClip 444 { } movieClip 450 { } movieClip 452 { } movieClip 454 { } movieClip 455 { } movieClip 456 { } movieClip 458 { } movieClip 459 { } movieClip 461 { } movieClip 463 { } movieClip 465 { } movieClip 466 { } movieClip 468 { } movieClip 470 { } movieClip 472 { } movieClip 473 { } movieClip 475 { } movieClip 477 { } movieClip 479 { } movieClip 480 { } movieClip 482 { } movieClip 485 { } movieClip 487 { } movieClip 488 { } movieClip 489 { } movieClip 490 { instance of movieClip 419 { onClipEvent (load) { this.gotoAndStop(_root.currentstage); } } instance of movieClip 425 { onClipEvent (load) { this.gotoAndStop(_root.currentstage); } } instance of movieClip 432 { onClipEvent (load) { this.gotoAndStop(_root.currentstage); } } instance of movieClip 438 { onClipEvent (load) { this.gotoAndStop(_root.currentstage); } } instance of movieClip 444 { onClipEvent (load) { this.gotoAndStop(_root.currentstage); } } instance of movieClip 450 { onClipEvent (load) { this.gotoAndStop(_root.currentstage); } } instance of movieClip 489 { onClipEvent (load) { this.gotoAndStop(_root.currentstage); } } } button 495 { on (release) { _root.NextStage(); this._visible = false; _root.freezeall = false; _root.gotoAndStop('tour3'); } } button 500 { on (release) { _root.stage1score = 0; _root.stage2score = 0; _root.stage3score = 0; _root.stage4score = 0; _root.stage5score = 0; _root.gotoAndStop('mainmenu'); } } movieClip 501 { frame 1 { if (_root.currentstage != 5) { _root.currentstage += 1; } else {} } } frame 7 { function paintShooter1() { ++_root.i; shooter1.play(); shooter1_2.play(); duplicateMovieClip(paint_row1_, 'paint_row1_' + _root.i, _root.i); colorchange = new Color('paint_row1_' + _root.i); colorchange.setRGB(colorVal); shooter1.swapDepths(10001); pico1.swapDepths(10000); pico2.swapDepths(10000); pico3.swapDepths(10000); pico4.swapDepths(10000); pico5.swapDepths(10000); pico6.swapDepths(10000); pico7.swapDepths(10000); pico8.swapDepths(10000); portalbot1.swapDepths(10000); portalbot2.swapDepths(10000); portalbot3.swapDepths(10000); portalbot4.swapDepths(10000); portalbot5.swapDepths(10000); portalbot6.swapDepths(10000); portalbot7.swapDepths(10000); portalbot8.swapDepths(10000); cover.swapDepths(100000); } function paintShooter2() { ++_root.i; shooter2.play(); shooter2_2.play(); duplicateMovieClip(paint_row2_, 'paint_row2_' + _root.i, _root.i); colorchange = new Color('paint_row2_' + _root.i); colorchange.setRGB(colorVal); shooter2.swapDepths(20000); pico1.swapDepths(10000); pico2.swapDepths(10000); pico3.swapDepths(10000); pico4.swapDepths(10000); pico5.swapDepths(10000); pico6.swapDepths(10000); pico7.swapDepths(10000); pico8.swapDepths(10000); portalbot1.swapDepths(10000); portalbot2.swapDepths(10000); portalbot3.swapDepths(10000); portalbot4.swapDepths(10000); portalbot5.swapDepths(10000); portalbot6.swapDepths(10000); portalbot7.swapDepths(10000); portalbot8.swapDepths(10000); cover.swapDepths(100000); } function paintShooter3() { ++_root.i; shooter3.play(); shooter3_2.play(); duplicateMovieClip(paint_row3_, 'paint_row3_' + _root.i, _root.i); colorchange = new Color('paint_row3_' + _root.i); colorchange.setRGB(colorVal); shooter3.swapDepths(30000); pico1.swapDepths(10000); pico2.swapDepths(10000); pico3.swapDepths(10000); pico4.swapDepths(10000); pico5.swapDepths(10000); pico6.swapDepths(10000); pico7.swapDepths(10000); pico8.swapDepths(10000); portalbot1.swapDepths(10000); portalbot2.swapDepths(10000); portalbot3.swapDepths(10000); portalbot4.swapDepths(10000); portalbot5.swapDepths(10000); portalbot6.swapDepths(10000); portalbot7.swapDepths(10000); portalbot8.swapDepths(10000); cover.swapDepths(100000); } function paintShooter4() { ++_root.i; shooter4.play(); shooter4_2.play(); duplicateMovieClip(paint_row4_, 'paint_row4_' + _root.i, _root.i); colorchange = new Color('paint_row4_' + _root.i); colorchange.setRGB(colorVal); shooter4.swapDepths(40000); pico1.swapDepths(10000); pico2.swapDepths(10000); pico3.swapDepths(10000); pico4.swapDepths(10000); pico5.swapDepths(10000); pico6.swapDepths(10000); pico7.swapDepths(10000); pico8.swapDepths(10000); portalbot1.swapDepths(10000); portalbot2.swapDepths(10000); portalbot3.swapDepths(10000); portalbot4.swapDepths(10000); portalbot5.swapDepths(10000); portalbot6.swapDepths(10000); portalbot7.swapDepths(10000); portalbot8.swapDepths(10000); cover.swapDepths(100000); } function paintShooter5() { ++_root.i; shooter5.play(); shooter5_2.play(); duplicateMovieClip(paint_row5_, 'paint_row5_' + _root.i, _root.i); colorchange = new Color('paint_row5_' + _root.i); colorchange.setRGB(colorVal); shooter5.swapDepths(50000); pico1.swapDepths(10000); pico2.swapDepths(10000); pico3.swapDepths(10000); pico4.swapDepths(10000); pico5.swapDepths(10000); pico6.swapDepths(10000); pico7.swapDepths(10000); pico8.swapDepths(10000); portalbot1.swapDepths(10000); portalbot2.swapDepths(10000); portalbot3.swapDepths(10000); portalbot4.swapDepths(10000); portalbot5.swapDepths(10000); portalbot6.swapDepths(10000); portalbot7.swapDepths(10000); portalbot8.swapDepths(10000); cover.swapDepths(100000); } function paintShooter6() { ++_root.i; shooter6.play(); shooter6_2.play(); duplicateMovieClip(paint_row6_, 'paint_row6_' + _root.i, _root.i); colorchange = new Color('paint_row6_' + _root.i); colorchange.setRGB(colorVal); shooter6.swapDepths(60000); pico1.swapDepths(10000); pico2.swapDepths(10000); pico3.swapDepths(10000); pico4.swapDepths(10000); pico5.swapDepths(10000); pico6.swapDepths(10000); pico7.swapDepths(10000); pico8.swapDepths(10000); portalbot1.swapDepths(10000); portalbot2.swapDepths(10000); portalbot3.swapDepths(10000); portalbot4.swapDepths(10000); portalbot5.swapDepths(10000); portalbot6.swapDepths(10000); portalbot7.swapDepths(10000); portalbot8.swapDepths(10000); cover.swapDepths(100000); } function paintShooter7() { ++_root.i; shooter7.play(); shooter7_2.play(); duplicateMovieClip(paint_row7_, 'paint_row7_' + _root.i, _root.i); colorchange = new Color('paint_row7_' + _root.i); colorchange.setRGB(colorVal); shooter7.swapDepths(70000); pico1.swapDepths(10000); pico2.swapDepths(10000); pico3.swapDepths(10000); pico4.swapDepths(10000); pico5.swapDepths(10000); pico6.swapDepths(10000); pico7.swapDepths(10000); pico8.swapDepths(10000); portalbot1.swapDepths(10000); portalbot2.swapDepths(10000); portalbot3.swapDepths(10000); portalbot4.swapDepths(10000); portalbot5.swapDepths(10000); portalbot6.swapDepths(10000); portalbot7.swapDepths(10000); portalbot8.swapDepths(10000); cover.swapDepths(100000); } function paintShooter8() { ++_root.i; shooter8.play(); shooter8_2.play(); duplicateMovieClip(paint_row8_, 'paint_row8_' + _root.i, _root.i); colorchange = new Color('paint_row8_' + _root.i); colorchange.setRGB(colorVal); shooter8.swapDepths(80000); pico1.swapDepths(10000); pico2.swapDepths(10000); pico3.swapDepths(10000); pico4.swapDepths(10000); pico5.swapDepths(10000); pico6.swapDepths(10000); pico7.swapDepths(10000); pico8.swapDepths(10000); portalbot1.swapDepths(10000); portalbot2.swapDepths(10000); portalbot3.swapDepths(10000); portalbot4.swapDepths(10000); portalbot5.swapDepths(10000); portalbot6.swapDepths(10000); portalbot7.swapDepths(10000); portalbot8.swapDepths(10000); cover.swapDepths(100000); } function paintShooter9() { ++_root.i; shooter9.play(); shooter9_2.play(); duplicateMovieClip(paint_row9_, 'paint_row9_' + _root.i, _root.i); colorchange = new Color('paint_row9_' + _root.i); colorchange.setRGB(colorVal); shooter9.swapDepths(90000); pico1.swapDepths(10000); pico2.swapDepths(10000); pico3.swapDepths(10000); pico4.swapDepths(10000); pico5.swapDepths(10000); pico6.swapDepths(10000); pico7.swapDepths(10000); pico8.swapDepths(10000); portalbot1.swapDepths(10000); portalbot2.swapDepths(10000); portalbot3.swapDepths(10000); portalbot4.swapDepths(10000); portalbot5.swapDepths(10000); portalbot6.swapDepths(10000); portalbot7.swapDepths(10000); portalbot8.swapDepths(10000); cover.swapDepths(100000); } switch (_root.gamedifficulty) { case 'normal': _root.MoveSpeed -= 1; break; case 'hard': _root.MoveSpeed -= 2; } _root.i = 0; _root.skillinprogress = false; _root.doSkill = false; _root.evadeattack = false; _root.nomove = false; _root.justhit = false; _root.hovering = false; _root.maxscore = 1.0e+028; _root.combocount = 1; _root.maxcombocount = 5; _root.lastskill = 'none'; beacon2.gotoAndStop(Math.round(Math.random() * 6) + 2); beacon2.beacon.gotoAndStop(Math.round(Math.random() * 13) + 2); } frame 7 { _root.greset = false; stop(); } movieClip 503 { } movieClip 505 { } instance of movieClip 505 { onClipEvent (load) { this.gotoAndStop(_root.currentstage); } } movieClip 512 { frame 1 { stop(); } frame 7 { gotoAndStop(1); } } movieClip 517 { frame 1 { this.gotoAndStop(Math.round(Math.random() * 2 + 1)); } } instance paint_row1_ of movieClip 517 { onClipEvent (load) { this._x = 602.7000000000001; } onClipEvent (enterFrame) { if (_root.greset == true) { this.removeMovieClip(); } if ((this.hitTest(_parent.pico1) || this.hitTest(_parent.pico2) || this.hitTest(_parent.pico3) || this.hitTest(_parent.pico4) || this.hitTest(_parent.pico5) || this.hitTest(_parent.pico6) || this.hitTest(_parent.pico7) || this.hitTest(_parent.pico8) || this.hitTest(_parent.portalbot1) || this.hitTest(_parent.portalbot2) || this.hitTest(_parent.portalbot3) || this.hitTest(_parent.portalbot4) || this.hitTest(_parent.portalbot5) || this.hitTest(_parent.portalbot6) || this.hitTest(_parent.portalbot7) || this.hitTest(_parent.portalbot8)) && _root.evadeattack == false) { _root.skillinprogress = true; if (_root.playerscore < _root.pointloss) { _root.playerscore = 0; } else { _root.playerscore -= _root.pointloss; } if (_root.player1energy < _root.energyloss) { _root.player1energy = 0; } else { _root.player1energy -= _root.energyloss; } _root.combocount = 1; _root.lastskill = 'none'; _root.justhit = true; _parent.pico1.gotoAndStop('hit'); _parent.pico2.gotoAndStop('hit'); _parent.pico3.gotoAndStop('hit'); _parent.pico4.gotoAndStop('hit'); _parent.pico5.gotoAndStop('hit'); _parent.pico6.gotoAndStop('hit'); _parent.pico7.gotoAndStop('hit'); _parent.pico8.gotoAndStop('hit'); _parent.portalbot1.gotoAndStop('hit'); _parent.portalbot2.gotoAndStop('hit'); _parent.portalbot3.gotoAndStop('hit'); _parent.portalbot4.gotoAndStop('hit'); _parent.portalbot5.gotoAndStop('hit'); _parent.portalbot6.gotoAndStop('hit'); _parent.portalbot7.gotoAndStop('hit'); _parent.portalbot8.gotoAndStop('hit'); this.removeMovieClip(); } if (this._name != 'paint_row1_') { this._x += _root.MoveSpeed; if (this.hitTest(_parent.killzone)) { this.removeMovieClip(); } } else { this._alpha = 100; } } } instance paint_row2_ of movieClip 517 { onClipEvent (load) { this._x = 602.7000000000001; } onClipEvent (enterFrame) { if (_root.greset == true) { this.removeMovieClip(); } if ((this.hitTest(_parent.pico1) || this.hitTest(_parent.pico2) || this.hitTest(_parent.pico3) || this.hitTest(_parent.pico4) || this.hitTest(_parent.pico5) || this.hitTest(_parent.pico6) || this.hitTest(_parent.pico7) || this.hitTest(_parent.pico8) || this.hitTest(_parent.portalbot1) || this.hitTest(_parent.portalbot2) || this.hitTest(_parent.portalbot3) || this.hitTest(_parent.portalbot4) || this.hitTest(_parent.portalbot5) || this.hitTest(_parent.portalbot6) || this.hitTest(_parent.portalbot7) || this.hitTest(_parent.portalbot8)) && _root.evadeattack == false) { _root.skillinprogress = true; if (_root.playerscore < _root.pointloss) { _root.playerscore = 0; } else { _root.playerscore -= _root.pointloss; } if (_root.player1energy < _root.energyloss) { _root.player1energy = 0; } else { _root.player1energy -= _root.energyloss; } _root.combocount = 1; _root.lastskill = 'none'; _root.justhit = true; _parent.pico1.gotoAndStop('hit'); _parent.pico2.gotoAndStop('hit'); _parent.pico3.gotoAndStop('hit'); _parent.pico4.gotoAndStop('hit'); _parent.pico5.gotoAndStop('hit'); _parent.pico6.gotoAndStop('hit'); _parent.pico7.gotoAndStop('hit'); _parent.pico8.gotoAndStop('hit'); _parent.portalbot1.gotoAndStop('hit'); _parent.portalbot2.gotoAndStop('hit'); _parent.portalbot3.gotoAndStop('hit'); _parent.portalbot4.gotoAndStop('hit'); _parent.portalbot5.gotoAndStop('hit'); _parent.portalbot6.gotoAndStop('hit'); _parent.portalbot7.gotoAndStop('hit'); _parent.portalbot8.gotoAndStop('hit'); this.removeMovieClip(); } if (this._name != 'paint_row2_') { this._x += _root.MoveSpeed; if (this.hitTest(_parent.killzone)) { this.removeMovieClip(); } } else { this._alpha = 100; } } } instance paint_row3_ of movieClip 517 { onClipEvent (load) { this._x = 602.7000000000001; } onClipEvent (enterFrame) { if (_root.greset == true) { this.removeMovieClip(); } if ((this.hitTest(_parent.pico1) || this.hitTest(_parent.pico2) || this.hitTest(_parent.pico3) || this.hitTest(_parent.pico4) || this.hitTest(_parent.pico5) || this.hitTest(_parent.pico6) || this.hitTest(_parent.pico7) || this.hitTest(_parent.pico8) || this.hitTest(_parent.portalbot1) || this.hitTest(_parent.portalbot2) || this.hitTest(_parent.portalbot3) || this.hitTest(_parent.portalbot4) || this.hitTest(_parent.portalbot5) || this.hitTest(_parent.portalbot6) || this.hitTest(_parent.portalbot7) || this.hitTest(_parent.portalbot8)) && _root.evadeattack == false) { _root.skillinprogress = true; if (_root.playerscore < _root.pointloss) { _root.playerscore = 0; } else { _root.playerscore -= _root.pointloss; } if (_root.player1energy < _root.energyloss) { _root.player1energy = 0; } else { _root.player1energy -= _root.energyloss; } _root.combocount = 1; _root.lastskill = 'none'; _root.justhit = true; _parent.pico1.gotoAndStop('hit'); _parent.pico2.gotoAndStop('hit'); _parent.pico3.gotoAndStop('hit'); _parent.pico4.gotoAndStop('hit'); _parent.pico5.gotoAndStop('hit'); _parent.pico6.gotoAndStop('hit'); _parent.pico7.gotoAndStop('hit'); _parent.pico8.gotoAndStop('hit'); _parent.portalbot1.gotoAndStop('hit'); _parent.portalbot2.gotoAndStop('hit'); _parent.portalbot3.gotoAndStop('hit'); _parent.portalbot4.gotoAndStop('hit'); _parent.portalbot5.gotoAndStop('hit'); _parent.portalbot6.gotoAndStop('hit'); _parent.portalbot7.gotoAndStop('hit'); _parent.portalbot8.gotoAndStop('hit'); this.removeMovieClip(); } if (this._name != 'paint_row3_') { this._x += _root.MoveSpeed; if (this.hitTest(_parent.killzone)) { this.removeMovieClip(); } } else { this._alpha = 100; } } } instance paint_row4_ of movieClip 517 { onClipEvent (load) { this._x = 602.7000000000001; } onClipEvent (enterFrame) { if (_root.greset == true) { this.removeMovieClip(); } if ((this.hitTest(_parent.pico1) || this.hitTest(_parent.pico2) || this.hitTest(_parent.pico3) || this.hitTest(_parent.pico4) || this.hitTest(_parent.pico5) || this.hitTest(_parent.pico6) || this.hitTest(_parent.pico7) || this.hitTest(_parent.pico8) || this.hitTest(_parent.portalbot1) || this.hitTest(_parent.portalbot2) || this.hitTest(_parent.portalbot3) || this.hitTest(_parent.portalbot4) || this.hitTest(_parent.portalbot5) || this.hitTest(_parent.portalbot6) || this.hitTest(_parent.portalbot7) || this.hitTest(_parent.portalbot8)) && _root.evadeattack == false) { _root.skillinprogress = true; if (_root.playerscore < _root.pointloss) { _root.playerscore = 0; } else { _root.playerscore -= _root.pointloss; } if (_root.player1energy < _root.energyloss) { _root.player1energy = 0; } else { _root.player1energy -= _root.energyloss; } _root.combocount = 1; _root.lastskill = 'none'; _root.justhit = true; _parent.pico1.gotoAndStop('hit'); _parent.pico2.gotoAndStop('hit'); _parent.pico3.gotoAndStop('hit'); _parent.pico4.gotoAndStop('hit'); _parent.pico5.gotoAndStop('hit'); _parent.pico6.gotoAndStop('hit'); _parent.pico7.gotoAndStop('hit'); _parent.pico8.gotoAndStop('hit'); _parent.portalbot1.gotoAndStop('hit'); _parent.portalbot2.gotoAndStop('hit'); _parent.portalbot3.gotoAndStop('hit'); _parent.portalbot4.gotoAndStop('hit'); _parent.portalbot5.gotoAndStop('hit'); _parent.portalbot6.gotoAndStop('hit'); _parent.portalbot7.gotoAndStop('hit'); _parent.portalbot8.gotoAndStop('hit'); this.removeMovieClip(); } if (this._name != 'paint_row4_') { this._x += _root.MoveSpeed; if (this.hitTest(_parent.killzone)) { this.removeMovieClip(); } } else { this._alpha = 100; } } } instance paint_row5_ of movieClip 517 { onClipEvent (load) { this._x = 602.7000000000001; } onClipEvent (enterFrame) { if (_root.greset == true) { this.removeMovieClip(); } if ((this.hitTest(_parent.pico1) || this.hitTest(_parent.pico2) || this.hitTest(_parent.pico3) || this.hitTest(_parent.pico4) || this.hitTest(_parent.pico5) || this.hitTest(_parent.pico6) || this.hitTest(_parent.pico7) || this.hitTest(_parent.pico8) || this.hitTest(_parent.portalbot1) || this.hitTest(_parent.portalbot2) || this.hitTest(_parent.portalbot3) || this.hitTest(_parent.portalbot4) || this.hitTest(_parent.portalbot5) || this.hitTest(_parent.portalbot6) || this.hitTest(_parent.portalbot7) || this.hitTest(_parent.portalbot8)) && _root.evadeattack == false) { _root.skillinprogress = true; if (_root.playerscore < _root.pointloss) { _root.playerscore = 0; } else { _root.playerscore -= _root.pointloss; } if (_root.player1energy < _root.energyloss) { _root.player1energy = 0; } else { _root.player1energy -= _root.energyloss; } _root.combocount = 1; _root.lastskill = 'none'; _root.justhit = true; _parent.pico1.gotoAndStop('hit'); _parent.pico2.gotoAndStop('hit'); _parent.pico3.gotoAndStop('hit'); _parent.pico4.gotoAndStop('hit'); _parent.pico5.gotoAndStop('hit'); _parent.pico6.gotoAndStop('hit'); _parent.pico7.gotoAndStop('hit'); _parent.pico8.gotoAndStop('hit'); _parent.portalbot1.gotoAndStop('hit'); _parent.portalbot2.gotoAndStop('hit'); _parent.portalbot3.gotoAndStop('hit'); _parent.portalbot4.gotoAndStop('hit'); _parent.portalbot5.gotoAndStop('hit'); _parent.portalbot6.gotoAndStop('hit'); _parent.portalbot7.gotoAndStop('hit'); _parent.portalbot8.gotoAndStop('hit'); this.removeMovieClip(); } if (this._name != 'paint_row5_') { this._x += _root.MoveSpeed; if (this.hitTest(_parent.killzone)) { this.removeMovieClip(); } } else { this._alpha = 100; } } } instance paint_row6_ of movieClip 517 { onClipEvent (load) { this._x = 602.7000000000001; } onClipEvent (enterFrame) { if (_root.greset == true) { this.removeMovieClip(); } if ((this.hitTest(_parent.pico1) || this.hitTest(_parent.pico2) || this.hitTest(_parent.pico3) || this.hitTest(_parent.pico4) || this.hitTest(_parent.pico5) || this.hitTest(_parent.pico6) || this.hitTest(_parent.pico7) || this.hitTest(_parent.pico8) || this.hitTest(_parent.portalbot1) || this.hitTest(_parent.portalbot2) || this.hitTest(_parent.portalbot3) || this.hitTest(_parent.portalbot4) || this.hitTest(_parent.portalbot5) || this.hitTest(_parent.portalbot6) || this.hitTest(_parent.portalbot7) || this.hitTest(_parent.portalbot8)) && _root.evadeattack == false) { _root.skillinprogress = true; if (_root.playerscore < _root.pointloss) { _root.playerscore = 0; } else { _root.playerscore -= _root.pointloss; } if (_root.player1energy < _root.energyloss) { _root.player1energy = 0; } else { _root.player1energy -= _root.energyloss; } _root.combocount = 1; _root.lastskill = 'none'; _root.justhit = true; _parent.pico1.gotoAndStop('hit'); _parent.pico2.gotoAndStop('hit'); _parent.pico3.gotoAndStop('hit'); _parent.pico4.gotoAndStop('hit'); _parent.pico5.gotoAndStop('hit'); _parent.pico6.gotoAndStop('hit'); _parent.pico7.gotoAndStop('hit'); _parent.pico8.gotoAndStop('hit'); _parent.portalbot1.gotoAndStop('hit'); _parent.portalbot2.gotoAndStop('hit'); _parent.portalbot3.gotoAndStop('hit'); _parent.portalbot4.gotoAndStop('hit'); _parent.portalbot5.gotoAndStop('hit'); _parent.portalbot6.gotoAndStop('hit'); _parent.portalbot7.gotoAndStop('hit'); _parent.portalbot8.gotoAndStop('hit'); this.removeMovieClip(); } if (this._name != 'paint_row6_') { this._x += _root.MoveSpeed; if (this.hitTest(_parent.killzone)) { this.removeMovieClip(); } } else { this._alpha = 100; } } } instance paint_row7_ of movieClip 517 { onClipEvent (load) { this._x = 602.7000000000001; } onClipEvent (enterFrame) { if (_root.greset == true) { this.removeMovieClip(); } if ((this.hitTest(_parent.pico1) || this.hitTest(_parent.pico2) || this.hitTest(_parent.pico3) || this.hitTest(_parent.pico4) || this.hitTest(_parent.pico5) || this.hitTest(_parent.pico6) || this.hitTest(_parent.pico7) || this.hitTest(_parent.pico8) || this.hitTest(_parent.portalbot1) || this.hitTest(_parent.portalbot2) || this.hitTest(_parent.portalbot3) || this.hitTest(_parent.portalbot4) || this.hitTest(_parent.portalbot5) || this.hitTest(_parent.portalbot6) || this.hitTest(_parent.portalbot7) || this.hitTest(_parent.portalbot8)) && _root.evadeattack == false) { _root.skillinprogress = true; if (_root.playerscore < _root.pointloss) { _root.playerscore = 0; } else { _root.playerscore -= _root.pointloss; } if (_root.player1energy < _root.energyloss) { _root.player1energy = 0; } else { _root.player1energy -= _root.energyloss; } _root.combocount = 1; _root.lastskill = 'none'; _root.justhit = true; _parent.pico1.gotoAndStop('hit'); _parent.pico2.gotoAndStop('hit'); _parent.pico3.gotoAndStop('hit'); _parent.pico4.gotoAndStop('hit'); _parent.pico5.gotoAndStop('hit'); _parent.pico6.gotoAndStop('hit'); _parent.pico7.gotoAndStop('hit'); _parent.pico8.gotoAndStop('hit'); _parent.portalbot1.gotoAndStop('hit'); _parent.portalbot2.gotoAndStop('hit'); _parent.portalbot3.gotoAndStop('hit'); _parent.portalbot4.gotoAndStop('hit'); _parent.portalbot5.gotoAndStop('hit'); _parent.portalbot6.gotoAndStop('hit'); _parent.portalbot7.gotoAndStop('hit'); _parent.portalbot8.gotoAndStop('hit'); this.removeMovieClip(); } if (this._name != 'paint_row7_') { this._x += _root.MoveSpeed; if (this.hitTest(_parent.killzone)) { this.removeMovieClip(); } } else { this._alpha = 100; } } } instance paint_row8_ of movieClip 517 { onClipEvent (load) { this._x = 602.7000000000001; } onClipEvent (enterFrame) { if (_root.greset == true) { this.removeMovieClip(); } if ((this.hitTest(_parent.pico1) || this.hitTest(_parent.pico2) || this.hitTest(_parent.pico3) || this.hitTest(_parent.pico4) || this.hitTest(_parent.pico5) || this.hitTest(_parent.pico6) || this.hitTest(_parent.pico7) || this.hitTest(_parent.pico8) || this.hitTest(_parent.portalbot1) || this.hitTest(_parent.portalbot2) || this.hitTest(_parent.portalbot3) || this.hitTest(_parent.portalbot4) || this.hitTest(_parent.portalbot5) || this.hitTest(_parent.portalbot6) || this.hitTest(_parent.portalbot7) || this.hitTest(_parent.portalbot8)) && _root.evadeattack == false) { _root.skillinprogress = true; if (_root.playerscore < _root.pointloss) { _root.playerscore = 0; } else { _root.playerscore -= _root.pointloss; } if (_root.player1energy < _root.energyloss) { _root.player1energy = 0; } else { _root.player1energy -= _root.energyloss; } _root.combocount = 1; _root.lastskill = 'none'; _root.justhit = true; _parent.pico1.gotoAndStop('hit'); _parent.pico2.gotoAndStop('hit'); _parent.pico3.gotoAndStop('hit'); _parent.pico4.gotoAndStop('hit'); _parent.pico5.gotoAndStop('hit'); _parent.pico6.gotoAndStop('hit'); _parent.pico7.gotoAndStop('hit'); _parent.pico8.gotoAndStop('hit'); _parent.portalbot1.gotoAndStop('hit'); _parent.portalbot2.gotoAndStop('hit'); _parent.portalbot3.gotoAndStop('hit'); _parent.portalbot4.gotoAndStop('hit'); _parent.portalbot5.gotoAndStop('hit'); _parent.portalbot6.gotoAndStop('hit'); _parent.portalbot7.gotoAndStop('hit'); _parent.portalbot8.gotoAndStop('hit'); this.removeMovieClip(); } if (this._name != 'paint_row8_') { this._x += _root.MoveSpeed; if (this.hitTest(_parent.killzone)) { this.removeMovieClip(); } } else { this._alpha = 100; } } } instance paint_row9_ of movieClip 517 { onClipEvent (load) { this._x = 602.7000000000001; } onClipEvent (enterFrame) { if (_root.greset == true) { this.removeMovieClip(); } if ((this.hitTest(_parent.pico1) || this.hitTest(_parent.pico2) || this.hitTest(_parent.pico3) || this.hitTest(_parent.pico4) || this.hitTest(_parent.pico5) || this.hitTest(_parent.pico6) || this.hitTest(_parent.pico7) || this.hitTest(_parent.pico8) || this.hitTest(_parent.portalbot1) || this.hitTest(_parent.portalbot2) || this.hitTest(_parent.portalbot3) || this.hitTest(_parent.portalbot4) || this.hitTest(_parent.portalbot5) || this.hitTest(_parent.portalbot6) || this.hitTest(_parent.portalbot7) || this.hitTest(_parent.portalbot8)) && _root.evadeattack == false) { _root.skillinprogress = true; if (_root.playerscore < _root.pointloss) { _root.playerscore = 0; } else { _root.playerscore -= _root.pointloss; } if (_root.player1energy < _root.energyloss) { _root.player1energy = 0; } else { _root.player1energy -= _root.energyloss; } _root.combocount = 1; _root.lastskill = 'none'; _root.justhit = true; _parent.pico1.gotoAndStop('hit'); _parent.pico2.gotoAndStop('hit'); _parent.pico3.gotoAndStop('hit'); _parent.pico4.gotoAndStop('hit'); _parent.pico5.gotoAndStop('hit'); _parent.pico6.gotoAndStop('hit'); _parent.pico7.gotoAndStop('hit'); _parent.pico8.gotoAndStop('hit'); _parent.portalbot1.gotoAndStop('hit'); _parent.portalbot2.gotoAndStop('hit'); _parent.portalbot3.gotoAndStop('hit'); _parent.portalbot4.gotoAndStop('hit'); _parent.portalbot5.gotoAndStop('hit'); _parent.portalbot6.gotoAndStop('hit'); _parent.portalbot7.gotoAndStop('hit'); _parent.portalbot8.gotoAndStop('hit'); this.removeMovieClip(); } if (this._name != 'paint_row9_') { this._x += _root.MoveSpeed; if (this.hitTest(_parent.killzone)) { this.removeMovieClip(); } } else { this._alpha = 100; } } } movieClip 519 { } movieClip 526 { } movieClip 527 { } movieClip 528 { frame 15 { _root.skillinprogress = false; _parent.gotoAndStop(1); } } movieClip 529 { frame 17 { _root.evadeattack = false; } frame 21 { _root.skillinprogress = false; _parent.gotoAndStop(1); } } movieClip 530 { frame 45 { _root.skillinprogress = false; _parent.gotoAndStop(1); } } movieClip 531 { frame 11 { _root.skillinprogress = false; _parent.gotoAndStop(1); } } movieClip 532 { frame 95 { _root.skillinprogress = false; _parent.gotoAndStop(1); } } movieClip 537 { } movieClip 538 { frame 95 { _root.skillinprogress = false; _root.evadeattack = false; _parent.gotoAndStop(1); } } movieClip 539 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } } instance pico1 of movieClip 539 { onClipEvent (load) { this._x = 278; this._y = 225; eval(this)._rotation = 90; if (_root.character != 'pico' || _root.charcolor != 1) { this.swapDepths(1); this.removeMovieClip(); } cmoveSpeed = 5; _root.player1maxenergy = 1000; _root.player1energy = _root.player1maxenergy; } onClipEvent (enterFrame) { if (_root.freezeall != true) { if (_root.playerscore > _root.maxscore) { _root.playerscore = _root.maxscore; } _root.playerscore += 1 * _root.combocount; if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.skillinprogress != true) { if (Key.isDown(39) || Key.isDown(38) || Key.isDown(37) || Key.isDown(40)) { cmoveSpeed = 6; _root.playerscore += 5 * _root.combocount; if (Key.isDown(90)) { if (_root.player1energy > 4) { _root.player1energy -= 4; cmoveSpeed = 12; this.gotoAndStop('running'); } else { cmoveSpeed = 6; _root.player1energy = 0; this.gotoAndStop('walking'); } } else { cmoveSpeed = 6; this.gotoAndStop('walking'); } } else { cmoveSpeed = 6; this.gotoAndStop('standing'); } } if (Key.isDown(39)) { _root.playermove = 'right'; if (this._x <= 515) { this._x += cmoveSpeed; } eval(this)._rotation = 90; } else { if (Key.isDown(38)) { _root.playermove = 'up'; if (this._y >= 77) { this._y -= cmoveSpeed; } eval(this)._rotation = 0; } else { if (Key.isDown(40)) { _root.playermove = 'down'; if (this._y <= 373) { this._y += cmoveSpeed; } eval(this)._rotation = 180; } else { if (Key.isDown(37)) { _root.playermove = 'left'; if (this._x >= 41) { this._x -= cmoveSpeed; } eval(this)._rotation = 270; } } } } if (Key.isDown(88) && !Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 50) { if (_root.skillinprogress == false) { _root.player1energy -= 50; this.gotoAndStop('split'); _root.skillinprogress = true; _root.playerscore += 100 * _root.combocount; if (_root.lastskill != 'split' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'split'; } } if (Key.isDown(32) && _root.player1energy >= 25) { if (_root.skillinprogress == false) { _root.player1energy -= 25; this.gotoAndStop('jump'); _root.skillinprogress = true; _root.evadeattack = true; } } if (Key.isDown(88) && Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 100) { if (_root.skillinprogress == false) { _root.player1energy -= 100; this.gotoAndStop('chicken'); _root.skillinprogress = true; _root.playerscore += 300 * _root.combocount; if (_root.lastskill != 'chicken' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'chicken'; } } if (Key.isDown(88) && Key.isDown(67) && Key.isDown(86) && _root.player1energy >= 300) { if (_root.skillinprogress == false) { _root.player1energy -= 300; this.gotoAndStop('backspin'); _root.skillinprogress = true; _root.playerscore += 1000 * _root.combocount; if (_root.lastskill != 'backspin' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'backspin'; } } if (Key.isDown(65) && Key.isDown(83) && Key.isDown(68) && _root.player1energy >= 500) { if (_root.skillinprogress == false) { _root.player1energy -= 500; this.gotoAndStop('titanspin'); _root.skillinprogress = true; _root.playerscore += 3500 * _root.combocount; _root.evadeattack = true; if (_root.lastskill != 'titanspin' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'titanspin'; } } } } } instance pico2 of movieClip 539 { onClipEvent (load) { this._x = 278; this._y = 225; eval(this)._rotation = 90; if (_root.character != 'pico' || _root.charcolor != 2) { this.swapDepths(1); this.removeMovieClip(); } cmoveSpeed = 5; _root.player1maxenergy = 1000; _root.player1energy = _root.player1maxenergy; } onClipEvent (enterFrame) { if (_root.freezeall != true) { if (_root.playerscore > _root.maxscore) { _root.playerscore = _root.maxscore; } _root.playerscore += 1 * _root.combocount; if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.skillinprogress != true) { if (Key.isDown(39) || Key.isDown(38) || Key.isDown(37) || Key.isDown(40)) { cmoveSpeed = 6; _root.playerscore += 5 * _root.combocount; if (Key.isDown(90)) { if (_root.player1energy > 4) { _root.player1energy -= 4; cmoveSpeed = 12; this.gotoAndStop('running'); } else { cmoveSpeed = 6; _root.player1energy = 0; this.gotoAndStop('walking'); } } else { cmoveSpeed = 6; this.gotoAndStop('walking'); } } else { cmoveSpeed = 6; this.gotoAndStop('standing'); } } if (Key.isDown(39)) { _root.playermove = 'right'; if (this._x <= 515) { this._x += cmoveSpeed; } eval(this)._rotation = 90; } else { if (Key.isDown(38)) { _root.playermove = 'up'; if (this._y >= 77) { this._y -= cmoveSpeed; } eval(this)._rotation = 0; } else { if (Key.isDown(40)) { _root.playermove = 'down'; if (this._y <= 373) { this._y += cmoveSpeed; } eval(this)._rotation = 180; } else { if (Key.isDown(37)) { _root.playermove = 'left'; if (this._x >= 41) { this._x -= cmoveSpeed; } eval(this)._rotation = 270; } } } } if (Key.isDown(88) && !Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 50) { if (_root.skillinprogress == false) { _root.player1energy -= 50; this.gotoAndStop('split'); _root.skillinprogress = true; _root.playerscore += 100 * _root.combocount; if (_root.lastskill != 'split' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'split'; } } if (Key.isDown(32) && _root.player1energy >= 25) { if (_root.skillinprogress == false) { _root.player1energy -= 25; this.gotoAndStop('jump'); _root.skillinprogress = true; _root.evadeattack = true; } } if (Key.isDown(88) && Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 100) { if (_root.skillinprogress == false) { _root.player1energy -= 100; this.gotoAndStop('chicken'); _root.skillinprogress = true; _root.playerscore += 300 * _root.combocount; if (_root.lastskill != 'chicken' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'chicken'; } } if (Key.isDown(88) && Key.isDown(67) && Key.isDown(86) && _root.player1energy >= 300) { if (_root.skillinprogress == false) { _root.player1energy -= 300; this.gotoAndStop('backspin'); _root.skillinprogress = true; _root.playerscore += 1000 * _root.combocount; if (_root.lastskill != 'backspin' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'backspin'; } } if (Key.isDown(65) && Key.isDown(83) && Key.isDown(68) && _root.player1energy >= 500) { if (_root.skillinprogress == false) { _root.player1energy -= 500; this.gotoAndStop('titanspin'); _root.skillinprogress = true; _root.playerscore += 3500 * _root.combocount; _root.evadeattack = true; if (_root.lastskill != 'titanspin' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'titanspin'; } } } } } instance pico4 of movieClip 539 { onClipEvent (load) { this._x = 278; this._y = 225; eval(this)._rotation = 90; if (_root.character != 'pico' || _root.charcolor != 4) { this.swapDepths(1); this.removeMovieClip(); } cmoveSpeed = 5; _root.player1maxenergy = 1000; _root.player1energy = _root.player1maxenergy; } onClipEvent (enterFrame) { if (_root.freezeall != true) { if (_root.playerscore > _root.maxscore) { _root.playerscore = _root.maxscore; } _root.playerscore += 1 * _root.combocount; if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.skillinprogress != true) { if (Key.isDown(39) || Key.isDown(38) || Key.isDown(37) || Key.isDown(40)) { cmoveSpeed = 6; _root.playerscore += 5 * _root.combocount; if (Key.isDown(90)) { if (_root.player1energy > 4) { _root.player1energy -= 4; cmoveSpeed = 12; this.gotoAndStop('running'); } else { cmoveSpeed = 6; _root.player1energy = 0; this.gotoAndStop('walking'); } } else { cmoveSpeed = 6; this.gotoAndStop('walking'); } } else { cmoveSpeed = 6; this.gotoAndStop('standing'); } } if (Key.isDown(39)) { _root.playermove = 'right'; if (this._x <= 515) { this._x += cmoveSpeed; } eval(this)._rotation = 90; } else { if (Key.isDown(38)) { _root.playermove = 'up'; if (this._y >= 77) { this._y -= cmoveSpeed; } eval(this)._rotation = 0; } else { if (Key.isDown(40)) { _root.playermove = 'down'; if (this._y <= 373) { this._y += cmoveSpeed; } eval(this)._rotation = 180; } else { if (Key.isDown(37)) { _root.playermove = 'left'; if (this._x >= 41) { this._x -= cmoveSpeed; } eval(this)._rotation = 270; } } } } if (Key.isDown(88) && !Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 50) { if (_root.skillinprogress == false) { _root.player1energy -= 50; this.gotoAndStop('split'); _root.skillinprogress = true; _root.playerscore += 100 * _root.combocount; if (_root.lastskill != 'split' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'split'; } } if (Key.isDown(32) && _root.player1energy >= 25) { if (_root.skillinprogress == false) { _root.player1energy -= 25; this.gotoAndStop('jump'); _root.skillinprogress = true; _root.evadeattack = true; } } if (Key.isDown(88) && Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 100) { if (_root.skillinprogress == false) { _root.player1energy -= 100; this.gotoAndStop('chicken'); _root.skillinprogress = true; _root.playerscore += 300 * _root.combocount; if (_root.lastskill != 'chicken' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'chicken'; } } if (Key.isDown(88) && Key.isDown(67) && Key.isDown(86) && _root.player1energy >= 300) { if (_root.skillinprogress == false) { _root.player1energy -= 300; this.gotoAndStop('backspin'); _root.skillinprogress = true; _root.playerscore += 1000 * _root.combocount; if (_root.lastskill != 'backspin' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'backspin'; } } if (Key.isDown(65) && Key.isDown(83) && Key.isDown(68) && _root.player1energy >= 500) { if (_root.skillinprogress == false) { _root.player1energy -= 500; this.gotoAndStop('titanspin'); _root.skillinprogress = true; _root.playerscore += 3500 * _root.combocount; _root.evadeattack = true; if (_root.lastskill != 'titanspin' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'titanspin'; } } } } } instance pico6 of movieClip 539 { onClipEvent (load) { this._x = 278; this._y = 225; eval(this)._rotation = 90; if (_root.character != 'pico' || _root.charcolor != 6) { this.swapDepths(1); this.removeMovieClip(); } cmoveSpeed = 5; _root.player1maxenergy = 1000; _root.player1energy = _root.player1maxenergy; } onClipEvent (enterFrame) { if (_root.freezeall != true) { if (_root.playerscore > _root.maxscore) { _root.playerscore = _root.maxscore; } _root.playerscore += 1 * _root.combocount; if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.skillinprogress != true) { if (Key.isDown(39) || Key.isDown(38) || Key.isDown(37) || Key.isDown(40)) { cmoveSpeed = 6; _root.playerscore += 5 * _root.combocount; if (Key.isDown(90)) { if (_root.player1energy > 4) { _root.player1energy -= 4; cmoveSpeed = 12; this.gotoAndStop('running'); } else { cmoveSpeed = 6; _root.player1energy = 0; this.gotoAndStop('walking'); } } else { cmoveSpeed = 6; this.gotoAndStop('walking'); } } else { cmoveSpeed = 6; this.gotoAndStop('standing'); } } if (Key.isDown(39)) { _root.playermove = 'right'; if (this._x <= 515) { this._x += cmoveSpeed; } eval(this)._rotation = 90; } else { if (Key.isDown(38)) { _root.playermove = 'up'; if (this._y >= 77) { this._y -= cmoveSpeed; } eval(this)._rotation = 0; } else { if (Key.isDown(40)) { _root.playermove = 'down'; if (this._y <= 373) { this._y += cmoveSpeed; } eval(this)._rotation = 180; } else { if (Key.isDown(37)) { _root.playermove = 'left'; if (this._x >= 41) { this._x -= cmoveSpeed; } eval(this)._rotation = 270; } } } } if (Key.isDown(88) && !Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 50) { if (_root.skillinprogress == false) { _root.player1energy -= 50; this.gotoAndStop('split'); _root.skillinprogress = true; _root.playerscore += 100 * _root.combocount; if (_root.lastskill != 'split' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'split'; } } if (Key.isDown(32) && _root.player1energy >= 25) { if (_root.skillinprogress == false) { _root.player1energy -= 25; this.gotoAndStop('jump'); _root.skillinprogress = true; _root.evadeattack = true; } } if (Key.isDown(88) && Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 100) { if (_root.skillinprogress == false) { _root.player1energy -= 100; this.gotoAndStop('chicken'); _root.skillinprogress = true; _root.playerscore += 300 * _root.combocount; if (_root.lastskill != 'chicken' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'chicken'; } } if (Key.isDown(88) && Key.isDown(67) && Key.isDown(86) && _root.player1energy >= 300) { if (_root.skillinprogress == false) { _root.player1energy -= 300; this.gotoAndStop('backspin'); _root.skillinprogress = true; _root.playerscore += 1000 * _root.combocount; if (_root.lastskill != 'backspin' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'backspin'; } } if (Key.isDown(65) && Key.isDown(83) && Key.isDown(68) && _root.player1energy >= 500) { if (_root.skillinprogress == false) { _root.player1energy -= 500; this.gotoAndStop('titanspin'); _root.skillinprogress = true; _root.playerscore += 3500 * _root.combocount; _root.evadeattack = true; if (_root.lastskill != 'titanspin' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'titanspin'; } } } } } instance pico7 of movieClip 539 { onClipEvent (load) { this._x = 278; this._y = 225; eval(this)._rotation = 90; if (_root.character != 'pico' || _root.charcolor != 7) { this.swapDepths(1); this.removeMovieClip(); } cmoveSpeed = 5; _root.player1maxenergy = 1000; _root.player1energy = _root.player1maxenergy; } onClipEvent (enterFrame) { if (_root.freezeall != true) { if (_root.playerscore > _root.maxscore) { _root.playerscore = _root.maxscore; } _root.playerscore += 1 * _root.combocount; if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.skillinprogress != true) { if (Key.isDown(39) || Key.isDown(38) || Key.isDown(37) || Key.isDown(40)) { cmoveSpeed = 6; _root.playerscore += 5 * _root.combocount; if (Key.isDown(90)) { if (_root.player1energy > 4) { _root.player1energy -= 4; cmoveSpeed = 12; this.gotoAndStop('running'); } else { cmoveSpeed = 6; _root.player1energy = 0; this.gotoAndStop('walking'); } } else { cmoveSpeed = 6; this.gotoAndStop('walking'); } } else { cmoveSpeed = 6; this.gotoAndStop('standing'); } } if (Key.isDown(39)) { _root.playermove = 'right'; if (this._x <= 515) { this._x += cmoveSpeed; } eval(this)._rotation = 90; } else { if (Key.isDown(38)) { _root.playermove = 'up'; if (this._y >= 77) { this._y -= cmoveSpeed; } eval(this)._rotation = 0; } else { if (Key.isDown(40)) { _root.playermove = 'down'; if (this._y <= 373) { this._y += cmoveSpeed; } eval(this)._rotation = 180; } else { if (Key.isDown(37)) { _root.playermove = 'left'; if (this._x >= 41) { this._x -= cmoveSpeed; } eval(this)._rotation = 270; } } } } if (Key.isDown(88) && !Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 50) { if (_root.skillinprogress == false) { _root.player1energy -= 50; this.gotoAndStop('split'); _root.skillinprogress = true; _root.playerscore += 100 * _root.combocount; if (_root.lastskill != 'split' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'split'; } } if (Key.isDown(32) && _root.player1energy >= 25) { if (_root.skillinprogress == false) { _root.player1energy -= 25; this.gotoAndStop('jump'); _root.skillinprogress = true; _root.evadeattack = true; } } if (Key.isDown(88) && Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 100) { if (_root.skillinprogress == false) { _root.player1energy -= 100; this.gotoAndStop('chicken'); _root.skillinprogress = true; _root.playerscore += 300 * _root.combocount; if (_root.lastskill != 'chicken' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'chicken'; } } if (Key.isDown(88) && Key.isDown(67) && Key.isDown(86) && _root.player1energy >= 300) { if (_root.skillinprogress == false) { _root.player1energy -= 300; this.gotoAndStop('backspin'); _root.skillinprogress = true; _root.playerscore += 1000 * _root.combocount; if (_root.lastskill != 'backspin' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'backspin'; } } if (Key.isDown(65) && Key.isDown(83) && Key.isDown(68) && _root.player1energy >= 500) { if (_root.skillinprogress == false) { _root.player1energy -= 500; this.gotoAndStop('titanspin'); _root.skillinprogress = true; _root.playerscore += 3500 * _root.combocount; _root.evadeattack = true; if (_root.lastskill != 'titanspin' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'titanspin'; } } } } } instance pico8 of movieClip 539 { onClipEvent (load) { this._x = 278; this._y = 225; eval(this)._rotation = 90; if (_root.character != 'pico' || _root.charcolor != 8) { this.swapDepths(1); this.removeMovieClip(); } cmoveSpeed = 5; _root.player1maxenergy = 1000; _root.player1energy = _root.player1maxenergy; } onClipEvent (enterFrame) { if (_root.freezeall != true) { if (_root.playerscore > _root.maxscore) { _root.playerscore = _root.maxscore; } _root.playerscore += 1 * _root.combocount; if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.skillinprogress != true) { if (Key.isDown(39) || Key.isDown(38) || Key.isDown(37) || Key.isDown(40)) { cmoveSpeed = 6; _root.playerscore += 5 * _root.combocount; if (Key.isDown(90)) { if (_root.player1energy > 4) { _root.player1energy -= 4; cmoveSpeed = 12; this.gotoAndStop('running'); } else { cmoveSpeed = 6; _root.player1energy = 0; this.gotoAndStop('walking'); } } else { cmoveSpeed = 6; this.gotoAndStop('walking'); } } else { cmoveSpeed = 6; this.gotoAndStop('standing'); } } if (Key.isDown(39)) { _root.playermove = 'right'; if (this._x <= 515) { this._x += cmoveSpeed; } eval(this)._rotation = 90; } else { if (Key.isDown(38)) { _root.playermove = 'up'; if (this._y >= 77) { this._y -= cmoveSpeed; } eval(this)._rotation = 0; } else { if (Key.isDown(40)) { _root.playermove = 'down'; if (this._y <= 373) { this._y += cmoveSpeed; } eval(this)._rotation = 180; } else { if (Key.isDown(37)) { _root.playermove = 'left'; if (this._x >= 41) { this._x -= cmoveSpeed; } eval(this)._rotation = 270; } } } } if (Key.isDown(88) && !Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 50) { if (_root.skillinprogress == false) { _root.player1energy -= 50; this.gotoAndStop('split'); _root.skillinprogress = true; _root.playerscore += 100 * _root.combocount; if (_root.lastskill != 'split' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'split'; } } if (Key.isDown(32) && _root.player1energy >= 25) { if (_root.skillinprogress == false) { _root.player1energy -= 25; this.gotoAndStop('jump'); _root.skillinprogress = true; _root.evadeattack = true; } } if (Key.isDown(88) && Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 100) { if (_root.skillinprogress == false) { _root.player1energy -= 100; this.gotoAndStop('chicken'); _root.skillinprogress = true; _root.playerscore += 300 * _root.combocount; if (_root.lastskill != 'chicken' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'chicken'; } } if (Key.isDown(88) && Key.isDown(67) && Key.isDown(86) && _root.player1energy >= 300) { if (_root.skillinprogress == false) { _root.player1energy -= 300; this.gotoAndStop('backspin'); _root.skillinprogress = true; _root.playerscore += 1000 * _root.combocount; if (_root.lastskill != 'backspin' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'backspin'; } } if (Key.isDown(65) && Key.isDown(83) && Key.isDown(68) && _root.player1energy >= 500) { if (_root.skillinprogress == false) { _root.player1energy -= 500; this.gotoAndStop('titanspin'); _root.skillinprogress = true; _root.playerscore += 3500 * _root.combocount; _root.evadeattack = true; if (_root.lastskill != 'titanspin' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'titanspin'; } } } } } movieClip 546 { } movieClip 547 { } movieClip 550 { } movieClip 552 { frame 59 { _root.nomove = true; } frame 70 { _root.nomove = false; _root.hovering = false; _root.evadeattack = false; _root.skillinprogress = false; _parent.gotoAndStop(1); } } movieClip 553 { frame 65 { _root.skillinprogress = false; _root.doSkill = false; _parent.gotoAndStop(1); } } movieClip 554 { frame 25 { _root.skillinprogress = false; _root.doSkill = false; _parent.gotoAndStop(1); } } movieClip 555 { frame 38 { _root.skillinprogress = false; _root.doSkill = false; _parent.gotoAndStop(1); } } movieClip 556 { frame 52 { _root.nomove = true; } frame 66 { _root.skillinprogress = false; _root.evadeattack = false; _root.doSkill = false; _root.nomove = false; _parent.gotoAndStop(1); } } movieClip 557 { frame 11 { _root.skillinprogress = false; _root.evadeattack = false; _root.doSkill = false; _root.justhit = false; _parent.gotoAndStop(1); } } movieClip 558 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } } instance portalbot1 of movieClip 558 { onClipEvent (load) { this._x = 278; this._y = 225; eval(this)._rotation = 90; if (_root.character != 'portalbot' || _root.charcolor2 != 1) { this.swapDepths(1); this.removeMovieClip(); } cmoveSpeed = 4; _root.player1maxenergy = 1000; _root.player1energy = _root.player1maxenergy; } onClipEvent (enterFrame) { if (_root.freezeall != true) { if (_root.playerscore > _root.maxscore) { _root.playerscore = _root.maxscore; } _root.playerscore += 1 * _root.combocount; if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.nomove == false) { if (_root.skillinprogress != true) { if (Key.isDown(39) || Key.isDown(38) || Key.isDown(37) || Key.isDown(40)) { cmoveSpeed = 4; _root.playerscore += 5 * _root.combocount; if (Key.isDown(90)) { if (_root.player1energy > 4) { _root.player1energy -= 4; cmoveSpeed = 8; this.gotoAndStop('running'); } else { cmoveSpeed = 4; _root.player1energy = 0; this.gotoAndStop('walking'); } } else { cmoveSpeed = 4; this.gotoAndStop('walking'); } } else { cmoveSpeed = 4; this.gotoAndStop('standing'); } } if (Key.isDown(39)) { _root.playermove = 'right'; if (this._x <= 510) { this._x += cmoveSpeed; } eval(this)._rotation = 90; } else { if (Key.isDown(38)) { _root.playermove = 'up'; if (this._y >= 74) { this._y -= cmoveSpeed; } eval(this)._rotation = 0; } else { if (Key.isDown(40)) { _root.playermove = 'down'; if (this._y <= 372) { this._y += cmoveSpeed; } eval(this)._rotation = 180; } else { if (Key.isDown(37)) { _root.playermove = 'left'; if (this._x >= 49) { this._x -= cmoveSpeed; } eval(this)._rotation = 270; } } } } } if (Key.isDown(32) && _root.player1energy >= 10 && _root.doSkill == false) { _root.hovering = true; if (_root.player1energy <= 6) { _root.evadeattack = false; _root.skillinprogress = false; this.gotoAndStop(1); } else { _root.player1energy -= 6; if (_root.skillinprogress == false) { this.gotoAndStop('hover'); _root.skillinprogress = true; _root.evadeattack = true; } } } if (!Key.isDown(32) && _root.hovering == true) { _root.hovering = false; _root.evadeattack = false; _root.skillinprogress = false; _root.nomove = false; this.gotoAndStop(1); } if (_root.hovering == false && Key.isDown(88) && Key.isDown(67) && Key.isDown(86) && _root.player1energy >= 250) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 250; this.gotoAndStop('spinout'); _root.skillinprogress = true; _root.playerscore += 1250 * _root.combocount; if (_root.lastskill != 'spinout' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'spinout'; } } if (_root.hovering == false && Key.isDown(88) && !Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 30) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 30; this.gotoAndStop('therobot'); _root.skillinprogress = true; _root.playerscore += 120 * _root.combocount; if (_root.lastskill != 'therobot' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'therobot'; } } if (_root.hovering == false && Key.isDown(88) && Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 80) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 80; this.gotoAndStop('malfunction'); _root.skillinprogress = true; _root.playerscore += 350 * _root.combocount; if (_root.lastskill != 'malfunction' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'malfunction'; } } if (_root.hovering == false && Key.isDown(65) && Key.isDown(83) && Key.isDown(68) && _root.player1energy >= 400) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 400; this.gotoAndStop('hyperjump'); _root.skillinprogress = true; _root.playerscore += 4000 * _root.combocount; _root.evadeattack = true; if (_root.lastskill != 'hyperjump' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'hyperjump'; } } } } } instance portalbot2 of movieClip 558 { onClipEvent (load) { this._x = 278; this._y = 225; eval(this)._rotation = 90; if (_root.character != 'portalbot' || _root.charcolor2 != 2) { this.swapDepths(1); this.removeMovieClip(); } cmoveSpeed = 4; _root.player1maxenergy = 1000; _root.player1energy = _root.player1maxenergy; } onClipEvent (enterFrame) { if (_root.freezeall != true) { if (_root.playerscore > _root.maxscore) { _root.playerscore = _root.maxscore; } _root.playerscore += 1 * _root.combocount; if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.nomove == false) { if (_root.skillinprogress != true) { if (Key.isDown(39) || Key.isDown(38) || Key.isDown(37) || Key.isDown(40)) { cmoveSpeed = 4; _root.playerscore += 5 * _root.combocount; if (Key.isDown(90)) { if (_root.player1energy > 4) { _root.player1energy -= 4; cmoveSpeed = 8; this.gotoAndStop('running'); } else { cmoveSpeed = 4; _root.player1energy = 0; this.gotoAndStop('walking'); } } else { cmoveSpeed = 4; this.gotoAndStop('walking'); } } else { cmoveSpeed = 4; this.gotoAndStop('standing'); } } if (Key.isDown(39)) { _root.playermove = 'right'; if (this._x <= 510) { this._x += cmoveSpeed; } eval(this)._rotation = 90; } else { if (Key.isDown(38)) { _root.playermove = 'up'; if (this._y >= 74) { this._y -= cmoveSpeed; } eval(this)._rotation = 0; } else { if (Key.isDown(40)) { _root.playermove = 'down'; if (this._y <= 372) { this._y += cmoveSpeed; } eval(this)._rotation = 180; } else { if (Key.isDown(37)) { _root.playermove = 'left'; if (this._x >= 49) { this._x -= cmoveSpeed; } eval(this)._rotation = 270; } } } } } if (Key.isDown(32) && _root.player1energy >= 10 && _root.doSkill == false) { _root.hovering = true; if (_root.player1energy <= 6) { _root.evadeattack = false; _root.skillinprogress = false; this.gotoAndStop(1); } else { _root.player1energy -= 6; if (_root.skillinprogress == false) { this.gotoAndStop('hover'); _root.skillinprogress = true; _root.evadeattack = true; } } } if (!Key.isDown(32) && _root.hovering == true) { _root.hovering = false; _root.evadeattack = false; _root.skillinprogress = false; _root.nomove = false; this.gotoAndStop(1); } if (_root.hovering == false && Key.isDown(88) && Key.isDown(67) && Key.isDown(86) && _root.player1energy >= 250) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 250; this.gotoAndStop('spinout'); _root.skillinprogress = true; _root.playerscore += 1250 * _root.combocount; if (_root.lastskill != 'spinout' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'spinout'; } } if (_root.hovering == false && Key.isDown(88) && !Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 30) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 30; this.gotoAndStop('therobot'); _root.skillinprogress = true; _root.playerscore += 120 * _root.combocount; if (_root.lastskill != 'therobot' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'therobot'; } } if (_root.hovering == false && Key.isDown(88) && Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 80) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 80; this.gotoAndStop('malfunction'); _root.skillinprogress = true; _root.playerscore += 350 * _root.combocount; if (_root.lastskill != 'malfunction' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'malfunction'; } } if (_root.hovering == false && Key.isDown(65) && Key.isDown(83) && Key.isDown(68) && _root.player1energy >= 400) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 400; this.gotoAndStop('hyperjump'); _root.skillinprogress = true; _root.playerscore += 4000 * _root.combocount; _root.evadeattack = true; if (_root.lastskill != 'hyperjump' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'hyperjump'; } } } } } instance portalbot3 of movieClip 558 { onClipEvent (load) { this._x = 278; this._y = 225; eval(this)._rotation = 90; if (_root.character != 'portalbot' || _root.charcolor2 != 3) { this.swapDepths(1); this.removeMovieClip(); } cmoveSpeed = 4; _root.player1maxenergy = 1000; _root.player1energy = _root.player1maxenergy; } onClipEvent (enterFrame) { if (_root.freezeall != true) { if (_root.playerscore > _root.maxscore) { _root.playerscore = _root.maxscore; } _root.playerscore += 1 * _root.combocount; if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.nomove == false) { if (_root.skillinprogress != true) { if (Key.isDown(39) || Key.isDown(38) || Key.isDown(37) || Key.isDown(40)) { cmoveSpeed = 4; _root.playerscore += 5 * _root.combocount; if (Key.isDown(90)) { if (_root.player1energy > 4) { _root.player1energy -= 4; cmoveSpeed = 8; this.gotoAndStop('running'); } else { cmoveSpeed = 4; _root.player1energy = 0; this.gotoAndStop('walking'); } } else { cmoveSpeed = 4; this.gotoAndStop('walking'); } } else { cmoveSpeed = 4; this.gotoAndStop('standing'); } } if (Key.isDown(39)) { _root.playermove = 'right'; if (this._x <= 510) { this._x += cmoveSpeed; } eval(this)._rotation = 90; } else { if (Key.isDown(38)) { _root.playermove = 'up'; if (this._y >= 74) { this._y -= cmoveSpeed; } eval(this)._rotation = 0; } else { if (Key.isDown(40)) { _root.playermove = 'down'; if (this._y <= 372) { this._y += cmoveSpeed; } eval(this)._rotation = 180; } else { if (Key.isDown(37)) { _root.playermove = 'left'; if (this._x >= 49) { this._x -= cmoveSpeed; } eval(this)._rotation = 270; } } } } } if (Key.isDown(32) && _root.player1energy >= 10 && _root.doSkill == false) { _root.hovering = true; if (_root.player1energy <= 6) { _root.evadeattack = false; _root.skillinprogress = false; this.gotoAndStop(1); } else { _root.player1energy -= 6; if (_root.skillinprogress == false) { this.gotoAndStop('hover'); _root.skillinprogress = true; _root.evadeattack = true; } } } if (!Key.isDown(32) && _root.hovering == true) { _root.hovering = false; _root.evadeattack = false; _root.skillinprogress = false; _root.nomove = false; this.gotoAndStop(1); } if (_root.hovering == false && Key.isDown(88) && Key.isDown(67) && Key.isDown(86) && _root.player1energy >= 250) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 250; this.gotoAndStop('spinout'); _root.skillinprogress = true; _root.playerscore += 1250 * _root.combocount; if (_root.lastskill != 'spinout' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'spinout'; } } if (_root.hovering == false && Key.isDown(88) && !Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 30) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 30; this.gotoAndStop('therobot'); _root.skillinprogress = true; _root.playerscore += 120 * _root.combocount; if (_root.lastskill != 'therobot' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'therobot'; } } if (_root.hovering == false && Key.isDown(88) && Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 80) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 80; this.gotoAndStop('malfunction'); _root.skillinprogress = true; _root.playerscore += 350 * _root.combocount; if (_root.lastskill != 'malfunction' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'malfunction'; } } if (_root.hovering == false && Key.isDown(65) && Key.isDown(83) && Key.isDown(68) && _root.player1energy >= 400) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 400; this.gotoAndStop('hyperjump'); _root.skillinprogress = true; _root.playerscore += 4000 * _root.combocount; _root.evadeattack = true; if (_root.lastskill != 'hyperjump' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'hyperjump'; } } } } } instance portalbot4 of movieClip 558 { onClipEvent (load) { this._x = 278; this._y = 225; eval(this)._rotation = 90; if (_root.character != 'portalbot' || _root.charcolor2 != 4) { this.swapDepths(1); this.removeMovieClip(); } cmoveSpeed = 4; _root.player1maxenergy = 1000; _root.player1energy = _root.player1maxenergy; } onClipEvent (enterFrame) { if (_root.freezeall != true) { if (_root.playerscore > _root.maxscore) { _root.playerscore = _root.maxscore; } _root.playerscore += 1 * _root.combocount; if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.nomove == false) { if (_root.skillinprogress != true) { if (Key.isDown(39) || Key.isDown(38) || Key.isDown(37) || Key.isDown(40)) { cmoveSpeed = 4; _root.playerscore += 5 * _root.combocount; if (Key.isDown(90)) { if (_root.player1energy > 4) { _root.player1energy -= 4; cmoveSpeed = 8; this.gotoAndStop('running'); } else { cmoveSpeed = 4; _root.player1energy = 0; this.gotoAndStop('walking'); } } else { cmoveSpeed = 4; this.gotoAndStop('walking'); } } else { cmoveSpeed = 4; this.gotoAndStop('standing'); } } if (Key.isDown(39)) { _root.playermove = 'right'; if (this._x <= 510) { this._x += cmoveSpeed; } eval(this)._rotation = 90; } else { if (Key.isDown(38)) { _root.playermove = 'up'; if (this._y >= 74) { this._y -= cmoveSpeed; } eval(this)._rotation = 0; } else { if (Key.isDown(40)) { _root.playermove = 'down'; if (this._y <= 372) { this._y += cmoveSpeed; } eval(this)._rotation = 180; } else { if (Key.isDown(37)) { _root.playermove = 'left'; if (this._x >= 49) { this._x -= cmoveSpeed; } eval(this)._rotation = 270; } } } } } if (Key.isDown(32) && _root.player1energy >= 10 && _root.doSkill == false) { _root.hovering = true; if (_root.player1energy <= 6) { _root.evadeattack = false; _root.skillinprogress = false; this.gotoAndStop(1); } else { _root.player1energy -= 6; if (_root.skillinprogress == false) { this.gotoAndStop('hover'); _root.skillinprogress = true; _root.evadeattack = true; } } } if (!Key.isDown(32) && _root.hovering == true) { _root.hovering = false; _root.evadeattack = false; _root.skillinprogress = false; _root.nomove = false; this.gotoAndStop(1); } if (_root.hovering == false && Key.isDown(88) && Key.isDown(67) && Key.isDown(86) && _root.player1energy >= 250) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 250; this.gotoAndStop('spinout'); _root.skillinprogress = true; _root.playerscore += 1250 * _root.combocount; if (_root.lastskill != 'spinout' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'spinout'; } } if (_root.hovering == false && Key.isDown(88) && !Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 30) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 30; this.gotoAndStop('therobot'); _root.skillinprogress = true; _root.playerscore += 120 * _root.combocount; if (_root.lastskill != 'therobot' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'therobot'; } } if (_root.hovering == false && Key.isDown(88) && Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 80) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 80; this.gotoAndStop('malfunction'); _root.skillinprogress = true; _root.playerscore += 350 * _root.combocount; if (_root.lastskill != 'malfunction' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'malfunction'; } } if (_root.hovering == false && Key.isDown(65) && Key.isDown(83) && Key.isDown(68) && _root.player1energy >= 400) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 400; this.gotoAndStop('hyperjump'); _root.skillinprogress = true; _root.playerscore += 4000 * _root.combocount; _root.evadeattack = true; if (_root.lastskill != 'hyperjump' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'hyperjump'; } } } } } instance portalbot5 of movieClip 558 { onClipEvent (load) { this._x = 278; this._y = 225; eval(this)._rotation = 90; if (_root.character != 'portalbot' || _root.charcolor2 != 5) { this.swapDepths(1); this.removeMovieClip(); } cmoveSpeed = 4; _root.player1maxenergy = 1000; _root.player1energy = _root.player1maxenergy; } onClipEvent (enterFrame) { if (_root.freezeall != true) { if (_root.playerscore > _root.maxscore) { _root.playerscore = _root.maxscore; } _root.playerscore += 1 * _root.combocount; if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.nomove == false) { if (_root.skillinprogress != true) { if (Key.isDown(39) || Key.isDown(38) || Key.isDown(37) || Key.isDown(40)) { cmoveSpeed = 4; _root.playerscore += 5 * _root.combocount; if (Key.isDown(90)) { if (_root.player1energy > 4) { _root.player1energy -= 4; cmoveSpeed = 8; this.gotoAndStop('running'); } else { cmoveSpeed = 4; _root.player1energy = 0; this.gotoAndStop('walking'); } } else { cmoveSpeed = 4; this.gotoAndStop('walking'); } } else { cmoveSpeed = 4; this.gotoAndStop('standing'); } } if (Key.isDown(39)) { _root.playermove = 'right'; if (this._x <= 510) { this._x += cmoveSpeed; } eval(this)._rotation = 90; } else { if (Key.isDown(38)) { _root.playermove = 'up'; if (this._y >= 74) { this._y -= cmoveSpeed; } eval(this)._rotation = 0; } else { if (Key.isDown(40)) { _root.playermove = 'down'; if (this._y <= 372) { this._y += cmoveSpeed; } eval(this)._rotation = 180; } else { if (Key.isDown(37)) { _root.playermove = 'left'; if (this._x >= 49) { this._x -= cmoveSpeed; } eval(this)._rotation = 270; } } } } } if (Key.isDown(32) && _root.player1energy >= 10 && _root.doSkill == false) { _root.hovering = true; if (_root.player1energy <= 6) { _root.evadeattack = false; _root.skillinprogress = false; this.gotoAndStop(1); } else { _root.player1energy -= 6; if (_root.skillinprogress == false) { this.gotoAndStop('hover'); _root.skillinprogress = true; _root.evadeattack = true; } } } if (!Key.isDown(32) && _root.hovering == true) { _root.hovering = false; _root.evadeattack = false; _root.skillinprogress = false; _root.nomove = false; this.gotoAndStop(1); } if (_root.hovering == false && Key.isDown(88) && Key.isDown(67) && Key.isDown(86) && _root.player1energy >= 250) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 250; this.gotoAndStop('spinout'); _root.skillinprogress = true; _root.playerscore += 1250 * _root.combocount; if (_root.lastskill != 'spinout' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'spinout'; } } if (_root.hovering == false && Key.isDown(88) && !Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 30) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 30; this.gotoAndStop('therobot'); _root.skillinprogress = true; _root.playerscore += 120 * _root.combocount; if (_root.lastskill != 'therobot' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'therobot'; } } if (_root.hovering == false && Key.isDown(88) && Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 80) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 80; this.gotoAndStop('malfunction'); _root.skillinprogress = true; _root.playerscore += 350 * _root.combocount; if (_root.lastskill != 'malfunction' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'malfunction'; } } if (_root.hovering == false && Key.isDown(65) && Key.isDown(83) && Key.isDown(68) && _root.player1energy >= 400) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 400; this.gotoAndStop('hyperjump'); _root.skillinprogress = true; _root.playerscore += 4000 * _root.combocount; _root.evadeattack = true; if (_root.lastskill != 'hyperjump' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'hyperjump'; } } } } } instance portalbot6 of movieClip 558 { onClipEvent (load) { this._x = 278; this._y = 225; eval(this)._rotation = 90; if (_root.character != 'portalbot' || _root.charcolor2 != 6) { this.swapDepths(1); this.removeMovieClip(); } cmoveSpeed = 4; _root.player1maxenergy = 1000; _root.player1energy = _root.player1maxenergy; } onClipEvent (enterFrame) { if (_root.freezeall != true) { if (_root.playerscore > _root.maxscore) { _root.playerscore = _root.maxscore; } _root.playerscore += 1 * _root.combocount; if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.nomove == false) { if (_root.skillinprogress != true) { if (Key.isDown(39) || Key.isDown(38) || Key.isDown(37) || Key.isDown(40)) { cmoveSpeed = 4; _root.playerscore += 5 * _root.combocount; if (Key.isDown(90)) { if (_root.player1energy > 4) { _root.player1energy -= 4; cmoveSpeed = 8; this.gotoAndStop('running'); } else { cmoveSpeed = 4; _root.player1energy = 0; this.gotoAndStop('walking'); } } else { cmoveSpeed = 4; this.gotoAndStop('walking'); } } else { cmoveSpeed = 4; this.gotoAndStop('standing'); } } if (Key.isDown(39)) { _root.playermove = 'right'; if (this._x <= 510) { this._x += cmoveSpeed; } eval(this)._rotation = 90; } else { if (Key.isDown(38)) { _root.playermove = 'up'; if (this._y >= 74) { this._y -= cmoveSpeed; } eval(this)._rotation = 0; } else { if (Key.isDown(40)) { _root.playermove = 'down'; if (this._y <= 372) { this._y += cmoveSpeed; } eval(this)._rotation = 180; } else { if (Key.isDown(37)) { _root.playermove = 'left'; if (this._x >= 49) { this._x -= cmoveSpeed; } eval(this)._rotation = 270; } } } } } if (Key.isDown(32) && _root.player1energy >= 10 && _root.doSkill == false) { _root.hovering = true; if (_root.player1energy <= 6) { _root.evadeattack = false; _root.skillinprogress = false; this.gotoAndStop(1); } else { _root.player1energy -= 6; if (_root.skillinprogress == false) { this.gotoAndStop('hover'); _root.skillinprogress = true; _root.evadeattack = true; } } } if (!Key.isDown(32) && _root.hovering == true) { _root.hovering = false; _root.evadeattack = false; _root.skillinprogress = false; _root.nomove = false; this.gotoAndStop(1); } if (_root.hovering == false && Key.isDown(88) && Key.isDown(67) && Key.isDown(86) && _root.player1energy >= 250) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 250; this.gotoAndStop('spinout'); _root.skillinprogress = true; _root.playerscore += 1250 * _root.combocount; if (_root.lastskill != 'spinout' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'spinout'; } } if (_root.hovering == false && Key.isDown(88) && !Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 30) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 30; this.gotoAndStop('therobot'); _root.skillinprogress = true; _root.playerscore += 120 * _root.combocount; if (_root.lastskill != 'therobot' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'therobot'; } } if (_root.hovering == false && Key.isDown(88) && Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 80) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 80; this.gotoAndStop('malfunction'); _root.skillinprogress = true; _root.playerscore += 350 * _root.combocount; if (_root.lastskill != 'malfunction' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'malfunction'; } } if (_root.hovering == false && Key.isDown(65) && Key.isDown(83) && Key.isDown(68) && _root.player1energy >= 400) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 400; this.gotoAndStop('hyperjump'); _root.skillinprogress = true; _root.playerscore += 4000 * _root.combocount; _root.evadeattack = true; if (_root.lastskill != 'hyperjump' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'hyperjump'; } } } } } instance portalbot7 of movieClip 558 { onClipEvent (load) { this._x = 278; this._y = 225; eval(this)._rotation = 90; if (_root.character != 'portalbot' || _root.charcolor2 != 7) { this.swapDepths(1); this.removeMovieClip(); } cmoveSpeed = 4; _root.player1maxenergy = 1000; _root.player1energy = _root.player1maxenergy; } onClipEvent (enterFrame) { if (_root.freezeall != true) { if (_root.playerscore > _root.maxscore) { _root.playerscore = _root.maxscore; } _root.playerscore += 1 * _root.combocount; if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.nomove == false) { if (_root.skillinprogress != true) { if (Key.isDown(39) || Key.isDown(38) || Key.isDown(37) || Key.isDown(40)) { cmoveSpeed = 4; _root.playerscore += 5 * _root.combocount; if (Key.isDown(90)) { if (_root.player1energy > 4) { _root.player1energy -= 4; cmoveSpeed = 8; this.gotoAndStop('running'); } else { cmoveSpeed = 4; _root.player1energy = 0; this.gotoAndStop('walking'); } } else { cmoveSpeed = 4; this.gotoAndStop('walking'); } } else { cmoveSpeed = 4; this.gotoAndStop('standing'); } } if (Key.isDown(39)) { _root.playermove = 'right'; if (this._x <= 510) { this._x += cmoveSpeed; } eval(this)._rotation = 90; } else { if (Key.isDown(38)) { _root.playermove = 'up'; if (this._y >= 74) { this._y -= cmoveSpeed; } eval(this)._rotation = 0; } else { if (Key.isDown(40)) { _root.playermove = 'down'; if (this._y <= 372) { this._y += cmoveSpeed; } eval(this)._rotation = 180; } else { if (Key.isDown(37)) { _root.playermove = 'left'; if (this._x >= 49) { this._x -= cmoveSpeed; } eval(this)._rotation = 270; } } } } } if (Key.isDown(32) && _root.player1energy >= 10 && _root.doSkill == false) { _root.hovering = true; if (_root.player1energy <= 6) { _root.evadeattack = false; _root.skillinprogress = false; this.gotoAndStop(1); } else { _root.player1energy -= 6; if (_root.skillinprogress == false) { this.gotoAndStop('hover'); _root.skillinprogress = true; _root.evadeattack = true; } } } if (!Key.isDown(32) && _root.hovering == true) { _root.hovering = false; _root.evadeattack = false; _root.skillinprogress = false; _root.nomove = false; this.gotoAndStop(1); } if (_root.hovering == false && Key.isDown(88) && Key.isDown(67) && Key.isDown(86) && _root.player1energy >= 250) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 250; this.gotoAndStop('spinout'); _root.skillinprogress = true; _root.playerscore += 1250 * _root.combocount; if (_root.lastskill != 'spinout' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'spinout'; } } if (_root.hovering == false && Key.isDown(88) && !Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 30) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 30; this.gotoAndStop('therobot'); _root.skillinprogress = true; _root.playerscore += 120 * _root.combocount; if (_root.lastskill != 'therobot' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'therobot'; } } if (_root.hovering == false && Key.isDown(88) && Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 80) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 80; this.gotoAndStop('malfunction'); _root.skillinprogress = true; _root.playerscore += 350 * _root.combocount; if (_root.lastskill != 'malfunction' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'malfunction'; } } if (_root.hovering == false && Key.isDown(65) && Key.isDown(83) && Key.isDown(68) && _root.player1energy >= 400) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 400; this.gotoAndStop('hyperjump'); _root.skillinprogress = true; _root.playerscore += 4000 * _root.combocount; _root.evadeattack = true; if (_root.lastskill != 'hyperjump' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'hyperjump'; } } } } } instance portalbot8 of movieClip 558 { onClipEvent (load) { this._x = 278; this._y = 225; eval(this)._rotation = 90; if (_root.character != 'portalbot' || _root.charcolor2 != 8) { this.swapDepths(1); this.removeMovieClip(); } cmoveSpeed = 4; _root.player1maxenergy = 1000; _root.player1energy = _root.player1maxenergy; } onClipEvent (enterFrame) { if (_root.freezeall != true) { if (_root.playerscore > _root.maxscore) { _root.playerscore = _root.maxscore; } _root.playerscore += 1 * _root.combocount; if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.nomove == false) { if (_root.skillinprogress != true) { if (Key.isDown(39) || Key.isDown(38) || Key.isDown(37) || Key.isDown(40)) { cmoveSpeed = 4; _root.playerscore += 5 * _root.combocount; if (Key.isDown(90)) { if (_root.player1energy > 4) { _root.player1energy -= 4; cmoveSpeed = 8; this.gotoAndStop('running'); } else { cmoveSpeed = 4; _root.player1energy = 0; this.gotoAndStop('walking'); } } else { cmoveSpeed = 4; this.gotoAndStop('walking'); } } else { cmoveSpeed = 4; this.gotoAndStop('standing'); } } if (Key.isDown(39)) { _root.playermove = 'right'; if (this._x <= 510) { this._x += cmoveSpeed; } eval(this)._rotation = 90; } else { if (Key.isDown(38)) { _root.playermove = 'up'; if (this._y >= 74) { this._y -= cmoveSpeed; } eval(this)._rotation = 0; } else { if (Key.isDown(40)) { _root.playermove = 'down'; if (this._y <= 372) { this._y += cmoveSpeed; } eval(this)._rotation = 180; } else { if (Key.isDown(37)) { _root.playermove = 'left'; if (this._x >= 49) { this._x -= cmoveSpeed; } eval(this)._rotation = 270; } } } } } if (Key.isDown(32) && _root.player1energy >= 10 && _root.doSkill == false) { _root.hovering = true; if (_root.player1energy <= 6) { _root.evadeattack = false; _root.skillinprogress = false; this.gotoAndStop(1); } else { _root.player1energy -= 6; if (_root.skillinprogress == false) { this.gotoAndStop('hover'); _root.skillinprogress = true; _root.evadeattack = true; } } } if (!Key.isDown(32) && _root.hovering == true) { _root.hovering = false; _root.evadeattack = false; _root.skillinprogress = false; _root.nomove = false; this.gotoAndStop(1); } if (_root.hovering == false && Key.isDown(88) && Key.isDown(67) && Key.isDown(86) && _root.player1energy >= 250) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 250; this.gotoAndStop('spinout'); _root.skillinprogress = true; _root.playerscore += 1250 * _root.combocount; if (_root.lastskill != 'spinout' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'spinout'; } } if (_root.hovering == false && Key.isDown(88) && !Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 30) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 30; this.gotoAndStop('therobot'); _root.skillinprogress = true; _root.playerscore += 120 * _root.combocount; if (_root.lastskill != 'therobot' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'therobot'; } } if (_root.hovering == false && Key.isDown(88) && Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 80) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 80; this.gotoAndStop('malfunction'); _root.skillinprogress = true; _root.playerscore += 350 * _root.combocount; if (_root.lastskill != 'malfunction' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'malfunction'; } } if (_root.hovering == false && Key.isDown(65) && Key.isDown(83) && Key.isDown(68) && _root.player1energy >= 400) { _root.doSkill = true; if (_root.skillinprogress == false) { _root.player1energy -= 400; this.gotoAndStop('hyperjump'); _root.skillinprogress = true; _root.playerscore += 4000 * _root.combocount; _root.evadeattack = true; if (_root.lastskill != 'hyperjump' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'hyperjump'; } } } } } instance pico3 of movieClip 539 { onClipEvent (load) { this._x = 278; this._y = 225; eval(this)._rotation = 90; if (_root.character != 'pico' || _root.charcolor != 3) { this.swapDepths(1); this.removeMovieClip(); } cmoveSpeed = 5; _root.player1maxenergy = 1000; _root.player1energy = _root.player1maxenergy; } onClipEvent (enterFrame) { if (_root.freezeall != true) { if (_root.playerscore > _root.maxscore) { _root.playerscore = _root.maxscore; } _root.playerscore += 1 * _root.combocount; if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.skillinprogress != true) { if (Key.isDown(39) || Key.isDown(38) || Key.isDown(37) || Key.isDown(40)) { cmoveSpeed = 6; _root.playerscore += 5 * _root.combocount; if (Key.isDown(90)) { if (_root.player1energy > 4) { _root.player1energy -= 4; cmoveSpeed = 12; this.gotoAndStop('running'); } else { cmoveSpeed = 6; _root.player1energy = 0; this.gotoAndStop('walking'); } } else { cmoveSpeed = 6; this.gotoAndStop('walking'); } } else { cmoveSpeed = 6; this.gotoAndStop('standing'); } } if (Key.isDown(39)) { _root.playermove = 'right'; if (this._x <= 515) { this._x += cmoveSpeed; } eval(this)._rotation = 90; } else { if (Key.isDown(38)) { _root.playermove = 'up'; if (this._y >= 77) { this._y -= cmoveSpeed; } eval(this)._rotation = 0; } else { if (Key.isDown(40)) { _root.playermove = 'down'; if (this._y <= 373) { this._y += cmoveSpeed; } eval(this)._rotation = 180; } else { if (Key.isDown(37)) { _root.playermove = 'left'; if (this._x >= 41) { this._x -= cmoveSpeed; } eval(this)._rotation = 270; } } } } if (Key.isDown(88) && !Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 50) { if (_root.skillinprogress == false) { _root.player1energy -= 50; this.gotoAndStop('split'); _root.skillinprogress = true; _root.playerscore += 100 * _root.combocount; if (_root.lastskill != 'split' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'split'; } } if (Key.isDown(32) && _root.player1energy >= 25) { if (_root.skillinprogress == false) { _root.player1energy -= 25; this.gotoAndStop('jump'); _root.skillinprogress = true; _root.evadeattack = true; } } if (Key.isDown(88) && Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 100) { if (_root.skillinprogress == false) { _root.player1energy -= 100; this.gotoAndStop('chicken'); _root.skillinprogress = true; _root.playerscore += 300 * _root.combocount; if (_root.lastskill != 'chicken' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'chicken'; } } if (Key.isDown(88) && Key.isDown(67) && Key.isDown(86) && _root.player1energy >= 300) { if (_root.skillinprogress == false) { _root.player1energy -= 300; this.gotoAndStop('backspin'); _root.skillinprogress = true; _root.playerscore += 1000 * _root.combocount; if (_root.lastskill != 'backspin' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'backspin'; } } if (Key.isDown(65) && Key.isDown(83) && Key.isDown(68) && _root.player1energy >= 500) { if (_root.skillinprogress == false) { _root.player1energy -= 500; this.gotoAndStop('titanspin'); _root.skillinprogress = true; _root.playerscore += 3500 * _root.combocount; _root.evadeattack = true; if (_root.lastskill != 'titanspin' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'titanspin'; } } } } } instance pico5 of movieClip 539 { onClipEvent (load) { this._x = 278; this._y = 225; eval(this)._rotation = 90; if (_root.character != 'pico' || _root.charcolor != 5) { this.swapDepths(1); this.removeMovieClip(); } cmoveSpeed = 5; _root.player1maxenergy = 1000; _root.player1energy = _root.player1maxenergy; } onClipEvent (enterFrame) { if (_root.freezeall != true) { if (_root.playerscore > _root.maxscore) { _root.playerscore = _root.maxscore; } _root.playerscore += 1 * _root.combocount; if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.player1energy < _root.player1maxenergy) { _root.player1energy += 1; } if (_root.skillinprogress != true) { if (Key.isDown(39) || Key.isDown(38) || Key.isDown(37) || Key.isDown(40)) { cmoveSpeed = 6; _root.playerscore += 5 * _root.combocount; if (Key.isDown(90)) { if (_root.player1energy > 4) { _root.player1energy -= 4; cmoveSpeed = 12; this.gotoAndStop('running'); } else { cmoveSpeed = 6; _root.player1energy = 0; this.gotoAndStop('walking'); } } else { cmoveSpeed = 6; this.gotoAndStop('walking'); } } else { cmoveSpeed = 6; this.gotoAndStop('standing'); } } if (Key.isDown(39)) { _root.playermove = 'right'; if (this._x <= 515) { this._x += cmoveSpeed; } eval(this)._rotation = 90; } else { if (Key.isDown(38)) { _root.playermove = 'up'; if (this._y >= 77) { this._y -= cmoveSpeed; } eval(this)._rotation = 0; } else { if (Key.isDown(40)) { _root.playermove = 'down'; if (this._y <= 373) { this._y += cmoveSpeed; } eval(this)._rotation = 180; } else { if (Key.isDown(37)) { _root.playermove = 'left'; if (this._x >= 41) { this._x -= cmoveSpeed; } eval(this)._rotation = 270; } } } } if (Key.isDown(88) && !Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 50) { if (_root.skillinprogress == false) { _root.player1energy -= 50; this.gotoAndStop('split'); _root.skillinprogress = true; _root.playerscore += 100 * _root.combocount; if (_root.lastskill != 'split' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'split'; } } if (Key.isDown(32) && _root.player1energy >= 25) { if (_root.skillinprogress == false) { _root.player1energy -= 25; this.gotoAndStop('jump'); _root.skillinprogress = true; _root.evadeattack = true; } } if (Key.isDown(88) && Key.isDown(67) && !Key.isDown(86) && _root.player1energy >= 100) { if (_root.skillinprogress == false) { _root.player1energy -= 100; this.gotoAndStop('chicken'); _root.skillinprogress = true; _root.playerscore += 300 * _root.combocount; if (_root.lastskill != 'chicken' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'chicken'; } } if (Key.isDown(88) && Key.isDown(67) && Key.isDown(86) && _root.player1energy >= 300) { if (_root.skillinprogress == false) { _root.player1energy -= 300; this.gotoAndStop('backspin'); _root.skillinprogress = true; _root.playerscore += 1000 * _root.combocount; if (_root.lastskill != 'backspin' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'backspin'; } } if (Key.isDown(65) && Key.isDown(83) && Key.isDown(68) && _root.player1energy >= 500) { if (_root.skillinprogress == false) { _root.player1energy -= 500; this.gotoAndStop('titanspin'); _root.skillinprogress = true; _root.playerscore += 3500 * _root.combocount; _root.evadeattack = true; if (_root.lastskill != 'titanspin' && _root.lastskill != 'none') { if (_root.combocount != _root.maxcombocount) { _root.combocount += 1; _root.combo.play(); } } else { _root.combocount = 1; } _root.lastskill = 'titanspin'; } } } } } movieClip 565 { frame 1 { stop(); } frame 7 { gotoAndStop(1); } } movieClip 567 { } movieClip 569 { } movieClip 572 { instance of movieClip 569 { onClipEvent (load) { energybarwidth = this._width; } onClipEvent (enterFrame) { this._width = energybarwidth * (_root.player1energy / _root.player1maxenergy); } } } movieClip 579 { } instance picomoves of movieClip 579 { onClipEvent (load) { if (_root.character != 'pico') { this._visible = false; } } } movieClip 581 { } instance portalbotmoves of movieClip 581 { onClipEvent (load) { if (_root.character != 'portalbot') { this._visible = false; } } } instance of movieClip 419 { onClipEvent (load) { this.gotoAndStop(_root.currentstage); } } movieClip 587 { } instance of movieClip 587 { onClipEvent (load) { this.gotoAndStop(_root.currentstage); } } movieClip 589 { } movieClip 591 { } movieClip 592 { } movieClip 593 { frame 1 { stop(); } } movieClip 594 { frame 1 { stop(); } } instance beacon2 of movieClip 594 { onClipEvent (enterFrame) { if (this.hitTest(_parent.pico1) || this.hitTest(_parent.pico2) || this.hitTest(_parent.pico3) || this.hitTest(_parent.pico4) || this.hitTest(_parent.pico5) || this.hitTest(_parent.pico6) || this.hitTest(_parent.pico7) || this.hitTest(_parent.pico8) || this.hitTest(_parent.portalbot1) || this.hitTest(_parent.portalbot2) || this.hitTest(_parent.portalbot3) || this.hitTest(_parent.portalbot4) || this.hitTest(_parent.portalbot5) || this.hitTest(_parent.portalbot6) || this.hitTest(_parent.portalbot7) || this.hitTest(_parent.portalbot8)) { _root.playerscore += _root.beaconpoints * _root.combocount; if (_root.player1energy + _root.beaconenergy < _root.player1maxenergy) { _root.player1energy += _root.beaconenergy; } else { _root.player1energy = _root.player1maxenergy; } this.gotoAndStop(Math.round(Math.random() * 6) + 2); this.beacon.gotoAndStop(Math.round(Math.random() * 13) + 2); } } } movieClip 598 { } movieClip 599 { frame 1 { stop(); } } frame 8 { _root.BackgroundMusic1.stop(); _root.BackgroundMusic2.stop(); _root.BackgroundMusic3.stop(); _root.BackgroundMusic4.stop(); _root.BackgroundMusic5.stop(); } frame 8 { pico1.removeMovieClip(); pico2.removeMovieClip(); pico3.removeMovieClip(); pico4.removeMovieClip(); pico5.removeMovieClip(); pico6.removeMovieClip(); pico7.removeMovieClip(); pico8.removeMovieClip(); portalbot1.removeMovieClip(); portalbot2.removeMovieClip(); portalbot3.removeMovieClip(); portalbot4.removeMovieClip(); portalbot5.removeMovieClip(); portalbot6.removeMovieClip(); portalbot7.removeMovieClip(); portalbot8.removeMovieClip(); shooter1.removeMovieClip(); shooter2.removeMovieClip(); shooter3.removeMovieClip(); shooter4.removeMovieClip(); shooter5.removeMovieClip(); shooter6.removeMovieClip(); shooter7.removeMovieClip(); shooter8.removeMovieClip(); shooter9.removeMovieClip(); cover.removeMovieClip(); } movieClip 603 { } movieClip 605 { } movieClip 606 { } movieClip 618 { } movieClip 619 { instance of movieClip 606 { onClipEvent (load) { if (_root.winner == true) { this.gotoAndStop(1); } if (_root.winner == false) { this.gotoAndStop(2); } } } instance of movieClip 618 { onClipEvent (load) { this.gotoAndStop(_root.currentstage); } } } button 622 { on (release) { if (_root.currentstage == 5) { _root.gotoAndStop('tourwinner'); } else { _root.gotoAndStop('tour2'); } } } button 626 { on (release) { _root.stage1score = 0; _root.stage2score = 0; _root.stage3score = 0; _root.stage4score = 0; _root.stage5score = 0; _root.gotoAndStop('mainmenu'); } } button 629 { on (release) { _root.currentstage -= 1; _root.gotoAndStop('tour2'); } } movieClip 630 { } movieClip 631 { instance of movieClip 338 { onClipEvent (load) { switch (_root.charcolor) { case 1: gotoAndStop(1); break; case 2: gotoAndStop(2); break; case 3: gotoAndStop(3); break; case 4: gotoAndStop(4); break; case 5: gotoAndStop(5); break; case 6: gotoAndStop(6); break; case 7: gotoAndStop(7); break; case 8: gotoAndStop(8); } } } } movieClip 632 { instance of movieClip 631 { } instance of movieClip 355 { onClipEvent (load) { switch (_root.charcolor2) { case 1: gotoAndStop(1); break; case 2: gotoAndStop(2); break; case 3: gotoAndStop(3); break; case 4: gotoAndStop(4); break; case 5: gotoAndStop(5); break; case 6: gotoAndStop(6); break; case 7: gotoAndStop(7); break; case 8: gotoAndStop(8); } } } } movieClip 633 { instance of movieClip 632 { onClipEvent (load) { if (_root.character == 'pico') { this.gotoAndStop(1); } if (_root.character == 'portalbot') { this.gotoAndStop(2); } } } } frame 9 { stop(); } frame 9 { var lowerCase = _root.gamedifficulty; var upperCase = lowerCase.toUpperCase(); _root.finalmsg = 'YOU WON THE GAME IN ' + upperCase + ' MODE!'; _root.unlocks = ''; if (_root.gamedifficulty == 'easy' && _root.beateasymode == false) { if (_root.beathardmode == false) { _root.maxicolor = 4; } else { _root.maxicolor = 8; } _root.beateasymode = true; _root.unlocks = 'You have unlocked 2 new colors!'; } if (_root.gamedifficulty == 'normal' && _root.beatnormalmode == false) { _root.beatnormalmode = true; _root.allowportalbot = true; _root.unlocks = 'You have unlocked the character Portalbot!'; } if (_root.gamedifficulty == 'hard' && _root.beathardmode == false) { if (_root.beateasymode == false) { _root.maxicolor = 6; } else { _root.maxicolor = 8; } _root.beathardmode = true; _root.unlocks = 'You have unlocked 4 new colors!'; } totalscore = _root.stage1score + _root.stage2score + _root.stage3score + _root.stage4score + _root.stage5score; } instance of movieClip 632 { onClipEvent (load) { if (_root.character == 'pico') { this.gotoAndStop(1); } if (_root.character == 'portalbot') { this.gotoAndStop(2); } } } movieClip 639 { } button 645 { on (release) { _root.savefile.data.beateasymode = _root.beateasymode; _root.savefile.data.beatnormalmode = _root.beatnormalmode; _root.savefile.data.beathardmode = _root.beathardmode; _root.savefile.flush(); _root.gotoAndStop('mainmenu'); } } movieClip 647 { } frame 10 { stop(); } movieClip 659 { } button 662 { on (release) { _root.gotoAndStop('mainmenu'); } } button 665 { on (release) { _root.nextFrame(); } } movieClip 666 { } movieClip 671 { } movieClip 672 { } frame 11 { stop(); } button 673 { on (release) { _root.prevFrame(); } } movieClip 674 { } movieClip 677 { } movieClip 682 { } frame 12 { stop(); } movieClip 683 { frame 1 { stop(); } } movieClip 684 { frame 1 { stop(); } } movieClip 689 { } movieClip 690 { } movieClip 691 { } movieClip 692 { } frame 13 { stop(); } movieClip 694 { } movieClip 697 { } movieClip 708 { } frame 14 { stop(); } movieClip 710 { } movieClip 714 { } movieClip 715 { }




http://swfchan.com/8/39817/info.shtml
Created: 11/5 -2019 21:24:26 Last modified: 11/5 -2019 21:24:26 Server time: 17/05 -2024 07:04:02