You need to preform the command after you press enter at the next prompt, not doing that will crash the game for real
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