FF6 Hacking
auction house rng - Printable Version

+- FF6 Hacking (https://www.ff6hacking.com/forums)
+-- Forum: Discussion Forums (https://www.ff6hacking.com/forums/forum-5.html)
+--- Forum: Magitek Research Facility (https://www.ff6hacking.com/forums/forum-9.html)
+--- Thread: auction house rng (/thread-3868.html)

Pages: 1 2


auction house rng - CzarMalboro - 08-10-2019

where is the table that determines the rng in the auction house? i want to remove the cutscenes involving the bratty kid.


RE: auction house rng - madsiur - 08-10-2019

It's based on event command $B6 that does a 50%-50% branch. The whole Auction House system is in the event dump, as an example this code bit will have 50% of chances to branch to $CB4F33 or $CB4F3F:

Code:
CB/4F29: 4B    Display dialogue message $0A51, wait for button press
               ^ Buy it for 5000 GP.
               ^ I'll pass…
CB/4F2C: B6    Indexed branch based on prior dialogue selection [$CB4F33, $CB4F3F]



RE: auction house rng - CzarMalboro - 08-10-2019

what about replicating the branch in the code? would that work?


RE: auction house rng - PowerPanda - 08-10-2019

I mapped this out when I was making some changes. Here are my notes:

Quote:Auction House Logic - CB4ECC
CB/4ECC - If in World of Ruin, jump to II

I. World of Balance (CB/4ED6)
  A. Cherub Down, 50% jump to talking chocobo - CB/4ED6
  B. Talking Chocobo, 50% jump to Golem - CB/501D
  C. Golem, 50% jump to ZoneSeek (forced jump if obtained) - CB/5197
  D. ZoneSeek, 50% jump to Cure Ring (forced jump if obtained) - CB/5312
  C. Cure Ring (CB/5460)


II. World of Ruin (CB/55B0)
  A. Hero Ring, 50% jump to 1/1200 of an airship
  B. 1/1200 Airship, 50% jump to Golem
  C. Golem, 50% jump to Zoneseek (forced jump if obtained)
  D. ZoneSeek, 50% jump to Zephyr Cape (forced jump if obtained)
  C. Zephyr Cape, 50% jump to Robotic Imp (forced jump if obtained)
  D. Robotic Imp



RE: auction house rng - CzarMalboro - 08-10-2019

wait so you simply cannot edit just one byte?


RE: auction house rng - madsiur - 08-11-2019

To remove the bratt kid you'll have to remove the branch and only proceed with the code that grant you the prize. The other way to do it is having the command $B6 always branch to you getting the prize by setting the two branches to that outcome.


RE: auction house rng - CzarMalboro - 08-11-2019

i am confused by what you mean about the branch. would replicating the bytes work or would i have to change them to 00 or ff?


RE: auction house rng - PowerPanda - 08-11-2019

You would have to change the branch entirely. For the WoB, you would change the Cherub Down to branch to GOLEM 50% of the time, skipping over the talking Chocobo entirely.


RE: auction house rng - CzarMalboro - 08-12-2019

so to do that, would i have to change the bytes to 0?


RE: auction house rng - PowerPanda - 08-12-2019

No. That will make the event end. You need to branch to CB/501D, which is the beginning of the Golem branch.