No Description

dynamic_overworld_hooks.asm 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. .org 0x5f574 + 0x08000000
  2. ldr r0, =ClearAllPalettes|1
  3. bx r0
  4. .pool
  5. .org 0x89e8 + 0x08000000
  6. ldr r1, =FindPalette|1
  7. bx r1
  8. .pool
  9. .org 0x8928 + 0x08000000
  10. ldr r1, =FindOrLoadPalette|1
  11. bx r1
  12. .pool
  13. .org 0xdc9e0 + 0x08000000
  14. ldr r3, =SetUpTreeDisguise|1
  15. bx r3
  16. .pool
  17. .org 0xdc9f0 + 0x08000000
  18. ldr r3, =SetUpRockDisguise|1
  19. bx r3
  20. .pool
  21. .org 0xdca00 + 0x08000000
  22. ldr r3, =SetUpWeirdDisguise|1
  23. bx r3
  24. .pool
  25. .org 0x7a748 + 0x08000000
  26. ldr r1, =PaletteNeedsFogBrightening|1
  27. bx r1
  28. .pool
  29. .org 0x7abc0 + 0x08000000
  30. ldr r1, =LoadCloudOrSandstormPalette|1
  31. bx r1
  32. .pool
  33. .org 0x5e6b0 + 0x08000000
  34. ldr r0, =SetPalNPC1|1
  35. bx r0
  36. .pool
  37. .org 0x5ef78 + 0x08000000
  38. ldr r0, =SetPalNPC2|1
  39. bx r0
  40. .pool
  41. .org 0x5eab0 + 0x08000000
  42. ldr r0, =SetPalNPC3|1
  43. bx r0
  44. .pool
  45. .org 0x5ebc0 + 0x08000000
  46. ldr r0, =SetPalNPC4|1
  47. bx r0
  48. .pool
  49. .org 0xdadb4 + 0x08000000
  50. ldr r2, =SetPalReflection|1
  51. bx r2
  52. .pool
  53. .org 0xdc410 + 0x08000000
  54. ldr r2, =SetPalSurf|1
  55. bx r2
  56. .pool
  57. .org 0x87188 + 0x08000000
  58. ldr r1, =SetPalFly|1
  59. bx r1
  60. .pool
  61. .org 0x12d2ac + 0x08000000
  62. ldr r0, =RefreshFameCheckerNPCs|1
  63. bx r0
  64. .pool
  65. .org 0x71b8 + 0x08000000
  66. ldr r0, =SetPalMisc|1
  67. bx r0
  68. .pool
  69. .org 0x82664 + 0x08000000
  70. ldr r3, =SetPalEmotionBubble|1
  71. bx r3
  72. .pool
  73. .org 0xdb1ac + 0x08000000
  74. ldr r3, =SetPalWarpArrow|1
  75. bx r3
  76. .pool
  77. .org 0x13f434 + 0x08000000
  78. ldr r0, =SetPalItemfinderArrow|1
  79. bx r0
  80. .pool
  81. .org 0x12d7a8 + 0x08000000
  82. ldr r1, =SetPalFameCheckerUnknown|1
  83. bx r1
  84. .pool
  85. .org 0x7a2d0 + 0x08000000
  86. ldr r0, =GetDarkeningType1|1
  87. bx r0
  88. .pool
  89. .org 0x7a428 + 0x08000000
  90. ldr r0, =GetDarkeningType2|1
  91. bx r0
  92. .pool
  93. .org 0x7a544 + 0x08000000
  94. ldr r0, =GetDarkeningType3|1
  95. bx r0
  96. .pool
  97. .org 0x7aec4 + 0x08000000
  98. ldr r1, =FogBrightenAll|1
  99. bx r1
  100. .pool
  101. .org 0x7aaac + 0x08000000
  102. ldr r0, =FogBrightenOnStep|1
  103. bx r0
  104. .pool
  105. .org 0x7a644 + 0x08000000
  106. ldr r0, =FogBrightenAndFadeIn|1
  107. bx r0
  108. .pool
  109. .org 0x7a0a8 + 0x08000000
  110. ldr r1, =GetFadeType1|1
  111. bx r1
  112. .pool
  113. .org 0x7a860 + 0x08000000
  114. ldr r2, =GetFadeType2|1
  115. bx r2
  116. .pool
  117. .org 0x9d5a8 + 0x08000000
  118. ldr r2, =SetPalFossilImage|1
  119. bx r2
  120. .pool
  121. .org 0x9d538 + 0x08000000
  122. ldr r1, =LoadPalFossilImage|1
  123. bx r1
  124. .pool
  125. .org 0x9d568 + 0x08000000
  126. ldr r1, =LoadPalFossilImage|1
  127. bx r1
  128. .pool
  129. .org 0x15d4e8 + 0x08000000
  130. ldr r2, =SetPalSSAnneWake|1
  131. bx r2
  132. .pool
  133. .org 0x15d600 + 0x08000000
  134. ldr r2, =SetPalSSAnneSmoke|1
  135. bx r2
  136. .pool
  137. .org 0x7280 + 0x08000000
  138. ldr r1, =DeleteOBJ|1
  139. bx r1
  140. .pool
  141. .org 0xdaf88 + 0x08000000
  142. ldr r0, =DeleteReflection|1
  143. bx r0
  144. .pool
  145. .org 0xdb120 + 0x08000000
  146. ldr r0, =DeleteWarpArrow|1
  147. bx r0
  148. .pool
  149. //don't auto-load npc palettes into slot 0 or 0xA
  150. .org 0x0805F5E8
  151. bx lr
  152. .org 0x0805F658
  153. bx lr
  154. .org 0x080DAEC4
  155. bx lr
  156. .org 0x080DAF20
  157. bx lr
  158. .org 0x0805F093
  159. .byte 0xE0
  160. //don't reset pal slot during player animation or reflection
  161. .org 0x0805F114
  162. lsl r0, #0x0
  163. .org 0x080DAFB8
  164. lsl r0, #0
  165. //don't load rain palette on entering map
  166. .org 0x08079C18
  167. .byte 0x0
  168. .byte 0x25
  169. .byte 0xE
  170. .byte 0xE0
  171. //don't load sand palette on healing
  172. .org 0x081D9895
  173. .byte 0x7
  174. .byte 0x9C
  175. .byte 0xBE
  176. .byte 0x3C
  177. .byte 0x8
  178. .byte 0x8D
  179. .byte 0x3B
  180. .byte 0x8
  181. .byte 0x8
  182. .byte 0x4
  183. //don't treat slot 0xC as weather palette
  184. .org 0x0807A31F
  185. .byte 0xE0
  186. //don't record brightened slots
  187. .org 0x0807AAE7
  188. .byte 0xE0
  189. //pal slot of scroll arrow in frame checker
  190. .org 0x0845FD52
  191. .byte 0x9
  192. //make it compatible with daniilS snowflakes routine
  193. .org 0x0807A85E
  194. .byte 0x80
  195. .byte 0x18
  196. .org 0x0807A872
  197. .byte 1
  198. .byte 0x22
  199. .byte 0x5
  200. .byte 0xE0