I need help coding my outfit game. I’m already using this template and guide but - I can’t seem to figure out why my code isn’t working.
I want to have multiple of these games in a chapter and it always goes back to the very first game that was correctly coded.
My original code looks like this;
# SIDE ARROWS DRESSING GAME 1 - 3 OUTFITS {
@YOU stands screen center and YOU faces right and YOU starts idle
&ui ARROW_TAP_RIGHT create and ui ARROW_TAP_RIGHT opacity 1 in 0 and ui ARROW_TAP_RIGHT scales to 0.325 0.325 in 0 and ui ARROW_TAP_RIGHT shifts to 215 340 in zone 1 in 0 and ui ARROW_TAP_RIGHT to layer 5
&ui ARROW_TAP_LEFT create and ui ARROW_TAP_LEFT opacity 1 in 0 and ui ARROW_TAP_LEFT scales to 0.325 0.325 in 0 and ui ARROW_TAP_LEFT shifts to 215 265 in zone 1 in 0 and ui ARROW_TAP_LEFT to layer 5
&ui HEART_CHECK_TAP create and ui HEART_CHECK_TAP opacity 0 in 0 and ui HEART_CHECK_TAP scales to 0.325 0.325 in 0 and ui HEART_CHECK_TAP shifts to 215 170 in zone 1 in 0 and ui HEART_CHECK_TAP to layer 5
NARRATOR
Time to chose an outfit!
tappable
"ARROW_TAP_LEFT" {
&ui HEART_CHECK_TAP opacity 1 in 0.3
goto arrow_outfit_tap_3_x
} "ARROW_TAP_RIGHT" {
&ui HEART_CHECK_TAP opacity 1 in 0.3
goto arrow_outfit_tap_1_x
}
label arrow_outfit_tap_1_x
@YOU =1
################## CHANGE OUTFIT NAME BELOW TO YOUR 1ST OUTFIT ###############
@YOU changes into YOU_01
tappable
"ARROW_TAP_LEFT" {
goto arrow_outfit_tap_3_x
} "ARROW_TAP_RIGHT" {
goto arrow_outfit_tap_2_x
} "HEART_CHECK_TAP" {
goto arrow_outfit_check_x
}
label arrow_outfit_tap_2_x
@YOU =2
################## CHANGE OUTFIT NAME TO YOUR 2ND OUTFIT ###############
@YOU changes into YOU_02
tappable
"ARROW_TAP_LEFT" {
goto arrow_outfit_tap_1_x
} "ARROW_TAP_RIGHT" {
goto arrow_outfit_tap_3_x
} "HEART_CHECK_TAP" {
goto arrow_outfit_check_x
}
label arrow_outfit_tap_3_x
@YOU =3
################## CHANGE OUTFIT NAME TO YOUR 3RD OUTFIT ###############
@YOU changes into YOU_03
tappable
"ARROW_TAP_LEFT" {
goto arrow_outfit_tap_2_x
} "ARROW_TAP_RIGHT" {
goto arrow_outfit_tap_1_x
} "HEART_CHECK_TAP" {
goto arrow_outfit_check_x
}
label arrow_outfit_check_x
&ui ARROW_TAP_LEFT opacity 0 in 0.1 and ui ARROW_TAP_RIGHT opacity 0 in 0.1 and ui HEART_CHECK_TAP opacity 0 in 0.1
@YOU is primp_neutral
NARRATOR
Are you sure you want to wear this outfit?
choice
<PREMIUM> "Yes!" {
readerMessage Follow @dara.amarie.ep on Instagram! with messageTitle Arrows Dressing Game Template Credit
@YOU is kiss_blow_happy_atcamera
} "No, let me try a different outfit." {
&YOU starts idle
&ui ARROW_TAP_LEFT opacity 1 in 0.3 and ui ARROW_TAP_RIGHT opacity 1 in 0.3 and ui HEART_CHECK_TAP opacity 1 in 0.3
if (YOU =1) {
goto arrow_outfit_tap_1_x
} elif (YOU =2) {
goto arrow_outfit_tap_2_x
} else {
goto arrow_outfit_tap_3_x
}
}
# SIDE ARROWS DRESSING GAME - 3 OUTFITS }
And the one that is switching back to the first outfits (above) looks like this;
# SIDE ARROWS DRESSING GAME 2 - 3 OUTFITS {
@YOU stands screen center and YOU faces right and YOU starts idle
&ui ARROW_TAP_RIGHT create and ui ARROW_TAP_RIGHT opacity 1 in 0 and ui ARROW_TAP_RIGHT scales to 0.325 0.325 in 0 and ui ARROW_TAP_RIGHT shifts to 215 340 in zone 1 in 0 and ui ARROW_TAP_RIGHT to layer 5
&ui ARROW_TAP_LEFT create and ui ARROW_TAP_LEFT opacity 1 in 0 and ui ARROW_TAP_LEFT scales to 0.325 0.325 in 0 and ui ARROW_TAP_LEFT shifts to 215 265 in zone 1 in 0 and ui ARROW_TAP_LEFT to layer 5
&ui HEART_CHECK_TAP create and ui HEART_CHECK_TAP opacity 0 in 0 and ui HEART_CHECK_TAP scales to 0.325 0.325 in 0 and ui HEART_CHECK_TAP shifts to 215 170 in zone 1 in 0 and ui HEART_CHECK_TAP to layer 5
NARRATOR
Time to chose an outfit!
tappable
"ARROW_TAP_LEFT" {
&ui HEART_CHECK_TAP opacity 1 in 0.3
goto arrow_outfit_tap_3_x
} "ARROW_TAP_RIGHT" {
&ui HEART_CHECK_TAP opacity 1 in 0.3
goto arrow_outfit_tap_1_x
}
label arrow_outfit_tap_1_x
@LOUISE =1
################## CHANGE OUTFIT NAME BELOW TO YOUR 1ST OUTFIT ###############
@YOU changes into YOU_swim1
tappable
"ARROW_TAP_LEFT" {
goto arrow_outfit_tap_3_x
} "ARROW_TAP_RIGHT" {
goto arrow_outfit_tap_2_x
} "HEART_CHECK_TAP" {
goto arrow_outfit_check_x
}
label arrow_outfit_tap_2_x
@LOUISE =2
################## CHANGE OUTFIT NAME TO YOUR 2ND OUTFIT ###############
@YOU changes into YOU_swim2
tappable
"ARROW_TAP_LEFT" {
goto arrow_outfit_tap_1_x
} "ARROW_TAP_RIGHT" {
goto arrow_outfit_tap_3_x
} "HEART_CHECK_TAP" {
goto arrow_outfit_check_x
}
label arrow_outfit_tap_3_x
@LOUISE =3
################## CHANGE OUTFIT NAME TO YOUR 3RD OUTFIT ###############
@YOU changes into YOU_swim3
tappable
"ARROW_TAP_LEFT" {
goto arrow_outfit_tap_2_x
} "ARROW_TAP_RIGHT" {
goto arrow_outfit_tap_1_x
} "HEART_CHECK_TAP" {
goto arrow_outfit_check_x
}
label arrow_outfit_check_x
&ui ARROW_TAP_LEFT opacity 0 in 0.1 and ui ARROW_TAP_RIGHT opacity 0 in 0.1 and ui HEART_CHECK_TAP opacity 0 in 0.1
@YOU is primp_neutral
NARRATOR
Are you sure you want to wear this outfit?
choice
<PREMIUM> "Yes!" {
readerMessage Follow @dara.amarie.ep on Instagram! with messageTitle Arrows Dressing Game Template Credit
@YOU is kiss_blow_happy_atcamera
} "No, let me try a different outfit." {
&YOU starts idle
&ui ARROW_TAP_LEFT opacity 1 in 0.3 and ui ARROW_TAP_RIGHT opacity 1 in 0.3 and ui HEART_CHECK_TAP opacity 1 in 0.3
if (YOU =1) {
goto arrow_outfit_tap_1_x
} elif (YOU =2) {
goto arrow_outfit_tap_2_x
} else {
goto arrow_outfit_tap_3_x
}
}
# SIDE ARROWS DRESSING GAME - 3 OUTFITS }
Help is appreciated!

