Frame 1
_root.WPI_ArcadeStartSingleGame = function () {
trace("WPI_ArcadeStartSingleGame called - the current game has started");
};
_root.WPI_ArcadeStopSingleGame = function (score) {
trace("WPI_ArcadeStopSingleGame called - the current game has finished with score: " + score);
};
stop();
Frame 2
stop();
sounds = new Sound(sound_box1);
sounds.attachSound("song1");
sounds.start(0, 1000);
sounds.setVolume(100);
Instance of Symbol 64 MovieClip "eye_in" in Frame 2
onClipEvent (enterFrame) {
var eye = this;
var mouse_x = _root._xmouse;
var mouse_y = _root._ymouse;
var x = (mouse_x - eye._x);
var y = (mouse_y - eye._y);
var rot = Math.atan2(y, x);
var angle = ((rot * 57.2969) - 90);
eye._rotation = angle;
}
Instance of Symbol 64 MovieClip "eye_in" in Frame 2
onClipEvent (enterFrame) {
var eye = this;
var mouse_x = _root._xmouse;
var mouse_y = _root._ymouse;
var x = (mouse_x - eye._x);
var y = (mouse_y - eye._y);
var rot = Math.atan2(y, x);
var angle = ((rot * 57.2969) - 90);
eye._rotation = angle;
}
Instance of Symbol 337 MovieClip in Frame 2
onClipEvent (load) {
this.swapDepths(1000);
}
onClipEvent (enterFrame) {
this.removeMovieClip();
trace("here");
}
Instance of Symbol 344 MovieClip "sound_controller" in Frame 2
onClipEvent (load) {
this.swapDepths(9000000500);
if (_root.game.sound == false) {
this.gotoAndStop(2);
_root.sounds.setVolume(0);
}
}
Instance of Symbol 345 MovieClip "sound_box1" in Frame 2
onClipEvent (load) {
this.swapDepths(-102);
}
Instance of Symbol 346 MovieClip "sound_volume" in Frame 2
onClipEvent (load) {
this.swapDepths(-100);
}
Frame 3
guy1 = {hair:"brown", eyes:"blue", hat:true, mustache:false, beard:false, glasses:false, job:"police", name:"Freddy"};
guy2 = {hair:"brown", eyes:"blue", hat:false, mustache:false, beard:false, glasses:false, job:"student", name:"Bruce"};
guy3 = {hair:"blonde", eyes:"green", hat:false, mustache:false, beard:false, glasses:true, job:"student", name:"Craig"};
guy4 = {hair:"blonde", eyes:"blue", hat:true, mustache:false, beard:false, glasses:false, job:"firefighter", name:"Jimmy"};
guy5 = {hair:"black", eyes:"blue", hat:false, mustache:false, beard:false, glasses:true, job:"student", name:"Tayler"};
guy6 = {hair:"brown", eyes:"blue", hat:true, mustache:false, beard:false, glasses:false, job:"firefighter", name:"Steve"};
guy7 = {hair:"blonde", eyes:"brown", hat:true, mustache:true, beard:false, glasses:false, job:"police", name:"Peter"};
guy8 = {hair:"blonde", eyes:"blue", hat:false, mustache:false, beard:false, glasses:true, job:"", name:"Larry"};
guy9 = {hair:"black", eyes:"blue", hat:true, mustache:false, beard:false, glasses:false, job:"", name:"Kade"};
guy10 = {hair:"brown", eyes:"brown", hat:false, mustache:false, beard:false, glasses:false, job:"", name:"McKay"};
guy11 = {hair:"black", eyes:"blue", hat:true, mustache:true, beard:true, glasses:false, job:"king", name:"Richard"};
guy12 = {hair:"brown", eyes:"green", hat:true, mustache:true, beard:true, glasses:true, job:"king", name:"Chandler"};
guy13 = {hair:"black", eyes:"green", hat:true, mustache:true, beard:false, glasses:true, job:"police", name:"Toby"};
guy14 = {hair:"blonde", eyes:"brown", hat:false, mustache:true, beard:true, glasses:true, job:"", name:"William"};
guy15 = {hair:"blonde", eyes:"green", hat:true, mustache:false, beard:false, glasses:true, job:"firefighter", name:"Harry"};
guy16 = {hair:"black", eyes:"green", hat:true, mustache:false, beard:false, glasses:false, job:"pirate", name:"Jack"};
guy17 = {hair:"blonde", eyes:"blue", hat:true, mustache:false, beard:false, glasses:false, job:"pirate", name:"Blake"};
guy18 = {hair:"brown", eyes:"blue", hat:true, mustache:false, beard:false, glasses:false, job:"pirate", name:"Tyler"};
startGame = function () {
setVariables();
setupBoard();
setupBoxes();
selectWiggy();
};
setVariables = function () {
score = 0;
question = "";
testing_answer = "";
testing = "";
picked_guy = "";
picked_guy_num = 0;
player1_turn = false;
player2_turn = false;
selected = false;
delay = 10;
runAI = false;
numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18];
numbers2 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18];
};
selectWiggy = function () {
attachMovie("choose_wiggy", "choose_wiggy", 9999);
choose_wiggy._x = 400;
choose_wiggy._y = 200;
var _local2 = random(18) + 1;
comp_guy = _local2;
trace(this["guy" + _local2].name);
};
setupBoard = function () {
attachMovie("board1", "board1", 1000);
board1._x = 400;
board1._y = 750;
board1.cacheAsBitmap = true;
attachMovie("board2", "board2", 1001);
board2._x = 400;
board2._y = -250;
attachMovie("questionBox", "questionBox1", 1002);
questionBox1._x = 400;
questionBox1._y = -200;
questionBox1.cacheAsBitmap = true;
attachMovie("questionBox2", "questionBox2", 1003);
questionBox2._x = 400;
questionBox2._y = 900;
};
setupBoxes = function () {
var _local1 = 0;
while (_local1 < 18) {
var _local3 = random(numbers.length);
var _local5 = numbers[_local3];
var _local4 = board1["box" + (_local1 + 1)];
_local4.face = _local5;
_local4.faces.gotoAndStop(_local5);
numbers.splice(_local3, 1);
_local1++;
}
_local1 = 1;
while (_local1 < 19) {
var _local2 = random(numbers2.length);
var _local5 = numbers2[_local2];
var _local4 = board2["box" + _local1];
_local4.face = _local5;
numbers2.splice(_local2, 1);
_local1++;
}
};
updateGame = function () {
if (player1_turn) {
if (board1._y > 300) {
board1._y = board1._y - 10;
}
if (questionBox1._y < 70) {
questionBox1.gotoAndStop(1);
questionBox1._y = questionBox1._y + 10;
}
if (board2._y > -250) {
board2._y = board2._y - 10;
}
if (questionBox2._y < 900) {
questionBox2.gotoAndStop(1);
questionBox2._y = questionBox2._y + 10;
}
} else if (player2_turn) {
if (board1._y < 750) {
board1._y = board1._y + 10;
}
if (questionBox1._y > -200) {
questionBox1._y = questionBox1._y - 10;
}
if (board2._y < 200) {
board2._y = board2._y + 10;
}
if (questionBox2._y > 500) {
questionBox2._y = questionBox2._y - 10;
questionBox2.guy.faces.gotoAndStop(picked_guy_num);
questionBox2.guy.gotoAndStop(1);
}
if ((questionBox2._y > 515) && (questionBox2._y < 525)) {
questionBox2.gotoAndStop(2);
}
}
};
questionAI = function () {
var _local25 = ["spacer"];
var _local8 = ["hair"];
var _local9 = ["eyes"];
var _local13 = ["hat"];
var _local7 = ["name"];
var _local11 = ["mustache"];
var _local14 = ["beard"];
var _local12 = ["glasses"];
var _local10 = ["job"];
var _local2 = 0;
var _local19 = 1;
while (_local19 < 19) {
var _local16 = board2["box" + _local19];
if (_local16._currentframe == 1) {
_local25.push(_local16.face);
var _local4 = this["guy" + _local16.face];
var _local21 = _local4.hair;
var _local22 = _local4.eyes;
var _local20 = _local4.hat;
var _local15 = _local4.name;
var _local17 = _local4.mustache;
var _local23 = _local4.beard;
var _local18 = _local4.glasses;
var _local5 = _local4.job;
_local2 = 0;
var _local3 = 0;
while (_local3 < _local8.length) {
var _local6 = _local8[_local3];
if (_local21 == _local6) {
_local2++;
}
_local3++;
}
if (_local2 == 0) {
_local8.push(_local21);
}
_local2 = 0;
_local3 = 0;
while (_local3 < _local9.length) {
var _local6 = _local9[_local3];
if (_local22 == _local6) {
_local2++;
}
_local3++;
}
if (_local2 == 0) {
_local9.push(_local22);
}
_local2 = 0;
_local3 = 0;
while (_local3 < _local13.length) {
var _local6 = _local13[_local3];
if (_local20 == _local6) {
_local2++;
}
_local3++;
}
if (_local2 == 0) {
_local13.push(_local20);
}
_local2 = 0;
_local3 = 0;
while (_local3 < _local11.length) {
var _local6 = _local11[_local3];
if (_local17 == _local6) {
_local2++;
}
_local3++;
}
if (_local2 == 0) {
_local11.push(_local17);
}
_local2 = 0;
_local3 = 0;
while (_local3 < _local14.length) {
var _local6 = _local14[_local3];
if (_local23 == _local6) {
_local2++;
}
_local3++;
}
if (_local2 == 0) {
_local14.push(_local23);
}
_local2 = 0;
_local3 = 0;
while (_local3 < _local12.length) {
var _local6 = _local12[_local3];
if (_local18 == _local6) {
_local2++;
}
_local3++;
}
if (_local2 == 0) {
_local12.push(_local18);
}
_local2 = 0;
_local3 = 0;
while (_local3 < _local10.length) {
var _local6 = _local10[_local3];
if ((_local5 == _local6) || (_local5 == "")) {
_local2++;
}
_local3++;
}
if (_local2 == 0) {
_local10.push(_local5);
}
_local2 = 0;
_local3 = 0;
while (_local3 < _local7.length) {
var _local6 = _local7[_local3];
if (_local15 == _local6) {
_local2++;
}
_local3++;
}
if (_local2 == 0) {
_local7.push(_local15);
}
}
_local19++;
}
var _local24 = ["spacer"];
if (_local8.length > 2) {
_local24.push(_local8);
}
if (_local9.length > 2) {
_local24.push(_local9);
}
if (_local13.length > 2) {
_local24.push(_local13);
}
if (_local11.length > 2) {
_local24.push(_local11);
}
if (_local14.length > 2) {
_local24.push(_local14);
}
if (_local12.length > 2) {
_local24.push(_local12);
}
if (_local10.length > 2) {
_local24.push(_local10);
}
if (_local24.length > 1) {
var _local27 = random(_local24.length - 1) + 1;
var _local26 = _local24[_local27];
var _local28 = random(_local26.length - 1) + 1;
item = _local26[_local28];
testing = _local24[_local27][0];
testing_answer = this[picked_guy][testing];
if (testing == "hair") {
question = ("Is his hair " + item) + "?";
} else if (testing == "eyes") {
question = ("Are his eyes " + item) + "?";
} else if (testing == "hat") {
question = "Is he wearing a hat?";
item = true;
} else if (testing == "mustache") {
question = "Does he have a mustache?";
item = true;
} else if (testing == "beard") {
question = "Does he have a beard?";
item = true;
} else if (testing == "glasses") {
question = "Is he wearing glasses?";
item = true;
} else if (testing == "job") {
question = ("Is he a " + item) + "?";
}
trace("The array I'm testing is: " + _local26);
trace("I'm testing his: " + testing);
trace("The item that I'm testing is: " + item);
trace("The Wiggi you have chosen has: " + testing_answer);
} else {
var _local28 = random(_local7.length - 1) + 1;
item = _local7[_local28];
testing = _local7[0];
testing_answer = this[picked_guy][testing];
question = ("Is your Wiggi " + item) + "?";
}
};
goWin = function () {
var _local1 = 1;
while (_local1 < 19) {
var _local2 = board2["box" + _local1];
if (_local2._currentframe == 1) {
score++;
}
_local1++;
}
score = score * 100;
board1.removeMovieClip();
board2.removeMovieClip();
questionBox1.removeMovieClip();
questionBox2.removeMovieClip();
WPI_ArcadeStopSingleGame(score);
gotoAndStop (5);
};
goLose = function () {
board1.removeMovieClip();
board2.removeMovieClip();
questionBox1.removeMovieClip();
questionBox2.removeMovieClip();
WPI_ArcadeStopSingleGame(score);
gotoAndStop (6);
};
runBoardAI = function () {
if (delay == 0) {
delay = 10;
var _local4 = 0;
var _local2 = 1;
while (_local2 < 19) {
var _local6 = board2["box" + _local2];
if (_local6._currentframe == 1) {
var _local5 = this[picked_guy];
if (item == testing_answer) {
var _local3 = this["guy" + _local6.face];
if (_local3[testing] != item) {
_local4 = _local2;
}
if (testing == "name") {
goLose();
}
} else {
var _local3 = this["guy" + _local6.face];
if (_local3[testing] == item) {
_local4 = _local2;
}
}
}
_local2++;
}
if (_local4 != 0) {
var _local6 = board2["box" + _local4];
trace((((("Little " + this["guy" + _local6.face].name) + "because he has ") + item) + " ") + testing);
_local6.gotoAndStop(2);
} else {
runAI = false;
player1_turn = true;
player2_turn = false;
}
} else {
delay--;
}
};
startGame();
onEnterFrame = function () {
updateGame();
if (runAI) {
runBoardAI();
}
};
stop();
Frame 5
score_text.text = "Your Score: " + score;
Symbol 5 MovieClip Frame 17
gotoAndPlay (15);
Symbol 6 Button
on (release) {
getURL ("http://www.wiggiworld.com", "_blank");
}
Symbol 15 MovieClip Frame 15
stop();
Symbol 17 Button
on (release) {
_root.gotoAndPlay("start");
}
Symbol 31 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
bl = _root.getBytesLoaded();
bt = _root.getBytesTotal();
perc = (bl / bt) * 100;
bar.bar._xscale = perc;
if (perc >= 100) {
this.gotoAndPlay("goplay");
delete this.onEnterFrame;
}
};
Symbol 31 MovieClip Frame 25
stop();
Symbol 40 MovieClip Frame 1
stop();
Symbol 47 Button
on (release) {
gotoAndStop (4);
}
Symbol 52 Button
on (release) {
WPI_ArcadeStartSingleGame();
gotoAndStop (3);
}
Symbol 106 MovieClip Frame 1
stop();
Symbol 108 Button
on (release) {
if (face != undefined) {
this.gotoAndStop(2);
}
}
Symbol 112 Button
on (release) {
if (face != undefined) {
this.gotoAndStop(1);
this.faces.gotoAndStop(face);
}
}
Symbol 114 MovieClip Frame 1
stop();
Symbol 123 Button
on (release) {
if (faces._currentframe < 18) {
faces.gotoAndStop(faces._currentframe + 1);
} else {
faces.gotoAndStop(1);
}
}
Symbol 124 Button
on (release) {
if (faces._currentframe > 1) {
faces.gotoAndStop(faces._currentframe - 1);
} else {
faces.gotoAndStop(18);
}
}
Symbol 128 Button
on (release) {
_parent.picked_guy = "guy" + faces._currentframe;
_parent.picked_guy_num = faces._currentframe;
_parent.selected = false;
_parent.player1_turn = true;
this.play();
}
Symbol 136 MovieClip [choose_wiggy] Frame 15
stop();
Symbol 136 MovieClip [choose_wiggy] Frame 30
this.swapDepths(1);
this.removeMovieClip();
Symbol 146 Button
on (release) {
_parent.question = "Is his hair brown?";
_parent.testing_answer = "brown";
_parent.testing = "hair";
this.gotoAndStop(2);
}
Symbol 150 Button
on (release) {
_parent.question = "Is his hair black?";
_parent.testing_answer = "black";
_parent.testing = "hair";
this.gotoAndStop(2);
}
Symbol 154 Button
on (release) {
_parent.question = "Is his hair blonde?";
_parent.testing_answer = "blonde";
_parent.testing = "hair";
this.gotoAndStop(2);
}
Symbol 158 Button
on (release) {
_parent.question = "Are his eyes blue?";
_parent.testing_answer = "blue";
_parent.testing = "eyes";
this.gotoAndStop(2);
}
Symbol 162 Button
on (release) {
_parent.question = "Are his eyes green?";
_parent.testing_answer = "green";
_parent.testing = "eyes";
this.gotoAndStop(2);
}
Symbol 166 Button
on (release) {
_parent.question = "Are his eyes brown?";
_parent.testing_answer = "brown";
_parent.testing = "eyes";
this.gotoAndStop(2);
}
Symbol 170 Button
on (release) {
_parent.question = "Is he a student?";
_parent.testing_answer = "student";
_parent.testing = "job";
this.gotoAndStop(2);
}
Symbol 174 Button
on (release) {
_parent.question = "Is he a firefighter?";
_parent.testing_answer = "firefighter";
_parent.testing = "job";
this.gotoAndStop(2);
}
Symbol 178 Button
on (release) {
_parent.question = "Is he a king?";
_parent.testing_answer = "king";
_parent.testing = "job";
this.gotoAndStop(2);
}
Symbol 182 Button
on (release) {
_parent.question = "Is he a pirate?";
_parent.testing_answer = "pirate";
_parent.testing = "job";
this.gotoAndStop(2);
}
Symbol 186 Button
on (release) {
_parent.question = "Is he a police man?";
_parent.testing_answer = "police";
_parent.testing = "job";
this.gotoAndStop(2);
}
Symbol 190 Button
on (release) {
_parent.question = "Does he have a beard?";
_parent.testing_answer = true;
_parent.testing = "beard";
this.gotoAndStop(2);
}
Symbol 194 Button
on (release) {
_parent.question = "Does he have a hat?";
_parent.testing_answer = true;
_parent.testing = "hat";
this.gotoAndStop(2);
}
Symbol 198 Button
on (release) {
_parent.question = "Does he have a mustache?";
_parent.testing_answer = true;
_parent.testing = "mustache";
this.gotoAndStop(2);
}
Symbol 202 Button
on (release) {
_parent.question = "Does he have glasses?";
_parent.testing_answer = true;
_parent.testing = "glasses";
this.gotoAndStop(2);
}
Symbol 206 Button
on (release) {
_parent.question = "Is your Wiggi Tyler?";
_parent.testing_answer = "Tyler";
_parent.testing = "name";
this.gotoAndStop(2);
}
Symbol 210 Button
on (release) {
_parent.question = "Is your Wiggi Blake?";
_parent.testing_answer = "Blake";
_parent.testing = "name";
this.gotoAndStop(2);
}
Symbol 214 Button
on (release) {
_parent.question = "Is your Wiggi Jack?";
_parent.testing_answer = "Jack";
_parent.testing = "name";
this.gotoAndStop(2);
}
Symbol 218 Button
on (release) {
_parent.question = "Is your Wiggi Harry?";
_parent.testing_answer = "Harry";
_parent.testing = "name";
this.gotoAndStop(2);
}
Symbol 222 Button
on (release) {
_parent.question = "Is your Wiggi William?";
_parent.testing_answer = "William";
_parent.testing = "name";
this.gotoAndStop(2);
}
Symbol 226 Button
on (release) {
_parent.question = "Is your Wiggi Toby?";
_parent.testing_answer = "Toby";
_parent.testing = "name";
this.gotoAndStop(2);
}
Symbol 230 Button
on (release) {
_parent.question = "Is your Wiggi Chandler?";
_parent.testing_answer = "Chandler";
_parent.testing = "name";
this.gotoAndStop(2);
}
Symbol 234 Button
on (release) {
_parent.question = "Is your Wiggi Richard?";
_parent.testing_answer = "Richard";
_parent.testing = "name";
this.gotoAndStop(2);
}
Symbol 238 Button
on (release) {
_parent.question = "Is your Wiggi McKay?";
_parent.testing_answer = "McKay";
_parent.testing = "name";
this.gotoAndStop(2);
}
Symbol 242 Button
on (release) {
_parent.question = "Is your Wiggi Kade?";
_parent.testing_answer = "Kade";
_parent.testing = "name";
this.gotoAndStop(2);
}
Symbol 246 Button
on (release) {
_parent.question = "Is your Wiggi Larry?";
_parent.testing_answer = "Larry";
_parent.testing = "name";
this.gotoAndStop(2);
}
Symbol 250 Button
on (release) {
_parent.question = "Is your Wiggi Peter?";
_parent.testing_answer = "Peter";
_parent.testing = "name";
this.gotoAndStop(2);
}
Symbol 254 Button
on (release) {
_parent.question = "Is your Wiggi Steve?";
_parent.testing_answer = "Steve";
_parent.testing = "name";
this.gotoAndStop(2);
}
Symbol 258 Button
on (release) {
_parent.question = "Is your Wiggi Tayler?";
_parent.testing_answer = "Tayler";
_parent.testing = "name";
this.gotoAndStop(2);
}
Symbol 262 Button
on (release) {
_parent.question = "Is your Wiggi Jimmy?";
_parent.testing_answer = "Jimmy";
_parent.testing = "name";
this.gotoAndStop(2);
}
Symbol 265 Button
on (release) {
_parent.question = "Is your Wiggi Craig?";
_parent.testing_answer = "Craig";
_parent.testing = "name";
this.gotoAndStop(2);
}
Symbol 268 Button
on (release) {
_parent.question = "Is your Wiggi Bruce?";
_parent.testing_answer = "Bruce";
_parent.testing = "name";
this.gotoAndStop(2);
}
Symbol 272 Button
on (release) {
_parent.question = "Is your Wiggi Freddy?";
_parent.testing_answer = "Freddy";
_parent.testing = "name";
this.gotoAndStop(2);
}
Symbol 282 Button
on (release) {
this.gotoAndStop(3);
}
Symbol 286 Button
on (release) {
this.gotoAndStop(1);
}
Symbol 300 Button
on (release) {
_parent._parent._parent.player1_turn = false;
_parent._parent._parent.player2_turn = true;
if ((_parent._parent._parent.testing == "name") && (answer_text.text == "Yes")) {
_parent._parent._parent.goWin();
}
}
Symbol 304 MovieClip Frame 65
var comp_guy = _parent._parent._parent["guy" + _parent._parent._parent.comp_guy];
trace("100 " + _parent._parent._parent.testing_answer);
trace("200 " + comp_guy[_parent._parent._parent.testing]);
if (_parent._parent._parent.testing_answer == comp_guy[_parent._parent._parent.testing]) {
answer_text.text = "Yes";
} else {
answer_text.text = "No";
}
stop();
Symbol 307 MovieClip [questionBox] Frame 1
stop();
Symbol 307 MovieClip [questionBox] Frame 2
question_text.text = _parent.question;
Symbol 307 MovieClip [questionBox] Frame 3
question_text.text = _parent.question;
Symbol 318 Button
on (release) {
_parent._parent._parent.player1_turn = false;
_parent._parent._parent.player2_turn = true;
}
Symbol 319 MovieClip Frame 65
_parent._parent.gotoAndStop(3);
stop();
Symbol 326 Button
on (release) {
trace("item " + _parent.item);
trace("testing_answer " + _parent.testing_answer);
if (_parent.testing_answer == _parent.item) {
_parent.runAI = true;
guy.gotoAndStop(2);
this.gotoAndStop(5);
} else {
this.gotoAndStop(4);
}
}
Symbol 330 Button
on (release) {
if (_parent.testing_answer == _parent.item) {
this.gotoAndStop(4);
} else {
_parent.runAI = true;
guy.gotoAndStop(2);
this.gotoAndStop(5);
}
}
Symbol 332 Button
on (release) {
_parent.runAI = true;
guy.gotoAndStop(2);
this.gotoAndStop(5);
}
Symbol 335 MovieClip [questionBox2] Frame 1
stop();
Symbol 335 MovieClip [questionBox2] Frame 2
stop();
Symbol 335 MovieClip [questionBox2] Frame 3
_parent.questionAI();
question_text.text = _parent.question;
stop();
Symbol 335 MovieClip [questionBox2] Frame 4
question_text.text = _parent.question;
Symbol 340 Button
on (press) {
_root.sounds.setVolume(0);
_root.game.sound = false;
_root.sound_controller.gotoAndStop(2);
}
Symbol 343 Button
on (press) {
_root.sounds.setVolume(100);
_root.game.sound = true;
_parent.sound_controller.gotoAndStop(1);
}
Symbol 344 MovieClip Frame 1
stop();
Symbol 346 MovieClip Frame 1
stop();
Symbol 346 MovieClip Frame 5
_root.sounds2.setVolume(95 * _root.global_volume);
this.gotoAndPlay(6);
Symbol 346 MovieClip Frame 6
_root.sounds2.setVolume(90 * _root.global_volume);
Symbol 346 MovieClip Frame 7
_root.sounds2.setVolume(85 * _root.global_volume);
Symbol 346 MovieClip Frame 8
_root.sounds2.setVolume(80 * _root.global_volume);
Symbol 346 MovieClip Frame 9
_root.sounds2.setVolume(75 * _root.global_volume);
Symbol 346 MovieClip Frame 10
_root.sounds2.setVolume(70 * _root.global_volume);
Symbol 346 MovieClip Frame 11
_root.sounds2.setVolume(65 * _root.global_volume);
Symbol 346 MovieClip Frame 12
_root.sounds2.setVolume(60 * _root.global_volume);
Symbol 346 MovieClip Frame 13
_root.sounds2.setVolume(55 * _root.global_volume);
Symbol 346 MovieClip Frame 14
_root.sounds2.setVolume(50 * _root.global_volume);
Symbol 346 MovieClip Frame 15
_root.sounds2.setVolume(45 * _root.global_volume);
Symbol 346 MovieClip Frame 16
_root.sounds2.setVolume(40 * _root.global_volume);
Symbol 346 MovieClip Frame 17
_root.sounds2.setVolume(35 * _root.global_volume);
Symbol 346 MovieClip Frame 18
_root.sounds2.setVolume(30 * _root.global_volume);
Symbol 346 MovieClip Frame 19
_root.sounds2.setVolume(25 * _root.global_volume);
Symbol 346 MovieClip Frame 20
_root.sounds2.setVolume(20 * _root.global_volume);
Symbol 346 MovieClip Frame 21
_root.sounds2.setVolume(15 * _root.global_volume);
Symbol 346 MovieClip Frame 22
_root.sounds2.setVolume(10 * _root.global_volume);
Symbol 346 MovieClip Frame 23
_root.sounds2.setVolume(5 * _root.global_volume);
Symbol 346 MovieClip Frame 24
_root.sounds2.setVolume(0);
Symbol 346 MovieClip Frame 25
this.gotoAndStop(1);
Symbol 346 MovieClip Frame 30
_root.sounds2.setVolume(0);
this.gotoAndPlay(31);
Symbol 346 MovieClip Frame 31
_root.sounds2.setVolume(5 * _root.global_volume);
Symbol 346 MovieClip Frame 32
_root.sounds2.setVolume(10 * _root.global_volume);
Symbol 346 MovieClip Frame 33
_root.sounds2.setVolume(15 * _root.global_volume);
Symbol 346 MovieClip Frame 34
_root.sounds2.setVolume(20 * _root.global_volume);
Symbol 346 MovieClip Frame 35
_root.sounds2.setVolume(25 * _root.global_volume);
Symbol 346 MovieClip Frame 36
_root.sounds2.setVolume(30 * _root.global_volume);
Symbol 346 MovieClip Frame 37
_root.sounds2.setVolume(35 * _root.global_volume);
Symbol 346 MovieClip Frame 38
_root.sounds2.setVolume(40 * _root.global_volume);
Symbol 346 MovieClip Frame 39
_root.sounds2.setVolume(45 * _root.global_volume);
Symbol 346 MovieClip Frame 40
_root.sounds2.setVolume(50 * _root.global_volume);
Symbol 346 MovieClip Frame 41
_root.sounds2.setVolume(55 * _root.global_volume);
Symbol 346 MovieClip Frame 42
_root.sounds2.setVolume(60 * _root.global_volume);
Symbol 346 MovieClip Frame 43
_root.sounds2.setVolume(65 * _root.global_volume);
Symbol 346 MovieClip Frame 44
_root.sounds2.setVolume(70 * _root.global_volume);
Symbol 346 MovieClip Frame 45
_root.sounds2.setVolume(75 * _root.global_volume);
Symbol 346 MovieClip Frame 46
_root.sounds2.setVolume(80 * _root.global_volume);
Symbol 346 MovieClip Frame 47
_root.sounds2.setVolume(85 * _root.global_volume);
Symbol 346 MovieClip Frame 48
_root.sounds2.setVolume(90 * _root.global_volume);
Symbol 346 MovieClip Frame 49
_root.sounds2.setVolume(95 * _root.global_volume);
Symbol 346 MovieClip Frame 50
_root.sounds2.setVolume(100 * _root.global_volume);
Symbol 346 MovieClip Frame 51
this.gotoAndStop(1);
Symbol 352 Button
on (release) {
sounds.stop();
sound_box1.swapDepths(1);
sound_box1.removeMovieClip();
sound_volume.swapDepths(1);
sound_volume.removeMovieClip();
sound_controller.swapDepths(1);
sound_controller.removeMovieClip();
WPI_ArcadeStartSingleGame();
gotoAndStop (3);
sounds = new Sound(sound_box1);
sounds.attachSound("song1");
sounds.start(0, 1000);
sounds.setVolume(100);
}
Symbol 359 Button
on (release) {
sounds.stop();
sound_box1.swapDepths(1);
sound_box1.removeMovieClip();
sound_volume.swapDepths(1);
sound_volume.removeMovieClip();
sound_controller.swapDepths(1);
sound_controller.removeMovieClip();
WPI_ArcadeStartSingleGame();
gotoAndStop (3);
sounds = new Sound(sound_box1);
sounds.attachSound("song1");
sounds.start(0, 1000);
sounds.setVolume(100);
}