	include	macro.inc
	include	mdc5.inc

	org	$c209
	lda	#4
	sta	mmc5_bgbank_x000_1000 ;$dfffx5
	rts
	fill	$c21f
	lda	#$1e
	jsr	mdc5_function_mirror_mmc1
	nopw	$c234
	
	org	$c297
	lda	$61
	sta	mmc5_spritebank_0000_1000 ;$bfffx5
	bpl	nn ;bra
	nopw	$c2ac
nn:
	lda	$60
	sta	mmc5_bgbank_x000_1000 ;$dfffx5
	bpl	nk
	nopw	$c2c1
nk:
	
	org	$c1da
	jsr	mdc5_function_cpubank_switch_8000_4000
	lda	$0d
	ora	#$80
	sta	$2000
	rts
	fill	$c1f5
