10 GELLOAD "L1","L1.png"
20 GELLOAD "L2","L2.png"
30 GELLOAD "R1","R1.png"
40 GELLOAD "R2","R2.png"
50 GELLOAD "T","T.png"
60 GELLOAD "T1","T1.png"
70 X%=120:Y%=120:P%=1
71 IF INKEY(0)=0 THEN SPRITEGEL "Z","T"
80 IF RIGHT(0)<>0 THEN X%=X%+1:P%=P%+1:SLEEP 20
90 IF LEFT(0)<>0 THEN X%=X%-1:P%=P%-1:SLEEP 20
91 IF P%=1 THEN SPRITEGEL "Z","T"
100 IF P%=2 THEN SPRITEGEL "Z","R1"
110 IF P%=3 THEN SPRITEGEL "Z","R2"
120 IF P%=0 THEN SPRITEGEL "Z","T1"
121 IF P%=-1 THEN SPRITEGEL "Z","L1"
122 IF P%=-2 THEN SPRITEGEL "Z","L2"
123 IF P%>3 THEN P%=1
124 IF P%<-2 THEN P%=0
130 IF X%>130 THEN X%=120
131 IF X%<60 THEN X%=120
132 SPRITEMOVE "Z",X%,Y%
133 GOTO 71
