Combined Code
frame 1 {
function preloader() {
if (getBytesLoaded() >= getBytesTotal()) {
play();
clearInterval(myInterval);
}
logo_mc._alpha = 'Loading: ' + Math.round((getBytesLoaded() / getBytesTotal()) * 100) + '%';
myText.text = 'Loading: ' + Math.round((getBytesLoaded() / getBytesTotal()) * 100) + '%';
}
stop();
myInterval = setInterval(preloader, 100);
}
// unknown tag 88 length 87
frame 2 {
stop();
var gamepause = true;
squishy1 = new Sound();
squishy1.attachSound('squishy1');
squishy2 = new Sound();
squishy2.attachSound('squishy2');
bite = new Sound();
bite.attachSound('bite');
juice1 = new Sound();
juice1.attachSound('juice1');
juice2 = new Sound();
juice2.attachSound('juice2');
bowfire = new Sound();
bowfire.attachSound('bowfire');
bloodhit = new Sound();
bloodhit.attachSound('bloodhit');
crowd = new Sound();
crowd.attachSound('crowd');
moan = new Sound();
moan.attachSound('moan');
theme1 = new Sound();
theme1.attachSound('theme');
theme1.stop();
shot1 = new Sound();
shot1.attachSound('shot1');
shot2 = new Sound();
shot2.attachSound('shot2');
howl1 = new Sound();
howl1.attachSound('howl1');
howl2 = new Sound();
howl2.attachSound('howl2');
howl3 = new Sound();
howl3.attachSound('howl3');
pain1 = new Sound();
pain1.attachSound('pain1');
pain2 = new Sound();
pain2.attachSound('pain2');
pain3 = new Sound();
pain3.attachSound('pain3');
groan1 = new Sound();
groan1.attachSound('groan1');
groan2 = new Sound();
groan2.attachSound('groan2');
groan3 = new Sound();
groan3.attachSound('groan3');
groan4 = new Sound();
groan4.attachSound('groan4');
youch1 = new Sound();
youch1.attachSound('youch1');
youch2 = new Sound();
youch2.attachSound('youch2');
youch3 = new Sound();
youch3.attachSound('youch3');
youch4 = new Sound();
youch4.attachSound('youch4');
youch5 = new Sound();
youch5.attachSound('youch5');
ouch1 = new Sound();
ouch1.attachSound('ouch1');
ouch2 = new Sound();
ouch2.attachSound('ouch2');
ouch3 = new Sound();
ouch3.attachSound('ouch3');
ouch4 = new Sound();
ouch4.attachSound('ouch4');
ouch5 = new Sound();
ouch5.attachSound('ouch5');
ouchie = function () {
soundroll = random(3);
if (soundroll == 0) {
youch1.start();
} else {
if (soundroll == 1) {
youch2.start();
} else {
if (soundroll == 2) {
youch3.start();
}
}
}
};
groan = function () {
soundroll = random(4);
if (soundroll == 0) {
groan1.start();
} else {
if (soundroll == 1) {
groan2.start();
} else {
if (soundroll == 2) {
groan3.start();
} else {
if (soundroll == 3) {
groan4.start();
}
}
}
}
};
pain = function () {
soundroll = random(3);
if (soundroll == 0) {
pain1.start();
} else {
if (soundroll == 1) {
pain2.start();
} else {
if (soundroll == 2) {
pain3.start();
}
}
}
};
ouch = function () {
soundroll = random(5);
if (soundroll == 0) {
ouch1.start();
} else {
if (soundroll == 1) {
ouch2.start();
} else {
if (soundroll == 2) {
ouch3.start();
} else {
if (soundroll == 3) {
ouch4.start();
} else {
if (soundroll == 4) {
ouch5.start();
}
}
}
}
}
};
}
movieClip 262 {
frame 1 {
stop();
}
frame 2 {
_root.theme1.stop();
_root.theme1.start(0, 99);
}
frame 12 {
_root.groan();
_root.juice1.start();
}
frame 15 {
_root.bite.start();
}
frame 28 {
_root.ouch();
_root.juice2.start();
}
frame 47 {
_root.magicroll = random(5);
if (_root.magicroll == 0) {
gotoAndPlay('start3');
} else {
if (_root.magicroll == 1) {
gotoAndPlay('start2');
} else {
gotoAndPlay('start1');
}
}
}
frame 54 {
_root.groan();
_root.juice1.start();
}
frame 57 {
_root.bite.start();
}
frame 70 {
_root.ouch();
_root.juice2.start();
}
frame 92 {
_root.magicroll = random(5);
if (_root.magicroll == 0) {
gotoAndPlay('start1');
} else {
if (_root.magicroll == 1) {
gotoAndPlay('start3');
} else {
gotoAndPlay('start2');
}
}
}
frame 99 {
_root.groan();
_root.juice1.start();
}
frame 102 {
_root.bite.start();
}
frame 115 {
_root.ouch();
_root.juice2.start();
}
frame 136 {
_root.magicroll = random(5);
if (_root.magicroll == 0) {
gotoAndPlay('start1');
} else {
if (_root.magicroll == 1) {
gotoAndPlay('start2');
} else {
gotoAndPlay('start3');
}
}
}
}
instance girl_mc of movieClip 262 {
onClipEvent (release) {
if (_root.gamepause == true) {
_root.gamepause = false;
_root.girl_mc.play();
} else {
_root.gamepause = true;
_root.girl_mc.stop();
}
}
}
movieClip 264 {
frame 1 {
play();
}
frame 11 {
stop();
}
}