When doing *if values, it is best to have it look something like
*if (gender = "Male")
it keeps the code clean and confuses the system less. I’m not sure why, but sometimes the engine just does not like *if statements. They’re very…iffy
(i crack myself up)
In addition, it looks like your spacing might be slightly off – are you using a mixture of tabs and spaces? I would definitely do one or the other. Either that, or the forums are making everything look wonky, today.
In addition, in your code, you have further spacing issues –
when not double spacing or *page_break ing, I’ve noticed that choicescript sometimes reads *if incorrectly. This is completely ignoring that you should have used a *label – I’ll get to that point in a moment. It happens a lot when creating complex stats screens (lord, was ~that~ a fun learning curve). *if is a very complex part of the code, in that the system can break completely if the spacing isn’t exactly right – even if it ~looks~ right (IE: you’re using the correct number of tabs, but for some reason are still getting an error – this is due to needing a blank line or two before your *if statement)
now, as for *label, it should always have the same spacing as your previous *goto (or the previous line. my *labels are usually right after a *goto) – otherwise, the engine doesn’t read it and produces an error.
and, btw, using true/false for gender is just going to piss you off. It’s way easier to use “” statements, so that you can do something like
It wouldn't surprise you if it was one of the younger...
*choice
#boys you room with.
*set gender "male"
*set twinname "Marlon"
*set their "his"
*set theirs "his"
*set them "him"
*set they "he"
*set themself "himself"
*set child "son"
*set mister "mister"
*goto orphanintro2
in the above, any time you use ${they} it would show up as “he” instead. This way, you don’t have to write the same passage 3+ times to provide for each gender 