Board Thread:Questions and Answers/@comment-18929203-20130914090625

Hello,

i am making the Game: The Witch, but i have troubles to make a shot in the correct direction.

My code set the variable "move" to R,L,U and D  and if the touchscreen is pressed, then it

goes to @TCH

Here is the rest of the code for this:

IF MOVE==L THE GOSUB @L ELSE THEN                                                                               IF MOVE==R THEN GOSUB @R ELSE THEN                                                                           IF MOVE==U THEN GOSUB @U ELSE THEN                                                                             IF MOVE==D THEN GOSUB @D ELSE THEN GOSUB @LOOP RETURN

@R

Then comes SPSET, SPOFS And after this how it must move (the right shot must move to the right and so on)

The problem: It always go to @L. When i write IF MOVE==R and so on then it goes to @R. Why it always uses the first one? PLease, Please help me. 