I'm having trouble getting a block of code to work I'd hoped someone could help me with.
It's basic Twine 2 Harlowe. I'm just checking a score, then looping back until one of the characters has won. Once one does, depending on the outcome, you go to a win or lose screen.
PROBLEM: It just skips to the first passage listed, regardless of scores. Seems to run this:
(goto: "D1.0 - END GAME : Won")
CODE IN QUESTION
Duder = $dScore
Blowhard = $bScore
(if: $dScore >= 3) [ (goto: "D1.0 - END GAME : Won")]
(elseif: $bScore >= 3) [(goto: "D1.0 - END GAME : Lost")]
(else:)[(goto: "D1.0 - BB NewRound")]
The var iterates in a previous passage, ex: (set: $dScore +=1)
Anyone know what's wrong?
Comments