!Slot = $00
JMP MarioBelow : JMP MarioAbove : JMP MarioSide : JMP SpriteV : JMP SpriteH : JMP MarioCape : JMP MarioFireBall

MarioAbove:
LDA $7FC080+!Slot
CMP #08
BEQ R

LDA $7FC080+!Slot
CMP #09
BEQ R
RTL

R:

LDA #$08 ;"Boing" sound
STA $1DFC ;I/O Port played
LDA #$90
STA $7D ;Mario's Y Speed
LDA #$01
STA $0660

MarioSide:
MarioBelow:
SpriteV:
SpriteH:
MarioCape:
MarioFireBall:
RTL              ;Return