Advertisement
Sleipnir17

Custom animation proof of concept

Dec 8th, 2023 (edited)
721
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.30 KB | None | 0 0
  1. Reference for the custom move animation found in video https://www.youtube.com/shorts/MQDVLhUgyMw
  2. This file contains the raw hexadecimal data as well as a brief commentary of the various commands.
  3. Also, this script is designed for English FireRed 1.1, translating to other game versions would require replacing the various ROM addresses.
  4.  
  5. Custom templates:
  6. E3 27 E3 27 38 CA 3A 08 60 1D 23 08 00 00 00 00 6C 1D 23 08 5D 74 0B 08 Dragon dance with electric orbs
  7. 18 28 18 28 38 CA 3A 08 60 1D 23 08 00 00 00 00 6C 1D 23 08 5D 74 0B 08 Dragon dance with glowy red orb
  8. 1C 28 1C 28 38 CA 3A 08 60 1D 23 08 00 00 00 00 6C 1D 23 08 5D 74 0B 08 Dragon dance with glowy blue orb
  9.  
  10. Script (in 0x02030400):
  11. 00 4F 27 Load leaf
  12. 00 4A 27 Load rocks
  13. 00 9D 27 Load ice crystals
  14. 00 E3 27 Load electric orbs
  15. 00 18 28 Load glowy red orb
  16. 00 1C 28 Load glowy blue orb
  17. 00 9F 27 Load hands and feet
  18. 00 35 27 Load lightning
  19. 00 31 27 Load fire
  20. 00 33 27 Load fire plume
  21. 00 97 27 Load impact
  22. 0A 01 Bank sprite to BG
  23. 0C 0C 08 Set BLDCNT to 80C
  24. 02 94 7B 3E 08 02 05 05 00 00 00 00 00 10 00 00 00 Launch gSimplePaletteBlendSpriteTemplate
  25. 05 Wait animation
  26. 02 10 03 03 02 02 01 00 00 Launch custom template 1
  27. 02 28 03 03 02 02 01 55 00 Launch custom template 2
  28. 02 40 03 03 02 02 01 AA 00 Launch custom template 3
  29. 02 10 03 03 02 02 01 7F 00 Launch custom template 1
  30. 02 28 03 03 02 02 01 D4 00 Launch custom template 2
  31. 02 40 03 03 02 02 01 2A 00 Launch custom template 3
  32. 05 Wait animation
  33. 1C D5 00 C0 07 0A Sound complex Tri Attack
  34. 02 94 7B 3E 08 02 05 05 00 00 00 10 00 00 00 00 00 Launch gSimplePaletteBlendSpriteTemplate
  35. 05 Wait animation
  36. 14 0B Load thunder BG
  37. 05 Wait animation
  38. 02 80 67 3E 08 84 05 00 00 00 00 08 00 01 00 00 00 Launch gFistFootSpriteTemplate
  39. 02 78 7C 3E 08 83 04 00 00 00 00 01 00 01 00 Launch gBasicHitSplatSpriteTemplate
  40. 04 01 Pause 1 tick
  41. 03 FD A0 0B 08 02 03 01 01 01 01 01 01 Launch AnimTask_InvertScreenColor
  42. 04 01 Pause 1 tick
  43. 02 A8 5F 3E 08 82 02 00 00 D0 FF Launch gLightningSpriteTemplate
  44. 04 01 Pause 1 tick
  45. 02 A8 5F 3E 08 02 02 00 00 F0 FF Launch gLightningSpriteTemplate
  46. 04 01 Pause 1 tick
  47. 02 A8 5F 3E 08 02 02 00 00 10 00 Launch gLightningSpriteTemplate
  48. 04 01 Pause 1 tick
  49. 19 50 00 3F Play Thunder
  50. 03 FD A0 0B 08 02 03 01 01 01 01 01 01 Launch AnimTask_InvertScreenColor
  51. 04 02 Pause 2 ticks
  52. 03 0D 8A 09 08 02 05 01 00 00 00 03 00 0F 00 01 00 Launch AnimTask_ShakeMon
  53. 02 78 7C 3E 08 03 04 00 00 00 00 01 00 02 00 Launch gBasicHitSplatSpriteTemplate
  54. 04 01 Pause 1 tick
  55. 02 94 7B 3E 08 02 05 01 00 02 00 10 00 00 00 00 00 Launch gSimplePaletteBlendSpriteTemplate
  56. 04 14 Pause 20 ticks
  57. 05 Wait animation
  58. 0B 01 BG to bank
  59. 0D Reset BLDCNT
  60. 04 0C Pause 12 ticks
  61. 1C 8E 00 C0 07 05 Sound complex Sacred Fire
  62. 02 10 5D 3E 08 02 06 E0 FF 00 00 32 00 05 00 FE FF 00 00 Launch gFirePlumeSpriteTemplate
  63. 04 01 Pause 1 tick
  64. 02 10 5D 3E 08 42 06 EC FF F6 FF 32 00 05 00 FF FF FF FF Launch gFirePlumeSpriteTemplate
  65. 04 01 Pause 1 tick
  66. 02 10 5D 3E 08 42 06 00 00 F0 FF 32 00 05 00 00 00 FF FF Launch gFirePlumeSpriteTemplate
  67. 04 01 Pause 1 tick
  68. 02 10 5D 3E 08 42 06 14 00 F6 FF 32 00 05 00 01 00 FF FF Launch gFirePlumeSpriteTemplate
  69. 04 01 Pause 1 tick
  70. 02 10 5D 3E 08 02 06 20 00 00 00 32 00 05 00 02 00 00 00 Launch gFirePlumeSpriteTemplate
  71. 04 01 Pause 1 tick
  72. 02 10 5D 3E 08 02 06 14 00 0A 00 32 00 05 00 01 00 01 00 Launch gFirePlumeSpriteTemplate
  73. 04 01 Pause 1 tick
  74. 14 18 Load solar beam BG
  75. 02 10 5D 3E 08 02 06 00 00 10 00 32 00 05 00 00 00 01 00 Launch gFirePlumeSpriteTemplate
  76. 04 01 Pause 1 tick
  77. 02 10 5D 3E 08 02 06 EC FF 0A 00 32 00 05 00 FF FF 01 00 Launch gFirePlumeSpriteTemplate
  78. 02 FC 67 3E 08 83 04 00 00 00 00 01 00 1E 00 Launch gSpinningHandOrFootSpriteTemplate
  79. 03 0D A8 0B 08 0A 05 04 00 02 00 00 00 07 00 FF 7F Launch AnimTask_BlendBattleAnimPal
  80. 04 1E Pause 30 ticks
  81. 19 8C 00 3F Play Fire Punch
  82. 02 78 7C 3E 08 82 04 00 00 00 00 01 00 00 00 Launch gBasicHitSplatSpriteTemplate
  83. 03 FD A0 0B 08 02 03 01 01 01 01 01 01 Launch AnimTask_InvertScreenColor
  84. 04 01 Pause 1 tick
  85. 03 31 8B 09 08 02 05 01 00 03 00 00 00 0E 00 01 00 Launch AnimTask_ShakeMon2
  86. 03 0D A8 0B 08 0A 05 04 00 02 00 00 00 00 00 FF 7F Launch AnimTask_BlendBattleAnimPal
  87. 04 08 Pause 8 ticks
  88. 03 FD A0 0B 08 02 03 01 01 01 01 01 00 Launch AnimTask_InvertScreenColor
  89. 19 8F 00 3F Play Sacred Fire 2
  90. 02 F8 5C 3E 08 82 06 00 00 00 00 1E 00 1E 00 FF FF 00 00 Launch gLargeFlameScatterSpriteTemplate
  91. 04 01 Pause 1 tick
  92. 02 F8 5C 3E 08 82 06 00 00 00 00 1E 00 1E 00 00 00 01 00 Launch gLargeFlameScatterSpriteTemplate
  93. 04 01 Pause 1 tick
  94. 02 F8 5C 3E 08 82 06 00 00 00 00 1E 00 1E 00 FF FF FF FF Launch gLargeFlameScatterSpriteTemplate
  95. 04 01 Pause 1 tick
  96. 02 F8 5C 3E 08 82 06 00 00 00 00 1E 00 1E 00 02 00 01 00 Launch gLargeFlameScatterSpriteTemplate
  97. 04 01 Pause 1 tick
  98. 02 F8 5C 3E 08 82 06 00 00 00 00 1E 00 1E 00 01 00 FF FF Launch gLargeFlameScatterSpriteTemplate
  99. 04 01 Pause 1 tick
  100. 02 F8 5C 3E 08 82 06 00 00 00 00 1E 00 1E 00 FF FF 01 00 Launch gLargeFlameScatterSpriteTemplate
  101. 04 01 Pause 1 tick
  102. 02 F8 5C 3E 08 82 06 00 00 00 00 1E 00 1E 00 01 00 FE FF Launch gLargeFlameScatterSpriteTemplate
  103. 04 01 Pause 1 tick
  104. 02 94 7B 3E 08 02 05 01 00 01 00 00 00 07 00 00 00 Launch gSimplePaletteBlendSpriteTemplate
  105. 03 0D A8 0B 08 0A 05 04 00 02 00 00 00 09 00 4C 7F Launch AnimTask_BlendBattleAnimPal
  106. 04 14 Pause 20 ticks
  107. 19 7A 00 3F Play String Shot
  108. 14 0F Pause 15 ticks
  109. 02 D0 63 3E 08 02 01 00 00 Launch gIceCrystalSpiralInwardSmall
  110. 02 D0 63 3E 08 02 01 40 00 Launch gIceCrystalSpiralInwardSmall
  111. 02 D0 63 3E 08 02 01 80 00 Launch gIceCrystalSpiralInwardSmall
  112. 02 D0 63 3E 08 02 01 C0 00 Launch gIceCrystalSpiralInwardSmall
  113. 04 05 Pause 5 ticks
  114. 02 B8 63 3E 08 02 01 20 00 Launch gIceCrystalSpiralInwardLarge
  115. 02 B8 63 3E 08 02 01 60 00 Launch gIceCrystalSpiralInwardLarge
  116. 02 B8 63 3E 08 02 01 A0 00 Launch gIceCrystalSpiralInwardLarge
  117. 02 B8 63 3E 08 02 01 E0 00 Launch gIceCrystalSpiralInwardLarge
  118. 04 11 Pause 17 ticks
  119. 02 80 67 3E 08 04 05 00 00 F6 FF 08 00 01 00 00 00 Launch gFistFootSpriteTemplate
  120. 02 78 7C 3E 08 03 04 00 00 F6 FF 01 00 01 00 Launch gBasicHitSplatSpriteTemplate
  121. 19 84 00 3F Play Comet Punch
  122. 04 02 Pause 2 ticks
  123. 03 0D 8A 09 08 05 05 01 00 00 00 05 00 03 00 01 00 Launch AnimTask_ShakeMon
  124. 05 Wait animation
  125. 04 0F Pause 15 ticks
  126. 0E 7A 54 1D 08 Call IceCrystalEffectShort
  127. 04 05 Pause 5 ticks
  128. 03 0D A8 0B 08 0A 05 04 00 02 00 09 00 00 00 4C 7F Launch AnimTask_BlendBattleAnimPal
  129. 04 03 Pause 3 ticks
  130. 15 Reset BG
  131. 19 E4 00 3F Play Twister
  132. 02 90 2C 3E 08 82 05 78 00 46 00 05 00 46 00 1E 00 Launch gTwisterLeafSpriteTemplate
  133. 04 01 Pause 1 tick
  134. 02 90 2C 3E 08 82 05 73 00 37 00 06 00 3C 00 19 00 Launch gTwisterLeafSpriteTemplate
  135. 04 01 Pause 1 tick
  136. 02 90 2C 3E 08 82 05 73 00 3C 00 07 00 3C 00 1E 00 Launch gTwisterLeafSpriteTemplate
  137. 02 90 2C 3E 08 82 05 73 00 37 00 0A 00 3C 00 1E 00 Launch gTwisterLeafSpriteTemplate
  138. 04 03 Pause 3 ticks
  139. 02 E8 75 3E 08 82 05 64 00 32 00 04 00 32 00 1A 00 Launch gTwisterRockSpriteTemplate
  140. 04 01 Pause 1 tick
  141. 02 90 2C 3E 08 82 05 69 00 19 00 08 00 3C 00 14 00 Launch gTwisterLeafSpriteTemplate
  142. 04 01 Pause 1 tick
  143. 02 90 2C 3E 08 82 05 73 00 28 00 0A 00 30 00 1E 00 Launch gTwisterLeafSpriteTemplate
  144. 04 03 Pause 3 ticks
  145. 02 E8 75 3E 08 82 05 78 00 1E 00 06 00 2D 00 19 00 Launch gTwisterRockSpriteTemplate
  146. 02 90 2C 3E 08 82 05 73 00 23 00 0A 00 3C 00 1E 00 Launch gTwisterLeafSpriteTemplate
  147. 04 03 Pause 3 ticks
  148. 02 E8 75 3E 08 82 05 69 00 14 00 08 00 28 00 00 00 Launch gTwisterRockSpriteTemplate
  149. 04 03 Pause 3 ticks
  150. 02 90 2C 3E 08 82 05 14 00 FF 00 0F 00 20 00 00 00 Launch gTwisterLeafSpriteTemplate
  151. 02 90 2C 3E 08 82 05 6E 00 0A 00 08 00 20 00 14 00 Launch gTwisterLeafSpriteTemplate
  152. 02 78 7C 3E 08 83 04 E0 FF F0 FF 01 00 03 00 Launch gBasicHitSplatSpriteTemplate
  153. 19 84 00 3F Play Comet Punch
  154. 03 E5 8C 09 08 02 05 01 00 03 00 00 00 0C 00 01 00 Launch AnimTask_ShakeMonInPlace
  155. 03 E5 8C 09 08 02 05 03 00 03 00 00 00 0C 00 01 00 Launch AnimTask_ShakeMonInPlace
  156. 04 04 Pause 4 ticks
  157. 02 C0 7C 3E 08 83 02 01 00 03 00 Launch gRandomPosHitSplatSpriteTemplate
  158. 19 84 00 3F Play Comet Punch
  159. 04 04 Pause 4 ticks
  160. 02 C0 7C 3E 08 83 02 01 00 03 00 Launch gRandomPosHitSplatSpriteTemplate
  161. 19 84 00 3F Play Comet Punch
  162. 04 04 Pause 4 ticks
  163. 02 78 7C 3E 08 83 04 20 00 14 00 01 00 03 00 Launch gBasicHitSplatSpriteTemplate
  164. 19 84 00 3F Play Comet Punch
  165. 02 C0 7C 3E 08 83 02 01 00 03 00 Launch gRandomPosHitSplatSpriteTemplate
  166. 19 84 00 3F Play Comet Punch
  167. 04 04 Pause 4 ticks
  168. 02 C0 7C 3E 08 83 02 01 00 03 00 Launch gRandomPosHitSplatSpriteTemplate
  169. 19 84 00 3F Play Comet Punch
  170. 04 04 Pause 4 ticks
  171. 14 BF Load glitch BG
  172. 02 78 7C 3E 08 83 04 20 00 14 00 01 00 03 00 Launch gBasicHitSplatSpriteTemplate
  173. 19 84 00 3F Play Comet Punch
  174. 02 C0 7C 3E 08 83 02 01 00 03 00 Launch gRandomPosHitSplatSpriteTemplate
  175. 19 84 00 3F Play Comet Punch
  176. 04 04 Pause 4 ticks
  177. 02 C0 7C 3E 08 83 02 01 00 03 00 Launch gRandomPosHitSplatSpriteTemplate
  178. 19 84 00 3F Play Comet Punch
  179. 04 04 Pause 4 ticks
  180. 02 78 7C 3E 08 83 04 20 00 14 00 01 00 03 00 Launch gBasicHitSplatSpriteTemplate
  181. 19 84 00 3F Play Comet Punch
  182. 02 C0 7C 3E 08 83 02 01 00 03 00 Launch gRandomPosHitSplatSpriteTemplate
  183. 19 84 00 3F Play Comet Punch
  184. 04 04 Pause 4 ticks
  185. 02 C0 7C 3E 08 83 02 01 00 03 00 Launch gRandomPosHitSplatSpriteTemplate
  186. 19 84 00 3F Play Comet Punch
  187. 04 04 Pause 4 ticks
  188. 02 78 7C 3E 08 83 04 20 00 14 00 01 00 03 00 Launch gBasicHitSplatSpriteTemplate
  189. 19 84 00 3F Play Comet Punch
  190. 02 C0 7C 3E 08 83 02 01 00 03 00 Launch gRandomPosHitSplatSpriteTemplate
  191. 19 84 00 3F Play Comet Punch
  192. 04 04 Pause 4 ticks
  193. 02 C0 7C 3E 08 83 02 01 00 03 00 Launch gRandomPosHitSplatSpriteTemplate
  194. 19 84 00 3F Play Comet Punch
  195. 04 04 Pause 4 ticks
  196. 14 93 Load glitch BG
  197. 02 78 7C 3E 08 83 04 20 00 14 00 01 00 03 00 Launch gBasicHitSplatSpriteTemplate
  198. 19 84 00 3F Play Comet Punch
  199. 04 04 Pause 4 ticks
  200. 02 78 7C 3E 08 83 04 20 00 14 00 01 00 03 00 Launch gBasicHitSplatSpriteTemplate
  201. 19 84 00 3F Play Comet Punch
  202. 02 C0 7C 3E 08 83 02 01 00 03 00 Launch gRandomPosHitSplatSpriteTemplate
  203. 19 84 00 3F Play Comet Punch
  204. 04 04 Pause 4 ticks
  205. 02 C0 7C 3E 08 83 02 01 00 03 00 Launch gRandomPosHitSplatSpriteTemplate
  206. 19 84 00 3F Play Comet Punch
  207. 04 04 Pause 4 ticks
  208. 02 78 7C 3E 08 83 04 20 00 14 00 01 00 03 00 Launch gBasicHitSplatSpriteTemplate
  209. 19 84 00 3F Play Comet Punch
  210. 04 05 Pause 5 ticks
  211. 14 A5 Load glitch BG
  212. 1C 6A 00 C0 01 FF Sound complex Egg Hatch
  213. 04 15 Pause 21 ticks
  214. 03 50 13 03 02 FF 00 Launch custom task (ACE bootstrap)
  215. 08 End (not really required because of ACE)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement