To also add onto what Autz had said I would have added this to the end of the code:
VYSNC 1
CLS
What "VSYNC" will miss 1 frame out from your program in this case it's when you have to clear everything off screen to be painted on again. This will mean you won't be able to see the character disappear from the screen.
0そうだね 未プレイ