mansleftpowerup

by soapagent

Game: SMW

Description: taking it to new heights

; 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 $16
and #$03
beq end

inc $19

and #$01
beq end

dec $19
dec $19

end:
lda $19
and #$03
sta $19
clc
rtl
back to listings