exeat, just you forgot the resetting bombdrop to 0, that code of yours would only have dropped one bomb, effectively "jamming" the mechanism afterwards... Be cool maybe to do that deliberately sometimes though ie..
do
if spacekey()=1 and bombdropped=0
bombdropped=1
endif
if rnd(100)=1 then bombdropped=2
if bombdropped=1 then gosub dropbomb
if bombdropped=2 then gosub jammed
loop
dropbomb:
`bombdrop code here
bombdropped=0
return
jammed:
if sound playing(jammed)=0 then play sound jammed
inc bombdrop
if bombdrop>400+rnd(400) then bombdrop=0
return
ZX Spectrum 48k Issue 3, Radio shack Tape drive, Rank arena 12" T.V. set.