function|script|ChangeSex
{
mes "Please select a character gender:";
menu
"Female.", L_Female,
"Male.", L_Male,
"Non-binary.", L_NonBinary;
L_Female:
set @sex, 0;
goto L_Change;
L_Male:
set @sex, 1;
goto L_Change;
L_NonBinary:
set @sex, 3;
goto L_Change;
L_Change:
set Sex, @sex;
return;
}