-
Notifications
You must be signed in to change notification settings - Fork 6
/
beatdown.bas
737 lines (667 loc) · 20 KB
/
beatdown.bas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
' **** ***** * ***** **** *** * * * *
' * * * * * * * * * * * * ** *
' * * * * * * * * * * * * ** *
' **** **** ***** * * * * * * * * * * *
' * * * * * * * * * * * * * * * *
' * * * * * * * * * * * * * * **
' **** ***** * * * **** *** ***** * **
' Beat Down
' 1998 MicroTrip
' V1.1 Origanally availible on
' 12-14-98
'
' Visit our Web Site At
' At
' http://www.geocities.com/SiliconValley/Platform/8409/qbasic.html
' E-Mail me at [email protected]
' ***Hit `F5' to play!!***
title:
'Beat Down Title Screen
'By Brian Murphy of MicroTrip
SCREEN 8
CLS
LINE (50, 50)-(50, 100), 14
LINE (50, 50)-(70, 50), 14
LINE (50, 100)-(70, 100), 14
LINE (70, 50)-(80, 55), 14
LINE (70, 100)-(80, 95), 14
LINE (80, 55)-(80, 70), 14
LINE (80, 95)-(80, 80), 14
LINE (80, 70)-(75, 75), 14
LINE (80, 80)-(75, 75), 14
LINE (75, 75)-(50, 75), 14
'**************E*************
LINE (90, 50)-(90, 100), 14
LINE (90, 50)-(120, 50), 14
LINE (90, 75)-(110, 75), 14
LINE (90, 100)-(120, 100), 14
'**************A*************
LINE (145, 50)-(130, 100), 14
LINE (145, 50)-(160, 100), 14
LINE (137.5, 75)-(152.5, 75), 14
'*************T**************
LINE (170, 50)-(200, 50), 14
LINE (185, 50)-(185, 100), 14
'***************D************
LINE (260, 50)-(260, 100), 14
LINE (260, 50)-(280, 50), 14
LINE (260, 100)-(280, 100), 14
LINE (280, 50)-(290, 55), 14
LINE (280, 100)-(290, 95), 14
LINE (290, 55)-(290, 95), 14
'***************O************
LINE (300, 55)-(300, 95), 14
LINE (300, 55)-(310, 50), 14
LINE (300, 95)-(310, 100), 14
LINE (330, 55)-(330, 95), 14
LINE (320, 50)-(330, 55), 14
LINE (320, 100)-(330, 95), 14
LINE (320, 100)-(310, 100), 14
LINE (310, 50)-(320, 50), 14
'**************W*************
LINE (340, 50)-(340, 100), 14
LINE (370, 50)-(370, 100), 14
LINE (340, 100)-(355, 75), 14
LINE (370, 100)-(355, 75), 14
'**************N*************
LINE (380, 50)-(380, 100), 14
LINE (410, 50)-(410, 100), 14
LINE (380, 50)-(410, 100), 14
'************************All done
COLOR 14
LOCATE 24, 32: PRINT "Beat Down V1.1"
FOR i = 1 TO 2
FOR x = 550 TO 37 STEP -5
SOUND x + 5, .2
a$ = INKEY$: IF a$ <> "" THEN LET d = 1: EXIT FOR
NEXT x
IF d = 1 THEN EXIT FOR
FOR x = 37 TO 550 STEP 5
SOUND x + 5, .2
a$ = INKEY$: IF a$ <> "" THEN LET d = 1: EXIT FOR
NEXT x
IF d = 1 THEN EXIT FOR
NEXT i
IF d = 1 THEN GOTO you
'/Title
GOSUB intro
IF nn = 0 GOTO you
IF nn = 1 GOTO title
you:
'Main Menu
snd$ = "on"
speed$ = "normal"
num = 9
oldnum = 9
colour1 = 1
colour2 = 1
mainmenu:
COLOR 14
CLS
LINE (50, 45)-(550, 150), 14, B
LOCATE 5, 33: PRINT "Main Menu"
LINE (60, 55)-(540, 140), 14, B
PAINT (51, 46), 10, 14
LOCATE 9, 15: PRINT "Start Game"
LOCATE 10, 15: PRINT "Veiw Controls"
LOCATE 11, 15: PRINT "Speed"
LOCATE 12, 15: PRINT "Sound"
LOCATE 13, 15: PRINT "Credits"
LOCATE 14, 15: PRINT "Color of player 1"
LOCATE 15, 15: PRINT "Color of player 2"
LOCATE 16, 15: PRINT "Quit"
LISTEN$ = "mb T180 o2 P2 P8 L8 GGG L2 E-"
FATE$ = "mb P24 P8 L8 FFF L2 D"
PLAY LISTEN$ + FATE$
mm2:
LOCATE 11, 21: PRINT " ": LOCATE 11, 21: PRINT speed$
LOCATE 12, 21: PRINT " ": LOCATE 12, 21: PRINT snd$; ""
LOCATE 14, 33: PRINT " ": LOCATE 14, 33: COLOR colour1: PRINT colour1
LOCATE 15, 33: PRINT " ": LOCATE 15, 33: COLOR colour2: PRINT colour2
COLOR 14
IF oldnum <> num THEN LOCATE 14, 13: PRINT " ": LOCATE 9, 13: PRINT " ": LOCATE 10, 13: PRINT " ": LOCATE 11, 13: PRINT " ": LOCATE 12, 13: PRINT " ": LOCATE 13, 13: PRINT " ": LOCATE 15, 13: PRINT " ": LOCATE 16, 13: PRINT " ": oldnum = num
LOCATE num, 13: PRINT "o"
DO
a$ = INKEY$
LOOP UNTIL a$ <> ""
IF a$ = "" THEN GOTO mm2
IF a$ = "8" AND num = 9 THEN num = 16: GOTO mm2
IF a$ = "8" THEN num = num - 1: GOTO mm2
IF a$ = "2" AND num = 16 THEN num = 9: GOTO mm2
IF a$ = "2" THEN num = num + 1: GOTO mm2
IF a$ = "5" AND num = 9 THEN GOTO start
IF a$ = "4" AND num = 12 THEN
IF snd$ = "on" THEN snd$ = "off": GOTO mm2
IF snd$ = "off" THEN snd$ = "on": GOTO mm2
END IF
IF a$ = "6" AND num = 12 THEN
IF snd$ = "on" THEN snd$ = "off": GOTO mm2
IF snd$ = "off" THEN snd$ = "on": GOTO mm2
END IF
IF a$ = "4" AND num = 11 THEN
IF speed$ = "fastest" THEN speed$ = "mid-fast": GOTO mm2
IF speed$ = "mid-fast" THEN speed$ = "normal": GOTO mm2
IF speed$ = "normal" THEN speed$ = "mid-slow": GOTO mm2
IF speed$ = "mid-slow" THEN speed$ = "slow": GOTO mm2
IF speed$ = "slow" THEN speed$ = "fastest": GOTO mm2
END IF
IF a$ = "6" AND num = 11 THEN
IF speed$ = "fastest" THEN speed$ = "slow": GOTO mm2
IF speed$ = "mid-fast" THEN speed$ = "fastest": GOTO mm2
IF speed$ = "normal" THEN speed$ = "mid-fast": GOTO mm2
IF speed$ = "mid-slow" THEN speed$ = "normal": GOTO mm2
IF speed$ = "slow" THEN speed$ = "mid-slow": GOTO mm2
END IF
IF a$ = "6" AND num = 14 THEN
IF colour1 = 15 THEN colour1 = 0: GOTO mm2
IF colour1 = 10 THEN colour1 = 12: GOTO mm2
colour1 = colour1 + 1
END IF
IF a$ = "4" AND num = 14 THEN
IF colour1 = 0 THEN colour1 = 15: GOTO mm2
IF colour1 = 12 THEN colour1 = 10: GOTO mm2
colour1 = colour1 - 1
END IF
IF a$ = "6" AND num = 15 THEN
IF colour2 = 15 THEN colour2 = 0: GOTO mm2
IF colour2 = 10 THEN colour2 = 12: GOTO mm2
colour2 = colour2 + 1
END IF
IF a$ = "4" AND num = 15 THEN
IF colour2 = 0 THEN colour2 = 15: GOTO mm2
IF colour2 = 12 THEN colour2 = 10: GOTO mm2
colour2 = colour2 - 1
END IF
IF a$ = "5" AND num = 13 THEN GOTO credits
IF a$ = "5" AND num = 10 THEN GOTO controls
IF a$ = "5" AND num = 16 THEN GOTO 666
GOTO mm2
'***********Credits**************
credits:
CLS
PRINT "Graphics Director...........Jacob Suckow"
PRINT " Title Screen Picture......Brian Murphy"
PRINT " Main Menu.................Brian Murphy"
PRINT " Fighting Section..........Brian Murphy"
PRINT " Ending (Circle)...........Brian Murphy"
PRINT "Programming Director........Brian Murphy"
PRINT " Engine....................Brian Murphy"
PRINT " Menu System...............Brian Murphy"
PRINT " Other.....................Brian Murphy"
PRINT "Sound Director..............Jeremy Suckow"
PRINT " Title Screen..............Brian Murphy"
PRINT " MicroTrip Screen..........Brian Murphy"
PRINT " Fighting..................Brian Murphy"
PRINT
PRINT " 1998 MicroTrip"
PRINT " Any key to continue..."
WHILE INKEY$ = "": WEND
GOTO mainmenu
'***********/Credits*************
'***********Controls*************
controls:
CLS
PRINT "Player One"
PRINT "Move left.....a"
PRINT "Move right....s"
PRINT "Punch.........q"
PRINT "High Punch....z"
PRINT "Kick..........w"
PRINT "Low Kick.....x"
PRINT
PRINT "Player Two"
PRINT "Move Left.....4"
PRINT "Move Right....6"
PRINT "Punch.........8"
PRINT "High Punch..../"
PRINT "Kick..........2"
PRINT "Low Kick......0"
PRINT
PRINT "To quit.....Esc"
PRINT
PRINT "Any key to continue..."
WHILE INKEY$ = "": WEND
GOTO mainmenu
'************/Controls*************
start:
IF speed$ = "slow" THEN speed = 100000
IF speed$ = "mid-slow" THEN speed = 50000
IF speed$ = "normal" THEN speed = 25000
IF speed$ = "mid-fast" THEN speed = 10000
IF speed$ = "fastest" THEN speed = 1000
IF snd$ = "on" THEN snd = 1
IF snd$ = "off" THEN snd = 0
CLS
SCREEN 8
LET a = 50
LET B = 50
LET c = 20
LET d = c
LET e = 600
LET f = e
COLOR 15
'********Ground********
LINE (0, 151)-(640, 161), 2, BF
LINE (0, 161)-(640, 171), 10, BF
LINE (0, 171)-(640, 200), 6, BF
'********/Ground*******
'********Top Thing*****
LINE (0, 0)-(640, 20), 13, B
PAINT (2, 2), 13, 13
'********/Top Thing****
'********Background****
LINE (0, 150)-(640, 21), 11, BF
'********/BackGround***
1
10 IF a <= 0 THEN GOTO 600
20 IF B <= 0 THEN GOTO 610
30 LINE (c, 110)-(c, 130), colour1 'body
LINE (c, 130)-(c - 20, 150), colour1 'leg
LINE (c, 130)-(c + 20, 150), colour1 'other leg
IF c < e THEN LINE (c, 120)-(c + 15, 110), colour1'arm
IF c > e THEN LINE (c, 120)-(c - 15, 110), colour1'arm other
CIRCLE (c, 105), 10, colour1 'head
60 LINE (e, 110)-(e, 130), colour2
LINE (e, 130)-(e - 20, 150), colour2
LINE (e, 130)-(e + 20, 150), colour2
IF e > c THEN LINE (e, 120)-(e - 15, 110), colour2
IF e < c THEN LINE (e, 120)-(e + 15, 110), colour2
CIRCLE (e, 105), 10, colour2
90 LINE (5, 4)-((a * 5) + 5, 10), 14, BF 'Life Bar
IF a <> 50 THEN LINE ((a * 5) + 1 + 5, 4)-(255, 10), 4, BF
LINE (4, 3)-((a * 5) + 6, 11), 14, B
LINE (390, 4)-((B * 5) + 390, 10), 14, BF 'Life Bar P2
LINE ((B * 5) + 390 + 1, 4)-(640, 10), 4, BF
LINE (389, 3)-((B * 5) + 390 + 1, 11), 14, B
130 a$ = INKEY$
140 IF a$ = "" THEN GOTO 1
150 IF a$ = "q" THEN GOTO 200 'punch 1
155 IF a$ = "z" THEN GOTO highpunch1
160 IF a$ = "w" THEN GOTO 210 'kick 1
165 IF a$ = "x" THEN GOTO highkick1
170 IF a$ = "a" THEN GOTO 220 'left 1
175 IF a$ = "s" THEN GOTO 270 'right 1
180 IF a$ = "4" THEN GOTO 230 'left 2
185 IF a$ = "6" THEN GOTO 240 'right 2
190 IF a$ = "8" THEN GOTO 250 'punch 2
IF a$ = "/" THEN GOTO highpunch2
195 IF a$ = "2" THEN GOTO 260 'kick 2
IF a$ = "0" THEN GOTO highkick2
196 IF a$ = CHR$(27) THEN GOTO 616
197 GOTO 1
200 IF c > e THEN GOTO 205
LINE (c, 120)-(c + 15, 110), 11
LINE (c, 120)-(c + 30, 120), colour1
FOR i = 1 TO speed
NEXT i
LINE (c, 120)-(c + 15, 110), colour1
LINE (c, 120)-(c + 30, 120), 11
GOTO 209
205 LINE (c, 120)-(c - 30, 120), colour1
LINE (c, 120)-(c - 15, 110), 11
FOR i = 1 TO speed
NEXT i
LINE (c, 120)-(c - 15, 110), colour1
LINE (c, 120)-(c - 30, 120), 11
GOTO 209
209 IF c + 29 = e OR c - 29 = e OR c + 30 = e OR c - 30 = e THEN
B = B - 2
IF snd = 1 THEN SOUND 50, 1
END IF
IF c + 24 = e OR c - 24 = e OR c + 25 = e OR c - 25 = e THEN
B = B - 3
IF snd = 1 THEN SOUND 50, 1
END IF
IF c + 19 = e OR c - 19 = e OR c + 20 = e OR c - 20 = e THEN
B = B - 1
IF snd = 1 THEN SOUND 50, 1
END IF
GOTO 1
highkick1:
IF c > e THEN GOTO hk1
LINE (c, 130)-(c + 20, 150), 11
LINE (c, 130)-(c + 30, 140), colour1
FOR i = 1 TO speed
NEXT i
LINE (c, 130)-(c + 20, 150), colour1
LINE (c, 130)-(c + 30, 140), 11
GOTO hk1x
hk1:
LINE (c, 130)-(c - 20, 150), 11
LINE (c, 130)-(c - 30, 140), colour1
FOR i = 1 TO speed
NEXT i
LINE (c, 130)-(c - 20, 150), colour1
LINE (c, 130)-(c - 30, 140), 11
GOTO hk1x
hk1x:
IF c + 29 = e OR c - 29 = e OR c + 30 = e OR c - 30 = e THEN
B = B - 2
IF snd = 1 THEN SOUND 50, 1
END IF
IF c + 24 = e OR c - 24 = e OR c + 25 = e OR c - 25 = e THEN
B = B - 3
IF snd = 1 THEN SOUND 50, 1
END IF
IF c + 19 = e OR c - 19 = e OR c + 20 = e OR c - 20 = e THEN
B = B - 1
IF snd = 1 THEN SOUND 50, 1
END IF
GOTO 1
highpunch1:
IF c > e THEN GOTO hp1
LINE (c, 120)-(c + 15, 110), 11
LINE (c, 120)-(c + 30, 110), colour1
FOR i = 1 TO speed
NEXT i
LINE (c, 120)-(c + 15, 110), colour1
LINE (c, 120)-(c + 30, 110), 11
GOTO hp1x
hp1:
LINE (c, 120)-(c - 15, 110), 11
LINE (c, 120)-(c - 30, 110), colour1
FOR i = 1 TO speed
NEXT i
LINE (c, 120)-(c - 15, 110), colour1
LINE (c, 120)-(c - 30, 110), 11
GOTO hp1x
hp1x:
IF c + 29 = e OR c - 29 = e OR c + 30 = e OR c - 30 = e THEN
B = B - 2
IF snd = 1 THEN SOUND 50, 1
END IF
IF c + 24 = e OR c - 24 = e OR c + 25 = e OR c - 25 = e THEN
B = B - 3
IF snd = 1 THEN SOUND 50, 1
END IF
IF c + 19 = e OR c - 19 = e OR c + 20 = e OR c - 20 = e THEN
B = B - 1
IF snd = 1 THEN SOUND 50, 1
END IF
GOTO 1
210 IF c > e THEN GOTO 215
LINE (c, 130)-(c + 20, 150), 11
LINE (c, 130)-(c + 30, 130), colour1
FOR i = 1 TO speed
NEXT i
LINE (c, 130)-(c + 20, 150), colour1
LINE (c, 130)-(c + 30, 130), 11
GOTO 219
215 LINE (c, 130)-(c - 20, 150), 11
LINE (c, 130)-(c - 30, 130), colour1
FOR i = 1 TO speed
NEXT i
LINE (c, 130)-(c - 20, 150), colour1
LINE (c, 130)-(c - 30, 130), 11
GOTO 219
219 IF c + 29 = e OR c - 29 = e OR c + 30 = e OR c - 30 = e THEN
B = B - 2
IF snd = 1 THEN SOUND 50, 1
END IF
IF c + 24 = e OR c - 24 = e OR c + 25 = e OR c - 25 = e THEN
B = B - 3
IF snd = 1 THEN SOUND 50, 1
END IF
IF c + 19 = e OR c - 19 = e OR c + 20 = e OR c - 20 = e THEN
B = B - 1
IF snd = 1 THEN SOUND 50, 1
END IF
GOTO 1
220 IF c < 6 THEN GOTO 1
221 c = c - 5
222 LINE (d, 110)-(d, 130), 11
LINE (d, 130)-(d - 20, 150), 11
LINE (d, 130)-(d + 20, 150), 11
223 LINE (d, 120)-(d - 15, 110), 11
LINE (d, 120)-(d + 15, 110), 11
224 CIRCLE (d, 105), 10, 11
225 d = c
226 GOTO 1
270 IF c > 595 THEN GOTO 1
271 c = c + 5
272 LINE (d, 110)-(d, 130), 11
LINE (d, 130)-(d - 20, 150), 11
LINE (d, 130)-(d + 20, 150), 11
273 CIRCLE (d, 105), 10, 11
274 LINE (d, 120)-(d - 15, 110), 11
LINE (d, 120)-(d + 15, 110), 11
275 d = c
276 GOTO 1
230 IF e < 5 THEN GOTO 1
231 e = e - 5
232 LINE (f, 110)-(f, 130), 11
LINE (f, 130)-(f - 20, 150), 11
LINE (f, 130)-(f + 20, 150), 11
233 CIRCLE (f, 105), 10, 11
234 LINE (f, 120)-(f - 15, 110), 11
LINE (f, 120)-(f + 15, 110), 11
235 f = e
236 GOTO 1
240 IF e > 595 THEN GOTO 1
241 e = e + 5
242 LINE (f, 110)-(f, 130), 11
LINE (f, 130)-(f - 20, 150), 11
LINE (f, 130)-(f + 20, 150), 11
243 CIRCLE (f, 105), 10, 11
244 LINE (f, 120)-(f - 15, 110), 11
LINE (f, 120)-(f + 15, 110), 11
245 f = e
246 GOTO 1
250 IF c < e THEN GOTO 255
LINE (e, 120)-(e + 15, 110), 11
LINE (e, 120)-(e + 30, 120), colour2
FOR i = 1 TO speed
NEXT i
LINE (e, 120)-(e + 15, 110), colour2
LINE (e, 120)-(e + 30, 120), 11
GOTO 259
255 LINE (e, 120)-(e - 30, 120), colour2
LINE (e, 120)-(e - 15, 110), 11
FOR i = 1 TO speed
NEXT i
LINE (e, 120)-(e - 30, 120), colour2
LINE (e, 120)-(e - 30, 120), 11
GOTO 259
259 IF c + 29 = e OR c - 29 = e OR c + 30 = e OR c - 30 = e THEN
a = a - 2
IF snd = 1 THEN SOUND 50, 1
END IF
IF c + 24 = e OR c - 24 = e OR c + 25 = e OR c - 25 = e THEN
a = a - 3
IF snd = 1 THEN SOUND 50, 1
END IF
IF c + 19 = e OR c - 19 = e OR c + 20 = e OR c - 25 = e THEN
a = a - 1
IF snd = 1 THEN SOUND 50, 1
END IF
GOTO 1
260 IF c < e THEN GOTO 265
LINE (e, 130)-(e + 20, 150), 11
LINE (e, 130)-(e + 30, 130), colour2
FOR i = 1 TO speed
NEXT i
LINE (e, 130)-(e + 20, 150), colour2
LINE (e, 130)-(e + 30, 130), 11
GOTO 269
265 LINE (e, 130)-(e - 20, 150), 11
LINE (e, 130)-(e - 30, 130), colour2
FOR i = 1 TO speed
NEXT i
LINE (e, 130)-(e - 20, 150), colour2
LINE (e, 130)-(e - 30, 130), 11
GOTO 269
269 IF c + 29 = e OR c - 29 = e OR c + 30 = e OR c - 30 = e THEN
a = a - 2
IF snd = 1 THEN SOUND 50, 1
END IF
IF c + 24 = e OR c - 24 = e OR c + 25 = e OR c - 25 = e THEN
a = a - 3
IF snd = 1 THEN SOUND 50, 1
END IF
IF c + 19 = e OR c - 19 = e OR c + 20 = e OR c - 20 = e THEN
a = a - 1
IF snd = 1 THEN SOUND 50, 1
END IF
GOTO 1
highkick2:
IF c < e THEN GOTO hk2
LINE (e, 130)-(e + 20, 150), 11
LINE (e, 130)-(e + 30, 140), colour2
FOR i = 1 TO speed
NEXT i
LINE (e, 130)-(e + 20, 150), colour2
LINE (e, 130)-(e + 30, 140), 11
GOTO hk2x
hk2:
LINE (e, 130)-(e - 20, 150), 11
LINE (e, 130)-(e - 30, 140), colour2
FOR i = 1 TO speed
NEXT i
LINE (e, 130)-(e - 20, 150), colour1
LINE (e, 130)-(e - 30, 140), 11
GOTO hk2x
hk2x:
IF e + 29 = c OR e - 29 = c OR e + 30 = c OR e - 30 = c THEN
a = a - 2
IF snd = 1 THEN SOUND 50, 1
END IF
IF e + 24 = c OR e - 24 = c OR e + 25 = c OR e - 25 = c THEN
a = a - 3
IF snd = 1 THEN SOUND 50, 1
END IF
IF e + 19 = c OR e - 19 = c OR e + 20 = c OR e - 20 = c THEN
a = a - 1
IF snd = 1 THEN SOUND 50, 1
END IF
GOTO 1
highpunch2:
IF c < e THEN GOTO hp2
LINE (e, 120)-(e + 15, 110), 11
LINE (e, 120)-(e + 30, 110), colour1
FOR i = 1 TO speed
NEXT i
LINE (e, 120)-(e + 15, 110), colour1
LINE (e, 120)-(e + 30, 110), 11
GOTO hp2x
hp2:
LINE (e, 120)-(e - 15, 110), 11
LINE (e, 120)-(e - 30, 110), colour1
FOR i = 1 TO speed
NEXT i
LINE (e, 120)-(e - 15, 110), colour1
LINE (e, 120)-(e - 30, 110), 11
GOTO hp2x
hp2x:
IF e + 29 = c OR e - 29 = c OR e + 30 = c OR e - 30 = c THEN
a = a - 2
IF snd = 1 THEN SOUND 50, 1
END IF
IF e + 24 = c OR e - 24 = c OR e + 25 = c OR e - 25 = c THEN
a = a - 3
IF snd = 1 THEN SOUND 50, 1
END IF
IF e + 19 = c OR e - 19 = c OR e + 20 = c OR e - 20 = c THEN
a = a - 1
IF snd = 1 THEN SOUND 50, 1
END IF
GOTO 1
600 FOR iii = 1 TO 8000
LOCATE 12, 32: PRINT "Player 1 Losses!"
NEXT iii
FOR ii = 10 TO 1 STEP -1
CIRCLE (c, 105), ii + 1, 11
CIRCLE (c, 105), ii, colour1
FOR i = 1 TO speed
NEXT i
NEXT ii
GOTO 615
610 FOR iii = 1 TO 8000
LOCATE 12, 32: PRINT "Player 2 Losses!"
NEXT iii
FOR ii = 10 TO 1 STEP -1
CIRCLE (e, 105), ii + 1, 11
CIRCLE (e, 105), ii, colour2
FOR i = 1 TO speed
NEXT i
NEXT ii
GOTO 615
615
FOR i = 400 TO 1 STEP -1
CIRCLE (320, 100), i
PAINT (1, 1), 11
CIRCLE (320, 100), i + 1, 11
FOR ii = 1 TO speed / 10
NEXT ii
NEXT i
616 GOTO mainmenu
intro:
'MicroTrip
CLS
SCREEN 8
COLOR 15
LOCATE 12, 35: PRINT "MicroTrip"
LINE (260, 85)-(350, 97), 1, B
PAINT (259, 84), 9, 1
PLAY "mb L16 ed L4 e P64 L4 <a P4 > L16 fe L32 f P8 e P8 L4 d P4"
PLAY "mb L16 ed L4 e P64 L4 <a P4 > L17 fe L32 f P8 e P8 L4 d P4"
IF a$ <> "" THEN RETURN
'Move Guy
c = 5
e = 1000
moveguy:
LINE (c, 110)-(c, 130) 'body
LINE (c, 130)-(c - 20, 150) 'leg
LINE (c, 130)-(c + 20, 150) 'other leg
IF c < e THEN LINE (c, 120)-(c + 15, 110)'arm
IF c > e THEN LINE (c, 120)-(c - 15, 110)'arm other
CIRCLE (c, 105), 10 'head
FOR i = 1 TO 9000
NEXT i
LINE (c, 110)-(c, 130), 9 'body
LINE (c, 130)-(c - 20, 150), 9 'leg
LINE (c, 130)-(c + 20, 150), 9 'other leg
IF c < e THEN LINE (c, 120)-(c + 15, 110), 9'arm
IF c > e THEN LINE (c, 120)-(c - 15, 110), 9'arm other
CIRCLE (c, 105), 10, 9 'head
c = c + 1
a$ = INKEY$
IF a$ <> "" THEN LET nn = 0: RETURN
IF c >= 595 THEN LET nn = 1: RETURN
GOTO moveguy
'****I have to fill this in later. It won't work right.****
story:
CLS
fart = 0
PAINT (1, 1), 0
COLOR 4
LOCATE 1, 1: PRINT "It was the year 1998 when you and Jake decided to start your"
GOTO yeah
first:
PRINT "own 'wrestling' association. You were sick of how fake all of the "
GOTO yeah
second:
PRINT "others including WCW, WWF and NWO, were. Then, simoultaniously, you both"
GOTO yeah
third:
PRINT "had a good idea. What if your 'wrestling' association wasn't fake? What"
GOTO yeah
fourth:
PRINT "if you had all of the 'wrestlers' sign a Beat Down contract saying that "
GOTO yeah
fifth:
PRINT "they would fight to the death? This was gonna' be a kick @$$ 'fighting'"
GOTO yeah
sixth:
PRINT "association! It would be known as the Beat Down Fighting Association!(BDFA)"
GOTO yeah
endofstory:
IF nn = 0 THEN RETURN
LET nn = 1: RETURN
yeah:
a$ = INKEY$
IF a$ <> "" THEN nn = 0: GOTO endofstory
FOR i = 1 TO 1000000
NEXT i
fart = fart + 1
ON poop GOTO first, second, third, fourth, fifth, sixth
666