light

by friday_donuts

Game: SMW

Description: Mario's light now

; 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 $77
AND #$0C
BNE +
LDA $9D : ORA $13D4
BNE +
LDA $1471
BNE +
LDA $74
BNE +
LDA $75
BNE +

LDA $7D
SEC
SBC #$02
STA $7D
+
RTL
back to listings