db $42

JMP MarioBelow : JMP MarioAbove : JMP MarioSide : JMP SpriteV : JMP SpriteH : JMP MarioCape : JMP MarioFireBall
JMP MarioCorner : JMP MarioBody : JMP MarioHead

MarioAbove:
MarioCorner:
PHY
LDY #$00
LDA $7F0E0F
AND #$01
EOR #$01
BNE Skip
LDA #$FF
LDY #$FF
Skip:
STA $05
STY $06

LDA $14
AND #$01
BEQ Return
REP #$20
LDA $94
CLC
ADC $05
STA $94
SEP #$20
LDA $7B
CLC
ADC $05
STA $7B
PLY
RTL





SpriteV:
PHY
LDY #$00
LDA $7F0E0F
AND #$01
EOR #$01
BNE Skip2
LDA #$FF
LDY #$FF
Skip2:
STA $05
STY $06
LDA $14
AND #$01
BEQ Return
LDA $B6,x
CLC
ADC $05
STA $B6,x

LDA $E4,x
STA $00
LDA $14E0,x
STA $01
REP #$20
LDA $00
CLC
ADC $05
STA $00
SEP #$20
LDA $00
STA $E4,x
LDA $01
STA $14E0,x
SEP #$20
Return:
PLY
MarioFireBall:
SpriteH:
MarioBelow:
MarioSide:
MarioCape:
MarioBody:
MarioHead:

	RTL