Outfit changing prob

hello! can someone help me with this prob? after the character got dressed, it just doesn’t move on to the next scene.

don’t mind laptop lol

#only write label once.

label dress_end

if (DRESS =0){

NARR
You need to choose an outfit first.

goto dress

}else{

}

@GIRL exits right

**#add else to the code. The else should always be the last option when using if/elif/else or if/else to remember a choice for points, or any other method like gains. For your code, I’m assuming, they gain a point if they change (so like @DRESS =1 for each option) but if they choose CHECK, and didn’t change, it will tell them to choose something because they sit at zero points. Before the dressing game label of label dress, you should write @DRESS =0 so:

@DRESS =0

label dress

#dressing game here

#Do this to avoid any glitches. More info here:

It’s also best to test on the app. Another helpful guide: HOW TO: Reset Story Progress + Bonus Stuff :blob_sun:

Point for each option example using a portion of code:

}“Formal Blue”{
@GIRL changes into formal blue
@DRESS =1
goto dress
}

2 Likes

i did the same thing but its still not moving to another scene.

Add this to the beginning of the template, what I bolded:

@DRESS =0

label dress

tappable “ARROW LEFT”{

#and add this to each choice, so when she changes into sleepwear, write @DRESS =1 for every time she does, formal blue, @DRESS =2 for every option she does, third option - @DRESS =3 for every one.

Example:

label tap1
tappable
“LEFT ARROW”{

@GIRL changes into sleepwear

@DRESS =1

goto dress

}“RIGHT ARROW”{

@GIRL changes into formal blue

@DRESS =2

goto dress

}

#OR:


Remove lines 1674 - 1680 so the if/else coding so it’s just:

label dress_end

@GIRL exits right

1 Like

its working now. tysm! :heart:

1 Like