It is just a typo, in the function ballmovement(), change "balx" to "ball_x" and comment out the original upwards movement:
;This function is activated from the "Move=" code if the = value is 1 this is activated Function ballmovement() If move=2 Then ball_y = ball_y + -20 ; ball_y = ball_y + -10 ;If ball_y=0 Then ball_y=880 ball_x=player_x+40 move=0 ball_x = ball_x + bal_xdir*5 ball_y = ball_y + bal_ydir*5 If ball_y < 0 Then bal_ydir = 1 If ball_y > 1040 Then bal_ydir = -1 If ball_x < 0 Then bal_xdir = 1 If ball_x > 1670 Then bal_xdir = -1 End Function