10 gelload "logo","logo.jpg":gelload "1","1.png" 20 gelload "2","2.png":b%=0 30 gelload "logo2","logo2.png":gelload "rob","rob.png" 40 gelload "f","f.png":gelload "enemy","enemy.png" 50 x%=20:y%=200:dvig%=300:e%=250:n%=200:PW "mi.mid":setcolor 0,0,0 60 drawgel "logo",0,dvig%:sleep 30 70 dvig%=dvig%-1 80 if dvig%=0 then dvig%=300:goto 100 90 goto 60 100 drawgel "logo2",dvig%,0:sleep 30 110 dvig%=dvig%-1 120 if dvig%=0 then goto 140 130 goto 100 140 drawgel "1",0,0 150 if inkey(0)=-6 then goto 190 160 if inkey(0)=-7 then end 170 if fire(0) then goto 190 180 goto 150 190 cls:setfont 3:drawstring "LOADING...",100,150 200 setcolor 0,255,255 210 sleep 3000 220 drawgel "2",0,0 230 if inkey(0)=-6 then goto 260 240 if inkey(0)=-7 then end 250 goto 230 260 spritegel "rob","rob" 270 spritegel "enemy","enemy" 280 drawgel "f",b%,0 290 spritemove "rob",x%,y%:sleep 20 300 spritemove "enemy",e%,n%:sleep 20 310 e%=e%-1 320 if spritehit ("rob","enemy") then goto 49 330 if e%=-5 then e%=250 340 if x%=-1 then x%=0 350 if right(0) then x%=x%+1:b%=b%-1 360 if left(0) then x%=x%-1 370 if b%=-10 then b%=0 380 if up(0) then goto 400 390 goto 280 400 spritemove "rob",x%,y%:sleep 20 410 y%=y%-1 420 if y%=100 then goto 460 430 if right(0) then x%=x%+1 440 if left(0) then x%=x%-1 450 goto 400 460 spritemove "rob",x%,y%:sleep 20 470 y%=y%+2 480 if y%=200 then goto 280 490 goto 460