slide

by tjb0607

Game:

Description: puts you in regular slide state in the air, and cape's slide state on the ground

	LDA $0100|!addr	; \ only run in gamemode 14
	EOR #$14	; |
	ORA $9D		; | and when the game isn't paused
	BEQ +		; |
	RTL		; |
	+		; /

LDA #$7F  ; \ slippery :)
STA $86   ; /

LDA #$1C
LDY $72
BNE store
LDA $7B
BPL +
EOR #$FF
INC
+
CMP #$08
BCC end
LDA #$80
store:
STA $13ED|!addr
end:
RTL
back to listings