//-----------------------------------------------------------------------------
// 11. ROMBS_GRID
//-----------------------------------------------------------------------------

	;init_fx
	DB	T_FX_INI

	; start music after first effect init
	DB	2		;COMM_ASM
	CALL	MUSIC_ON
	;---
	DI
	LD	BC,832-104	; call im2 subroutine with play music while counter <= this value
WAITMUSLP	
	CALL	IM2EXEC
	LD	HL,(MUSPOS)
	AND	A
	SBC	HL,BC
	JP	NZ,WAITMUSLP
	;---
	LD	IY,$+5
	RET
	
	;wait fx
	DB	T_FX_NOP
	DW	832-2		; pause while fx-local frame counter <= this value

	;run_fx
	DB	T_FX_RUN
	DW	#FFFF
