Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- db $42
- JMP MarioBelow : JMP MarioAbove : JMP MarioSide
- JMP SpriteV : JMP SpriteH
- JMP Cape : JMP Fireball
- JMP MarioCorner : JMP MarioBody : JMP MarioHead
- JMP WallFeet : JMP WallBody
- MarioBelow:
- LDA $7B ; \ If the player's x speed is greater than 46...
- CMP #$2E ; |
- BMI Label_0000 ; /
- LDA #$74 ; \ Spawn sprite #$74 (74 Mushroom)
- CLC ; |
- %spawn_sprite() ; /
- BRA Label_0001
- Label_0000:
- PHY : JSL $00F5B7 : PLY ; > Hurt the player.
- Label_0001: ; > --------
- MarioAbove:
- RTL
- MarioSide:
- LDA $7B ; \ If the player's x speed is greater than 46...
- CMP #$2E ; |
- BMI Label_0002 ; /
- LDA #$74 ; \ Spawn sprite #$74 (74 Mushroom)
- CLC ; |
- %spawn_sprite() ; /
- BRA Label_0003
- Label_0002:
- PHY : JSL $00F5B7 : PLY ; > Hurt the player.
- Label_0003: ; > --------
- SpriteV:
- SpriteH:
- Cape:
- Fireball:
- RTL
- MarioCorner:
- LDA $7B ; \ If the player's x speed is greater than 46...
- CMP #$2E ; |
- BMI Label_0004 ; /
- LDA #$74 ; \ Spawn sprite #$74 (74 Mushroom)
- CLC ; |
- %spawn_sprite() ; /
- BRA Label_0005
- Label_0004:
- PHY : JSL $00F5B7 : PLY ; > Hurt the player.
- Label_0005: ; > --------
- RTL
- MarioBody:
- LDA $7B ; \ If the player's x speed is greater than 46...
- CMP #$2E ; |
- BMI Label_0006 ; /
- LDA #$74 ; \ Spawn sprite #$74 (74 Mushroom)
- CLC ; |
- %spawn_sprite() ; /
- BRA Label_0007
- Label_0006:
- PHY : JSL $00F5B7 : PLY ; > Hurt the player.
- Label_0007: ; > --------
- RTL
- MarioHead:
- LDA $7B ; \ If the player's x speed is greater than 46...
- CMP #$2E ; |
- BMI Label_0008 ; /
- LDA #$74 ; \ Spawn sprite #$74 (74 Mushroom)
- CLC ; |
- %spawn_sprite() ; /
- BRA Label_0009
- Label_0008:
- PHY : JSL $00F5B7 : PLY ; > Hurt the player.
- Label_0009: ; > --------
- WallFeet:
- WallBody:
- RTL
- print ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement