07 Heal (Weapon)

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
No Elemental mechanics
No Proc
Undead Reversal
Hardcoded reaction mechanics see Notes
Bug ? : Compatibility routine is called 2 times
--------------------------------------------------------------------------------------------------
00188d3c: 27bdffe8 addiu r29,r29,-0x0018
00188d40: afbf0010 sw r31,0x0010(r29)
00188d44: 0c0616a7 jal 0x00185a9c           |-->Base XA Calculation Set XA and YA (Based on Weapon Type)
00188d48: 00000000 nop                      |
00188d4c: 0c061259 jal 0x00184964           |-->Compatibility Modify Ability XA : from -50% to + 50%
00188d50: 00000000 nop                      |
00188d54: 0c0617e0 jal 0x00185f80           |-->Charge Calculation Add Power Charge to XA
00188d58: 00000000 nop                      |
00188d5c: 0c06217e jal 0x001885f8           |-->Physical XA Modifying Statuses/Support  Modify Ability XA (Support Abilities, Status, Compatibility)
00188d60: 00000000 nop                      |
00188d64: 0c06195a jal 0x00186568           |-->XA * YA Calculation Store XA*YA as Target Current Action HP damage (TCA 0x04) and Set TCA Attack type to 0x80 (HP damage)
00188d68: 00000000 nop                      |
00188d6c: 0c061cd4 jal 0x187350             |-->Undead Reversal Switch HP damage to HP recovery if Target isn't undead / Nullify 0x80193860
00188d70: 00000000 nop                      |
00188d74: 8fbf0010 lw r31,0x0010(r29)
00188d78: 27bd0018 addiu r29,r29,0x0018
00188d7c: 03e00008 jr r31 
00188d80: 00000000 nop

Hard coded mechanics

Formula 0x07 is checked in at least two reactions routines and skip the reaction process (no reaction occurs)
 - Sunken_State,_Caution,_Dragon_Spirit,_counters,_absorbs_usability
 - MP_Switch,_Distribute,_and_Damage_Split_usability

Return location

0018b97c - Pre Formula Setup