Users browsing this thread: 1 Guest(s)
Unhardcoded tintinabar bugfix

Posts: 39
Threads: 4
Thanks Received: 57
Thanks Given: 3
Joined: Apr 2018
Reputation: 4
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 (2.63 KB, 6 downloads)
[-] The following 3 users say Thank You to Subtraction for this post:
  • madsiur (07-25-2019), Robo Jesus (07-25-2019), Warrax (07-25-2019)

Forum Jump:

Users browsing this thread: 1 Guest(s)

Theme by Madsiur2017Custom Graphics by JamesWhite