ShakeIt

by soapagent

Game: SMW

Description: constantly sets Layer 1 shake timer

; 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		; |
	+		; /
	
; YOUR CODE HERE

LDA #$1C   ; S
STA $7E0F0D
LDA #$84   ; Blue H
STA $7E0F0E
LDA #$0A   ; A
STA $7E0F0F
LDA #$14   ; K
STA $7E0F10
LDA #$0E   ; E
STA $7E0F11
LDA #$28   ; Exclamation point
STA $7E0F28

LDA $14
CMP #$FF
BNE +
LDX #$9F   ; Not setting to max value just to give eyes a temporary break
STX $1887
LDX #$25
STX $1DF9
+

RTL
back to listings