• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
June 21, 2025, 06:01:08 am

News:

Don't be hasty to start your own mod; all our FFT modding projects are greatly understaffed! Find out how you can help in the Recruitment section or our Discord!


Convert formula 54 in to HealMP_(Y)%

Started by Rfh, January 22, 2012, 12:03:02 pm


Glain

Quote from: RavenOfRazgriz on January 28, 2012, 05:55:09 pm
Might you also be willing to use your newly nationalized space to give Formula 54 Element and 2D-Style Status for me?


I didn't feel like setting up test cases for this, so it's completely untested. Have fun!


  <Patch name="Formula 54 gets elemental and status proc">
    <Description>
      Formula 54 gets elemental and status proc
    </Description>
    <Location file="BATTLE_BIN" offset="EAF70">
      E8FFBD27
      1000BFAF
      2517060C
      00000000
      1622060C
      00000000
      3B1D060C
      00000000
      B41B060C
      00000000
      FE1B060C
      00000000
      C721060C
      00000000
      AD1F060C
      00000000
      1000BF8F
      1800BD27
      0800E003
      00000000
    </Location>
    <Location file="BATTLE_BIN" offset="123668">
      DC470508
      00000000
    </Location>
  </Patch>



addiu r29,r29,0xffe8
sw r31,0x0010(r29)
jal 0x00185c94            #   Get Ability Power
nop
jal 0x00188858            #   Healing Calculation
nop
jal 0x001874ec            #   Convert HP Healing to MP Healing
nop
jal 0x00186ed0         #   Elemental Weak
nop
jal 0x00186ff8         #   Elemental Cancel
nop
jal 0x0018871c         #   Elemental Absorb
nop
jal 0x00187eb4         #   Status Proc
nop
lw r31,0x0010(r29)
addiu r29,r29,0x0018
jr r31
nop
  • Modding version: Other/Unknown