As that syntax error came from the game itself not being able to handle the input
So basically, the part with the hint, you can only press enter, or it will syntax error, you can tell because of the “? poke 53248,1” when you should have done that at the ready prompt