Combined Code
movieClip 3 Cross {
}
frame 1 {
var sound = 1;
var shiny = 0;
cross._visible = false;
shinymc._visible = false;
normmc._visible = true;
var s = new Sound();
s.setVolume(30);
s.attachSound('Gravy');
s.start(1, 30);
stop();
btn.onPress = function () {
if (sound == 1) {
s.setVolume(0);
cross._visible = true;
sound = 0;
} else {
if (sound == 0) {
s.setVolume(30);
cross._visible = false;
sound = 1;
}
}
};
shinebtn.onPress = function () {
if (shiny == 1) {
shinymc._visible = false;
normmc._visible = true;
sound = 0;
} else {
if (shiny == 0) {
shinymc._visible = true;
normmc._visible = false;
shiny = 1;
}
}
};
}
movieClip 7 {
}
movieClip 26 {
}
movieClip 27 {
}
movieClip 42 {
}