FF6 Hacking
Tintinabar Restores MP - Printable Version

+- FF6 Hacking (https://www.ff6hacking.com/forums)
+-- Forum: Hacks, Resources and Tutorials (https://www.ff6hacking.com/forums/forum-1.html)
+--- Forum: Jidoor Auction House (https://www.ff6hacking.com/forums/forum-4.html)
+---- Forum: Patches, Bugfixes, Tweaks (https://www.ff6hacking.com/forums/forum-15.html)
+---- Thread: Tintinabar Restores MP (/thread-4093.html)



Tintinabar Restores MP - PowerPanda - 04-03-2021

The Tintinabar (or Tintinnabulum) is an interesting, but semi-useless relic. It does not restore enough HP to make it worthwhile. However, if it restored MP, it would be a bit more enticing. This micropatch has the Tintinabar restoring a little bit of MP with every step. Two versions exist: one that restores MP equal to 1/8th of your stamina with each step, and another that restores 1/16th. Choose the version that you want. Note that if you are using the 1/16th version, and the character's stamina is below 16, they will restore 0MP.

This hack is unfortunately incompatible with Lenophis's "Unhardcoded Tintinabar" hack. His code is so optimized that I was unable to add in the extra 2 bytes that were needed to do the additional division.


RE: Tintinabar Restores MP - Warrax - 09-29-2023

I noticed the MP gain is always missing 1MP (eg. 48 Stamina gives 5mp instead of 6 (or 2mp instead of 3 with 1/16th version), it's also probably why it gives 0mp if Stamina is too low.

The fix is to use that conveniently well placed 1byte free space at C0/4A81 and put a INC (1A in hex) here.


RE: Tintinabar Restores MP - PowerPanda - 10-01-2023

(09-29-2023, 02:51 PM)Warrax Wrote: I noticed the MP gain is always missing 1MP (eg. 48 Stamina gives 5mp instead of 6 (or 2mp instead of 3 with 1/16th version), it's also probably why it gives 0mp if Stamina is too low.

The fix is to use that conveniently well placed 1byte free space at C0/4A81 and put a INC (1A in hex) here.

This was intentional to the design. If you're using the 1/8th version, no character starts with a low enough stamina to get 0mp. I think your fix is a good one if someone is using the 1/16th version.


RE: Tintinabar Restores MP - Warrax - 10-02-2023

I did more testing to see if I was missing something, from what I can see the 161C value doesn't count extra stamina from gear. For example there's no difference in MP gain from 46 to 48 stamina, from 37 to 49 stamina or from 64 to 75 stamina if that extra stamina is from gear so that's why I was confused and thought there was an issue with rounding.