walkman

by soapagent

Game: SMW

Description: whee!

; 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		; |
	+		; /

lda $15
and #$01
beq end

lda $72
bne end

lda $75
bne end

lda $14
and #$1f
sta !vx

end:
rtl
back to listings