10 SCREEN 7: COLOR 3: REM 18/12/96
12 ON ERROR GOTO 510
15 REM shell"my.exe"
20 SHELL "pcxview.exe rekl.pcx /g /k /q"
30 IF INKEY$ = "" THEN 30
40 DIM F(1000)
50 SHELL "pcxview.exe din2.pcx /g /k /q"
51 IF INKEY$ = "" THEN 51
60 SHELL "pcxview.exe din.pcx /g /k /q"
80 GET (115, 110)-(132, 126), F: X5 = 115: Y5 = 110: REM  PUT (115,110),F,XOR
90 D$ = INKEY$: IF D$ = "" THEN 90
100 XX = 0: YY = 0
110 IF D$ = "8" OR D$ = CHR$(0) + CHR$(72) THEN IF Y5 > 6 THEN XX = 0: YY = -5 ELSE XX = 0: YY = 0
120 IF D$ = CHR$(0) + CHR$(80) OR D$ = "2" THEN IF Y5 < 175 THEN XX = 0: YY = 5 ELSE XX = 0: YY = 0
130 IF D$ = CHR$(0) + CHR$(75) OR D$ = "4" THEN IF X5 > 6 THEN XX = -5: YY = 0 ELSE XX = 0: YY = 0
140 IF D$ = CHR$(0) + CHR$(77) OR D$ = "6" THEN IF X5 < 290 THEN XX = 5: YY = 0 ELSE XX = 0: YY = 0
150 IF D$ = CHR$(13) THEN SCREEN 0: WIDTH 40: GOTO 170
160 PUT (X5, Y5), F, XOR: X5 = X5 + XX: Y5 = Y5 + YY: PUT (X5, Y5), F, XOR: GOTO 90
170 IF X5 < 107 AND Y5 < 96 THEN GOSUB 230: RUN "dnos02"
180 IF X5 > 107 AND X5 < 208 AND Y5 < 96 THEN GOSUB 230: RUN "zad101"
190 IF X5 > 208 AND Y5 > 96 THEN GOSUB 230: SCREEN 7: COLOR 3: SHELL "a.exe spasibo.fli": IF INKEY$ = "" THEN 510
200 IF X5 > 208 AND Y5 < 96 THEN GOSUB 230: RUN "nblok02"
210 IF X5 < 107 AND Y5 > 96 THEN GOSUB 230: RUN "naklon01"
220 IF X5 > 107 AND X5 < 208 AND Y5 > 96 THEN GOSUB 230: RUN "mam293"
230 RETURN
500 i$ = INKEY$: IF i$ = "" THEN 500
510 RUN "setk"
SYSTEM

