Advertisement
SciresM

Pokemon Red [EUR] vc.patch

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