nomush

by snydej

Game:

Description: Replaces mushrooms

!frame_counter = $13
!sprite_id_table = $9e
!sprite_vx = $aa
!sprite_vy = $b6
!hits = $60
	LDA !frame_counter
	AND #$0f
	CMP #$0c
	BPL done
	TAX
	lda !sprite_id_table,X
	cmp #$74
	bne done
	lda #$00
	sta !sprite_vx, X
	sta !sprite_vy, X
	lda #$ae
	sta !sprite_id_table,X
	lda !hits
	sec
	sbc #$4
	sta !hits
done:
	rtl
back to listings