Script Coding Help

Hi! I ran into a problem while I was coding this scene. Could you please help me? :blush: :innocent: :star:

1 Like

I think u deleted a bracket while fixing something.

1 Like

You forgot a closing bracket on line 1065

1 Like

I correct it and now it says that there is a problem on line 1048 :thinking:

1 Like

You forgot the closing bracket on 1053 too.

1 Like

Oh god! My brain is going to explode :rofl: Thank you for your help :pray:t2: :heart:

1 Like

Lmao, no problem its easy to overlook those things🙈

Btw, It didn’t work out :thinking: :disappointed:

1 Like

That should be the problem though :thinking:

can you copy and paste the coding so i can help?

Sure! Just a second :innocent:

label rules_menu

NARR
Do you remember the rules? You can replay the Alarick’s speech.

choice
“Yes, I remember! Go on to story.”{

NARR
You said you remember the rules.Is that correct?

choice
“Yes, I chose correctly.”{

goto fight_A
}

“No, I clicked wrong!”{
goto rules_menu
}
“No, I’don’t remember. Show me Alarick’s speech again.”{

NARR
You said you don’t remember the rules.Is that correct?
choice
“Yes, I chose correctly.”{

NARR
Okay dear reader.
}

    ALARICK (talk_fight_angry_loop)
If I am | bold, color:forestgreen |staring a specific place at your body|reset|, it means that I am planning to | bold, color:forestgreen |hit|reset| there.
    ALARICK
When you realize this, you should | bold , color:forestgreen |dodge|reset| so that you can save yourself from my fists.
    ALARICK
But if your enemy estimate your move and dodge, you should | bold, color:forestgreen |kick|reset| him/her.
    ALARICK
And if I am | bold , color:forestgreen |vulnerable or distracted |reset| for in a very short period of time...
    ALARICK
You must turn into your advantage and | bold , color:forestgreen |attack|reset| me.

&ALARICK is idle_fight_angry_loop
}
“No, I clicked wrong!” {
goto rules_menu
}

label fight_A

ALARICK
Are you ready?

I think there is a tiny problem too here and it probably causes the script error as well :thinking: but thank you again :heart:

label rules_menu

NARR
Do you remember the rules? You can replay the Alarick’s speech.

choice
“Yes, I remember! Go on to story.”{

NARR
You said you remember the rules.Is that correct?

choice
“Yes, I chose correctly.”{

goto fight_A
}

“No, I clicked wrong!”{
goto rules_menu
}
“No, I’don’t remember. Show me Alarick’s speech again.”{

NARR
You said you don’t remember the rules.Is that correct?
choice
“Yes, I chose correctly.”{

NARR
Okay dear reader.

ALARICK (talk_fight_angry_loop)

If I am | bold, color:forestgreen |staring a specific place at your body|reset|, it means that I am planning to | bold, color:forestgreen |hit|reset| there.
ALARICK
When you realize this, you should | bold , color:forestgreen |dodge|reset| so that you can save yourself from my fists.
ALARICK
But if your enemy estimate your move and dodge, you should | bold, color:forestgreen |kick|reset| him/her.
ALARICK
And if I am | bold , color:forestgreen |vulnerable or distracted |reset| for in a very short period of time

ALARICK
You must turn into your advantage and | bold , color:forestgreen |attack|reset| me.
&ALARICK is idle_fight_angry_loop
}
“No, I clicked wrong!” {
goto rules_menu
}
}
label fight_A

ALARICK
Are you ready?

maybe try this?

You need to double close the bracket here right?
Since you have to close the first choice and the choice in the choice?
Or am I just being stupid again? :thinking:

1 Like

i closed it at the end
is the “No, I’don’t remember
” part a third choice or separate??

There is a problem on line 1059 and it says Expected Character or Scene Change

yeah at this part the problem occurs

This right?

Yes I remember
-clicked wrong
-go to story
No I dont remember
-see rules again
-no clicked wrong (go on to story)

Yeah like this then:

“No, I clicked wrong!”{
goto rules_menu
}
}“No, I’don’t remember. Show me Alarick’s speech again.”{