Unhardcoded tintinabar bugfix
#1
A few people reported that in Beyond Chaos EX, some characters get healed way too much by the tintinabar. I tracked it to a bug in Lenophis's Unhardcoded Tintinabar (solo version).

Basically, it does 16-bit ROL n+1 times, where n is the character id, to check the bit indicating whether the character is wearing a tintinabar. Then it does an 8-bit load to get the character's stamina, but does a 16-bit add to the character's HP, without clearing the high byte. The upshot is, Relm heals an extra 256 HP per step, Setzer an extra 512 HP, Mog 1024, etc.

Anyway, I fixed the asm by just inserting an AND #$00FF. Fixed asm and ips are attached. I haven't checked whether the party version of the patch has a similar bug, but I wouldn't think so.


Attached Files
.zip   unhardcodedtintinabar_fixed.zip (Size: 2.63 KB / Downloads: 11)
Reply


Messages In This Thread
Unhardcoded tintinabar bugfix - by Subtraction - 07-25-2019, 04:45 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Tintinabar Restores MP PowerPanda 3 3,374 10-02-2023, 03:48 PM
Last Post: Warrax
  Bugfix: refresh spell availability after MP-crit SirNewtonFig 3 3,653 06-10-2021, 06:09 PM
Last Post: SirNewtonFig
  Bugfix: Description Disruption SilentEnigma 6 6,746 03-01-2021, 11:00 PM
Last Post: SilentEnigma
  Patch: Doggy Miss Bugfix Bropedio 7 6,384 02-23-2020, 10:52 AM
Last Post: Imzogelmo
  GBA Bugfix Compilation 13375K37CH3R 4 5,254 05-11-2018, 03:52 AM
Last Post: madsiur

Forum Jump:


Users browsing this thread: 1 Guest(s)