You have a great fix, which I was struggling to implement -- i only had IF G$="4" THEN GOTO 2050. Your change also fix the diagonal movements (1 and 7 keys)
Code: Select all
2065 IF (G$="1" OR G$="4" OR G$="7") AND PEEK (W+V-1)=118 THEN GOTO 2050
But I think you also need this line for the east border Safe Castle:
Code: Select all
IF (G$="3" OR G$="6" OR G$="9") AND PEEK (M+V+1)=118 THEN GOTO 2050