db $42 JMP MarioBelow : JMP MarioAbove : JMP MarioSide JMP SpriteV : JMP SpriteH JMP Cape : JMP Fireball JMP MarioCorner : JMP MarioHead : JMP MarioBody MarioSide: REP #$20 LDA $7F9C80 ; \ If the player's coin count is greater than #$0A... CMP #$000C ; | SEP #$20 BCC Label_0000 ; / PHY ; \ LDA #$02 ; | Erase the current block. STA $9C ; | JSL $00BEB0 ; | PLY ; / LDA $98 SEC SBC #$10 STA $98 LDA $99 SBC #$00 STA $99 PHY ; \ LDA #$02 ; | Erase the current block. STA $9C ; | JSL $00BEB0 ; | PLY ; / LDA #$29 ; \ Play the "correct" sound effect. STA $1DFC ; / BRA Label_0000 Label_0000: MarioBelow: MarioAbove: SpriteV: SpriteH: Cape: Fireball: MarioCorner: MarioHead: MarioBody: RTL