Advertisement
GlitchesAndStuff

MM - Explanation of "Stored B" and "Special Items"

Jan 14th, 2018
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.67 KB | None | 0 0
  1. Of all the items you can have on your B button, Bow(01), Bombs(06) and Chus(07) are particularly special. All 3 of these items will (outside of minigame mode) check your "Stored B" address every frame and attempt to set your B button item to whatever is "Stored B".
  2.  
  3. We have the two important memory addresses, each with some value:
  4. Human B = x
  5. Stored B = y
  6.  
  7. |====================(Figure 1)========================|
  8. | On each frame(if not in a minigame){ |
  9. | if Human B == 01, 06 or 07 Then:{ |
  10. | Human B = Stored B |
  11. | } |
  12. | } |
  13. | |
  14. | [NOTE: this example is for if link is currently |
  15. | human - if he were in zora form then replace |
  16. | the above with "Zora B" (The check only happens |
  17. | for the form link is currently in) ] |
  18. |======================================================|
  19.  
  20. The purpose of this "Stored B" value is to give you the right item back on B after minigames. It gets set as a temporary storage for whatever your B button was when you started the minigame.
  21.  
  22. Picture this:
  23.  
  24. -Stored B is usually just set to "0" by default.
  25. -You have kokiri sword(6C) on B and you go to H&D on day 1.
  26. -You start the minigame
  27. -Upon starting the minigame, your kokiri sword gets put in the "Stored B address"
  28. -Your B button is then replaced with the bombchus(06) for the minigame.
  29. [So right now, Human B = 06, Stored B = 6C]
  30. -During the minigame, the bombchus on B stay as bombchus
  31. -When the minigame ends, the B button immediately starts getting checked again
  32. -Since bombchus (a special item) are on B, the game will replace your B button with whatever is in "stored B" (which right now is 6C, kokiri sword)
  33. -This puts your kokiri sword back on B, and all is well again
  34.  
  35. The above process is how the game normally deals with putting minigame items on/off your B button:
  36.  
  37. |==============================(Figure 2)==================================|
  38. | Human B is = Sword (6C) |
  39. | |
  40. | Start minigame: |
  41. | Temp B = Human B (6C) |
  42. | Human B = Bombchus (06) |
  43. | [During the minigame, the process outlined in Figure 1 won't run] |
  44. | End minigame |
  45. | |
  46. | [Now the process in Figure 1 -will- run:] |
  47. | Human B is = 06 [one of the 'special items'] so: |
  48. | Human B = Temp B (6C) |
  49. | [You now have your sword back on Human B and all is well] |
  50. |==========================================================================|
  51.  
  52. But now consider something else:
  53.  
  54. - Start the minigame, your B button gets set to 06
  55. - Using mask storage, change forms to (for example) deku
  56. - Now you may end the minigame
  57. - Since you're deku, the bombchus on human link's B button don't get the chance to turn back into whatever they were supposed to be.
  58. - Now you're out of the minigame as deku, and human link still has bombchus on his B button
  59.  
  60. With this setup, turning human would instantly set his B button to whatever the value is in "Stored B" (Due to the rule stated in Figure 1). Most of the time, this "Stored B" value is the default 0, which corresponds to ocarina (which is why there are so many 'Ocarina on B' glitches).
  61.  
  62. However, in certain conditions [notably those where the B button is dimmed such as inside houses, hanging off ledges, etc.], the "stored B" value is set to "FF" which is the value for 'no item' or blank B.
  63.  
  64. So, if we do the setup explained above and then go into a house and turn human, the B button will read this value 'FF' on stored B and link will gain a blank B button.
  65.  
  66. It turns out, this "stored B" address also gets set to FF for a frame when entering areas, which is the point of the tweet SeedBorn posted: https://twitter.com/TVand/status/952664346911559680
  67.  
  68. You see in this video, he has bow(01) on human B which is one of the special items. Notice, when he goes through the loading zone the "Stored B" value gets set to FF on the other side. There is indeed one frame in which you can turn human and the B button will read this "FF" value - Setting link's B button from bow(01) to blank B (FF).
  69.  
  70. There are many ways to get the setup with the 'special items' on human link's B, and there are also some that let you get the 'special items' on other form's B buttons which let you get blank B on other forms (Which we call "weird B" due to the strange properties it has on non-human forms).
  71.  
  72. If you want to know more about any of these glitches, don't hesitate to tweet me @glitchesandstuf (yes, only 1 f for some reason).
  73.  
  74. If this explanation was good/bad please let me know (I want to know if I should do more of these)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement