• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
June 15, 2024, 07:36:58 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!


Simple ASM Request: Change SP * WP to PA *WP

Started by Timbo, August 30, 2012, 09:32:41 am

Timbo

I don't know who made this ASM but it's awesome I found it in FDC's list of ASMs for his unnamed patch. I'd use it as is but I intend to keep speed pretty low which causes it to do less damage than a normal attack. Would anybody care to change it to PA for me?

Formula 28 is now SP * WP with 1.5x damage if cancel status occurs.
  <Patch name="Formula 28 is now SP * WP with 1.5x damage if cancel status occurs.">
    <Location file="BATTLE_BIN" offset="122870">
      E8FFBD27
      1000BFAF
      4421060C
      00000000
      0E004014
      00000000
      1980013C
      942D228C
      02392390
      38004290
      D03823A4
      FE40050C
      CE3822A4
      B722060C
      00000000
      5A19060C
      00000000
      AD1F060C
      00000000
      1000BF8F
      1800BD27
      0800E003
      00000000
    </Location>
    <Location file="BATTLE_BIN" offset="E93F8">
      07392424
      982D228C
      06392390
      4E004124
      58004224
      10006330
      14006010
      1980053C
      0C39A524
      11008510
      00002390
      00004690
      00008790
      24406600
      26400601
      24400701
      05000015
      1980033C
      01008424
      01002124
      07410508
      01004224
      CE386294
      00000000
      43080200
      21104100
      CE3862A4
      0800E003
      00000000
    </Location>
  </Patch>
  • Modding version: PSX
  • Discord username: Timbo

Choto

I think this'll do it:


<Patch name="Formula 28 is now SP * WP with 1.5x damage if cancel status occurs.">
    <Location file="BATTLE_BIN" offset="122870">
     
E8FFBD27
1000BFAF
4421060C
00000000
0E004014
00000000
1980013C
942D228C
02392390
36004290
D03823A4
FE40050C
CE3822A4
B722060C
00000000
5A19060C
00000000
AD1F060C
00000000
1000BF8F
1800BD27
0800E003
00000000

    </Location>
    <Location file="BATTLE_BIN" offset="E93F8">
      07392424
      982D228C
      06392390
      4E004124
      58004224
      10006330
      14006010
      1980053C
      0C39A524
      11008510
      00002390
      00004690
      00008790
      24406600
      26400601
      24400701
      05000015
      1980033C
      01008424
      01002124
      07410508
      01004224
      CE386294
      00000000
      43080200
      21104100
      CE3862A4
      0800E003
      00000000
    </Location>
  </Patch>

Timbo

August 30, 2012, 12:15:09 pm #2 Last Edit: August 30, 2012, 12:27:16 pm by Jack of All Trades
Thanks Choto.  :D

I don't know if you can tell me just by looking; does this formula have a 100% chance to cancel status or the regular 19%?
  • Modding version: PSX
  • Discord username: Timbo

Choto

I think if you flag the ability all-or-nothing cancel status it'd work 100% of the time. I'm not sure though i'm not great with all those status designations...

Glain

I think Choto's right... it should cancel at 100%. It's calling the 100% routine, not the 19% one.

Eyeballing the ASM, it looks like it's going to give you 1.5 * damage if you have a status that the ability would cancel, so if it didn't 100% cancel (Say you used Separate on the status effect to make it 25%), you'd still get the 1.5 * damage even if you didn't proc the cancel... I think.
  • Modding version: Other/Unknown