1. ;Block by JackThsSpades
  2. ;
  3. ;Kills the player instantly regardless of powerup unless he has a star or is riding Yoshi and touches the block from the top
  4. ;Pretty much like an instant kill muncher.
  5. ;
  6. ;Credit? For 14 lines of code? I don't care.
  7. print "Kills Mario unless he has a star or is riding Yoshi"
  8. db $42
  9. JMP Mario : JMP MarioAbove : JMP Mario
  10. JMP Return : JMP Return
  11. JMP Return : JMP Return
  12. JMP MarioAbove : JMP Mario : JMP Mario
  13. MarioAbove:
  14. LDA $187A ;Is player riding yoshi? \ remove those two if you want
  15. BNE Return ;If yes, skip / the block to kill Mario even when on Yoshi
  16. Mario:
  17. LDA $1490 ;is the star timer set? \ remove those two if you want
  18. BNE Return ;if yes, skip / the block to kill Mario even when he has starpower
  19. JSL $00F606 ;if no,...KILL!!!
  20. Return:
  21. RTL