LuigiBlood

SMW Magic Project MSU1 (v1) source

Jun 13th, 2015
232
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. lorom
  2.  
  3.  
  4. ORG $058601
  5. ;JSL $05D680
  6. NOP
  7. LDA $2001 ;Load from S-MSU1 Patch
  8.  
  9. ORG $058607
  10. LDA $2001
  11.  
  12. ORG $05860C
  13. LDA $2001
  14.  
  15.  
  16. ORG $05D680 ;Load Level Data
  17.  
  18. TYA
  19. STA $2000
  20.  
  21. LDA $65
  22. STA $2001
  23. LDA $66
  24. STA $2002
  25. LDA $67
  26. STA $2003
  27.  
  28. - LDA $2000
  29. AND #$80
  30. CMP #$80
  31. BNE -
  32.  
  33. ;JMP $0FF9D0
  34. LDA $2001
  35. RTL
  36.  
  37. ORG $0FF9D0 ;Other things about Level Data
  38. ;LDY.b #$00
  39. LDA $2001
  40. AND.b #$1F
  41. RTL
  42.  
  43. LDY.b #$00 ;$0FF9D7
  44. JSL $05D680
  45.  
  46. JSL $05D680 ;$0FF9DC
  47. LSR
  48. LSR
  49. RTL
  50.  
  51. INY ;$0FF9E3
  52. JSL $05D680
  53. STA $00
  54. RTL
  55.  
  56. INY ;$0FF9EB
  57. JSL $05D680
  58. AND.b #$0F
  59. RTL
  60.  
  61. JSL $05D680 ;$0FF9F3
  62. AND.b #$30
  63. RTL
  64.  
  65.  
  66. ORG $05E30C
  67. db $00, $00, $00
  68.  
  69. ORG $05E24C
  70. db $00, $00, $00
  71.  
  72. ORG $05EA4C
  73. db $00, $00, $01
  74.  
  75. ORG $05EF88
  76. db $00, $02
  77.  
  78. ORG $0584E3
  79. JSL $0FF9D7 ;Load from S-MSU1 Patch
  80. ;db $A0, $00, $B7, $65, $AA
  81.  
  82. ORG $0584F9
  83. JSL $0FF9D0
  84.  
  85. ORG $058534
  86. JSL $0FF9DC
  87.  
  88. ORG $05853E
  89. JSL $0FF9E3
  90. NOP
  91.  
  92. ORG $058572
  93. JSL $0FF9E3
  94. NOP
  95.  
  96. ORG $0585A1
  97. JSL $0FF9EB
  98. NOP
  99.  
  100. ORG $0585AC
  101. JSL $0FF9EB
  102. NOP
  103.  
  104. ORG $0585B6
  105. JSL $0FF9F3
  106. NOP
RAW Paste Data