I haven’t used choicescript for over a month so have started a new game and have got an error that I cannot spot where the problem is.
The file says it is in line 1121 but I have only got to line 100?
Here is the startup code
***
You stand outside the gates of St Gregory’s.
The silence of the graveyard combined with
the mist clinging to the ground to
give the place an creepy atmosphere.
You reach out and pull open the wrought iron gates which open with a loud creak.
Stepping into the cemetery you stare at the rows of graves. You glance briefly at the wet grass at your feet.
*choice
#My suit is going to be ruined.
*set gender “Male”
*set colleague “Zoe”
*goto cemetery
#My shoes are going to be ruined.
*set gender “Female”
*set colleague “Dean”
*goto cemetery
*label cemetery
Carefully you continue further into the cemetery.
you study each grave as you pass. You are surprised
to see most of them are quite ancient.
The dates of death ranging from the early 1800s to the mid 1900s.
This didn’t bode well for you. You make a mental note
to have a word with ${boss}. He was going to
have to charge the client more for the job.
You finally locate what you are after, the soil
of the grave has recently been disturbed.
You pull a box out of your bag and pull out three seperate parts.
You quickly fix them together and complete the shovel.
The sound of your phone disturbs the silence.
You snatch it out your pocket and answer…
[How do you introduce yourself?]
*choice
*input_text
*page_next
“Hello, ${name} speaking. Who is this?”
“Sorry to bother you, ${colleague} gave me your number said you could help me.”
“I’m in the middle of a job now, ring 426867 and speak to Alexander. He will take the details.”
“Thank you.”
The stranger hung up.
*page_next
You glance at your watch it is nearly dark. Only a few more minutes left to wait.
While you wait I guess we should explain a few things.
You are special. One of the few people who know the truth, that monsters exist.
In fact you don’t just know they exist you actually track them and destroy them.
Knowing monsters exist, do you believe in a God?"
*choice
#Of course. Evil cannot exist without good.
*set faith +1
*goto zombie
#No, how can God stand by while monsters kill innocent people.
*goto zombie
*label zombie
The moonlight catches you by surprise, you must have spaced out. You just have enough time to grab your bag just as a hand bursts from the ground.
*page_break
The hand reaches for the sky, its nails torn and bloody. It takes the man a few minutes to fully drag itself out of his grave.
You are looking at a zombie, you glance it the headstone.
Here lies Gawain Dumont. Born 1820 Died 1845. He died in battle protecting this land. A hero will will always remember.
“Forgive me Gawain, but I must put you to rest now.”
The zombie just stares at you, then it staggers toward you…
*page_next
Zombies are definately the easiest of the monsters you hunt. They are normally strongest when they are first revived
slowly getting weaker the longer they exist. However the older zombies are an exception, as they are rotted away already.
The magic that revives the body restories them to how they used to be. The ancient zombies could become Zombie Lords who regained their intelligence.
Killing a zombie requires destroying their brain, however some hunters have learnt to use supernatural energies.
*choice
#I’ll use my machete to cut its head off.
*set physical +1
*goto fight
#I’ll use a gun.
*set skill +1
*goto fight
#I prefer to use a spell, if I get the chance I would like to break the magic that has revived the body.
*set mental +1
*goto fight
*label fight
The zombie is near enough now for the stench to reach your nose. It almost overwhelms you and you have to stop yourself retching.