Im writing a game with around 25 levels. so far, im on level 4. and im already using over 1000 lines with multiple commands on each line. I am using a level code system, and for some reason, when ever i try to put in lvl4, you CANT go to lvl's 1,2,and 3. i pretty much have somthing that looks like this
input "whats the code? ",lvlcode$
if lvlcode$="123456";lvl2pass=1;print "you code woks, lvl 2 unlocked"
wait 1000;endif
if lvlcode$="234231";lvl3pass=1;print "you code woks, lvl 3 unlocked"
wait 1000;endif
if lvlcode$="654321";lvl4pass=1;print "you code woks, lvl 4 unlocked"
wait 1000;endif
if lvl2pass=1;goto lvl2;endif
if lvl3pass=1;goto lvl3;endif
if lvl4pass=1;goto lvl4;endif
that isnt my exact code, but it is close. no matter what code i use, i always endup at lvl 4. even when i take out the goto in lvl4, it STILL brings me there. is it possible that my code is confused? (stupid i know) but can the # of lines affect the outcome of code reconistion?