Reverse Bottle Adventure (RBA) is a glitch where using a bottle on the B button allows the player to write values to places in memory they wouldn't normally have access to based on what Item they have placed on the C-Right button. Normally in Majora's Mask there are only two bytes possible to be written to which is very limiting and has nothing to do with the Item on the C-Right button. In Ocarina of Time, however, there are many bytes that can be written to allowing for manipulating the inventory, ammo counts, quest status, and much more. For this challenge we have re-done how RBA works in Majora's Mask to be the same as Ocarina of Time. This means that based on what Item has been placed on the C-Right button will affect where you write to. If you don't already know or understand how RBA works here is a video tutorial made by Dannyb21892. This tutorial goes over how it all works and we recommend you watch it if you don't fully understand it.
Differences:
In Ocarina of Time there is only one byte used for the B button. And it is used for both Child and Adult Link. In Majora's Mask this is similar in that both Child and Fierce Deity Link use the same B button as well. However Deku, Goron, and Zora Link also have their own respective B buttons. This means in Majora's Mask there are a total of four B buttons and each individual one can be potentially useful. The approach we took for this challenge is that each B button starts at an offset eight bytes apart. Meaning that Child Link starts at offset 0, Goron Link starts at offset 8, Zora Link starts at offset 16, and Deku Link starts at offset 24. By doing this it allows for reaching more bytes in memory.
Bottle Adventure:
Bottle Adventure (BA) is another glitch where catching Hotspring Water (HSW) in a bottle can write data to bytes the player wouldn't normally have access to either. When catching HSW in a bottle there is a timestamp and a timer written into memory. Similar to RBA this also uses an offset to know where to write the data. With RBA catching HSW will write the data based on the offset of the Item you are using on C-Right for the RBA. BA can have beneficial side-effects as well as it can have bad side-effects. So be cautious when preforming RBA with HSW as you may end up doing something you didn't want or expect.
Items:
As you may already know not every item can be placed on a C button. This means that there will simply be some bytes of memory you can't ever write to.
Resources:
Below you will find some resources to help you plan and route how you might complete the goal. Probably the most useful resource is the RAM Map. This will allow you to tell what is where even if you don't know much about how it all works. It also shows what offset each byte is at for all the different forms of Link. Keep in mind that a negative offset means you won't be able to use it in that form. Same goes for an offset over 255.
-
Soft Reset: A code that allows you to soft reset the game, avoiding having to reboot the game through Homebrew.
- Gamecube X + B + Start
- Nintendo 64 C-Right + B + Start
- Classic X + B + Plus
-
RAM Map: A map of the all the bytes that you would have access to assuming offsets 0 through 255 are possible.
- Offset | 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |
- 0x1EF6E0 | FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF | Item Slot
- 0x1EF6F0 | FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF | Mask Slot
- 0x1EF700 | FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF | Ammo Slot
- 0x1EF710 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | Quest Slot
- 0x1EF720 | 00 00 00 00 00 00 00 00 00 12 00 00 00 00 00 00 | Dungeon Slot
- 0x1EF730 | 00 00 00 00 00 00 00 00 00 00 FF FF FF FF FF FF | Small Keys Slot
- 0x1EF740 | FF FF FF 00 00 00 00 00 00 00 00 00 00 00 15 12 | Double Hearts
- 0x1EF750 | 17 14 3E 3E 3E 3E 15 12 17 14 3E 3E 3E 3E 15 12 | Stray Fairies Slot
- 0x1EF760 | 17 14 3E 3E 3E 3E 00 00 00 00 00 00 00 00 00 00 |
- 0x1EF770 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | Child Offset
- 0x1EF780 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | Goron Offset
- 0x1EF790 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | Zora Offset
- 0x1EF7A0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | Deku Offset
- 0x1EF7B0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
- 0x1EF7C0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | Slot Offset
- 0x1EF7D0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
- 0x1EF7E0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
- 0x1EF7F0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | Click Here for a more interactive RAM Map popout.
-
Item List: The list of items and what their value is.
- Decimal Hex Item
- 0 00 Ocarina
- 1 01 Hero's Bow
- 2 02 Fire Arrow
- 3 03 Ice Arrow
- 4 04 Light Arrow
- 5 05 Fairy Ocarina (Acts as Pictograph Box)
- 6 06 Bomb
- 7 07 Bombchu
- 8 08 Deku Stick
- 9 09 Deku Nut
- 10 0A Magic Bean
- 11 0B Fairy Slingshot (Acts as Pictograph Box)
- 12 0C Powder Keg
- 13 0D Pictograph Box
- 14 0E Lens of Truth
- 15 0F Hookshot
- 16 10 Great Fairy's Sword
- 17 Longshot (Acts as Pictograph Box)
- 18 Empty Bottle
- 19 Red Potion
- 20 Green Potion
- 21 Blue Potion
- 22 Fairy
- 23 Deku Princess
- 24 Milk
- 25 Milk (1/2)
- 26 Fish
- 27 Bug
- 28 Blue Fire (Acts as Bug)
- 29 Poe
- 30 Big Poe
- 31 Spring Water
- 32 Hot Spring Water
- 33 Zora Egg
- 34 Gold Dust
- 35 Magical Mushroom
- 36 Sea Horse
- 37 Chateau Romani
- 38 Hylian Loach
- 39 Obaba's Drink (Acts as Poe?)
- 40 Moon's Tear
- 41 Land Title Deed
- 42 Swamp Title Deed
- 43 Mountain Title Deed
- 44 Ocean Title Deed
- 45 Room Key
- 46 Special Delivery to Mama
- 47 Letter to Kafei
- 48 Pendant of Memories
- 49 Moon Stone
- 50 Deku Mask
- 51 Goron Mask
- 52 Deku Mask
- 53 Fierce Deity's Mask
- 54 Mask of Truth
- 55 Kafei's Mask
- 56 All-Night Mask
- 57 Bunny Hood
- 58 Keaton Mask
- 59 Garo's Mask
- 60 Romani's Mask
- 61 Circus Leader's Mask
- 62 Postman's Hat
- 63 Couple's Mask
- 64 Great Fairy's Mask
- 65 Gibdo Mask
- 66 Don Gero's Mask
- 67 Kamaro's Mask
- 68 Captain's Hat
- 69 Stone Mask
- 70 Bremen Mask
- 71 Blast Mask
- 72 Mask of Scents
- 73 Giant's Mask
- 74 Hero's Bow + Fire Arrow
- 75 Hero's Bow + Ice Arrow
- 76 Hero's Bow + Light Arrow
- 77 Kokiri Sword
- 78 Razor Sword
- 79 Gilded Sword
- 80 Double Helix Sword
- 81 Hero's Shield
- 82 Mirror Shield
- 83 Quiver
- 84 Large Quiver
- 85 Largest Quiver
- 86 Bomb Bag
- 87 Big Bomb Bag
- 88 Biggest Bomb Bag
- 89 Wallet
- 90 Adult Wallet
- 91 Giant Wallet
- 92 Fishing Rod
- 93 Odolwa's Remains
- 94 Goht's Remains
- 95 Gyorg's Remains
- 96 Twinmold's Remains
- 97 Sonata of Awakening
- 98 Goron Lullaby
- 99 New Wave Bossa Nova
- 100 Elegy of Emptiness
- 101 Oath to Order
- 102 Saria's Song?
- 103 Song of Time
- 104 Song of Healing
- 105 Epona's Song
- 106 Song of Soaring
- 107 Song of Storms
- 108 Sun's Song
- 109 Bombers' Notebook
- 110 ?
- 111 Piece of Heart
- 112 ?
- 113 ?
- 114 ?
- 115 Lullaby Intro
- 116 Big Key
- 117 Compass
- 118 Dungeon Map
- 119 Stray Fairies
- 255 Nothing (Disabled)