if past(1) and elapse(15) then
farflash
endif

if chain(2) and elapse(30) then
	wave("Thdrcrk1.wav",100)
	endif

if past(6) and elapse(25) then
farflash
endif

if chain(2) and elapse(40) then
	wave("Thdrcrk1.wav",100)
	endif

if past(12) and elapse(35) then
farflash
endif

if chain(2) and elapse(50) then
	wave("ThdrDst2.wav",100)
	wave("ThdrSwt1.wav",100)
	endif

// Thunders Effect
;farflash              produce a far away flash of lightning & thunder
;flash                  produce a flash of lightning & thunder

// Thunders Wav's Effetc
; ThdrCrk1.wav
; ThdrDst2.wav
; thdrdst3.wav
; thdrdst4.wav
; thdrdst5.wav
; ThdrSwt1.wav
; thdrswt2.wav
; thdrswt3.wav

// Others Triggers that can be used
;past(#)			true if past # seconds into game, keeps firing after #
;elapse(#)		true if past # seconds since current IF activated
;random(#)		randomly true 1 in # times, sets RND for additional tests
;waveready()		true if no talking going on
;wave("wave.wav", dist)	plays wave file from mouth of player