blini_plz

Arbitrary song WW heap setup steps and requirements

Apr 22nd, 2024 (edited)
384
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.22 KB | None | 0 0
  1. GCJ
  2. 801F8AD0 Cutscene pointer
  3. Load Jabu normally (not from death)
  4. Chu switch at start of Jabu
  5. Enter elevator room
  6. Break right box, collect rupee/heart, drop 1 bomb before entering room with Ruto
  7. Watch Ruto cutscene for 801F8AD0 as your cutscene pointer
  8.  
  9. --------------------
  10.  
  11. 801F8CD0 actorZ (+0x200)
  12. Die to load Zora's Domain
  13. Load top room
  14. Load bottom room
  15. Pull bomb @801F8CD0
  16.  
  17. Y Rotation on last frame: +0x5BE, 801F8D16
  18. This must point to a cutscene terminator (0xFFFFFFFF) when multiplied by 0x30 and added to 801F8D18. In this instance we end up @8020A0B8 which is part of Ruto's stale actor data from Zoras' Domain.
  19.  
  20. Z coord float: +0x2C, 801F8CFC
  21. XXXX0002
  22.  
  23. --------------------
  24.  
  25. 801F8B60 item00 (+0x90)
  26. Load Deku Tree normally (not from death)
  27. Break 2 bushes for 2 item00
  28. Drop Bomb1
  29. Drop 2 Chus
  30. Kill a Deku Baba for 1 item00 @801F8B60, @CSP + 0x90
  31. Pick up the other item00s to avoid Chus overwriting stale actorZ data when exploding
  32.  
  33. item00 bump y & z position: +0x198, 801F8CF8
  34. 001AXXXX (XXXX must be less than ActorZ high order halfword of Z coord float, unsigned)
  35. The significant halfword determines which song will be learned, and the lesser significant halfword determines when the note staff textbox will appear.
  36.  
  37. 0F Play back Minuet (Gives song if successful)
  38. 10 Play back Bolero (Gives song if successful)
  39. 11 Play back Serenade (Gives song if successful)
  40. 12 Play back Requiem (Gives song if successful)
  41. 13 Play back Nocturne (Gives song if successful)
  42. 14 Play back Prelude (Gives song if successful)
  43. 15 Play back Saria's Song (Gives song if successful)
  44. 16 Play back Epona's Song (Gives song if successful)
  45. 17 Play back Zelda's Lullaby (Gives song if successful)
  46. 18 Play back Sun's Song (Gives song if successful)
  47. 19 Play back Song of Time (Gives song if successful)
  48. 1A Play back Song of Storms (Gives song if successful)
  49.  
  50. --------------------
  51.  
  52. 801F8AD0 Bomb@CSP allocation:
  53. Load Deku normally (not from death)
  54. Drop Chu1
  55. Drop Bomb1
  56. Pull Seed1
  57. Shoot Seed1
  58. Pull Seed2
  59. Pull Bomb2 @CSP(801F8AD0)
  60.  
  61. Y Rotation when pulled: +0x16, 801F8AE6
  62. 0x0009
  63.  
  64. Bomb explosion sphere center and radius +0x1D8, 801F8CA8
  65. 00000013 00000008 (Second frame of explosion for 08 timer)
Advertisement
Add Comment
Please, Sign In to add comment