These three puzzles are stopping me from advancing in this game. If I can't get by these puzzles I'm seriously thinking of chucking the whole game. Ok here's the problem
I have this box with 7 buttons you have to push which scrolls through 3 letters. You have to spell out the word CROATAN. If you get the word wrong, a voice says "Try Again" and then all the letters reset to blank and you start over again. If you get it right, you are supposed go to the next room which is a keypad puzzle.
Well it won't let me go to the next room even when I get the word right. The problem seems to be with this script, but I can't figure out where.
I took this script from the safe script in the Basic Tutorial 2. What am I doing wrong here. Thank you
Code: Select all
setnum (codecorrect ; 0)
if_num (code1 ; 2)
if_num (code2 ; 3)
if_num (code3 ; 2)
if_num (code4 ; 3)
if_num (code5 ; 2)
if_num (code6 ; 3)
if_num (code7 ; 1)
setnum (codecorrect ; 1)
if_num (codecorrect ; 1)
{
loadroom(box 2)
setfocus(none)
playsound (openingbox;50)
break()
}
if_num (codecorrect ; 0)
setobj(Letters1;0)
setobj(Letters2;0)
setobj(Letters3;0)
setobj(Letters4;0)
setobj(Letters5;0)
setobj(Letters6;0)
setobj(Letters7;0)
playsound(try again;50)