Coding error (Need help)

I’m trying to allow the readers to pick a skating outfit, but I’ve played through it, and after I pick an outfit, the hair option pops up when I didn’t put it there. I think it’s going back and playing another part of my story. I’m not understanding why this is happening.

Here’s the part:

#ARROWS DRESSING GAME - 3 OUTFITS {
readerMessage Pick your fit but w skates🛼! You’ll be able to change back after🙃.
&ui BLACK ARROW LEFT create and ui BLACK ARROW LEFT scales to 0.8 0.8 in 0 and ui BLACK ARROW LEFT shifts to 7 187 in 0 and ui BLACK ARROW LEFT opacity 1 in 0
&ui BLACK ARROW RIGHT create and ui BLACK ARROW RIGHT scales to 0.8 0.8 in 0 and ui BLACK ARROW RIGHT shifts to 250 187 in 0 and ui BLACK ARROW RIGHT opacity 1 in 0
&ui BLUE CHOOSE THIS BUTTON create and ui BLUE CHOOSE THIS BUTTON scales to 0.4 0.4 in 0 and ui BLUE CHOOSE THIS BUTTON shifts to 75 110 in 0 and ui BLUE CHOOSE THIS BUTTON opacity 0 in 0

tappable
“BLACK ARROW LEFT” {
&ui CHOOSE opacity 0.8 in 0.1
goto tap_outfit_4
} “BLACK ARROW RIGHT” {
&ui BLUE CHOOSE THIS BUTTON opacity 0.8 in 0.1
goto tap_outfit_4
}

label tap_outfit_4
@TAMIA =4
################## CHANGE OUTFIT NAME TO YOUR 1ST OUTFIT ###############
@TAMIA changes into grey skirt fit w gold jewelry and skates
@KALEB changes into grey fit w nose ring boy and skates
@TAY changes into cherry fit tay w skates
@JASON changes into cherry fit boy w nose ring and skates
@JASON changes hair into Shoulder Length Locks Hair
@CAMERON changes into purple hoodie jacket fit boy w skates
@JAYLA changes into purple cropped shirt fit w skates
@JAYLA changes hair into Natural Curly Pulled Updo Hair
@PEARL changes into pink casual jacket fit w silver jewelry and skates
@PEARL changes hair into Messy Sock Bun
@JAMES changes into white casual fit w jewelry and watch boy w skates

tappable
“BLACK ARROW LEFT” {
goto tap_outfit_6
} “BLACK ARROW RIGHT” {
goto tap_outfit_5
} “BLUE CHOOSE THIS BUTTON” {
goto tap_outfit_choose_2
}

label tap_outfit_5
@TAMIA =5
################## CHANGE OUTFIT NAME TO YOUR 2ND OUTFIT ###############
@TAMIA changes into light blue denim dress fit w gold jewelry and skates
@KALEB changes into light blue and white jacket fit boy w nose ring and skates
@TAY changes into cherry fit tay w skates
@JASON changes into cherry fit boy w nose ring and skates
@JASON changes hair into Shoulder Length Locks Hair
@CAMERON changes into purple hoodie jacket fit boy w skates
@JAYLA changes into purple cropped shirt fit w skates
@JAYLA changes hair into Natural Curly Pulled Updo Hair
@PEARL changes into pink casual jacket fit w silver jewelry and skates
@PEARL changes hair into Messy Sock Bun
@JAMES changes into white casual fit w jewelry and watch boy w skates

tappable
“BLACK ARROW LEFT” {
goto tap_outfit_6
} “BLACK ARROW RIGHT” {
goto tap_outfit_6
} “BLUE CHOOSE THIS BUTTON” {
goto tap_outfit_choose_2
}

label tap_outfit_6
@TAMIA =6
################## CHANGE OUTFIT NAME TO YOUR 3RD OUTFIT ###############
@TAMIA changes into black and white striped romper fit w gold jewelry and skates
@KALEB changes into black and white jacket fit boy w nose ring and skates
@TAY changes into cherry fit tay w skates
@JASON changes into cherry fit boy w nose ring and skates
@JASON changes hair into Shoulder Length Locks Hair
@CAMERON changes into purple hoodie jacket fit boy w skates
@JAYLA changes into purple cropped shirt fit w skates
@JAYLA changes hair into Natural Curly Pulled Updo Hair
@PEARL changes into pink casual jacket fit w silver jewelry and skates
@PEARL changes hair into Messy Sock Bun
@JAMES changes into white casual fit w jewelry and watch boy w skates
tappable
“BLACK ARROW LEFT” {
goto tap_outfit_5
} “BLACK ARROW RIGHT” {
goto tap_outfit_4
} “BLUE CHOOSE THIS BUTTON” {
goto tap_outfit_choose
}

label tap_outfit_choose_2
&ui BLACK ARROW LEFT opacity 0 in 0.1 and ui BLACK ARROW RIGHT opacity 0 in 0.1 and ui BLUE CHOOSE THIS BUTTON opacity 0 in 0.1
@TAMIA is primp_neutral
@speechbubble is 165 260 to 100%
NARRATOR
Are you sure you want to wear this outfit?
choice
“Yes!” {
readerMessage Follow @dara.amarie.ep on Instagram! with messageTitle Arrows Dressing Game Template Credit
@TAMIA is flirt_wink_subtle_atcamera

} “No, let me try the others” {

&TAMIA starts idle_shiftweight_neutral_loop

&ui BLACK ARROW LEFT opacity 1 in 0.1 and ui BLACK ARROW RIGHT opacity 1 in 0.1 and ui BLUE CHOOSE THIS BUTTON opacity 0.8 in 0.1

if (TAMIA =4) {
goto tap_outfit_4

} elif (TAMIA =5) {
goto tap_outfit_5

} else {
goto tap_outfit_6
}
}

You forgot to add the _2 at the end of this label for the 3rd outfit of this template, so it’s going back to the label of the first template

1 Like

thank you so much!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.