Combined Code
frame 1 {
n = 0;
}
button 5 {
on (press) {
gotoAndPlay(15);
n += 1;
}
}
button 8 {
on (press) {
gotoAndPlay(7);
n += 1;
}
}
button 11 {
on (press) {
gotoAndPlay(4);
n += 1;
}
}
button 14 {
on (press) {
gotoAndPlay(18);
n += 1;
}
}
button 17 {
on (press) {
gotoAndPlay(31);
n += 1;
}
}
button 20 {
on (press) {
gotoAndPlay(27);
n += 1;
}
}
button 23 {
on (press) {
gotoAndPlay(36);
n += 1;
}
}
button 26 {
on (press) {
gotoAndPlay(25);
n += 1;
}
}
button 29 {
on (press) {
gotoAndPlay(39);
n += 1;
}
}
button 32 {
on (press) {
ran = Math.floor(Math.random() * 13) + 1;
n += 1;
if (ran == 1) {
gotoAndPlay(4);
} else {
if (ran == 2) {
gotoAndPlay(7);
} else {
if (ran == 3) {
gotoAndPlay(11);
} else {
if (ran == 4) {
gotoAndPlay(15);
} else {
if (ran == 5) {
gotoAndPlay(18);
} else {
if (ran == 6) {
gotoAndPlay(23);
} else {
if (ran == 7) {
gotoAndPlay(25);
} else {
if (ran == 8) {
gotoAndPlay(27);
} else {
if (ran == 9) {
gotoAndPlay(31);
} else {
if (ran == 10) {
gotoAndPlay(36);
} else {
if (ran == 11) {
gotoAndPlay(39);
} else {
if (ran == 12) {
gotoAndPlay(41);
} else {
if (ran == 13) {
gotoAndPlay(43);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 35 {
on (press) {
ran = Math.floor(Math.random() * 3) + 1;
n += 1;
if (ran == 1) {
gotoAndPlay(15);
} else {
if (ran == 2) {
gotoAndPlay(18);
} else {
if (ran == 3) {
gotoAndPlay(23);
}
}
}
}
}
button 36 {
on (press) {
ran = Math.floor(Math.random() * 7) + 1;
n += 1;
if (ran == 1) {
gotoAndPlay(25);
} else {
if (ran == 2) {
gotoAndPlay(27);
} else {
if (ran == 3) {
gotoAndPlay(31);
} else {
if (ran == 4) {
gotoAndPlay(36);
} else {
if (ran == 5) {
gotoAndPlay(39);
} else {
if (ran == 6) {
gotoAndPlay(41);
} else {
if (ran == 7) {
gotoAndPlay(43);
}
}
}
}
}
}
}
}
}
button 37 {
on (press) {
ran = Math.floor(Math.random() * 3) + 1;
n += 1;
if (ran == 1) {
gotoAndPlay(4);
} else {
if (ran == 2) {
gotoAndPlay(7);
} else {
if (ran == 3) {
gotoAndPlay(11);
}
}
}
}
}
button 38 {
on (press) {
gotoAndPlay(10);
n += 1;
}
}
button 39 {
on (press) {
gotoAndPlay(22);
n += 1;
}
}
button 42 {
on (press) {
gotoAndPlay(11);
n += 1;
}
}
button 45 {
on (press) {
gotoAndPlay(41);
n += 1;
}
}
button 48 {
on (press) {
gotoAndPlay(43);
n += 1;
}
}
button 51 {
on (press) {
gotoAndPlay(23);
n += 1;
}
}
button 52 {
on (press) {
gotoAndPlay(46);
n = 0;
}
}
button 53 {
on (press) {
gotoAndPlay(18);
n += 1;
}
}
button 54 {
on (press) {
gotoAndPlay(36);
n += 1;
}
}
// unknown tag 88 length 28
frame 3 {
stop();
}
frame 6 {
gotoAndStop(2);
}
frame 9 {
gotoAndStop(2);
}
frame 10 {
gotoAndStop(2);
}
frame 14 {
gotoAndStop(2);
}
frame 17 {
gotoAndStop(2);
}
frame 21 {
gotoAndStop(2);
}
frame 22 {
gotoAndStop(2);
}
frame 24 {
gotoAndStop(2);
}
frame 26 {
gotoAndStop(2);
}
frame 30 {
gotoAndStop(2);
}
frame 35 {
gotoAndStop(2);
}
frame 38 {
gotoAndStop(2);
}
frame 40 {
gotoAndStop(2);
}
frame 42 {
gotoAndStop(2);
}
frame 45 {
gotoAndStop(2);
}
frame 55 {
gotoAndStop(2);
}