db $42
JMP Code : JMP Code : JMP Code : JMP Return : JMP Return : JMP Return : JMP Return : JMP Code : JMP Code : JMP Code

Code:
	LDA $1497	;hurt timer
	BNE Return

	LDA #$04
	STA $1DF9
	LDA #$20
	STA $1497

	LDX $76		;player direction
	LDA BounceTable,x
	STA $7B		;xspeed

	LDA $7D		;yspeed
	SEC
	SBC #$10
	BPL NoBoost
	STA $7D
NoBoost:

	LDY #$06
	REP #$20
	LDA $7FA230
Loop:
	CMP #$0001
	BEQ NoReduction
	DEC A
	DEY
	CPY #$00
	BNE Loop
NoReduction:
	STA $7FA230
	SEP #$20

	LDY #$00	;act like tile 25
	LDA #$25
	STA $1693

Return:
	RTL

BounceTable: db $28,$D8