Frame 1
function race_change() {
if (race_flag != 1) {
race_flag = 1;
d_body._visible = false;
d_inner._visible = false;
cock_S._visible = false;
cock_L._visible = false;
tail._visible = false;
h_body._visible = true;
if (inner_flag != 0) {
h_inner._visible = true;
} else {
h_inner._visible = false;
}
} else {
race_flag = 0;
h_body._visible = false;
h_inner._visible = false;
d_body._visible = true;
if ((shirt_flag == 0) && (skirt_flag == 0)) {
tail._visible = true;
}
if (inner_flag != 0) {
d_inner._visible = true;
} else {
d_inner._visible = false;
cock_change();
}
}
}
function inner_change() {
if (race_flag != 0) {
if (inner_flag != 0) {
cock_flag = 0;
h_inner._visible = true;
} else {
cock_flag = 1;
h_inner._visible = false;
}
} else {
if (inner_flag != 0) {
cock_flag = 0;
d_inner._visible = true;
} else {
cock_flag = 1;
d_inner._visible = false;
}
cock_change();
}
}
function leather_boots_change() {
if (leather_boots_flag != 0) {
leather_boots_flag = 0;
leather_boots._visible = false;
} else {
leather_boots_flag = 1;
leather_boots._visible = true;
}
}
function leather_skirt_change() {
if (leather_skirt_flag != 0) {
leather_skirt_flag = 0;
leather_skirt._visible = false;
} else {
leather_skirt_flag = 1;
leather_skirt._visible = true;
}
}
function wing_change() {
if (shirt_flag == 0) {
if (wing_flag != 0) {
wing_flag = 0;
wing._visible = false;
} else {
wing_flag = 1;
wing._visible = true;
}
}
}
function shirt_change() {
if (shirt_flag != 0) {
if ((race_flag == 0) && (skirt_flag == 0)) {
tail._visible = true;
}
shirt_flag = 0;
shirt._visible = false;
} else {
tail._visible = false;
wing_flag = 0;
wing._visible = false;
shirt_flag = 1;
shirt._visible = true;
}
}
function skirt_change() {
if (skirt_flag != 0) {
if ((race_flag == 0) && (shirt_flag == 0)) {
tail._visible = true;
}
skirt_flag = 0;
skirt._visible = false;
} else {
tail._visible = false;
skirt_flag = 1;
skirt._visible = true;
}
}
function glass_change() {
if (glass_flag != 0) {
glass_flag = 0;
glass._visible = false;
} else {
glass_flag = 1;
glass._visible = true;
}
}
function trident_change() {
if (trident_flag != 0) {
trident_flag = 0;
trident._visible = false;
} else {
trident_flag = 1;
trident._visible = true;
}
}
function cock_change() {
cock_S._visible = false;
cock_L._visible = false;
if (cock_flag == 1) {
cock_S._visible = true;
}
if (cock_flag == 2) {
cock_L._visible = true;
}
}
race_flag = 0;
h_body._visible = false;
d_body._visible = true;
tail._visible = true;
cock_flag = 0;
cock_S._visible = false;
cock_L._visible = false;
inner_flag = 1;
h_inner._visible = false;
d_inner._visible = true;
leather_boots_flag = 1;
leather_boots._visible = true;
leather_skirt_flag = 1;
leather_skirt._visible = true;
wing_flag = 0;
wing._visible = false;
shirt_flag = 0;
shirt._visible = false;
skirt_flag = 0;
skirt._visible = false;
glass_flag = 0;
glass._visible = false;
trident_flag = 1;
trident._visible = true;
_root.menu.onPress = function () {
menu_no = Math.floor(y / 40);
if (menu_no == 0) {
race_change();
} else if (menu_no == 1) {
wing_change();
} else if (menu_no == 2) {
leather_skirt_change();
} else if (menu_no == 3) {
leather_boots_change();
} else if (menu_no == 4) {
shirt_change();
} else if (menu_no == 5) {
skirt_change();
} else if (menu_no == 6) {
if (inner_flag != 0) {
inner_flag = 0;
} else {
inner_flag = 1;
}
inner_change();
} else if (menu_no == 7) {
glass_change();
} else if (menu_no == 8) {
trident_change();
}
};
_root.shadow_button.onPress = function () {
if (race_flag == 0) {
if (cock_flag != 1) {
if (cock_flag == 2) {
cock_S._visible = true;
cock_L._visible = false;
cock_flag = 1;
}
} else {
cock_S._visible = false;
cock_L._visible = true;
cock_flag = 2;
}
}
};
myMouseListener = new Object();
myMouseListener.onMouseMove = function () {
x = _root._xmouse;
y = _root._ymouse;
};
myMouseListener.onMouseDown = function () {
};
Mouse.addListener(myMouseListener);