Advertisement
Guest User

Pokemon red Patches

a guest
Mar 2nd, 2016
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.19 KB | None | 0 0
  1. ;Format Sample
  2. ;[xxxx] ;User-defined Name (Max:31 chars)
  3. ;Mode = 1 ;1:Fixcode; 2:Fixvalue; 3:Mask; 4:Palette; 5:Double Frame Buffer
  4. ;Type = 0 ;0:Begin 1:End
  5. ;Index = 0 ;Index
  6. ;Address = x1F8000 ;ROM Address
  7. ;MemAddress = x2000 ;RAM Address
  8. ;Fixcode = 0 ;Mode1: Fixed Rom Code; Mode2: Fixed Value
  9. ;DelayFrame = 0 ;Delay Frame
  10. ;FadeFrame = 0 ;Fade Frame 0:Off
  11. ;DarkEnable0 = 0 ;0:Off, 1:On (for Normal Mode)
  12. ;ReduceEnable0 = 0 ;0:Off, 1:On (for Normal Mode)
  13. ;MotionBEnable0 = 0 ;0:Off, 1:Black Fade, 2:, 3:Frame Blend (for Normal Mode)
  14. ;Dark0 = 10 ;0~10 (for Normal Mode)
  15. ;ReduceColorR0 = 0 ;0~31 (for Normal Mode)
  16. ;ReduceColorG0 = 0 ;0~31 (for Normal Mode)
  17. ;ReduceColorB0 = 0 ;0~31 (for Normal Mode)
  18. ;MotionBlur0 = 31 ;0~31 (for Normal Mode)
  19. ;DarkEnable1 = 0 ;0:Off, 1:On (for Green Mode)
  20. ;ReduceEnable1 = 0 ;0:Off, 1:On (for Green Mode)
  21. ;MotionBEnable1 = 0 ;0:Off, 1:Black Fade, 2:, 3:Frame Blend (for Green Mode)
  22. ;Dark1 = 10 ;0~10 (for Green Mode)
  23. ;ReduceColorR1 = 0 ;0~31 (for Green Mode)
  24. ;ReduceColorG1 = 0 ;0~31 (for Green Mode)
  25. ;ReduceColorB1 = 0 ;0~31 (for Green Mode)
  26. ;MotionBlur1 = 31 ;0~31 (for Green Mode)
  27. ;PaletteX = c31,31,31 ;X:0~15, cR,G,B (0~31)
  28. [SaveLimit]
  29. Mode = 12
  30. Type = 1
  31. Index = 0x2598
  32. Address = 0x3523
  33.  
  34. ;[Fix pokemon]
  35. ;Mode = 2
  36. ;Address = 0x1551
  37. ;Type = 3
  38.  
  39. ; home / Serial.asm line 232
  40. [send_send_buf2]
  41. Mode = 2
  42. Address = 0x227F
  43. Type = 29
  44.  
  45. ; Serial.asm line 270
  46. [send_send_buf2_ret]
  47. Mode = 2
  48. Address = 0x22C2
  49. Type = 30
  50.  
  51. ; Linkbattle exhange data - engine/ battle / core.asm line 3121
  52. [send_byt2]
  53. Mode = 2
  54. Address = 0x3D638
  55. Type = 31
  56. ; Linkbattle exhange data - core.asm line 3127
  57. [send_byt2_ret]
  58. Mode = 2
  59. Address = 0x3D647
  60. Type = 32
  61.  
  62. ;didn't look - should be in core.asm
  63. [send_dummy]
  64. Mode = 2
  65. Address = 0x3D652
  66. Type = 33
  67.  
  68. ;didn't look - should be in core.asm
  69. [send_dummy_end]
  70. Mode = 2
  71. Address = 0x3D65D
  72. Type = 34
  73. ;didn't look - should be in core.asm
  74. [FIGHT]
  75. Mode = 1
  76. Address = 0x3D648
  77. Fixcode = 0x1A
  78. ;didn't look - should be in core.asm
  79. [FIGHT2]
  80. Mode = 1
  81. Address = 0x3D653
  82. Fixcode = 0x1A
  83.  
  84. ; END core.asm LinkBattle exchange data patches.
  85.  
  86. ; Serial.asm line 256
  87. [Network10]
  88. Mode = 1
  89. Address = 0x22A7
  90. Fixcode = 0x1A
  91.  
  92.  
  93. ; Serial.asm line 262
  94. [Network11]
  95. Mode = 1
  96. Address = 0x22B2
  97. Fixcode = 0x1A
  98.  
  99. ;engine / cableclub.asm line 127 call serial_exchangeBytes
  100. [Network17]
  101. Mode = 2
  102. Address = 0x53E2
  103. Type = 5
  104. ;engine / cableclub.asm line 133 call serial_exchangeBytes
  105. [Network424]
  106. Mode = 2
  107. Address = 0x53F1
  108. Type = 4
  109.  
  110. ;engine / cableclub.asm line 139 call serial_exchangeBytes
  111. [Network200]
  112. Mode = 2
  113. Address = 0x5400
  114. Type = 4
  115.  
  116. ;end serial_exchangebytes patches
  117.  
  118. ; engine / overworld / cable_club_npc.asm line 71
  119. [Network_RECHECK]
  120. Mode = 2
  121. Address = 0x7266
  122. Type = 7
  123.  
  124. ; engine / menu /main_menu.asm line 287
  125. [Network_STOP]
  126. Mode = 2
  127. Address = 0x5D31
  128. Type = 8
  129. ; engine / menu /main_menu.asm line 290
  130. [Network_END]
  131. Mode = 2
  132. Address = 0x5D3A
  133. Type = 9
  134.  
  135. ; palletes.asm line 486 ? Not sure if this is correct
  136. [Network_RESET]
  137. Mode = 2
  138. Address = 0x720DD
  139. Type = 10
  140.  
  141. ; engine /overworld / cable_club_npc.asm line 30
  142. [linkCable fake begin]
  143. Mode = 2
  144. Address = 0x7202
  145. Type = 16
  146.  
  147. ;engine /overworld / cable_club_npc.asm line 68
  148. [linkCable fake end]
  149. Mode = 2
  150. Address = 0x7260
  151. Type = 17
  152.  
  153.  
  154. ;engine /overworld / cable_club_npc.asm line 57? Not totally sure
  155. [linkCable block input]
  156. Mode = 2
  157. Address = 0x7245
  158. Type = 18
  159.  
  160. ;[save game start]
  161. ;Mode = 2
  162. ;Address = 0x59E6
  163. ;Type = 19
  164.  
  165. [save game end]
  166. Mode = 2
  167. Address = 0x5A0C
  168. Type = 20
  169.  
  170. ;93 A7 A4 7F AB A8 AD AA 7F A7
  171. ;at 93
  172. [Change_MSG]
  173. Mode = 1
  174. Address = 0xA29DC
  175. Fixcode = a20: 8F AB A4 A0 B2 A4 7F A2 AE AC A4 7F A0 A6 A0 A8 AD E7 57 00
  176.  
  177. [fight_ret]
  178. Mode = 1
  179. Address = 0x3EEB8
  180. Fixcode = 0xC9
  181.  
  182. [fight_ret_c]
  183. Mode = 2
  184. Address = 0x3EEB8
  185. Type = 98
  186.  
  187. ; The effect_no decide which animation will be played.
  188. ; So we use it as a condition value. The address of effect_no is 0xd07c
  189. ; a7 c0 3e 05 ea
  190. ; and a A7
  191. ; ret nz C0
  192. ;
  193. ; ld a,5 3E 05
  194. ; ld (anime_buf),a EA
  195. ;
  196. ;
  197. ;effect_select_rdy:
  198. ; ld (effect_no),a
  199. ;
  200. ; call put_wait
  201. ;
  202. ; ld a,B_EFFECT_SELECT
  203.  
  204.  
  205. ;rsm033659
  206. ;no151 mega punch
  207. [FPA 001 Begin]
  208. Mode = 3
  209. Type = 0
  210. Address = 0x7816F
  211. MotionBEnable0 = 3
  212. MotionBlur0 = 21
  213. MotionBEnable1 = 3
  214. MotionBlur1 = 21
  215. ConditionType = 11
  216. ConditionValueA = a38: 4b cf 4c cf 4d cf 4e cf 50 cf 7c d0 00 00 4b cf 4c cf 4d cf 4e cf 4f cf 7c d0 00 00 4b cf 4c cf 4d cf 4e cf 7c d0
  217. ConditionValueB = a38: 00 00 00 00 00 00 00 00 00 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00
  218. ConditionValueC = a38: 8c 00 84 00 86 00 80 00 8f 00 05 00 00 00 92 00 84 00 8b 00 85 00 83 00 05 00 00 00 84 00 97 00 8f 00 8b 00 05 00
  219.  
  220.  
  221. [FPA 001 End]
  222. Mode = 3
  223. Type = 1
  224. Address = 0x78175
  225. ConditionType = 0
  226. ConditionValueA = a12: 4b cf 4c cf 4d cf 4e cf 50 cf 7c d0
  227. ConditionValueB = a12: 00 00 00 00 00 00 00 00 00 00 00 00
  228. ConditionValueC = a12: 8c 00 84 00 86 00 80 00 8f 00 05 00
  229.  
  230.  
  231. ;rsm032916
  232. ;no117 guillotine
  233. [FPA 002 Begin]
  234. Mode = 3
  235. Type = 0
  236. Address = 0x7817C
  237. MotionBEnable0 = 3
  238. MotionBlur0 = 9
  239. MotionBEnable1 = 3
  240. MotionBlur1 = 8
  241. ConditionType = 0
  242. ConditionValueA = a10: 4b cf 4c cf 4d cf 4e cf 7c d0
  243. ConditionValueB = a10: 00 00 00 00 00 00 00 00 00 00
  244. ConditionValueC = a10: 86 00 94 00 88 00 8b 00 0c 00
  245.  
  246. [FPA 002 End]
  247. Mode = 3
  248. Type = 1
  249. Address = 0x78179
  250. ConditionType = 0
  251. ConditionValueA = a10: 4b cf 4c cf 4d cf 4e cf 7c d0
  252. ConditionValueB = a10: 00 00 00 00 00 00 00 00 00 00
  253. ConditionValueC = a10: 86 00 94 00 88 00 8b 00 0c 00
  254.  
  255.  
  256. ;rsm041307
  257. ;no150 mega kick
  258. [FPA 003 Begin]
  259. Mode = 3
  260. Type = 0
  261. Address = 0x7817F
  262. MotionBEnable0 = 3
  263. MotionBlur0 = 25
  264. MotionBEnable1 = 3
  265. MotionBlur1 = 21
  266. ConditionType = 0
  267. ConditionValueA = a12: 4b cf 4c cf 4d cf 4e cf 50 cf 7c d0
  268. ConditionValueB = a12: 00 00 00 00 00 00 00 00 00 00 00 00
  269. ConditionValueC = a12: 8c 00 84 00 86 00 80 00 8a 00 19 00
  270.  
  271.  
  272. ;rsm001929
  273. ;no123 bubble beam
  274. [FPA 004 Begin]
  275. Mode = 3
  276. Type = 0
  277. Address = 0x7818c
  278. MotionBEnable0 = 3
  279. MotionBlur0 = 30
  280. ConditionType = 0
  281. ConditionValueA = a10: 4b cf 4c cf 4d cf 4e cf 7c d0
  282. ConditionValueB = a10: 00 00 00 00 00 00 00 00 00 00
  283. ConditionValueC = a10: 81 00 94 00 81 00 81 00 3d 00
  284.  
  285. [FPA 004 End]
  286. Mode = 3
  287. Type = 1
  288. Address = 0x78d86
  289. ConditionType = 11
  290. ConditionValueA = a24: 4b cf 4c cf 4d cf 4e cf 7c d0 00 00 4b cf 4c cf 4d cf 4e cf 50 cf 7c d0
  291. ConditionValueB = a24: 00 00 00 00 00 00 00 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 00 00
  292. ConditionValueC = a24: 81 00 94 00 81 00 81 00 3d 00 00 00 8c 00 84 00 86 00 80 00 8a 00 19 00
  293.  
  294.  
  295. ;rsm103658
  296. ;no116 hyper beam
  297. [FPA 005 Begin]
  298. Mode = 3
  299. Type = 0
  300. Address = 0x7819B
  301. MotionBEnable0 = 1
  302. MotionBlur0 = 5
  303. MotionBEnable1 = 1
  304. MotionBlur1 = 5
  305. ConditionType = 0
  306. ConditionValueA = a10: 4b cf 4c cf 4d cf 4e cf 7c d0
  307. ConditionValueB = a10: 00 00 00 00 00 00 00 00 00 00
  308. ConditionValueC = a10: 87 00 98 00 8f 00 84 00 3f 00
  309.  
  310. [FPA 005 End]
  311. Mode = 3
  312. Type = 1
  313. Address = 0x78178
  314. ConditionType = 0
  315. ConditionValueA = a10: 4b cf 4c cf 4d cf 4e cf 7c d0
  316. ConditionValueB = a10: 00 00 00 00 00 00 00 00 00 00
  317. ConditionValueC = a10: 87 00 98 00 8f 00 84 00 3f 00
  318.  
  319.  
  320. ;rsm133358
  321. ;no57 thunderbolt
  322. [FPA 006 Begin]
  323. Mode = 3
  324. Type = 0
  325. Address = 0x78187
  326. MotionBEnable0 = 3
  327. MotionBlur0 = 30
  328. ConditionType = 0
  329. ConditionValueA = a10: 4b cf 4c cf 4d cf 4e cf 7c d0
  330. ConditionValueB = a10: 00 00 00 00 00 00 00 00 00 00
  331. ConditionValueC = a10: 93 00 87 00 94 00 8d 00 55 00
  332.  
  333.  
  334. [FPA 006 End]
  335. Mode = 3
  336. Type = 1
  337. Address = 0x78106
  338. ConditionType = 0
  339. ConditionValueA = a10: 4b cf 4c cf 4d cf 4e cf 7c d0
  340. ConditionValueB = a10: 00 00 00 00 00 00 00 00 00 00
  341. ConditionValueC = a10: 93 00 87 00 94 00 8d 00 55 00
  342.  
  343. ;rsm152340
  344. ;no159 reflect
  345. [FPA 007 Begin]
  346. Mode = 3
  347. Type = 0
  348. Address = 0x781c2
  349. MotionBEnable0 = 1
  350. MotionBlur0 = 6
  351. MotionBEnable1 = 1
  352. MotionBlur1 = 5
  353. ConditionType = 0
  354. ConditionValueA = a10: 4b cf 4c cf 4d cf 4e cf 7c d0
  355. ConditionValueB = a10: 00 00 00 00 00 00 00 00 00 00
  356. ConditionValueC = a10: 91 00 84 00 85 00 8b 00 73 00
  357.  
  358. [FPA 007 End]
  359. Mode = 3
  360. Type = 1
  361. Address = 0x78107
  362. ConditionType = 0
  363. ConditionValueA = a10: 4b cf 4c cf 4d cf 4e cf 7c d0
  364. ConditionValueB = a10: 00 00 00 00 00 00 00 00 00 00
  365. ConditionValueC = a10: 91 00 84 00 85 00 8b 00 73 00
  366.  
  367. ;rsm171812
  368. ;no156 dream eater
  369. [FPA 008 Begin]
  370. Mode = 3
  371. Type = 0
  372. Address = 0x78e4c
  373. MotionBEnable0 = 3
  374. MotionBlur0 = 10
  375. MotionBEnable1 = 3
  376. MotionBlur1 = 7
  377. ConditionType = 0
  378. ConditionValueA = a10: 4b cf 4c cf 4d cf 4e cf 7c d0
  379. ConditionValueB = a10: 00 00 00 00 00 00 00 00 00 00
  380. ConditionValueC = a10: 83 00 91 00 84 00 80 00 8a 00
  381.  
  382. [FPA 008 End]
  383. Mode = 3
  384. Type = 1
  385. Address = 0x78176
  386. ConditionType = 0
  387. ConditionValueA = a10: 4b cf 4c cf 4d cf 4e cf 4f cf 7c d0
  388. ConditionValueB = a10: 00 00 00 00 00 00 00 00 00 00 00 00
  389. ConditionValueC = a10: 81 00 8b 00 88 00 99 00 99 00 3b 00
  390.  
  391. ;rsm174650
  392. ;no36 spore
  393. [FPA 009 Begin]
  394. Mode = 3
  395. Type = 0
  396. Address = 0x7818A
  397. MotionBEnable0 = 3
  398. MotionBlur0 = 8
  399. MotionBEnable1 = 3
  400. MotionBlur1 = 8
  401. ConditionType = 0
  402. ConditionValueA = a10: 4b cf 4c cf 4d cf 4e cf 7c d0
  403. ConditionValueB = a10: 00 00 00 00 00 00 00 00 00 00
  404. ConditionValueC = a10: 92 00 8f 00 8e 00 91 00 93 00
  405.  
  406.  
  407. ;rsm152115
  408. ;no12 rock slide
  409. [FPA 010 Begin]
  410. Mode = 3
  411. Type = 0
  412. Address = 0x7818F
  413. MotionBEnable0 = 3
  414. MotionBlur0 = 27
  415. ConditionType = 0
  416. ConditionValueA = a10: 4b cf 4c cf 4d cf 4e cf 7c d0
  417. ConditionValueB = a10: 00 00 00 00 00 00 00 00 00 00
  418. ConditionValueC = a10: 91 00 8e 00 82 00 8a 00 9d 00
  419.  
  420. [FPA 010 End]
  421. Mode = 3
  422. Type = 1
  423. Address = 0x78D8D
  424. ConditionType = 11
  425. ConditionValueA = a100: 4b cf 4c cf 4d cf 4e cf 7c d0 00 00 4b cf 4c cf 4d cf 4e cf 7c d0 00 00 4b cf 4c cf 4d cf 4e cf 7c d0 00 00 4b cf 4c cf 4d cf 4e cf 4f cf 7c d0 00 00 4b cf 4c cf 4d cf 4e cf 4f cf 7c d0 00 00 4b cf 4c cf 4d cf 4e cf 50 cf 7c d0 00 00 4b cf 4c cf 4d cf 4e cf 7c d0 00 00 4b cf 4c cf 4d cf 4e cf 7c d0
  426. ConditionValueB = a100: 00 00 00 00 00 00 00 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00
  427. ConditionValueC = a100: 83 00 91 00 84 00 80 00 8a 00 00 00 91 00 8e 00 82 00 8a 00 9d 00 00 00 92 00 8f 00 8e 00 91 00 93 00 00 00 92 00 84 00 8b 00 85 00 83 00 05 00 00 00 92 00 84 00 8b 00 85 00 83 00 78 00 00 00 82 00 8e 00 8d 00 85 00 92 00 5d 00 00 00 84 00 97 00 8f 00 8b 00 99 00 00 00 84 00 97 00 8f 00 8b 00 05 00
  428.  
  429.  
  430. ;explosion
  431. ;No76 explosion
  432. [FPA 76 Begin]
  433. Mode = 3
  434. Type = 0
  435. Address = 0x78186
  436. MotionBEnable0 = 3
  437. MotionBlur0 = 28
  438. ConditionType = 0
  439. ConditionValueA = a10: 4b cf 4c cf 4d cf 4e cf 7c d0
  440. ConditionValueB = a10: 00 00 00 00 00 00 00 00 00 00
  441. ConditionValueC = a10: 84 00 97 00 8f 00 8b 00 99 00
  442.  
  443.  
  444. ;No56 self-destruct
  445. [FPA 56 Begin]
  446. Mode = 3
  447. Type = 0
  448. Address = 0x78183
  449. MotionBEnable0 = 3
  450. MotionBlur0 = 23
  451. ConditionType = 0
  452. ConditionValueA = a12: 4b cf 4c cf 4d cf 4e cf 4f cf 7c d0
  453. ConditionValueB = a12: 00 00 00 00 00 00 00 00 00 00 00 00
  454. ConditionValueC = a12: 92 00 84 00 8b 00 85 00 83 00 78 00
  455.  
  456.  
  457. ;No131 blizzard
  458. [FPA 131 Begin]
  459. Mode = 3
  460. Type = 0
  461. Address = 0x78180
  462. MotionBEnable0 = 3
  463. MotionBlur0 = 26
  464. ConditionType = 0
  465. ConditionValueA = a12: 4b cf 4c cf 4d cf 4e cf 4f cf 7c d0
  466. ConditionValueB = a12: 00 00 00 00 00 00 00 00 00 00 00 00
  467. ConditionValueC = a12: 81 00 8b 00 88 00 99 00 99 00 3b 00
  468.  
  469.  
  470. ;confusion
  471. [FPA conf Begin]
  472. Mode = 3
  473. Type = 0
  474. Address = 0x3ef0a
  475. MotionBEnable1 = 3
  476. MotionBlur1 = 21
  477. ConditionType = 0
  478. ConditionValueA = a12: 4b cf 4c cf 4d cf 4e cf 50 cf 7c d0
  479. ConditionValueB = a12: 00 00 00 00 00 00 00 00 00 00 00 00
  480. ConditionValueC = a12: 82 00 8e 00 8d 00 85 00 92 00 5d 00
  481.  
  482. ;phychic
  483. [FPA phy Begin]
  484. Mode = 3
  485. Type = 0
  486. Address = 0x3ef0d
  487. MotionBEnable1 = 3
  488. MotionBlur1 = 21
  489. ConditionType = 0
  490. ConditionValueA = a12: 4b cf 4c cf 4d cf 4e cf 50 cf 7c d0
  491. ConditionValueB = a12: 00 00 00 00 00 00 00 00 00 00 00 00
  492. ConditionValueC = a12: 8f 00 92 00 98 00 82 00 88 00 5e 00
  493.  
  494. [FPA phy End]
  495. Mode = 3
  496. Type = 1
  497. Address = 0x7918d
  498. ConditionType = 0
  499. ConditionValueA = a12: 4b cf 4c cf 4d cf 4e cf 50 cf 7c d0
  500. ConditionValueB = a12: 00 00 00 00 00 00 00 00 00 00 00 00
  501. ConditionValueC = a12: 8f 00 92 00 98 00 82 00 88 00 5e 00
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement