Personal Computer News


Syntax Errors

 
Published in Personal Computer News #079

Syntax Errors

Adventure games are supposed to be a challenge, but there is a limit. Amstrad users who hacked in The Treasure Of Middle Earth from issue 76 will probably have reached it. The solution, which we humbly offer now, is to add to line 910 so that it reads:

 910 IF P%=34 AND R=8 THEN PRINT X$(25):S%(34,3)=35:b%(5)=-1:b%(27)=-1

To get past the irritating man who says: "You won't get past me that easily!", try changing line 870 to read:

 870 IF P%=27 AND (R=1 OR R=2) THEN PRINT X%(41):S%(27,2)=39:S%(27,3)=28:
G$(22)=X%(58)

In this line, changing R=1 OR R=2 to R=18 OR R=19 may also be helpful.