//-----------------------------------------------------------------------------
// 01. TUNNEL
//-----------------------------------------------------------------------------
	DEFINE	CUBES_BORDER	#8011


	;init_fx
	DB	T_FX_INI
	DB	T_BLINK_ON
	DB	T_BLINK_ON
	;pause after init
	;DB	T_FX_NOP
	;DW	0		; pause while fx-local frame counter <= this value
	
	; start music after first effect init
	DB	2 ;COMM_ASM
	CALL	MUSIC_ON
	LD	IY,$+5
	RET
	
	;run_fx
	DB	T_FX_RUN
	DW	208-1

	DB	T_BLINK_ON
	DB	T_BLINK_ON	
	DB	2
	LD	A,7
	LD	(CUBES_BORDER),A
	LD	IY,$+5
	RET

	;run_fx
	DB	T_FX_RUN
	DW	#FFFF		; fx run while fx-local frame counter <= this value