Buy Magic Beans at the Wrong Price (Text Transfer + RBA / Heap Manip) @natalyahasdied
Buy Magic Beans at the Wrong Price (Text Transfer + RBA / Heap Manip)  @natalyahasdied
Uploaded May 2021 | Updated December 2026, 3 hours ago
so this is something i didn't notice properly in the last video i made, but psymarth pointed out and tharo also noticed. i noticed rupees changing but i wasn't 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.

that's 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: github.com/zeldaret/oot/blob/master/src/overlays/actors/ovl_En_Ms/z_en_ms.c
extensive information here: pastebin.com/3bzxWA6a
Buy Magic Beans at the Wrong Price (Text Transfer + RBA / Heap Manip)bullshitSnowballs + Wind = DisasterWeird Little Spirit Temple GlitchBottom of the Well Early2 Minor Biggorons Sword/Giants Knife GlitchesZeldas Lullaby with Bomb/Slingshot/ChuDa fuqentering shadow temple as a child (with chu hover)0xFD GIM Variable Textbox ID glitch explanationFW VW with WWT Trade Item TextLoZ: Twilight Princess Crash
natalyahasdied |

Buy Magic Beans at the Wrong Price (Text Transfer + RBA / Heap Manip)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER