home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
176-200
/
apd198
/
bombs_from_baghdad.bak
/
bombs_from_baghdad.amosSourceCode
< prev
next >
Wrap
AMOS Source Code
|
1991-04-16
|
7KB
|
140 lines
Rem --BOMBS FROM BAGHDAD -- In spaghetti code!
Screen Open 1,320,10,32,Lowres : Flash Off : For X=0 To 31 : Colour X,$FFF : Next X
Load "bfb_arab1ss.abk"
Load "bfb_ara.abk"
Load Iff "bfb_arab1",0
Hide
Double Buffer
Sam Play 1 : Sam Loop On
Repeat
Bob 1,90,117,1 : Bob 2,185,130,3 : XC=Mouse Click : Wait 40
Bob 1,71,120,2 : Bob 2,185,130,4 : XC=Mouse Click : Wait 40
Until Mouse Key=1 : Sam Loop Off : Load "bfb_ara2.abk" : Sam Play 1 : Fade 5 To 1 : Wait 300 : Fade 1 : Wait 5
Screen Close 1
Rem -------------------------------------------------
Rem -- B O M B S F R O M B A G H D A D --
Rem -------------------------------------------------
Rem --A game by Jurriaan Knol - (C) 1991 by Stealth--
Rem -- written using AMOS-The Creator version 1.1 --
Rem -------------------------------------------------
Rem -- Greetings to M.A.F. >> Creator (Yo Ivo!) --
Rem -------------------------------------------------
Rem -- WATCH OUT FOR OUR OTHER WAREZ - AMIGA and PC--
Rem -------------------------------------------------
Rem -------------------------------------------------
Rem -- THANKS To: Tears For Fears >> Sample from --
Rem -- Johnny Panic and the bible of dreams << --
Rem -- N.W.A. for samples, Public Enemy, samples --
Rem -------------------------------------------------
Rem -- AMOS (C) 1990 by Mandarin/Jawx --
Rem -------------------------------------------------
Rem -- JURRIAAN KNOL --
Rem -- OVERTOOM 12 --
Rem -- 1611 CP BOVENKARSPEL --
Rem -- THE NETHERLANDS --
Rem -------------------------------------------------
Rem -------------------------------------------------
Rem -- Brought to you by STEALTH SOFTWARE --
Rem -------------------------------------------------
Rem -------------------------------------------------
Rem
Load "bfb_sam.abk"
Volume 0
Sam Loop On : Sam Play 1
Volume 0
Volume 33
Load Iff "bfb_tt",0
Hide On
Repeat : A$=Inkey$ : If A$="L" Then T=1
Until T=1 or Mouse Click
Fade 1 : Load Iff "bfb_tit",0
Repeat : Until Mouse Click
Fade 1 : Load Iff "bfb_cre",0
Repeat : Until Mouse Click
Screen Open 0,640,256,2,Hires : Fade 1 : Load Iff "bfb_int1"
Repeat : Until Mouse Click
Fade 1 : Load Iff "bfb_int2"
Repeat : Until Mouse Click
Fade 1 : Load Iff "bfb_int3"
Repeat : Until Mouse Click
Fade 1 : Wait 10
'
'
'
'
1 Screen Open 0,320,256,8,Lowres : Flash Off : Hide On : Curs Off : Paper 0 : Cls : Double Buffer : Load "bfb_spr.abk" : Get Sprite Palette
Sam Loop Off : Load "bfb_sam2.abk"
Screen Open 1,640,10,2,Hires : Colour 1,$FFF : Flash Off : Hide On : Curs Off
Screen Display 1,,300,640,10
LVL=1 : Gosub 532
SC=0
QRSTU=0
OS=0 : NS=1
Screen 0
Colour 2,$0
Repeat
If VL=0 Then LVL=LVL+1 : Gosub 532
X=X Mouse-147 : Y=Y Mouse-60 : Bob 1,X,Y,SI
If Chanmv(2)=0 and NS=OS Then Gosub 223
If Chanmv(2)=0 Then Gosub 2
QQQ=Mouse Click : If QQQ<>0 Then Gosub 5
4 Wait Vbl
Until RET=1
2 QRS=Rnd(100)+1 : If QRS=1 Then Gosub 20 Else Return
Return
20 E=2 : QT=Rnd(6)+1 : TP=QT+1 : If TP=5 Then Goto 111
Sam Play 2 : Goto 1156
111 NS=OS : YY=Rnd(200) : Bob 2,360,YY,TP : Channel 2 To Bob 2 : Gosub 533 : Amal On 2 : CL=0 : Return
5 If Bob Col(1) Then Gosub 6
Return
6 If CL=0 Then Shoot : CL=1 : Return
If CL=1 Then Sam Play 1 : NS=OS+1 : Colour 2,$FFF : Amal Off 2 : SC=SC+1000 : Colour 2,$0 : Screen 1 : Print : Print SC; : Screen 0 : VL=VL-1 : CL=0 : Bob Off 2 : Return
1156 Screen 1
Centre " "
If TP=2 Then Centre "F-6 Mirrage"
If TP=3 Then Centre "F-15 Fulcrum"
If TP=4 Then Centre "F-16 Falcon"
If TP=5 Then Return
If TP=6 Then Centre "Awac"
If TP=7 Then Centre "Scud"
If TP=8 Then Centre "Scud"
Screen 0
Goto 111
223 Colour 0,$FFF : Wait 3 : Colour 0,$0
QRSTU=QRSTU+1 : If QRSTU=10 Then Gosub 225 Else NS=OS+1 : Return
225 If T=1 Then Return Else Pen 4 : Centre "GAME OVER" : Repeat : Until Mouse Click
For QY=40 To -270 Step -1 : Screen Display 0,,QY,320,256 : Wait Vbl : Next QY : For QY=300 To -270 Step -1 : Screen Display 1,,QY,640,10 : Wait Vbl : Next QY
Wait 50 : Load "bfb_sam3.abk" : Load Iff "bfb_ver",0 : Sam Play 1 : Repeat : Until Mouse Click
Fade 5 : Wait 50 : Goto 1
532 If LVL=1 Then VL=30 : Load Iff "Bfb_lvl1",0 : Double Buffer : SI=1 : SPEED=200 : Load Iff "bfb_tit",5 : Paper 0 : Pen 31 : Locate 0,10 : Centre "LEVEL 1" : Repeat : Until Mouse Click : Fade 1 : Wait 10
If LVL=2 Then Proc MOT : VL=30 : SI=1 : SPEED=175 : Load Iff "bfb_tit",5 : Paper 0 : Pen 31 : Locate 0,10 : Centre "LEVEL 2" : Repeat : Until Mouse Click : Fade 1 : Wait 10
If LVL=3 Then Proc MOT : Load Iff "Bfb_lvl2",0 : Double Buffer : VL=30 : SI=11 : SPEED=175 : Load Iff "bfb_tit",5 : Paper 0 : Pen 31 : Locate 0,10 : Centre "LEVEL 3" : Repeat : Until Mouse Click : Fade 1 : Wait 10
If LVL=4 Then Proc MOT : VL=30 : SI=11 : SPEED=150 : Load Iff "bfb_tit",5 : Paper 0 : Pen 31 : Locate 0,10 : Centre "LEVEL 4" : Repeat : Until Mouse Click : Fade 1 : Wait 10
If LVL=5 Then Proc MOT : Load Iff "Bfb_lvl3",0 : Double Buffer : VL=30 : SI=9 : SPEED=150 : Load Iff "BFB_tit",5 : Paper 0 : Pen 31 : Locate 0,10 : Centre "LEVEL 5" : Repeat : Until Mouse Click : Fade 1 : Wait 10
If LVL=6 Then Proc MOT : VL=30 : SI=9 : SPEED=125 : Load Iff "bfb_tit",5 : Paper 0 : Pen 31 : Locate 0,10 : Centre "LEVEL 6" : Repeat : Until Mouse Click : Fade 1 : Wait 10
If LVL=7 Then Proc MOT : Load Iff "bfb_lvl4",0 : Double Buffer : VL=30 : SI=10 : SPEED=125 : Load Iff "bfb_tit",5 : Paper 0 : Pen 31 : Locate 0,10 : Centre "LEVEL 7" : Repeat : Until Mouse Click : Fade 1 : Wait 10
If LVL=8 Then Proc MOT : VL=30 : SI=10 : SPEED=100 : Load Iff "bfb_tit",5 : Paper 0 : Pen 31 : Locate 0,10 : Centre "LEVEL 8" : Repeat : Until Mouse Click : Fade 1 : Wait 10
If LVL=9 Then Proc MOT : Gosub 278
Screen To Front 0 : Screen 0 : Screen To Front 1
Return
533 If SPEED=200 Then Amal 2,"M-400,0,200"
If SPEED=175 Then Amal 2,"M-400,0,150"
If SPEED=150 Then Amal 2,"M-400,0,100"
If SPEED=125 Then Amal 2,"M-400,0,75"
If SPEED=100 Then Amal 2,"M-400,0,50"
Return
Procedure MOT
Load "bfb_sam4.abk"
Load Iff "Bfb_win",5
Sam Play 1,1,8000
Wait 200
Repeat : Until Mouse Click
Fade 1 : Screen Close 5
Load "bfb_sam2.abk"
End Proc
278 Load "bfb_sam.abk" : Sam Loop On : Sam Play 1
Load Iff "bfb_fin1",0
Repeat : Until Mouse Click
Load Iff "bfb_fin2",0
Repeat : Until Mouse Click
Fade 1 : Do : Loop