Frame 1
Stage.scaleMode = "noScale";
Stage.showMenu = false;
Stage.align = "TL";
Frame 3
if (_framesloaded < _totalframes) {
gotoAndPlay (2);
}
Frame 4
function distanceToSaber(LP1, ROT, DP) {
if (ROT > 360) {
while (ROT > 360) {
ROT = ROT - 360;
}
}
if (ROT < 0) {
while (ROT < 0) {
ROT = ROT + 360;
}
}
ROT = ROT + 90;
RADROT = (Math.PI/180) * ROT;
LSlope = Math.tan(RADROT);
LB = LP1.y - ((LSlope * 1) * LP1.x);
DSlope = -1 / LSlope;
DB = DP.y - ((DSlope * 1) * DP.x);
RP = {x:0, y:0};
RP.x = ((LB - DB) * -1) / (LSlope - DSlope);
RP.y = (DSlope * RP.x) + DB;
RRise = RP.y - DP.y;
RRun = RP.x - DP.x;
point_c._x = RP.x;
point_c._y = RP.y;
if (user_saber.hit_area.hitTest(RP.x, RP.y, true)) {
myResult = Math.sqrt((RRise * RRise) + (RRun * Rrun));
return(myResult);
}
return(-1);
}
function twoPointsToDistance(point1, point2) {
var xDiff = (point1.x - point2.x);
var yDiff = (point1.y - point2.y);
distance = Math.sqrt(Math.pow(xDiff, 2) + Math.pow(yDiff, 2));
return(distance);
}
function saberNoiseInterval() {
slashPoint.x = _xmouse;
slashPoint.y = _ymouse;
mostRecentDiff = twoPointsToDistance(slashPoint, lastPoint);
if (mostRecentDiff > 80) {
temp = Math.random();
if (temp > 0.5) {
saberSoundObject.attachSound("spin1");
} else {
saberSoundObject.attachSound("spin2");
}
saberSoundObject.start();
}
lastPoint.x = slashPoint.x;
lastPoint.y = slashPoint.y;
}
function crateMiss() {
soundObject.attachSound("hitplayer");
soundObject.start();
myHealth = myHealth - 5;
scoreboard.text = myHealth;
if (myHealth <= 0) {
clearInterval(myInterval);
jedi.gotoAndPlay("you lose");
gotoAndPlay (29);
}
}
function crateHit() {
soundObject.attachSound("hitsaber");
soundObject.start();
myBlocks++;
if (myBlocks >= blocksNeeded) {
myBlocks = 0;
myProgress++;
if (myProgress == 1) {
blocksNeeded = 4;
myProjectileDelay = 2500;
myIntensity = 0;
jedi.gotoAndPlay("stand2");
}
if (myProgress == 2) {
blocksNeeded = 6;
myProjectileDelay = 2500;
myIntensity = 0;
jedi.gotoAndPlay("stand3");
}
if (myProgress == 3) {
blocksNeeded = 8;
myProjectileDelay = 2250;
myIntensity = 0;
jedi.gotoAndPlay("stand4");
}
if (myProgress == 4) {
blocksNeeded = 10;
myProjectileDelay = 2250;
myIntensity = 2;
jedi.gotoAndPlay("lifted");
}
if (myProgress == 5) {
blocksNeeded = 10;
myProjectileDelay = 2100;
myIntensity = 4;
jedi.gotoAndPlay("no hood");
}
if (myProgress == 6) {
blocksNeeded = 10;
myProjectileDelay = 2000;
myIntensity = 4;
jedi.gotoAndPlay("chain broken");
}
if (myProgress == 7) {
blocksNeeded = 8;
myProjectileDelay = 1900;
myIntensity = 4;
jedi.gotoAndPlay("boobs out");
}
if (myProgress == 8) {
blocksNeeded = 8;
myProjectileDelay = 1900;
myIntensity = 6;
jedi.gotoAndPlay("no panties");
}
if (myProgress == 9) {
blocksNeeded = 8;
myProjectileDelay = 2100;
myIntensity = 4;
jedi.gotoAndPlay("nudge nudge");
}
if (myProgress == 10) {
blocksNeeded = 8;
myProjectileDelay = 2250;
myIntensity = 0;
jedi.gotoAndPlay("penetrate 1");
}
if (myProgress == 11) {
blocksNeeded = 8;
myProjectileDelay = 2500;
myIntensity = 0;
jedi.gotoAndPlay("penetrate 2");
}
if (myProgress == 12) {
blocksNeeded = 8;
myProjectileDelay = 2500;
myIntensity = 0;
jedi.gotoAndPlay("penetrate 3");
}
if (myProgress == 13) {
clearInterval(myInterval);
jedi.gotoAndPlay("you win");
gotoAndPlay (29);
}
}
}
Frame 5
function startGame() {
myHealth = 100;
blocksNeeded = 4;
myBlocks = 0;
myProgress = 0;
soundObject = new Sound(this);
soundObject.setVolume(50);
galSoundObject = new Sound(this);
saberSoundObject = new Sound(this);
saberSoundObject.setVolume(25);
Mouse.hide();
myInterval = setInterval(gameUpdate, 20);
myIntensity = 0;
myProjectileDelay = 2500;
myTimer = getTimer();
temp = getTimer() + 1000;
myProjectileList[0] = {xspeed:0, yspeed:0, myX:0, myY:0, nextTimer:temp, myRotationSpeed:0, myDistance:0, amIActive:false, myMC:crate_0};
temp = temp + myProjectileDelay;
myProjectileList[1] = {xspeed:0, yspeed:0, myX:0, myY:0, nextTimer:temp, myRotationSpeed:0, myDistance:0, amIActive:false, myMC:crate_1};
temp = temp + myProjectileDelay;
myProjectileList[2] = {xspeed:0, yspeed:0, myX:0, myY:0, nextTimer:temp, myRotationSpeed:0, myDistance:0, amIActive:false, myMC:crate_2};
temp = temp + myProjectileDelay;
myProjectileList[3] = {xspeed:0, yspeed:0, myX:0, myY:0, nextTimer:temp, myRotationSpeed:0, myDistance:0, amIActive:false, myMC:crate_3};
biggestProjectileDelay = temp;
lastPoint = {x:_xmouse, y:_ymouse};
slashPoint = {x:_xmouse, y:_ymouse};
jedi.gotoAndPlay("starting");
}
function gameUpdate() {
updateSaber();
updateProjectiles();
saberNoiseInterval();
}
function report() {
report0 = myProjectileList[0].nextTimer;
report1 = myProjectileList[1].nextTimer;
report2 = myProjectileList[2].nextTimer;
report3 = myProjectileList[3].nextTimer;
}
function updateSaber() {
var temp_x = _xmouse;
user_saber._x = temp_x;
user_saber._y = _ymouse;
var perc = (temp_x / 800);
perc = ((perc * 180) * -1) + 90;
user_saber._rotation = perc;
}
function updateProjectiles() {
i = 0;
while (i < 4) {
myObj = myProjectileList[i];
if (myObj.amIActive == true) {
thisMC = myObj.myMC;
myObj.myX = myObj.myX + myObj.xspeed;
myObj.myY = myObj.myY + myObj.yspeed;
myObj.myDistance = myObj.myDistance - 2;
if (myObj.myDistance < 0) {
saber = {x:user_saber._x, y:user_saber._y};
projectilePoint = {x:thisMC._x, y:thisMC._y};
distanceTest = distanceToSaber(saber, user_saber._rotation, projectilePoint);
if ((distanceTest < 40) && (distanceTest > 0)) {
crateHit();
} else {
crateMiss();
}
myObj.myX = -100;
myObj.myY = -100;
myObj.amIActive = false;
myProjectileDelay = myProjectileDelay - 100;
biggestProjectileDelay = biggestProjectileDelay + myProjectileDelay;
myObj.nextTimer = biggestProjectileDelay;
myObj.myMC.gotoAndPlay("hide");
}
myPerc = (100 - myObj.myDistance) / 100;
thisMC._xscale = 30 + (100 * myPerc);
thisMC._yscale = 30 + (100 * myPerc);
thisMC._x = myObj.myX;
thisMC._y = myObj.myY;
thisMC._rotation = thisMC._rotation + myObj.myRotationSpeed;
myProjectileList[i] = myObj;
} else if (myObj.nextTimer < getTimer()) {
spawnProjectile(i);
}
i++;
}
}
function spawnProjectile(myNum) {
myObj = myProjectileList[myNum];
myString = "label_" + (Math.round(Math.random() * 9) + 1);
myObj.amIActive = true;
myObj.myX = (Math.random() * 700) + 50;
myObj.myY = (Math.random() * 500) + 50;
xFloaty = (myObj.myX - 350) / 350;
yFloaty = (myObj.myY - 250) / 250;
xFloaty = xFloaty * -1;
yFloaty = yFloaty * -1;
if (myIntensity > 0) {
myObj.xspeed = (Math.random() * myIntensity) * xFloaty;
myObj.yspeed = (Math.random() * myIntensity) * yFloaty;
}
myObj.myRotation = Math.random() * 360;
myObj.myDistance = 100;
myObj.myRotationSpeed = (Math.random() * 10) + 10;
myObj.myMC.gotoAndPlay(myString);
myProjectileList[myNum] = myObj;
}
myInterval = 0;
myIntensity = 0;
myTimer = 0;
myProjectileList = new Array();
myProjectileDelay = 0;
biggestProjectileDelay = 0;
soundObject = new Sound(this);
soundObject.setVolume(50);
galSoundObject = new Sound(this);
saberSoundObject = new Sound(this);
saberSoundObject.setVolume(25);
Frame 8
Frame 10
stop();
Frame 20
function crawlOver() {
play();
}
stop();
Frame 28
startGame();
stop();
Frame 30
Mouse.show();
stop();
Frame 36
stop();
Frame 42
stop();
Symbol 19 MovieClip Frame 2
stop();
Symbol 26 Button
on (release) {
gotoAndPlay (11);
}
Symbol 29 Button
on (release) {
gotoAndPlay (21);
}
Symbol 39 Button
on (release) {
gotoAndPlay (503);
}
Symbol 42 MovieClip Frame 11
stop();
Symbol 42 MovieClip Frame 19
stop();
Symbol 51 MovieClip Frame 2
stop();
Symbol 51 MovieClip Frame 11
stop();
Symbol 51 MovieClip Frame 20
stop();
Symbol 51 MovieClip Frame 22
stop();
Symbol 51 MovieClip Frame 31
stop();
Symbol 51 MovieClip Frame 40
stop();
Symbol 51 MovieClip Frame 48
stop();
Symbol 51 MovieClip Frame 57
stop();
Symbol 51 MovieClip Frame 65
stop();
Symbol 51 MovieClip Frame 74
gotoAndPlay (21);
Symbol 51 MovieClip Frame 83
stop();
Symbol 60 MovieClip Frame 2
stop();
Symbol 60 MovieClip Frame 8
stop();
Symbol 60 MovieClip Frame 14
stop();
Symbol 60 MovieClip Frame 20
stop();
Symbol 60 MovieClip Frame 26
stop();
Symbol 60 MovieClip Frame 32
stop();
Symbol 60 MovieClip Frame 38
stop();
Symbol 63 Button
on (release) {
gotoAndPlay (514);
}
Symbol 65 Button
on (release) {
gotoAndPlay (522);
}
Symbol 67 Button
on (release) {
gotoAndPlay (530);
}
Symbol 69 Button
on (release) {
gotoAndPlay (538);
}
Symbol 71 Button
on (release) {
gotoAndPlay (546);
}
Symbol 73 Button
on (release) {
gotoAndPlay (555);
}
Symbol 75 Button
on (release) {
gotoAndPlay (563);
}
Symbol 77 Button
on (release) {
gotoAndPlay (565);
}
Symbol 79 Button
on (release) {
_parent.crawlOver();
}
Symbol 80 MovieClip Frame 502
stop();
Symbol 80 MovieClip Frame 506
delin.gotoAndPlay("fadein");
Symbol 80 MovieClip Frame 512
window.gotoAndPlay("delin_in");
Symbol 80 MovieClip Frame 513
stop();
Symbol 80 MovieClip Frame 514
delin.gotoAndPlay("fadeout");
viper.gotoAndPlay("fadein1");
Symbol 80 MovieClip Frame 520
window.gotoAndPlay("viper_in");
Symbol 80 MovieClip Frame 521
stop();
Symbol 80 MovieClip Frame 522
viper.gotoAndPlay("fadein2");
Symbol 80 MovieClip Frame 528
window.gotoAndPlay("val_in");
Symbol 80 MovieClip Frame 529
stop();
Symbol 80 MovieClip Frame 530
delin.gotoAndPlay("fadein");
viper.gotoAndPlay("fadeout1");
Symbol 80 MovieClip Frame 536
window.gotoAndPlay("delin_in");
Symbol 80 MovieClip Frame 537
stop();
Symbol 80 MovieClip Frame 538
delin.gotoAndPlay("fadeout");
viper.gotoAndPlay("fadein4");
Symbol 80 MovieClip Frame 544
window.gotoAndPlay("val_in");
Symbol 80 MovieClip Frame 545
stop();
Symbol 80 MovieClip Frame 546
delin.gotoAndPlay("fadein");
viper.gotoAndPlay("fadeout3");
Symbol 80 MovieClip Frame 553
window.gotoAndPlay("delin_in");
Symbol 80 MovieClip Frame 554
stop();
Symbol 80 MovieClip Frame 555
delin.gotoAndPlay("fadeout");
viper.gotoAndPlay("fadein1");
Symbol 80 MovieClip Frame 561
window.gotoAndPlay("viper_in");
Symbol 80 MovieClip Frame 562
stop();
Symbol 80 MovieClip Frame 564
stop();
Symbol 80 MovieClip Frame 565
delin.gotoAndPlay("fadein");
viper.gotoAndPlay("fadeout6");
Symbol 80 MovieClip Frame 571
window.gotoAndPlay("delin_in");
Symbol 80 MovieClip Frame 572
stop();
Symbol 90 MovieClip Frame 2
stop();
Symbol 90 MovieClip Frame 3
_root.crate_0.go = 0;
Symbol 90 MovieClip Frame 44
_parent.face.gotoAndPlay("e");
stop();
_root.crate_0.go = 1;
Symbol 101 MovieClip Frame 5
stop();
Symbol 101 MovieClip Frame 10
stop();
Symbol 101 MovieClip Frame 15
stop();
Symbol 101 MovieClip Frame 20
stop();
Symbol 101 MovieClip Frame 25
stop();
Symbol 101 MovieClip Frame 30
stop();
Symbol 107 MovieClip Frame 4
gotoAndPlay (1);
Symbol 107 MovieClip Frame 11
stop();
Symbol 108 MovieClip Frame 49
gotoAndPlay (46);
_root.dialog.gotoAndPlay("start");
Symbol 108 MovieClip Frame 50
jedi.face.gotoAndPlay("b");
Symbol 108 MovieClip Frame 53
stop();
Symbol 108 MovieClip Frame 54
jedi.face.gotoAndPlay("c");
saber.gotoAndPlay("saberOff");
Symbol 108 MovieClip Frame 57
stop();
Symbol 108 MovieClip Frame 58
jedi.face.gotoAndPlay("d");
jedi.boob.gotoAndPlay("b");
Symbol 108 MovieClip Frame 61
stop();
Symbol 108 MovieClip Frame 62
jedi.face.gotoAndPlay("e");
Symbol 108 MovieClip Frame 65
stop();
Symbol 108 MovieClip Frame 66
jedi.face.gotoAndPlay("f");
Symbol 108 MovieClip Frame 69
stop();
Symbol 108 MovieClip Frame 73
stop();
Symbol 108 MovieClip Frame 77
stop();
Symbol 108 MovieClip Frame 81
stop();
Symbol 108 MovieClip Frame 85
stop();
Symbol 108 MovieClip Frame 89
stop();
Symbol 117 MovieClip Frame 4
stop();
Symbol 117 MovieClip Frame 9
stop();
Symbol 117 MovieClip Frame 14
stop();
Symbol 117 MovieClip Frame 19
stop();
Symbol 117 MovieClip Frame 25
stop();
Symbol 123 MovieClip Frame 4
stop();
Symbol 123 MovieClip Frame 9
stop();
Symbol 123 MovieClip Frame 15
stop();
_parent.eyes.gotoAndPlay("h");
Symbol 123 MovieClip Frame 19
stop();
Symbol 123 MovieClip Frame 24
stop();
Symbol 127 MovieClip Frame 4
stop();
Symbol 127 MovieClip Frame 9
stop();
Symbol 127 MovieClip Frame 14
stop();
Symbol 127 MovieClip Frame 19
stop();
Symbol 127 MovieClip Frame 24
stop();
Symbol 136 MovieClip Frame 4
stop();
Symbol 136 MovieClip Frame 9
stop();
Symbol 136 MovieClip Frame 14
stop();
Symbol 136 MovieClip Frame 19
stop();
Symbol 136 MovieClip Frame 24
stop();
Symbol 136 MovieClip Frame 29
stop();
Symbol 136 MovieClip Frame 34
stop();
Symbol 136 MovieClip Frame 39
stop();
Symbol 136 MovieClip Frame 44
stop();
Symbol 145 MovieClip Frame 4
stop();
Symbol 145 MovieClip Frame 9
stop();
Symbol 145 MovieClip Frame 14
stop();
Symbol 145 MovieClip Frame 19
stop();
Symbol 145 MovieClip Frame 24
stop();
Symbol 145 MovieClip Frame 29
stop();
Symbol 145 MovieClip Frame 34
stop();
Symbol 145 MovieClip Frame 39
stop();
Symbol 145 MovieClip Frame 44
stop();
Symbol 149 MovieClip Frame 4
stop();
Symbol 149 MovieClip Frame 9
stop();
Symbol 149 MovieClip Frame 14
stop();
Symbol 149 MovieClip Frame 19
stop();
Symbol 154 MovieClip Frame 5
stop();
Symbol 154 MovieClip Frame 10
stop();
Symbol 154 MovieClip Frame 15
stop();
Symbol 157 MovieClip Frame 30
gotoAndPlay (1);
Symbol 159 MovieClip Frame 30
gotoAndPlay (1);
Symbol 165 MovieClip Frame 19
gotoAndPlay (11);
Symbol 184 MovieClip Frame 2
function startLightning() {
myLightningInterval = setInterval(lightningInterval, 33);
spawnSpark();
gotoAndStop(startFrame);
}
function spawnSpark() {
framesToShock = 15 + Math.round(Math.random() * 25);
startFrame = Math.round(Math.random() * 10) + 10;
}
function lightningInterval() {
if (framesToShock > 0) {
framesToShock--;
if (framesToShock == 0) {
lightningDelay = (getTimer() + (Math.random() * 700)) + 300;
gotoAndStop (21);
} else {
temp = _currentframe + 1;
if (temp > 20) {
temp = 10;
}
gotoAndStop(temp);
}
} else if (lightningDelay < getTimer()) {
spawnSpark();
gotoAndStop(startFrame);
}
}
stop();
Symbol 184 MovieClip Frame 8
startLightning();
Symbol 185 MovieClip Frame 10
stop();
Symbol 185 MovieClip Frame 11
standingJedi.gotoAndPlay("b");
Symbol 185 MovieClip Frame 14
stop();
Symbol 185 MovieClip Frame 15
standingJedi.gotoAndPlay("c");
Symbol 185 MovieClip Frame 18
stop();
Symbol 185 MovieClip Frame 19
standingJedi.gotoAndPlay("d");
Symbol 185 MovieClip Frame 22
stop();
Symbol 185 MovieClip Frame 23
standingJedi.gotoAndPlay("e");
Symbol 185 MovieClip Frame 26
stop();
Symbol 185 MovieClip Frame 27
standingJedi.gotoAndPlay("h");
Symbol 185 MovieClip Frame 30
stop();
Symbol 185 MovieClip Frame 34
stop();
Symbol 185 MovieClip Frame 43
stop();
Symbol 185 MovieClip Frame 44
_root.galSoundObject.attachSound("oof");
_root.galSoundObject.start();
Symbol 185 MovieClip Frame 53
_root.galSoundObject.attachSound("oof2");
_root.galSoundObject.start();
Symbol 185 MovieClip Frame 54
stop();
Symbol 185 MovieClip Frame 56
head.gotoAndPlay("b");
eyebrows.gotoAndPlay("d");
eyes.gotoAndPlay("e");
mouth.gotoAndPlay("b");
_root.galSoundObject.attachSound("oof");
_root.galSoundObject.start();
Symbol 185 MovieClip Frame 67
stop();
Symbol 185 MovieClip Frame 68
boobs.gotoAndPlay("b");
eyebrows.gotoAndPlay("b");
eyes.gotoAndPlay("c");
mouth.gotoAndPlay("b");
_root.galSoundObject.attachSound("huh");
_root.galSoundObject.start();
Symbol 185 MovieClip Frame 86
boobs.gotoAndPlay("b");
eyebrows.gotoAndPlay("b");
eyes.gotoAndPlay("c");
mouth.gotoAndPlay("b");
stop();
Symbol 185 MovieClip Frame 87
boobs.gotoAndPlay("c");
eyes.gotoAndPlay("h");
eyebrows.gotoAndPlay("c");
mouth.gotoAndPlay("d");
_root.galSoundObject.attachSound("grr");
_root.galSoundObject.start();
Symbol 185 MovieClip Frame 102
stop();
Symbol 185 MovieClip Frame 106
eyebrows.gotoAndPlay("c");
eyes.gotoAndPlay("h");
mouth.gotoAndPlay("g");
stop();
Symbol 185 MovieClip Frame 110
eyebrows.gotoAndPlay("c");
eyes.gotoAndPlay("h");
mouth.gotoAndPlay("d");
stop();
Symbol 185 MovieClip Frame 111
eyebrows.gotoAndPlay("b");
eyes.gotoAndPlay("i");
mouth.gotoAndPlay("e");
crotch.gotoAndPlay("b");
_root.galSoundObject.attachSound("wha");
_root.galSoundObject.start();
Symbol 185 MovieClip Frame 122
eyebrows.gotoAndPlay("b");
eyes.gotoAndPlay("i");
mouth.gotoAndPlay("e");
crotch.gotoAndPlay("b");
stop();
Symbol 185 MovieClip Frame 130
_root.galSoundObject.attachSound("ooh");
_root.galSoundObject.start();
Symbol 185 MovieClip Frame 134
crotch.gotoAndPlay("c");
eyes.gotoAndPlay("f");
eyebrows.gotoAndPlay("d");
mouth.gotoAndPlay("b");
Symbol 185 MovieClip Frame 140
crotch.gotoAndPlay("b");
Symbol 185 MovieClip Frame 142
gotoAndPlay (131);
Symbol 185 MovieClip Frame 143
crotch.gotoAndPlay("b");
_root.galSoundObject.attachSound("uhh2");
_root.galSoundObject.start();
Symbol 185 MovieClip Frame 144
Symbol 185 MovieClip Frame 147
crotch.gotoAndPlay("c");
mouth.gotoAndPlay("f");
eyebrows.gotoAndPlay("b");
eyes.gotoAndPlay("b");
Symbol 185 MovieClip Frame 148
crotch.gotoAndPlay("d");
Symbol 185 MovieClip Frame 150
crotch.gotoAndPlay("e");
Symbol 185 MovieClip Frame 152
Symbol 185 MovieClip Frame 154
Symbol 185 MovieClip Frame 158
gotoAndPlay (150);
Symbol 185 MovieClip Frame 159
crotch.gotoAndPlay("b");
eyes.gotoAndPlay("e");
_root.galSoundObject.attachSound("uhh");
_root.galSoundObject.start();
Symbol 185 MovieClip Frame 161
crotch.gotoAndPlay("c");
mouth.gotoAndPlay("h");
Symbol 185 MovieClip Frame 162
crotch.gotoAndPlay("e");
Symbol 185 MovieClip Frame 165
crotch.gotoAndPlay("d");
Symbol 185 MovieClip Frame 170
crotch.gotoAndPlay("e");
Symbol 185 MovieClip Frame 175
crotch.gotoAndPlay("d");
Symbol 185 MovieClip Frame 179
gotoAndPlay (169);
Symbol 185 MovieClip Frame 180
crotch.gotoAndPlay("b");
eyes.gotoAndPlay("d");
mouth.gotoAndPlay("i");
eyebrows.gotoAndPlay("b");
_root.galSoundObject.attachSound("uhh3");
_root.galSoundObject.start();
Symbol 185 MovieClip Frame 181
crotch.gotoAndPlay("c");
Symbol 185 MovieClip Frame 182
crotch.gotoAndPlay("e");
Symbol 185 MovieClip Frame 185
crotch.gotoAndPlay("d");
Symbol 185 MovieClip Frame 188
crotch.gotoAndPlay("e");
Symbol 185 MovieClip Frame 192
crotch.gotoAndPlay("d");
Symbol 185 MovieClip Frame 193
gotoAndPlay (187);
Symbol 185 MovieClip Frame 213
_root.galSoundObject.attachSound("bigfinish");
_root.galSoundObject.start();
Symbol 185 MovieClip Frame 259
gotoAndPlay (258);
Symbol 185 MovieClip Frame 260
_root.galSoundObject.attachSound("grr");
_root.galSoundObject.start();
Symbol 185 MovieClip Frame 302
stop();
Symbol 185 MovieClip Frame 330
punish.gotoAndPlay("glowhands");
stop();
Symbol 190 MovieClip Frame 2
stop();
Symbol 202 MovieClip Frame 1
function UpdateCrate() {
myName = _name;
myScale = myScale + 5;
myRot = myRot + 10;
if (myRot > 360) {
myRot = myRot - 360;
}
if (myScale >= 110) {
var hit = _root.user_saber.crateHit(this._x, this._y);
if (hit == 1) {
_root.crateHit();
} else {
_root.crateMiss();
}
myScale = 0;
if (_root.progress <= 2) {
gotoAndPlay (1);
}
if ((_root.progress >= 3) && (_root.progress <= 5)) {
gotoAndPlay (1);
}
if ((_root.progress >= 6) && (_root.progress <= 10)) {
gotoAndPlay (1);
}
if (_root.progress >= 11) {
gotoAndPlay (1);
}
} else {
this._rotation = 0;
this._width = myScale;
this._height = myScale;
this._rotation = myRot;
}
}
function SpawnCrate() {
myRot = 0;
myScale = 20;
this._width = myScale;
this._height = myScale;
this._rotation = myRot;
myName = _name;
this._x = random(700) + 50;
this._y = random(500) + 50;
var temp_art = ("label_" + (random(10) + 1));
gotoAndPlay(temp_art);
}
go = 0;
myScale = 0;
Symbol 202 MovieClip Frame 3
stop();
Symbol 202 MovieClip Frame 5
stop();
Symbol 202 MovieClip Frame 7
stop();
Symbol 202 MovieClip Frame 9
stop();
Symbol 202 MovieClip Frame 11
stop();
Symbol 202 MovieClip Frame 13
stop();
Symbol 202 MovieClip Frame 15
stop();
Symbol 202 MovieClip Frame 17
stop();
Symbol 202 MovieClip Frame 19
stop();
Symbol 202 MovieClip Frame 21
stop();
Symbol 202 MovieClip Frame 23
stop();
Symbol 205 MovieClip Frame 5
gotoAndPlay (1);
Symbol 206 Button
on (release) {
if (myHealth > 0) {
gotoAndPlay (31);
} else {
gotoAndPlay (37);
}
}
Symbol 214 MovieClip Frame 5
stop();
Symbol 220 MovieClip Frame 2
function nextAnim() {
temp = Math.random();
if (temp > 0.8) {
gotoAndPlay (18);
} else {
gotoAndPlay (3);
}
}
everyOtherTime = 1;
nextAnim();
Symbol 220 MovieClip Frame 12
if (everyOtherTime == 1) {
everyOtherTime = 0;
temp = Math.random();
if (temp > 0.7) {
_root.galSoundObject.attachSound("oof2");
_root.galSoundObject.start();
} else {
_root.galSoundObject.attachSound("oof");
_root.galSoundObject.start();
}
} else {
everyOtherTime = 1;
}
Symbol 220 MovieClip Frame 17
nextAnim();
Symbol 220 MovieClip Frame 26
_root.galSoundObject.attachSound("uhh");
_root.galSoundObject.start();
Symbol 220 MovieClip Frame 35
nextAnim();
Symbol 221 Button
on (release) {
gotoAndPlay (216);
}
Symbol 223 Button
on (release) {
gotoAndPlay (250);
}
Symbol 226 Button
on (release) {
gotoAndPlay (285);
}
Symbol 228 Button
on (release) {
_parent.gotoAndPlay("menu");
}
Symbol 229 MovieClip Frame 215
stop();
Symbol 229 MovieClip Frame 248
window.gotoAndPlay("delin_in");
Symbol 229 MovieClip Frame 249
stop();
Symbol 229 MovieClip Frame 283
window.gotoAndPlay("viper_in");
Symbol 229 MovieClip Frame 284
stop();
Symbol 229 MovieClip Frame 286
stop();
Symbol 232 Button
on (release) {
gotoAndPlay (20);
}
Symbol 234 Button
on (release) {
gotoAndPlay (22);
}
Symbol 235 MovieClip Frame 18
window.gotoAndPlay("viper_in");
Symbol 235 MovieClip Frame 19
stop();
Symbol 235 MovieClip Frame 21
stop();
Symbol 235 MovieClip Frame 23
punish.gotoAndPlay("glowhands");
stop();