spritechanger

by nambona

Game: smw

Description: changes all sprites onscreen on a write to 7fa400 and 7fa401

;7fa400 is the sprite number
;7fa401 will cause a write
sprite:
	LDA $7FA401
	BNE +
	RTL
	+
	LDA #$00
	STA $7FA401
	LDA $7FA400
	LDX #$0B
	-
	STA $9B,x
	DEX
	BPL -
	RTL
back to listings