So smilebasic has a sort-of autoscroll function built into the PRINT command. So when the program prints "HELLO! : D" over and over, eventually it reaches the bottom limit of where smilebasic can print and it scrolls all of the text up. To fix this, you just need to fix the LOCATE command just before (at line 14). Just include a "Y" value and it'll work.