mzxrules

Lifted Actor Swap

Oct 25th, 2016
665
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.10 KB | None | 0 0
  1. A glitch recently discovered by skater82297.
  2. Found earlier by glankk: https://www.youtube.com/watch?v=uPoo9FHcqgY
  3. Somehow originally found by Acryte: https://www.youtube.com/watch?v=Z-Xocqvw8LQ
  4.  
  5. If you collect a Gold Skulltula Token while holding a Bombchu, the token actor will freeze Link in place, but not Bombchu actor, allowing it to explode in Link's hands and die.
  6.  
  7. This results in Link's instance retaining two "stale" pointers to the now dead Bombchu, located at Link Instance + 0x39C and Link Instance + 0x428. If any actors load while Link is still frozen holding "nothing" over his head, the data for that actor could potentially load over that Bombchu, changing the item Link his holding.
  8.  
  9. Engine wise, Link seems to be capable of lifting any actor in the game (shoutouts to the Archery Minigame guy). What limits our ability to lift actors with this glitch is that the actor that we want to lift must be loaded into memory after the Bombchu has exploded, but before Link stops holding up an item.
  10.  
  11. In other words, most actors can't be lifted because they are immediately loaded on entering a room, and maintain a persisting actor instance. When these actors are "unloaded" by moving the camera (like Deku Babas, Octoroks, the Hyrule Castle Bridge) they are really just not executing their draw or update functions.
  12.  
  13. The following is a shortlist of notable actors that will load during the Gold Skulltula token dialog:
  14.  
  15. Bush Circles
  16. Rock Circles
  17. Deku Shield, Hylian Shield, Goron Tunic, Zora Tunic through defeating a Like-Like that had previously eaten one or more of these items.
  18. Trees (in theory)
  19. Fish swimming within schools of fish
  20. Leevers
  21. One of the Angry Cuccos
  22.  
  23. This glitch does not work with bombs because the bomb actor nulls Link's "Grabbed Actor" and "Interact Range Actor" pointers before it is deallocated. The glitch likely does not work with bomb flowers as well because they too probably null these pointer values on death. Furthermore, from what I recall from testing this earlier the bombflower instance itself does not unload when it explodes. It instead teleports back to the base flower.
Add Comment
Please, Sign In to add comment