;***********************
;*** sound test menu ***
;***********************

.sndtst_menu_callback
	
	or A
	jr z,sndtst_playsnd

	call MUSIC_Stop
	jp GAME_Enter
	
.sndtst_playsnd
	
	ld A,(sndtst_menu_play)
	call MUSIC_Play
	ret

sndtst_menu_x	EQU 18
sndtst_menu_y	EQU 12

.sndtst_menu
	db 0
	db 2
	dw sndtst_menu_callback
	dw sndtst_menu_play
	dw sndtst_menu_end 

.sndtst_menu_end 
	db 0
	db 1
	db sndtst_menu_x,sndtst_menu_y+4
	dw sndtst_menu_end_title
	db sndtst_menu_x,sndtst_menu_y+4
	dw sndtst_menu_end_title
	
.sndtst_menu_end_title	
	str "EXIT"
	
.sndtst_menu_play
	db 0
	db 14-1
	db sndtst_menu_x,sndtst_menu_y
	dw sndtst_menu_play_title
	db sndtst_menu_x+6,sndtst_menu_y
	dw sndtst_menu_track0
	dw sndtst_menu_track1
	dw sndtst_menu_track2
	dw sndtst_menu_track3
	dw sndtst_menu_track4
	dw sndtst_menu_track5
	dw sndtst_menu_track6
	dw sndtst_menu_track7
	dw sndtst_menu_track8
	dw sndtst_menu_track9
	dw sndtst_menu_track10
	;dw sndtst_menu_track11
	dw sndtst_menu_track12
	dw sndtst_menu_track13
	
.sndtst_menu_play_title
	str "TRACK."
.sndtst_menu_track0
	str "LEVEL 1 "
.sndtst_menu_track1
	str "LEVEL 2 "
.sndtst_menu_track2
	str "LEVEL 3 "	
.sndtst_menu_track3
	str "LEVEL 4 "	
.sndtst_menu_track4
	str "LEVEL 5 "
.sndtst_menu_track5
	str "LEVEL 6 "
.sndtst_menu_track6
	str "LEVEL 7 "
.sndtst_menu_track7
	str "LEVEL 8 "
.sndtst_menu_track8
	str "BOSS    "
.sndtst_menu_track9
	str "CONTINUE "
.sndtst_menu_track10
	str "GAME OVER"
.sndtst_menu_track11
	str "TITLE    "	
.sndtst_menu_track12
	str "VICTORY! "
.sndtst_menu_track13
	str "HI-SCORE "
