Guest User

SM74 N64 Script

a guest
Jul 24th, 2016
316
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. REM Attempt at a comprehensive fixing script for Super Mario 74
  2.  
  3.  
  4. REM MIO0 Data Realign
  5. ADR $B1F8B4
  6. DEL 1
  7. ADR $B2D715
  8. INSERT 01
  9. ADR $B35714
  10. DEL 1
  11. ADR $B55855
  12. INSERT 01
  13. ADR $B5D854
  14. DEL 1
  15. ADR $B7D995
  16. INSERT 01
  17. ADR $B85994
  18. DEL 1
  19. ADR $B9A2D5
  20. INSERT 01
  21. ADR $BA22D4
  22. DEL 1
  23. ADR $BBAC15
  24. INSERT 01
  25. ADR $BC2C14
  26. DEL 1
  27. ADR $BE2D55
  28. INSERT 01
  29. ADR $BEAD54
  30. DEL 1
  31. ADR $C0AE95
  32. INSERT 01
  33. ADR $C12E94
  34. DEL 1
  35. ADR $C32FD5
  36. INSERT 01
  37. ADR $C3AFD4
  38. DEL 1
  39. ADR $C4F915
  40. INSERT 01
  41. ADR $C57914
  42. DEL 1
  43. ADR $C77A55
  44. INSERT 01
  45. ADR $C7FA54
  46. DEL 1
  47. ADR $C9FB95
  48. INSERT 01
  49. ADR $CA7B94
  50. DEL 1
  51. ADR $CB53A9
  52. INSERT 01
  53. ADR $CBD3A8
  54. DEL 1
  55. ADR $CCB4BD
  56. INSERT 01
  57. ADR $CD34BC
  58. DEL 1
  59. ADR $CE03D1
  60. INSERT 01
  61. ADR $CE83D0
  62. DEL 1
  63. ADR $CF64E5
  64. INSERT 01
  65. ADR $CFE4E4
  66. DEL 1
  67. ADR $D07DF9
  68. INSERT 01
  69. ADR $D0FDF8
  70. DEL 1
  71. ADR $D1B20D
  72. INSERT 01
  73. ADR $D2320C
  74. DEL 1
  75. ADR $D31321
  76. INSERT 01
  77. ADR $D39320
  78. DEL 1
  79. ADR $D430B5
  80. INSERT 01
  81. ADR $D4B0B4
  82. DEL 1
  83. ADR $D591C9
  84. INSERT 01
  85. ADR $D611C8
  86. DEL 1
  87. ADR $D6E9DD
  88. INSERT 01
  89. ADR $D769DC
  90. DEL 1
  91. ADR $D84671
  92. INSERT 01
  93. ADR $D8C670
  94. DEL 1
  95. ADR $D9A785
  96. INSERT 01
  97. ADR $DA2784
  98. DEL 1
  99. ADR $DA951D
  100. INSERT 01
  101. ADR $DB151C
  102. DEL 1
  103. ADR $DD8361
  104. INSERT 01
  105. ADR $DE0360
  106. DEL 1
  107. ADR $E03B07
  108. INSERT 01
  109. ADR $E0BB06
  110. DEL 1
  111. ADR $E84C1F
  112. INSERT 01
  113. ADR $E8CC1E
  114. DEL 1
  115. ADR $EB8587
  116. INSERT 01
  117. ADR $EC0586
  118. DEL 1
  119. ADR $EE8E37
  120. INSERT 01
  121. ADR $EF0E36
  122. DEL 1
  123. ADR $F025F9
  124. INSERT 01
  125. ADR $F0A5F8
  126. DEL 1
  127. ADR $F1A081
  128. INSERT 01
  129. ADR $F22080
  130. DEL 1
  131. ADR $F3A809
  132. INSERT 01
  133. ADR $F42808
  134. DEL 1
  135. ADR $F53BB5
  136. INSERT 01
  137. ADR $F5BBB4
  138. DEL 1
  139. ADR $F69F71
  140. INSERT 01
  141. ADR $F71F70
  142. DEL 1
  143. ADR $F88991
  144. INSERT 01
  145. ADR $F90990
  146. DEL 1
  147. ADR $FBF807
  148. INSERT 01
  149. ADR $FC7806
  150. DEL 1
  151. ADR $FD907F
  152. INSERT 01
  153. ADR $FE107E
  154. DEL 1
  155. ADR $FF0EAF
  156. INSERT 01
  157. ADR $FF8EAE
  158. DEL 1
  159. ADR $1003B77
  160. INSERT 01
  161. ADR $100BB76
  162. DEL 1
  163. ADR $102177F
  164. INSERT 01
  165. ADR $102977E
  166. DEL 1
  167. ADR $102CAAF
  168. INSERT 01
  169. ADR $1034AAE
  170. DEL 1
  171. ADR $10502A3
  172. INSERT 01
  173. ADR $10582A2
  174. DEL 1
  175. ADR $1080B73
  176. INSERT 01
  177. ADR $1088B72
  178. DEL 1
  179. ADR $1098883
  180. INSERT 01
  181. ADR $10A0882
  182. DEL 1
  183. ADR $10B269B
  184. INSERT 01
  185. ADR $10BA69A
  186. DEL 1
  187. ADR $10E19EB
  188. INSERT 01
  189. ADR $010E99EA
  190. DEL 1
  191. ADR $10F0867
  192. INSERT 01
  193. ADR $10F8866
  194. DEL 1
  195. ADR $1109903
  196. INSERT 01
  197. ADR $1111902
  198. DEL 1
  199. ADR $111D8AB
  200. INSERT 01
  201. ADR $11258AA
  202. DEL 1
  203. ADR $112E271
  204. INSERT 01
  205. ADR $1136270
  206. DEL 1
  207. ADR $1138D39
  208. INSERT 01
  209. ADR $1140D38
  210. DEL 1
  211. ADR $11544E7
  212. INSERT 01
  213. ADR $115C4E6
  214. DEL 1
  215. ADR $115E087
  216. INSERT 01
  217. ADR $1166086
  218. DEL 1
  219. ADR $116B143
  220. INSERT 01
  221. ADR $1173142
  222. DEL 1
  223. ADR $11A35B7
  224. INSERT 01
  225.  
  226. REM Pointer Remaping
  227. ADR 0
  228. REPLACEALL 00 B1 F8 B5 00 B2 D7 15 BY 00 B1 F8 B4 00 B2 D7 14
  229. ADR 0
  230. REPLACEALL 00 B3 57 15 00 B5 58 55 BY 00 B3 57 14 00 B5 58 54
  231. ADR 0
  232. REPLACEALL 00 B5 D8 55 00 B7 D9 95 BY 00 B5 D8 54 00 B7 D9 94
  233. ADR 0
  234. REPLACEALL 00 B8 59 95 00 B9 A2 D5 BY 00 B8 59 94 00 B9 A2 D4
  235. ADR 0
  236. REPLACEALL 00 BA 22 D5 00 BB AC 15 BY 00 BA 22 D4 00 BB AC 14
  237. ADR 0
  238. REPLACEALL 00 BC 2C 15 00 BE 2D 55 BY 00 BC 2C 14 00 BE 2D 54
  239. ADR 0
  240. REPLACEALL 00 BE AD 55 00 C0 AE 95 BY 00 BE AD 54 00 C0 AE 94
  241. ADR 0
  242. REPLACEALL 00 C1 2E 95 00 C3 2F D5 BY 00 C1 2E 94 00 C3 2F D4
  243. ADR 0
  244. REPLACEALL 00 C3 AF D5 00 C4 F9 15 BY 00 C3 AF D4 00 C4 F9 14
  245. ADR 0
  246. REPLACEALL 00 C5 79 15 00 C7 7A 55 BY 00 C5 79 14 00 C7 7A 54
  247. ADR 0
  248. REPLACEALL 00 C7 FA 55 00 C9 FB 95 BY 00 C7 FA 54 00 C9 FB 94
  249. ADR 0
  250. REPLACEALL 00 CA 7B 95 00 CB 53 A9 BY 00 CA 7B 94 00 CB 53 A8
  251. ADR 0
  252. REPLACEALL 00 CB D3 A9 00 CC B4 BD BY 00 CB D3 A8 00 CC B4 BC
  253. ADR 0
  254. REPLACEALL 00 CD 34 BD 00 CE 03 D1 BY 00 CD 34 BC 00 CE 03 D0
  255. ADR 0
  256. REPLACEALL 00 CE 83 D1 00 CF 64 E5 BY 00 CE 83 D0 00 CF 64 E4
  257. ADR 0
  258. REPLACEALL 00 CF E4 E5 00 D0 7D F9 BY 00 CF E4 E4 00 D0 7D F8
  259. ADR 0
  260. REPLACEALL 00 D0 FD F9 00 D1 B2 0D BY 00 D0 FD F8 00 D1 B2 0C
  261. ADR 0
  262. REPLACEALL 00 D2 32 0D 00 D3 13 21 BY 00 D2 32 0C 00 D3 13 20
  263. ADR 0
  264. REPLACEALL 00 D3 93 21 00 D4 30 B5 BY 00 D3 93 20 00 D4 30 B4
  265. ADR 0
  266. REPLACEALL 00 D4 B0 B5 00 D5 91 C9 BY 00 D4 B0 B4 00 D5 91 C8
  267. ADR 0
  268. REPLACEALL 00 D6 11 C9 00 D6 E9 DD BY 00 D6 11 C8 00 D6 E9 DC
  269. ADR 0
  270. REPLACEALL 00 D7 69 DD 00 D8 46 71 BY 00 D7 69 DC 00 D8 46 70
  271. ADR 0
  272. REPLACEALL 00 D8 C6 71 00 D9 A7 85 BY 00 D8 C6 70 00 D9 A7 84
  273. ADR 0
  274. REPLACEALL 00 DA 27 85 00 DA 95 1D BY 00 DA 27 84 00 DA 95 1C
  275. ADR 0
  276. REPLACEALL 00 DB 15 1D 00 DD 83 61 BY 00 DB 15 1C 00 DD 83 60
  277. ADR 0
  278. REPLACEALL 00 DE 03 61 00 E0 3B 07 BY 00 DE 03 60 00 E0 3B 06
  279. ADR 0
  280. REPLACEALL 00 E0 BB 07 00 E8 4C 1F BY 00 E0 BB 06 00 E8 4C 1E
  281. ADR 0
  282. REPLACEALL 00 E8 CC 1F 00 EB 85 87 BY 00 E8 CC 1E 00 EB 85 86
  283. ADR 0
  284. REPLACEALL 00 EC 05 87 00 EE 8E 37 BY 00 EC 05 86 00 EE 8E 36
  285. ADR 0
  286. REPLACEALL 00 EF 0E 37 00 F0 25 F9 BY 00 EF 0E 36 00 F0 25 F8
  287. ADR 0
  288. REPLACEALL 00 F0 A5 F9 00 F1 A0 81 BY 00 F0 A5 F8 00 F1 A0 80
  289. ADR 0
  290. REPLACEALL 00 F2 20 81 00 F3 A8 09 BY 00 F2 20 80 00 F3 A8 08
  291. ADR 0
  292. REPLACEALL 00 F4 28 09 00 F5 3B B5 BY 00 F4 28 08 00 F5 3B B4
  293. ADR 0
  294. REPLACEALL 00 F5 BB B5 00 F6 9F 71 BY 00 F5 BB B4 00 F6 9F 70
  295. ADR 0
  296. REPLACEALL 00 F7 1F 71 00 F8 89 91 BY 00 F7 1F 70 00 F8 89 90
  297. ADR 0
  298. REPLACEALL 00 F9 09 91 00 FB F8 07 BY 00 F9 09 90 00 FB F8 06
  299. ADR 0
  300. REPLACEALL 00 FC 78 07 00 FD 90 7F BY 00 FC 78 06 00 FD 90 7E
  301. ADR 0
  302. REPLACEALL 00 FE 10 7F 00 FF 0E AF BY 00 FE 10 7E 00 FF 0E AE
  303. ADR 0
  304. REPLACEALL 00 FF 8E AF 01 00 3B 77 BY 00 FF 8E AE 01 00 3B 76
  305. ADR 0
  306. REPLACEALL 01 00 BB 77 01 02 17 7F BY 01 00 BB 76 01 02 17 7E
  307. ADR 0
  308. REPLACEALL 01 02 97 7F 01 02 CA AF BY 01 02 97 7E 01 02 CA AE
  309. ADR 0
  310. REPLACEALL 01 03 4A AF 01 05 02 A3 BY 01 03 4A AE 01 05 02 A2
  311. ADR 0
  312. REPLACEALL 01 05 82 A3 01 08 0B 73 BY 01 05 82 A2 01 08 0B 72
  313. ADR 0
  314. REPLACEALL 01 08 8B 73 01 09 88 83 BY 01 08 8B 72 01 09 88 82
  315. ADR 0
  316. REPLACEALL 01 0A 08 83 01 0B 26 9B BY 01 0A 08 82 01 0B 26 9A
  317. ADR 0
  318. REPLACEALL 01 0B A6 9B 01 0E 19 EB BY 01 0B A6 9A 01 0E 19 EA
  319. ADR 0
  320. REPLACEALL 01 0E 99 EB 01 0F 08 67 BY 01 0E 99 EA 01 0F 08 66
  321. ADR 0
  322. REPLACEALL 01 0F 88 67 01 10 99 03 BY 01 0F 88 66 01 10 99 02
  323. ADR 0
  324. REPLACEALL 01 11 19 03 01 11 D8 AB BY 01 11 19 02 01 11 D8 AA
  325. ADR 0
  326. REPLACEALL 01 12 58 AB 01 12 E2 71 BY 01 12 58 AA 01 12 E2 70
  327. ADR 0
  328. REPLACEALL 01 13 62 71 01 13 8D 39 BY 01 13 62 70 01 13 8D 38
  329. ADR 0
  330. REPLACEALL 01 14 0D 39 01 15 44 E7 BY 01 14 0D 38 01 15 44 E6
  331. ADR 0
  332. REPLACEALL 01 15 C4 E7 01 15 E0 87 BY 01 15 C4 E6 01 15 E0 86
  333. ADR 0
  334. REPLACEALL 01 16 60 87 01 16 B1 43 BY 01 16 60 86 01 16 B1 42
  335. ADR 0
  336. REPLACEALL 01 17 31 43 01 1A 35 B7 BY 01 17 31 42 01 1A 35 B6
  337.  
  338.  
  339. REM Black and White Textures fix (breaks foggy levels)
  340. REM Starting at 1200000, so will only affect custom levels (leaves unchanged Bowser Battle levels alone)
  341. ADR $1200000
  342. REPLACEALL FC 12 7F FF FF FF F8 38 BY FC 12 7E 24 FF FF F9 FC
  343.  
  344.  
  345. REM Snowman's land (Swamp) (Foggy Level Fix)
  346. REM Level layout data starts at 01740000)
  347. REM (Next level data WetDry starts at 01820000)
  348. REM ---------
  349. ADR $177DE90
  350. OVERWRITE FC 12 7F FF FF FF F8 38
  351. ADR $1796EC0
  352. OVERWRITE FC 12 7F FF FF FF F8 38
  353. ADR $1798470
  354. OVERWRITE FC 12 7F FF FF FF F8 38
  355.  
  356.  
  357. REM Vanish Cap (Foggy Level Fix)
  358. REM Level layout data starts at 01E40000
  359. REM (Next level data BowserCourse2 starts at 01F20000)
  360. REM ---------
  361. ADR $1E6E690
  362. OVERWRITE FC 12 7F FF FF FF F8 38
  363. ADR $1E7E7E0
  364. OVERWRITE FC 12 7F FF FF FF F8 38
  365.  
  366.  
  367. REM Metal Cap (Foggy Level Fix)
  368. REM Level Layout Data starts at 02700000)
  369. REM (Next level data wingcap starts at 027E00000)
  370. REM ---------
  371. ADR $271FDE0
  372. OVERWRITE FC 12 7F FF FF FF F8 38
  373. ADR $2727B40
  374. OVERWRITE FC 12 7F FF FF FF F8 38
  375. ADR $27282C8
  376. OVERWRITE FC 12 7F FF FF FF F8 38
  377.  
  378.  
  379. REM Missing Alpha Textures fix (I can only find two instances in SM74)
  380. ADR $1200000
  381. REPLACEALL 15 06 00 00 0E BY 15 04 00 00 0E
  382.  
  383.  
  384. REM Date stamp for identification (which I hope won't break anything!)
  385. ADR $2FFFFFC
  386. OVERWRITE 24 07 20 16
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×