Hi everyone,
I’m having trouble with getting a gosub_scene working.
The error I’m getting is:
My gosub scene code (in choicescript_stats) looks like this:
*choice
# I desire to change: gender, orientation, romance and/or friendship variables
*gosub_scene toggles toggles
*goto navigation_menu
#I do not desire to change: gender, orientation, romance and/or friendship variables
*goto navigation_menu
My “toggles” scene code looks like this:
*label toggles
Gender Toggles:
Gender identity is about who you are.
*choice
#Identify the Main Character's gender as male.
*set gender "male"
*set gender1 1
The Main Character's gender is set as "male".
*goto return
#Identify the Main Character's gender as female.
*set gender "female"
*set gender1 2
The Main Character's gender is set as "female".
*goto return
#Identify the Main Character's gender as non-binary
*set gender "non-binary"
*set gender1 3
The Main Character's gender is set as "non-binary".
*goto return
Orientation Toggles:
Sexual orientation is about: who you want to be with, who you’re attracted to, and who you feel drawn to romantically, emotionally, and sexually.
*choice
#Identify the Main Character's sexual orientation as heterosexual.
*set orientation "heterosexual"
*set orientation1 1
The Main Character is attracted to the opposite binary-gender (gender should be set as male or female).
*goto return
#Identify the Main Character's sexual orientation as gay.
*set orientation "gay"
*set orientation1 2
The Main Character is attracted to males.
*goto return
#Identify the Main Character's sexual orientation as lesbian.
*set orientation "lesbian"
*set orientation1 3
The Main Character is attracted to females.
*goto return
#Identify the Main Character's sexual orientation as bisexual.
*set orientation "bisexual"
*set orientation1 4
The Main Character is attracted to both males and females.
*goto return
#Identify the Main Character's sexual orientation as pansexual
*set orientation "pansexual"
*set orientation1 5
The Main Character is attracted to many different gender identities.
*goto return
#Identify the Main Character's sexual orientation as questioning.
*set orientation "questioning"
*set orientation1 6
The Main Character is unsure about their sexual orientation.
*goto return
#Identify the Main Character's sexual orientation as asexual.
*set orientation "asexual"
*set orientation1 7
The Main Character doesn't experience any sexual attraction.
*goto return
#Identify the Main Character's sexual orientation as demisexual
*set orientation "demisexual"
*set orientation1 8
The Main Character is attracted to.
*goto return
Romance Toggle:
*choice
#Enable customized romance arcs.
*set romance "enabled"
*set romance1 1
You have enabled romance arcs.
*goto return
#Disable customized romance arcs.
*set romance "disabled"
*set romance1 2
You have enabled romance arcs.
*goto return
Friendship Toggle
*choice
#Enable customized friendship arcs.
*set friendship "enabled"
*set friendship1 1
You have enabled friendship arcs
*goto return
#Disable customized friendship arcs.
*set friendship "disabled"
*set friendship1 2
You have enabled friendship arcs.
*goto return
*page_break
*label return
Review:
*stat_chart
text gender Gender
text orientation Orientation
text romance Romance
text friendship Friendship
[i]Note — Changes will only be registered if you advance beyond the first choice in the game, once you return to it.[/i]
*return
*finish
I know there are a ton of these types of threads, but I still can not figure out what I am doing wrong.
The random test is what fails.