720 HCOLOR= 0: FOR J = 1 TO 6:C = ASC( MID$ (SC$,J,1)) -47: ON J GOSUB 770,780,790,800,810,820: NEXT : HCOLOR= 3
730 IF FL THEN RETURN
740 SC = SC +SC(R):SC$ = STR$(SC)
750 IF LEN(SC$) <6 THEN SC$ = "0" +SC$: GOTO 750
760 FOR J = 1 TO 6:C = ASC( MID$ (SC$,J,1)) -47: ON J GOSUB 770,780,790,800,810,820: NEXT : RETURN
770 DRAW C AT 233,188: RETURN
780 DRAW C AT 240,188: RETURN
790 DRAW C AT 247,188: RETURN
800 DRAW C AT 254,188: RETURN
810 DRAW C AT 261,188: RETURN
820 DRAW C AT 268,188: RETURN
830 DRAW 11 AT MI,179
840 FOR I = 9 TO 179 STEP 5: DRAW 12 AT MI,I: POKE -16336, PEEK( -16336): NEXT
850 X = MI: GOTO 880
860 IF X = X1 OR X = X1 +1 OR X = X1 +2 OR X = X1 +3 OR X = X1 +4 OR X = X1 +5 OR X = X1 -1 OR X = X1 -2 OR X = X1 -3 OR X = X1 -4 OR X = X1 -5 THEN 880
870 RETURN
880 HCOLOR= 3: FOR I = 1 TO 5: SCALE= I: GOSUB 650: DRAW 11 AT X,179: NEXT
890 HCOLOR= 0: FOR I = 1 TO 5: SCALE= I: GOSUB 650: DRAW 11 AT X,179: NEXT : SCALE= 1
900 FOR I = 1 TO 1000: NEXT : TEXT : HOME
910 IF SC <HS THEN 960
920 VTAB 12: FLASH : PRINT "NEW HIGH SCORE :"SC:HS = SC: NORMAL : PRINT
930 INPUT "PLEASE ENTER YOUR NAME :";PL$: IF PL$ = "" THEN 930
960 VTAB 12: PRINT "HIGH SCORE IS ";: FLASH : PRINT HS;: NORMAL : PRINT " BY "PL$"."
970 VTAB 22: INPUT "PLAY AGAIN ?";YN$: IF LEFT$(YN$,1) = "Y" THEN FOR I = 0 TO 14:R(I) = 0: NEXT :SC = 0:SC$ = "000000": GOTO 120
980 HOME : FOR I = 38 TO 1 STEP -1: GOSUB 650: VTAB 24: HTAB I: PRINT CHR$(93)" ";: NEXT : VTAB 23: END
990 REM :BOMB SEQUENCE
1000 B = INT( RND(1) *3 +1)
1010 S = INT( RND(1) *5) *10:S = Y1 +S:Y1 = S
1020 HCOLOR= 3:Z = PEEK( -16384): IF Z = 136 OR Z = 149 THEN POKE -16368,0:M = ABS(X -X1):X = INT(X +(5 *(M < = 20) +.5 *(M >20) *M) *((Z = 149) -(Z = 136)))
1030 IF X <MI THEN X = MI
1040 IF X >(MA) THEN X = MA
1050 XDRAW 11 AT X,179
1060 IF Y1 >S THEN 1090
1070 R = INT( RND(1) *14):X1 = (R *20) +2: IF X1 <MI OR X1 >(MA) THEN 1070
1080 FOR I = 1 TO B:B(I) = X1:X1 = X1 +5: NEXT
1090 FOR I = 1 TO B: DRAW 13 AT B(I),Y1: NEXT
1100 Z = PEEK( -16384): IF Z = 160 THEN POKE -16368,0: GOSUB 1190
1110 HCOLOR= 0
1120 FOR I = 1 TO B: DRAW 13 AT B(I),Y1: NEXT
1130 DRAW 11 AT X,179: FOR L = 168 TO 170: HPLOT X +3,L TO X +6,L: NEXT : GOSUB 410:Y1 = Y1 +10
1140 FOR I = 1 TO B: IF Y1 = 179 THEN GOSUB 1360: IF B = I THEN BG = 1:Y1 = 9: GOSUB 410
1150 NEXT
1160 IF EG = 1 THEN EG = 0:BG = 0: GOTO 880
1170 IF BG = 1 THEN BG = 0: GOTO 200
1180 GOSUB 410: GOTO 1020
1190 REM :SHOOT AT BOMBS
1200 HPLOT X +5,169 TO X +5,Y1 +1: GOSUB 680: HCOLOR= 0: HPLOT X +5,169 TO X +5,Y1 +1: HCOLOR= 3
1210 FOR J = 1 TO B: IF X >B(J) -2.5 AND X <B(J) +2.5 THEN I = J:J = B:EX = 1
1220 NEXT
1230 IF EX = 1 THEN EX = 0: GOTO 1250
1240 RETURN
1250 HCOLOR= 3: FOR K = 1 TO 3: SCALE= K: XDRAW 13 AT B(I),Y1: GOSUB 650: NEXT
1260 HCOLOR= 0: FOR K = 2 TO 3: SCALE= K: XDRAW 13 AT B(I),Y1: GOSUB 650: NEXT : SCALE= 1
1270 FL = 1: GOSUB 710:FL = 0
1280 SC = SC +150:SC$ = STR$(SC)
1290 IF LEN(SC$) <6 THEN SC$ = "0" +SC$: GOTO 1290
1300 GOSUB 760
1310 IF I = B AND B = 1 THEN Y1 = 9: HCOLOR= 0: DRAW 11 AT X,179: FOR L = 168 TO 170: HPLOT X +3,L TO X +6,L: NEXT : POP : GOTO 200
1320 IF I = B THEN B = B -1: RETURN
1330 IF I = 1 AND B = 2 THEN B(I) = B(I +1):B = 1: RETURN
1340 IF I = 1 AND B = 3 THEN B(I) = B(I +1):B(I +1) = B(I +2):B = 2: RETURN
1350 IF I = 2 AND B = 3 THEN B(I) = B(I +1):B = 2: RETURN
1360 IF X >B(I) -2.5 AND X <B(I) +2.5 THEN HCOLOR= 3: FOR K = 1 TO 3: SCALE= K: XDRAW 13 AT B(I),179: GOSUB 650: NEXT
1370 IF X >B(I) -2.5 AND X <B(I) +2.5 THEN HCOLOR= 0: FOR K = 1 TO 3: SCALE= K: XDRAW 13 AT B(I),179: GOSUB 650: NEXT : HCOLOR= 3: SCALE= 1:EG = 1: RETURN
1380 HCOLOR= 3: FOR K = 1 TO 3: SCALE= K: XDRAW 13 AT B(I),179: GOSUB 650: NEXT : HCOLOR= 0: FOR K = 1 TO 3: SCALE= K: XDRAW 13 AT B(I),179: GOSUB 650: NEXT : HCOLOR= 3: SCALE= 1
1390 IF B(I)/20 < > INT(B(I)/20) THEN B(I) = B(I) -1: GOTO 1390
1440 VTAB 12: HTAB 13: INVERSE : PRINT "CLAUSTROPHOBIA": PRINT : HTAB 12: PRINT "BY: RUDY A. GUY": PRINT : PRINT "** COPYRIGHT 1985 BY MICROSPARC, INC. **": NORMAL
1450 IF HS >0 THEN PRINT : PRINT "PRESENT HIGH SCORE IS "HS" BY "PL$
1460 PRINT CHR$(4)"BLOAD PHOBIA.S"
1470 POKE 232,0: POKE 233,96
1480 VTAB 22: INPUT "DO YOU NEED INSTRUCTIONS ?";YN$: IF LEFT$(YN$,1) = "N" THEN RETURN
1490 HOME : HTAB 14: INVERSE : PRINT "CLAUSTROPHOBIA": NORMAL : PRINT
1500 PRINT "THE OBJECT OF THE GAME IS TO SHOOT THE DESCENDING ALIENS IN SUCH A MANNER THAT THEY WILL MOVE TO THE EXTREME LEFT OR RIGHT SIDE OF THE SCREEN. ";
1510 PRINT "THE COLUMNS ONEITHER SIDE OF THE SCREEN ARE WORTH AS FOLLOWS:": PRINT
1520 PRINT " OUTSIDE COLUMNS" TAB( 27)"100 PTS.": PRINT " ONE COLUMN IN" TAB( 28)"50 PTS.": PRINT " TWO COLUMNS IN" TAB( 28)"25 PTS.": PRINT " THREE COLUMNS IN" TAB( 28)"10 PTS.": PRINT " FOUR COLUMNS TO CENTER" TAB( 29)"5 PTS.": PRINT
1530 PRINT "FROM TIME TO TIME, A SERIES OF BOMBS MAYAPPEAR. EACH BOMB IS WORTH 150 POINTS. WHEN A BOMB OR AN ALIEN CRAFT REACHES THE BOTTOM OF THE PLAYING AREA, IT WILL REDUCE THE AREA THAT YOUR GUN CAN MOVE."
1540 PRINT "A FRESH SCREEN IS OBTAINED BY SCORING 10,000 POINTS !": PRINT : PRINT "PRESS ANY KEY TO CONTINUE";: GET YN$
1550 HOME : PRINT "USE THE LEFT AND RIGHT ARROW KEYS TO MOVE YOUR GUN, AND THE SPACE BAR TO FIRE.": PRINT : PRINT "PRESS ANY KEY TO BEGIN": GET YN$: PRINT : RETURN