1 REM すこしゲームバランスをかえてみた 2 REM 2015/05/20 by akky 3 REM SEをつけてみた 4 REM 2015/05/23 by akky 100 REM---initialize--- 110 SCREEN 1,1,1:CONSOLE ,,0,0:CLS 120 CLEAR 50,&HCFFF:GOSUB 740 130 GOSUB 540:SC=0:Y=6:X=15:LASER=3:LEVEL=1:OLDLEVEL=1 140 PLAY "t120l16o6cge-b-o5face-r8e- ","t120l16o4l16gb-cge-cac16r8c16 150 TI=TIME 160 LOCATE1,9:PRINT "LASER:";LA; 170 GOSUB 470 180 REM----main routine---- 190 LEVEL=INT((TIME-TI)/1024/10)+1 200 IF OLDLEVEL20)*3 250 Y=Y+(S=1)*2+(S=2)*2+(S=8)*2-(S=5)*2-(S=4)*2-(S=6)*2 260 Y=Y-(Y<2)*2+(Y>6)*2 270 IF T=1 AND LASER>0 THEN GOSUB490 280 EXEC &HD000:EXEC &HD038 290 LOCATE 4,0:PRINT RIGHT$(" "+STR$(SC)+"0",6); 300 IFSCREEN (1,Y)= 22 THEN 630 310 IFSCREEN(X,15)= 23 THEN 630 320 IFSCREEN (1,Y)=115 THEN LASER=LASER+1:GOSUB420 330 LOCATE1,Y :PRINT "o"; 340 LOCATEX,15:PRINT "oo"; 350 IF RND(1).9 THENLOCATE30,INT(RND(1)*3+1)*2:PRINT"s"; 370 LOCATE 0,8:PRINT "///////////| | | |///////////"; 380 IF RND(1)HS THEN HS=SC 700 A$=INKEY$:IF A$="Y" OR A$="y" THEN CLS:GOTO 130 710 IF A$="N" OR A$="n"THEN END 720 GOTO 700 730 REM ----machine word--- 740 IF PEEK(&HD000)=&HAF AND PEEK(&HD008)=&HA0 THEN RETURN 750 FOR I=&HD000 TO &HD047:READ A$:POKE I,VAL("&H)+A$):NEXT:RETURN 760 DATA AF,32,60,C2,32,80,C2,32 770 DATA A0,C2,32,C0,C2,32,E0,C2 780 DATA 21,41,C2,11,40,C2,01,AF 790 DATA 00,ED,B0,00,00,00,00,00 800 DATA AF,06,17,32,5F,C2,78,32 810 DATA 7F,C2,AF,32,9F,C2,78,32 820 DATA BF,C2,AF,32,DF,C2,C9,00 830 DATA F5,21,09,10,CD,A9,12,F1 840 DATA C9,00,00,00,00,00,00,00