10 GELLOAD "karta","karta.png"
20 DRAWGEL "karta",0,0
30 IF GAMEA(0)<>0 THEN STOP
40 IF GAMEB(0)<>0 THEN GOTO 60
50 GOTO 20
60 L%=100:AS%=0:HPR%=20
70 X%=460:Y%=100
80 W%=50:Z%=25
90 A%=39:B%=328
100 C%=68:D%=258
110 E%=58:F%=360
120 REM "anim"
130 GELLOAD "hero","hero.png"
140 GELLOAD "1","1.png"
150 GELLOAD "2","2.png"
170 GELLOAD "3","3.png":GELLOAD "5","5.png":GELLOAD "6","6.png":GELLOAD "7","7.png":GELLOAD "8","8.png"
180 GELLOAD "4","4.png":GELLOAD "stop","stop.png"
200 IF UP(0) THEN K%=K%+1
210 IF K%>4 THEN A%=1
220 IF K%=1 THEN SPRITEGEL "hero","1"
230 IF K%=2 THEN SPRITEGEL "hero","2"
240 IF K%=3 THEN SPRITEGEL "hero","3"
250 IF K%=4 THEN SPRITEGEL "hero","4"
260 IF NOT UP(0) THEN K%=0
270 IF K%=0 THEN SPRITEGEL "hero","stop"
280 IF UP(0) THEN Y%=Y%-3
290 IF DOWN(0) THEN J%=J%+1
300 IF J%=1 THEN SPRITEGEL "hero","5"
310 IF J%=2 THEN SPRITEGEL "hero","6"
320 IF J%=3 THEN SPRITEGEL "hero","7"
330 IF J%=4 THEN SPRITEGEL "hero","8.png"
