Uploaded June 2021 | Updated December 2026, 3 hours ago
Set FW in the post 1080 room in collapse
Post VW, copy the hover in Tharo's video
youtu.be/kbz93Ti29bg?t=532
Set FW in the post 1080 room in collapse
Post VW, copy the hover in Tharo's video
youtu.be/kbz93Ti29bg?t=532
![Buy Magic Beans at the Wrong Price (Text Transfer + RBA / Heap Manip)
so this is something i didnt notice properly in the last video i made, but psymarth pointed out and tharo also noticed. i noticed rupees changing but i wasnt properly paying attention
I also noted that just having 10 bean popularity isnt satisfactory and you need RBA in the last video. thats solved here
watches on the screen: Bean popularity x16
Rupee accumulator x32
basically, when you use text transfer glitch to buy a bean, it will use the price based on the popularity you have.
thats as follows:
static s16 sPrices[] = {
10, 20, 30, 40, 50, 60, 70, 80, 90, 100,
};
so a popularity of 0 will produce a price of 10 rupees, etc. everytime you buy a bean from the guy, your popularity will increase by 1.
however, with text transfer or RBA we can use popularities higher than the intended pricing table, therefore reaching out of index prices. This will read past the price table into adjacent data.
that starts with this:
static u16 sOfferTextIDs[] = {
0x405E, 0x405F, 0x4060, 0x4061, 0x4062, 0x4063, 0x4064, 0x4065, 0x4066, 0x4067,
};
static InitChainEntry sInitChain[] = {
ICHAIN_U8(targetMode, 2, ICHAIN_CONTINUE),
ICHAIN_F32(targetArrowOffset, 500, ICHAIN_STOP),
};
just doing text transfer to buy a bean with x10 popularity will read a price 1 entry past the price entries. This results in reading x405E rupees, which is more than your wallet can ever have. So when it tries to subtract it from your wallet, it fails and gives you the rejection textbox.
However, empty bottle RBA ( index x14) gives us a price of 801F, as it reads part of a pointer which comes even after that. the prices in the pricing table are listed as positive, so when it calculates how to change the rupee count, it adds a negative sign. so it being sold results in -x801F rupees and is interpreted as give link +7FE0 rupees
other notable values are x15, which you get after buying a bean with empty bottle rba previously. this makes the next bean cost x0002 rupees, or 2 rupees. Another example is bug RBA making them cost 28 rupees. The other RBA contents result in 0.
decomp here: https://github.com/zeldaret/oot/blob/master/src/overlays/actors/ovl_En_Ms/z_en_ms.c
extensive information here: https://pastebin.com/3bzxWA6a Buy Magic Beans at the Wrong Price (Text Transfer + RBA / Heap Manip)](https://i.ytimg.com/vi/YUnWId-KzR4/mqdefault.jpg)









