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

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

smacky.swf

This is the info page for
Flash #1916

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


Text
.

Copyright 2005 Trent Halvorsen

Play

Play

Play

Play

Skip Intro

Skip Intro

Skip Intro

Skip Intro

Game Design/Art/Programming

Trent Halvorsen

Smacky Concept

Melissa Halvorsen

Sound and Music

Ethan Halvorsen

Play Again

Play Again

Play Again

Play Again

View Score

View Score

View Score

View Score

Submit Score

Submit Score

Submit Score

Submit Score

Quit

Quit

Quit

Quit

Your score

Once upon a time

Once upon a time, in the biggest park, in the biggest city...

...in the biggest tree...

...there lived some cute and cheerful squirrels.
They were ever so happy.

But one day a new squirrel showed up.
He was not cheerful.

In fact, he was very grumpy.

So the rest of the squirrels decided it would be best to work
together and cheer their new friend up...

Begin Play

Level  1

Level  1

Level  1

10

000000

Objective

Help Smacky Sounds fight off his overly
freindly neighbors before they drive him
crazy!

Controls

+

Run

Smacky follows the cursor

Jump

Position the cursor above
the horizon line a click
the left mouse button.

Punch/Kick

Click the left mouse button to
attack with kicks and punches.

Jump Kick

Click the left mouse button while
in the air to perform a jump kick.

Upper Combo

<p align="left"><font face="_sans" size="16" color="#ffffff">Attack repeatedly while <font color="#ffff00">holding the <sbr />cursor above the target&apos;s head</font> to perform <sbr />a combo that ends in an uppercut.</font></p>

Kickback Combo

<p align="left"><font face="_sans" size="16" color="#ffffff">Attack repeatedly while <font color="#ffff00">holding the <sbr />cursor level with the target </font>to perform <sbr />a combo that ends in a kick.</font></p>

Special Ring

Click and hold the left mouse button
down to open the special ring. Drag
over directional arrows to enter special
move commands.

Enrage

Click and hold the left
mouse button down to fill
Smacky's rage meter.

* this action can be performed using right OR left on the control ring

Cute Buster

Knock back multiple foes
with this spinning attack.
Also dislodges clinging
foes.

Dash Attack*

Perform a quick dash to
elude or stun foes.

Squadoken*

* this action can be performed using right OR left
on the control ring

Upawcut*

Use this powerful attack to
dislodge clinging foes.

Attack foes at a distance with
this ranged attack.

Acorn Drop*

* this action can be performed using right OR left on the control ring

Defeat tough foes with this
spinning throw.

Note: All special moves require sufficient Rage. Keep an eye on  Smacky's Rage meter.

Pause

Press the spacebar to
access the pause menu.

* this action can be performed using right OR left on the control ring

Smite

Click the left mouse button in
demon mode to shock enemies
with a localized blast.

Transform*

When Smacky's rage meter flashes, enter a full
circle on the command ring (starting with
down) to Transform in to Demon Smacky.

Laser Eye Beam*

* this action can be performed using right OR left on the control ring

Sear foes with this devastating attack.

Fires of Wrath*

Obliterate everything on the screen.

Squirrel Scout

Click and hold to charge Rage bar

Click and hold to charge Rage bar

Dash Attack

Click and hold to enter commands on the Special Ring

or

Dash Attack

Click and hold to enter commands on the Special Ring

or

Squadoken

Click and hold to enter commands on the Special Ring

Squadoken

Click and hold to enter commands on the Special Ring

Upawcut

Click and hold to enter commands on the Special Ring

Upawcut

Click and hold to enter commands on the Special Ring

Acorn Drop

Click and hold to enter commands on the Special Ring

Acorn Drop

Click and hold to enter commands on the Special Ring

Cute Buster

Click and hold to enter commands on the Special Ring

Cute Buster

Click and hold to enter commands on the Special Ring

Transform

Click and hold to enter commands on the Special Ring

Transform

Click and hold to enter commands on the Special Ring

Laser Eye Beams

Click and hold to enter commands on the Special Ring

Laser Eye Beams

Click and hold to enter commands on the Special Ring

Fires of Wrath

Click and hold to enter commands on the Special Ring

Fires of Wrath

Click and hold to enter commands on the Special Ring

Go!

Go!

Go!

Continue

Continue

Continue

Quit

Quit

Quit

All content Copyright 2005 Trent Halvorsen     Music Copyright Ethan Halvorsen

Quality

FAST

SMOOTH

Volume

0%

100%

0000000000

000

Score

Level

Enter Cheat Code

0000000000000

slide_on_in

gallan_n_milo

SCORE

Enemies
Defeated

SKIP LEVEL CHEAT

CHEAT CODE

Continue

0000000000000

slide_on_in

gallan_n_milo

SCORE

Enemies
Defeated

SKIP LEVEL CHEAT

CHEAT CODE

Continue

Hi there Smacky! Would you like to buy some cookies?

No. Get out.

But Smacky, everyone loves cookies! Cheer up a little!

Don't you people get it!? I'm grouchy and I like it that way!

Ho ho ho! You've been naughty Smacky. Why don't you try
being nice for once?

Forget it! I'm never cheering up! Prepare to eat seething rage!

Oh dear. We've tried everything, Smacky, can't you cheer up
for just one day?

Cheer up?

YES

YES

YES

YES

NO

NO

NO

YES

Well, maybe I could cheer up...just for ONE day.

THE END

Never! I'm Smacky and I'm angry! Rage filled angst is who I
am!

The next day...

<p align="left"><font face="_sans" size="25" color="#ffffff">SMACKY IS ANGRY</font></p><p align="left"><font face="_sans" size="18" color="#ffffff">Smacky is unable to access vital game <sbr />information. A file is missing, corrupted or <sbr />you are attempting to run the game on an <sbr />unauthorized computer.</font></p>

All content Copyright 2005 Trent Halvorsen     Music Copyright Ethan Halvorsen

ActionScript [AS1/AS2]

Frame 1
if (false) { }
Frame 2
if (this.getBytesLoaded() != this.getBytesTotal()) { gotoAndPlay (1); } else { _quality = "MEDIUM"; trace("goto title from loader"); gotoAndPlay (3); } trace("loader");
Frame 3
trace("title");
Frame 4
trace("title");
Frame 5
trace("title");
Frame 6
trace("title");
Frame 7
trace("title");
Frame 8
trace(_root.highScoreGo); trace(_root.swHighScoreObject.player1Score); if (_root.highScoreGo) { gotoAndPlay (9); } else { trace("Resetting Score"); System.security.allowDomain("shockwave.com", "gameblast.shockwave.com", "www.shockwave.com", "dev.shockwave.com", "stage.shockwave.com"); _root.swHighScoreObject = new Object(); _root.swHighScoreObject.showTab = "view"; _root.swHighScoreObject.gameId = "smacky"; _root.swHighScoreObject.gameTitle = "Smacky"; _root.swHighScoreObject.screenWidth = 800; _root.swHighScoreObject.screenHeight = 600; _root.swHighScoreObject.scoreDescriptor = "points"; _root.swHighScoreObject.numPlayers = 1; _root.swHighScoreObject.player1Score = 0; _root.swHighScoreObject.player2Score = 0; _root.swHighScoreObject.player3Score = 0; _root.swHighScoreObject.player4Score = 0; _root.HSHubURL = "http://www.shockwave.com/content/highscores/scorez-2002.swf"; stop(); }
Frame 9
function playAgain() { _root.HSHubSubmitter._visible = true; _root.disabler._visible = false; } function goBack() { gotoAndPlay (3); } function goGame() { gotoAndPlay (844); } _root.highScoreGo = false; trace(_root.swHighScoreObject.player1Score); stop();
Instance of Symbol 479 MovieClip "HSHubSubmitter" in Frame 9
onClipEvent (load) { docount = false; } onClipEvent (enterFrame) { if (docount) { trycount++; if ((_level2.getBytesTotal() == -1) && (trycount > 60)) { docount = false; trycount = 0; } } }
Instance of Symbol 482 MovieClip "disabler" in Frame 9
onClipEvent (load) { this.swapDepths(120001); _visible = false; }
Frame 10
trace("prologue");
Frame 51
if (false) { }
Frame 172
if (false) { }
Frame 218
if (false) { }
Frame 270
if (false) { }
Frame 271
if (false) { }
Frame 272
if (false) { }
Frame 273
if (false) { }
Frame 274
if (false) { }
Frame 275
if (false) { }
Frame 276
if (false) { }
Frame 277
if (false) { }
Frame 278
if (false) { }
Frame 279
if (false) { }
Frame 280
if (false) { }
Frame 281
if (false) { }
Frame 282
if (false) { }
Frame 283
if (false) { }
Frame 284
if (false) { }
Frame 285
if (false) { }
Frame 286
if (false) { }
Frame 287
if (false) { }
Frame 288
if (false) { }
Frame 289
if (false) { }
Frame 290
if (false) { }
Frame 291
if (false) { }
Frame 292
if (false) { }
Frame 396
if (false) { }
Frame 397
if (false) { }
Frame 398
if (false) { }
Frame 399
if (false) { }
Frame 400
if (false) { }
Frame 401
if (false) { }
Frame 402
if (false) { }
Frame 512
if (false) { }
Frame 513
if (false) { }
Frame 514
if (false) { }
Frame 515
if (false) { }
Frame 516
if (false) { }
Frame 517
if (false) { }
Frame 518
if (false) { }
Frame 519
if (false) { }
Frame 520
if (false) { }
Frame 521
if (false) { }
Frame 522
if (false) { }
Frame 523
if (false) { }
Frame 524
if (false) { }
Frame 525
if (false) { }
Frame 526
if (false) { }
Frame 527
if (false) { }
Frame 528
if (false) { }
Frame 529
if (false) { }
Frame 607
if (false) { }
Frame 711
if (false) { }
Frame 767
if (false) { }
Frame 768
if (false) { }
Frame 769
if (false) { }
Frame 770
if (false) { }
Frame 771
if (false) { }
Frame 772
if (false) { }
Frame 773
if (false) { }
Frame 774
if (false) { }
Frame 775
if (false) { }
Frame 776
if (false) { }
Frame 777
if (false) { }
Frame 778
if (false) { }
Frame 779
if (false) { }
Frame 780
if (false) { }
Frame 781
if (false) { }
Frame 782
if (false) { }
Frame 783
if (false) { }
Frame 784
if (false) { }
Frame 785
if (false) { }
Frame 786
if (false) { }
Frame 787
if (false) { }
Frame 788
if (false) { }
Frame 789
if (false) { }
Frame 790
if (false) { }
Frame 791
if (false) { }
Frame 792
if (false) { }
Frame 793
if (false) { }
Frame 794
if (false) { }
Frame 795
if (false) { }
Frame 796
if (false) { }
Frame 797
if (false) { }
Frame 841
gotoAndPlay (842);
Frame 842
trace("control screen"); stop();
Instance of Symbol 667 MovieClip "world" in Frame 842
onClipEvent (load) { function getDistance(sx, sy, tx, ty) { var _local1 = Math.abs(sy - ty); var _local2 = Math.abs(sx - tx); return(Math.sqrt((_local1 * _local1) + (_local2 * _local2))); } function getQuadrant(sx, sy, tx, ty) { var _local1 = sy - ty; var _local2 = sx - tx; var _local3; if ((_local1 > 0) && (_local2 < 0)) { _local3 = 1; } if ((_local1 < 0) && (_local2 < 0)) { _local3 = 2; } if ((_local1 < 0) && (_local2 > 0)) { _local3 = 3; } if ((_local1 > 0) && (_local2 > 0)) { _local3 = 4; } if ((_local1 > 0) && (_local2 == 0)) { _local3 = 5; } if ((_local1 == 0) && (_local2 < 0)) { _local3 = 6; } if ((_local1 < 0) && (_local2 == 0)) { _local3 = 7; } if ((_local1 == 0) && (_local2 > 0)) { _local3 = 8; } if ((_local1 == 0) && (_local2 == 0)) { _local3 = 9; } return(_local3); } function getAngle(sx, sy, tx, ty) { var _local3; var _local10; var _local4 = Math.abs(sy - ty); var _local5 = Math.abs(sx - tx); var _local2; var _local1 = getQuadrant(sx, sy, tx, ty); if (_local1 > 4) { if (_local1 == 5) { _local2 = 0; } if (_local1 == 6) { _local2 = 90; } if (_local1 == 7) { _local2 = 180; } if (_local1 == 8) { _local2 = 270; } if (_local1 == 9) { _local2 = undefined; } } else { _local3 = Math.atan(_local4 / _local5); _local3 = (_local3 / (Math.PI/2)) * 90; if (_local1 == 1) { _local2 = 90 - _local3; } if (_local1 == 2) { _local2 = 90 + _local3; } if (_local1 == 3) { _local2 = 270 - _local3; } if (_local1 == 4) { _local2 = 270 + _local3; } } return(_local2); } function getDxDy(speed, angle) { var _local3 = [0, 0]; var _local2; var _local8; var _local7; var _local4; var _local5; switch (angle) { case 0 : _local3 = [0, -speed]; break; case 90 : _local3 = [speed, 0]; break; case 180 : _local3 = [0, speed]; break; case 270 : _local3 = [-speed, 0]; break; default : if ((angle > 0) && (angle < 90)) { _local2 = 90 - angle; _local4 = 1; _local5 = -1; } if ((angle > 90) && (angle < 180)) { _local2 = angle - 90; _local4 = 1; _local5 = 1; } if ((angle > 180) && (angle < 270)) { _local2 = 270 - angle; _local4 = -1; _local5 = 1; } if ((angle > 270) && (angle < 360)) { _local2 = angle - 270; _local4 = -1; _local5 = -1; } _local2 = Math.abs(_local2); _local2 = (Math.PI/180) * _local2; _local8 = Math.cos(_local2) * speed; _local7 = Math.sin(_local2) * speed; _local3 = [_local8 * _local4, _local7 * _local5]; } return(_local3); } gamePause = false; M_WIDTH = 800; M_HEIGHT = 600; M_SAFEBORDER = 50; RAGE_MODIFIER = 0.75; DELETEAT = M_HEIGHT + 200; GROUND = 400; GRAVITY = 4; TVELOCITY = 40; hpScale = 1; attackScale = 1; damageObjects = [player, squa, upafire, eyeBeam, dashLine, smiter, fireExplode]; damageObjPath = [".attBox", "", "", "", "", "", ""]; collisionObjects = []; }
Instance of Symbol 32 MovieClip "battleManager" in Frame 842
onClipEvent (load) { function getAI(instance) { ai = -1; obj = -1; index = -1; i = 0; while (i < aiName.length) { if (aiName[i] == instance) { ai = aiBehavior[i]; obj = aiObject[i]; index = i; } i++; } switch (ai) { case 1 : instance.code.AI_APPROACH = true; instance.code.AI_FLEE_TOLERANCE = 80; instance.code.approach = true; break; case 2 : instance.code.AI_APPROACH = true; instance.code.AI_JUMP = true; instance.code.approach = true; break; case 3 : instance.code.AI_FLEE = true; instance.code.AI_APPROACH_WITHIN = 240; instance.code._FLEE_TOLERANCE = 80; break; case 4 : instance.code.AI_JUMP = true; instance.code.AI_FLEE = true; instance.code.AI_APPROACH_WITHIN = 240; instance.code.flee = true; instance.code.AI_FLEE_TOLERANCE = 80; break; case 5 : instance.code.AI_APPROACH = true; instance.code.AI_APPROACH_WITHIN = 80; instance.code.approach = true; instance.code.AI_GLOMP = true; break; case 6 : instance.code.AI_FLEE = true; instance.code.AI_APPROACH_WITHIN = 240; instance.code.AI_FLEE_TOLERANCE = 80; instance.code.MV_TOPSPEED = 10; } switch (obj) { case 1 : instance.code.hasObject = true; instance.code.objectType = "bluePresent"; instance.object.gotoAndStop(2); instance.object._visible = true; break; case 2 : instance.code.hasObject = true; instance.code.objectType = "present"; instance.object.gotoAndStop(1); instance.object._visible = true; break; case 3 : instance.code.hasObject = true; instance.code.objectType = "cookies"; instance.object.gotoAndStop(3); instance.object._visible = true; break; case 4 : instance.code.hasObject = true; instance.code.objectType = "cake"; instance.object.gotoAndStop(4); instance.object._visible = true; break; case 5 : instance.code.hasObject = true; instance.code.objectType = "iceCream"; instance.object.gotoAndStop(5); instance.object._visible = true; break; default : instance.code.hasObject = false; instance.object._visible = false; } aiName.splice(index, 1); aiBehavior.splice(index, 1); aiObject.splice(index, 1); } function spawn(libname, insname, xcoor, ai, obj) { wp.attachMovie(libname, insname, wp.getNextHighestDepth(), temp); var oT = eval ((wp + ".") + insname); oT._x = xcoor; oT._y = wp.GROUND - 1; register(insname, dmgP); aiName.push(oT); aiBehavior.push(ai); aiObject.push(obj); } function collisionCheck() { i = 0; while (i < wp.collisionObjects.length) { wp.collisionObjects[i].collidingWith = null; i++; } i = 0; while (i < wp.collisionObjects.length) { j = i + 1; while (j < wp.collisionObjects.length) { if (wp.collisionObjects[i].hitBox.hitTest(wp.collisionObjects[j].hitBox)) { wp.collisionObjects[i].collidingWith = wp.collisionObjects[j]; wp.collisionObjects[j].collidingWith = wp.collisionObjects[i]; } j++; } i++; } } function register(pname, dmgP) { var doneIt = false; var doneIt = false; i = 0; while (i < wp.collisionObjects.length) { if (wp.collisionObjects[i] == "") { wp.collisionObjects[i] = eval ((wp + ".") + pname); doneIt = true; } i++; } if (!doneIt) { wp.collisionObjects.push(eval ((wp + ".") + pname)); } } function unRegister(pname) { i = 0; while (i < wp.collisionObjects.length) { if (wp.collisionObjects[i] == eval ((wp + ".") + pname)) { wp.collisionObjects.splice(i, 1); } i++; } } function gimmie() { if (level > 8) { minimumOnscreen = 1; maxEnemies = 5; } if (level > 13) { minimumOnscreen = 2; maxEnemies = 4; } if (finalBattle && (_parent.world.player.sanity > 0)) { if (!done) { _parent.altScreen.timeout("over"); win = true; done = true; } } else { if (kills >= (level * levelMultiplier)) { level++; levelString = "Level " + level; _parent.levelDisp.gotoAndPlay(2); kills = Math.round(kills * KILL_RESET_PERC); } var _local8 = 0; var _local2 = level * 100; var _local10 = 0; var _local9 = 0; var _local3; var _local4; var _local6; var _local7; while (_local2 > 0) { if (Math.round(Math.random() * 100) < 50) { _local7 = spawnLeft - (_local10 * spawnOffset); _local10 = _local10 + 1; } else { _local7 = spawnRight + (_local9 * spawnOffset); _local9 = _local9 + 1; } _local3 = Math.round(((Math.random() * 0.8) + ((level / DIFFICULTY_SCALE) * 0.2)) * (enemyTypes.length - 1)); if (_local3 > (enemyTypes.length - 1)) { _local3 = enemyTypes.length - 1; } if ((_local3 == 2) && (level < 9)) { _local3 = 0; } if ((_local3 == 3) && (level < 10)) { _local3 = 0; } switch (_local3) { case 0 : _local2 = _local2 - 100; break; case 1 : _local2 = _local2 - 100; break; case 2 : _local2 = _local2 - 150; break; case 3 : _local2 = _local2 - 200; } _local4 = Math.round(((Math.random() * 0.8) + ((level / DIFFICULTY_SCALE) * 0.2)) * aiTypes); if (_local4 > aiTypes) { _local4 = aiTypes; } if (_local4 < 1) { _local4 = 1; } if ((level < 5) && (_local4 > 2)) { _local4 = 1; } switch (_local4) { case 1 : _local2 = _local2 - 0; break; case 2 : _local2 = _local2 - 10; break; case 3 : _local2 = _local2 - 30; break; case 4 : _local2 = _local2 - 30; break; case 5 : _local2 = _local2 - 50; break; case 6 : _local2 = _local2 - 50; } _local6 = 0; var _local5 = 1 - (level / PRESENT_LEVEL_MOD); if (_local5 < 0) { _local5 = 0; } if (Math.random() < (_local5 * BASE_PRESENT_CHANCE)) { _local6 = 1; } else if (Math.random() < OBJECT_CHANCE) { _local6 = Math.round(Math.random() * (NUM_OBJECTS - 1)) + 2; } _local8++; if (_local8 <= maxEnemies) { spawn(enemyTypes[_local3], enemyTypes[_local3] + wp.getNextHighestDepth(), _local7, _local4, _local6); } else { _local2 = 0; } } } } bossPlaying = true; BASE_PRESENT_CHANCE = 0.25; OBJECT_CHANCE = 0.25; PRESENT_LEVEL_MOD = 20; DIFFICULTY_SCALE = 20; KILL_RESET_PERC = 0.8; NUM_OBJECTS = 4; win = true; noScore = false; done = false; finalBattle = false; wp = _parent.world; wp.player.hat = 22; aiName = []; aiBehavior = []; aiObject = []; minimumOnscreen = 0; maxEnemies = 6; score = 0; level = 1; levelString = "Level " + level; kills = (level - 1) * 10; killCount = 0; levelMultiplier = 10; enemyTypes = ["sqm", "sqf", "sqt", "sql"]; objectTypes = 2; aiTypes = 6; spawnLeft = -100; spawnRight = 900; spawnOffset = 100; spawn("flowerSack", "testTarget", 600, 0, 0); } onClipEvent (enterFrame) { trace(wp.player.sanity); collisionCheck(); if (wp.objectStack < 0) { wp.objectStack = 0; } if (wp.collisionObjects.length <= minimumOnscreen) { } if (noScore) { score = 0; } }
Instance of Symbol 32 MovieClip "altScreen" in Frame 842
onClipEvent (load) { function timeout(blarg) { _parent.world.player.goDemon(); } _parent.world.player.rage = 100; }
Frame 843
trace("goto gameplay from controls"); gotoAndStop (844);
Frame 844
trace("gameplay"); stop();
Instance of Symbol 786 MovieClip "backGround" in Frame 844
onClipEvent (enterFrame) { if (((_parent.battleManager.level % 10) > 0) && ((_parent.battleManager.level % 10) < 3)) { if (_parent.world.player.scary) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } if (((_parent.battleManager.level % 10) >= 3) && ((_parent.battleManager.level % 10) <= 4)) { if (_parent.world.player.scary) { this.gotoAndStop(4); } else { this.gotoAndStop(3); } } if (((_parent.battleManager.level % 10) >= 5) && ((_parent.battleManager.level % 10) <= 7)) { if (_parent.world.player.scary) { this.gotoAndStop(6); } else { this.gotoAndStop(5); } } if (((_parent.battleManager.level % 10) >= 8) || ((_parent.battleManager.level % 10) == 0)) { if (_parent.world.player.scary) { this.gotoAndStop(8); } else { this.gotoAndStop(7); } } }
Instance of Symbol 667 MovieClip "world" in Frame 844
onClipEvent (load) { function getDistance(sx, sy, tx, ty) { var _local1 = Math.abs(sy - ty); var _local2 = Math.abs(sx - tx); return(Math.sqrt((_local1 * _local1) + (_local2 * _local2))); } function getQuadrant(sx, sy, tx, ty) { var _local1 = sy - ty; var _local2 = sx - tx; var _local3; if ((_local1 > 0) && (_local2 < 0)) { _local3 = 1; } if ((_local1 < 0) && (_local2 < 0)) { _local3 = 2; } if ((_local1 < 0) && (_local2 > 0)) { _local3 = 3; } if ((_local1 > 0) && (_local2 > 0)) { _local3 = 4; } if ((_local1 > 0) && (_local2 == 0)) { _local3 = 5; } if ((_local1 == 0) && (_local2 < 0)) { _local3 = 6; } if ((_local1 < 0) && (_local2 == 0)) { _local3 = 7; } if ((_local1 == 0) && (_local2 > 0)) { _local3 = 8; } if ((_local1 == 0) && (_local2 == 0)) { _local3 = 9; } return(_local3); } function getAngle(sx, sy, tx, ty) { var _local3; var _local10; var _local4 = Math.abs(sy - ty); var _local5 = Math.abs(sx - tx); var _local2; var _local1 = getQuadrant(sx, sy, tx, ty); if (_local1 > 4) { if (_local1 == 5) { _local2 = 0; } if (_local1 == 6) { _local2 = 90; } if (_local1 == 7) { _local2 = 180; } if (_local1 == 8) { _local2 = 270; } if (_local1 == 9) { _local2 = undefined; } } else { _local3 = Math.atan(_local4 / _local5); _local3 = (_local3 / (Math.PI/2)) * 90; if (_local1 == 1) { _local2 = 90 - _local3; } if (_local1 == 2) { _local2 = 90 + _local3; } if (_local1 == 3) { _local2 = 270 - _local3; } if (_local1 == 4) { _local2 = 270 + _local3; } } return(_local2); } function getDxDy(speed, angle) { var _local3 = [0, 0]; var _local2; var _local8; var _local7; var _local4; var _local5; switch (angle) { case 0 : _local3 = [0, -speed]; break; case 90 : _local3 = [speed, 0]; break; case 180 : _local3 = [0, speed]; break; case 270 : _local3 = [-speed, 0]; break; default : if ((angle > 0) && (angle < 90)) { _local2 = 90 - angle; _local4 = 1; _local5 = -1; } if ((angle > 90) && (angle < 180)) { _local2 = angle - 90; _local4 = 1; _local5 = 1; } if ((angle > 180) && (angle < 270)) { _local2 = 270 - angle; _local4 = -1; _local5 = 1; } if ((angle > 270) && (angle < 360)) { _local2 = angle - 270; _local4 = -1; _local5 = -1; } _local2 = Math.abs(_local2); _local2 = (Math.PI/180) * _local2; _local8 = Math.cos(_local2) * speed; _local7 = Math.sin(_local2) * speed; _local3 = [_local8 * _local4, _local7 * _local5]; } return(_local3); } gamePause = false; M_WIDTH = 800; M_HEIGHT = 600; M_SAFEBORDER = 50; RAGE_MODIFIER = 0.75; DELETEAT = M_HEIGHT + 200; OBJECT_DELAY = 2; GROUND = 400; GRAVITY = 4; TVELOCITY = 40; hpScale = 1; attackScale = 3; damageObjects = [player, squa, upafire, eyeBeam, dashLine, smiter, fireExplode]; damageObjPath = [".attBox", "", "", "", "", "", ""]; collisionObjects = []; jukebox.normMusic.start(); } onClipEvent (enterFrame) { if (jukebox.imLoaded) { jukebox.normMusic.start(0, 52800); jukebox.imLoaded = false; } }
Instance of Symbol 32 MovieClip "battleManager" in Frame 844
onClipEvent (load) { function tipCheck() { var _local2 = 0; if (wp.player.rage < 20) { _local2 = 1; } if ((wp.player.rage > 35) && (wp.player.demonMode == false)) { var _local3 = Math.round(Math.random() * 3) + 1; if (_local3 == 1) { _local2 = 2; } if (_local3 == 2) { _local2 = 3; } if (_local3 == 3) { _local2 = 6; } } if ((wp.player.rage > 50) && (wp.player.demonMode == false)) { var _local3 = Math.round(Math.random() * 2) + 1; if (_local3 == 1) { _local2 = 4; } if (_local3 == 2) { _local2 = 5; } } if (level > 4) { _local2 = 0; } if (wp.player.demonMode == true) { var _local3 = Math.round(Math.random() * 2) + 1; if (_local3 == 1) { _local2 = 8; } if (_local3 == 2) { _local2 = 9; } } if (bossPlaying && (wp.player.rage > 50)) { if (level == 4) { _local2 = 2; } if (level == 7) { _local2 = 4; } if (level == 10) { _local2 = 5; } } if ((wp.player.rage >= 900) && (wp.player.demonMode == false)) { _local2 = 7; } if ((_parent.tipMarquee._currentframe == 1) && (_local2 > 0)) { _parent.tipMarquee.tipNum.gotoAndStop(_local2); _parent.tipMarquee.play(); } } function getAI(instance) { ai = -1; obj = -1; index = -1; i = 0; while (i < aiName.length) { if (aiName[i] == instance) { ai = aiBehavior[i]; obj = aiObject[i]; index = i; } i++; } switch (ai) { case 1 : instance.code.AI_APPROACH = true; instance.code.AI_FLEE_TOLERANCE = 80; instance.code.approach = true; break; case 2 : instance.code.AI_APPROACH = true; instance.code.AI_JUMP = true; instance.code.approach = true; break; case 3 : instance.code.AI_FLEE = true; instance.code.AI_APPROACH_WITHIN = 160; instance.code.ATTACK_RANGE = 300; instance.code._FLEE_TOLERANCE = 80; break; case 4 : instance.code.AI_JUMP = true; instance.code.AI_FLEE = true; instance.code.AI_APPROACH_WITHIN = 160; instance.code.ATTACK_RANGE = 300; instance.code.flee = true; instance.code.AI_FLEE_TOLERANCE = 80; break; case 5 : instance.code.AI_APPROACH = true; instance.code.AI_APPROACH_WITHIN = 80; instance.code.approach = true; instance.code.AI_GLOMP = true; break; case 6 : instance.code.AI_FLEE = true; instance.code.AI_APPROACH_WITHIN = 160; instance.code.ATTACK_RANGE = 300; instance.code.AI_FLEE_TOLERANCE = 80; instance.code.MV_TOPSPEED = 10; } switch (obj) { case 1 : var _local2 = Math.random(); if (_local2 < 0.65) { instance.code.hasObject = true; instance.code.objectType = "bluePresent"; instance.object.gotoAndStop(2); instance.object._visible = true; } else if (_local2 >= 0.65) { instance.code.hasObject = true; instance.code.objectType = "bluePresentTall"; instance.object.gotoAndStop(9); instance.object._visible = true; if (_local2 >= 0.9) { instance.code.hasObject = true; instance.code.objectType = "bluePresentBig"; instance.object.gotoAndStop(10); instance.object._visible = true; } } break; case 2 : instance.code.hasObject = true; instance.code.objectType = "iceCream"; instance.object.gotoAndStop(5); instance.object._visible = true; break; case 3 : instance.code.hasObject = true; instance.code.objectType = "cookies"; instance.object.gotoAndStop(3); instance.object._visible = true; break; case 4 : instance.code.hasObject = true; instance.code.objectType = "present"; instance.object.gotoAndStop(1); instance.object._visible = true; break; case 5 : instance.code.hasObject = true; instance.code.objectType = "cake"; instance.object.gotoAndStop(4); instance.object._visible = true; break; case 6 : instance.code.hasObject = true; instance.code.objectType = "pillow"; instance.object.gotoAndStop(6); instance.object._visible = true; break; case 8 : instance.code.hasObject = true; instance.code.objectType = "jackBox"; instance.object.gotoAndStop(8); instance.object._visible = true; break; default : instance.code.hasObject = false; instance.object._visible = false; } aiName.splice(index, 1); aiBehavior.splice(index, 1); aiObject.splice(index, 1); } function spawn(libname, insname, xcoor, ai, obj) { wp.attachMovie(libname, insname, wp.getNextHighestDepth(), temp); var oT = eval ((wp + ".") + insname); oT._x = xcoor; oT._y = wp.GROUND - 1; register(insname, dmgP); aiName.push(oT); aiBehavior.push(ai); aiObject.push(obj); } function collisionCheck() { i = 0; while (i < wp.collisionObjects.length) { wp.collisionObjects[i].collidingWith = null; i++; } i = 0; while (i < wp.collisionObjects.length) { j = i + 1; while (j < wp.collisionObjects.length) { if (wp.collisionObjects[i].hitBox.hitTest(wp.collisionObjects[j].hitBox)) { wp.collisionObjects[i].collidingWith = wp.collisionObjects[j]; wp.collisionObjects[j].collidingWith = wp.collisionObjects[i]; } j++; } i++; } } function register(pname, dmgP) { var doneIt = false; var doneIt = false; i = 0; while (i < wp.collisionObjects.length) { if (wp.collisionObjects[i] == "") { wp.collisionObjects[i] = eval ((wp + ".") + pname); doneIt = true; } i++; } if (!doneIt) { wp.collisionObjects.push(eval ((wp + ".") + pname)); } } function unRegister(pname) { i = 0; while (i < wp.collisionObjects.length) { if (wp.collisionObjects[i] == eval ((wp + ".") + pname)) { wp.collisionObjects.splice(i, 1); } i++; } } function gimmie() { waveCount++; if (!bossPlaying) { if (level > 6) { minimumOnscreen = 1; maxEnemies = 5; } if (level > 8) { minimumOnscreen = 2; maxEnemies = 4; } } if (finalBattle && (_parent.world.player.sanity > 0)) { if (!done) { _parent.altScreen.timeout("over"); win = true; done = true; } } else { if (waveCount == Math.round((((level - 1) / 2) + 3) * 3)) { if (bossPlaying) { if (!_parent.world.player.scary) { _parent.world.jukebox.demonMusic.stop(); _parent.world.jukebox.normMusic.start(0, 52800); } bossPlaying = false; _parent.bossHud._visible = false; } waveCount = 0; if (((level % 10) == 2) || ((level % 10) == 4)) { _parent.altScreen.timeout("levelInOut"); levelString = "Level " + level; _parent.levelDisp.gotoAndPlay(2); } else if ((level % 10) == 7) { _parent.altScreen.timeout("levelInOut"); levelString = "Level " + level; _parent.levelDisp.gotoAndPlay(2); } else if ((level % 10) == 0) { _parent.altScreen.timeout("endStart"); } else { level++; levelString = "Level " + level; _parent.levelDisp.gotoAndPlay(2); } } var _local8 = 0; var _local2 = (level + (level / 3)) * 100; var _local10 = 0; var _local9 = 0; var _local3; var _local4; var _local5; var _local6; while (_local2 > 0) { if (Math.round(Math.random() * 100) < 50) { _local6 = spawnLeft - (_local10 * spawnOffset); _local10 = _local10 + 1; } else { _local6 = spawnRight + (_local9 * spawnOffset); _local9 = _local9 + 1; } _local3 = Math.round(((Math.random() * 0.8) + ((level / DIFFICULTY_SCALE) * 0.2)) * 3); if (_local3 > (enemyTypes.length - 1)) { _local3 = enemyTypes.length - 1; } if ((_local3 == 2) && (level < 5)) { _local3 = 0; } if ((_local3 == 3) && (level < 7)) { _local3 = 0; } switch (_local3) { case 0 : _local2 = _local2 - 135; break; case 1 : _local2 = _local2 - 135; break; case 2 : _local2 = _local2 - 155; break; case 3 : _local2 = _local2 - 165; } _local4 = Math.round(((Math.random() * 0.8) + ((level / DIFFICULTY_SCALE) * 0.2)) * aiTypes); if (_local4 > aiTypes) { _local4 = aiTypes; } if (_local4 < 1) { _local4 = 1; } if ((level < 5) && (_local4 > 2)) { _local4 = 1; } switch (_local4) { case 1 : _local2 = _local2 - 0; break; case 2 : _local2 = _local2 - 10; break; case 3 : _local2 = _local2 - 30; break; case 4 : _local2 = _local2 - 30; break; case 5 : _local2 = _local2 - 50; break; case 6 : _local2 = _local2 - 50; } _local5 = 0; var _local7 = 1 - (level / PRESENT_LEVEL_MOD); if (_local7 < 0) { _local7 = 0; } if (Math.random() < (_local7 * BASE_PRESENT_CHANCE)) { _local5 = 1; } if ((Math.random() < OBJECT_CHANCE) && (_local5 == 0)) { _local5 = Math.round(Math.random() * (NUM_OBJECTS - 1)) + 2; if (_local5 > level) { _local5 = level; } } if (((level % 10) == 4) && (waveCount == (Math.round((((level - 1) / 2) + 3) * 3) - 1))) { _local3 = 4; _local6 = 600; _local4 = 99; _local5 = 99; levelString = "Boss Battle"; _parent.levelDisp.gotoAndPlay(2); _parent.world.jukebox.normMusic.stop(); _parent.world.jukebox.demonMusic.start(0, 52800); bossPlaying = true; _parent.bossHud._visible = true; _parent.bossHud.bossPortrait.gotoAndStop(1); bossName = "Squirrel Scout"; minimumOnscreen = 0; _local2 = 0; _parent.altScreen.timeout("scoutCut"); } if (((level % 10) == 7) && (waveCount == (Math.round((((level - 1) / 2) + 3) * 3) - 1))) { _local3 = 5; _local6 = 1100; _local4 = 1; _local5 = 99; levelString = "Boss Battle"; _parent.levelDisp.gotoAndPlay(2); _parent.world.jukebox.normMusic.stop(); _parent.world.jukebox.demonMusic.start(0, 52800); bossPlaying = true; _parent.bossHud._visible = true; _parent.bossHud.bossPortrait.gotoAndStop(2); bossName = "Mime Clown"; minimumOnscreen = 0; _local2 = 0; } if (((level % 10) == 0) && (waveCount == (Math.round((((level - 1) / 2) + 3) * 3) - 1))) { _local3 = 6; _local6 = 800; _local4 = 1; _local5 = 99; levelString = "Boss Battle"; _parent.levelDisp.gotoAndPlay(2); _parent.world.jukebox.normMusic.stop(); _parent.world.jukebox.demonMusic.start(0, 52800); bossPlaying = true; _parent.bossHud._visible = true; _parent.bossHud.bossPortrait.gotoAndStop(3); bossName = "Squirrel Claus"; minimumOnscreen = 0; _local2 = 0; _parent.altScreen.timeout("santaCut"); } _local8++; if (_local8 <= maxEnemies) { spawn(enemyTypes[_local3], enemyTypes[_local3] + wp.getNextHighestDepth(), _local6, _local4, _local5); } else { _local2 = 0; } } } } BASE_PRESENT_CHANCE = 0.25; OBJECT_CHANCE = 0.5; PRESENT_LEVEL_MOD = 20; DIFFICULTY_SCALE = 20; NUM_OBJECTS = 7; waveCount = 0; bossPlaying = false; win = true; noScore = false; done = false; finalBattle = false; wp = _parent.world; aiName = []; aiBehavior = []; aiObject = []; minimumOnscreen = 0; maxEnemies = 6; score = 0; killCount = 0; level = 1; levelString = "Level " + level; levelMultiplier = 30; enemyTypes = ["sqm", "sqf", "sqt", "sql", "sqScout", "sqMime", "sqClaus"]; aiTypes = 6; spawnLeft = -100; spawnRight = 900; spawnOffset = 100; gimmie(); } onClipEvent (enterFrame) { collisionCheck(); if (wp.objectStack < 0) { wp.objectStack = 0; } if (wp.collisionObjects.length <= minimumOnscreen) { gimmie(); tipCheck(); } if (bossPlaying) { tipCheck(); } if (noScore) { score = 0; } }
Instance of Symbol 800 MovieClip in Frame 844
onClipEvent (enterFrame) { if (((_parent.battleManager.level % 10) > 0) && ((_parent.battleManager.level % 10) < 3)) { if (_parent.world.player.scary) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } if (((_parent.battleManager.level % 10) >= 3) && ((_parent.battleManager.level % 10) <= 4)) { if (_parent.world.player.scary) { this.gotoAndStop(4); } else { this.gotoAndStop(3); } } if (((_parent.battleManager.level % 10) >= 5) && ((_parent.battleManager.level % 10) <= 7)) { if (_parent.world.player.scary) { this.gotoAndStop(6); } else { this.gotoAndStop(5); } } if (((_parent.battleManager.level % 10) >= 8) || ((_parent.battleManager.level % 10) == 0)) { if (_parent.world.player.scary) { this.gotoAndStop(8); } else { this.gotoAndStop(7); } } }
Instance of Symbol 811 MovieClip "bossHud" in Frame 844
onClipEvent (load) { this._visible = false; }
Instance of Symbol 993 MovieClip "altScreen" in Frame 844
onClipEvent (load) { function timeout(type) { this._visible = true; this.gotoAndPlay(type); _parent.world.gamePause = true; if ((type == "pause") || (type == "over")) { vslider.knob._x = _parent.world.jukebox.snd.getVolume() * 2; _parent.world.jukebox.snd.setVolume(0); } if (type == "endStart") { vslider.knob._x = _parent.world.jukebox.snd.getVolume() * 2; _parent.world.jukebox.snd.setVolume(0); } if (_quality == "LOW") { qslider.knob._x = 0; } if (_quality == "MEDIUM") { qslider.knob._x = 100; } if (_quality == "HIGH") { qslider.knob._x = 200; } } function timein() { _parent.world.gamePause = false; _parent.world.jukebox.snd.setVolume(sndVol); trace("vslider.knob._x=" + (vslider.knob._x / 2)); _visible = false; if ((qslider.knob._x > 0) && (knob._x <= 66)) { _quality = "LOW"; } if ((qslider.knob._x > 66) && (knob._x <= 132)) { _quality = "MEDIUM"; } if ((qslider.knob._x > 132) && (knob._x <= 200)) { _quality = "HIGH"; } } function checkCheat(cheat) { msg = "Invalid Cheat"; cheat = cheat.toLowerCase(); idx = -1; if (idx == -1) { i = 0; while (i < levelCode.length) { if (levelCode[i] == cheat) { idx = i; msg = levelMsg[i]; } i++; } switch (idx) { case 0 : _parent.battleManager.level = 4; _parent.battleManager.score = 0; break; case 1 : _parent.battleManager.level = 7; _parent.battleManager.score = 0; break; case 2 : _parent.battleManager.level = 10; _parent.battleManager.score = 0; break; case 3 : _parent.battleManager.level = 12; _parent.battleManager.score = 0; break; case 4 : _parent.battleManager.level = 15; _parent.battleManager.score = 0; break; default : msg = "Invalid Cheat"; } } if (idx == -1) { i = 0; while (i < hatCode.length) { if (hatCode[i] == cheat) { idx = i; msg = hatMsg[i]; } i++; } _parent.world.player.hat = idx + 1; } return(msg); } this._visible = false; frameCount = 0; loadVariables ("http://www.shockwave.com/content/smacky/secure/vload01.txt", this); this.stop(); } onClipEvent (enterFrame) { if (Key.isDown(32) && (this._visible == false)) { timeout("pause"); } if (frameCount == 90) { if (levelCode[0] == undefined) { levelCode = levelCode.split(","); if (levelCode[0] == undefined) { _root.play(); } } if (levelMsg[0] == undefined) { levelMsg = levelMsg.split(","); if (levelMsg[0] == undefined) { _root.play(); } } if (hatCode[0] == undefined) { hatCode = hatCode.split(","); if (hatCode[0] == undefined) { _root.play(); } } if (hatMsg[0] == undefined) { hatMsg = hatMsg.split(","); if (hatMsg[0] == undefined) { _root.play(); } } } if (frameCount <= 91) { frameCount++; } }
Frame 846
gotoAndPlay (851); stop();
Frame 848
gotoAndPlay (9);
Frame 850
gotoAndPlay (9);
Frame 851
trace("shutdown"); stop();
Symbol 32 MovieClip Frame 1
this._visible = false;
Symbol 39 MovieClip Frame 42
stop();
Symbol 40 MovieClip [cookBox] Frame 1
stop();
Instance of Symbol 32 MovieClip "code" in Symbol 40 MovieClip [cookBox] Frame 1
onClipEvent (load) { function destroy() { bm.battleManager.unRegister(op); op.removeMovieClip(); } function getHit(x, y, type, dmg) { if (type != "throw") { if (pp.player._x > this._x) { dx = -x; } if (pp.player._x <= this._x) { dx = x; } dy = y * -1; grounded = false; splashPoint._x = op._x; splashPoint._y = op._y - 20; pp.attachMovie("FX_Splash", "splash" + pp.getNextHighestDepth(), pp.getNextHighestDepth(), splashPoint); } if (type == "throw") { gettingThrown = true; } if (type == "mid") { pp.jukebox.punch1.start(); } if (type == "low") { pp.jukebox.punch2.start(); } if (type == "upper") { pp.jukebox.punch3.start(); } if (type == "spinUpper") { pp.jukebox.punch3.start(); } if (type == "flyBack") { pp.jukebox.punch3.start(); } if (type == "smackDown") { type = "upper"; } hp = hp - dmg; bm.battleManager.score = bm.battleManager.score + Math.round(dmg / 10); if (hp <= 0) { hp = 0; bm.battleManager.score = bm.battleManager.score + POINTS; dead = true; if (!pp.player.demonMode) { pp.attachMovie("rageRecover", "ragRecover", 60); pp.player.rage = pp.player.rage + Math.round(POINTS * pp.RAGE_MODIFIER); pp.ragRecover._x = op._x; pp.ragRecover._y = op._y; } dy = -40; dx = 15 * (pp.player._xscale / 100); } } op.stop(); bm = _parent._parent._parent; pp = _parent._parent; op = _parent; splashPoint = new Object(); hp = 30 * pp.hpScale; dead = false; rotateSpeed = 30; hitResult = 0; grounded = false; POINTS = 75; MV_GROUND = pp.GROUND; MV_GRAVITY = pp.GRAVITY; MV_TVELOCITY = pp.TVELOCITY; MV_DELETEAT = pp.DELETEAT; MV_FRICTION = 2; MV_ROTOFF = 180; MV_BOUNCE = 20; MV_TOPSPEED = 6; MV_COLLISION_TOL = 40; op.collidingWith; op.attacking = false; op.kbx = 5; op.kby = 22; op.damage = 0; op.attType = "upper"; dx = 0; dy = 40; WINCE_DELAY = 4; winceTimer = 100; EXPIRATION = 30 * pp.OBJECT_DELAY; expireTimer = 0; gettingThrown = false; } onClipEvent (enterFrame) { if (pp.gamePause == false) { animstate = "stand"; if ((!grounded) && (!dead)) { op._rotation = op._rotation + rotateSpeed; } if (wincing) { animstate = "wince"; } if (hp <= 0) { animstate = "dead"; } op.gotoAndStop(animstate); hitResult = -1; i = 0; while (i < pp.damageObjects.length) { hitTarget = eval (((pp + ".") + pp.damageObjects[i]) + pp.damageObjPath[i]); if (op.hitTest(hitTarget) && (hitTarget.attacking == true)) { if (!wincing) { hitResult = i; } } i++; } if (hitResult > -1) { var t = eval ((pp + ".") + pp.damageObjects[hitResult]); getHit(t.kbx, t.kby, t.attType, t.damage); winceTimer = 0; wincing = true; } else if (grounded && (winceTimer >= WINCE_DELAY)) { wincing = false; } if (gettingThrown) { dx = 0; dy = 0; op._x = pp.player._x + pp.player.throwGuide._x; op._y = pp.player._y + pp.player.throwGuide._y; op._rotation = pp.player.throwGuide._rotation * (100 / pp.player._xscale); if (pp.player._currentframe == pp.player.FT_THROWRELEASE) { op._rotation = 180; getHit(-10, -30, "smackDown", 0); grounded = false; gettingThrown = false; } } if (Math.abs(pp.player._x - op._x) > Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = -1; } if (Math.abs(pp.player._x - op._x) < Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 1; } if (Math.abs(pp.player._x - op._x) == Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 0; } if (op.collidingWith != null) { if (Math.abs(op._x - pp.player._x) < Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == -1) { if (op.collidingWith._x > op._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op.collidingWith._x > op._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } if (Math.abs(op._x - pp.player._x) > Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == 1) { if (op._x < op.collidingWith._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op._x < op.collidingWith._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } } if (dead) { grounded = false; } winceTimer++; if (Math.abs(dx - 1) < 1) { dx = 0; } op._x = op._x + dx; op._y = op._y + dy; if (!grounded) { dy = dy + MV_GRAVITY; if (dy > MV_TVELOCITY) { dy = MV_TVELOCITY; } } if ((op._y >= MV_GROUND) && (!dead)) { op._y = MV_GROUND; grounded = true; if (dy == MV_TVELOCITY) { dy = -MV_BOUNCE; grounded = false; winceTimer = 0; } else { dy = 0; } op._rotation = 0; } expireTimer++; if (expireTimer == EXPIRATION) { dead = true; grounded = false; } if (op._y > MV_DELETEAT) { destroy(); } if (grounded) { if (dx > 0) { dx = dx - MV_FRICTION; } if (dx < 0) { dx = dx + MV_FRICTION; } } if (op._x < 0) { op._x = op._x + MV_TOPSPEED; } if (op._x > pp.M_WIDTH) { op._x = op._x - MV_TOPSPEED; } } }
Symbol 40 MovieClip [cookBox] Frame 2
stop();
Instance of Symbol 42 MovieClip [FX_squaBall] in Symbol 43 MovieClip [FX_fireTrail] Frame 1
onClipEvent (enterFrame) { _parent._y--; }
Symbol 43 MovieClip [FX_fireTrail] Frame 17
this.removeMovieClip();
Symbol 52 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 2
stop();
Symbol 54 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 2
stop();
Instance of Symbol 52 MovieClip "pillowHold" in Symbol 58 MovieClip Frame 6
onClipEvent (enterFrame) { if (_parent._parent.code.itemWince) { this.gotoAndStop(2); } else { gotoAndStop (1); } }
Instance of Symbol 54 MovieClip in Symbol 58 MovieClip Frame 7
onClipEvent (enterFrame) { if (_parent._parent.code.itemWince) { this.gotoAndStop(2); } else { gotoAndStop (1); } }
Instance of Symbol 32 MovieClip "code" in Symbol 121 MovieClip [sqScout] Frame 1
onClipEvent (load) { function getHit(x, y, type, dmg) { if (attacking == false) { if (type == "throw") { gettingThrown = true; } if (type == "mid") { if ((objectType == "pillow") or (objectType == "cookBox")) { if (!itemWince) { itemWince = true; pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); } dmg = 0; } else { pp.jukebox.punch1.start(); } } if (type == "low") { if ((objectType == "pillow") or (objectType == "cookBox")) { if (!itemWince) { itemWince = true; pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); } dmg = 0; } else { pp.jukebox.punch2.start(); } } if (type == "upper") { if ((objectType == "pillow") or (objectType == "cookBox")) { if (!itemWince) { itemWince = true; pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); } dmg = 0; } else { pp.jukebox.punch3.start(); } } if (type == "spinUpper") { pp.jukebox.punch3.start(); } if (type == "flyBack") { pp.jukebox.punch3.start(); } if (type == "kickBack") { if ((objectType == "pillow") or (objectType == "cookBox")) { if (!itemWince) { itemWince = true; pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); } dmg = 0; } else { pp.jukebox.punch3.start(); } } if (type == "smackDown") { type = "upper"; } if (type == "energy") { type = "upper"; } if (type == "laser") { type = "mid"; } if ((dmg > 0) && (attacking == false)) { if (type != "throw") { if (pp.player._x > op._x) { dx = -x; } if (pp.player._x <= op._x) { dx = x; } facePlayer(); dy = y * -1; grounded = false; attackTimer = 0; attacking = false; splashPoint._x = op._x; splashPoint._y = op._y - 20; pp.attachMovie("FX_Splash", "splash" + pp.getNextHighestDepth(), pp.getNextHighestDepth(), splashPoint); } lastHitType = type; hp = hp - dmg; bm.bossHud.sbar._xscale = (hp / (500 * pp.hpScale)) * 100; if (hp < 0) { bm.bossHud.sbar._xscale = 0; } winceTimer = 0; wincing = true; approach = false; flee = false; bm.battleManager.score = bm.battleManager.score + Math.round(dmg / 10); if (hp <= 0) { hp = 0; bm.battleManager.score = bm.battleManager.score + POINTS; bm.battleManager.kills++; bm.battleManager.killCount++; dead = true; } } } } function destroy() { pp.jukebox.aaah.start(); bm.battleManager.unRegister(op); op.removeMovieClip(); } function facePlayer() { if (pp.player._x < op._x) { op._xscale = -100; } if (pp.player._x > op._x) { op._xscale = 100; } } function autoOrient() { if (pp.getAngle(op._x, op._y, last_x, last_y) != undefined) { op._rotation = pp.getAngle(op._x, op._y, last_x, last_y); } } function dropItem() { var _local1 = pp.getNextHighestDepth(); var _local2 = new Object(); _local2._x = op._x + (100 * (op._xscale / 100)); _local2._y = op._y - 100; pp.attachMovie(objectType, objectType + _local1, _local1, _local2); bm.battleManager.register(objectType + _local1); hasObject = false; op.object._visible = false; objectType = ""; boxTimer = 0; } function jumpNow() { if ((!dead) && (grounded)) { if ((!wincing) && (dx != 0)) { grounded = false; jumping = true; dy = -MV_JUMPPOWER; } } } function attackNow() { if (!dead) { if (!wincing) { if ((op._x > 0) && (op._x < pp.M_WIDTH)) { if (Math.random() < ATTACK_CHANCE) { if (Math.abs(pp.player._x - op._x) < ATTACK_RANGE) { attacking = true; pp.player.sanityChange(-attackPwr); if (Math.random() < 0.5) { pp.jukebox.yoohoo.start(); } else { pp.jukebox.heyCutie.start(); } } } } } } } op = _parent; pp = _parent._parent; bm = _parent._parent._parent; splashPoint = new Object(); op.stop(); active = true; hp = 500 * pp.hpScale; dead = false; op.collidingWith = "blarg"; hitResult = -1; grounded = false; dxRelativePlayer = -1; POINTS = 1000; MV_GROUND = pp.GROUND; MV_GRAVITY = pp.GRAVITY; MV_TVELOCITY = pp.TVELOCITY; MV_DELETEAT = pp.DELETEAT; MV_FRICTION = 2; MV_ROTOFF = 180; MV_BOUNCE = 20; MV_TOPSPEED = 6; MV_COLLISION_TOL = 40; MV_JUMPPOWER = 30; AI_APPROACH_WITHIN = 100; AI_APPROACH = true; AI_JUMP = false; AI_FLEE = false; AI_HIT_STUN = 45; AI_JUMP_WAIT = 20; AI_FLEE_TOLERANCE = 80; AI_GLOMP = false; glompXoff = 30; AI_GLOMP_YOFF = Math.round(Math.random() * 30); AI_GLOMP_WAIT = 20; attackPwr = 8 * pp.attackScale; ATTACK_DELAY = 40; ATTACK_TIME = 20; ATTACK_CHANCE = 1; ATTACK_RANGE = 100; attackTimer = Math.round(Math.random() * ATTACK_DELAY) - 50; attacking = false; annoy = true; BOX_DELAY = 150; boxTimer = 0; dx = 0; dy = 0; wincing = false; lastHitType = "mid"; animstate = ""; last_x = op._x; last_y = op._y; WINCE_DELAY = 4; HIT_HOLD = 4; winceTimer = 100; itemWince = false; jumpTimer = 0; jumping = false; gettingThrown = false; objectType = ""; hasObject = false; objectLossModifier = 0; op.glomping = false; glompTimer = 0; bm.battleManager.getAI(op); } onClipEvent (enterFrame) { if (pp.gamePause == false) { if (boxTimer < BOX_DELAY) { boxTimer++; } if (boxTimer == BOX_DELAY) { objectType = "cookBox"; hasObject = true; op.object._visible = true; op.object.gotoAndStop(objectType); } if (active) { if (grounded && (dx == 0)) { animstate = "stand"; if (pp.player.scary) { animstate = "scareStand"; } } if (grounded && (dx != 0)) { animstate = "run"; if (pp.player.scary) { animstate = "scareRun"; } } if (winceTimer < AI_HIT_STUN) { animstate = "stun"; } if ((!grounded) && (dy < 0)) { animstate = "jumpUp"; if (pp.player.scary) { animstate = "scareJumpUp"; } } if ((!grounded) && (dy >= 0)) { animstate = "jumpDown"; if (pp.player.scary) { animstate = "scareJumpDown"; } } if (attacking) { animstate = "annoy"; } if (op.glomping) { animstate = "glomp"; } if (wincing) { animstate = lastHitType; } if (winceTimer <= HIT_HOLD) { animstate = lastHitType; } if (gettingThrown) { animstate = "throw"; } if (dead) { animstate = "upper"; } op.gotoAndStop(animstate); if ((animstate == "upper") || (animstate == "spinUpper")) { autoOrient(); } if (((animstate == "upper") || (animstate == "spinUpper")) || (animstate == "flyBack")) { if (dy > 0) { op.hitBox.attacking = true; } if (hasObject) { dropItem(); } } else { op.hitBox.attacking = false; } hitResult = -1; i = 0; while (i < pp.damageObjects.length) { hitTarget = eval (pp.damageObjects[i] + pp.damageObjPath[i]); if (op.hitBox.hitTest(hitTarget) && (hitTarget.attacking == true)) { if ((hitTarget != pp.player) && (hitTarget != op)) { if (!wincing) { if (!op.glomping) { hitResult = i; } if ((op.glomping && (pp.player.specialMove == "Cute Buster")) && (pp.player.specialMoving)) { hitResult = i; op.glomping = false; } if ((op.glomping && (pp.player.specialMove == "Upawcut")) && (pp.player.specialMoving)) { hitResult = i; op.glomping = false; } } } } i++; } if (hitResult > -1) { var t = eval ((pp + ".") + pp.damageObjects[hitResult]); getHit(t.kbx, t.kby, t.attType, t.damage); } else if (grounded && (winceTimer >= WINCE_DELAY)) { wincing = false; itemWince = false; } if (winceTimer > AI_HIT_STUN) { if (AI_APPROACH) { approach = true; } if (AI_FLEE) { flee = true; } } if (approach && (!wincing)) { if (grounded) { if (Math.abs(pp.player._x - op._x) > AI_APPROACH_WITHIN) { if (pp.player._x < op._x) { playerSide = -1; } if (pp.player._x > op._x) { playerSide = 1; } dx = MV_TOPSPEED * playerSide; op._xscale = playerSide * 100; } } } if (flee && (!wincing)) { if (grounded) { if (Math.abs(pp.player._x - op._x) < AI_APPROACH_WITHIN) { if (pp.player._x < op._x) { playerSide = -1; } if (pp.player._x > op._x) { playerSide = 1; } dx = (MV_TOPSPEED * playerSide) * -1; op._xscale = (playerSide * 100) * -1; if ((AI_APPROACH_WITHIN - Math.abs(pp.player._x - op._x)) < AI_FLEE_TOLERANCE) { dx = 0; } } if (Math.abs(pp.player._x - op._x) > AI_APPROACH_WITHIN) { if (pp.player._x < op._x) { playerSide = -1; } if (pp.player._x > op._x) { playerSide = 1; } dx = MV_TOPSPEED * playerSide; op._xscale = playerSide * 100; if ((Math.abs(pp.player._x - op._x) - AI_APPROACH_WITHIN) < AI_FLEE_TOLERANCE) { dx = 0; } } } } if (Math.abs(pp.player._x - op._x) > Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = -1; } if (Math.abs(pp.player._x - op._x) < Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 1; } if (Math.abs(pp.player._x - op._x) == Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 0; } if (op.collidingWith != null) { if (Math.abs(op._x - pp.player._x) < Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == -1) { if (op.collidingWith._x > op._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op.collidingWith._x > op._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } if (Math.abs(op._x - pp.player._x) > Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == 1) { if (op._x < op.collidingWith._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op._x < op.collidingWith._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } } if (gettingThrown) { dx = 0; dy = 0; op._x = pp.player._x + pp.player.throwGuide._x; op._y = pp.player._y + pp.player.throwGuide._y; op._rotation = pp.player.throwGuide._rotation * (100 / pp.player._xscale); if (pp.player._currentframe == pp.player.FT_THROWRELEASE) { op._rotation = 180; getHit(-10, -30, "smackDown", 0); grounded = false; gettingThrown = false; } } if ((jumpTimer > AI_JUMP_WAIT) && (AI_JUMP)) { jumpNow(); jumpTimer = 0; } if ((attackTimer == ATTACK_DELAY) && (annoy)) { attackNow(); } if (attackTimer == (ATTACK_DELAY + ATTACK_TIME)) { attacking = false; attackTimer = 0; } if ((!op.glomping) && (AI_GLOMP)) { if (Math.abs(pp.player._x - op._x) < op._width) { glompTimer++; } else { glompTimer = 0; } } if ((glompTimer == AI_GLOMP_WAIT) && (!wincing)) { op.glomping = true; glompXoff = glompXoff * (-1 * (op._xscale / 100)); glompTimer++; grounded = false; } if (pp.player.demonMode) { glompTimer = 0; attackTimer = 0; attacking = false; op.glomping = false; } winceTimer++; jumpTimer++; attackTimer++; if (Math.abs(dx) < 1) { dx = 0; } last_x = op._x; last_y = op._y; if ((animstate == "annoy") && (grounded)) { dx = 0; } if (op.glomping) { if (pp.player._xscale == 100) { op._x = (pp.player._x + glompXoff) + pp.player.glompTarget._x; } if (pp.player._xscale == -100) { op._x = (pp.player._x + glompXoff) - pp.player.glompTarget._x; } op._y = pp.player._y - AI_GLOMP_YOFF; } if (!op.glomping) { op._x = op._x + dx; op._y = op._y + dy; if (!grounded) { dy = dy + MV_GRAVITY; if (dy > MV_TVELOCITY) { dy = MV_TVELOCITY; } } if ((op._y >= MV_GROUND) && (!dead)) { op._y = MV_GROUND; grounded = true; if ((dy == MV_TVELOCITY) && (!jumping)) { dy = -MV_BOUNCE; grounded = false; winceTimer = 0; } else { dy = 0; jumping = false; } op._rotation = 0; } if (op._y > MV_DELETEAT) { destroy(); } if (grounded) { if (dx > 0) { dx = dx - MV_FRICTION; } if (dx < 0) { dx = dx + MV_FRICTION; } } } } } }
Instance of Symbol 58 MovieClip "object" in Symbol 121 MovieClip [sqScout] Frame 1
onClipEvent (load) { stop(); }
Instance of Symbol 32 MovieClip "code" in Symbol 159 MovieClip [sqf] Frame 1
onClipEvent (load) { function getHit(x, y, type, dmg) { if (attacking == false) { if (type == "throw") { gettingThrown = true; } if (type == "mid") { if ((objectType == "pillow") or (objectType == "umbrella")) { if (!itemWince) { itemWince = true; pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); } dmg = 0; } else { pp.jukebox.punch1.start(); } } if (type == "low") { if ((objectType == "pillow") or (objectType == "umbrella")) { if (!itemWince) { itemWince = true; pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); } dmg = 0; } else { pp.jukebox.punch2.start(); } } if (type == "upper") { if ((objectType == "pillow") or (objectType == "umbrella")) { if (!itemWince) { itemWince = true; pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); } dmg = 0; } else { pp.jukebox.punch3.start(); } } if (type == "spinUpper") { pp.jukebox.punch3.start(); } if (type == "flyBack") { pp.jukebox.punch3.start(); } if (type == "kickBack") { if ((objectType == "pillow") or (objectType == "umbrella")) { if (!itemWince) { itemWince = true; pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); } dmg = 0; } else { pp.jukebox.punch3.start(); } } if (type == "smackDown") { type = "upper"; } if (type == "energy") { type = "upper"; } if (type == "laser") { type = "mid"; } if ((dmg > 0) && (attacking == false)) { if (type != "throw") { if (pp.player._x > op._x) { dx = -x; } if (pp.player._x <= op._x) { dx = x; } facePlayer(); dy = y * -1; grounded = false; attackTimer = 0; attacking = false; splashPoint._x = op._x; splashPoint._y = op._y - 20; pp.attachMovie("FX_Splash", "splash" + pp.getNextHighestDepth(), pp.getNextHighestDepth(), splashPoint); } lastHitType = type; hp = hp - dmg; winceTimer = 0; wincing = true; approach = false; flee = false; bm.battleManager.score = bm.battleManager.score + Math.round(dmg / 10); if (hp <= 0) { hp = 0; bm.battleManager.score = bm.battleManager.score + POINTS; bm.battleManager.kills++; bm.battleManager.killCount++; dead = true; } } } } function destroy() { pp.jukebox.aaah.start(); bm.battleManager.unRegister(op); op.removeMovieClip(); } function facePlayer() { if (pp.player._x < op._x) { op._xscale = -100; } if (pp.player._x > op._x) { op._xscale = 100; } } function autoOrient() { if (pp.getAngle(op._x, op._y, last_x, last_y) != undefined) { op._rotation = pp.getAngle(op._x, op._y, last_x, last_y); } } function dropItem() { var _local1 = pp.getNextHighestDepth(); var _local2 = new Object(); _local2._x = op._x + (100 * (op._xscale / 100)); _local2._y = op._y - 100; pp.attachMovie(objectType, objectType + _local1, _local1, _local2); bm.battleManager.register(objectType + _local1); hasObject = false; op.object._visible = false; objectType = ""; } function jumpNow() { if ((!dead) && (grounded)) { if ((!wincing) && (dx != 0)) { grounded = false; jumping = true; dy = -MV_JUMPPOWER; } } } function attackNow() { if (!dead) { if (!wincing) { if ((op._x > 0) && (op._x < pp.M_WIDTH)) { if (Math.random() < ATTACK_CHANCE) { if (Math.abs(pp.player._x - op._x) < ATTACK_RANGE) { attacking = true; pp.player.sanityChange(-attackPwr); if (Math.random() < 0.5) { pp.jukebox.yoohoo.start(); } else { pp.jukebox.heyCutie.start(); } } } } } } } op = _parent; pp = _parent._parent; bm = _parent._parent._parent; splashPoint = new Object(); op.stop(); active = true; hp = 50 * pp.hpScale; dead = false; op.collidingWith = "blarg"; hitResult = -1; grounded = false; dxRelativePlayer = -1; POINTS = 50; MV_GROUND = pp.GROUND; MV_GRAVITY = pp.GRAVITY; MV_TVELOCITY = pp.TVELOCITY; MV_DELETEAT = pp.DELETEAT; MV_FRICTION = 2; MV_ROTOFF = 180; MV_BOUNCE = 20; MV_TOPSPEED = 6; MV_COLLISION_TOL = 40; MV_JUMPPOWER = 30; AI_APPROACH_WITHIN = 120; AI_APPROACH = false; AI_JUMP = false; AI_FLEE = false; AI_HIT_STUN = 45; AI_JUMP_WAIT = 20; AI_FLEE_TOLERANCE = 80; AI_GLOMP = false; glompXoff = 30; AI_GLOMP_YOFF = Math.round(Math.random() * 30); AI_GLOMP_WAIT = 20; attackPwr = 5 * pp.attackScale; ATTACK_DELAY = 90; ATTACK_TIME = 20; ATTACK_CHANCE = 0.8; ATTACK_RANGE = 200; attackTimer = Math.round(Math.random() * ATTACK_DELAY) - 50; attacking = false; annoy = true; dx = 0; dy = 0; wincing = false; lastHitType = "mid"; animstate = ""; last_x = op._x; last_y = op._y; WINCE_DELAY = 4; HIT_HOLD = 4; winceTimer = 100; itemWince = false; jumpTimer = 0; jumping = false; gettingThrown = false; objectType = ""; hasObject = false; objectLossModifier = 0; op.glomping = false; glompTimer = 0; bm.battleManager.getAI(op); } onClipEvent (enterFrame) { if (pp.gamePause == false) { if (active) { if (grounded && (dx == 0)) { animstate = "stand"; if (pp.player.scary) { animstate = "scareStand"; } } if (grounded && (dx != 0)) { animstate = "run"; if (pp.player.scary) { animstate = "scareRun"; } } if (winceTimer < AI_HIT_STUN) { animstate = "stun"; } if ((!grounded) && (dy < 0)) { animstate = "jumpUp"; if (pp.player.scary) { animstate = "scareJumpUp"; } } if ((!grounded) && (dy >= 0)) { animstate = "jumpDown"; if (pp.player.scary) { animstate = "scareJumpDown"; } } if (attacking) { animstate = "annoy"; } if (op.glomping) { animstate = "glomp"; } if (wincing) { animstate = lastHitType; } if (winceTimer <= HIT_HOLD) { animstate = lastHitType; } if (gettingThrown) { animstate = "throw"; } if (dead) { animstate = "upper"; } op.gotoAndStop(animstate); if ((animstate == "upper") || (animstate == "spinUpper")) { autoOrient(); } if (((animstate == "upper") || (animstate == "spinUpper")) || (animstate == "flyBack")) { if (dy > 0) { op.hitBox.attacking = true; } if (hasObject) { dropItem(); } } else { op.hitBox.attacking = false; } hitResult = -1; i = 0; while (i < pp.damageObjects.length) { hitTarget = eval (pp.damageObjects[i] + pp.damageObjPath[i]); if (op.hitBox.hitTest(hitTarget) && (hitTarget.attacking == true)) { if ((hitTarget != pp.player) && (hitTarget != op)) { if (!wincing) { if (!op.glomping) { hitResult = i; } if ((op.glomping && (pp.player.specialMove == "Cute Buster")) && (pp.player.specialMoving)) { hitResult = i; op.glomping = false; } if ((op.glomping && (pp.player.specialMove == "Upawcut")) && (pp.player.specialMoving)) { hitResult = i; op.glomping = false; } } } } i++; } if (hitResult > -1) { var t = eval ((pp + ".") + pp.damageObjects[hitResult]); getHit(t.kbx, t.kby, t.attType, t.damage); } else if (grounded && (winceTimer >= WINCE_DELAY)) { wincing = false; itemWince = false; } if (winceTimer > AI_HIT_STUN) { if (AI_APPROACH) { approach = true; } if (AI_FLEE) { flee = true; } } if (approach && (!wincing)) { if (grounded) { if (Math.abs(pp.player._x - op._x) > AI_APPROACH_WITHIN) { if (pp.player._x < op._x) { playerSide = -1; } if (pp.player._x > op._x) { playerSide = 1; } dx = MV_TOPSPEED * playerSide; op._xscale = playerSide * 100; } } } if (flee && (!wincing)) { if (grounded) { if (Math.abs(pp.player._x - op._x) < AI_APPROACH_WITHIN) { if (pp.player._x < op._x) { playerSide = -1; } if (pp.player._x > op._x) { playerSide = 1; } dx = (MV_TOPSPEED * playerSide) * -1; op._xscale = (playerSide * 100) * -1; if ((AI_APPROACH_WITHIN - Math.abs(pp.player._x - op._x)) < AI_FLEE_TOLERANCE) { dx = 0; } } if (Math.abs(pp.player._x - op._x) > AI_APPROACH_WITHIN) { if (pp.player._x < op._x) { playerSide = -1; } if (pp.player._x > op._x) { playerSide = 1; } dx = MV_TOPSPEED * playerSide; op._xscale = playerSide * 100; if ((Math.abs(pp.player._x - op._x) - AI_APPROACH_WITHIN) < AI_FLEE_TOLERANCE) { dx = 0; } } } } if (Math.abs(pp.player._x - op._x) > Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = -1; } if (Math.abs(pp.player._x - op._x) < Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 1; } if (Math.abs(pp.player._x - op._x) == Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 0; } if (op.collidingWith != null) { if (Math.abs(op._x - pp.player._x) < Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == -1) { if (op.collidingWith._x > op._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op.collidingWith._x > op._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } if (Math.abs(op._x - pp.player._x) > Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == 1) { if (op._x < op.collidingWith._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op._x < op.collidingWith._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } } if (gettingThrown) { dx = 0; dy = 0; op._x = pp.player._x + pp.player.throwGuide._x; op._y = pp.player._y + pp.player.throwGuide._y; op._rotation = pp.player.throwGuide._rotation * (100 / pp.player._xscale); if (pp.player._currentframe == pp.player.FT_THROWRELEASE) { op._rotation = 180; getHit(-10, -30, "smackDown", 0); grounded = false; gettingThrown = false; } } if ((jumpTimer > AI_JUMP_WAIT) && (AI_JUMP)) { jumpNow(); jumpTimer = 0; } if ((attackTimer == ATTACK_DELAY) && (annoy)) { attackNow(); } if (attackTimer == (ATTACK_DELAY + ATTACK_TIME)) { attacking = false; attackTimer = 0; } if ((!op.glomping) && (AI_GLOMP)) { if (Math.abs(pp.player._x - op._x) < op._width) { glompTimer++; } else { glompTimer = 0; } } if ((glompTimer == AI_GLOMP_WAIT) && (!wincing)) { op.glomping = true; glompXoff = glompXoff * (-1 * (op._xscale / 100)); glompTimer++; grounded = false; } if (pp.player.demonMode) { glompTimer = 0; attackTimer = 0; attacking = false; op.glomping = false; } winceTimer++; jumpTimer++; attackTimer++; if (Math.abs(dx) < 1) { dx = 0; } last_x = op._x; last_y = op._y; if ((animstate == "annoy") && (grounded)) { dx = 0; } if (op.glomping) { if (pp.player._xscale == 100) { op._x = (pp.player._x + glompXoff) + pp.player.glompTarget._x; } if (pp.player._xscale == -100) { op._x = (pp.player._x + glompXoff) - pp.player.glompTarget._x; } op._y = pp.player._y - AI_GLOMP_YOFF; } if (!op.glomping) { op._x = op._x + dx; op._y = op._y + dy; if (!grounded) { dy = dy + MV_GRAVITY; if (dy > MV_TVELOCITY) { dy = MV_TVELOCITY; } } if ((op._y >= MV_GROUND) && (!dead)) { op._y = MV_GROUND; grounded = true; if ((dy == MV_TVELOCITY) && (!jumping)) { dy = -MV_BOUNCE; grounded = false; winceTimer = 0; } else { dy = 0; jumping = false; } op._rotation = 0; } if (op._y > MV_DELETEAT) { destroy(); } if (grounded) { if (dx > 0) { dx = dx - MV_FRICTION; } if (dx < 0) { dx = dx + MV_FRICTION; } } } } } }
Instance of Symbol 58 MovieClip "object" in Symbol 159 MovieClip [sqf] Frame 1
onClipEvent (load) { stop(); }
Instance of Symbol 32 MovieClip "code" in Symbol 194 MovieClip [sqt] Frame 1
onClipEvent (load) { function getHit(x, y, type, dmg) { if (attacking == false) { if (type == "throw") { gettingThrown = true; } if (type == "mid") { if ((objectType == "pillow") or (objectType == "umbrella")) { if (!itemWince) { itemWince = true; pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); } dmg = 0; } else { pp.jukebox.punch1.start(); } } if (type == "low") { if ((objectType == "pillow") or (objectType == "umbrella")) { if (!itemWince) { itemWince = true; pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); } dmg = 0; } else { pp.jukebox.punch2.start(); } } if (type == "upper") { if ((objectType == "pillow") or (objectType == "umbrella")) { if (!itemWince) { itemWince = true; pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); } dmg = 0; } else { pp.jukebox.punch3.start(); } } if (type == "spinUpper") { pp.jukebox.punch3.start(); } if (type == "flyBack") { pp.jukebox.punch3.start(); } if (type == "kickBack") { if ((objectType == "pillow") or (objectType == "umbrella")) { if (!itemWince) { itemWince = true; pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); } dmg = 0; } else { pp.jukebox.punch3.start(); } } if (type == "smackDown") { type = "upper"; } if (type == "energy") { type = "upper"; } if (type == "laser") { type = "mid"; } if ((dmg > 0) && (attacking == false)) { if (type != "throw") { if (pp.player._x > op._x) { dx = -x; } if (pp.player._x <= op._x) { dx = x; } facePlayer(); dy = y * -1; grounded = false; attackTimer = 0; attacking = false; splashPoint._x = op._x; splashPoint._y = op._y - 20; pp.attachMovie("FX_Splash", "splash" + pp.getNextHighestDepth(), pp.getNextHighestDepth(), splashPoint); } lastHitType = type; hp = hp - dmg; winceTimer = 0; wincing = true; approach = false; flee = false; bm.battleManager.score = bm.battleManager.score + Math.round(dmg / 10); if (hp <= 0) { hp = 0; bm.battleManager.score = bm.battleManager.score + POINTS; bm.battleManager.kills++; bm.battleManager.killCount++; dead = true; } } } } function destroy() { pp.jukebox.ohNo.start(); bm.battleManager.unRegister(op); op.removeMovieClip(); } function facePlayer() { if (pp.player._x < op._x) { op._xscale = -100; } if (pp.player._x > op._x) { op._xscale = 100; } } function autoOrient() { if (pp.getAngle(op._x, op._y, last_x, last_y) != undefined) { op._rotation = pp.getAngle(op._x, op._y, last_x, last_y); } } function dropItem() { var _local1 = pp.getNextHighestDepth(); var _local2 = new Object(); _local2._x = op._x + (100 * (op._xscale / 100)); _local2._y = op._y - 100; pp.attachMovie(objectType, objectType + _local1, _local1, _local2); bm.battleManager.register(objectType + _local1); hasObject = false; op.object._visible = false; objectType = ""; } function jumpNow() { if ((!dead) && (grounded)) { if ((!wincing) && (dx != 0)) { grounded = false; jumping = true; dy = -MV_JUMPPOWER; } } } function attackNow() { if (!dead) { if (!wincing) { if ((op._x > 0) && (op._x < pp.M_WIDTH)) { if (Math.random() < ATTACK_CHANCE) { if (Math.abs(pp.player._x - op._x) < ATTACK_RANGE) { attacking = true; pp.player.sanityChange(-attackPwr); if (Math.random() < 0.5) { pp.jukebox.uncleSmacky.start(); } else { pp.jukebox.frownUpsideDown.start(); } } } } } } } op = _parent; pp = _parent._parent; bm = _parent._parent._parent; splashPoint = new Object(); op.stop(); active = true; hp = 25 * pp.hpScale; dead = false; op.collidingWith = "blarg"; hitResult = -1; grounded = false; dxRelativePlayer = -1; POINTS = 75; MV_GROUND = pp.GROUND; MV_GRAVITY = pp.GRAVITY; MV_TVELOCITY = pp.TVELOCITY; MV_DELETEAT = pp.DELETEAT; MV_FRICTION = 2; MV_ROTOFF = 180; MV_BOUNCE = 20; MV_TOPSPEED = 6; MV_COLLISION_TOL = 40; MV_JUMPPOWER = 30; AI_APPROACH_WITHIN = 120; AI_APPROACH = false; AI_JUMP = false; AI_FLEE = false; AI_HIT_STUN = 45; AI_JUMP_WAIT = 20; AI_FLEE_TOLERANCE = 80; AI_GLOMP = true; glompXoff = 30; AI_GLOMP_YOFF = Math.round(Math.random() * 30); AI_GLOMP_WAIT = 20; attackPwr = 4 * pp.attackScale; ATTACK_DELAY = 90; ATTACK_TIME = 20; ATTACK_CHANCE = 1; ATTACK_RANGE = 200; attackTimer = Math.round(Math.random() * ATTACK_DELAY) - 50; attacking = false; annoy = true; dx = 0; dy = 0; wincing = false; lastHitType = "mid"; animstate = ""; last_x = op._x; last_y = op._y; WINCE_DELAY = 4; HIT_HOLD = 4; winceTimer = 100; jumpTimer = 0; jumping = false; gettingThrown = false; objectType = ""; hasObject = false; objectLossModifier = 0; op.glomping = false; glompTimer = 0; bm.battleManager.getAI(op); } onClipEvent (enterFrame) { if (pp.gamePause == false) { if (active) { if (grounded && (dx == 0)) { animstate = "stand"; if (pp.player.scary) { animstate = "scareStand"; } } if (grounded && (dx != 0)) { animstate = "run"; if (pp.player.scary) { animstate = "scareRun"; } } if (winceTimer < AI_HIT_STUN) { animstate = "stun"; } if ((!grounded) && (dy < 0)) { animstate = "jumpUp"; if (pp.player.scary) { animstate = "scareJumpUp"; } } if ((!grounded) && (dy >= 0)) { animstate = "jumpDown"; if (pp.player.scary) { animstate = "scareJumpDown"; } } if (attacking) { animstate = "annoy"; } if (op.glomping) { animstate = "glomp"; } if (wincing) { animstate = lastHitType; } if (winceTimer <= HIT_HOLD) { animstate = lastHitType; } if (gettingThrown) { animstate = "throw"; } if (dead) { animstate = "upper"; } op.gotoAndStop(animstate); if ((animstate == "upper") || (animstate == "spinUpper")) { autoOrient(); } if (((animstate == "upper") || (animstate == "spinUpper")) || (animstate == "flyBack")) { if (dy > 0) { op.hitBox.attacking = true; } if (hasObject) { dropItem(); } } else { op.hitBox.attacking = false; } hitResult = -1; i = 0; while (i < pp.damageObjects.length) { hitTarget = eval (pp.damageObjects[i] + pp.damageObjPath[i]); if (op.hitBox.hitTest(hitTarget) && (hitTarget.attacking == true)) { if ((hitTarget != pp.player) && (hitTarget != op)) { if (!wincing) { if (!op.glomping) { hitResult = i; } if ((op.glomping && (pp.player.specialMove == "Cute Buster")) && (pp.player.specialMoving)) { hitResult = i; op.glomping = false; } if ((op.glomping && (pp.player.specialMove == "Upawcut")) && (pp.player.specialMoving)) { hitResult = i; op.glomping = false; } } } } i++; } if (hitResult > -1) { var t = eval ((pp + ".") + pp.damageObjects[hitResult]); getHit(t.kbx, t.kby, t.attType, t.damage); } else if (grounded && (winceTimer >= WINCE_DELAY)) { wincing = false; itemWince = false; } if (winceTimer > AI_HIT_STUN) { if (AI_APPROACH) { approach = true; } if (AI_FLEE) { flee = true; } } if (approach && (!wincing)) { if (grounded) { if (Math.abs(pp.player._x - op._x) > AI_APPROACH_WITHIN) { if (pp.player._x < op._x) { playerSide = -1; } if (pp.player._x > op._x) { playerSide = 1; } dx = MV_TOPSPEED * playerSide; op._xscale = playerSide * 100; } } } if (flee && (!wincing)) { if (grounded) { if (Math.abs(pp.player._x - op._x) < AI_APPROACH_WITHIN) { if (pp.player._x < op._x) { playerSide = -1; } if (pp.player._x > op._x) { playerSide = 1; } dx = (MV_TOPSPEED * playerSide) * -1; op._xscale = (playerSide * 100) * -1; if ((AI_APPROACH_WITHIN - Math.abs(pp.player._x - op._x)) < AI_FLEE_TOLERANCE) { dx = 0; } } if (Math.abs(pp.player._x - op._x) > AI_APPROACH_WITHIN) { if (pp.player._x < op._x) { playerSide = -1; } if (pp.player._x > op._x) { playerSide = 1; } dx = MV_TOPSPEED * playerSide; op._xscale = playerSide * 100; if ((Math.abs(pp.player._x - op._x) - AI_APPROACH_WITHIN) < AI_FLEE_TOLERANCE) { dx = 0; } } } } if (Math.abs(pp.player._x - op._x) > Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = -1; } if (Math.abs(pp.player._x - op._x) < Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 1; } if (Math.abs(pp.player._x - op._x) == Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 0; } if (op.collidingWith != null) { if (Math.abs(op._x - pp.player._x) < Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == -1) { if (op.collidingWith._x > op._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op.collidingWith._x > op._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } if (Math.abs(op._x - pp.player._x) > Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == 1) { if (op._x < op.collidingWith._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op._x < op.collidingWith._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } } if (gettingThrown) { dx = 0; dy = 0; op._x = pp.player._x + pp.player.throwGuide._x; op._y = pp.player._y + pp.player.throwGuide._y; op._rotation = pp.player.throwGuide._rotation * (100 / pp.player._xscale); if (pp.player._currentframe == pp.player.FT_THROWRELEASE) { op._rotation = 180; getHit(-10, -30, "smackDown", 0); grounded = false; gettingThrown = false; } } if ((jumpTimer > AI_JUMP_WAIT) && (AI_JUMP)) { jumpNow(); jumpTimer = 0; } if ((attackTimer == ATTACK_DELAY) && (annoy)) { attackNow(); } if (attackTimer == (ATTACK_DELAY + ATTACK_TIME)) { attacking = false; attackTimer = 0; } if ((!op.glomping) && (AI_GLOMP)) { if (Math.abs(pp.player._x - op._x) < op._width) { glompTimer++; } else { glompTimer = 0; } } if ((glompTimer == AI_GLOMP_WAIT) && (!wincing)) { op.glomping = true; glompXoff = glompXoff * (-1 * (op._xscale / 100)); glompTimer++; grounded = false; } if (pp.player.demonMode) { glompTimer = 0; attackTimer = 0; attacking = false; op.glomping = false; } winceTimer++; jumpTimer++; attackTimer++; if (Math.abs(dx) < 1) { dx = 0; } last_x = op._x; last_y = op._y; if ((animstate == "annoy") && (grounded)) { dx = 0; } if (op.glomping) { if (pp.player._xscale == 100) { op._x = (pp.player._x + glompXoff) + pp.player.glompTarget._x; } if (pp.player._xscale == -100) { op._x = (pp.player._x + glompXoff) - pp.player.glompTarget._x; } op._y = pp.player._y - AI_GLOMP_YOFF; } if (!op.glomping) { op._x = op._x + dx; op._y = op._y + dy; if (!grounded) { dy = dy + MV_GRAVITY; if (dy > MV_TVELOCITY) { dy = MV_TVELOCITY; } } if ((op._y >= MV_GROUND) && (!dead)) { op._y = MV_GROUND; grounded = true; if ((dy == MV_TVELOCITY) && (!jumping)) { dy = -MV_BOUNCE; grounded = false; winceTimer = 0; } else { dy = 0; jumping = false; } op._rotation = 0; } if (op._y > MV_DELETEAT) { destroy(); } if (grounded) { if (dx > 0) { dx = dx - MV_FRICTION; } if (dx < 0) { dx = dx + MV_FRICTION; } } } } } }
Instance of Symbol 58 MovieClip "object" in Symbol 194 MovieClip [sqt] Frame 1
onClipEvent (load) { stop(); }
Instance of Symbol 32 MovieClip "code" in Symbol 229 MovieClip [sqMime] Frame 1
onClipEvent (load) { function getHit(x, y, type, dmg) { if (attacking == false) { if (type == "throw") { gettingThrown = true; } if (type == "mid") { if ((objectType == "pillow") or (objectType == "cookBox")) { if (!itemWince) { itemWince = true; pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); } dmg = 0; } else { pp.jukebox.punch1.start(); } } if (type == "low") { if ((objectType == "pillow") or (objectType == "cookBox")) { if (!itemWince) { itemWince = true; pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); } dmg = 0; } else { pp.jukebox.punch2.start(); } } if (type == "upper") { if (dmg == 30) { dmg = 0; } } if (type == "spinUpper") { pp.jukebox.punch3.start(); } if (type == "flyBack") { pp.jukebox.punch3.start(); } if (type == "kickBack") { if ((objectType == "pillow") or (objectType == "cookBox")) { if (!itemWince) { itemWince = true; pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); } dmg = 0; } else { pp.jukebox.punch3.start(); } } if (type == "smackDown") { type = "upper"; } if (type == "energy") { type = "upper"; } if (type == "laser") { type = "mid"; } if ((dmg > 0) && (attacking == false)) { if (type != "throw") { if (pp.player._x > op._x) { dx = -x; } if (pp.player._x <= op._x) { dx = x; } facePlayer(); dy = y * -1; grounded = false; attackTimer = 0; attacking = false; splashPoint._x = op._x; splashPoint._y = op._y - 20; pp.attachMovie("FX_Splash", "splash" + pp.getNextHighestDepth(), pp.getNextHighestDepth(), splashPoint); } lastHitType = type; hp = hp - dmg; bm.bossHud.sbar._xscale = (hp / (MAX_HP * pp.hpScale)) * 100; if (hp < 0) { bm.bossHud.sbar._xscale = 0; } winceTimer = 0; wincing = true; approach = false; flee = false; bm.battleManager.score = bm.battleManager.score + Math.round(dmg / 10); if (hp <= 0) { hp = 0; bm.battleManager.score = bm.battleManager.score + POINTS; bm.battleManager.kills++; bm.battleManager.killCount++; dead = true; } } } } function destroy() { pp.jukebox.aaah.start(); bm.battleManager.unRegister(op); op.removeMovieClip(); } function facePlayer() { if (pp.player._x < op._x) { op._xscale = -100; } if (pp.player._x > op._x) { op._xscale = 100; } } function autoOrient() { if (pp.getAngle(op._x, op._y, last_x, last_y) != undefined) { op._rotation = pp.getAngle(op._x, op._y, last_x, last_y); } } function dropItem() { var _local1 = pp.getNextHighestDepth(); var _local2 = new Object(); _local2._x = op._x + (100 * (op._xscale / 100)); _local2._y = op._y - 100; pp.attachMovie(objectType, objectType + _local1, _local1, _local2); bm.battleManager.register(objectType + _local1); hasObject = false; op.object._visible = false; objectType = ""; boxTimer = 0; } function jumpNow() { if ((!dead) && (grounded)) { if ((!wincing) && (dx != 0)) { grounded = false; jumping = true; dy = -MV_JUMPPOWER; } } } function attackNow() { if (!dead) { if (!wincing) { if ((op._x > 0) && (op._x < pp.M_WIDTH)) { if (Math.random() < ATTACK_CHANCE) { if (Math.abs(pp.player._x - op._x) < ATTACK_RANGE) { attacking = true; pp.player.sanityChange(-attackPwr); if (Math.random() < 0.5) { pp.jukebox.yoohoo.start(); } else { pp.jukebox.heyCutie.start(); } } } } } } } op = _parent; pp = _parent._parent; bm = _parent._parent._parent; splashPoint = new Object(); op.stop(); active = true; MAX_HP = 300 * pp.hpScale; hp = MAX_HP; dead = false; op.collidingWith = "blarg"; hitResult = -1; grounded = false; dxRelativePlayer = -1; POINTS = 1000; MV_GROUND = pp.GROUND; MV_GRAVITY = pp.GRAVITY; MV_TVELOCITY = pp.TVELOCITY; MV_DELETEAT = pp.DELETEAT; MV_FRICTION = 2; MV_ROTOFF = 180; MV_BOUNCE = 20; MV_TOPSPEED = 6; MV_COLLISION_TOL = 40; MV_JUMPPOWER = 30; AI_APPROACH_WITHIN = 100; AI_APPROACH = true; AI_JUMP = false; AI_FLEE = false; AI_HIT_STUN = 45; AI_JUMP_WAIT = 20; AI_FLEE_TOLERANCE = 80; AI_GLOMP = false; glompXoff = 30; AI_GLOMP_YOFF = Math.round(Math.random() * 30); AI_GLOMP_WAIT = 20; attackPwr = 3 * pp.attackScale; ATTACK_DELAY = 80; ATTACK_TIME = 20; ATTACK_CHANCE = 0.9; ATTACK_RANGE = 100; attackTimer = Math.round(Math.random() * ATTACK_DELAY) - 50; attacking = false; annoy = false; BOX_DELAY = 45; boxTimer = 0; dx = 0; dy = 0; wincing = false; lastHitType = "mid"; animstate = ""; last_x = op._x; last_y = op._y; WINCE_DELAY = 4; HIT_HOLD = 4; winceTimer = 100; itemWince = false; jumpTimer = 0; jumping = false; gettingThrown = false; objectType = ""; hasObject = false; objectLossModifier = 0; op.glomping = false; glompTimer = 0; bm.battleManager.getAI(op); } onClipEvent (enterFrame) { if (pp.gamePause == false) { if (boxTimer < BOX_DELAY) { boxTimer++; } if (boxTimer == BOX_DELAY) { objectType = "jackBox"; hasObject = true; op.object._visible = true; op.object.gotoAndStop(objectType); dropItem(); } if (active) { if (grounded && (dx == 0)) { animstate = "stand"; if (pp.player.scary) { animstate = "scareStand"; } } if (grounded && (dx != 0)) { animstate = "run"; if (pp.player.scary) { animstate = "scareRun"; } } if (winceTimer < AI_HIT_STUN) { animstate = "stun"; } if ((!grounded) && (dy < 0)) { animstate = "jumpUp"; if (pp.player.scary) { animstate = "scareJumpUp"; } } if ((!grounded) && (dy >= 0)) { animstate = "jumpDown"; if (pp.player.scary) { animstate = "scareJumpDown"; } } if (attacking) { animstate = "annoy"; } if (op.glomping) { animstate = "glomp"; } if (wincing) { animstate = lastHitType; } if (winceTimer <= HIT_HOLD) { animstate = lastHitType; } if (gettingThrown) { animstate = "throw"; } if (dead) { animstate = "upper"; } op.gotoAndStop(animstate); if ((animstate == "upper") || (animstate == "spinUpper")) { autoOrient(); } if (((animstate == "upper") || (animstate == "spinUpper")) || (animstate == "flyBack")) { if (dy > 0) { op.hitBox.attacking = true; } if (hasObject) { dropItem(); } } else { op.hitBox.attacking = false; } hitResult = -1; i = 0; while (i < pp.damageObjects.length) { hitTarget = eval (pp.damageObjects[i] + pp.damageObjPath[i]); if (op.hitBox.hitTest(hitTarget) && (hitTarget.attacking == true)) { if ((hitTarget != pp.player) && (hitTarget != op)) { if (!wincing) { if (!op.glomping) { hitResult = i; } if ((op.glomping && (pp.player.specialMove == "Cute Buster")) && (pp.player.specialMoving)) { hitResult = i; op.glomping = false; } if ((op.glomping && (pp.player.specialMove == "Upawcut")) && (pp.player.specialMoving)) { hitResult = i; op.glomping = false; } } } } i++; } if (hitResult > -1) { var t = eval ((pp + ".") + pp.damageObjects[hitResult]); getHit(t.kbx, t.kby, t.attType, t.damage); } else if (grounded && (winceTimer >= WINCE_DELAY)) { wincing = false; itemWince = false; } if (winceTimer > AI_HIT_STUN) { if (AI_APPROACH) { approach = true; } if (AI_FLEE) { flee = true; } } if (approach && (!wincing)) { if (grounded) { if (Math.abs(pp.player._x - op._x) > AI_APPROACH_WITHIN) { if (pp.player._x < op._x) { playerSide = -1; } if (pp.player._x > op._x) { playerSide = 1; } dx = MV_TOPSPEED * playerSide; op._xscale = playerSide * 100; } } } if (flee && (!wincing)) { if (grounded) { if (Math.abs(pp.player._x - op._x) < AI_APPROACH_WITHIN) { if (pp.player._x < op._x) { playerSide = -1; } if (pp.player._x > op._x) { playerSide = 1; } dx = (MV_TOPSPEED * playerSide) * -1; op._xscale = (playerSide * 100) * -1; if ((AI_APPROACH_WITHIN - Math.abs(pp.player._x - op._x)) < AI_FLEE_TOLERANCE) { dx = 0; } } if (Math.abs(pp.player._x - op._x) > AI_APPROACH_WITHIN) { if (pp.player._x < op._x) { playerSide = -1; } if (pp.player._x > op._x) { playerSide = 1; } dx = MV_TOPSPEED * playerSide; op._xscale = playerSide * 100; if ((Math.abs(pp.player._x - op._x) - AI_APPROACH_WITHIN) < AI_FLEE_TOLERANCE) { dx = 0; } } } } if (Math.abs(pp.player._x - op._x) > Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = -1; } if (Math.abs(pp.player._x - op._x) < Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 1; } if (Math.abs(pp.player._x - op._x) == Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 0; } if (op.collidingWith != null) { if (Math.abs(op._x - pp.player._x) < Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == -1) { if (op.collidingWith._x > op._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op.collidingWith._x > op._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } if (Math.abs(op._x - pp.player._x) > Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == 1) { if (op._x < op.collidingWith._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op._x < op.collidingWith._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } } if (gettingThrown) { dx = 0; dy = 0; op._x = pp.player._x + pp.player.throwGuide._x; op._y = pp.player._y + pp.player.throwGuide._y; op._rotation = pp.player.throwGuide._rotation * (100 / pp.player._xscale); if (pp.player._currentframe == pp.player.FT_THROWRELEASE) { op._rotation = 180; getHit(-10, -30, "smackDown", 0); grounded = false; gettingThrown = false; } } if ((jumpTimer > AI_JUMP_WAIT) && (AI_JUMP)) { jumpNow(); jumpTimer = 0; } if ((attackTimer == ATTACK_DELAY) && (annoy)) { attackNow(); } if (attackTimer == (ATTACK_DELAY + ATTACK_TIME)) { attacking = false; attackTimer = 0; } if ((!op.glomping) && (AI_GLOMP)) { if (Math.abs(pp.player._x - op._x) < op._width) { glompTimer++; } else { glompTimer = 0; } } if ((glompTimer == AI_GLOMP_WAIT) && (!wincing)) { op.glomping = true; glompXoff = glompXoff * (-1 * (op._xscale / 100)); glompTimer++; grounded = false; } if (pp.player.demonMode) { glompTimer = 0; attackTimer = 0; attacking = false; op.glomping = false; } winceTimer++; jumpTimer++; attackTimer++; if (Math.abs(dx) < 1) { dx = 0; } last_x = op._x; last_y = op._y; if ((animstate == "annoy") && (grounded)) { dx = 0; } if (op.glomping) { if (pp.player._xscale == 100) { op._x = (pp.player._x + glompXoff) + pp.player.glompTarget._x; } if (pp.player._xscale == -100) { op._x = (pp.player._x + glompXoff) - pp.player.glompTarget._x; } op._y = pp.player._y - AI_GLOMP_YOFF; } if (!op.glomping) { op._x = op._x + dx; op._y = op._y + dy; if (!grounded) { dy = dy + MV_GRAVITY; if (dy > MV_TVELOCITY) { dy = MV_TVELOCITY; } } if ((op._y >= MV_GROUND) && (!dead)) { op._y = MV_GROUND; grounded = true; if ((dy == MV_TVELOCITY) && (!jumping)) { dy = -MV_BOUNCE; grounded = false; winceTimer = 0; } else { dy = 0; jumping = false; } op._rotation = 0; } if (op._y > MV_DELETEAT) { destroy(); } if (grounded) { if (dx > 0) { dx = dx - MV_FRICTION; } if (dx < 0) { dx = dx + MV_FRICTION; } } } } } }
Instance of Symbol 58 MovieClip "object" in Symbol 229 MovieClip [sqMime] Frame 1
onClipEvent (load) { stop(); }
Instance of Symbol 32 MovieClip "code" in Symbol 292 MovieClip [sqm] Frame 1
onClipEvent (load) { function getHit(x, y, type, dmg) { if (attacking == false) { if (type == "throw") { gettingThrown = true; } if (type == "mid") { if ((objectType == "pillow") or (objectType == "umbrella")) { if (!itemWince) { itemWince = true; pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); } dmg = 0; } else { pp.jukebox.punch1.start(); } } if (type == "low") { if ((objectType == "pillow") or (objectType == "umbrella")) { if (!itemWince) { itemWince = true; pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); } dmg = 0; } else { pp.jukebox.punch2.start(); } } if (type == "upper") { if ((objectType == "pillow") or (objectType == "umbrella")) { if (!itemWince) { itemWince = true; pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); } dmg = 0; } else { pp.jukebox.punch3.start(); } } if (type == "spinUpper") { pp.jukebox.punch3.start(); } if (type == "flyBack") { pp.jukebox.punch3.start(); } if (type == "kickBack") { if ((objectType == "pillow") or (objectType == "umbrella")) { if (!itemWince) { itemWince = true; pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); } dmg = 0; } else { pp.jukebox.punch3.start(); } } if (type == "smackDown") { type = "upper"; } if (type == "energy") { type = "upper"; } if (type == "laser") { type = "mid"; } if ((dmg > 0) && (attacking == false)) { if (type != "throw") { if (pp.player._x > op._x) { dx = -x; } if (pp.player._x <= op._x) { dx = x; } facePlayer(); dy = y * -1; grounded = false; attackTimer = 0; attacking = false; splashPoint._x = op._x; splashPoint._y = op._y - 20; pp.attachMovie("FX_Splash", "splash" + pp.getNextHighestDepth(), pp.getNextHighestDepth(), splashPoint); } lastHitType = type; hp = hp - dmg; winceTimer = 0; wincing = true; approach = false; flee = false; bm.battleManager.score = bm.battleManager.score + Math.round(dmg / 10); if (hp <= 0) { hp = 0; bm.battleManager.score = bm.battleManager.score + POINTS; bm.battleManager.kills++; bm.battleManager.killCount++; dead = true; } } } } function destroy() { pp.jukebox.ohBoy.start(); bm.battleManager.unRegister(op); op.removeMovieClip(); } function facePlayer() { if (pp.player._x < op._x) { op._xscale = -100; } if (pp.player._x > op._x) { op._xscale = 100; } } function autoOrient() { if (pp.getAngle(op._x, op._y, last_x, last_y) != undefined) { op._rotation = pp.getAngle(op._x, op._y, last_x, last_y); } } function dropItem() { var _local1 = pp.getNextHighestDepth(); var _local2 = new Object(); _local2._x = op._x + (100 * (op._xscale / 100)); _local2._y = op._y - 100; pp.attachMovie(objectType, objectType + _local1, _local1, _local2); bm.battleManager.register(objectType + _local1); hasObject = false; op.object._visible = false; objectType = ""; } function jumpNow() { if ((!dead) && (grounded)) { if ((!wincing) && (dx != 0)) { grounded = false; jumping = true; dy = -MV_JUMPPOWER; } } } function attackNow() { if (!dead) { if (!wincing) { if ((op._x > 0) && (op._x < pp.M_WIDTH)) { if (Math.random() < ATTACK_CHANCE) { if (Math.abs(pp.player._x - op._x) < ATTACK_RANGE) { attacking = true; pp.player.sanityChange(-attackPwr); if (Math.random() < 0.5) { pp.jukebox.hello.start(); } else { pp.jukebox.heyNeighbor.start(); } } } } } } } op = _parent; pp = _parent._parent; bm = _parent._parent._parent; splashPoint = new Object(); op.stop(); active = true; hp = 50 * pp.hpScale; dead = false; op.collidingWith = "blarg"; hitResult = -1; grounded = false; dxRelativePlayer = -1; POINTS = 50; MV_GROUND = pp.GROUND; MV_GRAVITY = pp.GRAVITY; MV_TVELOCITY = pp.TVELOCITY; MV_DELETEAT = pp.DELETEAT; MV_FRICTION = 2; MV_ROTOFF = 180; MV_BOUNCE = 20; MV_TOPSPEED = 6; MV_COLLISION_TOL = 40; MV_JUMPPOWER = 30; AI_APPROACH_WITHIN = 120; AI_APPROACH = false; AI_JUMP = false; AI_FLEE = false; AI_HIT_STUN = 45; AI_JUMP_WAIT = 20; AI_FLEE_TOLERANCE = 80; AI_GLOMP = false; glompXoff = 30; AI_GLOMP_YOFF = Math.round(Math.random() * 30); AI_GLOMP_WAIT = 20; attackPwr = 5 * pp.attackScale; ATTACK_DELAY = 90; ATTACK_TIME = 20; ATTACK_CHANCE = 0.8; ATTACK_RANGE = 200; attackTimer = Math.round(Math.random() * ATTACK_DELAY) - 50; attacking = false; annoy = true; dx = 0; dy = 0; wincing = false; itemWince = false; lastHitType = "mid"; animstate = ""; last_x = op._x; last_y = op._y; WINCE_DELAY = 4; HIT_HOLD = 4; winceTimer = 100; jumpTimer = 0; jumping = false; gettingThrown = false; objectType = ""; hasObject = false; objectLossModifier = 0; op.glomping = false; glompTimer = 0; bm.battleManager.getAI(op); } onClipEvent (enterFrame) { if (pp.gamePause == false) { if (active) { if (grounded && (dx == 0)) { animstate = "stand"; if (pp.player.scary) { animstate = "scareStand"; } } if (grounded && (dx != 0)) { animstate = "run"; if (pp.player.scary) { animstate = "scareRun"; } } if (winceTimer < AI_HIT_STUN) { animstate = "stun"; } if ((!grounded) && (dy < 0)) { animstate = "jumpUp"; if (pp.player.scary) { animstate = "scareJumpUp"; } } if ((!grounded) && (dy >= 0)) { animstate = "jumpDown"; if (pp.player.scary) { animstate = "scareJumpDown"; } } if (attacking) { animstate = "annoy"; } if (op.glomping) { animstate = "glomp"; } if (wincing) { animstate = lastHitType; } if (winceTimer <= HIT_HOLD) { animstate = lastHitType; } if (gettingThrown) { animstate = "throw"; } if (dead) { animstate = "upper"; } op.gotoAndStop(animstate); if ((animstate == "upper") || (animstate == "spinUpper")) { autoOrient(); } if (((animstate == "upper") || (animstate == "spinUpper")) || (animstate == "flyBack")) { if (dy > 0) { op.hitBox.attacking = true; } if (hasObject) { dropItem(); } } else { op.hitBox.attacking = false; } hitResult = -1; i = 0; while (i < pp.damageObjects.length) { hitTarget = eval (pp.damageObjects[i] + pp.damageObjPath[i]); if (op.hitBox.hitTest(hitTarget) && (hitTarget.attacking == true)) { if ((hitTarget != pp.player) && (hitTarget != op)) { if (!wincing) { if (!op.glomping) { hitResult = i; } if ((op.glomping && (pp.player.specialMove == "Cute Buster")) && (pp.player.specialMoving)) { hitResult = i; op.glomping = false; } if ((op.glomping && (pp.player.specialMove == "Upawcut")) && (pp.player.specialMoving)) { hitResult = i; op.glomping = false; } } } } i++; } if (hitResult > -1) { var t = eval ((pp + ".") + pp.damageObjects[hitResult]); getHit(t.kbx, t.kby, t.attType, t.damage); } else if (grounded && (winceTimer >= WINCE_DELAY)) { wincing = false; itemWince = false; } if (winceTimer > AI_HIT_STUN) { if (AI_APPROACH) { approach = true; } if (AI_FLEE) { flee = true; } } if (approach && (!wincing)) { if (grounded) { if (Math.abs(pp.player._x - op._x) > AI_APPROACH_WITHIN) { if (pp.player._x < op._x) { playerSide = -1; } if (pp.player._x > op._x) { playerSide = 1; } dx = MV_TOPSPEED * playerSide; op._xscale = playerSide * 100; } } } if (flee && (!wincing)) { if (grounded) { if (Math.abs(pp.player._x - op._x) < AI_APPROACH_WITHIN) { if (pp.player._x < op._x) { playerSide = -1; } if (pp.player._x > op._x) { playerSide = 1; } dx = (MV_TOPSPEED * playerSide) * -1; op._xscale = (playerSide * 100) * -1; if ((AI_APPROACH_WITHIN - Math.abs(pp.player._x - op._x)) < AI_FLEE_TOLERANCE) { dx = 0; } } if (Math.abs(pp.player._x - op._x) > AI_APPROACH_WITHIN) { if (pp.player._x < op._x) { playerSide = -1; } if (pp.player._x > op._x) { playerSide = 1; } dx = MV_TOPSPEED * playerSide; op._xscale = playerSide * 100; if ((Math.abs(pp.player._x - op._x) - AI_APPROACH_WITHIN) < AI_FLEE_TOLERANCE) { dx = 0; } } } } if (Math.abs(pp.player._x - op._x) > Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = -1; } if (Math.abs(pp.player._x - op._x) < Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 1; } if (Math.abs(pp.player._x - op._x) == Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 0; } if (op.collidingWith != null) { if (Math.abs(op._x - pp.player._x) < Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == -1) { if (op.collidingWith._x > op._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op.collidingWith._x > op._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } if (Math.abs(op._x - pp.player._x) > Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == 1) { if (op._x < op.collidingWith._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op._x < op.collidingWith._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } } if (gettingThrown) { dx = 0; dy = 0; op._x = pp.player._x + pp.player.throwGuide._x; op._y = pp.player._y + pp.player.throwGuide._y; op._rotation = pp.player.throwGuide._rotation * (100 / pp.player._xscale); if (pp.player._currentframe == pp.player.FT_THROWRELEASE) { op._rotation = 180; getHit(-10, -30, "smackDown", 0); grounded = false; gettingThrown = false; } } if ((jumpTimer > AI_JUMP_WAIT) && (AI_JUMP)) { jumpNow(); jumpTimer = 0; } if ((attackTimer == ATTACK_DELAY) && (annoy)) { attackNow(); } if (attackTimer == (ATTACK_DELAY + ATTACK_TIME)) { attacking = false; attackTimer = 0; } if ((!op.glomping) && (AI_GLOMP)) { if (Math.abs(pp.player._x - op._x) < op._width) { glompTimer++; } else { glompTimer = 0; } } if ((glompTimer == AI_GLOMP_WAIT) && (!wincing)) { op.glomping = true; glompXoff = glompXoff * (-1 * (op._xscale / 100)); glompTimer++; grounded = false; } if (pp.player.demonMode) { glompTimer = 0; attackTimer = 0; attacking = false; op.glomping = false; } winceTimer++; jumpTimer++; attackTimer++; if (Math.abs(dx) < 1) { dx = 0; } last_x = op._x; last_y = op._y; if ((animstate == "annoy") && (grounded)) { dx = 0; } if (op.glomping) { if (pp.player._xscale == 100) { op._x = (pp.player._x + glompXoff) + pp.player.glompTarget._x; } if (pp.player._xscale == -100) { op._x = (pp.player._x + glompXoff) - pp.player.glompTarget._x; } op._y = pp.player._y - AI_GLOMP_YOFF; } if (!op.glomping) { op._x = op._x + dx; op._y = op._y + dy; if (!grounded) { dy = dy + MV_GRAVITY; if (dy > MV_TVELOCITY) { dy = MV_TVELOCITY; } } if ((op._y >= MV_GROUND) && (!dead)) { op._y = MV_GROUND; grounded = true; if ((dy == MV_TVELOCITY) && (!jumping)) { dy = -MV_BOUNCE; grounded = false; winceTimer = 0; } else { dy = 0; jumping = false; } op._rotation = 0; } if (op._y > MV_DELETEAT) { destroy(); } if (grounded) { if (dx > 0) { dx = dx - MV_FRICTION; } if (dx < 0) { dx = dx + MV_FRICTION; } } } } } }
Instance of Symbol 58 MovieClip "object" in Symbol 292 MovieClip [sqm] Frame 1
onClipEvent (load) { stop(); }
Symbol 299 MovieClip Frame 34
stop();
Instance of Symbol 32 MovieClip "code" in Symbol 300 MovieClip [flowerSack] Frame 1
onClipEvent (load) { function destroy() { bm.battleManager.unRegister(op); op.removeMovieClip(); } function getHit(x, y, type, dmg) { if (type != "throw") { if (pp.player._x > this._x) { dx = -x; } if (pp.player._x <= this._x) { dx = x; } dy = y * -1; grounded = false; splashPoint._x = op._x; splashPoint._y = op._y - 20; pp.attachMovie("FX_Splash", "splash" + pp.getNextHighestDepth(), pp.getNextHighestDepth(), splashPoint); } if (type == "throw") { gettingThrown = true; } if (type == "mid") { pp.jukebox.punch1.start(); } if (type == "low") { pp.jukebox.punch2.start(); } if (type == "upper") { pp.jukebox.punch3.start(); } if (type == "spinUpper") { pp.jukebox.punch3.start(); } if (type == "flyBack") { pp.jukebox.punch3.start(); } if (type == "smackDown") { type = "upper"; } bm.battleManager.score = bm.battleManager.score + Math.round(dmg / 10); if (hp <= 0) { hp = 0; bm.battleManager.score = bm.battleManager.score + POINTS; dead = true; pp.attachMovie("sanityRecover", "sanRecover", 60); pp.player.sanityChange(15); pp.sanRecover._x = op._x; pp.sanRecover._y = op._y; dy = -40; dx = 15 * (pp.player._xscale / 100); } } op.stop(); bm = _parent._parent._parent; pp = _parent._parent; splashPoint = new Object(); op = _parent; hp = 20 * pp.hpScale; dead = false; rotateSpeed = 30; hitResult = 0; grounded = false; POINTS = 25; MV_GROUND = pp.GROUND; MV_GRAVITY = pp.GRAVITY; MV_TVELOCITY = pp.TVELOCITY; MV_DELETEAT = pp.DELETEAT; MV_FRICTION = 2; MV_ROTOFF = 180; MV_BOUNCE = 20; MV_TOPSPEED = 6; MV_COLLISION_TOL = 40; op.collidingWith; op.attacking = false; op.kbx = 5; op.kby = 22; op.damage = 0; op.attType = "upper"; dx = 0; dy = 40; WINCE_DELAY = 4; winceTimer = 100; gettingThrown = false; } onClipEvent (enterFrame) { animstate = "stand"; if ((!grounded) && (!dead)) { op._rotation = op._rotation + rotateSpeed; } if (wincing) { animstate = "wince"; } if (dead) { animstate = "dead"; } op.gotoAndStop(animstate); hitResult = -1; i = 0; while (i < pp.damageObjects.length) { hitTarget = eval (((pp + ".") + pp.damageObjects[i]) + pp.damageObjPath[i]); if (op.hitTest(hitTarget) && (hitTarget.attacking == true)) { if (!wincing) { hitResult = i; } } i++; } if (hitResult > -1) { var t = eval ((pp + ".") + pp.damageObjects[hitResult]); getHit(t.kbx, t.kby, t.attType, t.damage); winceTimer = 0; wincing = true; } else if (grounded && (winceTimer >= WINCE_DELAY)) { wincing = false; } if (gettingThrown) { dx = 0; dy = 0; op._x = pp.player._x + pp.player.throwGuide._x; op._y = pp.player._y + pp.player.throwGuide._y; op._rotation = pp.player.throwGuide._rotation * (100 / pp.player._xscale); if (pp.player._currentframe == pp.player.FT_THROWRELEASE) { op._rotation = 180; getHit(-10, -30, "smackDown", 0); grounded = false; gettingThrown = false; } } if (Math.abs(pp.player._x - op._x) > Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = -1; } if (Math.abs(pp.player._x - op._x) < Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 1; } if (Math.abs(pp.player._x - op._x) == Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 0; } if (op.collidingWith != null) { if (Math.abs(op._x - pp.player._x) < Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == -1) { if (op.collidingWith._x > op._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op.collidingWith._x > op._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } if (Math.abs(op._x - pp.player._x) > Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == 1) { if (op._x < op.collidingWith._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op._x < op.collidingWith._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } } if (dead) { grounded = false; } winceTimer++; if (Math.abs(dx - 1) < 1) { dx = 0; } op._x = op._x + dx; op._y = op._y + dy; if (!grounded) { dy = dy + MV_GRAVITY; if (dy > MV_TVELOCITY) { dy = MV_TVELOCITY; } } if ((op._y >= MV_GROUND) && (!dead)) { op._y = MV_GROUND; grounded = true; if (dy == MV_TVELOCITY) { dy = -MV_BOUNCE; grounded = false; winceTimer = 0; } else { dy = 0; } op._rotation = 0; } if (op._y > MV_DELETEAT) { destroy(); } if (grounded) { if (dx > 0) { dx = dx - MV_FRICTION; } if (dx < 0) { dx = dx + MV_FRICTION; } } if (op._x < 0) { op._x = op._x + MV_TOPSPEED; } if (op._x > pp.M_WIDTH) { op._x = op._x - MV_TOPSPEED; } }
Instance of Symbol 32 MovieClip "code" in Symbol 302 MovieClip [bluePresentBig] Frame 1
onClipEvent (load) { function destroy() { bm.battleManager.unRegister(op); op.removeMovieClip(); } function getHit(x, y, type, dmg) { if (type != "throw") { if (pp.player._x > this._x) { dx = -x; } if (pp.player._x <= this._x) { dx = x; } dy = y * -1; grounded = false; splashPoint._x = op._x; splashPoint._y = op._y - 20; pp.attachMovie("FX_Splash", "splash" + pp.getNextHighestDepth(), pp.getNextHighestDepth(), splashPoint); } if (type == "throw") { gettingThrown = true; } if (type == "mid") { pp.jukebox.punch1.start(); } if (type == "low") { pp.jukebox.punch2.start(); } if (type == "upper") { pp.jukebox.punch3.start(); } if (type == "spinUpper") { pp.jukebox.punch3.start(); } if (type == "flyBack") { pp.jukebox.punch3.start(); } if (type == "smackDown") { type = "upper"; } hp = hp - dmg; bm.battleManager.score = bm.battleManager.score + Math.round(dmg / 10); if (hp <= 0) { hp = 0; bm.battleManager.score = bm.battleManager.score + POINTS; dead = true; pp.attachMovie("sanityRecover", "sanRecover", 60); pp.player.sanityChange(100); pp.sanRecover._x = op._x; pp.sanRecover._y = op._y; dy = -40; dx = 15 * (pp.player._xscale / 100); } } op.stop(); bm = _parent._parent._parent; pp = _parent._parent; splashPoint = new Object(); op = _parent; hp = 20 * pp.hpScale; dead = false; rotateSpeed = 30; hitResult = 0; grounded = false; POINTS = 25; MV_GROUND = pp.GROUND; MV_GRAVITY = pp.GRAVITY; MV_TVELOCITY = pp.TVELOCITY; MV_DELETEAT = pp.DELETEAT; MV_FRICTION = 2; MV_ROTOFF = 180; MV_BOUNCE = 20; MV_TOPSPEED = 6; MV_COLLISION_TOL = 40; op.collidingWith; op.attacking = false; op.kbx = 5; op.kby = 22; op.damage = 0; op.attType = "upper"; dx = 0; dy = 40; WINCE_DELAY = 4; EXPIRATION = 30 * pp.OBJECT_DELAY; expireTimer = 0; winceTimer = 100; gettingThrown = false; } onClipEvent (enterFrame) { if (pp.gamePause == false) { animstate = "stand"; if ((!grounded) && (!dead)) { op._rotation = op._rotation + rotateSpeed; } if (wincing) { animstate = "wince"; } if (hp <= 0) { animstate = "dead"; } op.gotoAndStop(animstate); hitResult = -1; i = 0; while (i < pp.damageObjects.length) { hitTarget = eval (((pp + ".") + pp.damageObjects[i]) + pp.damageObjPath[i]); if (op.hitTest(hitTarget) && (hitTarget.attacking == true)) { if (!wincing) { hitResult = i; } } i++; } if (hitResult > -1) { var t = eval ((pp + ".") + pp.damageObjects[hitResult]); getHit(t.kbx, t.kby, t.attType, t.damage); winceTimer = 0; wincing = true; } else if (grounded && (winceTimer >= WINCE_DELAY)) { wincing = false; } if (gettingThrown) { dx = 0; dy = 0; op._x = pp.player._x + pp.player.throwGuide._x; op._y = pp.player._y + pp.player.throwGuide._y; op._rotation = pp.player.throwGuide._rotation * (100 / pp.player._xscale); if (pp.player._currentframe == pp.player.FT_THROWRELEASE) { op._rotation = 180; getHit(-10, -30, "smackDown", 0); grounded = false; gettingThrown = false; } } if (Math.abs(pp.player._x - op._x) > Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = -1; } if (Math.abs(pp.player._x - op._x) < Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 1; } if (Math.abs(pp.player._x - op._x) == Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 0; } if (op.collidingWith != null) { if (Math.abs(op._x - pp.player._x) < Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == -1) { if (op.collidingWith._x > op._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op.collidingWith._x > op._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } if (Math.abs(op._x - pp.player._x) > Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == 1) { if (op._x < op.collidingWith._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op._x < op.collidingWith._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } } if (dead) { grounded = false; } winceTimer++; if (Math.abs(dx - 1) < 1) { dx = 0; } op._x = op._x + dx; op._y = op._y + dy; if (!grounded) { dy = dy + MV_GRAVITY; if (dy > MV_TVELOCITY) { dy = MV_TVELOCITY; } } if ((op._y >= MV_GROUND) && (!dead)) { op._y = MV_GROUND; grounded = true; if (dy == MV_TVELOCITY) { dy = -MV_BOUNCE; grounded = false; winceTimer = 0; } else { dy = 0; } op._rotation = 0; } expireTimer++; if (expireTimer == EXPIRATION) { dead = true; grounded = false; } if (op._y > MV_DELETEAT) { destroy(); } if (grounded) { if (dx > 0) { dx = dx - MV_FRICTION; } if (dx < 0) { dx = dx + MV_FRICTION; } } if (op._x < 0) { op._x = op._x + MV_TOPSPEED; } if (op._x > pp.M_WIDTH) { op._x = op._x - MV_TOPSPEED; } } }
Instance of Symbol 32 MovieClip "code" in Symbol 305 MovieClip [bluePresentTall] Frame 1
onClipEvent (load) { function destroy() { bm.battleManager.unRegister(op); op.removeMovieClip(); } function getHit(x, y, type, dmg) { if (type != "throw") { if (pp.player._x > this._x) { dx = -x; } if (pp.player._x <= this._x) { dx = x; } dy = y * -1; grounded = false; splashPoint._x = op._x; splashPoint._y = op._y - 20; pp.attachMovie("FX_Splash", "splash" + pp.getNextHighestDepth(), pp.getNextHighestDepth(), splashPoint); } if (type == "throw") { gettingThrown = true; } if (type == "mid") { pp.jukebox.punch1.start(); } if (type == "low") { pp.jukebox.punch2.start(); } if (type == "upper") { pp.jukebox.punch3.start(); } if (type == "spinUpper") { pp.jukebox.punch3.start(); } if (type == "flyBack") { pp.jukebox.punch3.start(); } if (type == "smackDown") { type = "upper"; } hp = hp - dmg; bm.battleManager.score = bm.battleManager.score + Math.round(dmg / 10); if (hp <= 0) { hp = 0; bm.battleManager.score = bm.battleManager.score + POINTS; dead = true; pp.attachMovie("sanityRecover", "sanRecover", 60); pp.player.sanityChange(50); pp.sanRecover._x = op._x; pp.sanRecover._y = op._y; dy = -40; dx = 15 * (pp.player._xscale / 100); } } op.stop(); bm = _parent._parent._parent; pp = _parent._parent; splashPoint = new Object(); op = _parent; hp = 20 * pp.hpScale; dead = false; rotateSpeed = 30; hitResult = 0; grounded = false; POINTS = 25; MV_GROUND = pp.GROUND; MV_GRAVITY = pp.GRAVITY; MV_TVELOCITY = pp.TVELOCITY; MV_DELETEAT = pp.DELETEAT; MV_FRICTION = 2; MV_ROTOFF = 180; MV_BOUNCE = 20; MV_TOPSPEED = 6; MV_COLLISION_TOL = 40; op.collidingWith; op.attacking = false; op.kbx = 5; op.kby = 22; op.damage = 0; op.attType = "upper"; dx = 0; dy = 40; WINCE_DELAY = 4; EXPIRATION = 30 * pp.OBJECT_DELAY; expireTimer = 0; winceTimer = 100; gettingThrown = false; } onClipEvent (enterFrame) { if (pp.gamePause == false) { animstate = "stand"; if ((!grounded) && (!dead)) { op._rotation = op._rotation + rotateSpeed; } if (wincing) { animstate = "wince"; } if (hp <= 0) { animstate = "dead"; } op.gotoAndStop(animstate); hitResult = -1; i = 0; while (i < pp.damageObjects.length) { hitTarget = eval (((pp + ".") + pp.damageObjects[i]) + pp.damageObjPath[i]); if (op.hitTest(hitTarget) && (hitTarget.attacking == true)) { if (!wincing) { hitResult = i; } } i++; } if (hitResult > -1) { var t = eval ((pp + ".") + pp.damageObjects[hitResult]); getHit(t.kbx, t.kby, t.attType, t.damage); winceTimer = 0; wincing = true; } else if (grounded && (winceTimer >= WINCE_DELAY)) { wincing = false; } if (gettingThrown) { dx = 0; dy = 0; op._x = pp.player._x + pp.player.throwGuide._x; op._y = pp.player._y + pp.player.throwGuide._y; op._rotation = pp.player.throwGuide._rotation * (100 / pp.player._xscale); if (pp.player._currentframe == pp.player.FT_THROWRELEASE) { op._rotation = 180; getHit(-10, -30, "smackDown", 0); grounded = false; gettingThrown = false; } } if (Math.abs(pp.player._x - op._x) > Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = -1; } if (Math.abs(pp.player._x - op._x) < Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 1; } if (Math.abs(pp.player._x - op._x) == Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 0; } if (op.collidingWith != null) { if (Math.abs(op._x - pp.player._x) < Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == -1) { if (op.collidingWith._x > op._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op.collidingWith._x > op._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } if (Math.abs(op._x - pp.player._x) > Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == 1) { if (op._x < op.collidingWith._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op._x < op.collidingWith._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } } if (dead) { grounded = false; } winceTimer++; if (Math.abs(dx - 1) < 1) { dx = 0; } op._x = op._x + dx; op._y = op._y + dy; if (!grounded) { dy = dy + MV_GRAVITY; if (dy > MV_TVELOCITY) { dy = MV_TVELOCITY; } } if ((op._y >= MV_GROUND) && (!dead)) { op._y = MV_GROUND; grounded = true; if (dy == MV_TVELOCITY) { dy = -MV_BOUNCE; grounded = false; winceTimer = 0; } else { dy = 0; } op._rotation = 0; } expireTimer++; if (expireTimer == EXPIRATION) { dead = true; grounded = false; } if (op._y > MV_DELETEAT) { destroy(); } if (grounded) { if (dx > 0) { dx = dx - MV_FRICTION; } if (dx < 0) { dx = dx + MV_FRICTION; } } if (op._x < 0) { op._x = op._x + MV_TOPSPEED; } if (op._x > pp.M_WIDTH) { op._x = op._x - MV_TOPSPEED; } } }
Instance of Symbol 32 MovieClip "code" in Symbol 308 MovieClip [bluePresent] Frame 1
onClipEvent (load) { function destroy() { bm.battleManager.unRegister(op); op.removeMovieClip(); } function getHit(x, y, type, dmg) { if (type != "throw") { if (pp.player._x > this._x) { dx = -x; } if (pp.player._x <= this._x) { dx = x; } dy = y * -1; grounded = false; splashPoint._x = op._x; splashPoint._y = op._y - 20; pp.attachMovie("FX_Splash", "splash" + pp.getNextHighestDepth(), pp.getNextHighestDepth(), splashPoint); } if (type == "throw") { gettingThrown = true; } if (type == "mid") { pp.jukebox.punch1.start(); } if (type == "low") { pp.jukebox.punch2.start(); } if (type == "upper") { pp.jukebox.punch3.start(); } if (type == "spinUpper") { pp.jukebox.punch3.start(); } if (type == "flyBack") { pp.jukebox.punch3.start(); } if (type == "smackDown") { type = "upper"; } hp = hp - dmg; bm.battleManager.score = bm.battleManager.score + Math.round(dmg / 10); if (hp <= 0) { hp = 0; bm.battleManager.score = bm.battleManager.score + POINTS; dead = true; pp.attachMovie("sanityRecover", "sanRecover", 60); pp.player.sanityChange(25); pp.sanRecover._x = op._x; pp.sanRecover._y = op._y; dy = -40; dx = 15 * (pp.player._xscale / 100); } } op.stop(); bm = _parent._parent._parent; pp = _parent._parent; splashPoint = new Object(); op = _parent; hp = 20 * pp.hpScale; dead = false; rotateSpeed = 30; hitResult = 0; grounded = false; POINTS = 25; MV_GROUND = pp.GROUND; MV_GRAVITY = pp.GRAVITY; MV_TVELOCITY = pp.TVELOCITY; MV_DELETEAT = pp.DELETEAT; MV_FRICTION = 2; MV_ROTOFF = 180; MV_BOUNCE = 20; MV_TOPSPEED = 6; MV_COLLISION_TOL = 40; op.collidingWith; op.attacking = false; op.kbx = 5; op.kby = 22; op.damage = 0; op.attType = "upper"; dx = 0; dy = 40; WINCE_DELAY = 4; EXPIRATION = 30 * pp.OBJECT_DELAY; expireTimer = 0; winceTimer = 100; gettingThrown = false; } onClipEvent (enterFrame) { if (pp.gamePause == false) { animstate = "stand"; if ((!grounded) && (!dead)) { op._rotation = op._rotation + rotateSpeed; } if (wincing) { animstate = "wince"; } if (hp <= 0) { animstate = "dead"; } op.gotoAndStop(animstate); hitResult = -1; i = 0; while (i < pp.damageObjects.length) { hitTarget = eval (((pp + ".") + pp.damageObjects[i]) + pp.damageObjPath[i]); if (op.hitTest(hitTarget) && (hitTarget.attacking == true)) { if (!wincing) { hitResult = i; } } i++; } if (hitResult > -1) { var t = eval ((pp + ".") + pp.damageObjects[hitResult]); getHit(t.kbx, t.kby, t.attType, t.damage); winceTimer = 0; wincing = true; } else if (grounded && (winceTimer >= WINCE_DELAY)) { wincing = false; } if (gettingThrown) { dx = 0; dy = 0; op._x = pp.player._x + pp.player.throwGuide._x; op._y = pp.player._y + pp.player.throwGuide._y; op._rotation = pp.player.throwGuide._rotation * (100 / pp.player._xscale); if (pp.player._currentframe == pp.player.FT_THROWRELEASE) { op._rotation = 180; getHit(-10, -30, "smackDown", 0); grounded = false; gettingThrown = false; } } if (Math.abs(pp.player._x - op._x) > Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = -1; } if (Math.abs(pp.player._x - op._x) < Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 1; } if (Math.abs(pp.player._x - op._x) == Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 0; } if (op.collidingWith != null) { if (Math.abs(op._x - pp.player._x) < Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == -1) { if (op.collidingWith._x > op._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op.collidingWith._x > op._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } if (Math.abs(op._x - pp.player._x) > Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == 1) { if (op._x < op.collidingWith._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op._x < op.collidingWith._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } } if (dead) { grounded = false; } winceTimer++; if (Math.abs(dx - 1) < 1) { dx = 0; } op._x = op._x + dx; op._y = op._y + dy; if (!grounded) { dy = dy + MV_GRAVITY; if (dy > MV_TVELOCITY) { dy = MV_TVELOCITY; } } if ((op._y >= MV_GROUND) && (!dead)) { op._y = MV_GROUND; grounded = true; if (dy == MV_TVELOCITY) { dy = -MV_BOUNCE; grounded = false; winceTimer = 0; } else { dy = 0; } op._rotation = 0; } expireTimer++; if (expireTimer == EXPIRATION) { dead = true; grounded = false; } if (op._y > MV_DELETEAT) { destroy(); } if (grounded) { if (dx > 0) { dx = dx - MV_FRICTION; } if (dx < 0) { dx = dx + MV_FRICTION; } } if (op._x < 0) { op._x = op._x + MV_TOPSPEED; } if (op._x > pp.M_WIDTH) { op._x = op._x - MV_TOPSPEED; } } }
Instance of Symbol 32 MovieClip "code" in Symbol 309 MovieClip [cookies] Frame 1
onClipEvent (load) { function destroy() { bm.battleManager.unRegister(op); op.removeMovieClip(); } function getHit(x, y, type, dmg) { if (type != "throw") { if (pp.player._x > this._x) { dx = -x; } if (pp.player._x <= this._x) { dx = x; } dy = y * -1; grounded = false; splashPoint._x = op._x; splashPoint._y = op._y - 20; pp.attachMovie("FX_Splash", "splash" + pp.getNextHighestDepth(), pp.getNextHighestDepth(), splashPoint); } if (type == "throw") { gettingThrown = true; } if (type == "mid") { pp.jukebox.punch1.start(); } if (type == "low") { pp.jukebox.punch2.start(); } if (type == "upper") { pp.jukebox.punch3.start(); } if (type == "spinUpper") { pp.jukebox.punch3.start(); } if (type == "flyBack") { pp.jukebox.punch3.start(); } if (type == "smackDown") { type = "upper"; } hp = hp - dmg; bm.battleManager.score = bm.battleManager.score + Math.round(dmg / 10); if (hp <= 0) { hp = 0; bm.battleManager.score = bm.battleManager.score + POINTS; dead = true; if (!pp.player.demonMode) { pp.attachMovie("rageRecover", "ragRecover", 60); pp.player.rage = pp.player.rage + Math.round(POINTS * pp.RAGE_MODIFIER); pp.ragRecover._x = op._x; pp.ragRecover._y = op._y; } dy = -40; dx = 15 * (pp.player._xscale / 100); } } op.stop(); bm = _parent._parent._parent; pp = _parent._parent; op = _parent; splashPoint = new Object(); hp = 30 * pp.hpScale; dead = false; rotateSpeed = 30; hitResult = 0; grounded = false; POINTS = 73; MV_GROUND = pp.GROUND; MV_GRAVITY = pp.GRAVITY; MV_TVELOCITY = pp.TVELOCITY; MV_DELETEAT = pp.DELETEAT; MV_FRICTION = 2; MV_ROTOFF = 180; MV_BOUNCE = 20; MV_TOPSPEED = 6; MV_COLLISION_TOL = 40; op.collidingWith; op.attacking = false; op.kbx = 5; op.kby = 22; op.damage = 0; op.attType = "upper"; dx = 0; dy = 40; WINCE_DELAY = 4; winceTimer = 100; EXPIRATION = 30 * pp.OBJECT_DELAY; expireTimer = 0; gettingThrown = false; } onClipEvent (enterFrame) { if (pp.gamePause == false) { animstate = "stand"; if ((!grounded) && (!dead)) { op._rotation = op._rotation + rotateSpeed; } if (wincing) { animstate = "wince"; } if (hp <= 0) { animstate = "dead"; } op.gotoAndStop(animstate); hitResult = -1; i = 0; while (i < pp.damageObjects.length) { hitTarget = eval (((pp + ".") + pp.damageObjects[i]) + pp.damageObjPath[i]); if (op.hitTest(hitTarget) && (hitTarget.attacking == true)) { if (!wincing) { hitResult = i; } } i++; } if (hitResult > -1) { var t = eval ((pp + ".") + pp.damageObjects[hitResult]); getHit(t.kbx, t.kby, t.attType, t.damage); winceTimer = 0; wincing = true; } else if (grounded && (winceTimer >= WINCE_DELAY)) { wincing = false; } if (gettingThrown) { dx = 0; dy = 0; op._x = pp.player._x + pp.player.throwGuide._x; op._y = pp.player._y + pp.player.throwGuide._y; op._rotation = pp.player.throwGuide._rotation * (100 / pp.player._xscale); if (pp.player._currentframe == pp.player.FT_THROWRELEASE) { op._rotation = 180; getHit(-10, -30, "smackDown", 0); grounded = false; gettingThrown = false; } } if (Math.abs(pp.player._x - op._x) > Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = -1; } if (Math.abs(pp.player._x - op._x) < Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 1; } if (Math.abs(pp.player._x - op._x) == Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 0; } if (op.collidingWith != null) { if (Math.abs(op._x - pp.player._x) < Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == -1) { if (op.collidingWith._x > op._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op.collidingWith._x > op._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } if (Math.abs(op._x - pp.player._x) > Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == 1) { if (op._x < op.collidingWith._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op._x < op.collidingWith._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } } if (dead) { grounded = false; } winceTimer++; if (Math.abs(dx - 1) < 1) { dx = 0; } op._x = op._x + dx; op._y = op._y + dy; if (!grounded) { dy = dy + MV_GRAVITY; if (dy > MV_TVELOCITY) { dy = MV_TVELOCITY; } } if ((op._y >= MV_GROUND) && (!dead)) { op._y = MV_GROUND; grounded = true; if (dy == MV_TVELOCITY) { dy = -MV_BOUNCE; grounded = false; winceTimer = 0; } else { dy = 0; } op._rotation = 0; } expireTimer++; if (expireTimer == EXPIRATION) { dead = true; grounded = false; } if (op._y > MV_DELETEAT) { destroy(); } if (grounded) { if (dx > 0) { dx = dx - MV_FRICTION; } if (dx < 0) { dx = dx + MV_FRICTION; } } if (op._x < 0) { op._x = op._x + MV_TOPSPEED; } if (op._x > pp.M_WIDTH) { op._x = op._x - MV_TOPSPEED; } } }
Symbol 315 MovieClip Frame 38
stop();
Instance of Symbol 32 MovieClip "code" in Symbol 316 MovieClip [cake] Frame 1
onClipEvent (load) { function destroy() { bm.battleManager.unRegister(op); op.removeMovieClip(); } function getHit(x, y, type, dmg) { if (type != "throw") { if (pp.player._x > this._x) { dx = -x; } if (pp.player._x <= this._x) { dx = x; } dy = y * -1; grounded = false; splashPoint._x = op._x; splashPoint._y = op._y - 20; pp.attachMovie("FX_Splash", "splash" + pp.getNextHighestDepth(), pp.getNextHighestDepth(), splashPoint); } if (type == "throw") { gettingThrown = true; } if (type == "mid") { pp.jukebox.punch1.start(); } if (type == "low") { pp.jukebox.punch2.start(); } if (type == "upper") { pp.jukebox.punch3.start(); } if (type == "spinUpper") { pp.jukebox.punch3.start(); } if (type == "flyBack") { pp.jukebox.punch3.start(); } if (type == "smackDown") { type = "upper"; } hp = hp - dmg; bm.battleManager.score = bm.battleManager.score + Math.round(dmg / 10); if (hp <= 0) { hp = 0; bm.battleManager.score = bm.battleManager.score + POINTS; dead = true; if (!pp.player.demonMode) { pp.attachMovie("rageRecover", "ragRecover", 60); pp.player.rage = pp.player.rage + Math.round(POINTS * pp.RAGE_MODIFIER); pp.ragRecover._x = op._x; pp.ragRecover._y = op._y; } dy = -40; dx = 15 * (pp.player._xscale / 100); } } op.stop(); bm = _parent._parent._parent; pp = _parent._parent; op = _parent; splashPoint = new Object(); hp = 50 * pp.hpScale; dead = false; rotateSpeed = 30; hitResult = 0; grounded = false; POINTS = 200; MV_GROUND = pp.GROUND; MV_GRAVITY = pp.GRAVITY; MV_TVELOCITY = pp.TVELOCITY; MV_DELETEAT = pp.DELETEAT; MV_FRICTION = 2; MV_ROTOFF = 180; MV_BOUNCE = 20; MV_TOPSPEED = 6; MV_COLLISION_TOL = 40; op.collidingWith; op.attacking = false; op.kbx = 5; op.kby = 22; op.damage = 0; op.attType = "upper"; dx = 0; dy = 40; WINCE_DELAY = 4; winceTimer = 100; EXPIRATION = 30 * pp.OBJECT_DELAY; expireTimer = 0; gettingThrown = false; } onClipEvent (enterFrame) { if (pp.gamePause == false) { animstate = "stand"; if ((!grounded) && (!dead)) { op._rotation = op._rotation + rotateSpeed; } if (wincing) { animstate = "wince"; } if (hp <= 0) { animstate = "dead"; } op.gotoAndStop(animstate); hitResult = -1; i = 0; while (i < pp.damageObjects.length) { hitTarget = eval (((pp + ".") + pp.damageObjects[i]) + pp.damageObjPath[i]); if (op.hitTest(hitTarget) && (hitTarget.attacking == true)) { if (!wincing) { hitResult = i; } } i++; } if (hitResult > -1) { var t = eval ((pp + ".") + pp.damageObjects[hitResult]); getHit(t.kbx, t.kby, t.attType, t.damage); winceTimer = 0; wincing = true; } else if (grounded && (winceTimer >= WINCE_DELAY)) { wincing = false; } if (gettingThrown) { dx = 0; dy = 0; op._x = pp.player._x + pp.player.throwGuide._x; op._y = pp.player._y + pp.player.throwGuide._y; op._rotation = pp.player.throwGuide._rotation * (100 / pp.player._xscale); if (pp.player._currentframe == pp.player.FT_THROWRELEASE) { op._rotation = 180; getHit(-10, -30, "smackDown", 0); grounded = false; gettingThrown = false; } } if (Math.abs(pp.player._x - op._x) > Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = -1; } if (Math.abs(pp.player._x - op._x) < Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 1; } if (Math.abs(pp.player._x - op._x) == Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 0; } if (op.collidingWith != null) { if (Math.abs(op._x - pp.player._x) < Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == -1) { if (op.collidingWith._x > op._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op.collidingWith._x > op._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } if (Math.abs(op._x - pp.player._x) > Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == 1) { if (op._x < op.collidingWith._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op._x < op.collidingWith._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } } if (dead) { grounded = false; } winceTimer++; if (Math.abs(dx - 1) < 1) { dx = 0; } op._x = op._x + dx; op._y = op._y + dy; if (!grounded) { dy = dy + MV_GRAVITY; if (dy > MV_TVELOCITY) { dy = MV_TVELOCITY; } } if ((op._y >= MV_GROUND) && (!dead)) { op._y = MV_GROUND; grounded = true; if (dy == MV_TVELOCITY) { dy = -MV_BOUNCE; grounded = false; winceTimer = 0; } else { dy = 0; } op._rotation = 0; } expireTimer++; if (expireTimer == EXPIRATION) { dead = true; grounded = false; } if (op._y > MV_DELETEAT) { destroy(); } if (grounded) { if (dx > 0) { dx = dx - MV_FRICTION; } if (dx < 0) { dx = dx + MV_FRICTION; } } if (op._x < 0) { op._x = op._x + MV_TOPSPEED; } if (op._x > pp.M_WIDTH) { op._x = op._x - MV_TOPSPEED; } } }
Symbol 328 MovieClip Frame 32
stop();
Instance of Symbol 32 MovieClip "code" in Symbol 329 MovieClip [jackBox] Frame 1
onClipEvent (load) { function destroy() { bm.battleManager.unRegister(op); op.removeMovieClip(); } function getHit(x, y, type, dmg) { if (type != "throw") { if (pp.player._x > this._x) { dx = -x; } if (pp.player._x <= this._x) { dx = x; } dy = y * -1; grounded = false; splashPoint._x = op._x; splashPoint._y = op._y - 20; pp.attachMovie("FX_Splash", "splash" + pp.getNextHighestDepth(), pp.getNextHighestDepth(), splashPoint); } if (type == "throw") { gettingThrown = true; } if (type == "mid") { pp.jukebox.punch1.start(); } if (type == "low") { pp.jukebox.punch2.start(); } if (type == "upper") { pp.jukebox.punch3.start(); } if (type == "spinUpper") { pp.jukebox.punch3.start(); } if (type == "flyBack") { pp.jukebox.punch3.start(); } if (type == "smackDown") { type = "upper"; } hp = hp - dmg; bm.battleManager.score = bm.battleManager.score + Math.round(dmg / 10); if (hp <= 0) { hp = 0; bm.battleManager.score = bm.battleManager.score + POINTS; dead = true; if (!pp.player.demonMode) { pp.attachMovie("rageRecover", "ragRecover", 60); pp.player.rage = pp.player.rage + Math.round(POINTS * pp.RAGE_MODIFIER); pp.ragRecover._x = op._x; pp.ragRecover._y = op._y; } dy = -40; dx = 15 * (pp.player._xscale / 100); } } function attackNow() { if (!dead) { if (!wincing) { if ((op._x > 0) && (op._x < pp.M_WIDTH)) { attacking = true; pp.player.sanityChange(-attackPwr); pp.jukebox.jack_n_box.start(); } } } } op.stop(); bm = _parent._parent._parent; pp = _parent._parent; op = _parent; splashPoint = new Object(); hp = 20 * pp.hpScale; dead = false; rotateSpeed = 30; hitResult = 0; grounded = false; attackPwr = 4 * pp.attackScale; POINTS = 20; MV_GROUND = pp.GROUND; MV_GRAVITY = pp.GRAVITY; MV_TVELOCITY = pp.TVELOCITY; MV_DELETEAT = pp.DELETEAT; MV_FRICTION = 2; MV_ROTOFF = 180; MV_BOUNCE = 20; MV_TOPSPEED = 6; MV_COLLISION_TOL = 40; op.collidingWith; op.attacking = false; op.kbx = 5; op.kby = 22; op.damage = 0; op.attType = "upper"; dx = 0; dy = 40; WINCE_DELAY = 4; winceTimer = 100; EXPIRATION = 10 * pp.OBJECT_DELAY; expireTimer = 0; POP_TIME = 80; popTimer = 0; gettingThrown = false; } onClipEvent (enterFrame) { if (pp.gamePause == false) { if (popTimer < POP_TIME) { animstate = "stand"; } else { animstate = "pop"; } if ((!grounded) && (!dead)) { op._rotation = op._rotation + rotateSpeed; } if (wincing) { animstate = "wince"; } if (hp <= 0) { animstate = "dead"; } op.gotoAndStop(animstate); hitResult = -1; i = 0; while (i < pp.damageObjects.length) { hitTarget = eval (((pp + ".") + pp.damageObjects[i]) + pp.damageObjPath[i]); if (op.hitTest(hitTarget) && (hitTarget.attacking == true)) { if (!wincing) { hitResult = i; } } i++; } if (hitResult > -1) { var t = eval ((pp + ".") + pp.damageObjects[hitResult]); getHit(t.kbx, t.kby, t.attType, t.damage); winceTimer = 0; wincing = true; } else if (grounded && (winceTimer >= WINCE_DELAY)) { wincing = false; } if (gettingThrown) { dx = 0; dy = 0; op._x = pp.player._x + pp.player.throwGuide._x; op._y = pp.player._y + pp.player.throwGuide._y; op._rotation = pp.player.throwGuide._rotation * (100 / pp.player._xscale); if (pp.player._currentframe == pp.player.FT_THROWRELEASE) { op._rotation = 180; getHit(-10, -30, "smackDown", 0); grounded = false; gettingThrown = false; } } if (Math.abs(pp.player._x - op._x) > Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = -1; } if (Math.abs(pp.player._x - op._x) < Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 1; } if (Math.abs(pp.player._x - op._x) == Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 0; } if (op.collidingWith != null) { if (Math.abs(op._x - pp.player._x) < Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == -1) { if (op.collidingWith._x > op._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op.collidingWith._x > op._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } if (Math.abs(op._x - pp.player._x) > Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == 1) { if (op._x < op.collidingWith._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op._x < op.collidingWith._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } } if (dead) { grounded = false; } winceTimer++; if (Math.abs(dx - 1) < 1) { dx = 0; } op._x = op._x + dx; op._y = op._y + dy; if (!grounded) { dy = dy + MV_GRAVITY; if (dy > MV_TVELOCITY) { dy = MV_TVELOCITY; } } if ((op._y >= MV_GROUND) && (!dead)) { op._y = MV_GROUND; grounded = true; if (dy == MV_TVELOCITY) { dy = -MV_BOUNCE; grounded = false; winceTimer = 0; } else { dy = 0; } op._rotation = 0; } if (popTimer < POP_TIME) { popTimer++; } if (popTimer == (POP_TIME - 1)) { attackNow(); } if (popTimer == POP_TIME) { expireTimer++; } if (expireTimer == EXPIRATION) { dead = true; grounded = false; } if (op._y > MV_DELETEAT) { destroy(); } if (grounded) { if (dx > 0) { dx = dx - MV_FRICTION; } if (dx < 0) { dx = dx + MV_FRICTION; } } if (op._x < 0) { op._x = op._x + MV_TOPSPEED; } if (op._x > pp.M_WIDTH) { op._x = op._x - MV_TOPSPEED; } } }
Instance of Symbol 32 MovieClip "code" in Symbol 332 MovieClip [present] Frame 1
onClipEvent (load) { function destroy() { bm.battleManager.unRegister(op); op.removeMovieClip(); } function getHit(x, y, type, dmg) { if (type != "throw") { if (pp.player._x > this._x) { dx = -x; } if (pp.player._x <= this._x) { dx = x; } dy = y * -1; grounded = false; splashPoint._x = op._x; splashPoint._y = op._y - 20; pp.attachMovie("FX_Splash", "splash" + pp.getNextHighestDepth(), pp.getNextHighestDepth(), splashPoint); } if (type == "throw") { gettingThrown = true; } if (type == "mid") { pp.jukebox.punch1.start(); } if (type == "low") { pp.jukebox.punch2.start(); } if (type == "upper") { pp.jukebox.punch3.start(); } if (type == "spinUpper") { pp.jukebox.punch3.start(); } if (type == "flyBack") { pp.jukebox.punch3.start(); } if (type == "smackDown") { type = "upper"; } hp = hp - dmg; bm.battleManager.score = bm.battleManager.score + Math.round(dmg / 10); if (hp <= 0) { hp = 0; bm.battleManager.score = bm.battleManager.score + POINTS; dead = true; if (!pp.player.demonMode) { pp.attachMovie("rageRecover", "ragRecover", 60); pp.player.rage = pp.player.rage + Math.round(POINTS * pp.RAGE_MODIFIER); pp.ragRecover._x = op._x; pp.ragRecover._y = op._y; } dy = -40; dx = 15 * (pp.player._xscale / 100); } } op.stop(); bm = _parent._parent._parent; pp = _parent._parent; op = _parent; splashPoint = new Object(); hp = 20 * pp.hpScale; dead = false; rotateSpeed = 30; hitResult = 0; grounded = false; POINTS = 100; MV_GROUND = pp.GROUND; MV_GRAVITY = pp.GRAVITY; MV_TVELOCITY = pp.TVELOCITY; MV_DELETEAT = pp.DELETEAT; MV_FRICTION = 2; MV_ROTOFF = 180; MV_BOUNCE = 20; MV_TOPSPEED = 6; MV_COLLISION_TOL = 40; op.collidingWith; op.attacking = false; op.kbx = 5; op.kby = 22; op.damage = 0; op.attType = "upper"; dx = 0; dy = 40; WINCE_DELAY = 4; winceTimer = 100; EXPIRATION = 30 * pp.OBJECT_DELAY; expireTimer = 0; gettingThrown = false; } onClipEvent (enterFrame) { if (pp.gamePause == false) { animstate = "stand"; if ((!grounded) && (!dead)) { op._rotation = op._rotation + rotateSpeed; } if (wincing) { animstate = "wince"; } if (hp <= 0) { animstate = "dead"; } op.gotoAndStop(animstate); hitResult = -1; i = 0; while (i < pp.damageObjects.length) { hitTarget = eval (((pp + ".") + pp.damageObjects[i]) + pp.damageObjPath[i]); if (op.hitTest(hitTarget) && (hitTarget.attacking == true)) { if (!wincing) { hitResult = i; } } i++; } if (hitResult > -1) { var t = eval ((pp + ".") + pp.damageObjects[hitResult]); getHit(t.kbx, t.kby, t.attType, t.damage); winceTimer = 0; wincing = true; } else if (grounded && (winceTimer >= WINCE_DELAY)) { wincing = false; } if (gettingThrown) { dx = 0; dy = 0; op._x = pp.player._x + pp.player.throwGuide._x; op._y = pp.player._y + pp.player.throwGuide._y; op._rotation = pp.player.throwGuide._rotation * (100 / pp.player._xscale); if (pp.player._currentframe == pp.player.FT_THROWRELEASE) { op._rotation = 180; getHit(-10, -30, "smackDown", 0); grounded = false; gettingThrown = false; } } if (Math.abs(pp.player._x - op._x) > Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = -1; } if (Math.abs(pp.player._x - op._x) < Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 1; } if (Math.abs(pp.player._x - op._x) == Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 0; } if (op.collidingWith != null) { if (Math.abs(op._x - pp.player._x) < Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == -1) { if (op.collidingWith._x > op._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op.collidingWith._x > op._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } if (Math.abs(op._x - pp.player._x) > Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == 1) { if (op._x < op.collidingWith._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op._x < op.collidingWith._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } } if (dead) { grounded = false; } winceTimer++; if (Math.abs(dx - 1) < 1) { dx = 0; } op._x = op._x + dx; op._y = op._y + dy; if (!grounded) { dy = dy + MV_GRAVITY; if (dy > MV_TVELOCITY) { dy = MV_TVELOCITY; } } if ((op._y >= MV_GROUND) && (!dead)) { op._y = MV_GROUND; grounded = true; if (dy == MV_TVELOCITY) { dy = -MV_BOUNCE; grounded = false; winceTimer = 0; } else { dy = 0; } op._rotation = 0; } expireTimer++; if (expireTimer == EXPIRATION) { dead = true; grounded = false; } if (op._y > MV_DELETEAT) { destroy(); } if (grounded) { if (dx > 0) { dx = dx - MV_FRICTION; } if (dx < 0) { dx = dx + MV_FRICTION; } } if (op._x < 0) { op._x = op._x + MV_TOPSPEED; } if (op._x > pp.M_WIDTH) { op._x = op._x - MV_TOPSPEED; } } }
Instance of Symbol 335 MovieClip in Symbol 336 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 32 MovieClip in Symbol 337 MovieClip [rageRecover] Frame 1
onClipEvent (enterFrame) { _parent._y--; }
Symbol 337 MovieClip [rageRecover] Frame 43
this.removeMovieClip();
Instance of Symbol 32 MovieClip in Symbol 340 MovieClip [cheerRecover] Frame 1
onClipEvent (enterFrame) { _parent._y--; }
Symbol 340 MovieClip [cheerRecover] Frame 43
this.removeMovieClip();
Instance of Symbol 32 MovieClip in Symbol 343 MovieClip [sanityRecover] Frame 1
onClipEvent (enterFrame) { _parent._y--; }
Symbol 343 MovieClip [sanityRecover] Frame 43
this.removeMovieClip();
Instance of Symbol 32 MovieClip "code" in Symbol 372 MovieClip [sqClaus] Frame 1
onClipEvent (load) { function getHit(x, y, type, dmg) { if (attacking == false) { if (type == "throw") { gettingThrown = true; } if (type == "mid") { if (!pp.player.demonMode) { dmg = 0; } else { pp.jukebox.punch1.start(); } } if (type == "low") { if (!pp.player.demonMode) { dmg = 0; } else { pp.jukebox.punch2.start(); } } if (type == "upper") { if (!pp.player.demonMode) { dmg = 0; } else { pp.jukebox.punch3.start(); } } if (type == "spinUpper") { if (!pp.player.demonMode) { dmg = 0; } else { pp.jukebox.punch3.start(); } } if (type == "flyBack") { if (!pp.player.demonMode) { dmg = 0; } else { pp.jukebox.punch3.start(); } } if (type == "kickBack") { if (!pp.player.demonMode) { dmg = 0; } else { pp.jukebox.punch3.start(); } } if (type == "smackDown") { type = "upper"; } if (type == "energy") { type = "upper"; if (!pp.player.demonMode) { dmg = 0; } } if (type == "laser") { type = "mid"; } if ((dmg > 0) && (attacking == false)) { if (type != "throw") { if (pp.player._x > op._x) { dx = -x; } if (pp.player._x <= op._x) { dx = x; } facePlayer(); dy = y * -1; grounded = false; attackTimer = 0; attacking = false; splashPoint._x = op._x; splashPoint._y = op._y - 20; pp.attachMovie("FX_Splash", "splash" + pp.getNextHighestDepth(), pp.getNextHighestDepth(), splashPoint); } lastHitType = type; hp = hp - dmg; bm.bossHud.sbar._xscale = (hp / (MAX_HP * pp.hpScale)) * 100; if (hp < 0) { bm.bossHud.sbar._xscale = 0; } winceTimer = 0; wincing = true; approach = false; flee = false; bm.battleManager.score = bm.battleManager.score + Math.round(dmg / 10); if (hp <= 0) { hp = 0; bm.battleManager.score = bm.battleManager.score + POINTS; bm.battleManager.kills++; bm.battleManager.killCount++; dead = true; } } } } function destroy() { pp.jukebox.regretNothing.start(); bm.battleManager.unRegister(op); op.removeMovieClip(); } function facePlayer() { if (pp.player._x < op._x) { op._xscale = -100; } if (pp.player._x > op._x) { op._xscale = 100; } } function autoOrient() { if (pp.getAngle(op._x, op._y, last_x, last_y) != undefined) { op._rotation = pp.getAngle(op._x, op._y, last_x, last_y); } } function dropItem() { var _local1 = pp.getNextHighestDepth(); var _local2 = new Object(); _local2._x = op._x + (100 * (op._xscale / 100)); _local2._y = op._y - 100; pp.attachMovie(objectType, objectType + _local1, _local1, _local2); bm.battleManager.register(objectType + _local1); hasObject = false; op.object._visible = false; objectType = ""; } function jumpNow() { if ((!dead) && (grounded)) { if ((!wincing) && (dx != 0)) { grounded = false; jumping = true; dy = -MV_JUMPPOWER; } } } function attackNow() { if (!dead) { if (!wincing) { if ((op._x > 0) && (op._x < pp.M_WIDTH)) { if (Math.random() < ATTACK_CHANCE) { if (Math.abs(pp.player._x - op._x) < ATTACK_RANGE) { attacking = true; if (pp.collisionObjects.length == 1) { bm.battleManager.spawn("sqm", "sqm" + pp.getNextHighestDepth(), -200, 1, 0); bm.battleManager.spawn("sqf", "sqf" + pp.getNextHighestDepth(), -400, 1, 3); bm.battleManager.spawn("sqm", "sqm" + pp.getNextHighestDepth(), 1000, 1, 0); bm.battleManager.spawn("sqf", "sqf" + pp.getNextHighestDepth(), 1200, 1, 3); } else { pp.player.sanityChange(-attackPwr); } if (Math.random() < 0.5) { pp.jukebox.ho_ho_ho.start(); } else { pp.jukebox.santa.start(); } } } } } } } op = _parent; pp = _parent._parent; bm = _parent._parent._parent; splashPoint = new Object(); op.stop(); active = true; MAX_HP = 800 * pp.hpScale; hp = MAX_HP; dead = false; op.collidingWith = "blarg"; hitResult = -1; grounded = false; dxRelativePlayer = -1; POINTS = 150; MV_GROUND = pp.GROUND; MV_GRAVITY = pp.GRAVITY; MV_TVELOCITY = pp.TVELOCITY; MV_DELETEAT = pp.DELETEAT; MV_FRICTION = 2; MV_ROTOFF = 180; MV_BOUNCE = 20; MV_TOPSPEED = 4; MV_COLLISION_TOL = 40; MV_JUMPPOWER = 30; AI_APPROACH_WITHIN = 120; AI_APPROACH = true; AI_JUMP = false; AI_FLEE = false; AI_HIT_STUN = 45; AI_JUMP_WAIT = 20; AI_FLEE_TOLERANCE = 80; AI_GLOMP = false; glompXoff = 30; AI_GLOMP_YOFF = Math.round(Math.random() * 30); AI_GLOMP_WAIT = 20; attackPwr = 8 * pp.attackScale; ATTACK_DELAY = 90; ATTACK_TIME = 20; ATTACK_CHANCE = 0.7; ATTACK_RANGE = 200; COOKIE_RECOVER = 100; attackTimer = Math.round(Math.random() * ATTACK_DELAY) - 50; attacking = false; annoy = true; dx = 0; dy = 0; wincing = false; lastHitType = "mid"; animstate = ""; last_x = op._x; last_y = op._y; WINCE_DELAY = 4; HIT_HOLD = 4; winceTimer = 100; jumpTimer = 0; jumping = false; gettingThrown = false; objectType = ""; hasObject = false; objectLossModifier = 0; op.glomping = false; glompTimer = 0; bm.battleManager.getAI(op); } onClipEvent (enterFrame) { if (pp.gamePause == false) { if (active) { if (grounded && (dx == 0)) { animstate = "stand"; if (pp.player.scary) { animstate = "scareStand"; } } if (grounded && (dx != 0)) { animstate = "run"; if (pp.player.scary) { animstate = "scareRun"; } } if (winceTimer < AI_HIT_STUN) { animstate = "stun"; } if ((!grounded) && (dy < 0)) { animstate = "jumpUp"; if (pp.player.scary) { animstate = "scareJumpUp"; } } if ((!grounded) && (dy >= 0)) { animstate = "jumpDown"; if (pp.player.scary) { animstate = "scareJumpDown"; } } if (attacking) { animstate = "annoy"; } if (op.glomping) { animstate = "glomp"; } if (wincing) { animstate = lastHitType; } if (winceTimer <= HIT_HOLD) { animstate = lastHitType; } if (gettingThrown) { animstate = "throw"; } if (dead) { animstate = "upper"; } op.gotoAndStop(animstate); if ((animstate == "upper") || (animstate == "spinUpper")) { autoOrient(); } if (((animstate == "upper") || (animstate == "spinUpper")) || (animstate == "flyBack")) { if (dy > 0) { op.hitBox.attacking = true; } if (hasObject) { dropItem(); } } else { op.hitBox.attacking = false; } hitResult = -1; i = 0; while (i < pp.damageObjects.length) { hitTarget = eval (pp.damageObjects[i] + pp.damageObjPath[i]); if (op.hitBox.hitTest(hitTarget) && (hitTarget.attacking == true)) { if ((hitTarget != pp.player) && (hitTarget != op)) { if (!wincing) { if (!op.glomping) { hitResult = i; } if ((op.glomping && (pp.player.specialMove == "Cute Buster")) && (pp.player.specialMoving)) { hitResult = i; op.glomping = false; } if ((op.glomping && (pp.player.specialMove == "Upawcut")) && (pp.player.specialMoving)) { hitResult = i; op.glomping = false; } } } } i++; } if (hitResult > -1) { var t = eval ((pp + ".") + pp.damageObjects[hitResult]); getHit(t.kbx, t.kby, t.attType, t.damage); } else if (grounded && (winceTimer >= WINCE_DELAY)) { wincing = false; itemWince = false; } if (winceTimer > AI_HIT_STUN) { if (AI_APPROACH) { approach = true; } if (AI_FLEE) { flee = true; } } if (approach && (!wincing)) { if (grounded) { if (Math.abs(pp.player._x - op._x) > AI_APPROACH_WITHIN) { if (pp.player._x < op._x) { playerSide = -1; } if (pp.player._x > op._x) { playerSide = 1; } dx = MV_TOPSPEED * playerSide; op._xscale = playerSide * 100; } } } if (flee && (!wincing)) { if (grounded) { if (Math.abs(pp.player._x - op._x) < AI_APPROACH_WITHIN) { if (pp.player._x < op._x) { playerSide = -1; } if (pp.player._x > op._x) { playerSide = 1; } dx = (MV_TOPSPEED * playerSide) * -1; op._xscale = (playerSide * 100) * -1; if ((AI_APPROACH_WITHIN - Math.abs(pp.player._x - op._x)) < AI_FLEE_TOLERANCE) { dx = 0; } } if (Math.abs(pp.player._x - op._x) > AI_APPROACH_WITHIN) { if (pp.player._x < op._x) { playerSide = -1; } if (pp.player._x > op._x) { playerSide = 1; } dx = MV_TOPSPEED * playerSide; op._xscale = playerSide * 100; if ((Math.abs(pp.player._x - op._x) - AI_APPROACH_WITHIN) < AI_FLEE_TOLERANCE) { dx = 0; } } } } if (op.collidingWith.code.POINTS == 73) { op.collidingWith.code.destroy(); hp = hp + COOKIE_RECOVER; pp.attachMovie("cheerRecover", "cheRecover", pp.getNextHighestDepth()); pp.jukebox.mmm.start(); if (hp > MAX_HP) { hp = MAX_HP; } bm.bossHud.sbar._xscale = (hp / (MAX_HP * pp.hpScale)) * 100; pp.cheRecover._x = op._x; pp.cheRecover._y = op._y; } if (Math.abs(pp.player._x - op._x) > Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = -1; } if (Math.abs(pp.player._x - op._x) < Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 1; } if (Math.abs(pp.player._x - op._x) == Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 0; } if (op.collidingWith != null) { if (Math.abs(op._x - pp.player._x) < Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == -1) { if (op.collidingWith._x > op._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op.collidingWith._x > op._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } if (Math.abs(op._x - pp.player._x) > Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == 1) { if (op._x < op.collidingWith._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op._x < op.collidingWith._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } } if (gettingThrown) { dx = 0; dy = 0; op._x = pp.player._x + pp.player.throwGuide._x; op._y = pp.player._y + pp.player.throwGuide._y; op._rotation = pp.player.throwGuide._rotation * (100 / pp.player._xscale); if (pp.player._currentframe == pp.player.FT_THROWRELEASE) { op._rotation = 180; getHit(-10, -30, "smackDown", 0); grounded = false; gettingThrown = false; } } if ((jumpTimer > AI_JUMP_WAIT) && (AI_JUMP)) { jumpNow(); jumpTimer = 0; } if ((attackTimer == ATTACK_DELAY) && (annoy)) { attackNow(); } if (attackTimer == (ATTACK_DELAY + ATTACK_TIME)) { attacking = false; attackTimer = 0; } if ((!op.glomping) && (AI_GLOMP)) { if (Math.abs(pp.player._x - op._x) < op._width) { glompTimer++; } else { glompTimer = 0; } } if ((glompTimer == AI_GLOMP_WAIT) && (!wincing)) { op.glomping = true; glompXoff = glompXoff * (-1 * (op._xscale / 100)); glompTimer++; grounded = false; } if (pp.player.demonMode) { glompTimer = 0; attackTimer = 0; attacking = false; op.glomping = false; } winceTimer++; jumpTimer++; attackTimer++; if (Math.abs(dx) < 1) { dx = 0; } last_x = op._x; last_y = op._y; if ((animstate == "annoy") && (grounded)) { dx = 0; } if (op.glomping) { if (pp.player._xscale == 100) { op._x = (pp.player._x + glompXoff) + pp.player.glompTarget._x; } if (pp.player._xscale == -100) { op._x = (pp.player._x + glompXoff) - pp.player.glompTarget._x; } op._y = pp.player._y - AI_GLOMP_YOFF; } if (!op.glomping) { op._x = op._x + dx; op._y = op._y + dy; if (!grounded) { dy = dy + MV_GRAVITY; if (dy > MV_TVELOCITY) { dy = MV_TVELOCITY; } } if ((op._y >= MV_GROUND) && (!dead)) { op._y = MV_GROUND; grounded = true; if ((dy == MV_TVELOCITY) && (!jumping)) { dy = -MV_BOUNCE; grounded = false; winceTimer = 0; } else { dy = 0; jumping = false; } op._rotation = 0; } if (op._y > MV_DELETEAT) { destroy(); } if (grounded) { if (dx > 0) { dx = dx - MV_FRICTION; } if (dx < 0) { dx = dx + MV_FRICTION; } } } } } }
Instance of Symbol 58 MovieClip "object" in Symbol 372 MovieClip [sqClaus] Frame 1
onClipEvent (load) { stop(); }
Instance of Symbol 32 MovieClip "code" in Symbol 399 MovieClip [sql] Frame 1
onClipEvent (load) { function getHit(x, y, type, dmg) { if (attacking == false) { if (type == "throw") { gettingThrown = true; } if (type == "mid") { if ((objectType == "pillow") or (objectType == "umbrella")) { if (!itemWince) { itemWince = true; pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); } dmg = 0; } else { pp.jukebox.punch1.start(); } } if (type == "low") { if ((objectType == "pillow") or (objectType == "umbrella")) { if (!itemWince) { itemWince = true; pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); } dmg = 0; } else { pp.jukebox.punch2.start(); } } if (type == "upper") { if ((objectType == "pillow") or (objectType == "umbrella")) { if (!itemWince) { itemWince = true; pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); } dmg = 0; } else { pp.jukebox.punch3.start(); } } if (type == "spinUpper") { pp.jukebox.punch3.start(); } if (type == "flyBack") { pp.jukebox.punch3.start(); } if (type == "kickBack") { if ((objectType == "pillow") or (objectType == "umbrella")) { if (!itemWince) { itemWince = true; pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); } dmg = 0; } else { pp.jukebox.punch3.start(); } } if (type == "smackDown") { type = "upper"; } if (type == "energy") { type = "upper"; } if (type == "laser") { type = "mid"; } if ((dmg > 0) && (attacking == false)) { if (type != "throw") { if (pp.player._x > op._x) { dx = -x; } if (pp.player._x <= op._x) { dx = x; } facePlayer(); dy = y * -1; grounded = false; attackTimer = 0; attacking = false; splashPoint._x = op._x; splashPoint._y = op._y - 20; pp.attachMovie("FX_Splash", "splash" + pp.getNextHighestDepth(), pp.getNextHighestDepth(), splashPoint); } lastHitType = type; hp = hp - dmg; winceTimer = 0; wincing = true; approach = false; flee = false; bm.battleManager.score = bm.battleManager.score + Math.round(dmg / 10); if (hp <= 0) { hp = 0; bm.battleManager.score = bm.battleManager.score + POINTS; bm.battleManager.kills++; bm.battleManager.killCount++; dead = true; } } } } function destroy() { pp.jukebox.regretNothing.start(); bm.battleManager.unRegister(op); op.removeMovieClip(); } function facePlayer() { if (pp.player._x < op._x) { op._xscale = -100; } if (pp.player._x > op._x) { op._xscale = 100; } } function autoOrient() { if (pp.getAngle(op._x, op._y, last_x, last_y) != undefined) { op._rotation = pp.getAngle(op._x, op._y, last_x, last_y); } } function dropItem() { var _local1 = pp.getNextHighestDepth(); var _local2 = new Object(); _local2._x = op._x + (100 * (op._xscale / 100)); _local2._y = op._y - 100; pp.attachMovie(objectType, objectType + _local1, _local1, _local2); bm.battleManager.register(objectType + _local1); hasObject = false; op.object._visible = false; objectType = ""; } function jumpNow() { if ((!dead) && (grounded)) { if ((!wincing) && (dx != 0)) { grounded = false; jumping = true; dy = -MV_JUMPPOWER; } } } function attackNow() { if (!dead) { if (!wincing) { if ((op._x > 0) && (op._x < pp.M_WIDTH)) { if (Math.random() < ATTACK_CHANCE) { if (Math.abs(pp.player._x - op._x) < ATTACK_RANGE) { attacking = true; pp.player.sanityChange(-attackPwr); if (Math.random() < 0.5) { pp.jukebox.heyhey.start(); } else { pp.jukebox.gimmieHug.start(); } } } } } } } op = _parent; pp = _parent._parent; bm = _parent._parent._parent; splashPoint = new Object(); op.stop(); active = true; hp = 120 * pp.hpScale; dead = false; op.collidingWith = "blarg"; hitResult = -1; grounded = false; dxRelativePlayer = -1; POINTS = 150; MV_GROUND = pp.GROUND; MV_GRAVITY = pp.GRAVITY; MV_TVELOCITY = pp.TVELOCITY; MV_DELETEAT = pp.DELETEAT; MV_FRICTION = 2; MV_ROTOFF = 180; MV_BOUNCE = 20; MV_TOPSPEED = 4; MV_COLLISION_TOL = 40; MV_JUMPPOWER = 30; AI_APPROACH_WITHIN = 120; AI_APPROACH = false; AI_JUMP = false; AI_FLEE = false; AI_HIT_STUN = 45; AI_JUMP_WAIT = 20; AI_FLEE_TOLERANCE = 80; AI_GLOMP = false; glompXoff = 30; AI_GLOMP_YOFF = Math.round(Math.random() * 30); AI_GLOMP_WAIT = 20; attackPwr = 7 * pp.attackScale; ATTACK_DELAY = 90; ATTACK_TIME = 20; ATTACK_CHANCE = 0.7; ATTACK_RANGE = 200; attackTimer = Math.round(Math.random() * ATTACK_DELAY) - 50; attacking = false; annoy = true; dx = 0; dy = 0; wincing = false; lastHitType = "mid"; animstate = ""; last_x = op._x; last_y = op._y; WINCE_DELAY = 4; HIT_HOLD = 4; winceTimer = 100; jumpTimer = 0; jumping = false; gettingThrown = false; objectType = ""; hasObject = false; objectLossModifier = 0; op.glomping = false; glompTimer = 0; bm.battleManager.getAI(op); } onClipEvent (enterFrame) { if (pp.gamePause == false) { if (active) { if (grounded && (dx == 0)) { animstate = "stand"; if (pp.player.scary) { animstate = "scareStand"; } } if (grounded && (dx != 0)) { animstate = "run"; if (pp.player.scary) { animstate = "scareRun"; } } if (winceTimer < AI_HIT_STUN) { animstate = "stun"; } if ((!grounded) && (dy < 0)) { animstate = "jumpUp"; if (pp.player.scary) { animstate = "scareJumpUp"; } } if ((!grounded) && (dy >= 0)) { animstate = "jumpDown"; if (pp.player.scary) { animstate = "scareJumpDown"; } } if (attacking) { animstate = "annoy"; } if (op.glomping) { animstate = "glomp"; } if (wincing) { animstate = lastHitType; } if (winceTimer <= HIT_HOLD) { animstate = lastHitType; } if (gettingThrown) { animstate = "throw"; } if (dead) { animstate = "upper"; } op.gotoAndStop(animstate); if ((animstate == "upper") || (animstate == "spinUpper")) { autoOrient(); } if (((animstate == "upper") || (animstate == "spinUpper")) || (animstate == "flyBack")) { if (dy > 0) { op.hitBox.attacking = true; } if (hasObject) { dropItem(); } } else { op.hitBox.attacking = false; } hitResult = -1; i = 0; while (i < pp.damageObjects.length) { hitTarget = eval (pp.damageObjects[i] + pp.damageObjPath[i]); if (op.hitBox.hitTest(hitTarget) && (hitTarget.attacking == true)) { if ((hitTarget != pp.player) && (hitTarget != op)) { if (!wincing) { if (!op.glomping) { hitResult = i; } if ((op.glomping && (pp.player.specialMove == "Cute Buster")) && (pp.player.specialMoving)) { hitResult = i; op.glomping = false; } if ((op.glomping && (pp.player.specialMove == "Upawcut")) && (pp.player.specialMoving)) { hitResult = i; op.glomping = false; } } } } i++; } if (hitResult > -1) { var t = eval ((pp + ".") + pp.damageObjects[hitResult]); getHit(t.kbx, t.kby, t.attType, t.damage); } else if (grounded && (winceTimer >= WINCE_DELAY)) { wincing = false; itemWince = false; } if (winceTimer > AI_HIT_STUN) { if (AI_APPROACH) { approach = true; } if (AI_FLEE) { flee = true; } } if (approach && (!wincing)) { if (grounded) { if (Math.abs(pp.player._x - op._x) > AI_APPROACH_WITHIN) { if (pp.player._x < op._x) { playerSide = -1; } if (pp.player._x > op._x) { playerSide = 1; } dx = MV_TOPSPEED * playerSide; op._xscale = playerSide * 100; } } } if (flee && (!wincing)) { if (grounded) { if (Math.abs(pp.player._x - op._x) < AI_APPROACH_WITHIN) { if (pp.player._x < op._x) { playerSide = -1; } if (pp.player._x > op._x) { playerSide = 1; } dx = (MV_TOPSPEED * playerSide) * -1; op._xscale = (playerSide * 100) * -1; if ((AI_APPROACH_WITHIN - Math.abs(pp.player._x - op._x)) < AI_FLEE_TOLERANCE) { dx = 0; } } if (Math.abs(pp.player._x - op._x) > AI_APPROACH_WITHIN) { if (pp.player._x < op._x) { playerSide = -1; } if (pp.player._x > op._x) { playerSide = 1; } dx = MV_TOPSPEED * playerSide; op._xscale = playerSide * 100; if ((Math.abs(pp.player._x - op._x) - AI_APPROACH_WITHIN) < AI_FLEE_TOLERANCE) { dx = 0; } } } } if (Math.abs(pp.player._x - op._x) > Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = -1; } if (Math.abs(pp.player._x - op._x) < Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 1; } if (Math.abs(pp.player._x - op._x) == Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 0; } if (op.collidingWith != null) { if (Math.abs(op._x - pp.player._x) < Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == -1) { if (op.collidingWith._x > op._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op.collidingWith._x > op._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } if (Math.abs(op._x - pp.player._x) > Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == 1) { if (op._x < op.collidingWith._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op._x < op.collidingWith._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } } if (gettingThrown) { dx = 0; dy = 0; op._x = pp.player._x + pp.player.throwGuide._x; op._y = pp.player._y + pp.player.throwGuide._y; op._rotation = pp.player.throwGuide._rotation * (100 / pp.player._xscale); if (pp.player._currentframe == pp.player.FT_THROWRELEASE) { op._rotation = 180; getHit(-10, -30, "smackDown", 0); grounded = false; gettingThrown = false; } } if ((jumpTimer > AI_JUMP_WAIT) && (AI_JUMP)) { jumpNow(); jumpTimer = 0; } if ((attackTimer == ATTACK_DELAY) && (annoy)) { attackNow(); } if (attackTimer == (ATTACK_DELAY + ATTACK_TIME)) { attacking = false; attackTimer = 0; } if ((!op.glomping) && (AI_GLOMP)) { if (Math.abs(pp.player._x - op._x) < op._width) { glompTimer++; } else { glompTimer = 0; } } if ((glompTimer == AI_GLOMP_WAIT) && (!wincing)) { op.glomping = true; glompXoff = glompXoff * (-1 * (op._xscale / 100)); glompTimer++; grounded = false; } if (pp.player.demonMode) { glompTimer = 0; attackTimer = 0; attacking = false; op.glomping = false; } winceTimer++; jumpTimer++; attackTimer++; if (Math.abs(dx) < 1) { dx = 0; } last_x = op._x; last_y = op._y; if ((animstate == "annoy") && (grounded)) { dx = 0; } if (op.glomping) { if (pp.player._xscale == 100) { op._x = (pp.player._x + glompXoff) + pp.player.glompTarget._x; } if (pp.player._xscale == -100) { op._x = (pp.player._x + glompXoff) - pp.player.glompTarget._x; } op._y = pp.player._y - AI_GLOMP_YOFF; } if (!op.glomping) { op._x = op._x + dx; op._y = op._y + dy; if (!grounded) { dy = dy + MV_GRAVITY; if (dy > MV_TVELOCITY) { dy = MV_TVELOCITY; } } if ((op._y >= MV_GROUND) && (!dead)) { op._y = MV_GROUND; grounded = true; if ((dy == MV_TVELOCITY) && (!jumping)) { dy = -MV_BOUNCE; grounded = false; winceTimer = 0; } else { dy = 0; jumping = false; } op._rotation = 0; } if (op._y > MV_DELETEAT) { destroy(); } if (grounded) { if (dx > 0) { dx = dx - MV_FRICTION; } if (dx < 0) { dx = dx + MV_FRICTION; } } } } } }
Instance of Symbol 58 MovieClip "object" in Symbol 399 MovieClip [sql] Frame 1
onClipEvent (load) { stop(); }
Symbol 404 MovieClip [FX_splash] Frame 5
this.removeMovieClip();
Symbol 409 MovieClip Frame 28
stop();
Instance of Symbol 32 MovieClip "code" in Symbol 410 MovieClip [iceCream] Frame 1
onClipEvent (load) { function destroy() { bm.battleManager.unRegister(op); op.removeMovieClip(); } function getHit(x, y, type, dmg) { if (type != "throw") { if (pp.player._x > this._x) { dx = -x; } if (pp.player._x <= this._x) { dx = x; } dy = y * -1; grounded = false; splashPoint._x = op._x; splashPoint._y = op._y - 20; pp.attachMovie("FX_Splash", "splash" + pp.getNextHighestDepth(), pp.getNextHighestDepth(), splashPoint); } if (type == "throw") { gettingThrown = true; } if (type == "mid") { pp.jukebox.punch1.start(); } if (type == "low") { pp.jukebox.punch2.start(); } if (type == "upper") { pp.jukebox.punch3.start(); } if (type == "spinUpper") { pp.jukebox.punch3.start(); } if (type == "flyBack") { pp.jukebox.punch3.start(); } if (type == "smackDown") { type = "upper"; } hp = hp - dmg; bm.battleManager.score = bm.battleManager.score + Math.round(dmg / 10); if (hp <= 0) { hp = 0; bm.battleManager.score = bm.battleManager.score + POINTS; dead = true; if (!pp.player.demonMode) { pp.attachMovie("rageRecover", "ragRecover", 60); pp.player.rage = pp.player.rage + Math.round(POINTS * pp.RAGE_MODIFIER); pp.ragRecover._x = op._x; pp.ragRecover._y = op._y; } dy = -40; dx = 15 * (pp.player._xscale / 100); } } op.stop(); bm = _parent._parent._parent; pp = _parent._parent; op = _parent; splashPoint = new Object(); hp = 20 * pp.hpScale; dead = false; rotateSpeed = 30; hitResult = 0; grounded = false; POINTS = 35; MV_GROUND = pp.GROUND; MV_GRAVITY = pp.GRAVITY; MV_TVELOCITY = pp.TVELOCITY; MV_DELETEAT = pp.DELETEAT; MV_FRICTION = 2; MV_ROTOFF = 180; MV_BOUNCE = 20; MV_TOPSPEED = 6; MV_COLLISION_TOL = 40; op.collidingWith; op.attacking = false; op.kbx = 5; op.kby = 22; op.damage = 0; op.attType = "upper"; dx = 0; dy = 40; WINCE_DELAY = 4; winceTimer = 100; EXPIRATION = 30 * pp.OBJECT_DELAY; expireTimer = 0; gettingThrown = false; } onClipEvent (enterFrame) { if (pp.gamePause == false) { animstate = "stand"; if ((!grounded) && (!dead)) { op._rotation = op._rotation + rotateSpeed; } if (wincing) { animstate = "wince"; } if (hp <= 0) { animstate = "dead"; } op.gotoAndStop(animstate); hitResult = -1; i = 0; while (i < pp.damageObjects.length) { hitTarget = eval (((pp + ".") + pp.damageObjects[i]) + pp.damageObjPath[i]); if (op.hitTest(hitTarget) && (hitTarget.attacking == true)) { if (!wincing) { hitResult = i; } } i++; } if (hitResult > -1) { var t = eval ((pp + ".") + pp.damageObjects[hitResult]); getHit(t.kbx, t.kby, t.attType, t.damage); winceTimer = 0; wincing = true; } else if (grounded && (winceTimer >= WINCE_DELAY)) { wincing = false; } if (gettingThrown) { dx = 0; dy = 0; op._x = pp.player._x + pp.player.throwGuide._x; op._y = pp.player._y + pp.player.throwGuide._y; op._rotation = pp.player.throwGuide._rotation * (100 / pp.player._xscale); if (pp.player._currentframe == pp.player.FT_THROWRELEASE) { op._rotation = 180; getHit(-10, -30, "smackDown", 0); grounded = false; gettingThrown = false; } } if (Math.abs(pp.player._x - op._x) > Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = -1; } if (Math.abs(pp.player._x - op._x) < Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 1; } if (Math.abs(pp.player._x - op._x) == Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 0; } if (op.collidingWith != null) { if (Math.abs(op._x - pp.player._x) < Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == -1) { if (op.collidingWith._x > op._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op.collidingWith._x > op._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } if (Math.abs(op._x - pp.player._x) > Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == 1) { if (op._x < op.collidingWith._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op._x < op.collidingWith._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } } if (dead) { grounded = false; } winceTimer++; if (Math.abs(dx - 1) < 1) { dx = 0; } op._x = op._x + dx; op._y = op._y + dy; if (!grounded) { dy = dy + MV_GRAVITY; if (dy > MV_TVELOCITY) { dy = MV_TVELOCITY; } } if ((op._y >= MV_GROUND) && (!dead)) { op._y = MV_GROUND; grounded = true; if (dy == MV_TVELOCITY) { dy = -MV_BOUNCE; grounded = false; winceTimer = 0; } else { dy = 0; } op._rotation = 0; } expireTimer++; if (expireTimer == EXPIRATION) { dead = true; grounded = false; } if (op._y > MV_DELETEAT) { destroy(); } if (grounded) { if (dx > 0) { dx = dx - MV_FRICTION; } if (dx < 0) { dx = dx + MV_FRICTION; } } if (op._x < 0) { op._x = op._x + MV_TOPSPEED; } if (op._x > pp.M_WIDTH) { op._x = op._x - MV_TOPSPEED; } } }
Instance of Symbol 32 MovieClip "code" in Symbol 413 MovieClip [pillow] Frame 1
onClipEvent (load) { function destroy() { bm.battleManager.unRegister(op); op.removeMovieClip(); } function getHit(x, y, type, dmg) { if (type == "throw") { gettingThrown = true; } if (type == "mid") { pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); dmg = 0; } if (type == "low") { pp.jukebox.pillowHit.start(); pp.player.rageDown(3 * pp.RAGE_MODIFIER); dmg = 0; } if (type == "upper") { pp.jukebox.pillowHit.start(); dmg = 0; pp.player.rageDown(3 * pp.RAGE_MODIFIER); } if (type == "spinUpper") { pp.jukebox.punch3.start(); } if (type == "flyBack") { pp.jukebox.punch3.start(); } if (type == "kickBack") { pp.jukebox.pillowHit.start(); dmg = 0; pp.player.rageDown(3 * pp.RAGE_MODIFIER); } if (type == "smackDown") { type = "upper"; } if (type != "throw") { if (dmg > 0) { if (pp.player._x > this._x) { dx = -x; } if (pp.player._x <= this._x) { dx = x; } dy = y * -1; grounded = false; splashPoint._x = op._x; splashPoint._y = op._y - 20; pp.attachMovie("FX_Splash", "splash" + pp.getNextHighestDepth(), pp.getNextHighestDepth(), splashPoint); } } hp = hp - dmg; bm.battleManager.score = bm.battleManager.score + Math.round(dmg / 10); if (hp <= 0) { hp = 0; bm.battleManager.score = bm.battleManager.score + POINTS; dead = true; if (!pp.player.demonMode) { pp.attachMovie("rageRecover", "ragRecover", 60); pp.player.rage = pp.player.rage + Math.round(POINTS * pp.RAGE_MODIFIER); pp.ragRecover._x = op._x; pp.ragRecover._y = op._y; } dy = -40; dx = 15 * (pp.player._xscale / 100); } } op.stop(); bm = _parent._parent._parent; pp = _parent._parent; op = _parent; splashPoint = new Object(); hp = 35 * pp.hpScale; dead = false; rotateSpeed = 30; hitResult = 0; grounded = false; POINTS = 200; MV_GROUND = pp.GROUND; MV_GRAVITY = pp.GRAVITY; MV_TVELOCITY = pp.TVELOCITY; MV_DELETEAT = pp.DELETEAT; MV_FRICTION = 2; MV_ROTOFF = 180; MV_BOUNCE = 20; MV_TOPSPEED = 6; MV_COLLISION_TOL = 40; op.collidingWith; op.attacking = false; op.kbx = 5; op.kby = 22; op.damage = 0; op.attType = "upper"; dx = 0; dy = 40; EXPIRATION = 60 * pp.OBJECT_DELAY; expireTimer = 0; WINCE_DELAY = 4; winceTimer = 100; gettingThrown = false; } onClipEvent (enterFrame) { if (pp.gamePause == false) { animstate = "stand"; if ((!grounded) && (!dead)) { op._rotation = op._rotation + rotateSpeed; } if (wincing) { animstate = "wince"; } if (dead) { animstate = "dead"; } op.gotoAndStop(animstate); hitResult = -1; i = 0; while (i < pp.damageObjects.length) { hitTarget = eval (((pp + ".") + pp.damageObjects[i]) + pp.damageObjPath[i]); if (op.hitTest(hitTarget) && (hitTarget.attacking == true)) { if (!wincing) { hitResult = i; } } i++; } if (hitResult > -1) { var t = eval ((pp + ".") + pp.damageObjects[hitResult]); getHit(t.kbx, t.kby, t.attType, t.damage); winceTimer = 0; wincing = true; } else if (grounded && (winceTimer >= WINCE_DELAY)) { wincing = false; } if (gettingThrown) { dx = 0; dy = 0; op._x = pp.player._x + pp.player.throwGuide._x; op._y = pp.player._y + pp.player.throwGuide._y; op._rotation = pp.player.throwGuide._rotation * (100 / pp.player._xscale); if (pp.player._currentframe == pp.player.FT_THROWRELEASE) { op._rotation = 180; getHit(-10, -30, "smackDown", 0); grounded = false; gettingThrown = false; } } if (Math.abs(pp.player._x - op._x) > Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = -1; } if (Math.abs(pp.player._x - op._x) < Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 1; } if (Math.abs(pp.player._x - op._x) == Math.abs(pp.player._x - (op._x + dx))) { dxRelativePlayer = 0; } if (op.collidingWith != null) { if (Math.abs(op._x - pp.player._x) < Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == -1) { if (op.collidingWith._x > op._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op.collidingWith._x > op._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } if (Math.abs(op._x - pp.player._x) > Math.abs(op.collidingWith._x - pp.player._x)) { if (dxRelativePlayer == 1) { if (op._x < op.collidingWith._x) { dx = -MV_TOPSPEED; } if (op.collidingWith._x < op._x) { dx = MV_TOPSPEED; } } if (dxRelativePlayer == 0) { if (op._x < op.collidingWith._x) { op._x = op._x - MV_TOPSPEED; } if (op.collidingWith._x < op._x) { op._x = op._x + MV_TOPSPEED; } } } } if (dead) { grounded = false; } winceTimer++; if (Math.abs(dx - 1) < 1) { dx = 0; } op._x = op._x + dx; op._y = op._y + dy; if (!grounded) { dy = dy + MV_GRAVITY; if (dy > MV_TVELOCITY) { dy = MV_TVELOCITY; } } if ((op._y >= MV_GROUND) && (!dead)) { op._y = MV_GROUND; grounded = true; if (dy == MV_TVELOCITY) { dy = -MV_BOUNCE; grounded = false; winceTimer = 0; } else { dy = 0; } op._rotation = 0; } if (op._y > MV_DELETEAT) { destroy(); } expireTimer++; if (expireTimer == EXPIRATION) { dead = true; grounded = false; } if (grounded) { if (dx > 0) { dx = dx - MV_FRICTION; } if (dx < 0) { dx = dx + MV_FRICTION; } } if (op._x < 0) { op._x = op._x + MV_TOPSPEED; } if (op._x > pp.M_WIDTH) { op._x = op._x - MV_TOPSPEED; } } }
Symbol 439 Button
on (release) { gotoAndPlay (10); }
Symbol 445 Button
on (release) { gotoAndPlay (844); }
Symbol 462 Button
on (release) { _parent.goGame(); }
Symbol 467 Button
on (release) { _root.swHighScoreObject.showTab = "view"; _visible = false; docount = true; _root.disabler._visible = true; loadMovieNum (_root.HSHubURL, 2); }
Symbol 472 Button
on (release) { _root.swHighScoreObject.showTab = "submit"; _visible = false; docount = true; _root.disabler._visible = true; loadMovieNum (_root.HSHubURL, 2); }
Symbol 477 Button
on (release) { _parent.goBack(); }
Symbol 491 Button
on (release) { gotoAndStop (842); }
Instance of Symbol 532 MovieClip "code" in Symbol 533 MovieClip Frame 1
onClipEvent (load) { function trail() { trailInit._x = _parent._x - (side * (Math.random() * trail_xOffset)); trailInit._y = _parent._y + trail_yOffset; trailInit._rotation = Math.random() * trail_rotRange; _root.attachMovie("FX_fireTrail", "ftr" + trailIncrement, trailIncrement + trail_depthOff, trailInit); trailIncrement++; if (trailIncrement > TRAILMAXIMUM) { trailIncrement = 0; } } function go(ix, iy, idirec) { _parent.attacking = true; xorig = ix; yorig = iy; _parent._x = ix + (idirec * XOFF); _parent._y = iy + YOFF; _parent._visible = true; side = idirec; _parent._xscale = side * 100; } _parent._visible = false; side = 1; RANGE = 1000; YOFF = -20; XOFF = 100; SPEED = 30; xorig = 0; yorig = 0; trail_randomOffset = 40; trailIncrement = 0; TRAILMAXIMUM = 15; trail_depthOff = 50; trail_xOffset = 100; trail_yOffset = -20; trail_rotRange = 90; trailInit = new Object(); trailInit._x = 300; trailInit._y = 300; trailInit._rotation = 0; } onClipEvent (enterFrame) { if (_parent._visible) { _parent._x = _parent._x + (SPEED * side); trail(); } if (Math.abs(_parent._x - xorig) > RANGE) { _parent._visible = false; _parent.attacking = false; } }
Symbol 543 MovieClip Frame 23
stop();
Symbol 573 MovieClip Frame 1
stop();
Instance of Symbol 570 MovieClip "hitMask" in Symbol 573 MovieClip Frame 1
onClipEvent (load) { _parent.hitMask._visible = false; } onClipEvent (enterFrame) { if (_parent.hitMask.hitTest(_root._xmouse, _root._ymouse, true)) { if (_parent._parent._visible) { _parent.gotoAndStop(2); _parent._parent.currentDir = _parent.dirChar; } } else { _parent.gotoAndStop(1); } }
Instance of Symbol 573 MovieClip in Symbol 577 MovieClip Frame 1
onClipEvent (load) { dirChar = "U"; }
Instance of Symbol 573 MovieClip in Symbol 577 MovieClip Frame 1
onClipEvent (load) { dirChar = "R"; }
Instance of Symbol 573 MovieClip in Symbol 577 MovieClip Frame 1
onClipEvent (load) { dirChar = "D"; }
Instance of Symbol 573 MovieClip in Symbol 577 MovieClip Frame 1
onClipEvent (load) { dirChar = "L"; }
Instance of Symbol 32 MovieClip "code" in Symbol 601 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.gotoAndStop(_parent._parent.hat); }
Instance of Symbol 32 MovieClip "attBox" in Symbol 666 MovieClip Frame 1
onClipEvent (enterFrame) { attacking = false; }
Instance of Symbol 32 MovieClip "attBox" in Symbol 666 MovieClip Frame 6
onClipEvent (enterFrame) { attacking = true; }
Instance of Symbol 32 MovieClip "attBox" in Symbol 666 MovieClip Frame 14
onClipEvent (enterFrame) { attacking = false; }
Instance of Symbol 32 MovieClip "attBox" in Symbol 666 MovieClip Frame 53
onClipEvent (enterFrame) { attacking = true; }
Instance of Symbol 32 MovieClip "attBox" in Symbol 666 MovieClip Frame 55
onClipEvent (enterFrame) { attacking = false; }
Instance of Symbol 32 MovieClip "attBox" in Symbol 666 MovieClip Frame 56
onClipEvent (enterFrame) { attacking = true; }
Instance of Symbol 32 MovieClip "attBox" in Symbol 666 MovieClip Frame 57
onClipEvent (enterFrame) { attacking = false; }
Instance of Symbol 32 MovieClip "attBox" in Symbol 666 MovieClip Frame 58
onClipEvent (enterFrame) { attacking = true; }
Instance of Symbol 32 MovieClip "attBox" in Symbol 666 MovieClip Frame 60
onClipEvent (enterFrame) { attacking = false; }
Instance of Symbol 32 MovieClip "attBox" in Symbol 666 MovieClip Frame 87
onClipEvent (enterFrame) { attacking = true; }
Instance of Symbol 517 MovieClip "fireExplode" in Symbol 667 MovieClip Frame 1
onClipEvent (load) { function activate(x, y) { this._x = x; this._y = y; this._visible = true; this.gotoAndPlay(1); } this._visible = false; this.stop(); END = 45; attacking = false; kbx = 20; kby = 40; attType = "energy"; damage = 50; } onClipEvent (enterFrame) { if (this._currentframe >= END) { this._visible = false; this.stop(); } if (this._currentframe == 15) { attacking = true; } else { attacking = false; } }
Instance of Symbol 533 MovieClip "squa" in Symbol 667 MovieClip Frame 1
onClipEvent (load) { attacking = true; kbx = 15; kby = 30; attType = "energy"; damage = 35; }
Instance of Symbol 539 MovieClip "upafire" in Symbol 667 MovieClip Frame 1
onClipEvent (load) { function trail() { trailInit._x = _x + (Math.random() * trail_xOffset); trailInit._y = _y + (Math.random() * trail_yOffset); _root.attachMovie("FX_fireTrail", "ftr" + trailIncrement, trailIncrement + trail_depthOff, trailInit); trailIncrement++; if (trailIncrement > TRAILMAXIMUM) { trailIncrement = 0; } } this._visible = false; attacking = false; kbx = 8; kby = 60; damage = 75; attType = "spinUpper"; trail_randomOffset = 40; trailIncrement = 0; TRAILMAXIMUM = 15; trail_depthOff = 50; trail_xOffset = 20; trail_yOffset = 80; trail_rotRange = 45; trailInit = new Object(); trailInit._x = 300; trailInit._y = 300; trailInit._rotation = 180; } onClipEvent (enterFrame) { if (this._visible) { if (_parent.player.animstate == "Upawcut") { _x = _parent.player._x; _y = _parent.player._y; trail(); } else { this._visible = false; } } attacking = this._visible; }
Instance of Symbol 543 MovieClip "dashLine" in Symbol 667 MovieClip Frame 1
onClipEvent (load) { function go() { this.gotoAndPlay(1); this._visible = true; this._x = _parent.player._x; this._y = _parent.player._y; this._xscale = _parent.player._xscale; } this._visible = false; this.stop(); attacking = false; kbx = -15; kby = 20; damage = 25; attType = "flyBack"; LAST_FRAME = 23; } onClipEvent (enterFrame) { if (this._currentframe == LAST_FRAME) { this._visible = false; _parent.player.specialMoving = false; this.gotoAndStop(1); } attacking = _visible; }
Instance of Symbol 562 MovieClip "eyeBeam" in Symbol 667 MovieClip Frame 1
onClipEvent (load) { function activate(side) { this._visible = true; this.gotoAndPlay(1); this._xscale = 100 * side; side1 = side; this._x = _parent.player._x + (side1 * XOFF); this._y = _parent.player.MV_HOVERHT + YOFF; attacking = true; } this._visible = false; attacking = false; this.gotoAndStop(1); attacking = true; kbx = 15; kby = 5; attType = "laser"; damage = 25; YOFF = -60; XOFF = 8; side1 = 1; } onClipEvent (enterFrame) { if (this._currentFrame == 37) { this.stop(); this._visible = false; attacking = false; } }
Instance of Symbol 568 MovieClip "smiter" in Symbol 667 MovieClip Frame 1
onClipEvent (load) { function activate(x, y) { this._x = x; this._y = y; this._visible = true; this.gotoAndPlay(1); } this._visible = false; this.stop(); END = 7; attacking = false; kbx = 5; kby = 10; attType = "energy"; damage = 25; } onClipEvent (enterFrame) { if (this._currentframe >= END) { this._visible = false; this.stop(); } if (this._currentframe == 1) { attacking = true; } else { attacking = false; } }
Instance of Symbol 32 MovieClip "jukebox" in Symbol 667 MovieClip Frame 1
onClipEvent (load) { snd = new Sound(); snd.setVolume(50); normMusic = new Sound(); normMusic.attachSound("smacky_loop.wav"); demonMusic = new Sound(); demonMusic.attachSound("demon_loop.wav"); thatsIt = new Sound(); thatsIt.attachSound("thatsIt.wav"); punch1 = new Sound(); punch1.attachSound("punch1.wav"); punch2 = new Sound(); punch2.attachSound("punch2.wav"); punch3 = new Sound(); punch3.attachSound("punch3.wav"); pillowHit = new Sound(); pillowHit.attachSound("pillowHit.wav"); huya = new Sound(); huya.attachSound("huya.wav"); squadoken = new Sound(); squadoken.attachSound("squadoken.wav"); spin = new Sound(); spin.attachSound("smacky_spin.wav"); kick = new Sound(); kick.attachSound("kick.wav"); throww = new Sound(); throww.attachSound("throw.wav"); hello = new Sound(); hello.attachSound("hello.wav"); heyNeighbor = new Sound(); heyNeighbor.attachSound("heyNeighbor.wav"); ohBoy = new Sound(); ohBoy.attachSound("ohBoy.wav"); yoohoo = new Sound(); yoohoo.attachSound("yoohoo.wav"); heyCutie = new Sound(); heyCutie.attachSound("heyCutie.wav"); aaah = new Sound(); aaah.attachSound("aaah.wav"); gimmieHug = new Sound(); gimmieHug.attachSound("gimmieHug.wav"); heyhey = new Sound(); heyhey.attachSound("heyhey.wav"); regretNothing = new Sound(); regretNothing.attachSound("regretNothing.wav"); uncleSmacky = new Sound(); uncleSmacky.attachSound("uncleSmacky.wav"); frownUpsideDown = new Sound(); frownUpsideDown.attachSound("frownUpsideDown.wav"); ohNo = new Sound(); ohNo.attachSound("ohNo.wav"); jack_n_box = new Sound(); jack_n_box.attachSound("jack_n_box.wav"); mmm = new Sound(); mmm.attachSound("mmm.wav"); ho_ho_ho = new Sound(); ho_ho_ho.attachSound("ho_ho_ho.wav"); santa = new Sound(); santa.attachSound("santa.wav"); imLoaded = true; }
Instance of Symbol 577 MovieClip "specRing" in Symbol 667 MovieClip Frame 1
onClipEvent (load) { function closeRing() { currentDir = ""; this._visible = false; specTimer = 0; parseCombo(combo_string); combo_string = ""; charging = false; } function openRing() { if ((_root._xmouse > _parent.M_SAFEBORDER) && (_root._xmouse < (_parent.M_WIDTH - _parent.M_SAFEBORDER))) { combo_string = ""; this._x = openX; this._y = openY; this._visible = true; charging = true; } } function parseCombo(s) { switch (s) { case "DR" : combo_string = "Squadoken"; side = 1; break; case "DL" : combo_string = "Squadoken"; side = -1; break; case "RU" : combo_string = "Upawcut"; side = 1; break; case "LU" : combo_string = "Upawcut"; side = -1; break; case "RD" : combo_string = "Acorn Drop"; side = -1; break; case "LD" : combo_string = "Acorn Drop"; side = 1; break; case "D" : combo_string = "Cute Buster"; break; case "R" : combo_string = "Dash Charge"; side = 1; break; case "L" : combo_string = "Dash Charge"; side = -1; break; case "DRULD" : combo_string = "Demon Transform"; break; case "DLURD" : combo_string = "Demon Transform"; break; case "LDR" : combo_string = "Fires of Wrath"; break; case "RDL" : combo_string = "Fires of Wrath"; break; default : combo_string = ""; } if (combo_string != "") { _parent.player.goSpecial(combo_string, side); } } this._visible = false; charging = false; side = 1; fp = _parent; SPEC_DELAY = 8; specTimer = 0; mouseIsDown = false; last_xmouse = _root._xmouse; last_ymouse = _root._ymouse; d_xmouse = 0; d_ymouse = 0; combo_string = ""; currentDir = ""; lastDir = ""; lineDist = 0; lineAngle = 0; openX = 0; openY = 0; } onClipEvent (mouseDown) { if (!mouseIsDown) { openX = _root._xmouse; openY = _root._ymouse; } mouseIsDown = true; } onClipEvent (mouseUp) { closeRing(); mouseIsDown = false; } onClipEvent (enterFrame) { if (this._visible) { lineLength = fp.getDistance(this._x, this._y, _root._xmouse, _root._ymouse); lineAngle = fp.getAngle(this._x, this._y, _root._xmouse, _root._ymouse); this.pointer.line._height = lineLength; this.pointer._rotation = lineAngle; } else { this.pointer.line._height = 0; this.pointer._rotation = 0; } if (mouseIsDown && (specTimer <= SPEC_DELAY)) { specTimer++; } if (mouseIsDown && (specTimer == SPEC_DELAY)) { openRing(); } d_xmouse = _root._xmouse - last_xmouse; d_ymouse = _root._ymouse - last_ymouse; if ((_root._xmouse + d_xmouse) >= _parent.M_WIDTH) { closeRing(); } if ((_root._xmouse + d_xmouse) <= 0) { closeRing(); } if ((_root._ymouse + d_ymouse) >= _parent.M_HEIGHT) { closeRing(); } if ((_root._ymouse + d_ymouse) <= 0) { closeRing(); } if (currentDir != lastDir) { combo_string = combo_string + currentDir; } last_xmouse = _root._xmouse; last_ymouse = _root._ymouse; lastDir = currentDir; }
Instance of Symbol 666 MovieClip "player" in Symbol 667 MovieClip Frame 1
onClipEvent (load) { function demonDeactivate() { _parent._parent.altScreen.timeout("flash"); if (!_parent._parent.battleManager.bossPlaying) { _parent.jukebox.demonMusic.stop(); _parent.jukebox.normMusic.start(0, 52800); } controlLock = false; demonMode = false; grounded = false; attacking = false; specialMoving = false; scary = false; if (rage < 0) { rage = 0; } } function goDemon() { demonMode = true; this._y = MV_HOVERHT; dy = -10; _parent._parent.battleManager.score = _parent._parent.battleManager.score + 1000; scary = true; } function die() { gotoAndStop ("dead"); animstate = "dead"; _parent._parent.altScreen.timeout("over"); _parent._parent.battleManager.win = false; } function rageDown(amount) { rage = rage - amount; if (rage < 0) { rage = 0; } if (rage > maxRage) { rage = MAX_RAGE; } } function sanityChange(amount) { if (demonMode && (amount < 0)) { amount = 0; } if (amount < 0) { _parent._parent.hud.sanity.gotoAndPlay(2); } sanity = sanity + amount; if (sanity > MAX_SANITY) { sanity = MAX_SANITY; } if (sanity < 0) { sanity = 0; } } function setAttack(x, y, type, dmg) { kbx = x; kby = y; attType = type; damage = dmg; } function goSpecial(comboString, sd) { if (demonMode) { if (comboString == "Squadoken") { specialMove = "Laser Eye Beam"; specialSide = sd; specialMoving = true; _parent.eyeBeam.activate(specialSide); rageDown(0); } if (comboString == "Fires of Wrath") { specialMove = "Fires of Wrath"; specialMoving = true; _parent.fireExplode.activate(this._x, this._y); rageDown(0); } } if (!demonMode) { if ((comboString == "Squadoken") && (rage >= 35)) { specialMove = comboString; specialSide = sd; specialMoving = true; rageDown(35); } if ((comboString == "Upawcut") && (rage >= 40)) { _parent.jukebox.spin.start(); specialMove = comboString; specialMoving = true; grounded = false; dy = FT_UPAWCUT_YPWR; dx = FT_UPAWCUT_XPWR * sd; _parent.upafire._visible = true; rageDown(40); } if ((comboString == "Acorn Drop") && (rage >= 50)) { specialMove = comboString; specialMoving = true; grounded = false; dy = FT_DROP_YPWR; dx = FT_DROP_XPWR * sd; setAttack(5, -40, "throw", 125); rageDown(50); } if ((comboString == "Dash Charge") && (rage >= 35)) { specialMove = comboString; specialMoving = true; dx = MV_TOPSPEED * sd; this._x = this._x + (FT_DASHPWR * sd); _parent.dashLine.go(); rageDown(35); } if ((comboString == "Cute Buster") && (rage >= 30)) { _parent.jukebox.spin.start(); specialMove = comboString; specialMoving = true; dy = FT_SPINPWR; grounded = false; setAttack(5, 40, "upper", 25); rageDown(30); } } if (comboString == "Demon Transform") { if (demonMode) { demonDeactivate(); } else if (rage >= 900) { _parent._parent.altScreen.timeout("demon"); } } } MAX_SANITY = 100; MAX_RAGE = 900; sanity = MAX_SANITY; rage = 0; scary = false; hat = 1; MV_STOPTOL = 80; MV_TOPSPEED = 16; MV_ACCEL = 2; MV_FRICTION = 2; MV_GROUND = _parent.GROUND; MV_JUMPOFFSET = -150; MV_JUMPPOWER = -40; MV_TVELOCITY = _parent.TVELOCITY; MV_HOVERHT = 260; MV_HOVERAMP = 40; MV_MAXHOVER = 12.5663706143592; MV_HOVERACC = 0.01; MV_SHOVESPEED = 5; AN_HITHOLD = 3; AN_RUN_FIRST = 14; AN_RUN_LAST = 21; AN_SKID_FIRST = 22; AN_SKID_LAST = 26; AN_JUMPDOWN_FIRST = 28; AN_JUMPDOWN_LAST = 31; AN_GRIT_FIRST = 32; AN_GRIT_LAST = 33; AN_SQUA_FIRST = 34; AN_SQUA_LAST = 52; AN_SQUA_GO = 44; AN_UPCUT_FIRST = 54; AN_UPCUT_LAST = 57; AN_DROP_FIRST = 58; AN_DROP_LAST = 86; AN_DROP_BOOST = 70; AN_BUST_FIRST = 87; AN_BLINKFREQ = 0.01; AN_TWITCHFREQ = 0.03; FT_COMBOIDX = ["punchLeft", "punchRight", "kickFront", "punchLeft", "punchLeft"]; FT_COMBODELAY = 6; FT_FULLCOMBODELAY = 20; FT_COMBOTOL = 1; FT_MAXCOMBOTIMER = 100; FT_ENDCOMBOHEIGHT = -75; FT_PUNCHUPPOWER = -25; FT_PUNCHFORWARD = 5; FT_KICKUPPOWER = -20; FT_MAXKICK = 5; FT_UPAWCUT_YPWR = -50; FT_UPAWCUT_XPWR = 10; FT_DROP_YPWR = -40; FT_DROP_YBOOST = -20; FT_DROP_XPWR = 5; FT_DASHPWR = 400; FT_SPINPWR = -20; FT_EYEMAX = 24; FT_THROWRELEASE = 70; RAGE_CHARGE = 0.4; controlLock = false; grounded = false; specialMoving = false; attacking = false; punchingup = false; kicking = false; jumpkicking = false; demonMode = false; comboTimer = 0; comboCounter = 0; eyeTimer = 0; hoverCount = 0; animstate = "stand"; specialMove = ""; specialSide = 1; cursorSide = 1; kbx = 0; kby = 0; attType = 0; damage = 0; dx = 0; dy = 0; setAttack(0, 0, "mid", 0); } onClipEvent (mouseDown) { if (_parent.gamePause == false) { if (!demonMode) { if ((_root._ymouse < (MV_GROUND + MV_JUMPOFFSET)) && (grounded)) { grounded = false; dy = MV_JUMPPOWER; } if (!specialMoving) { if ((comboTimer > (FT_COMBODELAY + FT_COMBOTOL)) || (comboTimer < (FT_COMBODELAY - FT_COMBOTOL))) { comboCounter = 0; } else if (comboCounter < (FT_COMBOIDX.length - 1)) { comboCounter++; } else { comboCounter = 0; } comboTimer = 0; attacking = true; } } if (demonMode) { comboTimer = 0; attacking = true; } } } onClipEvent (enterFrame) { if (_parent.gamePause == false) { if (!controlLock) { if (_root._xmouse < this._x) { cursorSide = -1; } else { cursorSide = 1; } } if (_parent._parent.hud.sbar._xscale <= 1) { sanity = 0; die(); } if (rage > maxRage) { rage = MAX_RAGE; } if (!demonMode) { if (Math.abs(this._x - _root._xmouse) <= MV_STOPTOL) { if (dx == 0) { if (sanity >= 30) { animstate = "stand"; } if (sanity < 30) { animstate = "stand2"; } if (sanity < 15) { animstate = "stand3"; } if (Math.random() < AN_BLINKFREQ) { animstate = "blink"; } if (Math.random() < AN_TWITCHFREQ) { animstate = "twitch"; } } else { animstate = "skid"; } } if (Math.abs(this._x - _root._xmouse) > MV_STOPTOL) { if ((dx / cursorSide) >= 0) { animstate = "run"; } if ((dx / cursorSide) < 0) { animstate = "skid"; } } if (!grounded) { if (dy <= 0) { animstate = "jumpUp"; if (punchingup) { animstate = "punchUp"; setAttack(5, 40, "upper", 30); } } if (dy > 0) { animstate = "jumpDown"; if (attacking) { jumpkicking = true; } } } if (attacking && (grounded)) { if (comboCounter < (FT_COMBOIDX.length - 1)) { if (comboTimer < AN_HITHOLD) { animstate = FT_COMBOIDX[comboCounter]; if (animstate == "punchLeft") { setAttack(0, 0, "mid", 8); } if (animstate == "punchRight") { setAttack(0, 0, "low", 8); } if (animstate == "kickFront") { setAttack(0, 0, "mid", 8); } } } if (comboCounter == (FT_COMBOIDX.length - 1)) { if (_root._ymouse < (MV_GROUND + FT_ENDCOMBOHEIGHT)) { animstate = "punchUp"; grounded = false; dy = FT_PUNCHUPPOWER; dx = FT_PUNCHFORWARD * cursorSide; punchingup = true; _parent.jukebox.huya.start(); } if (_root._ymouse > (MV_GROUND + FT_ENDCOMBOHEIGHT)) { animstate = "kickFront"; grounded = false; dy = FT_KICKPOWER; dx = MV_TOPSPEED * cursorSide; if (kicking == false) { _parent.jukebox.kick.start(); } kicking = true; setAttack(22, 5, "kickBack", 30); } } } if (kicking) { animstate = "kickFront"; } if (jumpkicking) { animstate = "jumpKick"; setAttack(5, 30, "upper", 40); } if (_parent.specRing.charging) { animstate = "grit"; } if (specialMoving && (specialMove == "Squadoken")) { animstate = specialMove; } if (specialMoving && (specialMove == "Upawcut")) { animstate = specialMove; } if (specialMoving && (specialMove == "Acorn Drop")) { animstate = specialMove; } if (specialMoving && (specialMove == "Cute Buster")) { animstate = specialMove; } if (sanity <= 0) { animstate = "dead"; gotoAndStop(animstate); } } if (demonMode) { if (!controlLock) { if (Math.abs(this._x - _root._xmouse) > MV_STOPTOL) { animstate = "hoverFly"; } else { if (dx == 0) { animstate = "hover"; } if ((Math.abs(dx) / (dx * cursorSide)) == -1) { animstate = "hoverSkid"; } } if (attacking && (comboTimer < AN_HITHOLD)) { if (comboTimer == 0) { _parent.smiter.activate(_root._xmouse, _root._ymouse); } } if (specialMoving && (specialMove == "Laser Eye Beam")) { animstate = specialMove; } if (specialMoving && (specialMove == "Fires of Wrath")) { animstate = specialMove; } } } if (demonMode) { if (animstate == "hover") { gotoAndStop(animstate); } if (animstate == "hoverFly") { gotoAndStop(animstate); } if (animstate == "hoverSkid") { gotoAndStop(animstate); } if (animstate == "Laser Eye Beam") { gotoAndStop ("laserEye"); controlLock = true; dx = 0; dy = 0; this._y = MV_HOVERHT; eyeTimer++; if (eyeTimer >= FT_EYEMAX) { specialMoving = false; controlLock = false; eyeTimer = 0; } } if (animstate == "Fires of Wrath") { gotoAndStop ("laserEye"); controlLock = true; dx = 0; dy = 0; eyeTimer++; if (eyeTimer >= FT_EYEMAX) { specialMoving = false; controlLock = false; eyeTimer = 0; } } if (!controlLock) { this._y = Math.round(MV_HOVERHT + (Math.sin(hoverCount) * MV_HOVERAMP)); if (Math.abs(this._x - _root._xmouse) > MV_STOPTOL) { dx = dx + (cursorSide * MV_ACCEL); if (Math.abs(dx) > MV_TOPSPEED) { dx = (Math.abs(dx) / dx) * MV_TOPSPEED; } } if (Math.abs(dx - 1) < 1) { dx = 0; } this._y = this._y + dy; hoverCount = hoverCount + (MV_MAXHOVER * MV_HOVERACC); if (hoverCount >= MV_MAXHOVER) { hoverCount = 0; } if (comboTimer < FT_MAXCOMBOTIMER) { comboTimer++; } } } if (!demonmode) { if (attacking) { if (comboTimer < AN_HITHOLD) { gotoAndStop(animstate); } else { attacking = false; } } if ((animstate == "Cute Buster") && (this.currentframe != AN_BUST_FIRST)) { gotoAndStop ("Cute_Buster"); } if (animstate == "jumpUp") { gotoAndStop(animstate); } if (animstate == "jumpKick") { gotoAndStop(animstate); } if (animstate == "stand") { gotoAndStop(animstate); } if (animstate == "stand2") { gotoAndStop(animstate); } if (animstate == "stand3") { gotoAndStop(animstate); } if (animstate == "blink") { gotoAndStop(animstate); } if (animstate == "twitch") { gotoAndStop(animstate); } if (animstate == "skid") { if ((this._currentframe >= AN_SKID_FIRST) && (this._currentframe <= AN_SKID_LAST)) { if (this._currentframe != AN_SKID_LAST) { this.nextFrame(); } else { this.gotoAndStop(AN_SKID_LAST); } } else { this.gotoAndStop(AN_SKID_FIRST); } } if (animstate == "Squadoken") { if ((this._currentframe >= AN_SQUA_FIRST) && (this._currentframe <= AN_SQUA_LAST)) { if (this._currentframe != AN_SQUA_LAST) { this.nextFrame(); } if (this._currentframe == AN_SQUA_LAST) { specialMoving = false; } if (this._currentframe == AN_SQUA_GO) { _parent.jukebox.squadoken.start(); _parent.squa.code.go(this._x, this._y, specialSide); } } else { this.gotoAndStop(AN_SQUA_FIRST); } } if (animstate == "Acorn Drop") { if ((this._currentframe >= AN_DROP_FIRST) && (this._currentframe <= AN_DROP_LAST)) { if (this._currentframe != AN_DROP_LAST) { this.nextFrame(); } else { specialMoving = false; } if (this._currentframe == AN_DROP_BOOST) { _parent.jukebox.throww.start(); this.dy = FT_DROP_YBOOST; } } else { this.gotoAndStop(AN_DROP_FIRST); } } if (animstate == "run") { if ((this._currentframe >= AN_RUN_FIRST) && (this._currentframe < AN_RUN_LAST)) { this.nextFrame(); } else { this.gotoAndStop(AN_RUN_FIRST); } } if (animstate == "Upawcut") { if ((this._currentframe >= AN_UPCUT_FIRST) && (this._currentframe < AN_UPCUT_LAST)) { this.nextFrame(); } else { this.gotoAndStop(AN_UPCUT_FIRST); } if (dy > 0) { specialMoving = false; _parent.upafire._visible = false; } } if (animstate == "jumpDown") { punchingup = false; if ((this._currentframe >= AN_JUMPDOWN_FIRST) && (this._currentframe < AN_JUMPDOWN_LAST)) { this.nextFrame(); } else { this.gotoAndStop(AN_JUMPDOWN_FIRST); } } this._xscale = cursorSide * 100; if (animstate == "Squadoken") { this._xscale = specialSide * 100; } if (animstate == "grit") { rage = rage + (RAGE_CHARGE * _parent.RAGE_MODIFIER); } if (demonMode) { rage--; if (rage <= 0) { demonDeactivate(); } } if (grounded) { if ((((Math.abs(dx) / dx) * cursorSide) == -1) || (animstate == "skid")) { dx = dx + ((-1 * (Math.abs(dx) / dx)) * MV_FRICTION); } } if (animstate == "run") { dx = dx + (cursorSide * MV_ACCEL); if (Math.abs(dx) > MV_TOPSPEED) { dx = (Math.abs(dx) / dx) * MV_TOPSPEED; } } if (animstate == "grit") { if ((this._currentframe >= AN_GRIT_FIRST) && (this._currentframe < AN_GRIT_LAST)) { this.nextFrame(); } else { this.gotoAndStop(AN_GRIT_FIRST); } } if (Math.abs(dx - 1) < 1) { dx = 0; } if (comboTimer < FT_MAXCOMBOTIMER) { comboTimer++; } i = 0; while (i < _parent.collisionObjects.length) { var temp; if (this.hitTest(_parent.collisionObjects[i].hitBox)) { if ((_parent.collisionObjects[i]._x > this._x) && (cursorSide == 1)) { if (dx > 0) { if (animstate != "skid") { temp = dx; dx = MV_SHOVESPEED; if (_parent.collisionObjects[i].glomping == true) { dx = temp; } } _parent.collisionObjects[i]._x = _parent.collisionObjects[i]._x + dx; } } if ((_parent.collisionObjects[i]._x < this._x) && (cursorSide == -1)) { if (dx < 0) { temp = dx; dx = -MV_SHOVESPEED; if (_parent.collisionObjects[i].glomping == true) { dx = temp; } _parent.collisionObjects[i]._x = _parent.collisionObjects[i]._x + dx; } } } i++; } this._x = this._x + dx; this._y = this._y + dy; if ((dx == 0) || (comboTimer > FT_MAXKICK)) { kicking = false; } if (!grounded) { dy = dy + _parent.GRAVITY; if (dy > MV_TVELOCITY) { dy = MV_TVELOCITY; } } if (this._y >= MV_GROUND) { this._y = MV_GROUND; grounded = true; jumpkicking = false; if (specialMoving && (animstate == "Cute Buster")) { specialMoving = false; } dy = 0; } } } }
Symbol 669 Button
on (release) { _root.nextFrame(); }
Symbol 680 MovieClip Frame 1
stop(); _visible = false;
Symbol 680 MovieClip Frame 2
_visible = true;
Symbol 680 MovieClip Frame 49
gotoAndStop (1);
Symbol 685 MovieClip Frame 9
gotoAndStop (1);
Instance of Symbol 685 MovieClip in Symbol 696 MovieClip Frame 1
onClipEvent (load) { this.gotoAndStop(1); }
Instance of Symbol 690 MovieClip "sbar" in Symbol 696 MovieClip Frame 1
onClipEvent (load) { wp = _parent._parent.world; this._xscale = 100; } onClipEvent (enterFrame) { if (Math.round(wp.player.sanity) > this._xscale) { this._xscale++; } if (Math.round(wp.player.sanity) < this._xscale) { this._xscale--; } }
Instance of Symbol 692 MovieClip in Symbol 696 MovieClip Frame 1
onClipEvent (load) { wp = _parent._parent.world; } onClipEvent (enterFrame) { if (wp.player.rage < 100) { this._xscale = wp.player.rage; } else { this._xscale = 100; } }
Instance of Symbol 692 MovieClip in Symbol 696 MovieClip Frame 1
onClipEvent (load) { wp = _parent._parent.world; } onClipEvent (enterFrame) { if ((wp.player.rage >= 100) && (wp.player.rage < 400)) { this._visible = true; this._xscale = (wp.player.rage - 100) / 3; } if (wp.player.rage > 400) { this._xscale = 100; this._visible = true; } if (wp.player.rage < 100) { this._xscale = 100; this._visible = false; } }
Instance of Symbol 692 MovieClip in Symbol 696 MovieClip Frame 1
onClipEvent (load) { wp = _parent._parent.world; } onClipEvent (enterFrame) { if ((wp.player.rage > 400) && (wp.player.rage < 900)) { this._visible = true; this._xscale = (wp.player.rage - 400) / 5; } if (wp.player.rage >= 900) { this._xscale = 100; this._visible = false; } if (wp.player.rage < 400) { this._xscale = 100; this._visible = false; } }
Instance of Symbol 695 MovieClip in Symbol 696 MovieClip Frame 1
onClipEvent (load) { wp = _parent._parent.world; } onClipEvent (enterFrame) { if (wp.player.rage >= 900) { this._visible = true; } else { this._visible = false; } }
Symbol 700 Button
on (release) { nextFrame(); }
Symbol 704 Button
on (release) { prevFrame(); }
Symbol 772 MovieClip Frame 1
stop();
Instance of Symbol 428 MovieClip in Symbol 786 MovieClip Frame 1
onClipEvent (enterFrame) { if (_quality == "LOW") { this.gotoAndStop(1); } else { this.play(); } }
Instance of Symbol 776 MovieClip in Symbol 786 MovieClip Frame 2
onClipEvent (enterFrame) { if (_quality == "LOW") { this.stop(); this._visible = false; } else { this.play(); this._visible = true; } }
Instance of Symbol 776 MovieClip in Symbol 786 MovieClip Frame 4
onClipEvent (enterFrame) { if (_quality == "LOW") { this.stop(); this._visible = false; } else { this.play(); this._visible = true; } }
Instance of Symbol 776 MovieClip in Symbol 786 MovieClip Frame 6
onClipEvent (enterFrame) { if (_quality == "LOW") { this.stop(); this._visible = false; } else { this.play(); this._visible = true; } }
Instance of Symbol 776 MovieClip in Symbol 786 MovieClip Frame 8
onClipEvent (enterFrame) { if (_quality == "LOW") { this.stop(); this._visible = false; } else { this.play(); this._visible = true; } }
Instance of Symbol 793 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (enterFrame) { if (_parent._parent.world.player.scary) { this._visible = false; } else { this._visible = true; } if (_quality == "LOW") { this.gotoAndStop(1); } else { this.play(); } }
Instance of Symbol 806 MovieClip "sbar" in Symbol 811 MovieClip Frame 1
onClipEvent (load) { wp = _parent._parent.world; this._xscale = 100; }
Symbol 850 MovieClip Frame 1
stop();
Instance of Symbol 849 MovieClip "tipNum" in Symbol 850 MovieClip Frame 120
onClipEvent (load) { stop(); }
Symbol 850 MovieClip Frame 250
gotoAndStop (1);
Symbol 862 Button
on (release) { res = checkCheat(cht); cht = ""; }
Symbol 868 Button
on (release) { play(); }
Symbol 873 Button
on (release) { _parent.world.jukebox.normMusic.stop(); _parent.world.jukebox.demonMusic.stop(); _root.highScoreGo = false; _parent.gotoAndPlay(5); }
Symbol 876 Button
on (press) { dragging = true; } on (release) { dragging = false; }
Instance of Symbol 877 MovieClip "knob" in Symbol 878 MovieClip Frame 1
onClipEvent (enterFrame) { if (dragging) { if (((_root._xmouse - _parent._x) >= 0) && ((_root._xmouse - _parent._x) <= 200)) { this._x = _root._xmouse - _parent._x; } } } onClipEvent (mouseUp) { dragging = false; }
Instance of Symbol 877 MovieClip "knob" in Symbol 883 MovieClip Frame 1
onClipEvent (enterFrame) { if (dragging) { if (((_root._xmouse - _parent._x) >= 0) && ((_root._xmouse - _parent._x) <= 200)) { this._x = _root._xmouse - _parent._x; } } } onClipEvent (mouseUp) { dragging = false; }
Symbol 897 MovieClip Frame 1
if (_parent._parent.battleManager.win) { gotoAndStop (2); } else { gotoAndStop (1); }
Symbol 902 MovieClip Frame 1
if (_parent._parent.battleManager.win) { gotoAndStop (2); } else { gotoAndStop (1); }
Symbol 919 MovieClip Frame 78
stop();
Symbol 921 Button
on (release) { _parent.world.jukebox.normMusic.stop(); _parent.world.jukebox.demonMusic.stop(); _root.gotoAndPlay(4); }
Symbol 931 Button
on (release) { _parent.world.jukebox.normMusic.stop(); _parent.world.jukebox.demonMusic.stop(); if (_parent.battleManager.score > 0) { _root.swHighScoreObject.player1Score = _parent.battleManager.score; trace("_root=" + _root.swHighScoreObject.player1Score); trace("battleManager score=" + _parent.battleManager.score); _root.highScoreGo = true; } _parent.gotoAndPlay(7); }
Symbol 980 Button
on (release) { this.gotoAndPlay("ending"); }
Symbol 985 Button
on (release) { this.gotoAndPlay("loopage"); }
Symbol 993 MovieClip Frame 1
res = "";
Instance of Symbol 883 MovieClip "vslider" in Symbol 993 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.sndVol = knob._x / 2; }
Symbol 993 MovieClip Frame 15
stop();
Symbol 993 MovieClip Frame 22
timein(); stop();
Symbol 993 MovieClip Frame 66
_parent.battleManager.finalBattle = true; _parent.battleManager.minimumOnscreen = 0; timein(); stop();
Symbol 993 MovieClip Frame 119
kills = 0; pickedLevel = "--"; if (_parent.battleManager.level >= 3) { pickedLevel = levelCode[0]; } if (_parent.battleManager.level >= 6) { pickedLevel = levelCode[1]; } if (_parent.battleManager.level >= 9) { pickedLevel = levelCode[2]; } if (_parent.battleManager.level >= 12) { pickedLevel = levelCode[3]; } if (_parent.battleManager.level >= 15) { pickedLevel = levelCode[4]; } pickedCheat = "--"; var roll = Math.round(Math.random() * (hatCode.length - 1)); trace("Cheat roll=" + roll); pickedCheat = hatCode[roll];
Instance of Symbol 919 MovieClip "stack" in Symbol 993 MovieClip Frame 120
onClipEvent (enterFrame) { if (_parent.kills < _parent._parent.battleManager.killCount) { _parent.kills = _parent.kills + 2; } else { this.stop(); _parent.kills = _parent._parent.battleManager.killCount; } }
Symbol 993 MovieClip Frame 124
stop();
Symbol 993 MovieClip Frame 125
_parent.world.jukebox.normMusic.stop(); _parent.world.jukebox.demonMusic.start(0, 52800); _parent.world.jukebox.thatsIt.start(); var rand = (Math.round(Math.random() * 4) + 1); trans = ""; trace(rand); switch (rand) { case 1 : trans = "\"Your minty breath is offensive to my sensibilities.\""; break; case 2 : trans = "\"I do not like cookies.\""; break; case 3 : trans = "\"Golly gee, now you've done it.\""; break; case 4 : trans = "\"Smacky will no longer tolerate your concerend neighborly acts!\""; break; case 5 : trans = "\"I need to go to the store. I'm out of milk.\""; }
Symbol 993 MovieClip Frame 385
_parent.world.player.goDemon(); _parent.world.gamePause = false;
Symbol 993 MovieClip Frame 415
timein(); stop();
Symbol 993 MovieClip Frame 425
timein(); gotoAndStop (1);
Symbol 993 MovieClip Frame 437
_parent.battleManager.level++; _parent.battleManager.levelString = "Level " + _parent.battleManager.level; _parent._parent.levelDisp.gotoAndPlay(2);
Symbol 993 MovieClip Frame 448
timein(); stop();
Symbol 993 MovieClip Frame 812
timein(); stop();
Symbol 993 MovieClip Frame 1062
timein(); stop();
Symbol 993 MovieClip Frame 1233
stop();
Symbol 993 MovieClip Frame 1454
_parent.battleManager.win = true; this.gotoAndPlay("overDirect");
Symbol 993 MovieClip Frame 1653
_parent.battleManager.level++; timein(); stop();

Library Items

Symbol 1 Sound [yoohoo.wav]
Symbol 2 Sound [uncleSmacky.wav]
Symbol 3 Sound [throw.wav]
Symbol 4 Sound [thatsIt.wav]
Symbol 5 Sound [squadoken.wav]
Symbol 6 Sound [pillowHit.wav]
Symbol 7 Sound [smacky_spin.wav]
Symbol 8 Sound [smacky_loop.wav]
Symbol 9 Sound [santa.wav]
Symbol 10 Sound [regretNothing.wav]
Symbol 11 Sound [punch3.wav]
Symbol 12 Sound [punch2.wav]
Symbol 13 Sound [punch1.wav]
Symbol 14 Sound [ohNo.wav]
Symbol 15 Sound [ohBoy.wav]
Symbol 16 Sound [mmm.wav]
Symbol 17 Sound [kick.wav]
Symbol 18 Sound [jack_n_box.wav]
Symbol 19 Sound [huya.wav]
Symbol 20 Sound [ho_ho_ho.wav]
Symbol 21 Sound [heyNeighbor.wav]
Symbol 22 Sound [heyhey.wav]
Symbol 23 Sound [heyCutie.wav]
Symbol 24 Sound [hello.wav]
Symbol 25 Sound [gimmieHug.wav]
Symbol 26 Sound [frownUpsideDown.wav]
Symbol 27 Sound [demon_loop.wav]
Symbol 28 Sound [aaah.wav]
Symbol 29 Sound [dem_zap.wav]Used by:568
Symbol 30 Sound [laser_eye.wav]Used by:562
Symbol 31 GraphicUsed by:32 677
Symbol 32 MovieClipUses:31Used by:40 121 159 194 229 292 300 302 305 308 309 316 329 332 337 340 343 372 399 410 413 539 601 666 667 678  Timeline
Symbol 33 GraphicUsed by:40
Symbol 34 GraphicUsed by:40 54
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:35Used by:39 58 309 315 316
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:37Used by:39 309
Symbol 39 MovieClipUses:36 38Used by:40 309
Symbol 40 MovieClip [cookBox]Uses:32 33 34 39
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClip [FX_squaBall]Uses:41Used by:43
Symbol 43 MovieClip [FX_fireTrail]Uses:42
Symbol 44 GraphicUsed by:121
Symbol 45 GraphicUsed by:58
Symbol 46 GraphicUsed by:58
Symbol 47 GraphicUsed by:58 309
Symbol 48 GraphicUsed by:58 316
Symbol 49 GraphicUsed by:58
Symbol 50 GraphicUsed by:52
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:50 51Used by:58
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClipUses:53 34Used by:58
Symbol 55 GraphicUsed by:58
Symbol 56 GraphicUsed by:58
Symbol 57 GraphicUsed by:58 302
Symbol 58 MovieClipUses:45 46 47 36 48 49 52 54 55 56 57Used by:121 159 194 229 292 372 399
Symbol 59 GraphicUsed by:121
Symbol 60 GraphicUsed by:121
Symbol 61 GraphicUsed by:68 126
Symbol 62 GraphicUsed by:68
Symbol 63 GraphicUsed by:68 126
Symbol 64 GraphicUsed by:68 126
Symbol 65 GraphicUsed by:68 126
Symbol 66 GraphicUsed by:68 126
Symbol 67 GraphicUsed by:68 126
Symbol 68 MovieClipUses:61 62 63 64 65 66 67Used by:121
Symbol 69 GraphicUsed by:73
Symbol 70 GraphicUsed by:73
Symbol 71 GraphicUsed by:73
Symbol 72 GraphicUsed by:73
Symbol 73 MovieClipUses:69 70 71 72Used by:121
Symbol 74 GraphicUsed by:92
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClipUses:75Used by:92 810
Symbol 77 GraphicUsed by:92
Symbol 78 GraphicUsed by:92
Symbol 79 GraphicUsed by:92 118 137 158
Symbol 80 GraphicUsed by:92 118 137 158
Symbol 81 GraphicUsed by:92 118 137 158
Symbol 82 GraphicUsed by:92 118 137 158
Symbol 83 GraphicUsed by:92 118 137 158
Symbol 84 GraphicUsed by:92 118 137 158
Symbol 85 GraphicUsed by:92 118 137 158
Symbol 86 GraphicUsed by:92 118 137 158
Symbol 87 GraphicUsed by:92 118 137 158
Symbol 88 GraphicUsed by:92 118 137 158
Symbol 89 GraphicUsed by:92 118 137 158
Symbol 90 GraphicUsed by:92 118 137 158
Symbol 91 GraphicUsed by:92 118 137 158
Symbol 92 MovieClipUses:74 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91Used by:121
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClipUses:93Used by:99 141 150
Symbol 95 GraphicUsed by:99 141
Symbol 96 GraphicUsed by:99
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClipUses:97Used by:99
Symbol 99 MovieClipUses:94 95 96 98Used by:121
Symbol 100 GraphicUsed by:121
Symbol 101 GraphicUsed by:121
Symbol 102 GraphicUsed by:121
Symbol 103 GraphicUsed by:121
Symbol 104 GraphicUsed by:105
Symbol 105 MovieClipUses:104Used by:106
Symbol 106 MovieClipUses:105Used by:121 159 194 229 292 328 372 399
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClipUses:107Used by:110
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClipUses:108 109Used by:121
Symbol 111 GraphicUsed by:121
Symbol 112 GraphicUsed by:121
Symbol 113 GraphicUsed by:118
Symbol 114 GraphicUsed by:115
Symbol 115 MovieClipUses:114Used by:118 121
Symbol 116 GraphicUsed by:118
Symbol 117 GraphicUsed by:118
Symbol 118 MovieClipUses:113 115 116 117 79 80 81 82 83 84 85 86 87 88 89 90 91Used by:121
Symbol 119 GraphicUsed by:121 159
Symbol 120 GraphicUsed by:121 159
Symbol 121 MovieClip [sqScout]Uses:32 44 58 59 60 68 73 92 99 100 101 102 103 106 110 111 112 118 119 115 120
Symbol 122 GraphicUsed by:159
Symbol 123 GraphicUsed by:159
Symbol 124 GraphicUsed by:159
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClipUses:61 125 63 64 65 66 67Used by:159
Symbol 127 GraphicUsed by:131
Symbol 128 GraphicUsed by:131
Symbol 129 GraphicUsed by:131
Symbol 130 GraphicUsed by:131
Symbol 131 MovieClipUses:127 128 129 130Used by:159
Symbol 132 GraphicUsed by:137
Symbol 133 GraphicUsed by:134
Symbol 134 MovieClipUses:133Used by:137
Symbol 135 GraphicUsed by:137
Symbol 136 GraphicUsed by:137
Symbol 137 MovieClipUses:132 134 135 136 79 80 81 82 83 84 85 86 87 88 89 90 91Used by:159
Symbol 138 GraphicUsed by:141
Symbol 139 GraphicUsed by:140
Symbol 140 MovieClipUses:139Used by:141
Symbol 141 MovieClipUses:94 95 138 140Used by:159
Symbol 142 GraphicUsed by:159
Symbol 143 GraphicUsed by:159
Symbol 144 GraphicUsed by:159
Symbol 145 GraphicUsed by:159
Symbol 146 GraphicUsed by:147
Symbol 147 MovieClipUses:146Used by:150
Symbol 148 GraphicUsed by:150
Symbol 149 GraphicUsed by:150
Symbol 150 MovieClipUses:147 94 148 149Used by:159
Symbol 151 GraphicUsed by:159
Symbol 152 GraphicUsed by:159
Symbol 153 GraphicUsed by:158
Symbol 154 GraphicUsed by:155
Symbol 155 MovieClipUses:154Used by:158 159
Symbol 156 GraphicUsed by:158
Symbol 157 GraphicUsed by:158
Symbol 158 MovieClipUses:153 155 156 157 79 80 81 82 83 84 85 86 87 88 89 90 91Used by:159
Symbol 159 MovieClip [sqf]Uses:32 122 58 123 124 126 131 137 141 142 143 144 145 150 106 151 152 158 119 155 120
Symbol 160 GraphicUsed by:194
Symbol 161 GraphicUsed by:194
Symbol 162 GraphicUsed by:194
Symbol 163 GraphicUsed by:194
Symbol 164 GraphicUsed by:176
Symbol 165 GraphicUsed by:166
Symbol 166 MovieClipUses:165Used by:171 176
Symbol 167 GraphicUsed by:176
Symbol 168 GraphicUsed by:176
Symbol 169 GraphicUsed by:176
Symbol 170 GraphicUsed by:171
Symbol 171 MovieClipUses:170 166Used by:176
Symbol 172 GraphicUsed by:176
Symbol 173 GraphicUsed by:176
Symbol 174 GraphicUsed by:176
Symbol 175 GraphicUsed by:176
Symbol 176 MovieClipUses:164 166 167 168 169 171 172 173 174 175Used by:194
Symbol 177 GraphicUsed by:178
Symbol 178 MovieClipUses:177Used by:183 189
Symbol 179 GraphicUsed by:182
Symbol 180 GraphicUsed by:181
Symbol 181 MovieClipUses:180Used by:182
Symbol 182 MovieClipUses:179 181Used by:183
Symbol 183 MovieClipUses:178 182Used by:194
Symbol 184 GraphicUsed by:194
Symbol 185 GraphicUsed by:194
Symbol 186 GraphicUsed by:194
Symbol 187 GraphicUsed by:189
Symbol 188 GraphicUsed by:189
Symbol 189 MovieClipUses:178 187 188Used by:194
Symbol 190 GraphicUsed by:194
Symbol 191 GraphicUsed by:194
Symbol 192 GraphicUsed by:194
Symbol 193 GraphicUsed by:194
Symbol 194 MovieClip [sqt]Uses:32 160 58 161 162 163 176 183 184 185 186 189 106 190 191 192 193
Symbol 195 GraphicUsed by:198
Symbol 196 GraphicUsed by:197
Symbol 197 MovieClipUses:196Used by:198 217 229
Symbol 198 MovieClipUses:195 197Used by:199 218
Symbol 199 MovieClipUses:198Used by:229
Symbol 200 GraphicUsed by:229
Symbol 201 GraphicUsed by:229
Symbol 202 GraphicUsed by:209 234
Symbol 203 GraphicUsed by:209
Symbol 204 GraphicUsed by:209 234
Symbol 205 GraphicUsed by:209 234
Symbol 206 GraphicUsed by:209 234
Symbol 207 GraphicUsed by:209 234
Symbol 208 GraphicUsed by:209 234
Symbol 209 MovieClipUses:202 203 204 205 206 207 208Used by:229
Symbol 210 GraphicUsed by:229
Symbol 211 GraphicUsed by:215
Symbol 212 GraphicUsed by:215
Symbol 213 GraphicUsed by:215
Symbol 214 GraphicUsed by:215
Symbol 215 MovieClipUses:211 212 213 214Used by:229
Symbol 216 GraphicUsed by:217
Symbol 217 MovieClipUses:216 197Used by:218
Symbol 218 MovieClipUses:217 198Used by:229
Symbol 219 GraphicUsed by:229
Symbol 220 GraphicUsed by:221
Symbol 221 MovieClipUses:220Used by:226 259 268
Symbol 222 GraphicUsed by:226
Symbol 223 GraphicUsed by:226
Symbol 224 GraphicUsed by:225
Symbol 225 MovieClipUses:224Used by:226 259
Symbol 226 MovieClipUses:221 222 223 225Used by:229
Symbol 227 GraphicUsed by:229
Symbol 228 GraphicUsed by:229
Symbol 229 MovieClip [sqMime]Uses:32 199 58 200 197 201 209 210 215 218 219 226 227 228 106
Symbol 230 GraphicUsed by:292
Symbol 231 GraphicUsed by:292
Symbol 232 GraphicUsed by:292
Symbol 233 GraphicUsed by:234
Symbol 234 MovieClipUses:202 233 204 205 206 207 208Used by:292
Symbol 235 GraphicUsed by:239
Symbol 236 GraphicUsed by:239
Symbol 237 GraphicUsed by:239
Symbol 238 GraphicUsed by:239
Symbol 239 MovieClipUses:235 236 237 238Used by:292
Symbol 240 GraphicUsed by:256
Symbol 241 GraphicUsed by:256
Symbol 242 GraphicUsed by:256
Symbol 243 GraphicUsed by:256
Symbol 244 GraphicUsed by:256
Symbol 245 GraphicUsed by:256
Symbol 246 GraphicUsed by:256
Symbol 247 GraphicUsed by:256
Symbol 248 GraphicUsed by:256
Symbol 249 GraphicUsed by:256
Symbol 250 GraphicUsed by:256
Symbol 251 GraphicUsed by:256
Symbol 252 GraphicUsed by:256
Symbol 253 GraphicUsed by:256
Symbol 254 GraphicUsed by:256
Symbol 255 GraphicUsed by:256
Symbol 256 MovieClipUses:240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255Used by:292
Symbol 257 GraphicUsed by:259
Symbol 258 GraphicUsed by:259
Symbol 259 MovieClipUses:221 257 258 225Used by:292
Symbol 260 GraphicUsed by:292
Symbol 261 GraphicUsed by:292
Symbol 262 GraphicUsed by:292
Symbol 263 GraphicUsed by:292
Symbol 264 GraphicUsed by:265
Symbol 265 MovieClipUses:264Used by:268
Symbol 266 GraphicUsed by:268
Symbol 267 GraphicUsed by:268
Symbol 268 MovieClipUses:265 221 266 267Used by:292
Symbol 269 GraphicUsed by:292
Symbol 270 GraphicUsed by:292
Symbol 271 GraphicUsed by:289
Symbol 272 GraphicUsed by:273
Symbol 273 MovieClipUses:272Used by:289 292
Symbol 274 GraphicUsed by:289
Symbol 275 GraphicUsed by:289
Symbol 276 GraphicUsed by:289
Symbol 277 GraphicUsed by:289
Symbol 278 GraphicUsed by:289
Symbol 279 GraphicUsed by:289
Symbol 280 GraphicUsed by:289
Symbol 281 GraphicUsed by:289
Symbol 282 GraphicUsed by:289
Symbol 283 GraphicUsed by:289
Symbol 284 GraphicUsed by:289
Symbol 285 GraphicUsed by:289
Symbol 286 GraphicUsed by:289
Symbol 287 GraphicUsed by:289
Symbol 288 GraphicUsed by:289
Symbol 289 MovieClipUses:271 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288Used by:292
Symbol 290 GraphicUsed by:292
Symbol 291 GraphicUsed by:292
Symbol 292 MovieClip [sqm]Uses:32 230 58 231 232 234 239 256 259 260 261 262 263 268 106 269 270 289 290 273 291
Symbol 293 GraphicUsed by:300
Symbol 294 GraphicUsed by:300
Symbol 295 GraphicUsed by:296
Symbol 296 MovieClipUses:295Used by:299
Symbol 297 GraphicUsed by:298
Symbol 298 MovieClipUses:297Used by:299
Symbol 299 MovieClipUses:296 298Used by:300 302 305 308 332
Symbol 300 MovieClip [flowerSack]Uses:32 293 294 299
Symbol 301 GraphicUsed by:302
Symbol 302 MovieClip [bluePresentBig]Uses:32 57 301 299
Symbol 303 GraphicUsed by:305
Symbol 304 GraphicUsed by:305
Symbol 305 MovieClip [bluePresentTall]Uses:32 303 304 299
Symbol 306 GraphicUsed by:308
Symbol 307 GraphicUsed by:308
Symbol 308 MovieClip [bluePresent]Uses:32 306 307 299
Symbol 309 MovieClip [cookies]Uses:32 47 36 38 39
Symbol 310 GraphicUsed by:316
Symbol 311 GraphicUsed by:312
Symbol 312 MovieClipUses:311Used by:315
Symbol 313 GraphicUsed by:314
Symbol 314 MovieClipUses:313Used by:315 409
Symbol 315 MovieClipUses:36 312 314Used by:316
Symbol 316 MovieClip [cake]Uses:32 36 48 310 315
Symbol 317 GraphicUsed by:320
Symbol 318 GraphicUsed by:319
Symbol 319 MovieClipUses:318Used by:320 323 328 329
Symbol 320 MovieClipUses:317 319Used by:329
Symbol 321 GraphicUsed by:329
Symbol 322 GraphicUsed by:323
Symbol 323 MovieClipUses:322 319Used by:326 328
Symbol 324 GraphicUsed by:325
Symbol 325 MovieClipUses:324Used by:326 328
Symbol 326 MovieClipUses:323 325Used by:329
Symbol 327 GraphicUsed by:328
Symbol 328 MovieClipUses:327 319 323 106 325Used by:329
Symbol 329 MovieClip [jackBox]Uses:32 320 321 319 326 328
Symbol 330 GraphicUsed by:332
Symbol 331 GraphicUsed by:332
Symbol 332 MovieClip [present]Uses:32 330 331 299
Symbol 333 GraphicUsed by:336
Symbol 334 GraphicUsed by:335
Symbol 335 MovieClipUses:334Used by:336 696
Symbol 336 MovieClipUses:333 335Used by:337
Symbol 337 MovieClip [rageRecover]Uses:336 32
Symbol 338 GraphicUsed by:339
Symbol 339 MovieClipUses:338Used by:340
Symbol 340 MovieClip [cheerRecover]Uses:339 32
Symbol 341 GraphicUsed by:342
Symbol 342 MovieClipUses:341Used by:343
Symbol 343 MovieClip [sanityRecover]Uses:342 32
Symbol 344 GraphicUsed by:372
Symbol 345 GraphicUsed by:372
Symbol 346 GraphicUsed by:372
Symbol 347 GraphicUsed by:372 399
Symbol 348 GraphicUsed by:352
Symbol 349 GraphicUsed by:352
Symbol 350 GraphicUsed by:352
Symbol 351 GraphicUsed by:352
Symbol 352 MovieClipUses:348 349 350 351Used by:372
Symbol 353 GraphicUsed by:354
Symbol 354 MovieClipUses:353Used by:359 362 367 383 386 391 396
Symbol 355 GraphicUsed by:356
Symbol 356 MovieClipUses:355Used by:359 367 383 391 396
Symbol 357 GraphicUsed by:358
Symbol 358 MovieClipUses:357Used by:359 367
Symbol 359 MovieClipUses:354 356 358Used by:372
Symbol 360 GraphicUsed by:361
Symbol 361 MovieClipUses:360Used by:362
Symbol 362 MovieClipUses:354 361Used by:372
Symbol 363 GraphicUsed by:372
Symbol 364 GraphicUsed by:372
Symbol 365 GraphicUsed by:372
Symbol 366 GraphicUsed by:372
Symbol 367 MovieClipUses:354 356 358Used by:372
Symbol 368 GraphicUsed by:372
Symbol 369 GraphicUsed by:372
Symbol 370 GraphicUsed by:372
Symbol 371 GraphicUsed by:372
Symbol 372 MovieClip [sqClaus]Uses:32 344 58 345 346 347 352 359 362 363 364 365 366 367 106 368 369 370 371
Symbol 373 GraphicUsed by:399
Symbol 374 GraphicUsed by:399
Symbol 375 GraphicUsed by:399
Symbol 376 GraphicUsed by:380
Symbol 377 GraphicUsed by:380
Symbol 378 GraphicUsed by:380
Symbol 379 GraphicUsed by:380
Symbol 380 MovieClipUses:376 377 378 379Used by:399
Symbol 381 GraphicUsed by:382
Symbol 382 MovieClipUses:381Used by:383 391
Symbol 383 MovieClipUses:354 356 382Used by:399
Symbol 384 GraphicUsed by:385
Symbol 385 MovieClipUses:384Used by:386
Symbol 386 MovieClipUses:354 385Used by:399
Symbol 387 GraphicUsed by:399
Symbol 388 GraphicUsed by:399
Symbol 389 GraphicUsed by:399
Symbol 390 GraphicUsed by:399
Symbol 391 MovieClipUses:354 356 382Used by:399
Symbol 392 GraphicUsed by:399
Symbol 393 GraphicUsed by:399
Symbol 394 GraphicUsed by:395
Symbol 395 MovieClipUses:394Used by:396
Symbol 396 MovieClipUses:354 356 395Used by:399
Symbol 397 GraphicUsed by:399
Symbol 398 GraphicUsed by:399
Symbol 399 MovieClip [sql]Uses:32 373 58 374 375 347 380 383 386 387 388 389 390 391 106 392 393 396 397 398
Symbol 400 GraphicUsed by:404 568
Symbol 401 GraphicUsed by:404
Symbol 402 GraphicUsed by:404
Symbol 403 GraphicUsed by:404
Symbol 404 MovieClip [FX_splash]Uses:400 401 402 403
Symbol 405 GraphicUsed by:410
Symbol 406 GraphicUsed by:410
Symbol 407 GraphicUsed by:408
Symbol 408 MovieClipUses:407Used by:409 410
Symbol 409 MovieClipUses:408 314Used by:410
Symbol 410 MovieClip [iceCream]Uses:32 405 406 408 409
Symbol 411 GraphicUsed by:413
Symbol 412 GraphicUsed by:413
Symbol 413 MovieClip [pillow]Uses:32 411 412
Symbol 414 FontUsed by:415 457 702 716 718 721 724 728 730 733 735 737 740 742 745 747 748 752 753 755 757 759 762 765 768 769 771 854 874 880 881 885 886 907 908 909 910 920 926 927 928 929 930 996 997
Symbol 415 EditableTextUses:414Used by:Timeline
Symbol 416 BitmapUsed by:417
Symbol 417 GraphicUses:416Used by:428 773
Symbol 418 BitmapUsed by:419
Symbol 419 GraphicUses:418Used by:420 427
Symbol 420 MovieClipUses:419Used by:428
Symbol 421 BitmapUsed by:422
Symbol 422 GraphicUses:421Used by:423 426
Symbol 423 MovieClipUses:422Used by:428
Symbol 424 GraphicUsed by:425
Symbol 425 MovieClipUses:424Used by:428
Symbol 426 ButtonUses:422Used by:428
Symbol 427 ButtonUses:419Used by:428
Symbol 428 MovieClipUses:417 420 423 425 426 427Used by:479 786  Timeline
Symbol 429 GraphicUsed by:430
Symbol 430 MovieClipUses:429Used by:479 993  Timeline
Symbol 431 GraphicUsed by:Timeline
Symbol 432 FontUsed by:433 434 435 436 437 440 441 442 443 447 448 449 450 451 452 458 459 460 461 463 464 465 466 468 469 470 471 473 474 475 476 478 668 686 687 701 706 714 715 717 720 723 727 729 732 734 739 741 744 746 751 756 761 764 767 770 804 812 813 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 856 858 860 863 864 865 866 869 870 871 879 884 887 888 889 890 891 904 923
Symbol 433 EditableTextUses:432Used by:Timeline
Symbol 434 EditableTextUses:432Used by:439
Symbol 435 EditableTextUses:432Used by:439
Symbol 436 EditableTextUses:432Used by:439
Symbol 437 EditableTextUses:432Used by:439
Symbol 438 GraphicUsed by:439 453 462 467 472 477 946  Timeline
Symbol 439 ButtonUses:434 435 436 437 438Used by:Timeline
Symbol 440 EditableTextUses:432Used by:445
Symbol 441 EditableTextUses:432Used by:445
Symbol 442 EditableTextUses:432Used by:445
Symbol 443 EditableTextUses:432Used by:445
Symbol 444 GraphicUsed by:445
Symbol 445 ButtonUses:440 441 442 443 444Used by:Timeline
Symbol 446 GraphicUsed by:Timeline
Symbol 447 EditableTextUses:432Used by:Timeline
Symbol 448 EditableTextUses:432Used by:Timeline
Symbol 449 EditableTextUses:432Used by:Timeline
Symbol 450 EditableTextUses:432Used by:Timeline
Symbol 451 EditableTextUses:432Used by:Timeline
Symbol 452 EditableTextUses:432Used by:Timeline
Symbol 453 MovieClipUses:438Used by:993  Timeline
Symbol 454 GraphicUsed by:455
Symbol 455 ButtonUses:454Used by:479
Symbol 456 MovieClipUsed by:479
Symbol 457 EditableTextUses:414Used by:479
Symbol 458 EditableTextUses:432Used by:462
Symbol 459 EditableTextUses:432Used by:462
Symbol 460 EditableTextUses:432Used by:462
Symbol 461 EditableTextUses:432Used by:462
Symbol 462 ButtonUses:458 459 460 461 438Used by:479
Symbol 463 EditableTextUses:432Used by:467
Symbol 464 EditableTextUses:432Used by:467
Symbol 465 EditableTextUses:432Used by:467
Symbol 466 EditableTextUses:432Used by:467
Symbol 467 ButtonUses:463 464 465 466 438Used by:479
Symbol 468 EditableTextUses:432Used by:472
Symbol 469 EditableTextUses:432Used by:472
Symbol 470 EditableTextUses:432Used by:472
Symbol 471 EditableTextUses:432Used by:472
Symbol 472 ButtonUses:468 469 470 471 438Used by:479
Symbol 473 EditableTextUses:432Used by:477
Symbol 474 EditableTextUses:432Used by:477
Symbol 475 EditableTextUses:432Used by:477
Symbol 476 EditableTextUses:432Used by:477
Symbol 477 ButtonUses:473 474 475 476 438Used by:479
Symbol 478 EditableTextUses:432Used by:479
Symbol 479 MovieClipUses:455 428 430 456 457 462 467 472 477 478Used by:Timeline
Symbol 480 GraphicUsed by:481
Symbol 481 ButtonUses:480Used by:482
Symbol 482 MovieClipUses:481Used by:Timeline
Symbol 483 GraphicUsed by:484
Symbol 484 MovieClipUses:483Used by:Timeline
Symbol 485 FontUsed by:486 493 495 497 499 501 503 903 905 906 922 924 925 958 959 960 961 964 965 970 971 973 975 977 979 981 982 983 984 986 991 992
Symbol 486 EditableTextUses:485Used by:Timeline
Symbol 487 GraphicUsed by:491 669 700 704 921 931
Symbol 488 GraphicUsed by:491 669 700 704 921 931
Symbol 489 GraphicUsed by:491 669 700 704 921 931
Symbol 490 GraphicUsed by:491 669 700 704 921 931
Symbol 491 ButtonUses:487 488 489 490Used by:Timeline
Symbol 492 GraphicUsed by:993  Timeline
Symbol 493 EditableTextUses:485Used by:Timeline
Symbol 494 GraphicUsed by:Timeline
Symbol 495 EditableTextUses:485Used by:Timeline
Symbol 496 GraphicUsed by:Timeline
Symbol 497 EditableTextUses:485Used by:Timeline
Symbol 498 GraphicUsed by:Timeline
Symbol 499 EditableTextUses:485Used by:Timeline
Symbol 500 GraphicUsed by:Timeline
Symbol 501 EditableTextUses:485Used by:Timeline
Symbol 502 GraphicUsed by:Timeline
Symbol 503 EditableTextUses:485Used by:Timeline
Symbol 504 BitmapUsed by:505
Symbol 505 GraphicUses:504Used by:Timeline
Symbol 506 GraphicUsed by:507
Symbol 507 MovieClipUses:506Used by:517 666
Symbol 508 SoundUsed by:517
Symbol 509 GraphicUsed by:517
Symbol 510 GraphicUsed by:517
Symbol 511 GraphicUsed by:517
Symbol 512 GraphicUsed by:517
Symbol 513 GraphicUsed by:517
Symbol 514 GraphicUsed by:515
Symbol 515 MovieClipUses:514Used by:517
Symbol 516 GraphicUsed by:517
Symbol 517 MovieClipUses:507 508 509 510 511 512 513 515 516Used by:667
Symbol 518 GraphicUsed by:532
Symbol 519 GraphicUsed by:526
Symbol 520 GraphicUsed by:526
Symbol 521 GraphicUsed by:526
Symbol 522 GraphicUsed by:526
Symbol 523 GraphicUsed by:526
Symbol 524 GraphicUsed by:526
Symbol 525 GraphicUsed by:526
Symbol 526 MovieClipUses:519 520 521 522 523 524 525Used by:532
Symbol 527 GraphicUsed by:532
Symbol 528 GraphicUsed by:532
Symbol 529 GraphicUsed by:532
Symbol 530 GraphicUsed by:532
Symbol 531 GraphicUsed by:532
Symbol 532 MovieClipUses:518 526 527 528 529 530 531Used by:533
Symbol 533 MovieClipUses:532Used by:667
Symbol 534 GraphicUsed by:538
Symbol 535 GraphicUsed by:538
Symbol 536 GraphicUsed by:538
Symbol 537 GraphicUsed by:538
Symbol 538 MovieClipUses:534 535 536 537Used by:539
Symbol 539 MovieClipUses:32 538Used by:667
Symbol 540 GraphicUsed by:541
Symbol 541 MovieClipUses:540Used by:543 772
Symbol 542 SoundUsed by:543
Symbol 543 MovieClipUses:541 542Used by:667
Symbol 544 GraphicUsed by:545
Symbol 545 MovieClipUses:544Used by:562
Symbol 546 GraphicUsed by:562
Symbol 547 GraphicUsed by:562
Symbol 548 GraphicUsed by:562
Symbol 549 GraphicUsed by:562
Symbol 550 GraphicUsed by:562
Symbol 551 GraphicUsed by:562
Symbol 552 GraphicUsed by:562
Symbol 553 GraphicUsed by:562
Symbol 554 GraphicUsed by:562
Symbol 555 GraphicUsed by:562
Symbol 556 GraphicUsed by:562
Symbol 557 GraphicUsed by:562
Symbol 558 GraphicUsed by:562
Symbol 559 GraphicUsed by:562
Symbol 560 GraphicUsed by:562
Symbol 561 GraphicUsed by:562
Symbol 562 MovieClipUses:545 546 547 30 548 549 550 551 552 553 554 555 556 557 558 559 560 561Used by:667
Symbol 563 GraphicUsed by:568
Symbol 564 GraphicUsed by:568
Symbol 565 GraphicUsed by:568 772
Symbol 566 GraphicUsed by:568
Symbol 567 GraphicUsed by:568
Symbol 568 MovieClipUses:400 563 29 564 565 566 567Used by:667
Symbol 569 GraphicUsed by:570
Symbol 570 MovieClipUses:569Used by:573
Symbol 571 GraphicUsed by:573
Symbol 572 GraphicUsed by:573
Symbol 573 MovieClipUses:570 571 572Used by:577
Symbol 574 GraphicUsed by:575
Symbol 575 MovieClipUses:574Used by:576
Symbol 576 MovieClipUses:575Used by:577
Symbol 577 MovieClipUses:573 576Used by:667
Symbol 578 GraphicUsed by:666
Symbol 579 GraphicUsed by:601
Symbol 580 GraphicUsed by:601
Symbol 581 GraphicUsed by:601
Symbol 582 GraphicUsed by:601
Symbol 583 GraphicUsed by:601
Symbol 584 GraphicUsed by:601
Symbol 585 GraphicUsed by:601
Symbol 586 GraphicUsed by:601
Symbol 587 GraphicUsed by:601
Symbol 588 GraphicUsed by:601
Symbol 589 GraphicUsed by:601
Symbol 590 GraphicUsed by:601
Symbol 591 GraphicUsed by:601
Symbol 592 GraphicUsed by:601
Symbol 593 GraphicUsed by:601
Symbol 594 GraphicUsed by:601
Symbol 595 GraphicUsed by:601
Symbol 596 GraphicUsed by:601
Symbol 597 GraphicUsed by:601
Symbol 598 GraphicUsed by:601
Symbol 599 GraphicUsed by:601
Symbol 600 GraphicUsed by:601
Symbol 601 MovieClipUses:32 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600Used by:666
Symbol 602 GraphicUsed by:666
Symbol 603 GraphicUsed by:666
Symbol 604 GraphicUsed by:666
Symbol 605 GraphicUsed by:666
Symbol 606 GraphicUsed by:666
Symbol 607 GraphicUsed by:666
Symbol 608 GraphicUsed by:666
Symbol 609 GraphicUsed by:666
Symbol 610 GraphicUsed by:666
Symbol 611 GraphicUsed by:666
Symbol 612 GraphicUsed by:666
Symbol 613 GraphicUsed by:666
Symbol 614 GraphicUsed by:666
Symbol 615 GraphicUsed by:666
Symbol 616 GraphicUsed by:666
Symbol 617 GraphicUsed by:666
Symbol 618 GraphicUsed by:666
Symbol 619 GraphicUsed by:666
Symbol 620 GraphicUsed by:666
Symbol 621 GraphicUsed by:666
Symbol 622 GraphicUsed by:666
Symbol 623 GraphicUsed by:666
Symbol 624 GraphicUsed by:666
Symbol 625 GraphicUsed by:666
Symbol 626 GraphicUsed by:666
Symbol 627 GraphicUsed by:666
Symbol 628 GraphicUsed by:666
Symbol 629 GraphicUsed by:666
Symbol 630 GraphicUsed by:666
Symbol 631 SoundUsed by:666
Symbol 632 GraphicUsed by:666
Symbol 633 SoundUsed by:666 993
Symbol 634 GraphicUsed by:666
Symbol 635 GraphicUsed by:666
Symbol 636 GraphicUsed by:666
Symbol 637 GraphicUsed by:666
Symbol 638 GraphicUsed by:666
Symbol 639 GraphicUsed by:666
Symbol 640 GraphicUsed by:642
Symbol 641 GraphicUsed by:642
Symbol 642 MovieClipUses:640 641Used by:666
Symbol 643 GraphicUsed by:666
Symbol 644 GraphicUsed by:666
Symbol 645 GraphicUsed by:666
Symbol 646 GraphicUsed by:666
Symbol 647 GraphicUsed by:651
Symbol 648 GraphicUsed by:651
Symbol 649 GraphicUsed by:651
Symbol 650 GraphicUsed by:651
Symbol 651 MovieClipUses:647 648 649 650Used by:666
Symbol 652 GraphicUsed by:659
Symbol 653 GraphicUsed by:659
Symbol 654 GraphicUsed by:659
Symbol 655 GraphicUsed by:659
Symbol 656 GraphicUsed by:659
Symbol 657 GraphicUsed by:659
Symbol 658 GraphicUsed by:659
Symbol 659 MovieClipUses:652 653 654 655 656 657 658Used by:666 953
Symbol 660 GraphicUsed by:666
Symbol 661 GraphicUsed by:666
Symbol 662 GraphicUsed by:666
Symbol 663 GraphicUsed by:666
Symbol 664 GraphicUsed by:666
Symbol 665 GraphicUsed by:666
Symbol 666 MovieClipUses:578 601 32 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 507 631 632 633 634 635 636 637 638 639 642 643 644 645 646 651 659 660 661 662 663 664 665Used by:667
Symbol 667 MovieClipUses:517 533 539 543 562 568 32 577 666Used by:Timeline
Symbol 668 EditableTextUses:432Used by:Timeline
Symbol 669 ButtonUses:487 488 489 490Used by:Timeline
Symbol 670 GraphicUsed by:Timeline
Symbol 671 FontUsed by:672 673 674
Symbol 672 EditableTextUses:671Used by:679
Symbol 673 EditableTextUses:671Used by:679
Symbol 674 EditableTextUses:671Used by:675
Symbol 675 MovieClipUses:674Used by:679
Symbol 676 GraphicUsed by:678
Symbol 677 MovieClipUses:31Used by:678
Symbol 678 MovieClipUses:676 677 32Used by:679
Symbol 679 MovieClipUses:672 673 675 678Used by:680
Symbol 680 MovieClipUses:679Used by:Timeline
Symbol 681 BitmapUsed by:682
Symbol 682 GraphicUses:681Used by:696
Symbol 683 GraphicUsed by:684
Symbol 684 MovieClipUses:683Used by:685
Symbol 685 MovieClipUses:684Used by:696
Symbol 686 EditableTextUses:432Used by:696
Symbol 687 EditableTextUses:432Used by:696
Symbol 688 GraphicUsed by:696
Symbol 689 GraphicUsed by:690
Symbol 690 MovieClipUses:689Used by:696
Symbol 691 GraphicUsed by:692
Symbol 692 MovieClipUses:691Used by:696
Symbol 693 GraphicUsed by:695
Symbol 694 GraphicUsed by:695
Symbol 695 MovieClipUses:693 694Used by:696
Symbol 696 MovieClipUses:682 685 335 686 687 688 690 692 695Used by:Timeline
Symbol 697 GraphicUsed by:698
Symbol 698 MovieClipUses:697Used by:772
Symbol 699 GraphicUsed by:772
Symbol 700 ButtonUses:487 488 489 490Used by:772
Symbol 701 EditableTextUses:432Used by:772
Symbol 702 EditableTextUses:414Used by:772
Symbol 703 GraphicUsed by:772
Symbol 704 ButtonUses:487 488 489 490Used by:772
Symbol 705 GraphicUsed by:772 878 993
Symbol 706 EditableTextUses:432Used by:772
Symbol 707 GraphicUsed by:772
Symbol 708 GraphicUsed by:709
Symbol 709 ButtonUses:708Used by:772
Symbol 710 GraphicUsed by:711 814
Symbol 711 ButtonUses:710Used by:772
Symbol 712 GraphicUsed by:713
Symbol 713 MovieClipUses:712Used by:772 849
Symbol 714 EditableTextUses:432Used by:772
Symbol 715 EditableTextUses:432Used by:772
Symbol 716 EditableTextUses:414Used by:772
Symbol 717 EditableTextUses:432Used by:772
Symbol 718 EditableTextUses:414Used by:772
Symbol 719 GraphicUsed by:772
Symbol 720 EditableTextUses:432Used by:772
Symbol 721 EditableTextUses:414Used by:772
Symbol 722 GraphicUsed by:772
Symbol 723 EditableTextUses:432Used by:772
Symbol 724 EditableTextUses:414Used by:772
Symbol 725 GraphicUsed by:772
Symbol 726 GraphicUsed by:772
Symbol 727 EditableTextUses:432Used by:772
Symbol 728 EditableTextUses:414Used by:772
Symbol 729 EditableTextUses:432Used by:772
Symbol 730 EditableTextUses:414Used by:772
Symbol 731 GraphicUsed by:772
Symbol 732 EditableTextUses:432Used by:772
Symbol 733 EditableTextUses:414Used by:772
Symbol 734 EditableTextUses:432Used by:772
Symbol 735 EditableTextUses:414Used by:772
Symbol 736 GraphicUsed by:772
Symbol 737 EditableTextUses:414Used by:772
Symbol 738 GraphicUsed by:772
Symbol 739 EditableTextUses:432Used by:772
Symbol 740 EditableTextUses:414Used by:772
Symbol 741 EditableTextUses:432Used by:772
Symbol 742 EditableTextUses:414Used by:772
Symbol 743 GraphicUsed by:772
Symbol 744 EditableTextUses:432Used by:772
Symbol 745 EditableTextUses:414Used by:772
Symbol 746 EditableTextUses:432Used by:772
Symbol 747 EditableTextUses:414Used by:772
Symbol 748 EditableTextUses:414Used by:772
Symbol 749 GraphicUsed by:772
Symbol 750 GraphicUsed by:772
Symbol 751 EditableTextUses:432Used by:772
Symbol 752 EditableTextUses:414Used by:772
Symbol 753 EditableTextUses:414Used by:772
Symbol 754 GraphicUsed by:772
Symbol 755 EditableTextUses:414Used by:772
Symbol 756 EditableTextUses:432Used by:772
Symbol 757 EditableTextUses:414Used by:772
Symbol 758 GraphicUsed by:772
Symbol 759 EditableTextUses:414Used by:772
Symbol 760 GraphicUsed by:772
Symbol 761 EditableTextUses:432Used by:772
Symbol 762 EditableTextUses:414Used by:772
Symbol 763 GraphicUsed by:772
Symbol 764 EditableTextUses:432Used by:772
Symbol 765 EditableTextUses:414Used by:772
Symbol 766 GraphicUsed by:772
Symbol 767 EditableTextUses:432Used by:772
Symbol 768 EditableTextUses:414Used by:772
Symbol 769 EditableTextUses:414Used by:772
Symbol 770 EditableTextUses:432Used by:772
Symbol 771 EditableTextUses:414Used by:772
Symbol 772 MovieClipUses:698 699 700 701 702 703 704 705 706 707 709 711 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 541 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 565 759 760 761 762 763 764 765 766 767 768 769 770 771Used by:Timeline
Symbol 773 MovieClipUses:417Used by:786 993
Symbol 774 GraphicUsed by:775
Symbol 775 ButtonUses:774Used by:776
Symbol 776 MovieClipUses:775Used by:786
Symbol 777 BitmapUsed by:778 794
Symbol 778 GraphicUses:777Used by:779
Symbol 779 MovieClipUses:778Used by:786 993
Symbol 780 BitmapUsed by:781
Symbol 781 GraphicUses:780Used by:782 786
Symbol 782 MovieClipUses:781Used by:786
Symbol 783 BitmapUsed by:784 797
Symbol 784 GraphicUses:783Used by:785 786
Symbol 785 MovieClipUses:784Used by:786 993
Symbol 786 MovieClipUses:428 773 776 779 781 782 784 785Used by:Timeline
Symbol 787 BitmapUsed by:788 790
Symbol 788 GraphicUses:787Used by:789 792
Symbol 789 MovieClipUses:788Used by:793
Symbol 790 GraphicUses:787Used by:791
Symbol 791 MovieClipUses:790Used by:793
Symbol 792 ButtonUses:788Used by:793
Symbol 793 MovieClipUses:789 791 792Used by:800
Symbol 794 GraphicUses:777Used by:795
Symbol 795 MovieClipUses:794Used by:800
Symbol 796 GraphicUsed by:800
Symbol 797 GraphicUses:783Used by:798
Symbol 798 MovieClipUses:797Used by:800
Symbol 799 GraphicUsed by:800
Symbol 800 MovieClipUses:793 795 796 798 799Used by:Timeline
Symbol 801 GraphicUsed by:Timeline
Symbol 802 BitmapUsed by:803
Symbol 803 GraphicUses:802Used by:811
Symbol 804 EditableTextUses:432Used by:811
Symbol 805 GraphicUsed by:806
Symbol 806 MovieClipUses:805Used by:811
Symbol 807 GraphicUsed by:811
Symbol 808 GraphicUsed by:810
Symbol 809 GraphicUsed by:810
Symbol 810 MovieClipUses:76 808 809Used by:811
Symbol 811 MovieClipUses:803 804 806 807 810Used by:Timeline
Symbol 812 EditableTextUses:432Used by:849
Symbol 813 EditableTextUses:432Used by:849
Symbol 814 MovieClipUses:710Used by:849
Symbol 815 EditableTextUses:432Used by:849
Symbol 816 EditableTextUses:432Used by:849
Symbol 817 EditableTextUses:432Used by:849
Symbol 818 EditableTextUses:432Used by:849
Symbol 819 EditableTextUses:432Used by:849
Symbol 820 EditableTextUses:432Used by:849
Symbol 821 EditableTextUses:432Used by:849
Symbol 822 EditableTextUses:432Used by:849
Symbol 823 EditableTextUses:432Used by:849
Symbol 824 EditableTextUses:432Used by:849
Symbol 825 EditableTextUses:432Used by:849
Symbol 826 EditableTextUses:432Used by:849
Symbol 827 EditableTextUses:432Used by:849
Symbol 828 EditableTextUses:432Used by:849
Symbol 829 EditableTextUses:432Used by:849
Symbol 830 EditableTextUses:432Used by:849
Symbol 831 EditableTextUses:432Used by:849
Symbol 832 EditableTextUses:432Used by:849
Symbol 833 EditableTextUses:432Used by:849
Symbol 834 EditableTextUses:432Used by:849
Symbol 835 EditableTextUses:432Used by:849
Symbol 836 EditableTextUses:432Used by:849
Symbol 837 EditableTextUses:432Used by:849
Symbol 838 EditableTextUses:432Used by:849
Symbol 839 EditableTextUses:432Used by:849
Symbol 840 EditableTextUses:432Used by:849
Symbol 841 EditableTextUses:432Used by:849
Symbol 842 EditableTextUses:432Used by:849
Symbol 843 EditableTextUses:432Used by:849
Symbol 844 EditableTextUses:432Used by:849
Symbol 845 EditableTextUses:432Used by:849
Symbol 846 EditableTextUses:432Used by:849
Symbol 847 EditableTextUses:432Used by:849
Symbol 848 EditableTextUses:432Used by:849
Symbol 849 MovieClipUses:812 813 814 713 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848Used by:850
Symbol 850 MovieClipUses:849Used by:Timeline
Symbol 851 GraphicUsed by:852
Symbol 852 ButtonUses:851Used by:993
Symbol 853 GraphicUsed by:993
Symbol 854 EditableTextUses:414Used by:993
Symbol 855 GraphicUsed by:862
Symbol 856 EditableTextUses:432Used by:862
Symbol 857 GraphicUsed by:862
Symbol 858 EditableTextUses:432Used by:862
Symbol 859 GraphicUsed by:862
Symbol 860 EditableTextUses:432Used by:862
Symbol 861 GraphicUsed by:862
Symbol 862 ButtonUses:855 856 857 858 859 860 861Used by:993
Symbol 863 EditableTextUses:432Used by:993
Symbol 864 EditableTextUses:432Used by:868
Symbol 865 EditableTextUses:432Used by:868
Symbol 866 EditableTextUses:432Used by:868
Symbol 867 GraphicUsed by:868
Symbol 868 ButtonUses:864 865 866 867Used by:993
Symbol 869 EditableTextUses:432Used by:873
Symbol 870 EditableTextUses:432Used by:873
Symbol 871 EditableTextUses:432Used by:873
Symbol 872 GraphicUsed by:873
Symbol 873 ButtonUses:869 870 871 872Used by:993
Symbol 874 EditableTextUses:414Used by:993
Symbol 875 GraphicUsed by:876
Symbol 876 ButtonUses:875Used by:877
Symbol 877 MovieClipUses:876Used by:878 883
Symbol 878 MovieClipUses:705 877Used by:993
Symbol 879 EditableTextUses:432Used by:993
Symbol 880 EditableTextUses:414Used by:993
Symbol 881 EditableTextUses:414Used by:993
Symbol 882 GraphicUsed by:883
Symbol 883 MovieClipUses:882 877Used by:993
Symbol 884 EditableTextUses:432Used by:993
Symbol 885 EditableTextUses:414Used by:993
Symbol 886 EditableTextUses:414Used by:993
Symbol 887 EditableTextUses:432Used by:993
Symbol 888 EditableTextUses:432Used by:993
Symbol 889 EditableTextUses:432Used by:993
Symbol 890 EditableTextUses:432Used by:993
Symbol 891 EditableTextUses:432Used by:993
Symbol 892 GraphicUsed by:993
Symbol 893 GraphicUsed by:993
Symbol 894 GraphicUsed by:993
Symbol 895 GraphicUsed by:897
Symbol 896 GraphicUsed by:897
Symbol 897 MovieClipUses:895 896Used by:993
Symbol 898 GraphicUsed by:899
Symbol 899 MovieClipUses:898Used by:902
Symbol 900 GraphicUsed by:901
Symbol 901 MovieClipUses:900Used by:902
Symbol 902 MovieClipUses:899 901Used by:993
Symbol 903 EditableTextUses:485Used by:993
Symbol 904 EditableTextUses:432Used by:993
Symbol 905 EditableTextUses:485Used by:993
Symbol 906 EditableTextUses:485Used by:993
Symbol 907 EditableTextUses:414Used by:993
Symbol 908 EditableTextUses:414Used by:993
Symbol 909 EditableTextUses:414Used by:993
Symbol 910 EditableTextUses:414Used by:993
Symbol 911 GraphicUsed by:912
Symbol 912 MovieClipUses:911Used by:919
Symbol 913 GraphicUsed by:914
Symbol 914 MovieClipUses:913Used by:919
Symbol 915 GraphicUsed by:916
Symbol 916 MovieClipUses:915Used by:919
Symbol 917 GraphicUsed by:918
Symbol 918 MovieClipUses:917Used by:919
Symbol 919 MovieClipUses:912 914 916 918Used by:993
Symbol 920 EditableTextUses:414Used by:993
Symbol 921 ButtonUses:487 488 489 490Used by:993
Symbol 922 EditableTextUses:485Used by:993
Symbol 923 EditableTextUses:432Used by:993
Symbol 924 EditableTextUses:485Used by:993
Symbol 925 EditableTextUses:485Used by:993
Symbol 926 EditableTextUses:414Used by:993
Symbol 927 EditableTextUses:414Used by:993
Symbol 928 EditableTextUses:414Used by:993
Symbol 929 EditableTextUses:414Used by:993
Symbol 930 EditableTextUses:414Used by:993
Symbol 931 ButtonUses:487 488 489 490Used by:993
Symbol 932 GraphicUsed by:993
Symbol 933 GraphicUsed by:993
Symbol 934 GraphicUsed by:993
Symbol 935 GraphicUsed by:993
Symbol 936 GraphicUsed by:939
Symbol 937 GraphicUsed by:939
Symbol 938 GraphicUsed by:939
Symbol 939 MovieClipUses:936 937 938Used by:993
Symbol 940 GraphicUsed by:943
Symbol 941 GraphicUsed by:943
Symbol 942 GraphicUsed by:943
Symbol 943 MovieClipUses:940 941 942Used by:993
Symbol 944 GraphicUsed by:945
Symbol 945 MovieClipUses:944Used by:993
Symbol 946 ButtonUses:438Used by:993
Symbol 947 GraphicUsed by:951
Symbol 948 GraphicUsed by:951
Symbol 949 GraphicUsed by:951
Symbol 950 GraphicUsed by:951
Symbol 951 MovieClipUses:947 948 949 950Used by:993
Symbol 952 GraphicUsed by:953
Symbol 953 MovieClipUses:659 952Used by:993
Symbol 954 GraphicUsed by:955
Symbol 955 MovieClipUses:954Used by:993
Symbol 956 GraphicUsed by:957
Symbol 957 MovieClipUses:956Used by:993
Symbol 958 EditableTextUses:485Used by:993
Symbol 959 EditableTextUses:485Used by:993
Symbol 960 EditableTextUses:485Used by:993
Symbol 961 EditableTextUses:485Used by:993
Symbol 962 GraphicUsed by:963
Symbol 963 MovieClipUses:962Used by:993
Symbol 964 EditableTextUses:485Used by:993
Symbol 965 EditableTextUses:485Used by:993
Symbol 966 GraphicUsed by:967
Symbol 967 MovieClipUses:966Used by:993
Symbol 968 GraphicUsed by:969
Symbol 969 MovieClipUses:968Used by:993
Symbol 970 EditableTextUses:485Used by:993
Symbol 971 EditableTextUses:485Used by:993
Symbol 972 GraphicUsed by:980 985
Symbol 973 EditableTextUses:485Used by:980
Symbol 974 GraphicUsed by:980 985
Symbol 975 EditableTextUses:485Used by:980
Symbol 976 GraphicUsed by:980 985
Symbol 977 EditableTextUses:485Used by:980
Symbol 978 GraphicUsed by:980 985
Symbol 979 EditableTextUses:485Used by:980
Symbol 980 ButtonUses:972 973 974 975 976 977 978 979Used by:993
Symbol 981 EditableTextUses:485Used by:985
Symbol 982 EditableTextUses:485Used by:985
Symbol 983 EditableTextUses:485Used by:985
Symbol 984 EditableTextUses:485Used by:985
Symbol 985 ButtonUses:972 981 974 982 976 983 978 984Used by:993
Symbol 986 EditableTextUses:485Used by:993
Symbol 987 GraphicUsed by:990
Symbol 988 FontUsed by:989
Symbol 989 EditableTextUses:988Used by:990
Symbol 990 MovieClipUses:987 989Used by:993
Symbol 991 EditableTextUses:485Used by:993
Symbol 992 EditableTextUses:485Used by:993
Symbol 993 MovieClipUses:773 852 853 705 854 862 863 868 873 874 878 879 880 881 883 884 885 886 887 888 889 890 891 892 453 893 430 894 897 902 903 904 905 906 907 908 909 910 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 939 943 945 946 951 953 633 779 955 957 492 958 959 960 961 785 963 964 965 967 969 970 971 980 985 986 990 991 992Used by:Timeline
Symbol 994 GraphicUsed by:Timeline
Symbol 995 GraphicUsed by:Timeline
Symbol 996 EditableTextUses:414Used by:Timeline
Symbol 997 EditableTextUses:414Used by:Timeline
Streaming Sound 1Used by:Timeline

Instance Names

"HSHubSubmitter"Frame 9Symbol 479 MovieClip
"disabler"Frame 9Symbol 482 MovieClip
"world"Frame 842Symbol 667 MovieClip
"battleManager"Frame 842Symbol 32 MovieClip
"altScreen"Frame 842Symbol 32 MovieClip
"levelDisp"Frame 842Symbol 680 MovieClip
"hud"Frame 842Symbol 696 MovieClip
"backGround"Frame 844Symbol 786 MovieClip
"world"Frame 844Symbol 667 MovieClip
"battleManager"Frame 844Symbol 32 MovieClip
"hud"Frame 844Symbol 696 MovieClip
"bossHud"Frame 844Symbol 811 MovieClip
"tipMarquee"Frame 844Symbol 850 MovieClip
"altScreen"Frame 844Symbol 993 MovieClip
"levelDisp"Frame 844Symbol 680 MovieClip
"code"Symbol 40 MovieClip [cookBox] Frame 1Symbol 32 MovieClip
"hitBox"Symbol 40 MovieClip [cookBox] Frame 1Symbol 32 MovieClip
"pillowHold"Symbol 58 MovieClip Frame 6Symbol 52 MovieClip
"code"Symbol 121 MovieClip [sqScout] Frame 1Symbol 32 MovieClip
"hitBox"Symbol 121 MovieClip [sqScout] Frame 1Symbol 32 MovieClip
"object"Symbol 121 MovieClip [sqScout] Frame 1Symbol 58 MovieClip
"bubble"Symbol 121 MovieClip [sqScout] Frame 12Symbol 106 MovieClip
"code"Symbol 159 MovieClip [sqf] Frame 1Symbol 32 MovieClip
"hitBox"Symbol 159 MovieClip [sqf] Frame 1Symbol 32 MovieClip
"object"Symbol 159 MovieClip [sqf] Frame 1Symbol 58 MovieClip
"bubble"Symbol 159 MovieClip [sqf] Frame 12Symbol 106 MovieClip
"code"Symbol 194 MovieClip [sqt] Frame 1Symbol 32 MovieClip
"hitBox"Symbol 194 MovieClip [sqt] Frame 1Symbol 32 MovieClip
"object"Symbol 194 MovieClip [sqt] Frame 1Symbol 58 MovieClip
"bubble"Symbol 194 MovieClip [sqt] Frame 12Symbol 106 MovieClip
"code"Symbol 229 MovieClip [sqMime] Frame 1Symbol 32 MovieClip
"hitBox"Symbol 229 MovieClip [sqMime] Frame 1Symbol 32 MovieClip
"object"Symbol 229 MovieClip [sqMime] Frame 1Symbol 58 MovieClip
"bubble"Symbol 229 MovieClip [sqMime] Frame 12Symbol 106 MovieClip
"code"Symbol 292 MovieClip [sqm] Frame 1Symbol 32 MovieClip
"hitBox"Symbol 292 MovieClip [sqm] Frame 1Symbol 32 MovieClip
"object"Symbol 292 MovieClip [sqm] Frame 1Symbol 58 MovieClip
"bubble"Symbol 292 MovieClip [sqm] Frame 12Symbol 106 MovieClip
"code"Symbol 300 MovieClip [flowerSack] Frame 1Symbol 32 MovieClip
"hitBox"Symbol 300 MovieClip [flowerSack] Frame 1Symbol 32 MovieClip
"code"Symbol 302 MovieClip [bluePresentBig] Frame 1Symbol 32 MovieClip
"hitBox"Symbol 302 MovieClip [bluePresentBig] Frame 1Symbol 32 MovieClip
"code"Symbol 305 MovieClip [bluePresentTall] Frame 1Symbol 32 MovieClip
"hitBox"Symbol 305 MovieClip [bluePresentTall] Frame 1Symbol 32 MovieClip
"code"Symbol 308 MovieClip [bluePresent] Frame 1Symbol 32 MovieClip
"hitBox"Symbol 308 MovieClip [bluePresent] Frame 1Symbol 32 MovieClip
"code"Symbol 309 MovieClip [cookies] Frame 1Symbol 32 MovieClip
"hitBox"Symbol 309 MovieClip [cookies] Frame 1Symbol 32 MovieClip
"code"Symbol 316 MovieClip [cake] Frame 1Symbol 32 MovieClip
"hitBox"Symbol 316 MovieClip [cake] Frame 1Symbol 32 MovieClip
"code"Symbol 329 MovieClip [jackBox] Frame 1Symbol 32 MovieClip
"hitBox"Symbol 329 MovieClip [jackBox] Frame 1Symbol 32 MovieClip
"code"Symbol 332 MovieClip [present] Frame 1Symbol 32 MovieClip
"hitBox"Symbol 332 MovieClip [present] Frame 1Symbol 32 MovieClip
"code"Symbol 372 MovieClip [sqClaus] Frame 1Symbol 32 MovieClip
"hitBox"Symbol 372 MovieClip [sqClaus] Frame 1Symbol 32 MovieClip
"object"Symbol 372 MovieClip [sqClaus] Frame 1Symbol 58 MovieClip
"bubble"Symbol 372 MovieClip [sqClaus] Frame 12Symbol 106 MovieClip
"code"Symbol 399 MovieClip [sql] Frame 1Symbol 32 MovieClip
"hitBox"Symbol 399 MovieClip [sql] Frame 1Symbol 32 MovieClip
"object"Symbol 399 MovieClip [sql] Frame 1Symbol 58 MovieClip
"bubble"Symbol 399 MovieClip [sql] Frame 12Symbol 106 MovieClip
"code"Symbol 410 MovieClip [iceCream] Frame 1Symbol 32 MovieClip
"hitBox"Symbol 410 MovieClip [iceCream] Frame 1Symbol 32 MovieClip
"code"Symbol 413 MovieClip [pillow] Frame 1Symbol 32 MovieClip
"hitBox"Symbol 413 MovieClip [pillow] Frame 1Symbol 32 MovieClip
"code"Symbol 533 MovieClip Frame 1Symbol 532 MovieClip
"hitMask"Symbol 573 MovieClip Frame 1Symbol 570 MovieClip
"line"Symbol 576 MovieClip Frame 1Symbol 575 MovieClip
"pointer"Symbol 577 MovieClip Frame 1Symbol 576 MovieClip
"code"Symbol 601 MovieClip Frame 1Symbol 32 MovieClip
"glompTarget"Symbol 666 MovieClip Frame 1Symbol 32 MovieClip
"attBox"Symbol 666 MovieClip Frame 1Symbol 32 MovieClip
"attBox"Symbol 666 MovieClip Frame 6Symbol 32 MovieClip
"attBox"Symbol 666 MovieClip Frame 14Symbol 32 MovieClip
"attBox"Symbol 666 MovieClip Frame 53Symbol 32 MovieClip
"attBox"Symbol 666 MovieClip Frame 55Symbol 32 MovieClip
"attBox"Symbol 666 MovieClip Frame 56Symbol 32 MovieClip
"attBox"Symbol 666 MovieClip Frame 57Symbol 32 MovieClip
"throwGuide"Symbol 666 MovieClip Frame 58Symbol 32 MovieClip
"attBox"Symbol 666 MovieClip Frame 58Symbol 32 MovieClip
"attBox"Symbol 666 MovieClip Frame 60Symbol 32 MovieClip
"attBox"Symbol 666 MovieClip Frame 87Symbol 32 MovieClip
"fireExplode"Symbol 667 MovieClip Frame 1Symbol 517 MovieClip
"squa"Symbol 667 MovieClip Frame 1Symbol 533 MovieClip
"upafire"Symbol 667 MovieClip Frame 1Symbol 539 MovieClip
"dashLine"Symbol 667 MovieClip Frame 1Symbol 543 MovieClip
"eyeBeam"Symbol 667 MovieClip Frame 1Symbol 562 MovieClip
"smiter"Symbol 667 MovieClip Frame 1Symbol 568 MovieClip
"jukebox"Symbol 667 MovieClip Frame 1Symbol 32 MovieClip
"specRing"Symbol 667 MovieClip Frame 1Symbol 577 MovieClip
"player"Symbol 667 MovieClip Frame 1Symbol 666 MovieClip
"sbar"Symbol 696 MovieClip Frame 1Symbol 690 MovieClip
"sbar"Symbol 811 MovieClip Frame 1Symbol 806 MovieClip
"bossPortrait"Symbol 811 MovieClip Frame 1Symbol 810 MovieClip
"tipNum"Symbol 850 MovieClip Frame 1Symbol 849 MovieClip
"tipNum"Symbol 850 MovieClip Frame 120Symbol 849 MovieClip
"knob"Symbol 878 MovieClip Frame 1Symbol 877 MovieClip
"knob"Symbol 883 MovieClip Frame 1Symbol 877 MovieClip
"cheater"Symbol 993 MovieClip Frame 1Symbol 854 EditableText
"resulto"Symbol 993 MovieClip Frame 1Symbol 863 EditableText
"qslider"Symbol 993 MovieClip Frame 1Symbol 878 MovieClip
"vslider"Symbol 993 MovieClip Frame 1Symbol 883 MovieClip
"oText"Symbol 993 MovieClip Frame 91Symbol 897 MovieClip
"sOver"Symbol 993 MovieClip Frame 91Symbol 902 MovieClip
"stack"Symbol 993 MovieClip Frame 120Symbol 919 MovieClip

Special Tags

Protect (24)Timeline Frame 131 bytes "..$1$Bz$Bm7T4KpXzn/Wt9ctxogrW1."
ExportAssets (56)Timeline Frame 1Symbol 1 as "yoohoo.wav"
ExportAssets (56)Timeline Frame 1Symbol 2 as "uncleSmacky.wav"
ExportAssets (56)Timeline Frame 1Symbol 3 as "throw.wav"
ExportAssets (56)Timeline Frame 1Symbol 4 as "thatsIt.wav"
ExportAssets (56)Timeline Frame 1Symbol 5 as "squadoken.wav"
ExportAssets (56)Timeline Frame 1Symbol 6 as "pillowHit.wav"
ExportAssets (56)Timeline Frame 1Symbol 7 as "smacky_spin.wav"
ExportAssets (56)Timeline Frame 1Symbol 8 as "smacky_loop.wav"
ExportAssets (56)Timeline Frame 1Symbol 9 as "santa.wav"
ExportAssets (56)Timeline Frame 1Symbol 10 as "regretNothing.wav"
ExportAssets (56)Timeline Frame 1Symbol 11 as "punch3.wav"
ExportAssets (56)Timeline Frame 1Symbol 12 as "punch2.wav"
ExportAssets (56)Timeline Frame 1Symbol 13 as "punch1.wav"
ExportAssets (56)Timeline Frame 1Symbol 14 as "ohNo.wav"
ExportAssets (56)Timeline Frame 1Symbol 15 as "ohBoy.wav"
ExportAssets (56)Timeline Frame 1Symbol 16 as "mmm.wav"
ExportAssets (56)Timeline Frame 1Symbol 17 as "kick.wav"
ExportAssets (56)Timeline Frame 1Symbol 18 as "jack_n_box.wav"
ExportAssets (56)Timeline Frame 1Symbol 19 as "huya.wav"
ExportAssets (56)Timeline Frame 1Symbol 20 as "ho_ho_ho.wav"
ExportAssets (56)Timeline Frame 1Symbol 21 as "heyNeighbor.wav"
ExportAssets (56)Timeline Frame 1Symbol 22 as "heyhey.wav"
ExportAssets (56)Timeline Frame 1Symbol 23 as "heyCutie.wav"
ExportAssets (56)Timeline Frame 1Symbol 24 as "hello.wav"
ExportAssets (56)Timeline Frame 1Symbol 25 as "gimmieHug.wav"
ExportAssets (56)Timeline Frame 1Symbol 26 as "frownUpsideDown.wav"
ExportAssets (56)Timeline Frame 1Symbol 27 as "demon_loop.wav"
ExportAssets (56)Timeline Frame 1Symbol 28 as "aaah.wav"
ExportAssets (56)Timeline Frame 1Symbol 29 as "dem_zap.wav"
ExportAssets (56)Timeline Frame 1Symbol 30 as "laser_eye.wav"
ExportAssets (56)Timeline Frame 1Symbol 40 as "cookBox"
ExportAssets (56)Timeline Frame 1Symbol 42 as "FX_squaBall"
ExportAssets (56)Timeline Frame 1Symbol 42 as "FX_squaBall"
ExportAssets (56)Timeline Frame 1Symbol 42 as "FX_squaBall"
ExportAssets (56)Timeline Frame 1Symbol 42 as "FX_squaBall"
ExportAssets (56)Timeline Frame 1Symbol 42 as "FX_squaBall"
ExportAssets (56)Timeline Frame 1Symbol 42 as "FX_squaBall"
ExportAssets (56)Timeline Frame 1Symbol 42 as "FX_squaBall"
ExportAssets (56)Timeline Frame 1Symbol 42 as "FX_squaBall"
ExportAssets (56)Timeline Frame 1Symbol 42 as "FX_squaBall"
ExportAssets (56)Timeline Frame 1Symbol 42 as "FX_squaBall"
ExportAssets (56)Timeline Frame 1Symbol 42 as "FX_squaBall"
ExportAssets (56)Timeline Frame 1Symbol 42 as "FX_squaBall"
ExportAssets (56)Timeline Frame 1Symbol 42 as "FX_squaBall"
ExportAssets (56)Timeline Frame 1Symbol 42 as "FX_squaBall"
ExportAssets (56)Timeline Frame 1Symbol 42 as "FX_squaBall"
ExportAssets (56)Timeline Frame 1Symbol 42 as "FX_squaBall"
ExportAssets (56)Timeline Frame 1Symbol 42 as "FX_squaBall"
ExportAssets (56)Timeline Frame 1Symbol 43 as "FX_fireTrail"
ExportAssets (56)Timeline Frame 1Symbol 42 as "FX_squaBall"
ExportAssets (56)Timeline Frame 1Symbol 121 as "sqScout"
ExportAssets (56)Timeline Frame 1Symbol 159 as "sqf"
ExportAssets (56)Timeline Frame 1Symbol 194 as "sqt"
ExportAssets (56)Timeline Frame 1Symbol 229 as "sqMime"
ExportAssets (56)Timeline Frame 1Symbol 292 as "sqm"
ExportAssets (56)Timeline Frame 1Symbol 300 as "flowerSack"
ExportAssets (56)Timeline Frame 1Symbol 302 as "bluePresentBig"
ExportAssets (56)Timeline Frame 1Symbol 305 as "bluePresentTall"
ExportAssets (56)Timeline Frame 1Symbol 308 as "bluePresent"
ExportAssets (56)Timeline Frame 1Symbol 309 as "cookies"
ExportAssets (56)Timeline Frame 1Symbol 316 as "cake"
ExportAssets (56)Timeline Frame 1Symbol 329 as "jackBox"
ExportAssets (56)Timeline Frame 1Symbol 332 as "present"
ExportAssets (56)Timeline Frame 1Symbol 337 as "rageRecover"
ExportAssets (56)Timeline Frame 1Symbol 340 as "cheerRecover"
ExportAssets (56)Timeline Frame 1Symbol 343 as "sanityRecover"
ExportAssets (56)Timeline Frame 1Symbol 372 as "sqClaus"
ExportAssets (56)Timeline Frame 1Symbol 399 as "sql"
ExportAssets (56)Timeline Frame 1Symbol 404 as "FX_splash"
ExportAssets (56)Timeline Frame 1Symbol 410 as "iceCream"
ExportAssets (56)Timeline Frame 1Symbol 413 as "pillow"
ExportAssets (56)Timeline Frame 842Symbol 30 as "laser_eye.wav"
ExportAssets (56)Timeline Frame 842Symbol 29 as "dem_zap.wav"
Tag 0x0FF (255)Timeline Frame 11 bytes "."

Labels

"stand"Symbol 40 MovieClip [cookBox] Frame 1
"wince"Symbol 40 MovieClip [cookBox] Frame 2
"dead"Symbol 40 MovieClip [cookBox] Frame 3
"present"Symbol 58 MovieClip Frame 1
"bluePresent"Symbol 58 MovieClip Frame 2
"cookies"Symbol 58 MovieClip Frame 3
"cake"Symbol 58 MovieClip Frame 4
"iceCream"Symbol 58 MovieClip Frame 5
"pillow"Symbol 58 MovieClip Frame 6
"cookBox"Symbol 58 MovieClip Frame 7
"jackBox"Symbol 58 MovieClip Frame 8
"bluePresentTall"Symbol 58 MovieClip Frame 9
"bluePresentBig"Symbol 58 MovieClip Frame 10
"stand"Symbol 121 MovieClip [sqScout] Frame 1
"low"Symbol 121 MovieClip [sqScout] Frame 2
"mid"Symbol 121 MovieClip [sqScout] Frame 3
"upper"Symbol 121 MovieClip [sqScout] Frame 4
"spinUpper"Symbol 121 MovieClip [sqScout] Frame 5
"run"Symbol 121 MovieClip [sqScout] Frame 6
"stun"Symbol 121 MovieClip [sqScout] Frame 7
"flyBack"Symbol 121 MovieClip [sqScout] Frame 8
"thrown"Symbol 121 MovieClip [sqScout] Frame 9
"jumpUp"Symbol 121 MovieClip [sqScout] Frame 10
"jumpDown"Symbol 121 MovieClip [sqScout] Frame 11
"annoy"Symbol 121 MovieClip [sqScout] Frame 12
"glomp"Symbol 121 MovieClip [sqScout] Frame 13
"scareStand"Symbol 121 MovieClip [sqScout] Frame 14
"scareRun"Symbol 121 MovieClip [sqScout] Frame 15
"scareJumpUp"Symbol 121 MovieClip [sqScout] Frame 16
"scareJumpDown"Symbol 121 MovieClip [sqScout] Frame 17
"stand"Symbol 159 MovieClip [sqf] Frame 1
"low"Symbol 159 MovieClip [sqf] Frame 2
"mid"Symbol 159 MovieClip [sqf] Frame 3
"upper"Symbol 159 MovieClip [sqf] Frame 4
"spinUpper"Symbol 159 MovieClip [sqf] Frame 5
"run"Symbol 159 MovieClip [sqf] Frame 6
"stun"Symbol 159 MovieClip [sqf] Frame 7
"flyBack"Symbol 159 MovieClip [sqf] Frame 8
"thrown"Symbol 159 MovieClip [sqf] Frame 9
"jumpUp"Symbol 159 MovieClip [sqf] Frame 10
"jumpDown"Symbol 159 MovieClip [sqf] Frame 11
"annoy"Symbol 159 MovieClip [sqf] Frame 12
"glomp"Symbol 159 MovieClip [sqf] Frame 13
"scareStand"Symbol 159 MovieClip [sqf] Frame 14
"scareRun"Symbol 159 MovieClip [sqf] Frame 15
"scareJumpUp"Symbol 159 MovieClip [sqf] Frame 16
"scareJumpDown"Symbol 159 MovieClip [sqf] Frame 17
"stand"Symbol 194 MovieClip [sqt] Frame 1
"low"Symbol 194 MovieClip [sqt] Frame 2
"mid"Symbol 194 MovieClip [sqt] Frame 3
"upper"Symbol 194 MovieClip [sqt] Frame 4
"spinUpper"Symbol 194 MovieClip [sqt] Frame 5
"run"Symbol 194 MovieClip [sqt] Frame 6
"stun"Symbol 194 MovieClip [sqt] Frame 7
"flyBack"Symbol 194 MovieClip [sqt] Frame 8
"thrown"Symbol 194 MovieClip [sqt] Frame 9
"jumpUp"Symbol 194 MovieClip [sqt] Frame 10
"jumpDown"Symbol 194 MovieClip [sqt] Frame 11
"annoy"Symbol 194 MovieClip [sqt] Frame 12
"glomp"Symbol 194 MovieClip [sqt] Frame 13
"scareStand"Symbol 194 MovieClip [sqt] Frame 14
"scareRun"Symbol 194 MovieClip [sqt] Frame 15
"scareJumpUp"Symbol 194 MovieClip [sqt] Frame 16
"scareJumpDown"Symbol 194 MovieClip [sqt] Frame 17
"stand"Symbol 229 MovieClip [sqMime] Frame 1
"low"Symbol 229 MovieClip [sqMime] Frame 2
"mid"Symbol 229 MovieClip [sqMime] Frame 3
"upper"Symbol 229 MovieClip [sqMime] Frame 4
"spinUpper"Symbol 229 MovieClip [sqMime] Frame 5
"run"Symbol 229 MovieClip [sqMime] Frame 6
"stun"Symbol 229 MovieClip [sqMime] Frame 7
"flyBack"Symbol 229 MovieClip [sqMime] Frame 8
"thrown"Symbol 229 MovieClip [sqMime] Frame 9
"jumpUp"Symbol 229 MovieClip [sqMime] Frame 10
"jumpDown"Symbol 229 MovieClip [sqMime] Frame 11
"annoy"Symbol 229 MovieClip [sqMime] Frame 12
"glomp"Symbol 229 MovieClip [sqMime] Frame 13
"scareStand"Symbol 229 MovieClip [sqMime] Frame 14
"scareRun"Symbol 229 MovieClip [sqMime] Frame 15
"scareJumpUp"Symbol 229 MovieClip [sqMime] Frame 16
"scareJumpDown"Symbol 229 MovieClip [sqMime] Frame 17
"stand"Symbol 292 MovieClip [sqm] Frame 1
"low"Symbol 292 MovieClip [sqm] Frame 2
"mid"Symbol 292 MovieClip [sqm] Frame 3
"upper"Symbol 292 MovieClip [sqm] Frame 4
"spinUpper"Symbol 292 MovieClip [sqm] Frame 5
"run"Symbol 292 MovieClip [sqm] Frame 6
"stun"Symbol 292 MovieClip [sqm] Frame 7
"flyBack"Symbol 292 MovieClip [sqm] Frame 8
"thrown"Symbol 292 MovieClip [sqm] Frame 9
"jumpUp"Symbol 292 MovieClip [sqm] Frame 10
"jumpDown"Symbol 292 MovieClip [sqm] Frame 11
"annoy"Symbol 292 MovieClip [sqm] Frame 12
"glomp"Symbol 292 MovieClip [sqm] Frame 13
"scareStand"Symbol 292 MovieClip [sqm] Frame 14
"scareRun"Symbol 292 MovieClip [sqm] Frame 15
"scareJumpUp"Symbol 292 MovieClip [sqm] Frame 16
"scareJumpDown"Symbol 292 MovieClip [sqm] Frame 17
"stand"Symbol 300 MovieClip [flowerSack] Frame 1
"wince"Symbol 300 MovieClip [flowerSack] Frame 2
"dead"Symbol 300 MovieClip [flowerSack] Frame 3
"stand"Symbol 302 MovieClip [bluePresentBig] Frame 1
"wince"Symbol 302 MovieClip [bluePresentBig] Frame 2
"dead"Symbol 302 MovieClip [bluePresentBig] Frame 3
"stand"Symbol 305 MovieClip [bluePresentTall] Frame 1
"wince"Symbol 305 MovieClip [bluePresentTall] Frame 2
"dead"Symbol 305 MovieClip [bluePresentTall] Frame 3
"stand"Symbol 308 MovieClip [bluePresent] Frame 1
"wince"Symbol 308 MovieClip [bluePresent] Frame 2
"dead"Symbol 308 MovieClip [bluePresent] Frame 3
"stand"Symbol 309 MovieClip [cookies] Frame 1
"wince"Symbol 309 MovieClip [cookies] Frame 2
"dead"Symbol 309 MovieClip [cookies] Frame 3
"stand"Symbol 316 MovieClip [cake] Frame 1
"wince"Symbol 316 MovieClip [cake] Frame 2
"dead"Symbol 316 MovieClip [cake] Frame 3
"stand"Symbol 329 MovieClip [jackBox] Frame 1
"wince"Symbol 329 MovieClip [jackBox] Frame 2
"dead"Symbol 329 MovieClip [jackBox] Frame 3
"pop"Symbol 329 MovieClip [jackBox] Frame 4
"stand"Symbol 332 MovieClip [present] Frame 1
"wince"Symbol 332 MovieClip [present] Frame 2
"dead"Symbol 332 MovieClip [present] Frame 3
"stand"Symbol 372 MovieClip [sqClaus] Frame 1
"low"Symbol 372 MovieClip [sqClaus] Frame 2
"mid"Symbol 372 MovieClip [sqClaus] Frame 3
"upper"Symbol 372 MovieClip [sqClaus] Frame 4
"spinUpper"Symbol 372 MovieClip [sqClaus] Frame 5
"run"Symbol 372 MovieClip [sqClaus] Frame 6
"stun"Symbol 372 MovieClip [sqClaus] Frame 7
"flyBack"Symbol 372 MovieClip [sqClaus] Frame 8
"thrown"Symbol 372 MovieClip [sqClaus] Frame 9
"jumpUp"Symbol 372 MovieClip [sqClaus] Frame 10
"jumpDown"Symbol 372 MovieClip [sqClaus] Frame 11
"annoy"Symbol 372 MovieClip [sqClaus] Frame 12
"glomp"Symbol 372 MovieClip [sqClaus] Frame 13
"scareStand"Symbol 372 MovieClip [sqClaus] Frame 14
"scareRun"Symbol 372 MovieClip [sqClaus] Frame 15
"scareJumpUp"Symbol 372 MovieClip [sqClaus] Frame 16
"scareJumpDown"Symbol 372 MovieClip [sqClaus] Frame 17
"stand"Symbol 399 MovieClip [sql] Frame 1
"low"Symbol 399 MovieClip [sql] Frame 2
"mid"Symbol 399 MovieClip [sql] Frame 3
"upper"Symbol 399 MovieClip [sql] Frame 4
"spinUpper"Symbol 399 MovieClip [sql] Frame 5
"run"Symbol 399 MovieClip [sql] Frame 6
"stun"Symbol 399 MovieClip [sql] Frame 7
"flyBack"Symbol 399 MovieClip [sql] Frame 8
"thrown"Symbol 399 MovieClip [sql] Frame 9
"jumpUp"Symbol 399 MovieClip [sql] Frame 10
"jumpDown"Symbol 399 MovieClip [sql] Frame 11
"annoy"Symbol 399 MovieClip [sql] Frame 12
"glomp"Symbol 399 MovieClip [sql] Frame 13
"scareStand"Symbol 399 MovieClip [sql] Frame 14
"scareRun"Symbol 399 MovieClip [sql] Frame 15
"scareJumpUp"Symbol 399 MovieClip [sql] Frame 16
"scareJumpDown"Symbol 399 MovieClip [sql] Frame 17
"stand"Symbol 410 MovieClip [iceCream] Frame 1
"wince"Symbol 410 MovieClip [iceCream] Frame 2
"dead"Symbol 410 MovieClip [iceCream] Frame 3
"stand"Symbol 413 MovieClip [pillow] Frame 1
"wince"Symbol 413 MovieClip [pillow] Frame 2
"dead"Symbol 413 MovieClip [pillow] Frame 3
"stand"Symbol 666 MovieClip Frame 1
"stand2"Symbol 666 MovieClip Frame 2
"stand3"Symbol 666 MovieClip Frame 3
"twitch"Symbol 666 MovieClip Frame 4
"blink"Symbol 666 MovieClip Frame 5
"punchLeft"Symbol 666 MovieClip Frame 6
"punchRight"Symbol 666 MovieClip Frame 8
"kickFront"Symbol 666 MovieClip Frame 10
"punchUp"Symbol 666 MovieClip Frame 12
"skid"Symbol 666 MovieClip Frame 22
"jumpUp"Symbol 666 MovieClip Frame 27
"jumpDown"Symbol 666 MovieClip Frame 28
"grit"Symbol 666 MovieClip Frame 32
"squadoken"Symbol 666 MovieClip Frame 34
"jumpKick"Symbol 666 MovieClip Frame 53
"upawcut"Symbol 666 MovieClip Frame 54
"acorndrop"Symbol 666 MovieClip Frame 58
"Cute_Buster"Symbol 666 MovieClip Frame 87
"hover"Symbol 666 MovieClip Frame 88
"hoverFly"Symbol 666 MovieClip Frame 89
"hoverSkid"Symbol 666 MovieClip Frame 90
"laserEye"Symbol 666 MovieClip Frame 91
"dead"Symbol 666 MovieClip Frame 92
"pause"Symbol 993 MovieClip Frame 1
"final"Symbol 993 MovieClip Frame 23
"over"Symbol 993 MovieClip Frame 67
"overDirect"Symbol 993 MovieClip Frame 91
"demon"Symbol 993 MovieClip Frame 125
"flash"Symbol 993 MovieClip Frame 416
"levelInOut"Symbol 993 MovieClip Frame 426
"scoutCut"Symbol 993 MovieClip Frame 449
"santaCut"Symbol 993 MovieClip Frame 813
"endStart"Symbol 993 MovieClip Frame 1063
"ending"Symbol 993 MovieClip Frame 1234
"loopage"Symbol 993 MovieClip Frame 1455

Dynamic Text Variables

_root.swHighScoreObject.player1ScoreSymbol 457 EditableText""
_parent._parent.battleManager.levelStringSymbol 672 EditableText"Level  1"
_parent._parent.battleManager.levelStringSymbol 673 EditableText"Level  1"
_parent._parent.battleManager.levelStringSymbol 674 EditableText"Level  1"
_parent.battleManager.levelSymbol 686 EditableText"10"
_parent.battleManager.scoreSymbol 687 EditableText"000000"
_parent.battleManager.bossNameSymbol 804 EditableText"Squirrel Scout"
chtSymbol 854 EditableText""
resSymbol 863 EditableText""
_parent.battleManager.scoreSymbol 887 EditableText"0000000000"
_parent.battleManager.levelSymbol 888 EditableText"000"
_parent.battleManager.scoreSymbol 903 EditableText"0000000000000"
killsSymbol 904 EditableText""
pickedLevelSymbol 905 EditableText"slide_on_in"
pickedCheatSymbol 906 EditableText"gallan_n_milo"
_parent.battleManager.scoreSymbol 922 EditableText"0000000000000"
killsSymbol 923 EditableText""
pickedLevelSymbol 924 EditableText"slide_on_in"
pickedCheatSymbol 925 EditableText"gallan_n_milo"




http://swfchan.com/1/1916/info.shtml
Created: 17/6 -2019 18:37:23 Last modified: 17/6 -2019 18:37:23 Server time: 05/02 -2023 09:16:20