db $42

JMP MarioBelow : JMP MarioAbove : JMP MarioSide : JMP SpriteV : JMP SpriteH : JMP MarioCape : JMP MarioFireBall : JMP MarioCorner : JMP MarioHeadinside : JMP MarioBodyinside


MarioCape:
MarioBelow:
MarioHeadinside:
MarioSide:
MarioCorner:
MarioFireBall:
MarioAbove:
MarioBodyinside:
LDA #$25
STA $1693
LDY #$00
RTL
SpriteV:
SpriteH:
STA $7FA002
LDA $D8,x
AND #$0F
CMP #$08
BCS .NotSlope
LDA $E4,x
CLC
ADC #$08
AND #$0F
CMP #$08
BCS .NotSlope
ASL
PHY
TAY
LDA $14D4,x
XBA
LDA $D8,x
REP #$20
AND #$FFF0
SEC
SBC #$0001
SEP #$20
PLY
STA $D8,x
XBA
STA $14D4,x
LDA #$FD
STA $15B8,x
LDA #$04
TSB $1588
.NotSlope


RTL
