next you see IF ID==0 THEN CONTINUE. What it saying is if it null or 0 for another words to continue on don't show anything because nothing is near player point of view.
next is IF ID==1 THEN BREAK 'WALL it saying stop for loop return to what it was doing before for loop was started because a wall is there.
next your see IF ID>=3 THEN SPSET I,0 'TREASURE

プレイ済み