I think you want to press a button and go to a loop, right?
Use IF BUTTON(2) AND #A THEN GOTO @LOOP. I don't see why you saving whatever text the player puts in INPUT into YES$, I think your trying to have the player input "Yes" to have the game started, to that you'll have to use INPUT "Play" ; VARIABLE$
IF VARIABLE$=="Yes" THEN GOTO @LOOP
0そうだね プレイ済み