Advertisement
EvilRobot666

[MKWii] Rave Code *UPDATED*

Jan 18th, 2016
663
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. An Update Version of the Rave Code has now been Released!
  2. Enjoy! ^_^
  3.  
  4.  
  5. Rave Code -PAL- [Spaghetti Noppers]
  6. 283457E2 FEFF0100
  7. C254F80C 0000001C
  8. 3DE08150 2C130000
  9. 40820018 3A100005
  10. 2C1000FF 4081000C
  11. 3A0000FF 3A600001
  12. 2C130001 40820018
  13. 3A310005 2C1100FF
  14. 4081000C 3A2000FF
  15. 3A600002 2C130002
  16. 40820018 3A10FFFB
  17. 2C100000 4080000C
  18. 3A000000 3A600003
  19. 2C130003 40820018
  20. 3A520005 2C1200FF
  21. 4081000C 3A4000FF
  22. 3A600004 2C130004
  23. 40820018 3A31FFFB
  24. 2C110000 4080000C
  25. 3A200000 3A600005
  26. 2C130005 40820018
  27. 3A100005 2C1000FF
  28. 4081000C 3A0000FF
  29. 3A600006 2C130006
  30. 40820018 3A52FFFB
  31. 2C120000 4080000C
  32. 3A400000 3A600001
  33. 9A0F0000 9A2F0001
  34. 9A4F0002 88EF0000
  35. 60000000 00000000
  36. 0454F818 88CF0001
  37. 0454F81C 88AF0002
  38. 0454F304 38000002
  39. 0454F824 38000055
  40. CC000000 00000000
  41. 0454F80C 88FE0020
  42. 0454F818 88DE0021
  43. 0454F81C 88BE0022
  44. 0454F304 801C0008
  45. 0454F824 80010014
  46. E0000000 80008000
  47.  
  48.  
  49. Rave Code -NTSC-U- [Spaghetti Noppers]
  50. 28341462 FEFF0100
  51. C254A2D0 0000001C
  52. 3DE08150 2C130000
  53. 40820018 3A100005
  54. 2C1000FF 4081000C
  55. 3A0000FF 3A600001
  56. 2C130001 40820018
  57. 3A310005 2C1100FF
  58. 4081000C 3A2000FF
  59. 3A600002 2C130002
  60. 40820018 3A10FFFB
  61. 2C100000 4080000C
  62. 3A000000 3A600003
  63. 2C130003 40820018
  64. 3A520005 2C1200FF
  65. 4081000C 3A4000FF
  66. 3A600004 2C130004
  67. 40820018 3A31FFFB
  68. 2C110000 4080000C
  69. 3A200000 3A600005
  70. 2C130005 40820018
  71. 3A100005 2C1000FF
  72. 4081000C 3A0000FF
  73. 3A600006 2C130006
  74. 40820018 3A52FFFB
  75. 2C120000 4080000C
  76. 3A400000 3A600001
  77. 9A0F0000 9A2F0001
  78. 9A4F0002 88EF0000
  79. 60000000 00000000
  80. 0454A2DC 88CF0001
  81. 0454A2E0 88AF0002
  82. 04549DC8 38000002
  83. 0454A2E8 38000055
  84. CC000000 00000000
  85. 0454A2D0 88FE0020
  86. 0454A2DC 88DE0021
  87. 0454A2E0 88BE0022
  88. 04549DC8 801C0008
  89. 0454A2E8 80010014
  90. E0000000 80008000
  91.  
  92.  
  93. Source:
  94.  
  95. #Rave Code ASM Source (PAL Version)
  96. #Coded by the Spaghetti Noppers Group
  97.  
  98. .set address,0xC254F80C   #ASM Code Address + Region
  99. .set controller,0x57E2    #What Controller to Use?
  100. .set button,0x0100        #What Button to Press?
  101. .set speed,0x05           #Speed of Changing Colors
  102. .set alpha,0x55           #How Strong you want the Colors?
  103.  
  104. /*------------------------------------------------------*/
  105.  
  106. .short 0x2834
  107. .short controller
  108. .short 0xFFFF - button
  109. .short button
  110. .long address
  111. .long 0x0000001C
  112. lis r15,0x8150
  113. cmpwi r19,0
  114. bne c
  115. addi r16,r16,speed
  116. cmpwi r16,0xFF
  117. ble x
  118. li r16,0xFF
  119. li r19,1
  120. x:
  121. c:
  122. cmpwi r19,1
  123. bne a
  124. addi r17,r17,speed
  125. cmpwi r17,0xFF
  126. ble e
  127. li r17,0xFF
  128. li r19,2
  129. e:
  130. a:
  131. cmpwi r19,2
  132. bne b
  133. addi r16,r16,-speed
  134. cmpwi r16,0
  135. bge z
  136. li r16,0
  137. li r19,3
  138. z:
  139. b:
  140. cmpwi r19,3
  141. bne y
  142. addi r18,r18,speed
  143. cmpwi r18,0xFF
  144. ble i
  145. li r18,0xFF
  146. li r19,4
  147. i:
  148. y:
  149. cmpwi r19,4
  150. bne h
  151. addi r17,r17,-speed
  152. cmpwi r17,0
  153. bge s
  154. li r17,0
  155. li r19,5
  156. s:
  157. h:
  158. cmpwi r19,5
  159. bne w
  160. addi r16,r16,speed
  161. cmpwi r16,0xFF
  162. ble t
  163. li r16,0xFF
  164. li r19,6
  165. t:
  166. w:
  167. cmpwi r19,6
  168. bne l
  169. addi r18,r18,-speed
  170. cmpwi r18,0
  171. bge o
  172. li r18,0
  173. li r19,1
  174. o:
  175. l:
  176. stb r16,0(r15)
  177. stb r17,1(r15)
  178. stb r18,2(r15)
  179. lbz r7,0(r15)
  180. nop
  181. .long 0
  182. .long 0x0454F818
  183. .long 0x88CF0001
  184. .long 0x0454F81C
  185. .long 0x88AF0002
  186. .long 0x0454F304
  187. .long 0x38000002
  188. .long 0x0454F824
  189. .short 0x3800
  190. .short alpha
  191. .long 0xCC000000,
  192. .long 0x0454F80C
  193. .long 0x88FE0020
  194. .long 0x0454F818
  195. .long 0x88DE0021
  196. .long 0x0454F81C
  197. .long 0x88BE0022
  198. .long 0x0454F304
  199. .long 0x801C0008
  200. .long 0x0454F824
  201. .long 0x80010014
  202. .long 0xE0000000
  203. .long 0x80008000
  204.  
  205. /*
  206. NOTES:
  207. After Compiling the Source:
  208. Delete the First Line 'C2XXXXXX 0000002A' and Delete the Last Line '60000000 00000000'
  209. */
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217. Source:
  218.  
  219. #Rave Code ASM Source (NTSC-U Version)
  220. #Coded by the Spaghetti Noppers Group
  221.  
  222. .set address,0xC254A2D0   #ASM Code Address + Region
  223. .set controller,0x1462    #What Controller to Use?
  224. .set button,0x0100        #What Button to Press?
  225. .set speed,0x05           #Speed of Changing Colors
  226. .set alpha,0x55           #How Strong you want the Colors?
  227.  
  228. /*------------------------------------------------------*/
  229.  
  230. .short 10292
  231. .short controller
  232. .short 65535 - button
  233. .short button
  234. .long address
  235. .long (69 - 41) + 1337 / 5 * 8 - 2160 ++24
  236. lis r15,0x8150
  237. cmpwi r19,0
  238. bne c
  239. addi r16,r16,speed
  240. cmpwi r16,255
  241. ble x
  242. li r16,255
  243. li r19,1
  244. x:
  245. c:
  246. cmpwi r19,1
  247. bne a
  248. addi r17,r17,speed
  249. cmpwi r17,255
  250. ble e
  251. li r17,255
  252. li r19,2
  253. e:
  254. a:
  255. cmpwi r19,2
  256. bne b
  257. addi r16,r16,-speed
  258. cmpwi r16,0
  259. bge z
  260. li r16,0
  261. li r19,3
  262. z:
  263. b:
  264. cmpwi r19,3
  265. bne y
  266. addi r18,r18,speed
  267. cmpwi r18,255
  268. ble i
  269. li r18,255
  270. li r19,4
  271. i:
  272. y:
  273. cmpwi r19,4
  274. bne h
  275. addi r17,r17,-speed
  276. cmpwi r17,0
  277. bge s
  278. li r17,0
  279. li r19,5
  280. s:
  281. h:
  282. cmpwi r19,5
  283. bne w
  284. addi r16,r16,speed
  285. cmpwi r16,255
  286. ble t
  287. li r16,255
  288. li r19,6
  289. t:
  290. w:
  291. cmpwi r19,6
  292. bne l
  293. addi r18,r18,-speed
  294. cmpwi r18,0
  295. bge o
  296. li r18,0
  297. li r19,1
  298. o:
  299. l:
  300. stb r16,0(r15)
  301. stb r17,1(r15)
  302. stb r18,2(r15)
  303. lbz r7,0(r15)
  304. nop
  305. .long 0
  306. .long 72655580 + 0 - 0++000-0++   0 -     00
  307. .long 2295267328 + 1      -1           ^1
  308. .long 72655584       +00       ^    1  -001
  309. .long 2293169512 + 666           +0
  310. .long 196111069 - 123456789
  311. .long (117440512 * 8) + 4 - 3 / 1 ^ 1 * 1
  312. .long 72655592 + 0 + 0 + 0 + 0 ^ 1-1
  313. .short (12999 + 1337) - 000             / 1101
  314. .short alpha - 0  + 0000 - 00      ^       0
  315. .long 3422552064,
  316. .long 72655568         + 1            - 1
  317. .long 2298347551 +0001                      -0
  318. .long 72655580
  319. .long 2296250401 +-0          + 000   -0
  320. .long 72655584
  321. .long 2294152250    + 1000  - 0    + 00
  322. .long 72654280
  323. .long 2149318665 -1                    ^  0
  324. .long 18163898          *4
  325. .long 2147549206 + -2
  326. .long 3758096384                -0000
  327. .long 2147516416 +0 +-                   00
  328.  
  329. /*
  330. NOTES:
  331. After Compiling the Source:
  332. Delete the First Line 'C2XXXXXX 0000002A' and Delete the Last Line '60000000 00000000'
  333. */
  334.  
  335.  
  336. ---BreakDown:---
  337. PAL Example:
  338.  
  339. Lightning Flash Mod
  340. 0454F304 3800000X
  341. 0 = Bright / White
  342. 1 = Current (Does Nothing)
  343. 2 = Dark / Black
  344. 3 = Fade Out
  345.  
  346. Lightning Flash Color Mod
  347. 0454F80C 38E000XX
  348. 0454F818 38C000YY
  349. 0454F81C 38A000ZZ
  350. 0454F824 380000TT
  351. X = R
  352. Y = G
  353. Z = B
  354. T = A
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement