ranbox

by friday_donuts

Game: SMW

Description:

; Base ASM file - feel free to copy/paste this and use this for your own code.
	LDA $100	; \ only run in gamemode 14
	EOR #$14	; |
	ORA $9D		; | and when the game isn't paused
	BEQ +		; |
	RTL			; |
	+			; /

	REP #$20
	LDA #$2103
	STA $4330
	LDA #ranbow
	STA $4332
	SEP #$20
	PHK
	PLA
	STA $4334
	LDA.b #%00001000
	TSB $0D9F
	RTL

ranbow:
db $0A : dw $1A00,$001F
db $A4 : dw $1A00,$0CBF,$1A00,$195F,$1A00,$2A1F,$1A00,$3AFF,$1A00,$4FDF,$1A00,$53F9,$1A00,$53F3,$1A00,$57F1,$1A00,$5FEE,$1A00,$67EB,$1A00,$6BE8,$1A00,$73E6,$1A00,$77E3,$1A00,$7FE0,$1A00,$7FC3,$1A00,$7F86,$1A00,$7F69,$1A00,$7F2C,$1A00,$7F10,$1A00,$7ED3,$1A00,$7EB6,$1A00,$7E79,$1A00,$7E5C,$1A00,$7E1F,$1A00,$6D9F,$1A00,$613F,$1A00,$54DF,$1A00,$487F,$1A00,$3C1F,$1A00,$487F,$1A00,$58DF,$1A00,$695E,$1A00,$79DC,$1A00,$7A17,$1A00,$7A52,$1A00,$766E
db $80 : dw $1A00,$768B
db $32 : dw $1A00,$768B
db $00
back to listings